CN109104308B - Route management method and upgrading system based on electric power terminal upgrading - Google Patents

Route management method and upgrading system based on electric power terminal upgrading Download PDF

Info

Publication number
CN109104308B
CN109104308B CN201810864844.9A CN201810864844A CN109104308B CN 109104308 B CN109104308 B CN 109104308B CN 201810864844 A CN201810864844 A CN 201810864844A CN 109104308 B CN109104308 B CN 109104308B
Authority
CN
China
Prior art keywords
terminal
upgrading
upgrade
upgraded
end processor
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
CN201810864844.9A
Other languages
Chinese (zh)
Other versions
CN109104308A (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.)
Ningbo Sanxing Smart Electric Co Ltd
Original Assignee
Ningbo Sanxing Smart 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 Ningbo Sanxing Smart Electric Co Ltd filed Critical Ningbo Sanxing Smart Electric Co Ltd
Priority to CN201810864844.9A priority Critical patent/CN109104308B/en
Publication of CN109104308A publication Critical patent/CN109104308A/en
Application granted granted Critical
Publication of CN109104308B publication Critical patent/CN109104308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A route management method based on power terminal upgrading is characterized in that: the method comprises the following steps: step (1), a terminal information list to be upgraded, which is established by using a real-time detection thread of terminal login information, is used for judging whether the terminal logged in the front-end processor needs to be upgraded or not, and if the terminal needs to be upgraded, the step (2) is carried out; otherwise, the upgrade is not carried out; step (2), according to the IP address and port of the appointed upgrading tool, a TCP link between the upgrading route management module and the upgrading tool is established; step (3), the terminal login information of the upgrade routing management module is transferred to an upgrade tool; step (4), the terminal is taken over by the upgrading tool, and the terminal is upgraded by the upgrading tool; and (5) the front-end processor feeds the upgraded terminal information back to the upgrade routing management module, and the upgrade routing management module deletes the upgraded terminal information from a terminal information list needing to be upgraded. An upgrade system is also disclosed. The upgrading efficiency and the expandability of the system are improved.

Description

Route management method and upgrading system based on electric power terminal upgrading
Technical Field
The invention relates to the field of power terminals, in particular to a route management method and an upgrade system based on power terminal upgrade.
Background
In the field operation process of an electric power terminal (hereinafter referred to as a terminal), as a user puts forward a new requirement, repairs a program BUG, replaces a software platform and the like, remote upgrading operation needs to be carried out on the software of the terminal. Most of the existing power acquisition systems deployed by provinces of power supply companies only support upgrading field terminals in a standard file transmission mode specified in a national grid 1376.1 protocol, but the upgrading efficiency is extremely low, the types of transmission files are limited, and the requirement of terminal upgrading in large quantities cannot be met at all.
The existing power harvesting system consists of: the system comprises a terminal, a front-end processor and a main station system, wherein as shown in fig. 1, when an electric power acquisition system needs to acquire terminal data in real time, set terminal parameters, upgrade a terminal and the like, the electric power acquisition system needs to send a message to the front-end processor through the main station system, and then sends the message to the terminal through the front-end processor; the message replied by the terminal firstly passes through the front-end processor and then is forwarded to the master station system by the front-end processor; besides forwarding common data messages, management messages such as other terminal online information and system operation information need to be transmitted in real time between the front-end processor and the master station system; therefore, a new set of communication protocol needs to be defined to satisfy the communication between the front-end processor and the master station system; in order to improve the upgrading efficiency and meet the requirement of terminal upgrading from day to day, each terminal manufacturer develops an upgrading tool with the highest upgrading efficiency matched with a self-terminal according to the characteristics of the terminal, but the upgrading tool cannot be directly connected with the terminal for upgrading, if the upgrading tool is connected to a front-end processor, because the front-end processor and a main station system need to transmit management messages such as terminal on-line information, system operation information and the like, a communication protocol between the front-end processor and the main station system needs to be realized, but the communication protocol belongs to a protected object in software of an acquisition system and is inconvenient to be externally disclosed, so that the upgrading tool cannot be connected to the acquisition system at all, and the field terminal cannot be upgraded.
The chinese invention patent with application number CN200810218390.4 (publication number CN101753535A) discloses a method and a system for upgrading a terminal in an electric power system, which comprises the following steps: the server sends the upgrade file to a terminal of the power system through the front-end processor; a terminal of the power system receives the upgrade file; and the terminal of the power system starts a corresponding upgrading program to upgrade according to the received upgrading file. According to the method and the system, the server sends the upgrade file to the terminal of the power system through the front-end processor, the terminal of the power system starts the upgrade program to upgrade according to the received upgrade file, remote batch upgrade of the terminal of the power system is achieved, maintenance resources are saved, and the work efficiency of power system maintenance is improved. However, in the invention, the server directly sends the upgrade file to the terminal of the power system through the front-end processor, which is not suitable for the transmission of a large amount of upgrade files and has low upgrade efficiency. Further improvements are therefore desirable.
Disclosure of Invention
The first technical problem to be solved by the present invention is to provide a routing management method based on power terminal upgrade, which improves the terminal upgrade efficiency and reduces the workload, in view of the current situation of the prior art.
The second technical problem to be solved by the present invention is to provide an upgrading system based on a power terminal, which has high upgrading efficiency and strong versatility and improves the expandability of a power acquisition system, in view of the current situation of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a route management method based on power terminal upgrading is characterized in that: the method comprises the following steps:
step (1), establishing a terminal information list needing to be upgraded by using a terminal login information real-time detection thread of an upgrade routing management module, judging whether a terminal logged on a front-end processor needs to be upgraded or not according to the terminal information list needing to be upgraded, and if the terminal logged on the front-end processor needs to be upgraded, turning to step (2); otherwise, the terminal is not upgraded, and whether the terminal logged on the front-end processor needs to be upgraded or not is continuously monitored;
step (2), the upgrade routing management module starts a new thread of the TCP link, and creates a TCP link between the upgrade routing management module and the upgrade tool according to the IP address and the port of the specified upgrade tool;
step (3), the upgrade routing management module transfers the terminal login information on the front-end processor to an upgrade tool;
step (4), the terminal is taken over by the upgrading tool, and the terminal is upgraded by the upgrading tool;
and (5) the front-end processor feeds the upgraded terminal information back to the upgrade routing management module, and the upgrade routing management module deletes the upgraded terminal information from a terminal information list needing to be upgraded.
Specifically, the step (1) includes the following steps: firstly, the front-end processor is in communication connection with the upgrade routing management module, when a terminal logs in the front-end processor, connection between the terminal and the front-end processor is established, the terminal sends a login message to the front-end processor, the front-end processor sends the login message of the terminal to the upgrade routing management module, and a terminal information list which is established by a real-time detection thread and needs to be upgraded is compared with the login message of the terminal according to the terminal login information of the upgrade routing management module to judge whether the terminal is the terminal which needs to be upgraded.
In the scheme, the login message comprises terminal address information, and whether the terminal is a terminal in a terminal information list needing to be upgraded is compared according to the terminal address information.
Preferably, the front-end processor is connected with the terminal through a TCP protocol.
Preferably, the front-end processor is connected with the upgrade routing management module through a TCP protocol.
In the scheme, after the terminal is taken over by the upgrading tool in the step (4), a transparent transmission connection channel is established between the upgrading tool and the terminal, and the upgrading and the link maintenance of the terminal are handed over to the upgrading tool management.
The utility model provides an upgrading system based on electric power terminal, includes terminal, front-end processor and main website system, main website system passes through the front-end processor and is connected with the terminal, its characterized in that: the system also comprises an upgrading tool and an upgrading route management module, wherein the upgrading tool is connected with the front-end processor through the upgrading route management module.
As an improvement, the upgrade routing management module comprises a thread, and the thread comprises a TCP link new thread for creating a TCP link between the upgrade routing management module and an upgrade tool, and the upgrade tool is connected to the upgrade routing management module through the TCP link.
Furthermore, the thread also comprises a real-time terminal login information detection thread which is used for detecting whether the terminal logged in the front-end processor needs to be upgraded or not.
Preferably, the front-end processor is connected with the terminal through a TCP protocol.
Compared with the prior art, the invention has the advantages that: through switching by TCP link, transparent transmission connection channel is established between upgrading tool and terminal, thereby upgrading terminal by using upgrading tool, upgrading efficiency of terminal is improved, indirect connection between upgrading tool and terminal is realized by TCP protocol, therefore upgrading tool can be any factory-defined upgrading tool, universality is strong, expandability of upgrading system is improved, whether upgrading is needed to logged terminal is judged by upgrading route management module, TCP link between route management module and upgrading tool is upgraded to terminal needing upgrading, and workload is reduced.
Drawings
FIG. 1 is a block diagram of a prior art power harvesting system;
FIG. 2 is a block diagram of an upgrade system according to an embodiment of the present invention;
fig. 3 is a flowchart of an upgraded routing management method according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
As shown in fig. 2, an upgrade system based on an electric power terminal includes a terminal, a front-end processor, a master station system, an upgrade tool, and an upgrade route management module, where the master station system is connected to the terminal through the front-end processor, and the upgrade tool is connected to the front-end processor through the upgrade route management module.
The upgrading route management module comprises a thread, the thread comprises a TCP link newly-built thread and is used for creating a TCP link between the upgrading route management module and an upgrading tool, and the upgrading tool is connected with the upgrading route management module through the TCP link.
The thread also comprises a terminal login information real-time detection thread which is used for detecting whether the terminal logged in the front-end processor needs to be upgraded or not.
The front-end processor is connected with the terminal through a TCP protocol.
As shown in fig. 3, a routing management method based on power terminal upgrade includes the following steps:
step (1), establishing a terminal information list needing to be upgraded by using a terminal login information real-time detection thread of an upgrade routing management module, judging whether a terminal logged on a front-end processor needs to be upgraded or not according to the terminal information list needing to be upgraded, and if the terminal logged on the front-end processor needs to be upgraded, turning to step (2); otherwise, the terminal is not upgraded, and whether the terminal logged on the front-end processor needs to be upgraded or not is continuously monitored;
the method specifically comprises the following steps: firstly, the front-end processor is in communication connection with the upgrade routing management module, when a terminal logs in the front-end processor, connection between the terminal and the front-end processor is established, the terminal sends a login message to the front-end processor, the front-end processor sends the login message of the terminal into the upgrade routing management module, and a terminal information list which is established by a real-time detection thread and needs to be upgraded is compared with the login message of the terminal according to the terminal login information of the upgrade routing management module to judge whether the terminal is the terminal needing to be upgraded; in this embodiment, the login message includes terminal address information, and whether the terminal is a terminal in the terminal information list that needs to be updated is compared according to the terminal address information.
Step (2), the upgrade routing management module starts a new thread of the TCP link, and creates a TCP link between the upgrade routing management module and the upgrade tool according to the IP address and the port of the specified upgrade tool;
step (3), the upgrade routing management module transfers the terminal login information on the front-end processor to an upgrade tool;
step (4), the terminal is taken over by the upgrading tool, and the terminal is upgraded by the upgrading tool;
after the terminal is taken over by the upgrading tool, a transparent transmission connection channel is established between the upgrading tool and the terminal, and the upgrading and link maintenance of the terminal are handed over to the upgrading tool management;
and (5) the front-end processor feeds the upgraded terminal information back to the upgrade routing management module, and the upgrade routing management module deletes the upgraded terminal information from a terminal information list needing to be upgraded.
In this embodiment, the front-end processor is connected with the terminal through a TCP protocol; the front-end processor is connected with the terminal through a TCP protocol.
In the embodiment, when the terminal normally works, the data acquisition transmission is carried out through the connection of the front-end processor and the main station system, when the terminal logs in on the front-end processor, the logged-in terminal sends a login message to the front-end processor, wherein the login message comprises the address information of the terminal, the front-end processor transmits the login message to the upgrade route management module and compares the login message with a terminal information list which is established by the upgrade route management module and needs to be upgraded, if the login message is in the list, a TCP link newly-built thread is established in the upgrade route management module, a TCP link between the upgrade route management module and an upgrade tool is established, the upgrade route management module transmits the login message to the upgrade tool, so that a transparent transmission connection channel between the upgrade tool and the terminal is established, the upgrade tool is used for upgrading the terminal, the upgrade efficiency of the terminal is improved, and the main station system does not need to transmit files to the terminal, the problem that the type of the transmission file is limited is solved, the type of an external upgrading tool is not limited, and the expandability of the system is improved.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the technical principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A route management method based on power terminal upgrading is characterized in that: the method comprises the following steps:
step (1), the front-end processor is in communication connection with the upgrade routing management module, when a terminal logs in the front-end processor, connection between the terminal and the front-end processor is established, the terminal sends a login message to the front-end processor, the front-end processor sends the login message of the terminal to the upgrade routing management module, a terminal information list needing to be upgraded is established by using a terminal login information real-time detection thread of the upgrade routing management module, the terminal information list needing to be upgraded is compared with the login message of the terminal according to the terminal information list needing to be upgraded, whether the terminal logged in the front-end processor needs to be upgraded is judged, and if the terminal needs to be upgraded, the step (2) is carried out; otherwise, the terminal is not upgraded, and whether the terminal logged on the front-end processor needs to be upgraded or not is continuously monitored; step (2), the upgrade routing management module starts a new thread of the TCP link, and creates a TCP link between the upgrade routing management module and the upgrade tool according to the IP address and the port of the specified upgrade tool;
step (3), the upgrade routing management module transfers the terminal login information on the front-end processor to an upgrade tool;
step (4), the terminal is taken over by the upgrading tool, and the terminal is upgraded by the upgrading tool;
and (5) the front-end processor feeds the upgraded terminal information back to the upgrade routing management module, and the upgrade routing management module deletes the upgraded terminal information from a terminal information list needing to be upgraded.
2. The routing management method based on the power terminal upgrade as claimed in claim 1, wherein: the login message comprises terminal address information, and whether the terminal is a terminal in a terminal information list needing to be upgraded is compared according to the terminal address information.
3. The routing management method based on the power terminal upgrade according to claim 1 or 2, wherein: the front-end processor is connected with the terminal through a TCP protocol.
4. The routing management method based on the power terminal upgrade as claimed in claim 1, wherein: the front-end processor is connected with the upgrading route management module through a TCP protocol.
5. The routing management method based on the power terminal upgrade as claimed in claim 1, wherein: and (4) after the terminal is taken over by the upgrading tool in the step (4), a transparent transmission connection channel is established between the upgrading tool and the terminal, and the upgrading and link maintenance of the terminal are handed over to the upgrading tool management.
6. An upgrading system applying the route management method based on power terminal upgrading according to any one of claims 1 to 5, comprising terminals, a front-end processor and a main station system, wherein the main station system is connected with the terminals through the front-end processor, and the upgrading system is characterized in that: the system also comprises an upgrading tool and an upgrading route management module, wherein the upgrading tool is connected with the front-end processor through the upgrading route management module.
7. The upgrade system according to claim 6, wherein: the upgrading route management module comprises a thread, the thread comprises a TCP link newly-built thread and is used for creating a TCP link between the upgrading route management module and an upgrading tool, and the upgrading tool is connected with the upgrading route management module through the TCP link.
8. The upgrade system according to claim 7, wherein: the thread also comprises a terminal login information real-time detection thread which is used for detecting whether the terminal logged in the front-end processor needs to be upgraded or not.
9. The upgrade system according to claim 7, wherein: the front-end processor is connected with the terminal through a TCP protocol.
CN201810864844.9A 2018-08-01 2018-08-01 Route management method and upgrading system based on electric power terminal upgrading Active CN109104308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810864844.9A CN109104308B (en) 2018-08-01 2018-08-01 Route management method and upgrading system based on electric power terminal upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810864844.9A CN109104308B (en) 2018-08-01 2018-08-01 Route management method and upgrading system based on electric power terminal upgrading

Publications (2)

Publication Number Publication Date
CN109104308A CN109104308A (en) 2018-12-28
CN109104308B true CN109104308B (en) 2021-11-09

Family

ID=64848252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810864844.9A Active CN109104308B (en) 2018-08-01 2018-08-01 Route management method and upgrading system based on electric power terminal upgrading

Country Status (1)

Country Link
CN (1) CN109104308B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589078C (en) * 2007-08-21 2010-02-10 中兴通讯股份有限公司 Multi-core terminal firmware upgrading method
CN101552697B (en) * 2009-05-06 2011-04-13 深圳市普联技术有限公司 Network access apparatus upgrade system and network access apparatus upgrade method
CN104579752B (en) * 2014-12-15 2017-11-28 南昌市科陆智能电网科技有限公司 Remote automatic upgrading system and remote automatic upgrading method

Also Published As

Publication number Publication date
CN109104308A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN110691398B (en) Network interaction method, system, equipment and storage medium of intelligent equipment
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
KR101416280B1 (en) Event handling system and method
CN104579752A (en) Remote automatic upgrading system and remote automatic upgrading method
CN111405059B (en) Cloud device data transmission method, electronic device and Internet of things system
CN112422684A (en) Target message processing method and device, storage medium and electronic device
CN104243719A (en) Heartbeat period determining method, system and device for long connection in mobile communication network
CN108011870B (en) A kind of remote software online upgrading information automatic identification management method
CN105245588A (en) Separation processing method of web service port
CN105072145A (en) IOT (Internet of Things) communication method and system
CN102368873A (en) Double-path connection M2M (machine-to-machine) system, terminal and connection method thereof
CN109104308B (en) Route management method and upgrading system based on electric power terminal upgrading
CN102238571B (en) Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof
CN104348645A (en) Server and data transmission method of server
CN104158877A (en) Remote control method, and device and system
CN116260503B (en) Multi-station control data transmission system and method based on antenna equipment
CN104639379A (en) Proxy testing method and device
CN108933685A (en) A kind of the monitoring maintaining method and system of Intelligent hardware product
CN104022901B (en) Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller)
CN105306442A (en) Proxy server and command transmission methods
CN113079055B (en) AGV operation data dynamic acquisition method and device
CN111049939A (en) Remote debugging system and method for local protocol configuration and electronic equipment
CN110798242A (en) Circuit, multi-channel device and multi-channel short message sending method
CN104980495A (en) General device integrated manager
CN100429902C (en) Intelligent terminal server for power equipment communication system and its communication method

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