CN117421026A - Firmware upgrading method and device - Google Patents

Firmware upgrading method and device Download PDF

Info

Publication number
CN117421026A
CN117421026A CN202311565195.XA CN202311565195A CN117421026A CN 117421026 A CN117421026 A CN 117421026A CN 202311565195 A CN202311565195 A CN 202311565195A CN 117421026 A CN117421026 A CN 117421026A
Authority
CN
China
Prior art keywords
upgrade
upgrading
firmware
target network
mode
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
CN202311565195.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.)
Beijing Aoxing Technology Co ltd
Original Assignee
Beijing Aoxing 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 Beijing Aoxing Technology Co ltd filed Critical Beijing Aoxing Technology Co ltd
Priority to CN202311565195.XA priority Critical patent/CN117421026A/en
Publication of CN117421026A publication Critical patent/CN117421026A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention provides a method and a device for upgrading firmware, wherein the method comprises the following steps: enabling a command line upgrade mode or a page upgrade mode; when the command line upgrade mode is enabled, connecting to the target network device and displaying an upgrade command input box; executing an upgrade command code entered by a user in an upgrade command input box to transmit a firmware upgrade file to the target network device so as to upgrade the firmware of the target network device; when the page upgrading mode is started, logging in a configuration management interface of the target network equipment according to the IPV6 address of the target network equipment, and displaying the configuration management interface; in response to the operation of a user on the configuration management interface, the firmware upgrading file is synchronized to the target network equipment to upgrade the firmware of the target network equipment, and the scheme provides a command line upgrading mode and a page upgrading mode to remotely upgrade the firmware of the network equipment, so that the operation is simple, and the firmware upgrading efficiency can be improved.

Description

Firmware upgrading method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for upgrading firmware.
Background
To ensure proper operation of the network device, it is often necessary to upgrade the firmware of the network device. The existing firmware upgrade mode is usually to upgrade the firmware by using a USB device. However, the firmware upgrade by using the USB device requires the steps of plugging the USB device, copying the upgrade software, finding the network device to be upgraded, and the like, and the operation is complicated, so that the network device cannot be quickly upgraded and positioned, and the efficiency of the firmware upgrade is low.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method and a device for upgrading firmware, so as to solve the problems of low firmware upgrading efficiency and the like in the existing firmware upgrading mode.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
an embodiment of the present invention in a first aspect discloses a method for upgrading firmware, the method comprising:
displaying a firmware upgrade main interface;
responding to the operation triggered by the user in the firmware upgrading main interface, and starting a command line upgrading mode or a page upgrading mode;
when the command line upgrade mode is enabled, connecting to a target network device and displaying an upgrade command input box;
executing an upgrade command code entered by the user in the upgrade command input box to transmit a firmware upgrade file to the target network device so as to upgrade the firmware of the target network device;
when the page upgrading mode is started, acquiring an IPV6 address of the target network equipment;
logging in to a configuration management interface of the target network equipment according to the IPV6 address, and displaying the configuration management interface;
and responding to the operation of the user on the configuration management interface, synchronizing a firmware upgrade file to the target network equipment so as to upgrade the firmware of the target network equipment.
Preferably, when the command line upgrade mode is enabled, connecting to a target network device and displaying an upgrade command input box, comprising:
when the command line upgrade mode is enabled, connecting to a target network device through a designated connection mode and displaying an upgrade command input box, wherein the designated connection mode comprises any one of the following: serial port, remote terminal protocol, remote connection tool.
Preferably, after executing the firmware upgrade file transmitted by the upgrade command code entered by the user in the upgrade command input box to the target network device, the method further includes:
detecting the upgrade state of the target network equipment;
and if the upgrading state indicates that the target network equipment is upgraded, displaying restarting prompt information to prompt the user to restart the target network equipment.
Preferably, after synchronizing the firmware upgrade file to the target network device to upgrade the firmware of the target network device, the method further includes:
and restarting the target network equipment in response to the operation of the user on the configuration management interface.
Preferably, the firmware upgrade main interface at least comprises a command line upgrade control and a page upgrade control;
responsive to a user-triggered operation in the firmware upgrade main interface, enabling a command line upgrade mode or a page upgrade mode, comprising:
when detecting that a user triggers a command line upgrading control in the firmware upgrading main interface, starting a command line upgrading mode;
and when the user is detected to trigger a page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
The second aspect of the embodiment of the invention discloses a device for upgrading firmware, which comprises:
the display unit is used for displaying the firmware upgrading main interface;
the starting unit is used for responding to the operation triggered by the user in the firmware upgrading main interface and starting a command line upgrading mode or a page upgrading mode;
a first processing unit for connecting to a target network device and displaying an upgrade command input box when the command line upgrade mode is enabled;
the first upgrading unit is used for executing an upgrading command code input by the user in the upgrading command input box and transmitting a firmware upgrading file to the target network equipment so as to upgrade the firmware of the target network equipment;
an obtaining unit, configured to obtain an IPV6 address of the target network device when the page upgrade mode is enabled;
the second processing unit is used for logging in to a configuration management interface of the target network equipment according to the IPV6 address and displaying the configuration management interface;
and the second upgrading unit is used for responding to the operation of the user on the configuration management interface and synchronizing the firmware upgrading file to the target network equipment so as to upgrade the firmware of the target network equipment.
Preferably, the first processing unit is specifically configured to: when the command line upgrade mode is enabled, connecting to a target network device through a designated connection mode and displaying an upgrade command input box, wherein the designated connection mode comprises any one of the following: serial port, remote terminal protocol, remote connection tool.
Preferably, the method further comprises:
the detection unit is used for detecting the upgrading state of the target network equipment;
and the display unit is used for displaying restarting prompt information to prompt the user to restart the target network equipment if the upgrading state indicates that the target network equipment is upgraded.
Preferably, the method further comprises:
and the restarting unit is used for restarting the target network equipment in response to the operation of the user on the configuration management interface.
Preferably, the firmware upgrade main interface at least comprises a command line upgrade control and a page upgrade control; the enabling unit is specifically configured to:
when detecting that a user triggers a command line upgrading control in the firmware upgrading main interface, starting a command line upgrading mode;
and when the user is detected to trigger a page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
Based on the method and the device for upgrading firmware provided by the embodiment of the invention, the method comprises the following steps: displaying a firmware upgrade main interface; responding to the operation triggered by the user in the firmware upgrading main interface, and starting a command line upgrading mode or a page upgrading mode; when the command line upgrade mode is enabled, connecting to the target network device and displaying an upgrade command input box; executing an upgrade command code entered by a user in an upgrade command input box to transmit a firmware upgrade file to the target network device so as to upgrade the firmware of the target network device; when the page upgrading mode is started, the IPV6 address of the target network equipment is acquired; logging in to a configuration management interface of the target network equipment according to the IPV6 address, and displaying the configuration management interface; and responding to the operation of the user on the configuration management interface, synchronizing the firmware upgrade file to the target network equipment so as to upgrade the firmware of the target network equipment. In the scheme, a command line upgrading mode and a page upgrading mode are provided, and firmware of the network equipment can be remotely upgraded through an upgrading command input box when the command line upgrading mode is started; when the page upgrading mode is started, the firmware of the network equipment can be remotely upgraded through the configuration management interface, the operation is simple, and the firmware upgrading efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for upgrading firmware according to an embodiment of the present invention;
FIG. 2 is an exemplary diagram of a firmware upgrade main interface provided by an embodiment of the present invention;
FIG. 3 is an exemplary diagram of an upgrade command input box provided by an embodiment of the present invention;
FIG. 4 is an exemplary diagram of a configuration management interface provided by an embodiment of the present invention;
FIG. 5 is an exemplary diagram of a dialog box provided by an embodiment of the present invention;
FIG. 6 is another flow chart of a method for upgrading firmware according to an embodiment of the present invention;
fig. 7 is a block diagram of an apparatus for upgrading firmware according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known in the art, to ensure that a network device operates properly, firmware of the network device is generally required to be upgraded. The existing firmware upgrade mode is usually to upgrade the firmware by using a USB device. However, the firmware upgrade by using the USB device requires the steps of plugging the USB device, copying the upgrade software, finding the network device to be upgraded, and the like, and the operation is complicated, so that the network device cannot be quickly upgraded and positioned, and the efficiency of the firmware upgrade is low.
Therefore, the embodiment of the invention provides a method and a device for upgrading firmware, which provide a command line upgrading mode and a page upgrading mode, and can remotely upgrade the firmware of network equipment through an upgrading command input box when the command line upgrading mode is started; when the page upgrading mode is started, the firmware of the network equipment can be remotely upgraded through the configuration management interface, the operation is simple, and the firmware upgrading efficiency can be improved.
The scheme can be applied to most firmware upgrading scenes, and can upgrade the firmware of the network equipment as long as network upgrading and simple file transfer protocol (Trivial File Transfer Protocol, TFTP) are supported; in addition, for the network device supporting the IPV6 network protocol, the IPV6 network can be used for upgrading the firmware without switching the IP of the network device.
Referring to fig. 1, a flowchart of a method for upgrading firmware according to an embodiment of the present invention is shown, where the method includes:
step S101: and displaying a firmware upgrade main interface.
In the specific implementation process of step S101, when the user needs to upgrade the network device, the user needs to open the firmware upgrade main interface, and at this time, the firmware upgrade main interface is displayed in response to the opening operation of the user.
Step S102: and enabling a command line upgrade mode or a page upgrade mode in response to an operation triggered by a user in the firmware upgrade main interface.
It should be noted that, the present solution provides two modes for upgrading firmware of the network device, where the two modes are a command line upgrade mode and a page upgrade mode, and a user may select to enable the command line upgrade mode or the page upgrade mode in the firmware upgrade main interface.
In the process of implementing step S102, in response to an operation triggered by the user in the firmware upgrade main interface, the command line upgrade mode or the page upgrade mode is enabled.
Specifically, the firmware upgrade main interface at least comprises a command line upgrade control and a page upgrade control; when detecting that a user triggers a command line upgrading control in a firmware upgrading main interface, starting a command line upgrading mode; and when the user is detected to trigger the page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
As can be seen from the example diagram of the firmware upgrade main interface shown in fig. 2, at least a command line upgrade control and a page upgrade control are displayed in the firmware upgrade main interface shown in fig. 2; the user enables the command line upgrade mode when clicking the command line upgrade control, and enables the page upgrade mode when clicking the page upgrade control.
When the command line upgrade mode is enabled, step S103 and step S104 are performed; when the page upgrade mode is enabled, steps S105 to S107 are performed.
Step S103: when the command line upgrade mode is enabled, an upgrade command input box is connected to the target network device and displayed.
It should be noted that the target network device is any network device that needs to upgrade firmware.
In the process of implementing step S103, when the command line upgrade mode is enabled, the target network device is connected to the target network device by a specified connection mode, and an upgrade command input box is displayed, where the specified connection mode includes any one of the following: serial port, remote terminal protocol (telnet), remote connect tool (ssh).
Specifically, when the command line upgrade mode is enabled, the device is connected to the target network device through a serial port/telnet/ssh/web, and the user is prompted to input a user name and a password logged into the target network device; and displaying an upgrade command input box after logging in the target network equipment through the correct user name and password input by the user.
In some embodiments, the upgrade command input box may be displayed in the firmware upgrade main interface by a pop-up window.
Step S104: executing the upgrade command code entered by the user at the upgrade command input box transmits the firmware upgrade file to the target network device to upgrade the firmware of the target network device.
In the process of implementing step S104, after displaying the upgrade command input box, the user may type in an upgrade command code in the upgrade command input box; executing the upgrade command code transmits a firmware upgrade file to the target network device, thereby upgrading the firmware of the target network device.
As can be seen from the example diagram of the upgrade command input box shown in fig. 3, the upgrade command input box is displayed in a popup manner in the firmware upgrade main interface; the upgrade command code input by the user in the upgrade command input box is: tftp get ipv6 address filename localfile filename; the aforementioned upgrade command code is executed to upgrade the firmware of the target network device.
In some embodiments, after the upgrade command code is executed, an upgrade status of the target network device is detected; if the upgrading state indicates that the target network equipment is upgraded, displaying restarting prompt information to prompt a user to restart the target network equipment; i.e., the target network device needs to be restarted to be effective after the firmware upgrade is completed.
For example: if the upgrade status indicates that the upgrade of the target network device is completed, displaying a restart prompt message of 'requiring restart to take effect after success'.
Step S105: when the page upgrade mode is enabled, the IPV6 address of the target network device is obtained.
In the process of implementing step S105, when the page upgrade mode is enabled, the IPV6 address of the target network device, specifically, the IPV6 address of the target network device input by the user in the browser is obtained.
Step S106: logging in to the configuration management interface of the target network equipment according to the IPV6 address, and displaying the configuration management interface.
In the specific implementation step S106, the configuration management interface of the target network device is logged in according to the IPV6 address of the target network device, and the configuration management interface is displayed.
It can be appreciated that when logging into the configuration management interface of the target network device, the user is required to input a corresponding user name and password; only if the user inputs the correct user name and password, can login to the configuration management interface of the target network device and display the configuration management interface.
Step S107: and responding to the operation of the user on the configuration management interface, synchronizing the firmware upgrade file to the target network equipment so as to upgrade the firmware of the target network equipment.
In the process of implementing step S107, after displaying the configuration management interface of the target network device, the firmware upgrade file is synchronized to the target network device in response to the operation of the user on the configuration management interface to upgrade the firmware of the target network device.
In some embodiments, the configuration management interface of the target network device includes at least an upgrade control; when a user clicks an upgrade control of the configuration management interface, a dialog box is displayed in the configuration management interface in a popup window mode; the dialog box comprises a file selection control, an uploading control and a synchronization control. The user clicks the selection file control of the dialog box to select the firmware upgrading file, clicks the uploading control to upload the selected firmware upgrading file when the firmware upgrading file is selected, and clicks the synchronizing control to synchronize the firmware upgrading file to the target network device after the firmware upgrading file is uploaded, so that the firmware of the target network device is upgraded.
For example: FIG. 4 is an exemplary diagram of a configuration management interface of a target network device including at least an upgrade control; when a user clicks an upgrade control of a configuration management interface, a dialog box shown in fig. 5 is displayed in the configuration management interface in a popup window mode, wherein the dialog box comprises a file selection control, an uploading control, a synchronization control and file uploading guide information; the user clicks the selection file control to select the firmware upgrading file, clicks the uploading control to upload the selected firmware upgrading file when the firmware upgrading file is selected, and clicks the synchronizing control to synchronize the firmware upgrading file to the target network device after the firmware upgrading file is uploaded, so that the firmware of the target network device is upgraded.
The above-mentioned file upload guidance information is used for prompting the user to pay attention to when uploading the firmware upgrade file, for example, the file upload guidance information includes the following contents: 1. only bin files can be uploaded, and the size of the bin files is not more than 50MB; 2. only 1 file can be uploaded at the same time, and the dialog box needs to be closed for re-uploading; 3. closing the dialog box during uploading the file will cancel the uploading.
In some embodiments, after synchronizing the firmware upgrade file to the target network device, the target network device is restarted in response to a user operation at the configuration management interface, thereby completing the firmware upgrade.
In the embodiment of the invention, a command line upgrading mode and a page upgrading mode are provided, and firmware of the network equipment can be remotely upgraded through an upgrading command input box when the command line upgrading mode is started; when the page upgrading mode is started, the firmware of the network equipment can be remotely upgraded through the configuration management interface, the operation is simple, and the firmware upgrading efficiency can be improved.
To better explain the present solution, by way of another flowchart of a method of upgrading firmware shown in fig. 6, fig. 6 includes the steps of:
step S601: and connecting the configuration management interface of the target network equipment or logging in the target network equipment through the serial port.
Step S602: an upgrade command or page upgrade is performed.
In a specific implementation, if the target network device is connected through the serial port, a user name and a password are input to log in the target network device, and an upgrade command code is executed to upgrade the firmware of the target network device, wherein the upgrade command code is as follows: tftp get ipv6 address filename localfile filename. After the firmware is upgraded, a restart prompt message of 'requiring restart to take effect after success' is displayed.
If the configuration management interface of the target network equipment is logged in, the user inputs the IPV6 address of the target network equipment in the browser and inputs a user name and a password to log in the configuration management interface of the target network equipment; clicking an upgrade control on the configuration management interface, selecting a firmware upgrade file, clicking an uploading control, prompting successful uploading, and clicking a synchronization control. And restarting the target network equipment after successful synchronization, and finishing upgrading.
According to the scheme, the quick response of the upgrading network equipment can be realized, and the network equipment can be remotely upgraded through a network; under the condition that the network equipment supports the IPV6 network, firmware upgrading can be carried out by utilizing the TFTP service of the IPV6, and particularly, the firmware upgrading can be carried out in a serial port, telnet, ssh, web and other modes.
Corresponding to the method for upgrading firmware provided in the above embodiment of the present invention, referring to fig. 7, an embodiment of the present invention further provides a block diagram of an apparatus for upgrading firmware, where the apparatus includes: a display unit 701, an enabling unit 702, a first processing unit 703, a first upgrading unit 704, an acquisition unit 705, a second processing unit 706, and a second upgrading unit 707;
and the display unit 701 is used for displaying the firmware upgrade main interface.
An enabling unit 702, configured to enable a command line upgrade mode or a page upgrade mode in response to an operation triggered by a user in the firmware upgrade main interface.
In a specific implementation, the firmware upgrade main interface at least comprises a command line upgrade control and a page upgrade control; the enabling unit 702 is specifically configured to: when detecting that a user triggers a command line upgrading control in a firmware upgrading main interface, starting a command line upgrading mode; and when the user is detected to trigger the page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
The first processing unit 703 is configured to connect to the target network device and display an upgrade command input box when the command line upgrade mode is enabled.
The first upgrade unit 704 is configured to execute an upgrade command code entered by a user in the upgrade command input box to transmit a firmware upgrade file to the target network device, so as to upgrade the firmware of the target network device.
In a specific implementation, the first upgrade unit 704 is specifically configured to: when the command line upgrade mode is enabled, connecting to the target network device and displaying an upgrade command input box through a specified connection mode, wherein the specified connection mode comprises any one of the following: serial port, remote terminal protocol, remote connection tool.
An obtaining unit 705, configured to obtain an IPV6 address of the target network device when the page upgrade mode is enabled.
The second processing unit 706 is configured to log in to a configuration management interface of the target network device according to the IPV6 address, and display the configuration management interface.
And the second upgrading unit 707 is configured to synchronize the firmware upgrading file to the target network device in response to the operation of the user on the configuration management interface, so as to upgrade the firmware of the target network device.
In the embodiment of the invention, a command line upgrading mode and a page upgrading mode are provided, and firmware of the network equipment can be remotely upgraded through an upgrading command input box when the command line upgrading mode is started; when the page upgrading mode is started, the firmware of the network equipment can be remotely upgraded through the configuration management interface, the operation is simple, and the firmware upgrading efficiency can be improved.
Preferably, in combination with the content shown in fig. 7, the apparatus further includes:
and the detection unit is used for detecting the upgrading state of the target network equipment.
And the display unit is used for displaying restart prompt information to prompt a user to restart the target network equipment if the upgrading state indicates that the target network equipment is upgraded.
Preferably, in combination with the content shown in fig. 7, the apparatus further includes:
and the restarting unit is used for restarting the target network equipment in response to the operation of the user on the configuration management interface.
In summary, the embodiment of the invention provides a method and a device for upgrading firmware, which provide a command line upgrading mode and a page upgrading mode, and can remotely upgrade the firmware of network equipment through an upgrading command input frame when the command line upgrading mode is started; when the page upgrading mode is started, the firmware of the network equipment can be remotely upgraded through the configuration management interface, the operation is simple, and the firmware upgrading efficiency can be improved.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements 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 various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 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 previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of upgrading firmware, the method comprising:
displaying a firmware upgrade main interface;
responding to the operation triggered by the user in the firmware upgrading main interface, and starting a command line upgrading mode or a page upgrading mode;
when the command line upgrade mode is enabled, connecting to a target network device and displaying an upgrade command input box;
executing an upgrade command code entered by the user in the upgrade command input box to transmit a firmware upgrade file to the target network device so as to upgrade the firmware of the target network device;
when the page upgrading mode is started, acquiring an IPV6 address of the target network equipment;
logging in to a configuration management interface of the target network equipment according to the IPV6 address, and displaying the configuration management interface;
and responding to the operation of the user on the configuration management interface, synchronizing a firmware upgrade file to the target network equipment so as to upgrade the firmware of the target network equipment.
2. The method of claim 1, wherein when the command line upgrade mode is enabled, connecting to a target network device and displaying an upgrade command input box comprises:
when the command line upgrade mode is enabled, connecting to a target network device through a designated connection mode and displaying an upgrade command input box, wherein the designated connection mode comprises any one of the following: serial port, remote terminal protocol, remote connection tool.
3. The method of claim 1, wherein executing the upgrade command code entered by the user at the upgrade command input box transfers a firmware upgrade file to the target network device, further comprising:
detecting the upgrade state of the target network equipment;
and if the upgrading state indicates that the target network equipment is upgraded, displaying restarting prompt information to prompt the user to restart the target network equipment.
4. The method of claim 1, wherein after synchronizing a firmware upgrade file to the target network device to upgrade firmware of the target network device, further comprising:
and restarting the target network equipment in response to the operation of the user on the configuration management interface.
5. The method of claim 1, wherein the firmware upgrade main interface comprises at least a command line upgrade control and a page upgrade control;
responsive to a user-triggered operation in the firmware upgrade main interface, enabling a command line upgrade mode or a page upgrade mode, comprising:
when detecting that a user triggers a command line upgrading control in the firmware upgrading main interface, starting a command line upgrading mode;
and when the user is detected to trigger a page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
6. An apparatus for upgrading firmware, the apparatus comprising:
the display unit is used for displaying the firmware upgrading main interface;
the starting unit is used for responding to the operation triggered by the user in the firmware upgrading main interface and starting a command line upgrading mode or a page upgrading mode;
a first processing unit for connecting to a target network device and displaying an upgrade command input box when the command line upgrade mode is enabled;
the first upgrading unit is used for executing an upgrading command code input by the user in the upgrading command input box and transmitting a firmware upgrading file to the target network equipment so as to upgrade the firmware of the target network equipment;
an obtaining unit, configured to obtain an IPV6 address of the target network device when the page upgrade mode is enabled;
the second processing unit is used for logging in to a configuration management interface of the target network equipment according to the IPV6 address and displaying the configuration management interface;
and the second upgrading unit is used for responding to the operation of the user on the configuration management interface and synchronizing the firmware upgrading file to the target network equipment so as to upgrade the firmware of the target network equipment.
7. The apparatus of claim 6, wherein the first processing unit is specifically configured to: when the command line upgrade mode is enabled, connecting to a target network device through a designated connection mode and displaying an upgrade command input box, wherein the designated connection mode comprises any one of the following: serial port, remote terminal protocol, remote connection tool.
8. The apparatus as recited in claim 6, further comprising:
the detection unit is used for detecting the upgrading state of the target network equipment;
and the display unit is used for displaying restarting prompt information to prompt the user to restart the target network equipment if the upgrading state indicates that the target network equipment is upgraded.
9. The apparatus as recited in claim 6, further comprising:
and the restarting unit is used for restarting the target network equipment in response to the operation of the user on the configuration management interface.
10. The apparatus of claim 6, wherein the firmware upgrade main interface comprises at least a command line upgrade control and a page upgrade control; the enabling unit is specifically configured to:
when detecting that a user triggers a command line upgrading control in the firmware upgrading main interface, starting a command line upgrading mode;
and when the user is detected to trigger a page upgrading control in the firmware upgrading main interface, enabling a page upgrading mode.
CN202311565195.XA 2023-11-22 2023-11-22 Firmware upgrading method and device Pending CN117421026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311565195.XA CN117421026A (en) 2023-11-22 2023-11-22 Firmware upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311565195.XA CN117421026A (en) 2023-11-22 2023-11-22 Firmware upgrading method and device

Publications (1)

Publication Number Publication Date
CN117421026A true CN117421026A (en) 2024-01-19

Family

ID=89530217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311565195.XA Pending CN117421026A (en) 2023-11-22 2023-11-22 Firmware upgrading method and device

Country Status (1)

Country Link
CN (1) CN117421026A (en)

Similar Documents

Publication Publication Date Title
US10893094B2 (en) System and method for appliance detection and app configuration
WO2017133691A1 (en) Intelligent device networking method and apparatus
JP3984895B2 (en) Information processing apparatus, server apparatus, driver updating method, computer-readable storage medium, and program
CN100391176C (en) Method and system for remote updating function of domestic apparatus
EP2456257B1 (en) Method and system for upgrading wireless data card
CN106528143A (en) Configuration management method and device
US10671374B2 (en) Communication system, relay device, and water warmer
US10795665B2 (en) Relay device and hot water supply device
US7957316B2 (en) Network device management apparatus and device management method
CN109086060A (en) The method of system, electronic equipment and online upgrading firmware
WO2016206527A1 (en) Method and apparatus for determining to-be-upgraded board, main control board, and board system
US10838704B2 (en) Application program setup method and download server
CN105025467B (en) A kind of terminal control method and system based on MDM
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
JP2018190150A (en) Information processing device, peripheral device, control method thereof, program, and system
EP1953957B1 (en) A remote load system of network device and method thereof
CN114172756A (en) Version upgrading method and system for intelligent equipment electronic control firmware
JP4859067B2 (en) Remote failure response method and system for failure occurring in terminal
GB2348987A (en) Upgrading firmware from a web site using an applet
CN117421026A (en) Firmware upgrading method and device
CN111209012A (en) Linux system-oriented software agent end automatic deployment method
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN106681747A (en) Synchronization and installation method of remote operation system
US7747711B2 (en) Network configuration method and system
JP3738706B2 (en) In-device version unification 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