Disclosure of Invention
In view of this, the disclosure provides a method, an apparatus, an electronic device, and a computer readable medium for managing files of a virtual switch matrix, which can obtain version downloading results of all frames in a virtual switch matrix environment, avoid a situation that a user cannot know the version downloading failure of a standby frame, and enrich page prompt information, so that the user knows the error cause of the version downloading failure in time, and aims at solving the problem.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to an aspect of the present disclosure, a file management method of a virtual switching matrix is provided, which may be used for a virtual switching matrix, where the virtual switching matrix system includes a plurality of frame devices, each frame device includes a main control board and a plurality of service boards, and the method includes: the main frame main control board downloads the target file; the main frame main control board and the standby frame main control board perform command synchronization so that the standby frame main control board downloads the target file; the main frame main control board and the standby frame main control board traverse the service boards under the main frame and send the target file to the corresponding service boards; the service board checks the target file and generates return information according to a checking result; and the main frame main control board generates a management result of the target file based on the return information.
In an exemplary embodiment of the present disclosure, before the main frame main control board downloads the target file, the method further includes: the main frame main control board acquires file information of the target file; and judging whether the file information meets preset conditions, and generating error warning information when the file information does not meet the preset conditions.
In an exemplary embodiment of the present disclosure, before the main frame main control board downloads the target file, the method further includes: judging whether the residual space of all service boards in the virtual switching matrix is larger than the capacity of the target file or not based on the file information; and generating error warning information when the residual space of the service board is smaller than the capacity of the target file.
In an exemplary embodiment of the disclosure, the main frame main control board and the standby frame main control board traverse the service boards under the present frame and send the target file to the corresponding service boards, including: the main frame main control board and the standby frame main control board traverse the service boards under the main frame; and when the type of the service board is consistent with the target file, the main frame main control board and the standby frame main control board send the target file to the corresponding service board.
In an exemplary embodiment of the present disclosure, the main frame main control board and the standby frame main control board send the target file to their corresponding service boards, including: the main frame main control board and the standby frame main control board establish socket communication with the service board; the main frame main control board and the standby frame main control board communicate based on the socket to send the target file to the corresponding service board;
in an exemplary embodiment of the present disclosure, the main frame main control board, the standby frame main control board, and the service board establish socket communication, further includes: and when the socket communication between the main frame main control board and the standby frame main control board corresponding to the main frame main control board fails, error warning information is generated.
In an exemplary embodiment of the present disclosure, the service board checks the target file and generates the return information according to the check result, including: the service board performs version verification, integrity verification and type verification on the target file; and when the verification is inconsistent, generating error warning information and sending the error warning information to the main frame main control board and the standby frame main control board.
In an exemplary embodiment of the present disclosure, the main frame main control board generates a management result of a target file based on the return information, including: when receiving the version invalidation information from the service board, the main frame main control board stores the version invalidation information and continues downloading operation; and stopping the downloading operation when the main frame main control board receives the insufficient space information from the service board.
In an exemplary embodiment of the present disclosure, the main frame main control board generates a management result of a target file based on the return information, including: when the main frame main control board receives a successful downloading message or version invalidation message from the service board, a command is sent to the standby frame main control board to acquire the return information of the service board under the standby frame main control board.
According to an aspect of the present disclosure, a file management apparatus for a virtual switching matrix is provided, which is applicable to a virtual switching matrix, where the virtual switching matrix system includes a plurality of frame devices, each frame device includes a main control board and a plurality of service boards, and the apparatus includes: the downloading module is used for downloading the target file from the main frame main control board; the synchronous module is used for carrying out command synchronization on the main frame main control board and the standby frame main control board so that the standby frame main control board downloads the target file; the sending module is used for traversing the service boards under the main frame and the standby frame main control board and sending the target file to the corresponding service boards; the information module is used for verifying the target file by the service board and generating return information according to a verification result; and the management module is used for generating a management result of the target file based on the return information by the main frame main control board.
In an exemplary embodiment of the present disclosure, further comprising: the condition judgment module is used for acquiring file information of the target file by the main frame main control board; and judging whether the file information meets preset conditions, and generating error warning information when the file information does not meet the preset conditions.
In an exemplary embodiment of the present disclosure, further comprising: the capacity judging module is used for judging whether the residual space of all the service boards in the virtual switching matrix is larger than the capacity of the target file or not based on the file information; and generating error warning information when the residual space of the service board is smaller than the capacity of the target file.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the methods as described above.
According to an aspect of the present disclosure, a computer-readable medium is presented, on which a computer program is stored, which program, when being executed by a processor, implements a method as described above.
According to the file management method, the device, the electronic equipment and the computer readable medium of the virtual switching matrix, the main frame main control board downloads the target file; the main frame main control board and the standby frame main control board perform command synchronization so that the standby frame main control board downloads the target file; the main frame main control board and the standby frame main control board traverse the service boards under the main frame and send the target file to the corresponding service boards; the service board checks the target file and generates return information according to a checking result; the main frame main control board generates the management result of the target file based on the return information, can obtain the version downloading result of all frames in the virtual exchange matrix environment, avoids the situation that the user cannot know the version downloading failure of the standby frame, enriches page prompt information, enables the user to know the error reason of the version downloading failure in time, and aims at solving the problem.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the disclosed aspects may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another element. Accordingly, a first component discussed below could be termed a second component without departing from the teachings of the concepts of the present disclosure. As used herein, the term "and/or" includes any one of the associated listed items and all combinations of one or more.
Those skilled in the art will appreciate that the drawings are schematic representations of example embodiments and that the modules or flows in the drawings are not necessarily required to practice the present disclosure, and therefore, should not be taken to limit the scope of the present disclosure.
Fig. 1 is a system block diagram of a method, apparatus, electronic device, and computer-readable medium for file management of a virtual switching matrix, according to an exemplary embodiment.
As shown in fig. 1, thesystem architecture 10 of the virtual switching matrix may include amain frame master 101, mainframe service boards 102, 103, a plurality ofstandby frame master 105, 106, and a plurality of standbyframe service boards 107, 108, 109, 110. Network devices may also be included to provide a medium for communication links between themain frame master 101, the mainframe service boards 102, 103, the plurality ofspare frame master 105, 106, and the plurality of spareframe service boards 107, 108, 109, 110. The network devices may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The virtual switching matrix is a novel network device virtualization technology for virtualizing a plurality of network devices into one network device. In the prior art, operations such as device management and configuration in the frame device are performed on the master control, and version downloading is also performed. Firstly, version file information is acquired, and file names and equipment space judgment are carried out; acquiring a business board version file to a main control temporary directory; establishing socket communication with the service board to tell the service board that version file information needs to be received; transmitting the version file to the service board; the business board checks version files to prevent the files from being damaged; the switching and deleting of the version files are operated on the main control, and then the main control informs the service board through socket communication, and the service board completes corresponding operation.
Since in the VSM environment, the version download between different frames is performed by means of command synchronization, that is, the mainframe master board 101 only knows the own download condition of the frame, and does not know the version download condition of the multiple standbyframe master boards 105, 106 and theservice boards 107, 108, 109, 110 of the multiple standby frames. Thus, when the downloading of the backup frame version is problematic, the user does not know that the version has failed to be downloaded.
In the embodiment of the present disclosure, the main framemain control board 101 may, for example, download a target file; the main framemain control board 101 and the standby framemain control boards 105 and 106 perform command synchronization so that the standby framemain control boards 105 and 106 download the target file; the main framemain control board 101 and the standby framemain control boards 105 and 106 traverse the service boards under the frame and send the target files to thecorresponding service boards 102, 103, 107, 108, 109 and 110; thebusiness boards 102, 103, 107, 108, 109 and 110 check the target file and generate return information according to the check result; the main framemain control board 101 generates a management result of the target file based on the return information.
Before the main framemain control board 101 downloads the target file, for example, the main framemain control board 101 may also obtain file information of the target file; and judging whether the file information meets preset conditions, and generating error warning information when the file information does not meet the preset conditions.
Before the main framemain control board 101 downloads the target file, for example, it may further determine whether the remaining space of all service boards in thevirtual switch matrix 10 is greater than the capacity of the target file based on the file information; and generating error warning information when the residual space of the service board is smaller than the capacity of the target file.
Fig. 2 is a flow chart illustrating a method of file management of a virtual switching matrix, according to an exemplary embodiment. Thefile management method 20 of the virtual switch matrix at least includes steps S202 to S210.
As shown in fig. 2, in S202, the main frame main control board downloads the target file.
In S204, the main frame main control board and the standby frame main control board perform command synchronization to enable the standby frame main control board to download the target file. In the VSM environment, command synchronization is performed between the main frame and the standby frame, that is, the operation is performed on the main frame, and the standby frame also automatically performs the same operation, so that the version file is downloaded to the temporary directories of the main frame and the standby frame through the TCP protocol.
In S206, the main frame main control board and the standby frame main control board traverse the service boards under the present frame and send the target file to the corresponding service boards. The master control traverses all service boards of the frame, when judging that the service board type is the selected service board type, the master control establishes socket communication with the service board, and then sends information such as version file names, sizes and the like to the service board. The service board allocates space for the receiving buffer and places the received version file into the temporary directory.
In S208, the service board checks the target file and generates return information according to the check result. After the service board successfully receives the version file, it is checked again whether the partition space of the version file stored by the service board CF card is larger than the size of the version file. If the space of the business board is sufficient, the version file is moved from the temporary directory to the version file formal directory, otherwise, the information of insufficient space is returned, and the version file is deleted.
And the service board checks the version file and judges whether the file is complete or not and whether the file is matched with the type of the service board or not. If the version is downloaded as invalid, the service board returns information that the version is invalid to the master.
In S210, the main frame main control board generates a management result of the target file based on the return information. If the service board returns the information of invalid version, the main frame master control stores the information and continues to download the version to the next service board of the same type, and the standby frame master control stores the information and downloads the version to the next service board of the same type.
If the service board returns the information of insufficient space, the main frame master control stops downloading the version and returns corresponding error information. The backup frame master stores the information, stops version download, and returns corresponding error information.
If the service board returns the information of successful downloading, the main frame master control can continue to download the version to the next service board of the same type.
If all the service boards return information that the version is invalid, then the version is considered to be an invalid version. The main frame main control returns corresponding error information, and the standby frame main control stores the information and returns corresponding error information.
It should be noted that, at this time, although the frame master will return an error message, the frame master information cannot be actually sent to the page. So the error information of the standby frame master cannot be displayed on the page.
In one embodiment, the business board may perform version verification, integrity verification, and type verification on the target file, for example; and when the verification is inconsistent, generating error warning information and sending the error warning information to the main frame main control board and the standby frame main control board.
In one embodiment, for example, the main frame main control board stores the version invalidation information and continues the downloading operation when receiving the version invalidation information from the service board; and stopping the downloading operation when the main frame main control board receives the insufficient space information from the service board.
In one embodiment, for example, when the main frame main control board receives a download success message or version invalidation information from a service board, a command may be sent to the spare frame main control board to obtain return information of the service board under the spare frame main control board. Furthermore, when the main frame main control fails to connect the service board and the space of the service board is insufficient, downloading is stopped and error information is reported, and the main frame main control cannot acquire the downloading condition of the standby frame at the moment; and when the main frame master control is successfully downloaded or the version is invalid, actively sending a message to the standby frame master control to acquire a standby frame version downloading result.
The messages sent from the standby frames to the main frames are divided into the following types:
1. the download did not start
At this time, the main frame main control can wait for 3 seconds and then continue to send a request message to the main control of the standby frame, if the main control of the standby frame is still downloading a non-start mark, the main frame is considered to have no service board for downloading the target file;
2. the download is ongoing
At this time, the main control will enter circulation waiting, send information to the main control board of the standby frame every 3 seconds until the successful or failed information of the download is returned, and then continue to send request information to the next frame;
3. insufficient equipment space
At the moment, the main frame main control stops continuously acquiring the message and returns the slot number of the service board in the error message to the error output;
4. service board connection failure
At the moment, the main frame main control stops continuously acquiring the message and returns the slot number of the service board in the error message to the error output;
5. version invalidation
The main frame master control stores the information and continues to send a request message to the next standby frame;
6. successful download
The master frame master stores this information and continues to send request messages to the next slave frame.
After the above message is obtained, the main frame main control board needs to judge the result according to the downloaded results of all frame versions in the VSM environment, and specifically may, for example:
1. if all the frames subjected to version downloading return successful results, displaying 'successful version downloading' information on the page;
2. if only two kinds of information including successful downloading and invalid version are returned in the results returned by all frames subjected to version downloading, displaying 'partial version downloading success' information on the page, and needing a second verification by an administrator;
3. if all the frames subjected to version downloading return results which are version invalid, displaying 'version invalid' information on the page;
4. if the service board returns insufficient space, the page displays a 'service board space insufficient' message.
According to the file management method of the virtual switching matrix, a main frame main control board downloads a target file; the main frame main control board and the standby frame main control board perform command synchronization so that the standby frame main control board downloads the target file; the main frame main control board and the standby frame main control board traverse the service boards under the main frame and send the target file to the corresponding service boards; the service board checks the target file and generates return information according to a checking result; the main frame main control board generates the management result of the target file based on the return information, can obtain the version downloading result of all frames in the virtual exchange matrix environment, avoids the situation that the user cannot know the version downloading failure of the standby frame, enriches page prompt information, enables the user to know the error reason of the version downloading failure in time, and aims at solving the problem.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a flowchart illustrating a file management method of a virtual switching matrix according to another exemplary embodiment. Theflow 30 shown in fig. 3 is a complementary description to the flow shown in fig. 2.
As shown in fig. 3, in S302, the main frame main control board acquires file information of the target file. The target version can be selected by logging in a device page on the PC, entering a software version page corresponding to the service board in the device 'basic- > system management- > version management', and clicking and browsing at the 'local import version'.
In S304, it is determined whether the file information satisfies a preset condition, and when the preset condition is not satisfied, an error warning message is generated. The information such as the name, the size and the like of the file is acquired, and whether the file is a file of a preset type or not is firstly judged, and specifically, the file can be a bin file, and whether the size of the file is smaller than 200000KB or not. When the above condition is not satisfied, an error warning message is generated.
In S306, it is determined whether the remaining space of all service boards in the virtual switching matrix is greater than the capacity of the target file based on the file information. Because the information of all the service boards can be stored on the main control, the main control can directly judge whether the space is sufficient or not.
In S308, when the remaining space of the service board is smaller than the capacity of the target file, an error warning message is generated. The downloading of the target file may also be started, for example, when the remaining space of the service board is larger than the capacity of the target file.
Fig. 4 is a flowchart illustrating a file management method of a virtual switching matrix according to another exemplary embodiment. Theprocess 40 shown in fig. 4 is a detailed description of S206 "the main frame main control board and the standby frame main control board traverse the service boards under the present frame and send the target file to the corresponding service boards" in the process shown in fig. 2.
As shown in fig. 4, in S402, the main frame main control board and the standby frame main control board traverse the service boards under the present frame.
In S404, when the type of the service board is consistent with the target file, the main frame main control board and the standby frame main control board establish socket communication with the service board. Socket (communication) is an abstraction of endpoints that communicate bi-directionally between application processes on different hosts in a network. One socket is the end of the network where processes communicate, providing a mechanism for application layer processes to exchange data using network protocols. In terms of the position, the socket is connected with the application process in an upper mode, and the socket is connected with the network protocol stack in a lower mode, so that the socket is an interface for the application program to communicate through the network protocol, and is an interface for the application program to interact with the network protocol root.
In S406, when the socket communication is successfully established between the main frame main control board and the standby frame main control board and the corresponding service boards, the main frame main control board and the standby frame main control board send the target file to the corresponding service boards based on the socket communication.
Socket can be seen as an endpoint in the respective communication connection when two network applications communicate, which is a logical concept. It is an API (application programming interface) for inter-process communication in a network environment, and is also a communication endpoint that can be named and addressed, each socket in use having its type and a process connected to it. One of the network application programs writes a piece of information to be transmitted into a Socket of the main frame main control board or the standby frame main control board during communication, and the Socket sends the piece of information to a Socket of a service board corresponding to the main frame main control board or the standby frame main control board through a transmission medium connected with a Network Interface Card (NIC) so that the other party can receive the piece of information. Socket is a combination of IP address and port that provides a mechanism to deliver packets to application layer processes.
In S408, the main frame main control board and the standby frame main control board generate an error warning message when the socket communication established with the corresponding service board fails.
According to the file management method of the virtual switching matrix, version downloading results of all frames in a VSM environment are mastered through socket communication, the situation that a user cannot know the version downloading failure of a standby frame is avoided, page prompt information is enriched, the user can know error reasons of the version downloading failure in time, and the problem is solved in a targeted mode.
Those skilled in the art will appreciate that all or part of the steps implementing the above described embodiments are implemented as a computer program executed by a CPU. The above-described functions defined by the above-described methods provided by the present disclosure are performed when the computer program is executed by a CPU. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic disk or an optical disk, etc.
Furthermore, it should be noted that the above-described figures are merely illustrative of the processes involved in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating a file management apparatus of a virtual switching matrix according to an exemplary embodiment. As shown in fig. 5, thefile management apparatus 50 of the virtual switching matrix includes: adownload module 502, asynchronization module 504, asend module 506, aninformation module 508, and amanagement module 510.
Thedownloading module 502 is used for downloading the target file by the main frame main control board;
thesynchronization module 504 is configured to perform command synchronization on the main frame main control board and the standby frame main control board so that the standby frame main control board downloads the target file;
the sendingmodule 506 is configured to traverse the service boards under the main frame and the standby frame main control board and send the target file to the corresponding service boards;
theinformation module 508 is used for checking the target file by the service board and generating return information according to the checking result;
themanagement module 510 is configured to generate a management result of the target file based on the return information by using the main frame main control board.
Fig. 6 is a block diagram of a file management apparatus of a virtual switching matrix, according to another exemplary embodiment. As shown in fig. 6, thefile management apparatus 60 of the virtual switching matrix includes: acondition judgment module 602, acapacity judgment module 604.
Thecondition judgment module 602 is configured to obtain file information of the target file by using the main frame main control board; and judging whether the file information meets preset conditions, and generating error warning information when the file information does not meet the preset conditions.
Thecapacity judging module 604 is configured to judge whether remaining spaces of all service boards in the virtual switch matrix are greater than the capacity of the target file based on the file information; and generating error warning information when the residual space of the service board is smaller than the capacity of the target file.
According to the file management device of the virtual switching matrix, a main frame main control board downloads a target file; the main frame main control board and the standby frame main control board perform command synchronization so that the standby frame main control board downloads the target file; the main frame main control board and the standby frame main control board traverse the service boards under the main frame and send the target file to the corresponding service boards; the service board checks the target file and generates return information according to a checking result; the main frame main control board generates the management result of the target file based on the return information, can obtain the version downloading result of all frames in the virtual exchange matrix environment, avoids the situation that the user cannot know the version downloading failure of the standby frame, enriches page prompt information, enables the user to know the error reason of the version downloading failure in time, and aims at solving the problem.
Fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Anelectronic device 700 according to such an embodiment of the present disclosure is described below with reference to fig. 7. Theelectronic device 700 shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 7, theelectronic device 700 is embodied in the form of a general purpose computing device. Components ofelectronic device 700 may include, but are not limited to: at least oneprocessing unit 710, at least onememory unit 720, abus 730 connecting the different system components (including thememory unit 720 and the processing unit 710), adisplay unit 740, and the like.
Wherein the storage unit stores program code that is executable by theprocessing unit 710 such that theprocessing unit 710 performs steps described in the present specification according to various exemplary embodiments of the present disclosure. For example, theprocessing unit 710 may perform the steps as shown in fig. 2, 3, and 4.
Thememory unit 720 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 7201 and/orcache memory 7202, and may further include Read Only Memory (ROM) 7203.
Thestorage unit 720 may also include a program/utility 7204 having a set (at least one) ofprogram modules 7205,such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 730 may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
Theelectronic device 700 may also communicate with one or more external devices 700' (e.g., keyboard, pointing device, bluetooth device, etc.), devices that enable a user to interact with theelectronic device 700, and/or any devices (e.g., routers, modems, etc.) with which theelectronic device 700 can communicate with one or more other computing devices. Such communication may occur through an input/output (I/O)interface 750. Also,electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, throughnetwork adapter 760.Network adapter 760 may communicate with other modules ofelectronic device 700 viabus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection withelectronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, as shown in fig. 8, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-described method according to the embodiments of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The computer-readable medium carries one or more programs, which when executed by one of the devices, cause the computer-readable medium to perform the functions of: the main frame main control board downloads the target file; the main frame main control board and the standby frame main control board perform command synchronization so that the standby frame main control board downloads the target file; the main frame main control board and the standby frame main control board traverse the service boards under the main frame and send the target file to the corresponding service boards; the service board checks the target file and generates return information according to a checking result; and the main frame main control board generates a management result of the target file based on the return information.
Those skilled in the art will appreciate that the modules may be distributed throughout several devices as described in the embodiments, and that corresponding variations may be implemented in one or more devices that are unique to the embodiments. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and include several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that this disclosure is not limited to the particular arrangements, instrumentalities and methods of implementation described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.