CN118113513A - Power distribution internet of things terminal program upgrading backup method - Google Patents

Power distribution internet of things terminal program upgrading backup method Download PDF

Info

Publication number
CN118113513A
CN118113513A CN202211529029.XA CN202211529029A CN118113513A CN 118113513 A CN118113513 A CN 118113513A CN 202211529029 A CN202211529029 A CN 202211529029A CN 118113513 A CN118113513 A CN 118113513A
Authority
CN
China
Prior art keywords
program
power distribution
things terminal
distribution internet
upgrade
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
CN202211529029.XA
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.)
Xuji Group Co Ltd
State Grid Henan Electric Power Co Ltd
Original Assignee
Xuji Group Co Ltd
State Grid Henan Electric Power Co Ltd
Filing date
Publication date
Application filed by Xuji Group Co Ltd, State Grid Henan Electric Power Co Ltd filed Critical Xuji Group Co Ltd
Publication of CN118113513A publication Critical patent/CN118113513A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to the technical field of power distribution internet of things terminals, and particularly relates to a power distribution internet of things terminal program upgrading backup method, which comprises the following steps: connecting terminal management equipment through configuration IP and Port; when an upgrade program instruction is received, judging whether the power distribution Internet of things terminal is running a program needing upgrade or not; if the program is running, firstly, after the program is terminated, transmitting an upgrade program corresponding to the program to the power distribution internet of things terminal; if the power distribution system is not running, the upgrade program corresponding to the program is directly transmitted to the power distribution internet of things terminal. The method of the invention can realize program upgrading by transmitting the corresponding file through the terminal management equipment when receiving the program upgrading instruction, and can finish upgrading by only one-key operation to issue the program upgrading instruction when the program upgrading is needed, thereby enabling non-professional personnel to finish the program upgrading process and avoiding the problems of resource consumption and delay of the use of the field terminal equipment caused by the need of professional personnel to go to the field for maintenance when the existing power distribution Internet of things terminal is upgraded.

Description

Power distribution internet of things terminal program upgrading backup method
Technical Field
The invention belongs to the technical field of power distribution internet of things terminals, and particularly relates to a power distribution internet of things terminal program upgrading backup method.
Background
At present, the application of the internet of things terminal of the power distribution network is wider and wider, and the requirements for upgrading and maintaining equipment programs are also more and more increased. At present, when terminal equipment software in other industries needs to be maintained or upgraded, remote actual operation of the Internet of things terminal equipment is realized in a remote upgrading mode, and professional technicians are not required to carry out field upgrading maintenance. However, due to the special condition of the power industry, a remote upgrading mode is not supported, and the on-site upgrading maintenance is performed, so that not only is the manpower, material resources and financial resources wasted, but also the use of the on-site terminal equipment is delayed. Therefore, a one-key type power distribution internet of things terminal program upgrading backup system is needed to be designed, so that workers with no programming experience on site can realize program upgrading and backup.
Disclosure of Invention
The invention aims to provide a power distribution internet of things terminal program upgrading backup method which is used for solving the problems that resources are consumed and the use of field terminal equipment is delayed due to the fact that professional personnel are required to go to field for maintenance when the existing power distribution internet of things terminal is upgraded.
In order to solve the technical problems, the invention provides a power distribution internet of things terminal program upgrading backup method, which comprises the following steps:
1) Connecting terminal management equipment through configuration IP and Port;
2) When an upgrade program instruction is received, executing upgrade program steps, wherein the upgrade program steps are as follows:
a) Judging whether the power distribution Internet of things terminal runs a program to be upgraded in an upgrade program instruction;
b) If the program to be upgraded is running, firstly terminating the program, and after the program is terminated, transmitting an upgrade program corresponding to the program to the power distribution internet of things terminal to finish the corresponding program upgrade of the power distribution internet of things terminal;
if the program to be upgraded is not running, the upgrade program corresponding to the program is directly transmitted to the power distribution Internet of things terminal, and the corresponding program upgrade of the power distribution Internet of things terminal is completed.
The beneficial effects are as follows: according to the method, the terminal management equipment is connected with the IP and the Port through configuration, when an upgrade program instruction can be received, the corresponding file is transmitted through the terminal management equipment to realize program upgrade, and when the upgrade program is needed, the program upgrade can be completed only after the upgrade program instruction is issued, so that when the program is upgraded, a non-professional person can complete the upgrade process of the program, and the problems that resources are consumed and the use of the field terminal equipment is delayed due to the fact that the professional person needs to go to the field maintenance when the existing power distribution Internet of things terminal is upgraded are solved.
Further, in step 1), a terminal management device is connected in an ftp mode; in the step 2), the corresponding upgrading program is transmitted through ftp.
Further, in step b), the program is terminated by looking up the process number of the program and dropping its kill.
Further, in step 2), when an instruction of upgrading the program is received, a program path to be upgraded is displayed. The display mode can be used for operators to check, so that whether the program is a program to be upgraded or not can be conveniently confirmed.
Further, in step 2), after the corresponding program of the power distribution internet of things terminal is upgraded, the starting script is uploaded to the power distribution internet of things terminal again. The function of updating the startup script is realized through the process of uploading the startup script again after the program is upgraded.
Further, the start script is a start.
Further, in step 2), when a backup instruction is received, a backup step is executed, where the backup step is: and downloading the folders of the program files and the folders of the configuration files stored in the power distribution internet of things terminal to the local.
The backup process can be completed only after the backup instruction is issued, so that non-professional personnel can complete the backup process during backup, and further the problems of resource consumption and delay of use of field terminal equipment caused by the fact that professional personnel are required to go to field for maintenance during backup of the existing power distribution internet of things terminal are avoided.
Further, the backup information is displayed while the folder is downloaded locally. The display mode can be used for an operator to check.
Further, in step 2), when a deletion instruction is received, deleting the database file is performed.
The deleting process can be completed only after the backup instruction is issued, so that non-professional personnel can complete the deleting process during deleting, and further the problems of resource consumption and delay of use of field terminal equipment caused by the fact that professional personnel are required to go to field for maintenance when the existing distribution internet of things terminal deletes the database file are avoided.
Further, when a deletion instruction is received, a warning display is also performed. By means of warning display, the operator is warned.
Drawings
FIG. 1 is a flow chart of an upgrade procedure of the present invention;
FIG. 2 is a schematic diagram of a program upgrade interface of the present invention;
FIG. 3 is a flow chart of a backup process of the present invention;
FIG. 4 is a schematic diagram of a program backup interface of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent.
An embodiment of a power distribution internet of things terminal program upgrading backup method is provided:
When the terminal program is bug-free or needs to be updated in actual engineering application of the Internet of things terminal of the power distribution network, professional technicians are usually required to go on business to upgrade and maintain on site, waste of manpower and material resources is caused, and the method in the embodiment can realize the functions of upgrading, backup and deleting without the professional technicians going to upgrade and maintain on site.
The specific upgrade implementation flow is shown in fig. 1:
The power distribution Internet of things terminal program upgrading backup method is connected with terminal management equipment in an ftp mode, and further backup upgrading operation of the Internet of things terminal program is achieved. The program upgrading method comprises the steps of firstly connecting a terminal management device through configuration IP and Port, clicking a file selecting button (a program upgrading interface is shown in fig. 2), popping up a file selecting window for a user to select an upgraded program, displaying a file path in a single-row input frame after the program file to be upgraded is selected for the user to check, clicking the program upgrading button to realize program upgrading, firstly checking whether the program is running in a terminal when the program is upgraded, if the program is executing, searching the process number of the program and dropping the kill, and transmitting the program file through ftp, and if the program is not running, directly transmitting the program to the terminal. In addition, the tool also supports deleting the database file and restarting the terminal, when the operation is executed, a warning prompt box is popped up to remind a user whether to delete or restart, so that misoperation of the user is prevented. Meanwhile, each operation process and each operation result are displayed in a text box below for being checked by on-site staff.
According to the method, the terminal management equipment is connected with the Port through the configuration IP, when an upgrade program instruction can be received, the corresponding file is transmitted through the terminal management equipment to realize program upgrade, and when the upgrade program is needed, the program upgrade can be completed only after the upgrade program instruction is issued, so that when the program is upgraded, a non-professional person can complete the upgrade process of the program, and the problems that resources are consumed and the use of the field terminal equipment is delayed due to the fact that the professional person needs to go to the field maintenance when the existing power distribution Internet of things terminal is upgraded are avoided.
The specific backup implementation flow is shown in fig. 3:
The method also has the function of backing up the program, the configuration file, the 4G configuration file and the common start.sh file to the local, and restoring the original environment after misoperation of field staff. Clicking the get program/configuration file button (program backup interface is shown in fig. 4) will automatically download the folders storing the program files and configuration files in the terminal to the local and print the backup information to the information field for viewing (as shown in fig. 4). In addition, after the system is upgraded, the start-up script start-up button is required to be uploaded again, so that the function of updating the start-up script is realized, and the start-up script is automatically uploaded to the terminal after the start-up button is clicked. Clicking the get 4G configuration/start file upload button will automatically backup the 4G dialing configuration file and start startup script locally. Meanwhile, each operation process and each operation result are displayed in a text box below for being checked by on-site staff.
The backup process of the embodiment can be completed only after the backup instruction is issued, so that non-professional staff can complete the backup process during backup, and further the problems of resource consumption and delay of use of field terminal equipment caused by the fact that professional staff is required to go to field for maintenance during backup of the existing power distribution internet of things terminal are avoided.
In summary, the invention provides functions of upgrading, backing up, restarting a terminal, updating a 4G configuration file and the like of the terminal program of the power distribution Internet of things, which can be flexibly used by field workers, and avoids resource waste caused by on-site maintenance and upgrading when professional technicians go on business.
The above description is only a preferred embodiment of the present invention, and the patent protection scope of the present invention is defined by the claims, and all equivalent structural changes made by the specification and the drawings of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The power distribution internet of things terminal program upgrading backup method is characterized by comprising the following steps of:
1) Connecting terminal management equipment through configuration IP and Port;
2) When an upgrade program instruction is received, executing upgrade program steps, wherein the upgrade program steps are as follows:
a) Judging whether the power distribution Internet of things terminal runs a program to be upgraded in an upgrade program instruction;
b) If the program to be upgraded is running, firstly terminating the program, and after the program is terminated, transmitting an upgrade program corresponding to the program to the power distribution internet of things terminal to finish the corresponding program upgrade of the power distribution internet of things terminal;
if the program to be upgraded is not running, the upgrade program corresponding to the program is directly transmitted to the power distribution Internet of things terminal, and the corresponding program upgrade of the power distribution Internet of things terminal is completed.
2. The power distribution internet of things terminal program upgrading backup method according to claim 1, wherein in step 1), a terminal management device is connected in an ftp mode; in the step 2), the corresponding upgrading program is transmitted through ftp.
3. The method for upgrading and backing up a power distribution internet of things terminal program according to claim 2, wherein in step b), the program is terminated by looking up the process number of the program and dropping its kill.
4. The method for upgrading and backing up a power distribution internet of things terminal program according to claim 3, wherein in step 2), when an upgrade program instruction is received, a program path to be upgraded is displayed.
5. The method for upgrading and backing up a program of a power distribution internet of things terminal according to claim 4, wherein in step 2), after the corresponding program of the power distribution internet of things terminal is upgraded, the startup script is uploaded to the power distribution internet of things terminal again.
6. The method for upgrading and backing up a power distribution internet of things terminal program according to claim 5, wherein the start script is a start.
7. The method for upgrading and backing up a power distribution internet of things terminal program according to claim 1, wherein in step 2), when a backup command is received, a backup step is performed, and the backup step is: and downloading the folders of the program files and the folders of the configuration files stored in the power distribution internet of things terminal to the local.
8. The method for upgrading and backing up a power distribution internet of things terminal program according to claim 7, wherein the backup information is displayed while the folder is downloaded locally.
9. The power distribution internet of things terminal program upgrade backup method according to claim 1, wherein in step 2), when a deletion instruction is received, deleting the database file is performed.
10. The power distribution internet of things terminal program upgrade backup method according to claim 9, wherein when a deletion instruction is received, a warning display is also performed.
CN202211529029.XA 2022-11-30 Power distribution internet of things terminal program upgrading backup method Pending CN118113513A (en)

Publications (1)

Publication Number Publication Date
CN118113513A true CN118113513A (en) 2024-05-31

Family

ID=

Similar Documents

Publication Publication Date Title
CN107291565B (en) Operation and maintenance visual automatic operation platform and implementation method
CN111399856A (en) File configuration editing method and system in service deployment
CN105159718B (en) Firmware upgrade method and device
CN103714137B (en) The delet method and system of a kind of data file
CN110865840B (en) Application management method, device, server and storage medium
CN106604140A (en) Method for dynamically updating application data of smart television
CN109598427B (en) Robot management method and device and electronic equipment
CN105100144A (en) Application updating method and device
CN112383507B (en) Firewall policy management method, device, system and computer readable storage medium
CN115687486B (en) Light-weight data acquisition method and device based on keyle
CN111984440A (en) Method, system and storage medium for Celery online management and automatic task execution
CN113157297B (en) Remote upgrading method and system for charging station equipment
CN114546588A (en) Task deployment method and device, storage medium and electronic device
JPH10171635A (en) System and method for managing software resource in distributed environments
CN118113513A (en) Power distribution internet of things terminal program upgrading backup method
CN111541565A (en) Visual rapid deployment method of application service based on communication topological structure
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
CN111367725A (en) Asynchronous task online monitoring method, front-end control system and service response platform
JP2002335320A (en) System for automating test of mobile telephones
CN105204892A (en) War packet configuration modification system and method
CN115357258A (en) Application deployment method and device, storage medium and electronic device
CN112152832B (en) Management object processing method and device, related equipment and storage medium
CN114791826A (en) Jenkins project operation method and device based on parameter configuration
CN110989876B (en) Application program adaptation method, mobile terminal and storage medium
CN114253441A (en) Target function starting method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication