CN114640721A - Power communication protocol conversion system based on remote configuration - Google Patents

Power communication protocol conversion system based on remote configuration Download PDF

Info

Publication number
CN114640721A
CN114640721A CN202210442919.0A CN202210442919A CN114640721A CN 114640721 A CN114640721 A CN 114640721A CN 202210442919 A CN202210442919 A CN 202210442919A CN 114640721 A CN114640721 A CN 114640721A
Authority
CN
China
Prior art keywords
terminal
file
files
communication protocol
instruction
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
CN202210442919.0A
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.)
Huainan Wantai Electric Co ltd
Original Assignee
Huainan Wantai 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 Huainan Wantai Electric Co ltd filed Critical Huainan Wantai Electric Co ltd
Priority to CN202210442919.0A priority Critical patent/CN114640721A/en
Publication of CN114640721A publication Critical patent/CN114640721A/en
Pending legal-status Critical Current

Links

Images

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/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a power communication protocol conversion system based on remote configuration, which relates to the technical field of power communication and solves the technical problems that different processing modes cannot be adopted according to corresponding files, and the confidentiality of protocol files cannot be improved in the transmission process of the files; the device attribute information and the device addresses of different device terminals are stored through the data point table configuration end, the file format is identified in advance by the upper computer terminal, the files are directly transmitted according to matched files, the files are returned according to numbered device addresses and are retransmitted according to correspondingly changed format files, the files in different formats are transmitted through different network channels, meanwhile, in the transmission process, corresponding data terminals are arranged to bind the files, after the files reach the designated devices, the situation of data confusion is avoided, and the confidentiality in the file transmission process is improved.

Description

Power communication protocol conversion system based on remote configuration
Technical Field
The invention belongs to the technical field of power communication, and particularly relates to a power communication protocol conversion system based on remote configuration.
Background
The existing power communication protocol conversion system realizes the conversion from one communication protocol to another communication protocol in a mode of configuring data points, cannot support the conversion among a plurality of communication protocols through one-time configuration, the protocol conversion system generally saves the configured data points through an xml or json format file, a gateway protocol establishes the mapping of data addresses of two communication protocols by analyzing the file, and outputs a platform communication protocol with a unified format, and for a bus type communication protocol, after the data address mapping is carried out, the equipment address below the bus type communication protocol is generally lost. If each terminal device contains a large amount of data points, the protocol conversion configuration is not facilitated and the upper limit of the data points defined by the protocol may be exceeded.
The configuration mode of the existing communication protocol conversion system is not flexible enough, remote configuration is not supported generally, the address of the equipment can be lost by data address mapping, different processing modes can not be adopted according to the corresponding file, and the confidentiality of the protocol file can not be improved in the transmission process of the file.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art; therefore, the invention provides a power communication protocol conversion system based on remote configuration, which is used for solving the technical problems that different processing modes cannot be adopted according to corresponding files, and the confidentiality of protocol files cannot be improved in the transmission process of the files.
To achieve the above object, an embodiment according to a first aspect of the present invention proposes a power communication protocol conversion system based on remote configuration, including:
the data point table configuration end is used for configuring a data point table of each equipment terminal and transmitting the configured data point table to the conversion terminal, and the data point table comprises equipment attribute information and an equipment address;
the equipment terminal is a mobile terminal for power communication and sends a communication protocol file to the interior of the conversion terminal, and the file format comprises XML, HTML and TEXT;
the upper computer terminal identifies the file format in the conversion terminal, sends an instruction to the conversion terminal, sends different instructions including a reading instruction and a writing instruction according to the identification result, and issues different instructions according to different file formats;
and the conversion terminal processes different communication protocol files according to the instruction given by the upper computer terminal and transmits the processed communication protocol files to the corresponding equipment terminal.
Preferably, the conversion terminal includes a file identification unit, an instruction execution unit, a network channel adaptation unit and a storage unit, the file identification unit is configured to identify a communication protocol file format transmitted by the device terminal, the instruction execution unit executes an instruction transmitted by the upper computer terminal, the network channel adaptation unit adapts and transmits a corresponding file format and a corresponding network adaptation channel, and the storage unit is configured to store internal information of the data point table.
Preferably, the data point table configuration end pre-transmits the attribute information of the connected device and the device address to the conversion terminal, the storage unit in the conversion terminal stores the information, and generates a corresponding identification mark number a through a corresponding data point table, and different data point table information corresponds to different identification mark numbers a.
Preferably, the upper computer terminal identifies the internal file format of the conversion terminal in the following manner:
when the internal format of the communication protocol file is XML, HTML and TEXT, the upper computer terminal sends a reading instruction to the conversion terminal;
and when the communication protocol file is not matched with the internal file format, the upper computer terminal sends a writing instruction to the conversion terminal.
Preferably, when receiving the read instruction, the instruction execution unit directly transmits the received communication protocol file, identifies the number a according to the stored data point table information, and transmits the number a to the device terminal with the designated number a, when receiving the write instruction, queries the corresponding device terminal according to the number a, and directly sends a file format conversion instruction to the device terminal, and when receiving the corresponding file format conversion instruction, the device terminal converts the file and transmits the file again.
Preferably, the network adaptation channels are provided with four groups, namely an X channel, an H channel, a T channel and a Q channel, wherein the X channel is used for transmitting XML format files, the H channel is used for transmitting HTML format files, the T channel is used for transmitting TEXT format files, and the Q channel is used for transmitting other format files.
Preferably, a recording unit is arranged inside the network channel adaptation unit, the recording unit marks a plurality of groups of different transmission files during file transmission, and simultaneously generates a recording terminal, the recording terminal is transmitted in the Q channel, and the recording terminal generated by the recording unit is used for integrating format files transmitted by different channels.
Preferably, the storage unit opens up an independent register address memory space for each device terminal.
Compared with the prior art, the invention has the beneficial effects that: storing the device attribute information and the device addresses of different device terminals through a data point table configuration end, the data point table information is numbered for identifying the data point table information at the later stage, when the conversion terminal receives the file sent by the equipment terminal, the upper computer terminal identifies the file format in advance, directly transmits the matched files, transmits the unmatched files, the file is returned through the numbered equipment address, the personnel is prompted to change the file format, the file with the corresponding changed format is retransmitted, the files with different formats are transmitted by adopting different network channels, meanwhile, in the transmission process, the corresponding data terminals are arranged to bind the files, so that the disordered data situation is avoided after the files reach the designated equipment, and the confidentiality in the file transmission process is improved;
data points of various communication protocols are abstracted, public attributes are extracted, respective private attributes are reserved, corresponding services are started through configuration files, different ports are monitored, the same mapped data address memory space is accessed, and for write instructions received from different protocols, a message queue mechanism with a lock is adopted, and the sequential execution is performed without mutual influence.
Drawings
Fig. 1 is a schematic block diagram of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present application provides a power communication protocol conversion system based on remote configuration, including an upper computer terminal, a data point table configuration end, a conversion terminal and an equipment terminal, where an output end of the data electric meter configuration end is electrically connected to an input end of the conversion terminal, the upper computer terminal is bidirectionally connected to the conversion terminal, the equipment terminal is bidirectionally connected to the conversion terminal, and the data point table configuration end is bidirectionally connected to the equipment terminal;
the data point table configuration end is used for configuring a data point table of each terminal device and transmitting the configured data point table to the conversion terminal, and the data point table comprises device attribute information and a device address;
the equipment terminal is a mobile terminal for power communication, comprises an IEC104 server, an MODBUSTCP server and the like, and sends a communication protocol file to the interior of the conversion terminal, wherein the file format comprises files such as XML, HTML and TEXT;
the upper computer terminal is used for identifying the file format in the conversion terminal, sending an instruction to the conversion terminal, sending different instructions including a reading instruction and a writing instruction according to the identification result, and issuing different instructions according to different file formats;
the conversion terminal processes different communication protocol files according to an instruction issued by the upper computer terminal and transmits the processed communication protocol files to the corresponding equipment terminals;
the conversion terminal internally comprises a file identification unit, an instruction execution unit, a network channel adaptation unit and a storage unit, wherein the file identification unit is used for identifying the format of a communication protocol file transmitted by the equipment terminal, the instruction execution unit executes an instruction transmitted by the upper computer terminal, the file format corresponding to the network channel adaptation unit is adapted to and transmitted by the corresponding network adaptation channel, and the storage unit is used for storing the internal information of the data point table;
the conversion terminal processes different communication protocol files according to the instruction given by the upper computer terminal, and comprises the following steps:
s1, the data point table configuration end transmits the attribute information and the equipment address of the connected equipment to the conversion terminal in advance, a storage unit in the conversion terminal stores the information and generates corresponding identification mark numbers A through the corresponding data point tables, and different data point table information corresponds to different identification mark numbers A, wherein the identification mark numbers A mark the connected equipment;
s2, after the data point table information is stored, the conversion terminal receives the communication protocol file transmitted by the equipment terminal, and the file identification unit identifies the file format of the communication protocol file and transmits the file format identification information to the upper computer terminal;
s3, the upper computer terminal receives the corresponding identification information and matches the corresponding identification information with the format file stored in the upper computer terminal, and the matching mode is as follows:
s31, when the internal format of the communication protocol file is XML, HTML and TEXT, the upper computer terminal sends a reading instruction to the conversion terminal;
s32, when the format of the communication protocol file is not matched with that of the internal file, the upper computer terminal sends a writing instruction to the conversion terminal;
s4, when a read instruction and a write instruction are received in the conversion terminal, the instruction execution unit executes the received instruction, when the read instruction is received, the instruction execution unit directly transmits the received communication protocol file, identifies the number A according to the stored data point table information and transmits the number A to the equipment terminal with the specified number A, when the write instruction is received, the corresponding equipment terminal is inquired according to the number A, and the file format conversion instruction is directly transmitted to the equipment terminal, and when the equipment terminal receives the corresponding file format conversion instruction, the file is converted and transmitted again;
s5, adapting different format files with different network channels by the network channel adapting unit in the process of file transmission, wherein the network channel is provided with four groups, three groups correspond to different file format files respectively, namely an X channel, an H channel, a T channel and a Q channel, the X channel is used for transmitting XML format files, the H channel is used for transmitting HTML format files, the T channel is used for transmitting TEXT file format files, the Q channel is used for transmitting other format files, the network channel adapting unit is internally provided with corresponding recording units, the recording units mark the different transmission files and simultaneously generate recording terminals in the process of file transmission, the recording terminals are transmitted in the Q channel, the recording terminals generated by the recording units are used for integrating the format files transmitted by the different channels, the file can achieve the effect of secret transmission.
The conversion terminal abstracts data points of various communication protocols, extracts public attributes, reserves respective private attributes, starts corresponding services through a configuration file, monitors different ports, accesses the same mapped data address memory space, and adopts a message queue mechanism with a lock for write instructions received from different protocols to be sequentially executed without mutual influence;
the storage unit reserves all information of the terminal equipment, and an independent register address memory space is opened up for each equipment, so that the communication efficiency is higher, and the addressing equipment is more accurate.
The working principle of the invention is as follows: firstly, storing equipment attribute information and equipment addresses of different equipment terminals through a data point table configuration end, numbering the data point table information, wherein the numbering is for identifying the data point table information in the later period, when a conversion terminal receives a file sent by the equipment terminal, an upper computer terminal identifies the file format in advance, directly transmits the matched file, returns the file through the numbered equipment address aiming at the unmatched file, prompts personnel to change the file format, retransmits the file with the corresponding changed format, transmits the files with different formats through different network channels, and simultaneously binds the file by arranging the corresponding data terminal in the transmission process so as to avoid the data chaos condition after the file reaches the designated equipment and improve the confidentiality in the file transmission process, data points of various communication protocols are abstracted, public attributes are extracted, respective private attributes are reserved, corresponding services are started through configuration files, different ports are monitored, the same mapped data address memory space is accessed, and for write instructions received from different protocols, a message queue mechanism with a lock is adopted, and the sequential execution is performed without mutual influence.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present invention.

Claims (8)

1. A power communication protocol conversion system based on remote configuration, comprising:
the data point table configuration end is used for configuring the data point table of each equipment terminal and transmitting the configured data point table to the conversion terminal, and the data point table comprises equipment attribute information and an equipment address;
the equipment terminal is a mobile terminal for power communication and sends a communication protocol file to the interior of the conversion terminal, and the file format comprises XML, HTML and TEXT;
the upper computer terminal is used for identifying the file format in the conversion terminal, sending an instruction to the conversion terminal, sending different instructions including a reading instruction and a writing instruction according to the identification result, and issuing different instructions according to different file formats;
and the conversion terminal processes different communication protocol files according to the instruction given by the upper computer terminal and transmits the processed communication protocol files to the corresponding equipment terminals.
2. The power communication protocol conversion system based on remote configuration as claimed in claim 1, wherein the conversion terminal includes a file identification unit, an instruction execution unit, a network channel adaptation unit and a storage unit, the file identification unit is configured to identify a communication protocol file format transmitted by the device terminal, the instruction execution unit executes an instruction transmitted by the upper computer terminal, the network channel adaptation unit adapts and transmits a corresponding file format and a corresponding network adaptation channel, and the storage unit is configured to store internal information of the data point table.
3. The power communication protocol conversion system based on remote configuration as claimed in claim 2, wherein the data point table configuration end pre-transmits the attribute information of the connected device and the device address to the conversion terminal, the storage unit inside the conversion terminal stores the information and generates the corresponding identification tag number a through the corresponding data point table, and different data point table information corresponds to different identification tag numbers a.
4. The power communication protocol conversion system based on remote configuration as claimed in claim 3, wherein the upper computer terminal identifies the internal file format of the conversion terminal as follows:
when the internal format of the communication protocol file is XML, HTML and TEXT, the upper computer terminal sends a reading instruction to the conversion terminal;
and when the communication protocol file is not matched with the internal file format, the upper computer terminal sends a writing instruction to the conversion terminal.
5. The power communication protocol conversion system based on remote configuration as claimed in claim 4, wherein the instruction execution unit directly transmits the received communication protocol file when receiving the read instruction, identifies the number a according to the stored data point table information, transmits the number a to the device terminal with the designated number a, queries the corresponding device terminal according to the number a when receiving the write instruction, directly transmits the file format conversion instruction to the device terminal, and converts the file and transmits the file again when the device terminal receives the corresponding file format conversion instruction.
6. The power communication protocol conversion system based on the remote configuration as claimed in claim 2, wherein the network adaptation channels are provided with four groups, which are X channel, H channel, T channel and Q channel, respectively, the X channel is used for transmitting XML format files, the H channel is used for transmitting HTML format files, the T channel is used for transmitting TEXT file format files, and the Q channel is used for transmitting other format files.
7. The power communication protocol conversion system based on remote configuration as claimed in claim 2, wherein a recording unit is disposed inside the network channel adaptation unit, and the recording unit marks a plurality of different sets of transmission files during file transmission, and generates a recording terminal at the same time, and transmits the recording terminal in the Q channel, and the recording terminal generated by the recording unit is used for integrating format files transmitted by different channels.
8. A power communication protocol conversion system based on remote configuration according to claim 2, characterized in that the storage unit opens up a separate register address memory space for each device terminal.
CN202210442919.0A 2022-04-25 2022-04-25 Power communication protocol conversion system based on remote configuration Pending CN114640721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210442919.0A CN114640721A (en) 2022-04-25 2022-04-25 Power communication protocol conversion system based on remote configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210442919.0A CN114640721A (en) 2022-04-25 2022-04-25 Power communication protocol conversion system based on remote configuration

Publications (1)

Publication Number Publication Date
CN114640721A true CN114640721A (en) 2022-06-17

Family

ID=81952280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210442919.0A Pending CN114640721A (en) 2022-04-25 2022-04-25 Power communication protocol conversion system based on remote configuration

Country Status (1)

Country Link
CN (1) CN114640721A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060002288A (en) * 2004-07-01 2006-01-09 엘지전자 주식회사 Email attatched file reviewing method using mobile communication terminal
CN107784049A (en) * 2016-12-05 2018-03-09 上海壹账通金融科技有限公司 The method and apparatus of multi-format document parsing
CN111858467A (en) * 2020-07-22 2020-10-30 平安证券股份有限公司 File data processing method, device, equipment and medium based on artificial intelligence
US20210357358A1 (en) * 2019-02-20 2021-11-18 Shenzhen Dapu Microelectronics Co., Ltd. File storage system and method
CN113746850A (en) * 2021-09-07 2021-12-03 成都小步创想慧联科技有限公司 Multi-channel data acquisition method for Internet of things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060002288A (en) * 2004-07-01 2006-01-09 엘지전자 주식회사 Email attatched file reviewing method using mobile communication terminal
CN107784049A (en) * 2016-12-05 2018-03-09 上海壹账通金融科技有限公司 The method and apparatus of multi-format document parsing
US20210357358A1 (en) * 2019-02-20 2021-11-18 Shenzhen Dapu Microelectronics Co., Ltd. File storage system and method
CN111858467A (en) * 2020-07-22 2020-10-30 平安证券股份有限公司 File data processing method, device, equipment and medium based on artificial intelligence
CN113746850A (en) * 2021-09-07 2021-12-03 成都小步创想慧联科技有限公司 Multi-channel data acquisition method for Internet of things

Similar Documents

Publication Publication Date Title
CN101478493B (en) Method and device for NAT through communication
CN101425938B (en) Method and apparatus for network apparatus test
CN101090324B (en) Network system and server
CN109218261B (en) Data processing method and data processing device
US7369563B2 (en) Method and apparatus for sharing a single internet protocol address without a network address translation in an internet access gateway for a local network
CN101098304A (en) Router and address identification information management server
KR20060115824A (en) Network management system and method
CN101136910A (en) Network address and protocol translating equipment and application layer gateway equipment
CN104486589A (en) Assess method and device of GVRP-based video monitoring system
CN111314450A (en) Data transmission method and device, electronic equipment and computer storage medium
CN110572365A (en) multi-protocol server management method, system, terminal device and storage medium
CN103583020A (en) Relay server and relay communication system
CN110392066A (en) A kind of method and apparatus of access service
CN108182119A (en) Read and write abruption control method and device, storage medium and electronic device
CN107025146A (en) A kind of document generating method, device and system
CN108881247B (en) Message conversion method, device, gateway equipment and storage medium
CN114640721A (en) Power communication protocol conversion system based on remote configuration
CN117176633A (en) Bus cross-device communication method, device, equipment and storage medium
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
US6418479B1 (en) I/O pass through for a distributed computer system
CN113395615B (en) Message processing method and device, electronic equipment and readable storage medium
CN110233799A (en) A kind of method and communication equipment of port configuration
CN114338279A (en) Terminal access method and device and server
US11190371B2 (en) Fieldbus component with a setting element for configuring data transfer to a cloud
KR20010058123A (en) SIP protocol server apparatus

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