CN110795111B - Remote automatic upgrading method for communication equipment and management terminal - Google Patents

Remote automatic upgrading method for communication equipment and management terminal Download PDF

Info

Publication number
CN110795111B
CN110795111B CN201910930825.6A CN201910930825A CN110795111B CN 110795111 B CN110795111 B CN 110795111B CN 201910930825 A CN201910930825 A CN 201910930825A CN 110795111 B CN110795111 B CN 110795111B
Authority
CN
China
Prior art keywords
communication equipment
management terminal
instruction
upgrading
communication
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
CN201910930825.6A
Other languages
Chinese (zh)
Other versions
CN110795111A (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.)
Shenzhen Huazhen Information Technology Co ltd
Original Assignee
Shenzhen Huazhen Information Technology 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 Shenzhen Huazhen Information Technology Co ltd filed Critical Shenzhen Huazhen Information Technology Co ltd
Priority to CN201910930825.6A priority Critical patent/CN110795111B/en
Publication of CN110795111A publication Critical patent/CN110795111A/en
Application granted granted Critical
Publication of CN110795111B publication Critical patent/CN110795111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a remote automatic upgrading method for communication equipment and a management terminal. The method comprises the following steps: s1, a management terminal receives upgrade information, wherein the upgrade information comprises address information of communication equipment and storage path information of an upgrade file; s2, the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment; and S3, the management terminal sends an upgrading guide instruction to the communication equipment corresponding to the address information of the communication equipment, and the upgrading guide instruction is used for guiding the communication equipment to install an upgrading file. The invention does not need to install an upgrading tool on the communication equipment, does not need to manually operate on the communication equipment, and can upgrade only by connecting the communication equipment to the management terminal; and the management terminal is simple to operate, the upgrading of the communication equipment can be automatically completed by inputting simple information, and the automation degree is high.

Description

Remote automatic upgrading method for communication equipment and management terminal
Technical Field
The present invention relates to the field of communication devices, and in particular, to a method for remotely and automatically upgrading a communication device and a management terminal.
Background
The communication industry is in a continuous change, and customers often not only put forward higher-level business requirements for systems and products, but also put forward functional requirements for tasks of reducing cost and power consumption, so that communication equipment is required to be upgraded frequently. Although the field communication devices can be upgraded in batch through the network management, the communication devices in laboratories and production lines are upgraded rarely by means of the network management but much by means of manual upgrade, and the communication devices need to be upgraded by workers, for example, upgrade files are imported into the communication devices, upgrade tools are installed on the communication devices, the communication devices are upgraded manually step by step, and the like, so that human errors easily occur. Especially, when the versions of the communication devices are upgraded in a large scale, the failure probability of the version upgrade can be greatly increased through manual operation, and the production efficiency is reduced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for remotely and automatically upgrading a communication device and a management terminal, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a remote automatic upgrading method of communication equipment is constructed and applied to a management terminal, an upgrading file is stored in the management terminal, and the method comprises the following steps:
s1, the management terminal receives upgrade information, wherein the upgrade information comprises address information of communication equipment and storage path information of an upgrade file;
s2, the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment;
and S3, the management terminal sends an upgrading guide instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the upgrading guide instruction is used for guiding the communication equipment to install the upgrading file.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, after the step S1 and before the step S2, the method further includes:
s11, the management terminal receives an upgrading instruction, and the management terminal starts to automatically execute subsequent steps according to a preset program.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, the upgrade information in step S1 further includes a version name of an upgrade file, and after step S1 and before step S2, further includes:
s12, the management terminal sends the version name and the version name verification instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the version name verification instruction is used for verifying whether the version name is legal or not by the communication equipment; and if the communication equipment verifies that the version name is legal, executing the step S2.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, after the step S2 and before the step S3, the method further includes:
s22, the management terminal sends user account information and a login instruction to the communication equipment, wherein the login instruction is used for logging in the user account information on the communication equipment.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, the sending, by the management terminal, the upgrade file corresponding to the storage path information to the communication device corresponding to the address information of the communication device includes: the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment through a TFTP protocol or an FTP protocol;
the management terminal sends the user account information and the login instruction to the communication equipment, and the management terminal comprises: and the management terminal sends user account information and login instructions to the communication equipment through an SSH protocol or a Telnet protocol.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, if the upgrade file is a compressed file, the step S2 includes:
and S21, the management terminal sends the upgrade file corresponding to the storage path information and a decompression instruction to the communication equipment corresponding to the address information of the communication equipment, and the decompression instruction is used for calling decompression software of the communication equipment to decompress the compressed file.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, after the step S2 and before the step S3, the method further includes:
s23, the management terminal sends a version content verification instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the version content verification instruction is used for verifying whether the content of the upgrade file is matched with the communication equipment or not by the communication equipment; and if the content of the upgrade file is matched with the communication equipment, executing the step S3.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, the step S3 includes:
s31, the management terminal sends an upgrading guide instruction, a reset forbidding instruction and a reset enabling instruction to the communication equipment corresponding to the address information of the communication equipment; the upgrade guiding instruction is used for guiding the communication equipment to install the upgrade file; the reset forbidding instruction is used for forbidding the reset function of the communication equipment before the upgrade file is installed; the enabling reset instruction is used for enabling the reset function of the communication equipment after the upgrade file is installed.
Further, in the method for remotely and automatically upgrading a communication device according to the present invention, after the step S3, the method further includes:
and S4, the management terminal receives and displays the upgrading result information of the communication equipment.
In addition, the invention also provides a management terminal, which comprises a processor, a memory and a communication module; the processor is respectively connected with the memory and the communication module; the memory is used for storing an upgrade file and a program code, and the communication module is used for communication between the management terminal and the communication equipment;
the processor is configured to execute the program code in the memory to implement the method for remote automatic upgrade of a communication device as described above.
The implementation of the remote automatic upgrading method and the management terminal of the communication equipment has the following beneficial effects: the invention does not need to install an upgrading tool on the communication equipment, does not need to manually operate on the communication equipment, and can upgrade only by connecting the communication equipment to the management terminal; and the management terminal is simple to operate, the upgrading of the communication equipment can be automatically completed by inputting simple information, and the automation degree is high.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flow diagram of a method for remote automatic upgrade of a communication device according to an embodiment;
FIG. 2 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
FIG. 3 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
FIG. 4 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
FIG. 5 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
FIG. 6 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
FIG. 7 is a flow diagram of a method for remote automatic upgrade of a communication device according to an embodiment;
FIG. 8 is a flowchart of a method for remotely and automatically upgrading a communication device according to an embodiment;
fig. 9 is a schematic structural diagram of a management terminal according to an embodiment.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Examples
Referring to fig. 1, the remote automatic upgrade method for a communication device according to this embodiment is applied to a management terminal, and the management terminal stores an upgrade file for upgrading an installed system or software (application program) of the communication device. When the communication equipment needs to be upgraded, the communication equipment and the management terminal are connected through a network, namely, communication connection is established. The management terminal can be directly connected with the communication equipment in a communication mode, the management terminal can also be connected with the communication equipment in a communication mode through a local area network, and the management terminal can also be connected with the communication equipment in a communication mode through the internet. The management terminal can select a wired communication mode or a wireless communication mode to be in communication connection with the communication equipment. The communication device in this embodiment refers to a device including a communication function, such as a communication device on a production line or a communication device in a laboratory. The management terminal can be a notebook computer, a desktop computer, a tablet computer and the like. The remote automatic upgrading method of the communication equipment comprises the following steps:
s1, the management terminal receives upgrade information, wherein the upgrade information comprises address information of the communication equipment and storage path information of an upgrade file. Specifically, the management terminal can receive upgrade information input by an administrator through input modes such as a keyboard, a mouse, a touch screen, a handwriting pad, voice input and the like, wherein address information of the communication equipment refers to address information of the communication equipment in a network, and the management terminal automatically searches and establishes communication connection with the communication equipment according to the address information of the communication equipment. If the management terminal is connected with the communication equipment through the local area network communication, the address information of the communication equipment is the address information of the communication equipment in the local area network; if the management terminal is connected with the communication equipment through internet communication, the address information of the communication equipment is the address information of the communication equipment in the internet. The storage path information of the upgrade file refers to a storage path (storage location) of the upgrade file on the management terminal, and the management terminal reads the upgrade file according to the storage path information of the upgrade file. The upgrade file in this embodiment may also be stored in an external memory such as a USB disk, a mobile hard disk, or an optical disk, and the management terminal reads the upgrade file stored in the external memory through a USB interface or an optical drive.
And S2, the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment. Specifically, the management terminal reads the upgrade file stored on the management terminal according to the storage path information, and sends the read upgrade file to the communication device corresponding to the address information of the communication device. If the upgrade file is stored in the external memory such as a U disk, a mobile hard disk, an optical disk and the like, the management terminal reads the upgrade file stored in the external memory through a USB interface or an optical drive. Optionally, the sending, by the management terminal, the upgrade file corresponding to the storage path information to the communication device corresponding to the communication device address information includes: the management terminal sends the upgrade file corresponding to the storage path information to the communication device corresponding to the address information of the communication device through a TFTP protocol or an FTP protocol, which may refer to the prior art. After the upgrade file is completely transmitted to the communication equipment, the communication equipment returns transmission completion information to the management terminal, displays the transmission completion of the upgrade file on a display screen of the management terminal, and informs a manager of the upgrade progress. And if the transmission is interrupted or not completed, the communication equipment returns the information of the incomplete transmission to the management terminal, displays the information of the incomplete transmission on a display screen of the management terminal and informs a manager of the progress of upgrading.
And S3, the management terminal sends an upgrading guide instruction to the communication equipment corresponding to the address information of the communication equipment, and the upgrading guide instruction is used for guiding the communication equipment to install an upgrading file. Specifically, in the communication device of this embodiment, no program for device upgrade is installed, and after the management terminal sends the upgrade file to the communication device, the communication device does not automatically perform upgrade, so the management terminal needs to send an upgrade guide instruction to the communication device corresponding to the address information of the communication device, and the communication device installs the upgrade file under the guidance of the upgrade guide instruction, that is, the upgrade guide instruction can call the operating system of the communication device, and the operating system is guided by the upgrade guide instruction to install the upgrade file. Alternatively, the upgrade boot instructions may include a plurality of upgrade instructions, each upgrade instruction corresponding to an upgrade step. It should be noted that the upgrade guidance instruction is formulated according to the operating system of the communication device, and corresponds to the operating instruction of the operating system of the communication device, that is, a manager needs to know the operating system and the operating instruction of the communication device in advance, and formulates an upgrade guidance instruction for guiding the communication device to install the upgrade file according to the instruction of the operating system of the communication device, and different communication devices may correspond to different upgrade guidance instructions.
According to the embodiment, an upgrading tool does not need to be installed on the communication equipment, manual operation on the communication equipment is not needed, and the communication equipment can be upgraded only by being connected to the management terminal; and the management terminal is simple to operate, and the upgrading of the communication equipment can be automatically completed by inputting simple information.
Examples
Referring to fig. 2, on the basis of the previous embodiment, the method for remotely and automatically upgrading a communication device of the present embodiment further includes, after step S1 and before step S2:
and S11, the management terminal receives the upgrading instruction and starts to automatically execute the subsequent steps according to the preset program. After the management terminal receives the upgrade information, the management terminal may receive an upgrade instruction input by an administrator through an input manner such as a keyboard, a mouse, a touch screen, a tablet, or a voice input, for example, the upgrade instruction is generated by clicking a "burn" button displayed on a display screen of the management terminal through the mouse. And after the upgrading instruction is generated, the management terminal starts to automatically execute the subsequent steps according to a preset program.
According to the embodiment, only the address information of the communication equipment and the storage path information of the upgrade file need to be input, the subsequent upgrade steps are automatically completed after the upgrade instruction is received, the automation degree is high, and manual operation is reduced to the maximum extent.
Examples
Referring to fig. 3, the remote automatic upgrade method for a communication device of the present embodiment is applied to a management terminal, and the management terminal stores an upgrade file for upgrading a system or software (application program) installed in the communication device. When the communication equipment needs to be upgraded, the communication equipment and the management terminal are connected through a network, namely, communication connection is established. The management terminal can be directly connected with the communication equipment in a communication mode, the management terminal can also be connected with the communication equipment in a communication mode through a local area network, and the management terminal can also be connected with the communication equipment in a communication mode through the internet. The management terminal can select a wired communication mode or a wireless communication mode to be in communication connection with the communication equipment. The communication device in this embodiment refers to a device including a communication function, such as a communication device on a production line or a communication device in a laboratory. The management terminal can be a notebook computer, a desktop computer, a tablet computer and the like. The remote automatic upgrading method of the communication equipment comprises the following steps:
s1, the management terminal receives upgrade information, wherein the upgrade information comprises address information of the communication equipment and storage path information of an upgrade file. Specifically, the management terminal can receive upgrade information input by an administrator through input modes such as a keyboard, a mouse, a touch screen, a handwriting pad, voice input and the like, wherein address information of the communication equipment refers to address information of the communication equipment in a network, and the management terminal automatically searches and establishes communication connection with the communication equipment according to the address information of the communication equipment. If the management terminal is connected with the communication equipment through the local area network communication, the address information of the communication equipment is the address information of the communication equipment in the local area network; if the management terminal is connected with the communication equipment through internet communication, the address information of the communication equipment is the address information of the communication equipment in the internet. The storage path information of the upgrade file refers to a storage path (storage location) of the upgrade file on the management terminal, and the management terminal reads the upgrade file according to the storage path information of the upgrade file. The upgrade file in this embodiment may also be stored in an external memory such as a USB disk, a mobile hard disk, or an optical disk, and the management terminal reads the upgrade file stored in the external memory through a USB interface or an optical drive.
And S2, the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment. Specifically, the management terminal reads the upgrade file stored on the management terminal according to the storage path information, and sends the read upgrade file to the communication device corresponding to the address information of the communication device. If the upgrade file is stored in the external memory such as a U disk, a mobile hard disk, an optical disk and the like, the management terminal reads the upgrade file stored in the external memory through a USB interface or an optical drive. Optionally, the sending, by the management terminal, the upgrade file corresponding to the storage path information to the communication device corresponding to the communication device address information includes: the management terminal sends the upgrade file corresponding to the storage path information to the communication device corresponding to the address information of the communication device through a TFTP protocol or an FTP protocol, which may refer to the prior art. After the upgrade file is completely transmitted to the communication equipment, the communication equipment returns transmission completion information to the management terminal, displays the transmission completion of the upgrade file on a display screen of the management terminal, and informs a manager of the upgrade progress. And if the transmission is interrupted or not completed, the communication equipment returns the information of the incomplete transmission to the management terminal, displays the information of the incomplete transmission on a display screen of the management terminal and informs a manager of the progress of upgrading.
S31, the management terminal sends an upgrading guide instruction, a reset forbidding instruction and a reset enabling instruction to the communication equipment corresponding to the address information of the communication equipment; the upgrading guide instruction is used for guiding the communication equipment to install upgrading files; the reset forbidding instruction is used for forbidding the reset function of the communication equipment before the upgrade file is installed; the enable reset instruction is for enabling a reset function of the communication device after installation of the upgrade file.
Specifically, in the communication device of this embodiment, no program for device upgrade is installed, and after the management terminal sends the upgrade file to the communication device, the communication device does not automatically perform upgrade, so the management terminal needs to send an upgrade guide instruction to the communication device corresponding to the address information of the communication device, and the communication device installs the upgrade file under the guidance of the upgrade guide instruction, that is, the upgrade guide instruction can call the operating system of the communication device, and the operating system is guided by the upgrade guide instruction to install the upgrade file. Alternatively, the upgrade boot instructions may include a plurality of upgrade instructions, each upgrade instruction corresponding to an upgrade step. It should be noted that the upgrade guidance instruction is formulated according to the operating system of the communication device, and corresponds to the operating instruction of the operating system of the communication device, that is, a manager needs to know the operating system and the operating instruction of the communication device in advance, and formulates an upgrade guidance instruction for guiding the communication device to install the upgrade file according to the instruction of the operating system of the communication device, and different communication devices may correspond to different upgrade guidance instructions.
In order to prevent the communication device from being automatically reset in the upgrading process and causing upgrading failure, the management terminal of the embodiment transmits a reset prohibition instruction to the communication device, wherein the reset prohibition instruction is used for forbidding the reset function of the communication device before the upgrade file is installed. And after the upgrade is finished, the communication equipment recovers the automatic reset function, the management terminal transmits a reset starting instruction to the communication equipment, and the reset starting instruction is used for starting the reset function of the communication equipment after the upgrade file is installed. Alternatively, after the communication equipment completes the prohibition of active reset, the prohibition success information is returned to the management terminal, and the management terminal displays the prohibition success information to inform the management personnel of the upgrade progress. And after the communication equipment completes the recovery active reset, returning recovery success information to the management terminal, and displaying the recovery success information by the management terminal to inform a manager of the upgrading progress.
The embodiment prohibits the reset function of the communication equipment before the communication equipment is upgraded, and automatically restores the reset function of the communication equipment after the communication equipment is upgraded so as to ensure that the upgrading of the communication equipment is not interrupted and the upgrading is smoothly completed.
Examples
Referring to fig. 4, on the basis of the foregoing embodiment, in the method for remotely and automatically upgrading a communication device of this embodiment, the upgrade information in step S1 further includes a version name of the upgrade file, that is, the management terminal receives the address information of the communication device, the storage path information of the upgrade file, and the version name of the upgrade file. The management terminal can receive the version name of the upgrade file input by the administrator through input modes such as a keyboard, a mouse, a touch screen, a handwriting pad, voice input and the like. The method for remotely and automatically upgrading communication equipment of the embodiment further comprises the following steps after the step S1 and before the step S2:
and S12, the management terminal sends the version name and the version name verification instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the version name verification instruction is used for verifying whether the version name is legal or not by the communication equipment. The communication equipment reads the version name of the software to be upgraded in the communication equipment under the guidance of the version name verification instruction, and then the communication equipment verifies whether the version name is legal or not under the guidance of the version name verification instruction, namely whether the version name of the communication equipment is corresponding to the version name sent by the management terminal or not, or whether the version number corresponding to the version name of the communication equipment is lower than the version number of the version name sent by the management terminal or not. If the communication device verifies that the version name is legal, step S2 is executed. Alternatively, after the communication equipment verifies whether the version name is legal, the verification result information is returned to the management terminal and is displayed on a display screen of the management terminal, so that a manager can know the upgrading progress.
In this embodiment, to ensure that the upgrade file is consistent with the requirements of the communication device, before the upgrade file is transmitted, the version name of the upgrade file of the management terminal is transmitted to the communication device for verification, and if the version name of the upgrade file is consistent, the upgrade file is transmitted.
Examples
Referring to fig. 5, on the basis of the foregoing embodiment, the method for remotely and automatically upgrading a communication device of this embodiment further includes, after step S2 and before step S3:
s22, the management terminal sends the user account information and a login instruction to the communication equipment, wherein the login instruction is used for logging in the user account information on the communication equipment. If the communication equipment does not have the opened use permission, the use permission of the communication equipment can be obtained only by logging in a legal account, the management terminal sends user account information and a login command to the communication equipment, the user account information comprises a user account and a login password, the login command guides the communication equipment to start an account login program, the user account and the login password are automatically filled, and the login of the user account is automatically completed so as to obtain the program safety permission of the communication equipment. Alternatively, the step of sending the user account information and the login instruction to the communication device by the management terminal comprises: the management terminal sends the user account information and the login instruction to the communication device through an SSH protocol or a Telnet protocol, which can refer to the prior art.
The embodiment sends the user account information and the login instruction to the communication equipment, completes login in the communication equipment and obtains the program security right of the communication equipment.
Examples
Referring to fig. 6, on the basis of the foregoing embodiment, if the upgrade file is a compressed file, in the method for remotely and automatically upgrading a communication device of this embodiment, step S2 includes:
and S21, the management terminal sends the upgrade file corresponding to the storage path information and a decompression instruction to the communication equipment corresponding to the address information of the communication equipment, and the decompression instruction is used for calling decompression software of the communication equipment to decompress the compressed file. Specifically, the management terminal reads the upgrade file stored on the management terminal according to the storage path information, and sends the read upgrade file to the communication device corresponding to the address information of the communication device. If the upgrade file is stored in the external memory such as a U disk, a mobile hard disk, an optical disk and the like, the management terminal reads the upgrade file stored in the external memory through a USB interface or an optical drive. After the compressed file is transmitted to the communication device, the decompression instruction invokes decompression software of the communication device to decompress the compressed file to obtain files available for system installation by the communication device. Optionally, after decompression is completed, the communication equipment returns decompression completion information to the management terminal, and the management terminal displays the decompression completion information; if the decompression cannot be carried out or the decompression fails, the communication equipment returns decompression failure information to the management terminal, and the management terminal displays the decompression failure information.
In this embodiment, the upgrade file is a compressed file, and sends a decompression instruction to the communication device, and the decompression software of the communication device is automatically invoked for decompression, so that the upgrade file can be installed by the communication device.
Examples
Referring to fig. 7, on the basis of the above embodiment, the method for remotely and automatically upgrading a communication device of the present embodiment further includes, after step S2 and before step S3:
s23, the management terminal sends a version content verification instruction to the communication equipment corresponding to the address information of the communication equipment, the version content verification instruction is used for verifying whether the content of the upgrade file is matched with the communication equipment or not by the communication equipment, and the version content verification instruction calls a verification program of the communication equipment to verify whether the content of the upgrade file is matched with the communication equipment or not, namely whether the upgrade file is matched with a system of the communication equipment or not, and whether the upgrade file can normally run in the system of the communication equipment or not. And if the content of the upgrade file is matched with the communication equipment, executing the step S3. Alternatively, the communication device returns the authentication result information to the management terminal, and the management terminal displays the authentication result information.
In this embodiment, after the upgrade file is transmitted to the communication device, it is further verified whether the content of the upgrade file matches with the communication device, so as to ensure that the upgrade file can be normally installed in the communication device
Examples
Referring to fig. 8, on the basis of the above embodiment, the method for remotely and automatically upgrading a communication device of the present embodiment further includes, after step S3:
and S4, the management terminal receives and displays the upgrading result information of the communication equipment. After the communication equipment finishes upgrading, the information of successful upgrading is returned to the management terminal, and the management terminal displays the information of successful upgrading.
Examples
Referring to fig. 9, the management terminal of the present embodiment includes a processor, a memory, and a communication module, the processor being connected to the memory and the communication module, respectively; the memory is used for storing the upgrade file and the program code, and the communication module is used for managing the communication between the terminal and the communication equipment; the processor is configured to execute the program code in the memory to implement the method for remote automatic upgrade of a communication device as described above.
The management terminal also comprises an input device for receiving the address information of the communication device, the storage path information of the upgrade file and the version name of the upgrade file input by a manager, wherein the input device can be selected from a keyboard, a mouse, a touch screen, a handwriting board, voice input and the like.
The management terminal also comprises a display screen for displaying the upgrading process information.
Alternatively, the management terminal may be a notebook computer, a desktop computer, a tablet computer, or the like.
According to the embodiment, the upgrading can be carried out only by connecting the communication equipment to the management terminal without installing an upgrading tool on the communication equipment or manually operating the communication equipment; and the management terminal is simple to operate, the upgrading of the communication equipment can be automatically completed by inputting simple information, and the automation degree is high.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are only for illustrating the technical idea and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement the present invention accordingly, and not to limit the protection scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (7)

1. A remote automatic upgrading method of communication equipment is applied to a management terminal, and is characterized in that an upgrading file is stored in the management terminal, and the method comprises the following steps:
s1, the management terminal receives upgrade information input by an administrator, wherein the upgrade information comprises address information of communication equipment and storage path information of an upgrade file; the management terminal automatically searches and establishes communication connection with the communication equipment according to the address information of the communication equipment; the storage path information refers to a storage path of the upgrade file on the management terminal, and the management terminal reads the upgrade file according to the storage path information of the upgrade file;
s2, the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment; the communication equipment is communication equipment with a communication function on a production line, and any program for equipment upgrading is not installed in the communication equipment;
s3, the management terminal sends an upgrade guiding instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the upgrade guiding instruction is used for guiding the communication equipment to install the upgrade file; the step S3 includes: s31, the management terminal sends an upgrading guide instruction, a reset forbidding instruction and a reset enabling instruction to the communication equipment corresponding to the address information of the communication equipment; the upgrade guiding instruction is used for guiding the communication equipment to install the upgrade file; the reset forbidding instruction is used for forbidding the reset function of the communication equipment before the upgrade file is installed; the enabling reset instruction is used for enabling a reset function of the communication equipment after the upgrade file is installed; the upgrading guide instruction comprises a plurality of upgrading instructions, and each upgrading instruction corresponds to one upgrading step; the upgrading guide instruction is formulated according to the operating system of the communication equipment and corresponds to the operating instruction of the operating system of the communication equipment;
after step S1 and before step S2, further comprising: s12, the management terminal sends a version name and a version name verification instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the version name verification instruction is used for verifying whether the version name is legal or not by the communication equipment and whether the version number corresponding to the version name of the communication equipment is lower than the version number of the version name sent by the management terminal or not; if the communication equipment verifies that the version name is legal, executing the step S2;
further comprising, after said step S2 and before said step S3: s23, the management terminal sends a version content verification instruction to the communication equipment corresponding to the address information of the communication equipment, wherein the version content verification instruction is used for verifying whether the content of the upgrade file is matched with the communication equipment or not by the communication equipment; and if the content of the upgrade file is matched with the communication equipment, executing the step S3.
2. The method for remotely and automatically upgrading a communication device according to claim 1, further comprising, after the step S1 and before the step S2:
s11, the management terminal receives an upgrading instruction, and the management terminal starts to automatically execute subsequent steps according to a preset program.
3. The method for remotely and automatically upgrading a communication device according to claim 1, further comprising, after the step S2 and before the step S3:
s22, the management terminal sends user account information and a login instruction to the communication equipment, wherein the login instruction is used for logging in the user account information on the communication equipment.
4. The method for remotely and automatically upgrading communication equipment according to claim 3, wherein the step of sending the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment by the management terminal comprises the following steps: the management terminal sends the upgrade file corresponding to the storage path information to the communication equipment corresponding to the address information of the communication equipment through a TFTP protocol or a FTP protocol;
the management terminal sends the user account information and the login instruction to the communication equipment, and the management terminal comprises: and the management terminal sends user account information and login instructions to the communication equipment through an SSH protocol or a Telnet protocol.
5. The method for remotely and automatically upgrading a communication device according to claim 1, wherein if the upgrade file is a compressed file, the step S2 includes:
and S21, the management terminal sends the upgrade file corresponding to the storage path information and a decompression instruction to the communication equipment corresponding to the address information of the communication equipment, and the decompression instruction is used for calling decompression software of the communication equipment to decompress the compressed file.
6. The method for remotely and automatically upgrading a communication device according to claim 1, further comprising, after the step S3:
and S4, the management terminal receives and displays the upgrading result information of the communication equipment.
7. A management terminal comprising a processor, a memory and a communication module; the processor is respectively connected with the memory and the communication module; the memory is used for storing an upgrade file and a program code, and the communication module is used for communication between the management terminal and the communication equipment;
the processor is configured to execute the program code in the memory to implement the method for remote automatic upgrade of a communication device according to any of claims 1-6.
CN201910930825.6A 2019-09-29 2019-09-29 Remote automatic upgrading method for communication equipment and management terminal Active CN110795111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910930825.6A CN110795111B (en) 2019-09-29 2019-09-29 Remote automatic upgrading method for communication equipment and management terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910930825.6A CN110795111B (en) 2019-09-29 2019-09-29 Remote automatic upgrading method for communication equipment and management terminal

Publications (2)

Publication Number Publication Date
CN110795111A CN110795111A (en) 2020-02-14
CN110795111B true CN110795111B (en) 2023-04-18

Family

ID=69439978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910930825.6A Active CN110795111B (en) 2019-09-29 2019-09-29 Remote automatic upgrading method for communication equipment and management terminal

Country Status (1)

Country Link
CN (1) CN110795111B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11494174B2 (en) * 2020-10-14 2022-11-08 International Business Machines Corporation Remote system update and monitoring without inbound connection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763350A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Method of using multicast mode to upgrade version and apparatus thereof
CN106685723A (en) * 2017-01-03 2017-05-17 深圳国人通信股份有限公司 Remote upgrading method and system for embedded network devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763350A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Method of using multicast mode to upgrade version and apparatus thereof
CN106685723A (en) * 2017-01-03 2017-05-17 深圳国人通信股份有限公司 Remote upgrading method and system for embedded network devices

Also Published As

Publication number Publication date
CN110795111A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN108135026B (en) Wi-Fi connection method, computer device and storage medium
CN109388569B (en) Method for remotely detecting environmental anomaly of client, test server and storage medium
CN110011875B (en) Dial testing method, device, equipment and computer readable storage medium
CN103825737B (en) Security apparatus, system and method for on-line upgrading of industrial control system
CN105718171A (en) Data processing method and terminal
CN108768709A (en) A kind of serial ports remote upgrade method of the network equipment
CN103513858A (en) Remote assistance method and device
CN111026408A (en) Method and device for managing application and computer storage medium
CN110795111B (en) Remote automatic upgrading method for communication equipment and management terminal
EP2169543A2 (en) Apparatus and method for changing language in mobile communication terminal
CN108540344B (en) Router upgrading test method and system
CN108228457B (en) Test agent method and device of mobile terminal and computer readable storage medium
CN104301419A (en) Non-local-machine remote download control system and method
CN116700751A (en) Upgrading method of server firmware and computing device
EP3816794A1 (en) Application software installation method and device, and server
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
JP2008210071A (en) Client-server system
CN103207790A (en) Operating system updating method and terminal
CN105263194A (en) Method and device for establishing communication connection between mobile equipment and fixed equipment
CN105871793A (en) Resource sharing method and device
CN109144544A (en) Application program update method, system and device used in a kind of bank
JP6758434B2 (en) Management server, management method, user terminal, setting method and setting program
CN109343869B (en) Method for installing system through mobile phone
US20170134949A1 (en) Method and system for setting smartphone account
CN111031145A (en) Remote assistance method and system based on intelligent terminal

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