CN113434467B - Network file transmission method, device and computer readable storage medium - Google Patents

Network file transmission method, device and computer readable storage medium Download PDF

Info

Publication number
CN113434467B
CN113434467B CN202110601698.2A CN202110601698A CN113434467B CN 113434467 B CN113434467 B CN 113434467B CN 202110601698 A CN202110601698 A CN 202110601698A CN 113434467 B CN113434467 B CN 113434467B
Authority
CN
China
Prior art keywords
file
transmitted
transmission
output system
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110601698.2A
Other languages
Chinese (zh)
Other versions
CN113434467A (en
Inventor
陈相晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202110601698.2A priority Critical patent/CN113434467B/en
Publication of CN113434467A publication Critical patent/CN113434467A/en
Application granted granted Critical
Publication of CN113434467B publication Critical patent/CN113434467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a network file transmission method, a network file transmission device and a computer readable storage medium. When the BMC detects webpage login information of an authorized user, displaying a user interface corresponding to the baseboard management controller, and uploading a file to be transmitted to a storage space of the BMC through the interface by the user. And the BMC sends a storage file transmission instruction to the basic input and output system, and sets a transmission destination end of the file to be transmitted through a function setting page of the basic input and output system. The file to be transmitted is read through the basic input and output system and written into the transmission destination end, so that any type of network file can be remotely transmitted on the basis of being separated from an OS, and the transmission efficiency of the network file is not affected.

Description

Network file transmission method, device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a network file transmission method, a network file transmission device, and a computer readable storage medium.
Background
At present, remote file transmission to a server through a network is realized by relying on an OS (operation system), and the data transmission modes include: if the server side has a user, the user at the server side establishes a connection with the user at the file sending side through software such as social software or a network disk and the like under the OS system, and then the remote file transmission is carried out. If the server does not work, the user at the file sending end logs into the BMC (Baseboard Manager Controller, baseboard management controller) Web and remotely operates through KVM (Keyboard Video Mouse, keyboard, video and mouse). The method directly executes the same operation as the user at the server end in the server, carries out network link with the transmitting end through software under the OS of the remote operation system, and then carries out remote file document transmission.
However, in some special environments, when files such as files or diagnostic tools need to be remotely transmitted to a server through a network, for example, a system is damaged, or a system is not installed in a production line, the above data transmission manner by relying on an OS obviously cannot be directly used. Even if the BMC Web has a similar mode of remote file transmission, the remote firmware refreshing can be carried out by separating from the OS. Specifically, the firmware version of the BMC, BIOS (i.e., basic Input Output System, basic input output system) or CPLD (i.e., complex Programmable Logic Device, complex programmable logic device) may be uploaded over a network for updating the BMC, BIOS and CPLD versions, but the designated file cannot be transferred. Based on the function of remote installation system mirror image under BMC Web, related technicians can only log in the BMC Web to install OS first and then repeat the two data transmission modes. The remote installation of the system mirror image requires a long time, resulting in low file transfer efficiency and sometimes missing the best file transfer opportunity.
In view of this, how to realize remote transmission of any type of network file on the basis of leaving the OS without affecting the transmission efficiency of the network file is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application provides a network file transmission method, a network file transmission device and a computer readable storage medium, which can realize remote transmission of any type of network file on the basis of being separated from an OS (operating system) without influencing the transmission efficiency of the network file.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
in one aspect, an embodiment of the present application provides a network file transmission method, including:
when the webpage login information of an authorized user is detected, displaying a user interface corresponding to a baseboard management controller, and uploading a file to be transmitted to the baseboard management controller through the user interface;
transmitting a stored file transmission instruction to a basic input/output system, and setting a transmission destination end of the file to be transmitted through a function setting page of the basic input/output system;
and reading the file to be transmitted through the basic input and output system, and writing the file to the transmission destination terminal.
Optionally, when detecting the web page login information of the authorized user, displaying a user interface corresponding to the baseboard management controller includes:
when the current login user is verified to be an authorized user allowed to login the webpage of the baseboard management controller, displaying the user interface to the user;
when a file uploading instruction issued by a user is detected, judging whether the file to be transmitted meets the file uploading requirement;
and if the file to be transmitted meets the file uploading requirement, uploading the file to be transmitted from the user side to the storage space of the baseboard management controller.
Optionally, the process of sending a file transmission command to the bios and setting the transmission destination of the file to be transmitted through a function setting page of the bios includes:
when the uploading of the file to be transmitted is detected to be successful, a flag bit writing command is transmitted to the storage of the substrate input-output system, and a server restarting operation instruction is sent at the same time;
judging whether to modify the function setting page or not through the read storage transmission zone bit in the restarting process of the server;
if the storage transmission flag bit is used for identifying that the file to be transmitted exists, adding file transmission options in the function setting page;
and filling the transmission destination terminal information at the corresponding position of the file transmission option according to the received destination terminal setting instruction.
Optionally, the setting, by the function setting page of the bios, the transmission destination of the file to be transmitted includes:
the substrate input/output system generates a storage device list allowing write operation in a file transmission option of the function setting page by reading current hardware storage information;
and determining the information of the transmission destination end by analyzing a storage device selection instruction input by a user.
Optionally, after the file to be transmitted is read by the bios and written to the transmission destination, the method further includes:
when the uploading of the file to be transmitted is detected to be successful, writing a command for writing a flag bit into the storage transmission flag bit of the substrate input and output system again, so that the current transmission flag bit is set to be a value for identifying that the file to be transmitted does not exist.
Optionally, the reading the file to be transmitted through the bios and writing the file to the transmission destination includes:
the basic input/output system performs writing operation on the corresponding selected storage device by reading the transmission file of the storage space appointed by the baseboard management controller;
when the file to be transmitted starts to be transmitted, displaying the current transmission progress in the function setting page in the form of a progress bar, and prompting that the power-off operation cannot be performed during the file transmission period;
and when the file to be transmitted is transmitted, displaying file transmission completion prompt information in the function setting page.
Optionally, after the writing to the transmission destination end, the method further includes:
and deleting the network file to be transmitted from the storage space of the baseboard management controller when the network file to be transmitted is detected to be successfully written into the transmission destination terminal.
Another aspect of the embodiment of the present application provides a network file transmission device, including:
the login module is used for displaying a user interface corresponding to the baseboard management controller when the webpage login information of the authorized user is detected, so that a file to be transmitted is uploaded to the baseboard management controller through the user interface;
the parameter setting module is used for sending a stored file transmission instruction to the basic input and output system and setting a transmission destination end of the file to be transmitted through a function setting page of the basic input and output system;
and the file transmission module is used for reading the file to be transmitted through the basic input and output system and writing the file to the transmission destination terminal.
The embodiment of the application also provides a network file transmission device, which comprises a processor, wherein the processor is used for realizing the steps of the network file transmission method when executing the computer program stored in the memory.
The embodiment of the application finally provides a computer readable storage medium, wherein the computer readable storage medium stores a network file transmission program, and the network file transmission program realizes the steps of the network file transmission method according to any one of the previous steps when being executed by a processor.
The technical scheme provided by the application has the advantages that the network files to be transmitted are stored in the storage space of the BMC in advance, and the BIOS is informed of the tasks of the files to be transmitted remotely. The transmission of any type of network file is realized through the communication between the BMC and the BIOS and the writing function of the BIOS to storage devices such as a hard disk, the system OS is not required to be relied on, extra operation burden is not brought to a user, and the transmission efficiency of the network file is not influenced. Compared with the current situation that the network file transmission is realized by depending on an OS, the method has more application occasions, stronger practicability and higher file transmission efficiency. And the login of the BMC Web requires a user name and a password, so that the security of the whole network file transmission process can be ensured.
In addition, the embodiment of the application also provides a corresponding implementation device and a computer readable storage medium for the network file transmission method, so that the method has more practicability, and the device and the computer readable storage medium have corresponding advantages.
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.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the related art, the drawings that are required to be used in the embodiments or the description of the related art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a flow chart of a network file transmission method according to an embodiment of the present application;
fig. 2 is a flow chart of another network file transmission method according to an embodiment of the present application;
fig. 3 is a flowchart of another network file transmission method according to an embodiment of the present application;
fig. 4 is a flowchart of another network file transmission method according to an embodiment of the present application;
FIG. 5 is a block diagram of a network file transfer device according to an embodiment of the present application;
fig. 6 is a block diagram of another embodiment of a network file transmission device according to an embodiment of the present application.
Detailed Description
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of embodiments of the present application, various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a flow chart of a network file transmission method provided by an embodiment of the present application, where an execution subject of the embodiment of the present application is a BMC, and the following is executed by using the BMC as the subject:
s101: when the webpage login information of the authorized user is detected, a user interface corresponding to the baseboard management controller is displayed, so that the file to be transmitted is uploaded to the baseboard management controller through the user interface.
In this step, when the user needs to transmit the network file, the user logs in the BMC Web first, that is, the user accesses the BMC module by using the Web module in a browser mode, and manages the server in a Web page form and in a visualized operation. When logging in a web page, a user name, a user account and a password are required to be input in a login interface, after the user account and the password are both verified to be correct, the current application login user is proved to be an authorized user, a corresponding user interface is displayed for the authorized user, the user interface is also a web page, and in the web page, a user uploads a file to be transmitted by clicking related options such as an uploading file option. After the user selects the file to be transmitted through the webpage, the webpage can transmit the file local to the user terminal from the local to the memory space of the BMC through the network terminal.
S102: and sending a stored file transmission instruction to the basic input/output system, and setting a transmission destination end of the file to be transmitted through a function setting page of the basic input/output system.
It will be appreciated that the BIOS has read and write capabilities to the file system or storage device during the system boot phase, such as a server. The storage file transmission instruction is used for indicating that a file to be transmitted exists in the BMC storage space, and the file to be transmitted is transmitted through the BIOS, so that the BIOS needs to be notified, and after receiving the storage file transmission instruction, the BIOS sets related matters related to file setting in the function setting page. The function setting page of the BIOS may be entered during the system start-up process, so that the system, such as a server, may be restarted by the BMC Web, and then the BIOS SETUP (i.e., a setting menu of each function under the BIOS, which may also be referred to as a function setting page) may be remotely entered by using a function, such as a KVM function, in the BMC Web, and a location, i.e., a transmission destination, to which a corresponding file is to be transmitted, is selected through the page, i.e., a destination location to which a file to be transmitted is to be transmitted through a network, such as a hard disk of the server or an external USB device.
S103: and reading the file to be transmitted through the basic input and output system, and writing the file to the transmission destination terminal.
After the BIOS determines that the BMC has a task of transmitting a file, the BMC reads the file to be transmitted from the storage space of the BMC through the BIOS and writes the file into a specified position. The existing BMC WEB function is combined with the read-write function of the BIOS on the hard disk. The method for transmitting the network file separated from the OS can be applied to more scenes, and is safer and more efficient.
In the technical scheme provided by the embodiment of the application, the network file to be transmitted is pre-stored in the storage space of the BMC, and the BIOS is informed of the task of remotely transmitting the file. The transmission of any type of network file is realized through the communication between the BMC and the BIOS and the writing function of the BIOS to storage devices such as a hard disk, the system OS is not required to be relied on, extra operation burden is not brought to a user, and the transmission efficiency of the network file is not influenced. Compared with the current situation that the network file transmission is realized by depending on an OS, the method has more application occasions, stronger practicability and higher file transmission efficiency. And the login of the BMC Web requires a user name and a password, so that the security of the whole network file transmission process can be ensured.
In the above embodiment, how to execute step S101 is not limited, and an implementation manner of file uploading is provided in this embodiment, as shown in fig. 2, may include the following steps:
s111: and when the current login user is verified to be an authorized user allowed to login the webpage of the baseboard management controller, a user interface is displayed for the user.
S112: when a file uploading instruction issued by a user is detected, judging whether the file to be transmitted meets the file uploading requirement.
It can be understood that the memory space of the BMC is limited, and the file to be transmitted needs to be stored in the memory space of the BMC, so before uploading the file, the BMC analyzes the uploaded file, detects the size of the file, and in order to ensure that the BMC operates normally, the size of the file cannot be excessively large or at least cannot exceed the size of the allowable memory space of the BMC, if the size meets the requirement, uploading can be started, and if the size of the file is excessively large, the file is prompted to be excessively large on the web page and cannot be transmitted.
S113: and if the file to be transmitted meets the file uploading requirement, uploading the file to be transmitted from the user side to the storage space of the baseboard management controller.
The user transmits the allowable uploading file from the local to the memory space of the BMC through the network terminal.
According to the method and the device for uploading the file, the file to be transmitted can be guaranteed to be uploaded to the destination end smoothly through analysis of the uploaded file, and file transmission efficiency and accuracy are further improved.
The embodiment described above is not limited to the implementation of S102, and the present application further provides another implementation, referring to fig. 3, which may include:
s211: when the uploading success of the file to be transmitted is detected, a flag bit writing command is transmitted to the storage of the substrate input and output system, and meanwhile a server restarting operation instruction is sent.
In this embodiment, whether a network file to be transmitted exists or not may be identified by setting a value of a storage transmission FLAG bit of the BIOS, for example, tran_flag is a storage transmission FLAG bit of the BIOS, after transmission of a file to be transmitted is completed, the BMC transmits a FLAG bit write command to the storage of the BIOS, and the BIOS sets tran_flag to 1 to identify the file to be transmitted. If BIOS sets TRAN_FLAG to 0, it identifies that there are no files to be transferred.
S212: in the restarting process of the server, judging whether to modify the function setting page or not through the read storage transmission flag bit.
In the last step, the server is restarted through the BMC Web. Because the current state of the server system has already run the BIOS phase at this time, and without the OS, it may have already run the system boot phase at this time, there is a need to restart the server, allow the BIOS to restart, read the tran_flag FLAG bit, and enter the BIOS SETUP. The server is started, and the BIOS reads the value of the FLAG bit TRAN_FLAG. The BIOS can enter the BIOS SETUP through the KVM function of the BMC Web, the BIOS modifies the SETUP option through the TRAN_FLAG value, and if the SETUP option is 1, the file transmission option appears; if the value is 0, the related option appears and the normal state is maintained.
S213: if the storage transmission flag bit is used for identifying that the file to be transmitted exists, adding file transmission options in the function setting page.
S214: and filling transmission destination information at the corresponding position of the file transmission option according to the received destination setting instruction.
And the BIOS performs write operation on the corresponding selected storage device by reading the transmission file of the specified storage space of the BMC.
As an optional implementation manner of this embodiment, in order to facilitate the use of the user, to improve the use experience of the user, based on the foregoing embodiment, the method may further include:
the substrate input/output system generates a storage device list allowing write operation in a file transmission option of the function setting page by reading the current hardware storage information; and determining the information of the transmission destination end by analyzing the storage device selection instruction input by the user.
In this embodiment, the file transfer option is selected by the KVM function of the BMC Web, and the BIOS reads the current hardware storage information, and at this time, the storage devices such as the hard disk and the usb disk have been enumerated, and the BIOS can identify and write the current storage device, which can list the storage device list capable of performing the writing operation in the location selection area in the file transfer option of the function setting page, so as to be selected by the user.
As another optional implementation manner of this embodiment, after the file to be transmitted is read by the basic input/output system and written into the transmission destination end, when it is detected that the file to be transmitted is uploaded successfully, a flag bit writing command is transmitted again to the storage of the substrate input/output system, so as to set the current transmission flag bit to a value identifying that the file to be transmitted does not exist.
In this embodiment, if the tran_flag set 1 identifies a file to be transferred, after completing the transfer task of the file to be transferred, the BMC may transfer a FLAG bit write command to the storage of the BIOS to set tran_flag to 0. The BIOS SETUP interface is restarted, options related to file transmission disappear, and the BIOS SETUP is restored to a normal state.
In the above embodiment, how to perform the step S103 is not limited, and one implementation of the step is given in this embodiment, as shown in fig. 3, may include the following steps:
s311: the basic input/output system reads the transmission file of the storage space appointed by the baseboard management controller and performs writing operation on the corresponding selected storage equipment;
s312: when a file to be transmitted starts to be transmitted, displaying the current transmission progress in a function setting page in the form of a progress bar, and prompting that the power-off operation cannot be performed during the file transmission period;
in this step, after the document starts to be transmitted, the BIOS SETUP may show the current transmission progress to the user in the form of a progress bar, and prompt the user that the operations such as power-off cannot be performed during the period. If the current progress is interrupted but the power is not forced to be off, the BIOS interrupts file transmission and resumes the written storage device to an unwritten state. The user can select the writing device under the SETUP again, or the operation such as normal open and shutdown is not carried out at this time, the BIOS keeps the current file state, and the selection of the storage device can be carried out continuously in the subsequent process.
S313: and when the file to be transmitted is transmitted, displaying file transmission completion prompt information in the function setting page.
After the document is transmitted, the BIOS SETUP prompts the user that the transmission is completed, normal operation can be restored, if the same file is transmitted to other storage positions, operation can be continued, if the transmission is completed, a transmission completion option is selected, at the moment, the BIOS sends a transmission completed instruction to the BMC,
the embodiment can further prompt the user to use the experience by displaying the progress information and the prompt information to the user.
In order to ensure that the system can perform stable and efficient network transmission on the file, based on the embodiment, the network file to be transmitted is deleted from the storage space of the baseboard management controller when the successful writing of the network file to be transmitted into the transmission destination terminal is detected.
When the BMC receives the instruction that the BIOS finishes sending, the BMC deletes the transmission file in the storage space, the whole process is finished, the BMC Web related browser option resumes the state before uploading the file, and the user can remotely continue to operate under the KVM of the BMC Web at the moment, for example, the transmission file is an application program under the Shell. Thus, the application program can be directly put into Shell to run for the diagnosis of the current situation. Shell is a user interface of the system and provides an interface for a user to interact with the kernel.
Of course, in this embodiment, files in the BMC storage space may not be deleted, a new file may be used to replace an old file, and a new uploading mode is used to cover an original file with a file to be transmitted, which is convenient to operate and is beneficial to improving user experience.
It should be noted that, in the present application, the steps are not strictly executed sequentially, so long as they conform to the logic sequence, the steps may be executed simultaneously, or may be executed according to a certain preset sequence, and fig. 1-4 are only schematic, and do not represent only such an execution sequence.
The embodiment of the application also provides a corresponding device for the network file transmission method, so that the method has higher practicability. Wherein the device may be described separately from the functional module and the hardware. The network file transmission device provided by the embodiment of the present application is described below, and the network file transmission device described below and the network file transmission method described above may be referred to correspondingly.
Based on the angle of the functional modules, referring to fig. 5, fig. 5 is a block diagram of a network file transmission device provided by an embodiment of the present application under a specific implementation manner, where the device may include:
the login module 501 is configured to display a user interface corresponding to the baseboard management controller when detecting web login information of an authorized user, so as to upload a file to be transmitted to the baseboard management controller through the user interface.
The parameter setting module 502 is configured to send a file transmission command to the bios, and set a destination end of a file to be transmitted through a function setting page of the bios.
The file transmission module 503 is configured to read a file to be transmitted through the bios and write the file to the transmission destination.
Optionally, in some implementations of this embodiment, the login module 501 may be further configured to: when the current login user is verified to be an authorized user allowed to login the webpage of the baseboard management controller, a user interface is displayed for the user; when a file uploading instruction issued by a user is detected, judging whether a file to be transmitted meets the file uploading requirement; and if the file to be transmitted meets the file uploading requirement, uploading the file to be transmitted from the user side to the storage space of the baseboard management controller.
Optionally, in other implementations of this embodiment, the parameter setting module 502 may be further configured to: when the uploading success of the file to be transmitted is detected, a storage transmission zone bit writing command of the substrate input and output system is transmitted, and meanwhile a server restarting operation command is sent; judging whether to modify the function setting page or not through the read storage transmission flag bit in the restarting process of the server; if the storage transmission flag bit is used for identifying that the file to be transmitted exists, adding file transmission options in the function setting page; and filling transmission destination information at the corresponding position of the file transmission option according to the received destination setting instruction.
As an alternative implementation of this embodiment, the parameter setting module 502 may be further configured to: the substrate input/output system generates a storage device list allowing write operation in a file transmission option of the function setting page by reading the current hardware storage information; and determining the information of the transmission destination end by analyzing the storage device selection instruction input by the user.
As another alternative implementation of this embodiment, the parameter setting module 502 may be further configured to: when the uploading of the file to be transmitted is detected to be successful, writing a command for writing a flag bit into the storage transmission flag bit of the substrate input and output system again, so that the current transmission flag bit is set to be a value for identifying that the file to be transmitted does not exist.
Optionally, in some other implementations of this embodiment, the file transfer module 503 may be further configured to: the basic input/output system reads the transmission file of the storage space appointed by the baseboard management controller and performs writing operation on the corresponding selected storage equipment; when a file to be transmitted starts to be transmitted, displaying the current transmission progress in a function setting page in the form of a progress bar, and prompting that the power-off operation cannot be performed during the file transmission period; and when the file to be transmitted is transmitted, displaying file transmission completion prompt information in the function setting page.
As another optional implementation manner of this embodiment, the foregoing apparatus may further include a deletion module, for deleting the network file to be transferred from the storage space of the baseboard management controller when it is detected that the network file to be transferred is successfully written into the destination end of the transfer.
The functions of each functional module of the network file transmission device according to the embodiment of the present application may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
From the above, the embodiment of the application realizes remote transmission of any type of network file on the basis of being separated from the OS, and does not affect the transmission efficiency of the network file.
The network file transmission device mentioned above is described from the viewpoint of functional modules, and further, the present application also provides a network file transmission device, which is described from the viewpoint of hardware. Fig. 6 is a block diagram of another network file transmission device according to an embodiment of the present application. As shown in fig. 6, the apparatus comprises a memory 60 for storing a computer program; a processor 61 for implementing the steps of the network file transfer method as mentioned in any of the above embodiments when executing a computer program.
Processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 61 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 61 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 61 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 60 may include one or more computer-readable storage media, which may be non-transitory. Memory 60 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 60 is at least used for storing a computer program 601, which, when loaded and executed by the processor 61, is capable of implementing the relevant steps of the network file transfer method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 60 may further include an operating system 602, data 603, and the like, where the storage manner may be transient storage or permanent storage. The operating system 602 may include Windows, unix, linux, among other things. The data 603 may include, but is not limited to, data corresponding to the network file transfer result, and the like.
In some embodiments, the network file transfer device may further include a display 62, an input/output interface 63, a communication interface 64, alternatively referred to as a network interface, a power supply 65, and a communication bus 66. Among other things, the display 62, input output interface 63 such as a Keyboard (Keyboard) pertain to a user interface, which may optionally also include standard wired interfaces, wireless interfaces, etc. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit as appropriate for displaying information processed in the network file transfer device and for displaying a visual user interface. The communication interface 64 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between the network file transfer device and other electronic devices. The communication bus 66 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not limiting of the network file transfer device and may include more or fewer components than shown, for example, may also include sensors 67 to perform various functions.
The functions of each functional module of the network file transmission device according to the embodiment of the present application may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
From the above, the embodiment of the application realizes remote transmission of any type of network file on the basis of being separated from the OS, and does not affect the transmission efficiency of the network file.
It will be appreciated that if the network file transfer method in the above embodiments is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in part or in whole or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), an electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, a magnetic disk, or an optical disk, etc. various media capable of storing program codes.
Based on this, an embodiment of the present application further provides a computer readable storage medium storing a network file transfer program, where the network file transfer program is executed by a processor, and the steps of the network file transfer method according to any one of the embodiments above are described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method, the device and the computer readable storage medium for transmitting the network file provided by the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.

Claims (9)

1. A network file transfer method, comprising:
when the webpage login information of an authorized user is detected, displaying a user interface corresponding to a baseboard management controller, and uploading a file to be transmitted to the baseboard management controller through the user interface;
transmitting a stored file transmission instruction to a basic input/output system, so that the basic input/output system sets corresponding matters with file setting in a function setting page after receiving the stored file transmission instruction, and setting a transmission destination end of the file to be transmitted through the function setting page of the basic input/output system;
reading the file to be transmitted through the basic input and output system, and writing the file to the transmission destination;
the process of sending a stored file transmission instruction to a basic input/output system and setting a transmission destination end of the file to be transmitted through a function setting page of the basic input/output system includes:
when the uploading of the file to be transmitted is detected to be successful, a flag bit writing command is transmitted to the storage of the substrate input-output system, and a server restarting operation instruction is sent at the same time;
judging whether to modify the function setting page or not through the read storage transmission zone bit in the restarting process of the server;
if the storage transmission flag bit is used for identifying that the file to be transmitted exists, adding file transmission options in the function setting page;
and filling the transmission destination terminal information at the corresponding position of the file transmission option according to the received destination terminal setting instruction.
2. The network file transmission method according to claim 1, wherein when the web page login information of the authorized user is detected, displaying a user interface corresponding to the baseboard management controller includes:
when the current login user is verified to be an authorized user allowed to login the webpage of the baseboard management controller, displaying the user interface to the user;
when a file uploading instruction issued by a user is detected, judging whether the file to be transmitted meets the file uploading requirement;
and if the file to be transmitted meets the file uploading requirement, uploading the file to be transmitted from the user side to the storage space of the baseboard management controller.
3. The network file transmission method according to claim 1, wherein the setting the transmission destination of the file to be transmitted through the function setting page of the basic input output system includes:
the substrate input/output system generates a storage device list allowing write operation in a file transmission option of the function setting page by reading current hardware storage information;
and determining the information of the transmission destination end by analyzing a storage device selection instruction input by a user.
4. The network file transmission method according to claim 1, wherein after the file to be transmitted is read by the bios and written to the transmission destination, the method further comprises:
when the uploading of the file to be transmitted is detected to be successful, writing a command for writing a flag bit into the storage transmission flag bit of the substrate input and output system again, so that the current transmission flag bit is set to be a value for identifying that the file to be transmitted does not exist.
5. The network file transmission method according to any one of claims 1 to 4, wherein the reading the file to be transmitted through the bios and writing it to the transmission destination includes:
the basic input/output system performs writing operation on the corresponding selected storage device by reading the transmission file of the storage space appointed by the baseboard management controller;
when the file to be transmitted starts to be transmitted, displaying the current transmission progress in the function setting page in the form of a progress bar, and prompting that the power-off operation cannot be performed during the file transmission period;
and when the file to be transmitted is transmitted, displaying file transmission completion prompt information in the function setting page.
6. The network file transmission method according to claim 5, further comprising, after writing it to the transmission destination:
and deleting the network file to be transmitted from the storage space of the baseboard management controller when the network file to be transmitted is detected to be successfully written into the transmission destination terminal.
7. A network file transfer device, comprising:
the login module is used for displaying a user interface corresponding to the baseboard management controller when the webpage login information of the authorized user is detected, so that a file to be transmitted is uploaded to the baseboard management controller through the user interface;
the parameter setting module is used for sending a stored file transmission instruction to the basic input/output system so that the basic input/output system sets corresponding matters with file setting in a function setting page after receiving the stored file transmission instruction, and sets a transmission destination end of the file to be transmitted through the function setting page of the basic input/output system;
the file transmission module is used for reading the file to be transmitted through the basic input/output system and writing the file to the transmission destination end;
wherein the parameter setting module is further configured to:
when the uploading of the file to be transmitted is detected to be successful, a flag bit writing command is transmitted to the storage of the substrate input-output system, and a server restarting operation instruction is sent at the same time;
judging whether to modify the function setting page or not through the read storage transmission zone bit in the restarting process of the server;
if the storage transmission flag bit is used for identifying that the file to be transmitted exists, adding file transmission options in the function setting page;
and filling the transmission destination terminal information at the corresponding position of the file transmission option according to the received destination terminal setting instruction.
8. A network file transfer device comprising a processor for implementing the steps of the network file transfer method according to any one of claims 1 to 6 when executing a computer program stored in a memory.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a network file transfer program which, when executed by a processor, implements the steps of the network file transfer method according to any one of claims 1 to 6.
CN202110601698.2A 2021-05-31 2021-05-31 Network file transmission method, device and computer readable storage medium Active CN113434467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110601698.2A CN113434467B (en) 2021-05-31 2021-05-31 Network file transmission method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110601698.2A CN113434467B (en) 2021-05-31 2021-05-31 Network file transmission method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113434467A CN113434467A (en) 2021-09-24
CN113434467B true CN113434467B (en) 2023-09-05

Family

ID=77804211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110601698.2A Active CN113434467B (en) 2021-05-31 2021-05-31 Network file transmission method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113434467B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442157B (en) * 2022-11-03 2023-03-24 杭州乾冠数字物联技术有限公司 Network security transmission method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089898A (en) * 2018-01-16 2018-05-29 郑州云海信息技术有限公司 The method, apparatus and system of a kind of upgrading BIOS
CN108170451A (en) * 2017-12-28 2018-06-15 曙光信息产业股份有限公司 A kind of method and system of server B MC controls bios version upgrading
CN109032979A (en) * 2018-06-04 2018-12-18 郑州云海信息技术有限公司 Document transmission method, device, equipment and storage medium between a kind of BMC
CN109857466A (en) * 2018-11-29 2019-06-07 新华三技术有限公司 BIOS collocation method, device, server and computer readable storage medium
CN111061338A (en) * 2019-11-30 2020-04-24 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN111104147A (en) * 2019-12-25 2020-05-05 浪潮商用机器有限公司 BMC upgrading method, device, terminal and storage medium
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10698923B2 (en) * 2009-06-11 2020-06-30 Talari Networks, Inc. Methods and apparatus for providing adaptive private network database schema migration and management processes
US9846617B2 (en) * 2015-05-07 2017-12-19 Dell Products, Lp System and method for self-healing basic input/output system boot image and secure recovery

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170451A (en) * 2017-12-28 2018-06-15 曙光信息产业股份有限公司 A kind of method and system of server B MC controls bios version upgrading
CN108089898A (en) * 2018-01-16 2018-05-29 郑州云海信息技术有限公司 The method, apparatus and system of a kind of upgrading BIOS
CN109032979A (en) * 2018-06-04 2018-12-18 郑州云海信息技术有限公司 Document transmission method, device, equipment and storage medium between a kind of BMC
CN109857466A (en) * 2018-11-29 2019-06-07 新华三技术有限公司 BIOS collocation method, device, server and computer readable storage medium
CN111061338A (en) * 2019-11-30 2020-04-24 苏州浪潮智能科技有限公司 Method, system and equipment for updating time sequence of baseboard management controller
CN111104147A (en) * 2019-12-25 2020-05-05 浪潮商用机器有限公司 BMC upgrading method, device, terminal and storage medium
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113434467A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
US10514930B2 (en) Setting a startup parameter and controlling startup of a mainboard
CN109034394B (en) Updating method and device of machine learning model
CN109388604B (en) Hot plug control method, device and storage medium based on PCIe
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
CN112882734B (en) Upgrading method and device, computer equipment and medium
CN113434467B (en) Network file transmission method, device and computer readable storage medium
CN113760332A (en) Software upgrading method and electronic equipment
CN110727595B (en) Application login interface identification method, intelligent terminal and storage medium
CN113687779B (en) Data migration method, device, electronic equipment and readable storage medium
CN113342590B (en) NVMe device debugging function implementation method, device, equipment and storage medium
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
CN114282686A (en) Method and system for constructing machine learning modeling process
JP2006190061A (en) Information processor and information processing method
CN109522174B (en) Method, device, terminal and storage medium for controlling adb enabling
CN110543113A (en) robot hardware assembling and managing method, device, medium, system, front-end assembling client and robot body operation system
CN115357355A (en) Method, device and equipment for software cross-system migration and readable storage medium
CN113641929B (en) Page rendering method, device, electronic equipment and computer readable storage medium
CN111124730B (en) Error positioning method and device of server and computer storage medium
CN113360379B (en) Program test environment creation method and program test environment creation apparatus
CN115185745A (en) Data processing method, system, electronic device and computer readable storage medium
CN113849229A (en) Server starting method and device, electronic equipment and readable storage medium
CN114442930A (en) Method and device for controlling group disk array, electronic equipment and readable storage medium
CN108960433B (en) Method and system for running machine learning modeling process
KR20170106029A (en) Electronic device and controlling method thereof
US10545858B2 (en) Method for testing a graphical interface and corresponding test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant