CN117632178A - Method and device for remotely upgrading board card - Google Patents

Method and device for remotely upgrading board card Download PDF

Info

Publication number
CN117632178A
CN117632178A CN202311507959.XA CN202311507959A CN117632178A CN 117632178 A CN117632178 A CN 117632178A CN 202311507959 A CN202311507959 A CN 202311507959A CN 117632178 A CN117632178 A CN 117632178A
Authority
CN
China
Prior art keywords
board card
operating system
communication
service
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311507959.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 Urban Construction Intelligent Control Technology Co ltd
Original Assignee
Beijing Urban Construction Intelligent Control 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 Urban Construction Intelligent Control Technology Co ltd filed Critical Beijing Urban Construction Intelligent Control Technology Co ltd
Priority to CN202311507959.XA priority Critical patent/CN117632178A/en
Publication of CN117632178A publication Critical patent/CN117632178A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for remotely upgrading a board card, and belongs to the technical field of computers. The method for remotely upgrading the board card comprises the following steps: responding to a remote upgrade starting command sent by a management end, and modifying a target guided by a boot loader into a communication operating system by a service operating system; running a boot loader and starting a communication operating system; responding to a command of downloading the upgrade file sent by the management end, downloading the upgrade file from the target server and writing the upgrade file into the storage space of the board card; responding to a remote upgrade ending command sent by a management end, and modifying a target guided by a boot loader into a service operating system by a communication operating system; and running a boot loader, and starting a service operating system. According to the method and the device for remotely upgrading the board card, the storage area of the original service operation system is used for storing the new service operation system, extra storage space is not required to be reserved for the new service operation system, waste of the storage space can be reduced, and the storage space is greatly saved.

Description

Method and device for remotely upgrading board card
Technical Field
The application belongs to the technical field of computers, and particularly relates to a method and a device for remotely upgrading a board card.
Background
Often, the board card needs to be upgraded after leaving the factory, and the upgrading modes generally comprise two modes: local upgrades and remote upgrades. The local upgrading mode requires that a worker burns files on site at the position of the board card, and the board card is required to be detached from the equipment in part of scenes, so that the local upgrading mode is inconvenient, batch upgrading cannot be realized, and the efficiency is low. Remote upgrade refers to a technical means for remotely upgrading and updating a board card by using a computer network or other remote communication modes. The remote upgrading does not need operators to go to the site, the operators can operate through the management end, and compared with the local upgrading mode, the convenience and the efficiency are greatly improved.
In order to realize remote upgrade, the memory space of the board card adopts a mode of storing an operating system in double areas. Fig. 1 is a schematic diagram of a memory space architecture of a board card provided in the prior art. As shown in fig. 1, the storage space may include 3 zones: bootLoader region 101, a region 102, and B region 103.BootLoader area 101 is used for storing Boot loader (BootLoader) programs (such as U-Boot programs, etc.) and Boot loader parameters. One of the a area 102 and the B area 103 is used to store the operating system before upgrade, and the other is used to store the operating system after upgrade. Therefore, the prior art board card requires a large amount of memory space, which is sufficient to store two operating systems, and there is a waste of memory space.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the method and the device for remotely upgrading the board card can reduce the waste of the storage space and greatly save the storage space.
In a first aspect, the present application provides a method for remotely upgrading a board card, applied to the board card, the method including:
responding to a remote upgrade starting command sent by a management end, and modifying a target guided by a boot loader into a communication operating system by a service operating system;
running the boot loader and starting the communication operating system;
responding to a command of downloading the upgrade file sent by the management end, downloading the upgrade file from a target server and writing the upgrade file into the storage space of the board card;
responding to a remote upgrade ending command sent by the management end, and modifying the target guided by the boot loader into a service operating system by the communication operating system;
running the boot loader and starting a service operating system;
the memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a service operating system; the second storage area is used for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
According to the method for remotely upgrading the board card, under the condition that the communication operation system mainly carrying the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, and no extra storage space is needed for the new service operation system.
According to one embodiment of the present application, the board card further includes a memory;
the running the boot loader and starting the communication operating system comprise the following steps:
and running the boot loader, copying the communication operating system to the memory of the board card, and booting and starting the communication operating system in the memory.
According to the method for remotely upgrading the board card, the communication operating system is copied into the memory of the board card, the communication operating system in the memory is started, the writing of the upgrade file into the second storage area for storing the communication operating system does not influence the operation of the communication operating system, and at least one of the boot loader and the communication operating system can be upgraded, so that the boot loader and the service operating system can be upgraded simultaneously.
According to one embodiment of the present application, after the running the boot loader and starting the communication operating system, and before the downloading of the upgrade file from the target server and writing to the corresponding storage area in response to the command for downloading the upgrade file issued by the management end, the method further includes:
and in response to a formatting command sent by the management end, formatting the first storage area when the upgrade file comprises the first image file, and formatting the second storage area when the upgrade file comprises the second image file.
According to the method for remotely upgrading the board card, at least one of the first storage area and the second storage area is formatted in response to the formatting command sent by the management end, so that part or all of the storage space of the board card can be remotely formatted in the board card upgrading process, and the mode of formatting the storage space of the board card is more flexible and convenient.
According to one embodiment of the present application, the downloading the upgrade file from the target server and writing the upgrade file into the memory space of the board card includes:
downloading the upgrade file;
writing the first image file to the first storage area in the case where the upgrade file includes the first image file, and writing the second image file to the second storage area in the case where the upgrade file includes the second image file.
According to the method for remotely upgrading the board card, the upgrade of at least one of the boot loader and the communication operating system can be realized by writing the first image file into the first storage area when the upgrade file comprises the first image file and writing the second image file into the second storage area when the upgrade file comprises the second image file, so that the boot loader and the service operating system can be simultaneously upgraded.
According to one embodiment of the present application, after the running the boot loader and starting the communication operating system, and before the responding to the command issued by the management end to download the upgrade file, the method further includes:
establishing a second communication link between the board card and the service equipment and establishing a first communication link between the board card and the target server; the board card is connected with a connector arranged on the business equipment; the business equipment is used for forwarding data between the board card and the management end.
According to the method for remotely upgrading the board card, through establishing the second communication link between the board card and the service equipment and establishing the first communication link between the board card and the target server, a double-exchange mode of separating internal communication from external communication is adopted, so that the high efficiency and stability of the internal communication can be effectively ensured, the separation of management data flow and service data flow can be realized, and the management is more convenient.
According to one embodiment of the present application, the establishing a first communication link between the board card and the target server includes:
responding to a command for configuring an IP address sent by the management end, and configuring a first IP address of a first network port of the board card;
and establishing the first communication link based on the first IP address.
According to the method for remotely upgrading the board card, the first communication link is established by configuring the first IP address of the first network port of the board card under the triggering of the issuing configuration IP address command issued by the management end, so that the upgrade file can be downloaded based on the first communication link, and the board card can be upgraded more efficiently and safely.
According to one embodiment of the present application, the establishing a second communication link between the board card and the service device includes:
determining a second IP address of a second network port of the board card based on the identification of the connector;
and establishing the second communication link based on the second IP address.
According to the method for remotely upgrading the board card, the second IP address of the second network port of the board card is determined based on the identification of the connector, the second communication link is established, the board card only needs to be communicated with the management module, the design and implementation of the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
In a second aspect, the present application further provides a method for remotely upgrading a board card, where the method is applied to a management end, and the method includes:
issuing a remote upgrade starting command to a board card so that the board card modifies a target guided by a boot loader from a service operating system to a communication operating system and starts the communication operating system;
issuing an upgrade file downloading command to the board card so that the board card downloads an upgrade file from a target server and writes the upgrade file into a storage space of the board card;
issuing a remote upgrade ending command to the board card so that the board card modifies a target guided by the guide loader from the service operating system to a service operating system and starts the service operating system;
the memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a service operating system; the second storage area is used for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
According to the method for remotely upgrading the board card, under the condition that the communication operation system mainly carrying the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, and no extra storage space is needed for the new service operation system.
According to one embodiment of the present application, before the issuing of the remote upgrade start command to the board card, and after the issuing of the download upgrade file command to the board card, the method further includes:
and issuing a formatting command to the board card so that the board card formats the first storage area when the upgrade file comprises the first image file and formats the second storage area when the upgrade file comprises the second image file.
According to the method for remotely upgrading the board card, at least one of the first storage area and the second storage area is formatted in response to the formatting command sent by the management end, so that part or all of the storage space of the board card can be remotely formatted in the board card upgrading process, and the mode of formatting the storage space of the board card is more flexible and convenient.
According to one embodiment of the present application, the issuing a remote upgrade start command to a board card, so that the board card changes a target repair guided by a boot loader from a service operating system to a communication operating system, and starts the communication operating system, includes:
the remote upgrade starting command is sent to service equipment, so that the remote upgrade starting command is forwarded to the board card through the service equipment, and the board card modifies the target guided by the guide loader from a service operating system to the communication operating system; the board card is connected with a connector arranged on the business equipment; the business equipment is used for forwarding data between the board card and the management end;
and sending a board card resetting command to the service equipment so that the service equipment resets the board card, operates the boot loader and starts the communication operating system.
According to the method for remotely upgrading the board card, the service equipment is used as the middle layer, the management end and the board card only need to be communicated with the management module, namely, the implementation details of the communication between the management end and the board card are hidden, the design and the implementation of the management end and the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
According to an embodiment of the present application, the issuing a remote upgrade end command to the board card, so that the board card modifies the target guided by the boot loader from the communication operating system to a service operating system, and starts the service operating system, includes:
sending the remote upgrade ending command to the service equipment so as to forward the remote upgrade ending command to the board card through the service equipment, so that the board card modifies the target guided by the boot loader into a service operating system from the communication operating system;
and sending a board card resetting command to the service equipment so that the service equipment resets the board card, operates the boot loader and starts a service operating system.
According to one embodiment of the present application, before the issuing of the remote upgrade start command to the board card, and after the issuing of the download upgrade file command to the board card, the method further includes:
and issuing a configuration IP address command to the board card so that the board card configures a first IP address of a first network port of the board card, and establishing a first communication link between the board card and the target server based on the first IP address.
In a third aspect, the present application provides an apparatus for remotely upgrading a board card, the apparatus comprising:
the modification module is used for responding to a remote upgrade starting command sent by the management end and modifying a target guided by the boot loader into a communication operation system by the service operation system;
the operation module is used for operating the boot loader and starting the communication operation system;
the downloading module is used for responding to the command of downloading the upgrade file sent by the management end, downloading the upgrade file from the target server and writing the upgrade file into the storage space of the board card;
the modification module is further configured to modify, in response to a remote upgrade end command sent by the management end, a target guided by the boot loader from the communication operating system to a service operating system;
the operation module is also used for operating the boot loader and starting a service operation system;
the memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a service operating system; the second storage area is used for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
According to the device for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, the communication operation system mainly bears the communication function and can bear no other functions, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In a fourth aspect, the present application provides an apparatus for remotely upgrading a board card, the apparatus including:
the system comprises a sending module, a board card and a communication operating system, wherein the sending module sends a remote upgrading starting command to the board card so that the board card modifies a target guided by a boot loader from the service operating system to the communication operating system and starts the communication operating system; issuing an upgrade file downloading command to the board card so that the board card downloads an upgrade file from a target server and writes the upgrade file into a storage space of the board card; issuing a remote upgrade ending command to the board card so that the board card modifies a target guided by the guide loader from the service operating system to a service operating system and starts the service operating system;
The memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a service operating system; the second storage area is used for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
According to the device for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, the communication operation system mainly bears the communication function and can bear no other functions, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In a fifth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for remotely upgrading a board card according to the first aspect or the second aspect when executing the computer program.
In a sixth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for remotely upgrading a board card as described in the first or second aspect above.
In a seventh aspect, the present application provides a computer program product comprising a computer program which when executed by a processor implements a method of remotely upgrading a board card as described in the first or second aspect above.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, wherein:
FIG. 1 is a schematic diagram of a prior art architecture for a memory space of a board card;
FIG. 2 is a schematic diagram of an architecture of a memory space of a board card according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for remotely upgrading a board card according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a communication architecture of a method for remotely upgrading a board card according to an embodiment of the present application;
FIG. 5 is a second flowchart of a method for remotely upgrading a board card according to an embodiment of the present disclosure;
FIG. 6 is a third flow chart of a method for remotely upgrading a board card according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating a method for remotely upgrading a board card according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a device for remotely upgrading a board card according to an embodiment of the present disclosure;
FIG. 9 is a second schematic diagram of a device for remotely upgrading a board card according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the related art, a board card is a single board of a computer, and an operating system generally uses a storage medium for storage. Compared with a common desktop operating system, the operating system of the board card has the characteristic of small size. The storage medium is typically firmly soldered to the motherboard. The board card may be plugged onto some electronic device (which may be referred to as a business device).
The local upgrade requires an operator to go to the site, and uses an upgrade tool (such as a serial port line or a Jlink burner, etc.) to connect with service equipment, and burn an upgrade file onto a board card through a series of operation commands to complete the upgrade. And part of the boards are internally provided with a storage medium detection function, and operators can access the storage devices (such as an SD card, a U disk or a mobile hard disk) stored with the upgrade files into the boards, and the boards automatically complete copying of the upgrade files and upgrading operation of an operating system by detecting the designated files in the storage medium when restarting.
The local upgrade mode requires operators to go to the site, and even requires that the electronic device be removed from the rack and the chassis of the electronic device be opened, since the Jlink access terminals of most devices are internal to the device. Therefore, the local upgrade mode is very inconvenient for most field scenes, and batch upgrade cannot be performed.
Common remote upgrade modes include upgrade at the U-Boot startup stage or upgrade at the operating system running stage.
Strictly speaking, the upgrade is realized in the U-Boot starting stage, which essentially belongs to one of local upgrades, and requires an operator to go to the site, access a serial port line and restart the board card. After the U-Boot is started, the U-Boot enters a man-machine interaction mode through serial operation. An operator sets an IP address of the board card and an IP address of the upgrade server in an interactive mode, builds the upgrade server, and ensures that the board card and the upgrade server can be connected through a communication network. The upgrade file is downloaded into the memory of the board card using a U-Boot network protocol (typically TFTP protocol or FTP protocol) command, then the target area of the memory space of the board card is erased using a Flash erase command, and then the upgrade file is written into the target area.
In the U-Boot starting stage, an operator is required to go to the site, a serial port line (used for operating the electronic equipment) and a network line (used for connecting an upgrading server) are required to be connected to a panel of the electronic equipment, and batch equipment upgrading cannot be realized.
The upgrade is a real remote upgrade mode in the operation stage of the operating system, and no operator is required to go to the site, and no serial port line or network line is required to be inserted.
Taking the example of the operating system currently deployed in zone a 102 in fig. 1, the process of remotely upgrading the board card may include the steps of:
after the operation system of the board card is started, an operator can log in the operation system through a remote login tool;
downloading the upgrade file to the board card based on a network communication protocol (which may include, but is not limited to, TFTP or FTP, etc.);
verifying and deploying the upgrade file in the region B103 in FIG. 1;
restarting the operating system, starting the boot loader, and reading the boot loader parameters;
the boot loader directs the operating system of zone B103 to boot up according to the boot parameters.
The memory space required by the operating system of the board card is typically several GB, so that about half of the memory space of the dual-region storage operating system (compared to the operating system, the memory space occupied by the boot loader is typically small, only several tens of MB) is wasted, and the boot loader cannot be upgraded.
The method for remotely upgrading the board card, the device for remotely upgrading the board card, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The method for remotely upgrading the board card can be applied to the board card and the management end, and can be specifically executed by hardware or software in the board card and the management end.
The managing end includes, but is not limited to, a portable communication device such as a mobile phone or tablet having a touch sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the managing end may not be a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
In the following various embodiments, a management end including a display and a touch-sensitive surface is described. However, it should be understood that the management end may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
Fig. 2 is a schematic diagram of an architecture of a memory space of a board card according to an embodiment of the present application. As shown in fig. 2, the memory space of the card in the embodiment of the present application may be divided into two parts, where the two parts are a first memory area 201 and a second memory area 202, respectively. The first storage area 201 may be used to store a business operating system. The service operating system is equivalent to the operating system stored in the a area 102 or the B area 103 in the related art, and is used for implementing various services carried by the board card. A second storage area 202 for storing firmware.
The firmware may include two parts: the loader and the communication operating system are booted. Different from the service operation system, the communication operation system only needs to meet the condition of realizing the communication function between the board card and other devices, and does not need to bear other services. Thus, the capacity of the storage space occupied by the communication operating system may be only a few to tens of MB, which is much smaller than the capacity of the storage space occupied by the business operating system. Typically, the firmware occupies less than 64MB of memory. It should be noted that the firmware must be burned as a whole, and not separately burned.
In some embodiments, to ensure security, the communication operating system may be a read-only operating system.
In some embodiments, the firmware may be deployed in a separate storage medium (e.g., nor Flash, etc.), or may be deployed in the same storage medium as the business operating system (e.g., eMMC Flash). That is, the first storage area 201 and the second storage area 202 may physically belong to the same storage medium or may belong to different storage media.
In some embodiments, the board card itself may communicate with external devices such as a management end through a communication network, or with external devices such as a management end through the electronic device.
Fig. 3 is a schematic flow chart of a method for remotely upgrading a board card according to an embodiment of the present application. In some embodiments, as shown in fig. 3, a method for remotely upgrading a board card may include:
step 301, the management end issues a remote upgrade start command to the board card.
An operator can log in the management end, and send a remote upgrade starting command to the board card through the management end.
Step 302, the board card receives a remote upgrade start command, and modifies the target guided by the boot loader into a communication operating system by the service operating system.
The board card may receive a remote upgrade start command based on a communication link between the management side and the board card.
After the board card receives the remote upgrade start command, a corresponding response can be made to modify the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the communication operating system, and thus the goal of the bootloader boot is changed from the business operating system to the communication operating system.
Step 303, the board runs a boot loader, and starts a communication operating system.
The board card is restarted to run the boot loader. Since the target of the bootloader boot has been modified to the communication operating system, the communication operating system boots. It will be appreciated that the business operating system is not started at this time.
Step 304, the management end issues a command for downloading the upgrade file to the board card.
Because the communication operation system can bear the communication function between the board card and other devices, after the communication operation system is started, the communication link between the management end and the board card is recovered, so that the management end can issue a command for downloading the upgrade file to the board card.
The management end can send the command of downloading the upgrade file to the board card after sending the preset time length of the remote upgrade starting command or after receiving the received indication of the remote upgrade starting command sent by the board card.
The command for downloading the upgrade file may carry an address of a target server storing the upgrade file, a communication protocol used for downloading the upgrade file, a name of the upgrade file, and the like.
The communication protocol used to download the upgrade file may include, but is not limited to, TFTP (Trivial File Transfer Protocol, simple file transfer protocol), FTP (File Transfer Protocol ), SCP (Secure Copy Protocol, secure copy protocol), or the like.
In some embodiments, the upgrade file includes at least one of a first image file of the new firmware and a second image file of the new business operating system.
Step 305, the board receives the command of downloading the upgrade file, downloads the upgrade file from the target server and writes the upgrade file into the memory space of the board.
After receiving the command for downloading the upgrade file, the board card can respond correspondingly, connect the target server based on the address, and download the upgrade file of the name based on the communication protocol.
After the upgrade file is downloaded, the upgrade file can be written into a corresponding storage area in the storage space of the board card.
In some embodiments, in the case that the communication operating system does not carry the file reading and writing function, the upgrade file may be written into a corresponding storage area in the storage space of the board card by means of burning. Under the condition that the communication operating system bears the file reading and writing function, the upgrade file can be written into a corresponding storage area in the storage space of the board card in a disk reading and writing mode.
The storage area corresponding to the first image file is the first storage area 201. The storage area corresponding to the second image file is the second memory area 202.
Step 306, the management end issues a remote upgrade end command to the board card.
The management end can send a remote upgrade ending command to the board card after sending the preset time for downloading the upgrade file or after receiving the indication that the upgrade file sent by the board card is downloaded.
Step 307, the board receives the remote upgrade ending command, and modifies the target guided by the boot loader to the service operating system by the communication operating system.
After the board card receives the remote upgrade end command, a corresponding response can be performed to modify the boot loading parameters of the boot loader again. The modified boot loading parameters indicate that the boot loader guides the service operating system, so that the target guided by the boot loader is changed from the communication operating system to the service operating system.
Step 308, the board runs a boot loader and starts a service operating system.
The board card is restarted to run the boot loader. Since the target of the bootloader boot has been modified to the business operating system, the business operating system boots. Through the above process, at least one of the firmware and the business operating system is updated, and the upgrade is completed.
In the embodiment of the application, the receiving and writing of the upgrade file are independent of the operation of the service operation system, so that the service operation system after upgrade and the service operation system before upgrade can be stored in the same storage area, and another storage area is not required to be reserved for the upgrade of the service operation system. Because the capacity of the storage space occupied by the communication operating system is far smaller than that of the service operating system, a large amount of storage space can be saved compared with the mode of storing the service operating system in double areas.
In addition, the embodiment of the application does not need operators to go to the field for operation, only needs to log in the management end, and can be operated remotely, so that the method is very convenient, and the batch upgrading of the boards can be realized.
The embodiment of the application does not need to be connected with a serial port line, a Jlink burner and the like, and is very suitable for a scene that once equipment is deployed, the equipment is contacted and even disassembled very inconveniently.
It should be noted that, in the process of remote upgrading the board card, the management end may directly communicate with the board card to issue various commands (such as a remote upgrade start command, a download upgrade file command, and a remote upgrade end command).
In some embodiments, the management end may not directly communicate with the board, but transit through the service electronic device, and transmit various commands, where the board directly communicates with the target server, so as to implement separation of the management data stream and the service data stream.
Fig. 4 is a schematic diagram of a communication architecture of a method for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 4, the service device may include an external switching chip 401, an internal switching chip 402, a management module 403, and at least one connector 404.
The external switch chip 401, the internal switch chip 402, the management module 403, and the connector 404 may be disposed inside a chassis of the service device. The card may be inserted into connector 404 to connect with the business device.
The management module 403 and the board may each have 2 communication links, one to access the internal switching chip 402 and the other to access the external switching chip 401. An internal exchange chip 402, configured to carry a communication function between the management module and the board card, and not interact with an external object of the service device; the external exchange chip 401 is used for carrying management communication between the management module and the management end and carrying external communication functions of the board card.
It should be noted that, interaction with an external object of the service device, and external communication refer to communication with an object other than the service device. The card is inserted into the connector 404 inside the chassis of the service device, and thus is not considered as an object outside the service device.
Therefore, the path of the management end for issuing the command to the board may be: management end- > ethernet- > external exchange chip 401- > management module 403- > internal exchange chip 402- > board card.
The response path of the board card to the management end command can be: board- > internal exchange chip 402- > management module 403- > external exchange 401- > Ethernet- > management side.
Fig. 5 is a second flowchart of a method for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 5, the method for remotely upgrading the board card based on the above communication architecture may include:
Step 501, the management end issues a remote upgrade start command to the management module.
Step 502, the management module forwards the remote upgrade start command to the board card.
Step 503, the board modifies the boot loading parameters.
The board card modifies the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the communication operating system, and thus the goal of the bootloader boot is changed from the business operating system to the communication operating system.
Step 504, the board replies a first message to the management module.
After the boot loading parameters are modified, the board card can respond to the remote upgrade start command, reply a first message to the management module, and reply to receive the remote upgrade start command.
Step 505, the management module forwards the first message to the management end.
Step 506, the management end issues a reset board card command to the management module.
Step 507, the management module resets the board.
The management module may RESET (RESET) the central processing unit (Central Processing Unit, CPU) pins of the board, causing the board to restart.
Step 508, the board loads the communication operating system into the memory, starts the communication operating system, and obtains the second IP address.
After restarting the board, the BootLoader program copies the communication operating system into the memory according to the modified boot loading parameters and guides the communication operating system to start. And the communication operation system calculates a second IP address according to the slot number of the board card.
The board card comprises two net openings: the first network port and the second network port. The second portal and the second IP address are for internal communication. The IP address of the second network port is a second IP address. Internal communication refers to communication between the board card and the management module.
Step 509, the board reports the board information.
The board information may include, but is not limited to, the type of board, the MAC addresses of the two network ports, the slot number where the board is located, the system type, etc. The system type refers to the type of the business operating system.
Step 510, the management module forwards the board card information to the management end.
In step 511, the management end issues a configuration IP address command to the management module.
Step 512, the management module forwards the configuration IP address command to the board card.
Step 513, the board configures the first IP address.
The board card may configure the first IP address according to the configure IP address command. The first IP address is configured, static IP address configuration and dynamic IP address configuration are supported, and IPv4 and IPv6 are supported. The IP address of the first network port is a first IP address. The first portal and the first IP address are used for external communication.
And step 514, the board replies a second message to the management module.
After the first IP address configuration is completed, the board card may reply to the configuration IP address command, reply to the management module with a second message, and reply that the first IP address configuration is completed. The second message may carry information of the first IP address.
Step 515, the management module forwards the second message to the management end.
Step 516, the management end issues a command for downloading the upgrade file to the management module.
Step 517, the management module forwards the upgrade file downloading command to the board card.
Step 518, the board downloads the upgrade file.
The board card can connect the target server based on the address of the target server according to the upgrade file command, and download the upgrade file of the name according to the communication protocol used by the upgrade file.
In step 519, the card replies a third message to the management module.
After the upgrade file is downloaded, the board card can respond to the command of downloading the upgrade file, reply a third message to the management module, and reply that the upgrade file is downloaded.
Step 520, the management module forwards the third message to the management end.
Step 521, the management end issues a format command to the management module.
The management side may issue a format command if necessary.
In step 522, the management module forwards the format command to the board.
Step 523, the board formats the disk.
The board card formats the memory appointed by the format command according to the format command, and performs corresponding partitioning.
Step 524, the board replies a fourth message to the management module.
After the disk formatting is completed, the board card may reply to the formatting command, reply to the management module with a fourth message, and reply that the disk formatting is completed.
And 525, the management module forwards the fourth message to the management end.
In step 526, the management end burns the upgrade file command down to the management module.
In step 527, the management module forwards the command of burning the upgrade file to the board card.
Step 528, the board card burns the upgrade file.
And the board card burns the upgrade to a designated area of a designated memory according to a designated format according to the command of burning the upgrade file.
And 529, the board replies a fifth message to the management module.
After the writing of the upgrade file is completed, the board card can respond to the command of the writing of the upgrade file, reply a fifth message to the management module, and reply that the writing of the upgrade file is completed.
And step 530, the management module forwards the fifth message to the management end.
And 531, the management end issues a remote upgrade ending command to the management module.
In step 532, the management module forwards the remote upgrade end command to the board.
In step 533, the board modifies the boot loading parameters.
The board card modifies the boot loading parameters of the boot loader. The modified bootloading parameters indicate that the bootloader directs the newly burned service operating system so that the bootloader directs the target to be changed from the communication operating system to the service operating system.
And 534, the board replies a sixth message to the management module.
After the boot loading parameters are modified, the board card can respond to the remote upgrade ending command, reply a sixth message to the management module, and reply to receive the remote upgrade ending command.
Step 535, the management module forwards the sixth message to the management end.
In step 536, the management end issues a reset board card command to the management module.
And 537, resetting the board card by the management module.
The management module may reset the CPU pins of the board card to restart the board card.
Step 538, the board starts the newly burned service operating system.
After restarting the board, the BootLoader program guides the newly burnt service operating system to start according to the modified guide loading parameters.
It will be appreciated that at the start of an upgrade, the management side is in communication with the management module 403 and the board operates in an operating system mode.
In the foregoing embodiment in which the management end directly communicates with the board, the board may directly reply to the management end with the first message, the second message, the third message, the fourth message, the fifth message, and the sixth message.
In addition to the advantages of remotely upgrading the board card by the mode that the management end does not directly communicate with the board card, the embodiment of the application adopts a double-exchange mode of separating internal communication from external communication, so that the high efficiency and stability of the internal communication can be effectively ensured, and the separation of management data streams (including data streams for transmitting commands and messages) and business data streams (including data volume for downloading an upgrade file) can be realized, thereby being more convenient to manage.
In addition, the management module is used as the middle layer, and the management end and the board card only need to be communicated with the management module, namely, the implementation details of the management end and the board card are hidden, so that the design and the implementation of the management end and the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
The execution main body of the method for remotely upgrading the board card provided in the embodiment of the present application may be an electronic device or a functional module or a functional entity capable of implementing the method for remotely upgrading the board card in the electronic device, where the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the method for remotely upgrading the board card provided in the embodiment of the present application is described below by taking the electronic device as an execution main body as an example.
Fig. 6 is a third flowchart of a method for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 6, the method for remotely upgrading the board card includes: step 610, step 620, step 630, step 640 and step 650.
The method for remotely upgrading the board card provided by the embodiment of the invention can be applied to the board card, namely, an execution main body of the method can be the board card.
The memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a business operation system; a second memory area for storing firmware; the firmware comprises a boot loader and a communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of the new business operating system and a second image file of the new firmware.
Step 610, in response to the remote upgrade start command sent by the management end, the target guided by the boot loader is modified by the service operating system to be a communication operating system.
In actual implementation, the management end may issue each command to the board card based on a communication link between the management end and the board card.
An operator can log in the management end, and send a remote upgrade starting command to the board card through the management end.
After the board card receives the remote upgrade start command, a corresponding response can be made to modify the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the communication operating system, and thus the goal of the bootloader boot is changed from the business operating system to the communication operating system.
Step 620, running a boot loader, and starting the communication operating system.
In actual implementation, the board may be restarted immediately after the boot loading parameters are modified, or according to an instruction issued by the management end.
After restarting the board, the boot loader operates. Since the target of the bootloader boot has been modified to the communication operating system, the communication operating system boots.
Step 630, in response to the upgrade file downloading command sent by the management end, the upgrade file is downloaded from the target server and written into the memory space of the board card.
In actual execution, the management end may issue the command of downloading the upgrade file to the board card after a preset duration of sending the remote upgrade start command, or after receiving an instruction that the remote upgrade start command sent by the board card has been received.
After receiving the upgrade file downloading command sent by the management end, the upgrade file can be downloaded from the target server and written into the storage space of the board card according to the address of the target server, the communication protocol and the name of the upgrade file, and the like, which are carried by the upgrade file downloading command and used for downloading the upgrade file, and the corresponding file is covered.
And step 640, responding to a remote upgrade ending command sent by the management end, and modifying the target guided by the boot loader into a service operating system by the communication operating system.
In actual execution, the management end may issue a remote upgrade end command to the board card after sending a preset duration for downloading the upgrade file, or after receiving an indication that the upgrade file sent by the board card has been downloaded.
After receiving the remote upgrade end command sent by the management end, the bootloading parameters of the bootloader can be modified again. The modified boot loading parameters indicate that the boot loader guides the service operating system, so that the target guided by the boot loader is changed from the communication operating system to the service operating system.
Step 650, running the boot loader and starting the service operating system.
In actual implementation, the board may be restarted immediately after the boot loading parameters are modified, or according to an instruction issued by the management end.
After restarting the board, the boot loader operates. Since the target of the bootloader boot has been modified to the business operating system, the business operating system boots.
Through the above process, at least one of the firmware and the business operating system is updated, and the upgrade is completed.
According to the method for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, and because the communication operation system mainly bears the communication function, other functions can not be borne, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In some embodiments, the board card further includes memory.
In actual execution, the memory is a temporary storage in the board for storing programs and data that are currently running. It has the characteristics of high-speed read-write and random access. The capacity of the memory is small, and the data in the memory is temporarily stored, and the data is lost after power failure or shutdown.
The memory space of the aforementioned board is a space for long-term data storage. The memory space of the board can permanently hold data. The data stored in the memory space of the board card are not lost due to power failure or shutdown, and are always stored in the hard disk.
Starting the communication operating system when the boot loader is running, comprising: and running a boot loader, copying the communication operating system into the memory of the board card, and booting and starting the communication operating system in the memory.
In actual implementation, instead of starting the communication operating system stored in the second storage area, starting the communication operating system in the memory may be implemented by copying the communication operating system into the memory of the board.
Therefore, the writing of the file in the second storage area does not affect the operation of the communication operating system, so that the second image file of the new firmware can be written in the communication operating system, and the firmware can be upgraded.
It should be noted that the new firmware may direct at least one of the boot loader and the communication operating system to be new.
According to the method for remotely upgrading the board card, the communication operating system is copied into the memory of the board card, the communication operating system in the memory is started, the writing of the upgrade file to the second storage area for storing the communication operating system does not influence the operation of the communication operating system, and at least one of the boot loader and the communication operating system can be upgraded, so that the boot loader and the service operating system can be upgraded simultaneously.
In some embodiments, after running the boot loader and starting the communication operating system and before downloading the upgrade file from the target server and writing the upgrade file into the corresponding storage area in response to the download upgrade file command issued by the management end, the method further comprises: in response to a formatting command issued by the management end, the first storage area is formatted in the case that the upgrade file includes the first image file, and the second storage area is formatted in the case that the upgrade file includes the second image file.
In actual implementation, the management end may issue a format command to the board after sending a preset duration for downloading the upgrade file, or after receiving an indication that the upgrade file sent by the board has been downloaded.
The format command may carry information of the target format and the target memory. The target memory is the memory specified by the format command, and is the object to be formatted. The target format is the format specified by the format command, and is the format into which the target memory is formatted.
The target memory may be at least one of the first memory area and the second memory area.
In the case where the upgrade file includes the first image file, the target memory includes a memory in which the first storage area is located, and formatting the first storage area may be achieved by formatting the memory.
In the case where the upgrade file includes the second image file, the target memory includes a memory in which the second storage area is located, and formatting the second storage area may be achieved by formatting the memory.
Compared with the prior art that the memory space of the board card cannot be formatted in the board card upgrading process due to upgrading failure, according to the method for remotely upgrading the board card, at least one of the first memory area and the second memory area is formatted by responding to the formatting command sent by the management end, part or all of the memory space of the board card can be remotely formatted in the board card upgrading process, and the mode of formatting the memory space of the board card is more flexible and convenient.
In some embodiments, downloading an upgrade file from a target server and writing to a memory space of a board card includes: downloading the upgrade file.
In actual implementation, the board may connect to the target server based on the address of the target server according to the upgrade file command, and download the upgrade file of the foregoing name using the communication protocol used by the upgrade file.
The first image file is written to the first storage area in the case where the upgrade file includes the first image file, and the second image file is written to the second storage area in the case where the upgrade file includes the second image file.
In actual implementation, when the upgrade file includes only the first image file, the first image file may be written into the first storage area to cover the original service operating system in the first storage area.
In the case where the upgrade file includes only the second image file, the second image file may be written into the second storage area to cover the original firmware in the second storage area.
When the upgrade file includes the first image file and the second image file, the first image file may be written into the first storage area to cover the original service operating system in the first storage area, and the second image file may be written into the second storage area to cover the original firmware in the second storage area.
It may be appreciated that in the case where the upgrade file includes only the second image file, the boot loader in the second image file covers the second storage area for storing the original boot loader in the partition of the boot loader, and the communication operating system in the second image file covers the second storage area for storing the original communication operating system in the partition of the communication operating system.
According to the method for remotely upgrading the board card, when the upgrade file comprises the first image file, the first image file is written into the first storage area, and when the upgrade file comprises the second image file, the second image file is written into the second storage area, so that at least one of the boot loader and the communication operating system can be upgraded, and the boot loader and the service operating system can be upgraded simultaneously.
In some embodiments, after running the boot loader and starting the communication operating system and before downloading the upgrade file from the target server and writing the upgrade file to the memory space of the board card in response to the upgrade file downloading command issued by the management end, the method further comprises: establishing a second communication link between the board card and the service equipment and establishing a first communication link between the board card and the target server; the board card is connected with a connector arranged on the business equipment; service equipment is used for forwarding data between the board card and the management end.
In actual implementation, the board may be connected to a connector provided in the service device, and inserted into the connector, so as to be connected to the service device. The service equipment can be used as a transfer between the board card and the management end.
In the case where the board card is connected to the connector provided in the service device, an internal communication link and an external communication link may be established based on the communication operating system, respectively.
An internal communication link for the aforementioned internal communication. The communication between the board card and the service equipment is internal communication, so that the communication link between the board card and the service equipment is a second communication link.
An external communication link for the aforementioned external communication. The communication between the board card and the target server is external communication, and thus a link first communication link used for communication between the board card and the target server among the external communication links.
According to the method for remotely upgrading the board card, the second communication link between the board card and the service equipment and the first communication link between the board card and the target server are established, and the dual-exchange mode of separating internal communication from external communication is adopted, so that the high efficiency and stability of the internal communication can be effectively ensured, the separation of management data flow and service data flow can be realized, and the management is more convenient.
In some embodiments, establishing a first communication link between the board card and the target server includes: and responding to the IP address configuration command sent by the management end, and configuring a first IP address of a first network port of the board card.
In actual execution, after receiving the command of issuing the configuration IP address issued by the management end, a corresponding response can be made to configure the IP address of the first network port of the board card. The IP address of the first network port is a first IP address.
A first communication link is established based on the first IP address.
In actual implementation, external communication based on the network communication protocol may be implemented based on the first IP address, so as to establish a communication link between the board card and the target server via the external switch chip 401.
According to the method for remotely upgrading the board card, the first communication link is established by configuring the first IP address of the first network port of the board card under the triggering of the issuing configuration IP address command issued by the management end, so that the upgrade file can be downloaded based on the first communication link, and the board card can be upgraded more efficiently and safely.
In some embodiments, establishing a second communication link between the board card and the business device includes: and determining a second IP address of a second network port of the board card based on the identification of the connector.
In actual implementation, the identification of the connector is used for indicating the slot number where the board card is located.
Based on the identification of the connector, the IP address of the second network port of the board card can be determined. The IP address of the second network port is a second IP address.
A second communication link is established based on the second IP address.
In actual implementation, a second communication link between the board and the management module via the internal switch chip 402 may be established based on the second IP address.
According to the method for remotely upgrading the board card, the second communication link is established by determining the second IP address of the second network port of the board card based on the identification of the connector, the board card only needs to be communicated with the management module, the design and implementation of the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
Fig. 7 is a flowchart illustrating a method for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 7, the method for remotely upgrading the board card includes: step 710, step 720 and step 730.
The method for remotely upgrading the board card provided by the embodiment of the application can be applied to the management end, namely, an execution main body of the method can be the management end. And the management end is used for remotely upgrading the board.
The memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a business operation system; a second memory area for storing firmware; the firmware comprises a boot loader and a communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of the new business operating system and a second image file of the new firmware.
And 710, issuing a remote upgrade starting command to the board card so that the board card modifies the target guided by the boot loader into a communication operating system from the service operating system and starts the communication operating system.
In actual implementation, the management end may issue each command to the board card based on a communication link between the management end and the board card.
An operator can log in the management end, and send a remote upgrade starting command to the board card through the management end.
After the board card receives the remote upgrade start command, a corresponding response can be made to modify the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the communication operating system, and thus the goal of the bootloader boot is changed from the business operating system to the communication operating system.
After restarting the board, the boot loader operates. Since the target of the bootloader boot has been modified to the communication operating system, the communication operating system boots.
And step 720, issuing an upgrade file downloading command to the board card so that the board card downloads the upgrade file from the target server and writes the upgrade file into the storage space of the board card.
In actual execution, the command for downloading the upgrade file may be issued to the board after a preset time period for transmitting the remote upgrade start command, or after receiving an indication that the remote upgrade start command transmitted by the board has been received.
After the card receives the upgrade file downloading command sent by the management end, the upgrade file can be downloaded from the target server and written into the memory space of the card according to the address of the target server, the communication protocol and the name of the upgrade file, and the like, which are carried by the upgrade file downloading command and used for downloading the upgrade file, and the corresponding file is covered.
In the case that the upgrade file includes a first image file, the first image file may be written into the first storage area to cover an original service operating system in the first storage area, and in the case that the upgrade file includes a second image file, the second image file may be written into the second storage area to cover an original firmware in the second storage area.
And 730, issuing a remote upgrade ending command to the board card so that the board card modifies the target guided by the boot loader from the service operating system to the service operating system and starts the service operating system.
In actual execution, the remote upgrade ending command may be issued to the board card after a preset time period for downloading the upgrade file is sent, or after an indication that the upgrade file sent by the board card has been downloaded is received.
After receiving the remote upgrade end command sent by the management end, the bootloading parameters of the bootloader can be modified again. The modified boot loading parameters indicate that the boot loader guides the service operating system, so that the target guided by the boot loader is changed from the communication operating system to the service operating system.
After restarting the board, the boot loader operates. Since the target of the bootloader boot has been modified to the business operating system, the business operating system boots.
Through the above process, at least one of the firmware and the business operating system is updated, and the upgrade is completed.
According to the method for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, and because the communication operation system mainly bears the communication function, other functions can not be borne, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In some embodiments, before issuing the remote upgrade start command to the board card, and after issuing the download upgrade file command to the board card, the method further comprises: and issuing a formatting command to the board card so that the board card formats the first storage area when the upgrade file comprises the first image file and formats the second storage area when the upgrade file comprises the second image file.
In actual execution, the formatting command may be issued to the board card after a preset duration of the command to download the upgrade file is sent, or after an indication that the upgrade file sent by the board card has been downloaded is received.
The format command may carry information of the target format and the target memory. The target memory is the memory specified by the format command, and is the object to be formatted. The target format is the format specified by the format command, and is the format into which the target memory is formatted.
The target memory may be at least one of the first memory area and the second memory area.
In the case where the upgrade file includes the first image file, the target memory includes a memory in which the first storage area is located, and formatting the first storage area may be achieved by formatting the memory.
In the case where the upgrade file includes the second image file, the target memory includes a memory in which the second storage area is located, and formatting the second storage area may be achieved by formatting the memory.
Compared with the prior art that the memory space of the board card cannot be formatted in the board card upgrading process due to upgrading failure, according to the method for remotely upgrading the board card, at least one of the first memory area and the second memory area is formatted by responding to the formatting command sent by the management end, part or all of the memory space of the board card can be remotely formatted in the board card upgrading process, and the mode of formatting the memory space of the board card is more flexible and convenient.
In some embodiments, issuing a remote upgrade start command to the board to cause the board to change the boot loader-guided target repair from the business operating system to the communication operating system and to launch the communication operating system, including: a remote upgrade start command is sent to the service equipment, so that the remote upgrade start command is forwarded to the board card through the service equipment, and the board card modifies a target guided by the boot loader into a communication operation system from the service operation system; the board card is connected with a connector arranged on the business equipment; service equipment is used for forwarding data between the board card and the management end.
In actual implementation, the board may be connected to a connector provided in the service device, and inserted into the connector, so as to be connected to the service device. The service equipment can be used as a transfer between the board card and the management end.
The service device may forward the remote upgrade start command sent by the management end to the board.
After the board card receives the remote upgrade start command, a corresponding response can be made to modify the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the communication operating system, and thus the goal of the bootloader boot is changed from the business operating system to the communication operating system.
And sending a board resetting command to the service equipment so as to reset the board by the service equipment, running a boot loader, and starting a communication operating system.
In actual execution, the management end may send a board reset command to the service device after sending a preset duration of the remote upgrade start command or receiving an instruction that the remote upgrade start command sent by the board has been received.
The service device may reset the CPU pins of the board to restart the board.
And after restarting the board card, running a boot loader. Since the target of the bootloader boot has been modified to the communication operating system, the communication operating system boots.
According to the method for remotely upgrading the board card, the service equipment is used as the middle layer, and the management end and the board card only need to be communicated with the management module, namely, the implementation details of the communication between the management end and the board card are hidden, so that the design and implementation of the management end and the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
In some embodiments, issuing a remote upgrade end command to the board card, causing the board card to modify a target guided by the boot loader from the communication operating system to the business operating system, and starting the business operating system, including: and sending a remote upgrade ending command to the service equipment so as to forward the remote upgrade ending command to the board card through the service equipment, so that the board card modifies the target guided by the boot loader into a service operating system from a communication operating system.
In actual implementation, the service device may forward the remote upgrade end command sent by the management end to the board card.
After the board card receives the remote upgrade end command, corresponding response can be performed to modify the boot loading parameters of the boot loader. The modified bootloading parameter indicates that the bootloader bootstraps the business operating system, and thus the goal of the bootloader boot is changed from the communication operating system to the business operating system.
And sending a board resetting command to the service equipment so as to reset the board by the service equipment, running a boot loader and starting a service operating system.
In actual execution, the management end may send a reset board card command to the service device after sending a preset duration of the remote upgrade end command or receiving an instruction that the remote upgrade end command sent by the board card has been received.
The service device may reset the CPU pins of the board to restart the board.
And after restarting the board card, running a boot loader. Since the target of the bootloader boot has been modified to the business operating system, the business operating system boots.
According to the method for remotely upgrading the board card, the service equipment is used as the middle layer, and the management end and the board card only need to be communicated with the management module, namely, the implementation details of the communication between the management end and the board card are hidden, so that the design and implementation of the management end and the board card can be simplified, and the batch upgrading of the board card can be realized more conveniently.
In some embodiments, before issuing the remote upgrade start command to the board card, and after issuing the download upgrade file command to the board card, the method further comprises: and issuing a configuration IP address command to the board card so that the board card configures a first IP address of a first network port of the board card, and establishing a first communication link between the board card and the target server based on the first IP address.
In actual execution, the configuration IP address command may be issued to the board after a preset duration of the remote upgrade start command is sent or an indication that the remote upgrade start command sent by the board has been received is received.
In another implementation, the configuration IP address command may be issued to the board after a preset duration of sending the reset board command.
After the board card receives the command for issuing the configuration IP address issued by the management end, a corresponding response can be made to configure the IP address of the first network port of the board card. The IP address of the first network port is a first IP address.
Based on the first IP address, external communication based on a network communication protocol may be implemented, so that a communication link between the board card and the target server via the external switching chip 401 is established.
According to the method for remotely upgrading the board card, the first communication link is established by configuring the first IP address of the first network port of the board card under the triggering of the issuing configuration IP address command issued by the management end, so that the upgrade file can be downloaded based on the first communication link, and the board card can be upgraded more efficiently and safely.
According to the method for remotely upgrading the board card, the execution main body can be a device for remotely upgrading the board card. In the embodiment of the present application, a method for executing remote upgrading of a board card by using a device for remotely upgrading a board card is taken as an example, and the device for remotely upgrading a board card provided in the embodiment of the present application is described.
The embodiment of the application also provides a device for remotely upgrading the board card. The device may be a board card.
Fig. 8 is a schematic structural diagram of a device for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 8, the apparatus includes: a modification module 810, a run module 820, and a download module 830.
A modifying module 810, configured to modify, by the service operating system, a target guided by the boot loader into a communication operating system in response to a remote upgrade start command issued by the management end;
an operation module 820 for operating the boot loader and starting the communication operating system;
the downloading module 830 is configured to respond to a command for downloading an upgrade file sent by the management end, download the upgrade file from the target server, and write the upgrade file into the storage space of the board card;
the modification module 810 is further configured to modify, by the communication operating system, a target guided by the boot loader into a service operating system in response to a remote upgrade end command issued by the management end;
The operation module 820 is further configured to operate a boot loader and start a service operating system;
the memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a business operation system; a second memory area for storing firmware; the firmware comprises a boot loader and a communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of the new business operating system and a second image file of the new firmware.
According to the device for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, and because the communication operation system mainly bears the communication function, other functions can not be borne, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In some embodiments, the board card may also include memory; the operation module 820 may be specifically configured to operate a bootloader, copy the communication operating system to the memory of the board card, and boot the communication operating system in the memory.
In some embodiments, the device for remotely upgrading the board card further comprises:
the formatting module is used for responding to a formatting command sent by the management end, formatting the first storage area when the upgrade file comprises the first image file, and formatting the second storage area when the upgrade file comprises the second image file.
In some embodiments, download module 830 includes:
the downloading unit is used for downloading the upgrade file;
a writing unit for writing the first image file into the first storage area in case the upgrade file includes the first image file, and writing the second image file into the second storage area in case the upgrade file includes the second image file.
In some embodiments, the device for remotely upgrading the board card further comprises:
the establishing module is used for establishing a second communication link between the board card and the service equipment and a first communication link between the board card and the target server; the board card is connected with a connector arranged on the business equipment; service equipment is used for forwarding data between the board card and the management end.
In some embodiments, the establishing module includes:
the first establishing unit is used for responding to the IP address configuration command sent by the management end and configuring a first IP address of a first network port of the board card; a first communication link is established based on the first IP address.
In some embodiments, the establishing module includes:
the second establishing unit is used for determining a second IP address of a second network port of the board card based on the identification of the connector; a second communication link is established based on the second IP address.
The embodiment of the application also provides a device for remotely upgrading the board card. The device may be a management end.
Fig. 9 is a second schematic structural diagram of a device for remotely upgrading a board card according to an embodiment of the present application. As shown in fig. 9, the apparatus includes: a transmitting module 910.
A sending module 910, configured to issue a remote upgrade start command to the board card, so that the board card modifies a target guided by the boot loader from the service operating system to a communication operating system, and starts the communication operating system; a command for downloading the upgrade file is issued to the board card, so that the board card downloads the upgrade file from the target server and writes the upgrade file into the storage space of the board card; issuing a remote upgrade ending command to the board card so that the board card modifies a target guided by the boot loader from the service operating system to the service operating system and starts the service operating system;
The memory space of the board card comprises a first memory area and a second memory area; the first storage area is used for storing a business operation system; a second memory area for storing firmware; the firmware comprises a boot loader and a communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and communication between the board card and the target server; the upgrade file includes at least one of a first image file of the new business operating system and a second image file of the new firmware.
It should be noted that, the device for remotely upgrading the board card may further include: a receiving module 920, configured to receive at least one of the first message, the second message, the third message, the fourth message, the fifth message, and the sixth message.
According to the device for remotely upgrading the board card, under the condition that the communication operation system mainly bearing the communication function between the board card and other equipment operates, the upgrade file is downloaded and written into the storage area of the board card, the new service operation system is stored by utilizing the storage area of the original service operation system, no extra storage space is needed for the new service operation system, and because the communication operation system mainly bears the communication function, other functions can not be borne, the capacity of the storage space occupied by the communication operation system is far smaller than that of the service operation system, the waste of the storage space can be reduced, and the storage space is greatly saved.
In some embodiments, the sending module 910 is further configured to issue a format command to the board, so that the board formats the first storage area if the upgrade file includes the first image file, and formats the second storage area if the upgrade file includes the second image file.
In some embodiments, the sending module 910 is specifically configured to:
a remote upgrade start command is sent to the service equipment, so that the remote upgrade start command is forwarded to the board card through the service equipment, and the board card modifies a target guided by the boot loader into a communication operation system from the service operation system; the board card is connected with a connector arranged on the business equipment; service equipment, which is used for forwarding data between the board card and the management end;
and sending a board resetting command to the service equipment so as to reset the board by the service equipment, running a boot loader, and starting a communication operating system.
In some embodiments, the sending module 910 is further specifically configured to:
transmitting a remote upgrade ending command to the service equipment so as to forward the remote upgrade ending command to the board card through the service equipment, and enabling the board card to modify a target guided by the boot loader into a service operating system from a communication operating system;
And sending a board resetting command to the service equipment so as to reset the board by the service equipment, running a boot loader and starting a service operating system.
In some embodiments, the sending module 910 is further configured to issue a configuration IP address command to the board card, so that the board card configures a first IP address of a first network port of the board card, and based on the first IP address, a first communication link between the board card and the target server is established.
The device for remotely upgrading the board card in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The device for remotely upgrading the board card in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The device for remotely upgrading the board card provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 2 to fig. 7, and in order to avoid repetition, a detailed description is omitted here.
In some embodiments, as shown in fig. 10, the embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, and a computer program stored in the memory 1002 and capable of running on the processor 1001, where the program when executed by the processor 1001 implements the respective processes of the method embodiment of remotely upgrading a board card, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
The embodiment of the present application further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements each process of the method embodiment of remote upgrading a board card, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application also provides a computer program product, which comprises a computer program, and the computer program realizes the method for remotely upgrading the board card when being executed by a processor.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the method embodiment of the remote upgrading board card, and achieving the same technical effect, so as to avoid repetition, and no further description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, 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. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims (23)

1. A method for remotely upgrading a board card, the method being applied to the board card and comprising:
responding to a remote upgrade starting command sent by a management end, and modifying a target guided by a boot loader into a communication operating system by a service operating system;
running the boot loader and starting the communication operating system;
responding to a command of downloading the upgrade file sent by the management end, downloading the upgrade file from a target server and writing the upgrade file into the storage space of the board card;
responding to a remote upgrade ending command sent by the management end, and modifying the target guided by the boot loader into a service operating system by the communication operating system;
running the boot loader and starting a service operating system;
the memory space of the board card comprises a first memory area for storing a service operating system and a second memory area for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
2. The method of remotely upgrading a board card of claim 1, wherein the board card further comprises a memory;
the running the boot loader and starting the communication operating system comprise the following steps:
and running the boot loader, copying the communication operating system into the memory, and booting and starting the communication operating system in the memory.
3. The method of remotely upgrading a board card according to claim 2, wherein after said running said boot loader and starting said communication operating system and before said downloading an upgrade file from a target server and writing the upgrade file into a corresponding storage area in response to a download upgrade file command issued by said management side, said method further comprises:
and in response to a formatting command sent by the management end, formatting the first storage area when the upgrade file comprises the first image file, and formatting the second storage area when the upgrade file comprises the second image file.
4. The method of remotely upgrading a board card according to claim 1, wherein said downloading an upgrade file from a target server and writing the upgrade file into a memory space of the board card comprises:
Downloading the upgrade file;
writing the first image file to the first storage area in the case where the upgrade file includes the first image file, and writing the second image file to the second storage area in the case where the upgrade file includes the second image file.
5. The method of claim 1 to 4, wherein after the running the boot loader and starting the communication operating system and before the downloading of the upgrade file from the target server and writing to the memory space of the board in response to the command for downloading the upgrade file issued by the management end, the method further comprises:
establishing a second communication link between the board card and the service equipment and establishing a first communication link between the board card and the target server; the board card is connected with a connector arranged on the business equipment; the business equipment is used for forwarding data between the board card and the management end.
6. The method of remotely upgrading a board card of claim 5, wherein the establishing a first communication link between the board card and the target server comprises:
Responding to a command for configuring an IP address sent by the management end, and configuring a first IP address of a first network port of the board card;
and establishing the first communication link based on the first IP address.
7. The method of remotely upgrading a board card according to claim 5, wherein said establishing a second communication link between the board card and a business device comprises:
determining a second IP address of a second network port of the board card based on the identification of the connector;
and establishing the second communication link based on the second IP address.
8. The method for remotely upgrading the board card is characterized by being applied to a management end and comprising the following steps of:
issuing a remote upgrade starting command to a board card so that the board card modifies a target guided by a boot loader from a service operating system to a communication operating system and starts the communication operating system;
issuing an upgrade file downloading command to the board card so that the board card downloads an upgrade file from a target server and writes the upgrade file into a storage space of the board card;
issuing a remote upgrade ending command to the board card so that the board card modifies a target guided by the guide loader from the service operating system to a service operating system and starts the service operating system;
The memory space of the board card comprises a first memory area for storing a service operating system and a second memory area for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
9. The method of remotely upgrading a board card according to claim 8, wherein before said issuing a remote upgrade start command to the board card and after said issuing a download upgrade file command to the board card, the method further comprises:
and issuing a formatting command to the board card so that the board card formats the first storage area when the upgrade file comprises the first image file and formats the second storage area when the upgrade file comprises the second image file.
10. The method for remotely upgrading a board card according to claim 8, wherein the issuing a remote upgrade start command to the board card to cause the board card to change a target repair guided by a boot loader from a service operating system to a communication operating system and to start the communication operating system includes:
The remote upgrade starting command is sent to service equipment, so that the remote upgrade starting command is forwarded to the board card through the service equipment, and the board card modifies the target guided by the guide loader from a service operating system to the communication operating system; the board card is connected with a connector arranged on the business equipment; the business equipment is used for forwarding data between the board card and the management end;
and sending a board card resetting command to the service equipment so that the service equipment resets the board card, operates the boot loader and starts the communication operating system.
11. The method of remotely upgrading a board card according to claim 10, wherein the issuing a remote upgrade end command to the board card causes the board card to modify the boot loader-guided target from the communication operating system to a service operating system, and to start the service operating system, includes:
sending the remote upgrade ending command to the service equipment so as to forward the remote upgrade ending command to the board card through the service equipment, so that the board card modifies the target guided by the boot loader into a service operating system from the communication operating system;
And sending a board card resetting command to the service equipment so that the service equipment resets the board card, operates the boot loader and starts a service operating system.
12. The method of remotely upgrading a board card according to any one of claims 8 to 11, wherein before said issuing a remote upgrade start command to the board card and after said issuing a download upgrade file command to the board card, the method further comprises:
and issuing a configuration IP address command to the board card so that the board card configures a first IP address of a first network port of the board card, and establishing a first communication link between the board card and the target server based on the first IP address.
13. An apparatus for remotely upgrading a board card, comprising:
the modification module is used for responding to a remote upgrade starting command sent by the management end and modifying a target guided by the boot loader into a communication operation system by the service operation system;
the operation module is used for operating the boot loader and starting the communication operation system;
the downloading module is used for responding to the command of downloading the upgrade file sent by the management end, downloading the upgrade file from the target server and writing the upgrade file into the storage space of the board card;
The modification module is further configured to modify, in response to a remote upgrade end command sent by the management end, a target guided by the boot loader from the communication operating system to a service operating system;
the operation module is also used for operating the boot loader and starting a service operation system;
the memory space of the board card comprises a first memory area for storing a service operating system and a second memory area for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
14. The apparatus for remotely upgrading a board card of claim 13, wherein the board card further comprises a memory; the operation module is specifically configured to operate the boot loader, copy the communication operating system to the memory, and boot and start the communication operating system in the memory.
15. The apparatus for remotely upgrading a board card of claim 14, further comprising:
the formatting module is used for responding to a formatting command sent by the management end, formatting the first storage area when the upgrade file comprises the first image file, and formatting the second storage area when the upgrade file comprises the second image file.
16. The apparatus for remotely upgrading a board card according to claim 13, wherein the download module comprises:
the downloading unit is used for downloading the upgrade file;
a writing unit configured to write the first image file into the first storage area if the upgrade file includes the first image file, and write the second image file into the second storage area if the upgrade file includes the second image file.
17. The apparatus for remotely upgrading a board card according to any one of claims 13 to 16, further comprising:
the establishing module is used for establishing a second communication link between the board card and the service equipment and a first communication link between the board card and the target server; the board card is connected with a connector arranged on the business equipment; the business equipment is used for forwarding data between the board card and the management end.
18. The apparatus for remotely upgrading a board card according to claim 17, wherein said setup module comprises:
the first establishing unit is used for responding to the IP address configuration command sent by the management end and configuring a first IP address of a first network port of the board card; and establishing the first communication link based on the first IP address.
19. The apparatus for remotely upgrading a board card according to claim 17, wherein said setup module comprises:
the second establishing unit is used for determining a second IP address of a second network port of the board card based on the identification of the connector; and establishing the second communication link based on the second IP address.
20. An apparatus for remotely upgrading a board card, comprising:
the system comprises a sending module, a board card and a communication operating system, wherein the sending module sends a remote upgrading starting command to the board card so that the board card modifies a target guided by a boot loader from the service operating system to the communication operating system and starts the communication operating system; issuing an upgrade file downloading command to the board card so that the board card downloads an upgrade file from a target server and writes the upgrade file into a storage space of the board card; issuing a remote upgrade ending command to the board card so that the board card modifies a target guided by the guide loader from the service operating system to a service operating system and starts the service operating system;
The memory space of the board card comprises a first memory area for storing a service operating system and a second memory area for storing firmware; the firmware includes a boot loader and the communication operating system; the service operation system is used for realizing the service borne by the board card; the communication operation system is used for realizing communication between the board card and the management end and between the board card and the target server; the upgrade file includes at least one of a first image file of a new business operating system and a second image file of new firmware.
21. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of remotely upgrading a board as claimed in any one of claims 1-12 when executing the program.
22. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements a method of remotely upgrading a board card according to any of claims 1-12.
23. A computer program product comprising a computer program which when executed by a processor implements the method of remotely upgrading a board card according to any of claims 1-12.
CN202311507959.XA 2023-11-13 2023-11-13 Method and device for remotely upgrading board card Pending CN117632178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311507959.XA CN117632178A (en) 2023-11-13 2023-11-13 Method and device for remotely upgrading board card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311507959.XA CN117632178A (en) 2023-11-13 2023-11-13 Method and device for remotely upgrading board card

Publications (1)

Publication Number Publication Date
CN117632178A true CN117632178A (en) 2024-03-01

Family

ID=90036842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311507959.XA Pending CN117632178A (en) 2023-11-13 2023-11-13 Method and device for remotely upgrading board card

Country Status (1)

Country Link
CN (1) CN117632178A (en)

Similar Documents

Publication Publication Date Title
US9182998B2 (en) Remote bios update in system having multiple computers
TWI363298B (en) Communication device and firmware update method thereof
US6928543B2 (en) System for real-time adaptation to changes in display configuration
JP5838527B2 (en) Method, apparatus and communication device for updating firmware
US7614050B2 (en) Machine and method for deployment of OS image
CN100561957C (en) Network switch collocation method and system
JP7346606B2 (en) Screen sharing processing method, device, equipment and storage medium
US20080126584A1 (en) System and Method for Receiving Control Commands at a Peripheral Device
CN103412769A (en) External card parameter configuration method, equipment and system
TW201525858A (en) Baseboard management controller and method of load firmware thereof
CN102880498A (en) Method of virtual SD (Security Digital) card on device with android system
CN109240754B (en) Logic device, method and system for configuring BIOS starting item
US20220100490A1 (en) Firmware updating method, and electronic apparatus and storage media for same
US20100064036A1 (en) Peripheral device operation method, peripheral device and host
WO2017185954A1 (en) Method, host, and system for implementing usb device management
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
US20090254641A1 (en) Network card capable of remote boot and method thereof
US10282190B2 (en) System and method for updating a UEFI image in an information handling system
CN103677915A (en) Automatic burning method of flash mirror image based on TF starting card
CN103577210A (en) System and method for mounting between mobile terminals
CN113741914A (en) Operating system installation mechanism
CN103092648A (en) Method and system of mirror image upgrade and user device and personal computer
CN107247596A (en) Starting-up method, device and electronic equipment
EP2372565A1 (en) Method for managing USB devices
KR20180019806A (en) Electronic device configured to perform booting operation based on boot-up instruction provided from endpoint device

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