CN110377284A - A kind of method and apparatus and equipment based on UEFI Shell graphical interfaces operation file - Google Patents

A kind of method and apparatus and equipment based on UEFI Shell graphical interfaces operation file Download PDF

Info

Publication number
CN110377284A
CN110377284A CN201910651999.9A CN201910651999A CN110377284A CN 110377284 A CN110377284 A CN 110377284A CN 201910651999 A CN201910651999 A CN 201910651999A CN 110377284 A CN110377284 A CN 110377284A
Authority
CN
China
Prior art keywords
file
graphical interfaces
extensible firmware
universal extensible
firmware interface
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.)
Granted
Application number
CN201910651999.9A
Other languages
Chinese (zh)
Other versions
CN110377284B (en
Inventor
周盛青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tong Yi Yi Information Technology Co Ltd
Original Assignee
Shenzhen Tong Yi Yi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tong Yi Yi Information Technology Co Ltd filed Critical Shenzhen Tong Yi Yi Information Technology Co Ltd
Priority to CN201910651999.9A priority Critical patent/CN110377284B/en
Publication of CN110377284A publication Critical patent/CN110377284A/en
Application granted granted Critical
Publication of CN110377284B publication Critical patent/CN110377284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • 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 invention discloses a kind of method and apparatus and equipment based on UEFI Shell graphical interfaces operation file.Wherein, the described method includes: the order to file operation under universal extensible firmware interface command is configured to visual graphical interfaces by the rule of universal extensible firmware interface specification book, it is shown with by the result of the order to file operation under the universal extensible firmware interface command by the visual graphical interfaces that this is configured to, and according to the order shown by the visual graphical interfaces that this is configured to as a result, being operated to the file under the universal extensible firmware interface command.By the above-mentioned means, can be realized easily can operate file under universal extensible firmware interface command environment without inputting cumbersome order again.

Description

A kind of method and apparatus based on UEFI Shell graphical interfaces operation file and Equipment
Technical field
The present invention relates to file operation technical fields, more particularly to one kind to be based on UEFI Shell graphical interfaces operation file Method and apparatus and equipment.
Background technique
The mostly integrated UEFI of BIOS (Basic Input Output System, basic input output system) at present (Unified Extensible Firmware Interface, universal extensible firmware interface) Shell (order) environment, UEFI Shell can complete much to need operating as pre (preceding) OS (Operating System, operating system) bad border The operation that could be completed under system equally just as DOS (Disk Operating System, disc operating system) very early has UEFI Shell does not just have to when carrying out some simple operations to install operating system in hard disk.UEFI Shell is integrated A large amount of order can be ordered by these and complete duplication and the constituent instruments operation such as paste, check hardware information, check platform Information directly can also do read-write operation to hardware register.UEFI is widelyd popularize at present, based under UEFI Shell Exploitation UEFI driver becomes more and more important, and may be developed that based on UEFI Shell each as using under system The application program of kind function.
UEFI Shell is not also known at present, and more people are more likely to the development and application program under system, adjoint The extensive utilization and popularization of UEFI, exploitation UEFI Shell application program become more important, but UEFI Shell at present Although being integrated with a large amount of order, operation order for ordinary user be not just it is very friendly, just as in operating system Under, operation always seems inconvenient under Command (instruction) window.So more orders, being without common user impossible ripe The application method of every order is known, and every order there are many usages according to different parameters, needs to find in use process Corresponding UEFI shell Command spec (Specification, specification) searches the application method of specific instructions.? Under such usage scenario, just seem extremely inconvenient under the bad border UEFI Shell.
Summary of the invention
In view of this, it is an object of the invention to propose a kind of method based on UEFI Shell graphical interfaces operation file With device and equipment, can be realized can be in universal extensible firmware interface command environment without inputting cumbersome order again Easily file is operated down.
According to an aspect of the present invention, a kind of method based on UEFI Shell graphical interfaces operation file is provided, is wrapped It includes:
The order to file operation under universal extensible firmware interface command is said by universal extensible firmware interface The rule of bright book is configured to visual graphical interfaces;
The result of the order to file operation under the universal extensible firmware interface command is configured to as described Visual graphical interfaces is shown;
According to the order shown by the visual graphical interfaces being configured to as a result, to described general File under Extensible Firmware Interface order is operated.
Wherein, the order to file operation under the interface command by universal extensible firmware is consolidated by generic Extensible The rule of part interface specification book is configured to visual graphical interfaces, comprising:
It, will be general by the way of designing key module, the mode of the mode of design document system and design configuration interface The order to file operation under Extensible Firmware Interface order is configured by the rule of universal extensible firmware interface specification book At visual graphical interfaces.
Wherein, the design key module, comprising:
Agreement institute is inputted using the simple file of the universal extensible firmware preset built in universal extensible firmware interface The corresponding function of the corresponding universal extensible firmware key board scan code table of comparisons of each key for including registers well described press After the notice of key, the process after pressing the button, which will call back in the agreement of file system, to be realized through button operation file The mode of function designs key module.
Wherein, the design document system, comprising:
Matched using the simple file system protocol operation file of universal extensible firmware built in universal extensible firmware interface Table style system is set, by the read-write of the file operation interface operation file of universal extensible firmware file protocol, closes, obtain It takes/is arranged file attribute, and carry out the mode of encapsulation and the expansion of file and carry out design document system.
Wherein, the design configuration interface, comprising:
Use with character string, image output and font regard graphical interfaces user interface design basis, by it is general can Character string described in the specified consultative management of firmware man-machine interactive interface is extended, universal extensible firmware image output protocol pipe is passed through Described image output is managed, described image output is shown to the mode on display screen to design key module;Wherein, the word Symbol string payment is multilingual, described image output for bitmap to be shown to display screen, the font for providing character or Character string is converted into the mechanism of bitmap.
Wherein, the knot of the order shown according to by the visual graphical interfaces being configured to described Fruit, after being operated to the file under the universal extensible firmware interface command, further includes:
By keyboard shortcut, the file under the universal extensible firmware interface command is operated;Wherein, described Shortcut key includes duplication stickup, mobile, renaming and the directionkeys to file operation.
According to an aspect of the present invention, a kind of device based on UEFI Shell graphical interfaces operation file is provided, is wrapped It includes:
Configuration module, display module and operation module;
The configuration module is general for passing through the order to file operation under universal extensible firmware interface command The rule of Extensible Firmware Interface specification is configured to visual graphical interfaces;
The display module, for by the knot of the order to file operation under the universal extensible firmware interface command Fruit is shown by the visual graphical interfaces being configured to;
The operation module, for according to the order shown by the visual graphical interfaces being configured to As a result, being operated to the file under the universal extensible firmware interface command.
Wherein, the configuration module, is specifically used for:
It, will be general by the way of designing key module, the mode of the mode of design document system and design configuration interface The order to file operation under Extensible Firmware Interface order is configured by the rule of universal extensible firmware interface specification book At visual graphical interfaces.
Wherein, the configuration module, is specifically used for:
Agreement institute is inputted using the simple file of the universal extensible firmware preset built in universal extensible firmware interface The corresponding function of the corresponding universal extensible firmware key board scan code table of comparisons of each key for including registers well described press After the notice of key, the process after pressing the button, which will call back in the agreement of file system, to be realized through button operation file The mode of function designs key module.
Wherein, the configuration module, is specifically used for:
Matched using the simple file system protocol operation file of universal extensible firmware built in universal extensible firmware interface Table style system is set, by the read-write of the file operation interface operation file of universal extensible firmware file protocol, closes, obtain It takes/is arranged file attribute etc., and carry out the mode of encapsulation and the expansion etc. of file and carry out design document system.
Wherein, the configuration module, is specifically used for:
Use with character string, image output and font regard graphical interfaces user interface design basis, by it is general can Character string described in the specified consultative management of firmware man-machine interactive interface is extended, universal extensible firmware image output protocol pipe is passed through Described image output is managed, described image output is shown to the mode on display screen to design key module;Wherein, the word Symbol string payment is multilingual, described image output for bitmap to be shown to display screen, the font for providing character or Character string is converted into the mechanism of bitmap.
Wherein, the device based on UEFI Shell graphical interfaces operation file, further includes:
Shortcut key module;
The shortcut key module, for passing through keyboard shortcut, to the text under the universal extensible firmware interface command Part is operated;Wherein, the shortcut key includes duplication stickup, mobile, renaming and the directionkeys to file operation.
According to a further aspect of the invention, a kind of equipment based on UEFI Shell graphical interfaces operation file is provided, Include:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one A processor executes so that at least one described processor be able to carry out it is described in any of the above embodiments based on UEFI Shell figure The method of interface operation file.
According to a further aspect of the invention, a kind of computer readable storage medium is provided, computer program is stored with, institute State realized when computer program is executed by processor it is described in any of the above embodiments based on UEFI Shell graphical interfaces operation file Method.
It can be found that above scheme, the order to file operation under universal extensible firmware interface command can be led to The rule for crossing universal extensible firmware interface specification book is configured to visual graphical interfaces, and the generic Extensible can be consolidated The result of the order to file operation under part interface command is shown by the visual graphical interfaces that this is configured to, and It can be according to the order shown by the visual graphical interfaces that this is configured to as a result, to the universal extensible firmware File under interface command is operated, and can be realized can connect without inputting cumbersome order again in universal extensible firmware Easily file is operated under mouth order UEFI Shell environment.
Further, above scheme, can be by the way of designing key module, the mode and design of design document system The order to file operation under universal extensible firmware interface command is passed through universal extensible firmware by the mode of graphical interfaces The rule of interface specification book is configured to visual graphical interfaces, and such benefit, which is that by, passes through universal extensible firmware The order to file operation under universal extensible firmware interface command is configured to visually scheme by the rule of interface specification book Shape interface, convenient for by the visual graphical interfaces being configured to the file under the universal extensible firmware interface command into Row operation.
Further, above scheme, can be using the generic Extensible preset built in universal extensible firmware interface The corresponding universal extensible firmware key board scan code table of comparisons of each key that the simple file input agreement of firmware is included Corresponding function, after registering the notice of the key well, the process after pressing the button will be called back in the agreement of file system It realizes by way of the function of button operation file and designs key module, such benefit is that by for being unfamiliar with For the user of Shell order can open-and-shut operation need the operation that is just able to achieve under system, in Shell order It sets and occupies little space in basic input output system, can be achieved with the function of needing to realize under system without installation system, it is non- It is often convenient.
Further, above scheme, can be simple using the universal extensible firmware built in universal extensible firmware interface File system protocol operation file allocation list style system is grasped by the file operation interface of universal extensible firmware file protocol Make read-write, closing, acquisition/setting file attribute etc. of file, and carries out the mode of encapsulation and the expansion etc. of file and design text Part system, such benefit is that by can also be very square under universal extensible firmware interface command UEFI Shell environment Operating to file just, without inputting cumbersome order again, while file page can also refresh immediately, will not be again as order File content can be capped under row mode.
Further, above scheme can be used with character string, image output and font as graphical interfaces user interface The basis of design, the consultative management character string specified by universal extensible firmware man-machine interactive interface, is expanded by general Exhibition firmware image output protocol manages image output, and image output is shown to the mode on display screen to design key Module;Wherein, character string payment is multilingual, which exports for bitmap to be shown to display screen, and the font is for mentioning For character or character string to be converted into the mechanism of bitmap, such benefit is that by display pattern, display resolution and shows Show that the setting of color depth etc. can be realized by the packaged service of correspondence, better user experience.
Further, above scheme, can be by keyboard shortcut, to universal extensible firmware interface command UEFI File under Shell is operated;Wherein, which includes duplication stickup, mobile, renaming and the direction to file operation Key etc., such benefit are that by under universal extensible firmware interface command UEFI Shell environment more quick and side File is operated just.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is that the present invention is based on the flow diagrams of one embodiment of method of UEFI Shell graphical interfaces operation file;
Fig. 2 is that the present invention is based on the signals of the process of another embodiment of method of UEFI Shell graphical interfaces operation file Figure;
Fig. 3 is that the present invention is based on the structural schematic diagrams of one embodiment of device of UEFI Shell graphical interfaces operation file;
Fig. 4 is that the present invention is based on the structural representations of another embodiment of device of UEFI Shell graphical interfaces operation file Figure;
Fig. 5 is that the present invention is based on the structural schematic diagrams of one embodiment of equipment of UEFI Shell graphical interfaces operation file.
Specific embodiment
With reference to the accompanying drawings and examples, the present invention is described in further detail.It is emphasized that following implement Example is merely to illustrate the present invention, but is not defined to the scope of the present invention.Likewise, following embodiment is only portion of the invention Point embodiment and not all embodiments, institute obtained by those of ordinary skill in the art without making creative efforts There are other embodiments, shall fall within the protection scope of the present invention.
The present invention provides a kind of method based on UEFI Shell graphical interfaces operation file, can be realized and does not have to input again Cumbersome order easily can operate file under universal extensible firmware interface command UEFI Shell environment.
Referring to Figure 1, Fig. 1 is that the present invention is based on the streams of one embodiment of method of UEFI Shell graphical interfaces operation file Journey schematic diagram.It is noted that if having substantially the same as a result, method of the invention is not with process sequence shown in FIG. 1 It is limited.As shown in Figure 1, this method comprises the following steps:
S101: by the order to file operation under universal extensible firmware interface command UEFI Shell by it is general can The Protocol (rule) of extension firmware interface specification UEFI Spec is configured to visual graphical interfaces.
Wherein, this passes through the order to file operation under universal extensible firmware interface command UEFI Shell general The rule P rotocol of Extensible Firmware Interface specification UEFI Spec is configured to visual graphical interfaces, may include:
It, will be general by the way of designing key module, the mode of the mode of design document system and design configuration interface The order to file operation under Extensible Firmware Interface order UEFI Shell passes through universal extensible firmware interface specification book The rule P rotocol of UEFI Spec is configured to visual graphical interfaces, such benefit be that by by it is general can The rule P rotocol for extending firmware interface specification UEFI Spec will be under universal extensible firmware interface command UEFI Shell The order to file operation be configured to visual graphical interfaces, convenient for the visual graphical interfaces pair being configured to by this File under universal extensible firmware interface command UEFI Shell is operated.
Wherein, the design key module may include:
Using presetting built in universal extensible firmware interface UEFI
EFI_SIMPLE_TEXT_INPUT_PROTOCOL (universal extensible firmware simple file input agreement) included The corresponding function of the corresponding EFI Scan Codes of each key (the universal extensible firmware key board scan code table of comparisons), After the notify (notice) for registering the good key, process after pressing the button will callback (clawback) arrive file system Key module is designed to realize by way of the function of button operation file on Protocol (agreement), such benefit is Can be realized for the user for being unfamiliar with Shell order can open-and-shut operation needs be just able to achieve under system Operation, Shell order is built in basic input-output system BIOS and occupies little space, can be achieved with needing without installation system The function of being realized under system, it is very convenient.
Wherein, the design document system may include:
It is (general using the EFI_SIMPLE_FILE_SYSYTEM_PROTOCOL built in universal extensible firmware interface UEFI The simple file system protocol of extended firmware) operation FAT (File Allocation Table, file configuration table) style system, By the read-write of the file operation interface operation file of EFI_FILE_PROTOCOL (universal extensible firmware file protocol), close It closes, acquisition/setting file attribute etc., and carries out the mode of encapsulation and the expansion etc. of file and carry out design document system, it is such good Place, which is that by under universal extensible firmware interface command UEFI Shell environment, very easily to carry out file Operation, without inputting cumbersome order again, while file page can also refresh immediately, will not be again as under command mode in file Appearance can be capped.
Wherein, the design configuration interface may include:
It uses with character string, image output and font as GUI (Graphic User Interface, graphical interfaces use Family interface) design basis, by EFI_HII_STRING_PROTOCOL, (universal extensible firmware man-machine interactive interface is specified Agreement) manage the character string, pass through EFI_GRAPHICS_OUTPUT_PROTOCOL (universal extensible firmware image output association View) image output is managed, image output is shown to the mode on display screen to design key module;Wherein, the word Symbol string payment is multilingual, which exports for bitmap to be shown to display screen, and the font is for providing character or character String is converted into the mechanism of bitmap, and such benefit is that by display pattern, display resolution and display color depth etc. Being arranged can be realized by the packaged service of correspondence, better user experience.
In the present embodiment, the EFI_SIMPLE_TEXT_INPUT_PROTOCOL built in UEFI contains each key pair The EFI Scan Codes answered has preset the corresponding function of key in the design and has pressed after the notify of key has been got well in registration Process after lower key will realize whereby the function for passing through button operation file on callback to the Protocol of file system Energy.In UEFI Shell framework, there are some corresponding keypress functions, the realization of its script can be used for reference to reach this secondary design and need Function to be achieved.
In the present embodiment, the built-in EFI_SIMPLE_FILE_SYSYTEM_PROTOCOL of UEFI is for operating FAT text Part system.EFI_FILE_PROTOCOL will be used to the operation of file, this Protocol contains the read-write to file, It closes, the operation such as acquisition/setting file attribute.The design, should using the file operation interface in EFI_SHELL_PROTOCOL Interface is encapsulated and has been expanded to EFI_FILE_PROTOCOL, other than providing basic file access function, is additionally provided The mode of operation and stdin, stdout, stderr and file search function of relative directory.Only run under shell environment Program could use EFI_SHELL_PROTOCOL.In design, file is provided as a kind of special equipment for file DevicePath is for operator's access.
In the present embodiment, regard the basis of GUI design in design with character string, image output and font.Character string needs Want multilingual support, image output is in order to which bitmap is shown to screen, and the effect of font is to provide character or character String is converted into the mechanism of bitmap.Character string can use UNICODE16 (16 system Unicode) character string.Pass through EFI_HII_ STRING_PROTOCOL manages character string, and string resource finally can be all registered in HII DATABASE, this protocol Have the function of retrieval, addition, more new character strings etc..About the display of graphical interfaces, we cannot be used under Text Mode The good book such as Print shows character string.It needs to use EFI_GRAPHICS_OUTPUT_PROTOCOL and image is shown to screen On curtain, the setting of display pattern, resolution ratio and color depth etc. can be realized by the packaged service of correspondence.
S102: the result of the order to file operation under universal extensible firmware interface command UEFI Shell is pressed The visual graphical interfaces being configured to is shown.
S103: according to the order shown by the visual graphical interfaces that this is configured to as a result, general to this File under Extensible Firmware Interface order UEFI Shell is operated.
Wherein, the basis should be shown by the visual graphical interfaces that this is configured to order as a result, to this After file under universal extensible firmware interface command UEFI Shell is operated, can also include:
By keyboard shortcut, the file under universal extensible firmware interface command UEFI Shell is operated; Wherein, which includes duplication stickup, mobile, renaming and the directionkeys etc. to file operation, and such benefit is can Realize the operating to file more operated quickly and conveniently under universal extensible firmware interface command UEFI Shell environment.
In the present embodiment, the commonly used command to file operation under UEFI Shell can be passed through UEFI Spec's Related Protocol is made into visual graphical interfaces.The result of order under UEFI Shell is shown by graphical interfaces Come, and can be chosen by moving direction key to be operated.Replicating stickup, movement, renaming, directionkeys etc., these are common File operation be all provided with corresponding points shortcut key.So very easily file can also be grasped at UEFI Shell Make, without defeated cumbersome order again.The page can also refresh immediately, will not again as under command mode content can be capped, it is general General family can also efficiently operate under UEFI Shell environment.
It can be found that in the present embodiment, it can be by the life to file operation under universal extensible firmware interface command It enables and visual graphical interfaces is configured to by the rule of universal extensible firmware interface specification book, and this general can be expanded The result of the order to file operation under exhibition firmware interface order is shown by the visual graphical interfaces that this is configured to, And it can be according to the order shown by the visual graphical interfaces that this is configured to as a result, to the generic Extensible File under firmware interface order is operated, and can be realized can be solid in generic Extensible without inputting cumbersome order again Easily file is operated under part interface command UEFI Shell environment.
Further, in the present embodiment, can by the way of designing key module, the mode of design document system and The order to file operation under universal extensible firmware interface command is passed through generic Extensible by the mode at design configuration interface The rule of firmware interface specification is configured to visual graphical interfaces, and such benefit, which is that by, passes through generic Extensible The order to file operation under universal extensible firmware interface command is configured to visualize by the rule of firmware interface specification Graphical interfaces, convenient for by the visual graphical interfaces being configured to the text under the universal extensible firmware interface command Part is operated.
Further, in the present embodiment, can using preset built in universal extensible firmware interface it is general can The corresponding universal extensible firmware key board scan code pair of each key that the simple file input agreement of extension firmware is included According to the corresponding function of table, after the notice for registering the good key, the process after pressing the button will call back the agreement of file system On to realize by way of the function of button operation file design key module, such benefit is that by for not It is familiar with for the user of Shell order that the operation for needing just to be able to achieve under system, Shell life open-and-shut can be operated Order is built in basic input output system and occupies little space, and can be achieved with the function for needing to realize under system without installation system Can, it is very convenient.
It further, in the present embodiment, can be using the universal extensible firmware built in universal extensible firmware interface Simple file system protocol operation file allocation list style system, is connect by the file operation of universal extensible firmware file protocol Read-write, closing, the acquisition/setting file attribute etc. of mouthful operation file, and carry out the mode of encapsulation and the expansion etc. of file and set File system is counted, such benefit is that by under universal extensible firmware interface command UEFI Shell environment can also be with Very easily file is operated, without inputting cumbersome order again, while file page can also refresh immediately, will not again as File content can be capped under command mode.
Further, in the present embodiment, it can use with character string, image output and font as graphical interfaces user The basis of Interface design, consultative management character string specified by universal extensible firmware man-machine interactive interface, by general Extended firmware image output protocol manages image output, and image output is shown to the mode on display screen to design Key module;Wherein, character string payment is multilingual, which exports for bitmap to be shown to display screen, which uses In providing the mechanism that character or character string are converted into bitmap, such benefit is that by display pattern, display resolution Setting with display color depth etc. can be realized by the packaged service of correspondence, better user experience.
Fig. 2 is referred to, Fig. 2 is that the present invention is based on another embodiments of method of UEFI Shell graphical interfaces operation file Flow diagram.In the present embodiment, method includes the following steps:
S201: by the order to file operation under universal extensible firmware interface command UEFI Shell by it is general can The rule P rotocol of extension firmware interface specification UEFI Spec is configured to visual graphical interfaces.
Can be as above described in S101, therefore not to repeat here.
S202: the result of the order to file operation under universal extensible firmware interface command UEFI Shell is pressed The visual graphical interfaces being configured to is shown.
S203: according to the order shown by the visual graphical interfaces that this is configured to as a result, general to this File under Extensible Firmware Interface order UEFI Shell is operated.
Can be as above described in S103, therefore not to repeat here.
S204: by keyboard shortcut, the file under universal extensible firmware interface command UEFI Shell is carried out Operation;Wherein, which includes duplication stickup, mobile, renaming and the directionkeys etc. to file operation.
It can be found that in the present embodiment, it can be by keyboard shortcut, to the universal extensible firmware interface command File under UEFI Shell is operated;Wherein, which includes that the duplication to file operation pastes, is mobile, renaming With directionkeys etc., such benefit is that by more to be accelerated under universal extensible firmware interface command UEFI Shell environment It is prompt and easily file is operated.
The present invention also provides a kind of device based on UEFI Shell graphical interfaces operation file, can be realized without defeated again Entering cumbersome order easily can grasp file under universal extensible firmware interface command UEFI Shell environment Make.
Fig. 3 is referred to, Fig. 3 is that the present invention is based on the knots of one embodiment of device of UEFI Shell graphical interfaces operation file Structure schematic diagram.It should include configuration module 31, exhibition based on the device 30 of UEFI Shell graphical interfaces operation file in the present embodiment Show module 32 and operation module 33.
The configuration module 31 is general for passing through the order to file operation under universal extensible firmware interface command The rule of Extensible Firmware Interface specification is configured to visual graphical interfaces.
The display module 32, for by the result of the order to file operation under the universal extensible firmware interface command It is shown by the visual graphical interfaces that this is configured to.
The operation module 33, for the knot according to the order that should be shown by the visual graphical interfaces that this is configured to Fruit operates the file under the universal extensible firmware interface command.
Optionally, the configuration module 31, can be specifically used for:
It, will be general by the way of designing key module, the mode of the mode of design document system and design configuration interface The order to file operation under Extensible Firmware Interface order UEFI Shell passes through universal extensible firmware interface specification book The rule P rotocol of UEFI Spec is configured to visual graphical interfaces.
Optionally, the configuration module 31, can be specifically used for:
Using the universal extensible firmware preset built in universal extensible firmware interface UEFI simple file input association The corresponding function of the corresponding universal extensible firmware key board scan code table of comparisons of each key of being included is discussed, registration well should After the notice of key, the process after pressing the button, which will call back in the agreement of file system, to be realized through button operation file The mode of function design key module.
Optionally, the configuration module 31, can be specifically used for:
Using the simple file system protocol operation text of universal extensible firmware built in universal extensible firmware interface UEFI Part allocation list style system, by the read-write of the file operation interface operation file of universal extensible firmware file protocol, closing, Acquisition/setting file attribute etc., and carry out the mode of encapsulation and expansion etc. of file and carry out design document system.
Optionally, the configuration module 31, can be specifically used for:
Use with character string, image output and font regard graphical interfaces user interface design basis, by it is general can The specified consultative management character string of firmware man-machine interactive interface is extended, universal extensible firmware image output protocol management is passed through Image output is shown to the mode on display screen to design key module by image output;Wherein, which pays Multilingual, which exports for bitmap to be shown to display screen, which is converted into character or character string for providing The mechanism of bitmap.
Fig. 4 is referred to, Fig. 4 is that the present invention is based on another embodiments of device of UEFI Shell graphical interfaces operation file Structural schematic diagram.It is different from an embodiment, the device based on UEFI Shell graphical interfaces operation file described in the present embodiment 40 further include shortcut key module 41.
The shortcut key module 41, for passing through keyboard shortcut, to the file under the universal extensible firmware interface command It is operated;Wherein, which includes duplication stickup, mobile, renaming and the directionkeys etc. to file operation.
Each unit module of the device 30/40 based on UEFI Shell graphical interfaces operation file can execute respectively It states and corresponds to step in embodiment of the method, therefore each unit module is not repeated herein, refer to the above corresponding step Explanation.
The present invention provides a kind of equipment based on UEFI Shell graphical interfaces operation file again, as shown in Figure 5, comprising: At least one processor 51;And the memory 52 with the communication connection of at least one processor 51;Wherein, memory 52 stores There is the instruction that can be executed by least one processor 51, instruction is executed by least one processor 51, so that at least one is handled Device 51 is able to carry out the above-mentioned method based on UEFI Shell graphical interfaces operation file.
Wherein, memory 52 is connected with processor 51 using bus mode, and bus may include any number of interconnection Bus and bridge, bus is by one or more processors 51 together with the various circuit connections of memory 52.Bus can also incite somebody to action Together with various other circuit connections of management circuit or the like, these are all abilities for such as peripheral equipment, voltage-stablizer Well known to domain, therefore, it will not be further described herein.Bus interface is provided between bus and transceiver and is connect Mouthful.Transceiver can be an element, is also possible to multiple element, such as multiple receivers and transmitter, provides for passing The unit communicated on defeated medium with various other devices.The data handled through processor 51 are carried out on the radio medium by antenna Transmission, further, antenna also receives data and transfers data to processor 51.
Processor 51 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects Mouthful, voltage adjusting, power management and other control functions.And memory 52 can be used for storage processor 51 and execute behaviour Used data when making.
The present invention provides a kind of computer readable storage medium again, is stored with computer program.Computer program is processed Device realizes above method embodiment when executing.
It can be found that above scheme, the order to file operation under universal extensible firmware interface command can be led to The rule for crossing universal extensible firmware interface specification book is configured to visual graphical interfaces, and the generic Extensible can be consolidated The result of the order to file operation under part interface command is shown by the visual graphical interfaces that this is configured to, and It can be according to the order shown by the visual graphical interfaces that this is configured to as a result, to the universal extensible firmware File under interface command is operated, and can be realized can connect without inputting cumbersome order again in universal extensible firmware Easily file is operated under mouth order UEFI Shell environment.
Further, above scheme, can be by the way of designing key module, the mode and design of design document system The order to file operation under universal extensible firmware interface command is passed through universal extensible firmware by the mode of graphical interfaces The rule of interface specification book is configured to visual graphical interfaces, and such benefit, which is that by, passes through universal extensible firmware The order to file operation under universal extensible firmware interface command is configured to visually scheme by the rule of interface specification book Shape interface, convenient for by the visual graphical interfaces being configured to the file under the universal extensible firmware interface command into Row operation.
Further, above scheme, can be using the generic Extensible preset built in universal extensible firmware interface The corresponding universal extensible firmware key board scan code table of comparisons of each key that the simple file input agreement of firmware is included Corresponding function, after registering the notice of the key well, the process after pressing the button will be called back in the agreement of file system It realizes by way of the function of button operation file and designs key module, such benefit is that by for being unfamiliar with For the user of Shell order can open-and-shut operation need the operation that is just able to achieve under system, in Shell order It sets and occupies little space in basic input output system, can be achieved with the function of needing to realize under system without installation system, it is non- It is often convenient.
Further, above scheme, can be simple using the universal extensible firmware built in universal extensible firmware interface File system protocol operation file allocation list style system is grasped by the file operation interface of universal extensible firmware file protocol Make read-write, closing, acquisition/setting file attribute etc. of file, and carries out the mode of encapsulation and the expansion etc. of file and design text Part system, such benefit is that by can also be very square under universal extensible firmware interface command UEFI Shell environment Operating to file just, without inputting cumbersome order again, while file page can also refresh immediately, will not be again as order File content can be capped under row mode.
Further, above scheme can be used with character string, image output and font as graphical interfaces user interface The basis of design, the consultative management character string specified by universal extensible firmware man-machine interactive interface, is expanded by general Exhibition firmware image output protocol manages image output, and image output is shown to the mode on display screen to design key Module;Wherein, character string payment is multilingual, which exports for bitmap to be shown to display screen, and the font is for mentioning For character or character string to be converted into the mechanism of bitmap, such benefit is that by display pattern, display resolution and shows Show that the setting of color depth etc. can be realized by the packaged service of correspondence, better user experience.
Further, above scheme, can be by keyboard shortcut, to universal extensible firmware interface command UEFI File under Shell is operated;Wherein, which includes duplication stickup, mobile, renaming and the direction to file operation Key etc., such benefit are that by under universal extensible firmware interface command UEFI Shell environment more quick and side File is operated just.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can To realize by another way.For example, device embodiments described above are only schematical, for example, module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can select some or all of unit therein according to the actual needs to realize the mesh of present embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute each implementation of the present invention The all or part of the steps of methods.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely section Examples of the invention, are not intended to limit protection scope of the present invention, all utilizations Equivalent device made by description of the invention and accompanying drawing content or equivalent process transformation are applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method based on UEFI Shell graphical interfaces operation file characterized by comprising
The order to file operation under universal extensible firmware interface command is passed through into universal extensible firmware interface specification book Rule be configured to visual graphical interfaces;
By the result of the order to file operation under the universal extensible firmware interface command by it is described be configured to it is visual The graphical interfaces of change is shown;
According to the order shown by the visual graphical interfaces being configured to as a result, general expanding to described File under exhibition firmware interface order is operated.
2. the method as described in claim 1 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to incite somebody to action The rule for passing through universal extensible firmware interface specification book to the order of file operation under universal extensible firmware interface command It is configured to visual graphical interfaces, comprising:
By the way of designing key module, the mode of the mode of design document system and design configuration interface, expand general The order to file operation under exhibition firmware interface order is configured to by the rule of universal extensible firmware interface specification book can Depending on the graphical interfaces changed.
3. the method as claimed in claim 2 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to set Count key module, comprising:
Included using the simple file input agreement of the universal extensible firmware preset built in universal extensible firmware interface The corresponding function of the corresponding universal extensible firmware key board scan code table of comparisons of each key, register the good key After notice, the process after pressing the button will call back in the agreement of file system the function of realizing through button operation file Mode design key module.
4. the method as claimed in claim 2 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to set Count file system, comprising:
Using the simple file system protocol operation file allocation list of universal extensible firmware built in universal extensible firmware interface Style system passes through read-write, closing, the acquisition/set of the file operation interface operation file of universal extensible firmware file protocol It sets file attribute, and carries out the mode of encapsulation and the expansion of file and carry out design document system.
5. the method as claimed in claim 2 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to set Count graphical interfaces, comprising:
The basis for regarding graphical interfaces user interface design with character string, image output and font is used, generic Extensible is passed through Character string described in the specified consultative management of firmware man-machine interactive interface manages institute by universal extensible firmware image output protocol Image output is stated, described image output is shown to the mode on display screen to design key module;Wherein, the character string Pay multilingual, described image output is for being shown to display screen for bitmap, and the font is for providing character or character String is converted into the mechanism of bitmap.
6. the method as described in claim 1 based on UEFI Shell graphical interfaces operation file, which is characterized in that described According to the order shown by the visual graphical interfaces being configured to as a result, solid to the generic Extensible After file under part interface command is operated, further includes:
By keyboard shortcut, the file under the universal extensible firmware interface command is operated;Wherein, described quick Key includes duplication stickup, mobile, renaming and the directionkeys to file operation.
7. a kind of device based on UEFI Shell graphical interfaces operation file characterized by comprising
Configuration module, display module and operation module;
The configuration module, for expanding the order to file operation under universal extensible firmware interface command by general The rule of exhibition firmware interface specification is configured to visual graphical interfaces;
The display module, for pressing the result of the order to file operation under the universal extensible firmware interface command The visual graphical interfaces being configured to is shown;
The operation module, for the knot according to the order shown by the visual graphical interfaces being configured to Fruit operates the file under the universal extensible firmware interface command.
8. the device as claimed in claim 7 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to match Module is set, is specifically used for:
By the way of designing key module, the mode of the mode of design document system and design configuration interface, expand general The order to file operation under exhibition firmware interface order is configured to by the rule of universal extensible firmware interface specification book can Depending on the graphical interfaces changed.
9. the device as claimed in claim 8 based on UEFI Shell graphical interfaces operation file, which is characterized in that described to match Module is set, is specifically used for:
Included using the simple file input agreement of the universal extensible firmware preset built in universal extensible firmware interface The corresponding function of the corresponding universal extensible firmware key board scan code table of comparisons of each key, register the good key After notice, the process after pressing the button will call back in the agreement of file system the function of realizing through button operation file Mode design key module.
10. the device as claimed in claim 7 based on UEFI Shell graphical interfaces operation file, which is characterized in that described Device based on UEFI Shell graphical interfaces operation file, further includes:
Shortcut key module;
The shortcut key module, for by keyboard shortcut, to the file under the universal extensible firmware interface command into Row operation;Wherein, the shortcut key includes duplication stickup, mobile, renaming and the directionkeys to file operation.
CN201910651999.9A 2019-07-18 2019-07-18 Method, device and equipment for operating file based on UEFI Shell graphical interface Active CN110377284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910651999.9A CN110377284B (en) 2019-07-18 2019-07-18 Method, device and equipment for operating file based on UEFI Shell graphical interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910651999.9A CN110377284B (en) 2019-07-18 2019-07-18 Method, device and equipment for operating file based on UEFI Shell graphical interface

Publications (2)

Publication Number Publication Date
CN110377284A true CN110377284A (en) 2019-10-25
CN110377284B CN110377284B (en) 2023-07-18

Family

ID=68254010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910651999.9A Active CN110377284B (en) 2019-07-18 2019-07-18 Method, device and equipment for operating file based on UEFI Shell graphical interface

Country Status (1)

Country Link
CN (1) CN110377284B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430642A (en) * 2007-11-09 2009-05-13 中国长城计算机深圳股份有限公司 Method and system for implementing operation interface used for UEFI
CN101673210A (en) * 2009-10-16 2010-03-17 苏州壹世通科技有限公司 Cross-platform and cross-processor method based on extensible firmware interface and device
US20140237220A1 (en) * 2013-02-21 2014-08-21 Dell Products, Lp Configuring a Trusted Platform Module
CN104572164A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
US20150199517A1 (en) * 2014-01-16 2015-07-16 Robert Allen Rose Universal extensible firmware interface module identification and analysis
US20180136946A1 (en) * 2015-05-06 2018-05-17 Hewlett Packard Enterprise Development Lp Securely and reliably transferring startup script
CN109683965A (en) * 2018-12-03 2019-04-26 郑州云海信息技术有限公司 A kind of BIOS state inspection method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430642A (en) * 2007-11-09 2009-05-13 中国长城计算机深圳股份有限公司 Method and system for implementing operation interface used for UEFI
CN101673210A (en) * 2009-10-16 2010-03-17 苏州壹世通科技有限公司 Cross-platform and cross-processor method based on extensible firmware interface and device
US20140237220A1 (en) * 2013-02-21 2014-08-21 Dell Products, Lp Configuring a Trusted Platform Module
US20150199517A1 (en) * 2014-01-16 2015-07-16 Robert Allen Rose Universal extensible firmware interface module identification and analysis
CN104572164A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
US20180136946A1 (en) * 2015-05-06 2018-05-17 Hewlett Packard Enterprise Development Lp Securely and reliably transferring startup script
CN109683965A (en) * 2018-12-03 2019-04-26 郑州云海信息技术有限公司 A kind of BIOS state inspection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
S.SIBI CHAKKARAVARTHY,ET AL.: "A survey on malware analysis and mitigation techniques", 《COMPUTER SCIENCE REVIEW》, vol. 32 *

Also Published As

Publication number Publication date
CN110377284B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US10466980B2 (en) Techniques for generating microcontroller configuration information
CN100424630C (en) Operation method of web page speech interface
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
CN104423983B (en) For developing, testing and the method and apparatus of application deployment
US7562307B2 (en) Automated creation of web page to XML translation servers
US20160004574A1 (en) Method and apparatus for accelerating system running
US8122428B2 (en) Methods and apparatus for automation and facilitating design of register maps
EP2463810A1 (en) Data extraction framework
CN105528338B (en) The input method and system of intelligent predicting
CN110531962A (en) Development process method, equipment and the computer readable storage medium of small routine
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
US20150220236A1 (en) Post-designing method and apparatus based on variant configuration in development of graphic user interface
CN102122245A (en) Method and system for generating configuration item setting interface
CN108664665A (en) Data format method for transformation, device, equipment and readable storage medium storing program for executing
CN105447072A (en) Configurable interface framework as well as searching method and system utilizing framework
CN109213551A (en) A kind of user interface process method and device
CN110377284A (en) A kind of method and apparatus and equipment based on UEFI Shell graphical interfaces operation file
CN108052212A (en) A kind of method, terminal and computer-readable medium for inputting word
CN102087596B (en) Embedded browsing device and multi-page mixed display method thereof
US8869048B2 (en) Declarative and multi-mode wizard framework
CN101593191A (en) The index establishing method of database, database search method and system
US8069405B1 (en) User interface for efficiently browsing an electronic document using data-driven tabs
CN107818073A (en) A kind of dynamic list page is automatically converted to the method and system of the HTML5 pages
CN103917944B (en) The system and method for dynamic more new equipment Chinese part folder content
CN103399746A (en) Information management system convenient to develop secondarily and development method

Legal Events

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