CN115629690A - Method, device, equipment and storage medium for generating FIO working file - Google Patents

Method, device, equipment and storage medium for generating FIO working file Download PDF

Info

Publication number
CN115629690A
CN115629690A CN202211397297.0A CN202211397297A CN115629690A CN 115629690 A CN115629690 A CN 115629690A CN 202211397297 A CN202211397297 A CN 202211397297A CN 115629690 A CN115629690 A CN 115629690A
Authority
CN
China
Prior art keywords
parameter
fio
list
interactive interface
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211397297.0A
Other languages
Chinese (zh)
Inventor
王永懿
秦晓宁
陈颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nettrix Information Industry Beijing Co Ltd
Original Assignee
Nettrix Information Industry Beijing 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 Nettrix Information Industry Beijing Co Ltd filed Critical Nettrix Information Industry Beijing Co Ltd
Priority to CN202211397297.0A priority Critical patent/CN115629690A/en
Publication of CN115629690A publication Critical patent/CN115629690A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for generating an FIO working file, wherein the method comprises the following steps: acquiring a parameter grouping list supported by an FIO working file, and determining parameter description information of each parameter in the parameter grouping list; constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information; the interactive interface comprises: classifying parameters in the parameter grouping list according to parameter description information to generate a parameter list panel and an operation area for generating an FIO working file; and generating the FIO working file in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation on each target parameter in an operation area of the interactive interface. According to the technical scheme of the embodiment of the invention, the FIO working file can be conveniently generated by a user by constructing the interactive interface for generating the FIO working file, and the manual code compiling is not required, so that the accuracy of the working file is improved.

Description

Method, device, equipment and storage medium for generating FIO working file
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for generating an FIO working file.
Background
FIO is a workload generator that generates I/O (input or output) requests. FIO is often used to test storage devices or systems such as hard disks or disk subsystems. When the hard disk test is performed through the FIO, the parameter configuration is usually performed through the working file of the FIO, so as to implement parameter definitions such as the device to be tested, the I/O request, and the result report form.
In the prior art, a parameter definition is performed on a test operation through an automatic script generation technology provided by the FIO, that is, a script file (genfio.sh), to generate a FIO operation file. Sh script can only set about 11 working file parameters, but with the upgrading of the FIO version, more and more customizable parameters of the FIO are provided, and the number of parameters which can be supported by the FIO at present exceeds 150. Sh script can not meet the generation requirement of the FIO working file. For complex test requirements, a user still needs to manually compile work files, so that the work file compiling efficiency is low, and human factors exist in accuracy.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating an FIO working file, which can realize the reliable generation of the FIO working file, do not need to manually compile codes and improve the accuracy of the working file.
According to an aspect of the present invention, a method for generating an FIO job file is provided, including:
acquiring a parameter grouping list supported by an FIO working file, and determining parameter description information of each parameter in the parameter grouping list;
constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information;
wherein, the interactive interface comprises: a parameter list surface board generated by classifying each parameter in the parameter grouping list according to the parameter description information, and an operation area when the FIO working file is generated;
and generating the FIO working file in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface.
Optionally, determining the parameter description information of each parameter in the parameter grouping list includes:
and determining parameter description information of each parameter in the parameter grouping list from at least one description angle of necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter descriptions.
Optionally, an interactive interface for generating the FIO job file is constructed according to the parameter grouping list and the parameter description information, and the interactive interface includes:
classifying all parameters in the parameter grouping list according to the parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in the parameter list panel;
wherein the additional parameter list is composed of parameters in the parameter grouping list which do not belong to the necessary parameter list and the common parameter list.
Optionally, the interactive interface further includes: a parameter information display panel;
responding to a plurality of target parameters selected by a user on a parameter list board of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, generating the FIO work file, wherein the FIO work file comprises:
responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface, and acquiring parameter description information of the target parameters;
displaying the parameter description information in the parameter information display panel;
and generating the FIO working file in response to the processing operation of the user on each target parameter in the operation area of the interactive interface.
Optionally, generating the FIO job file in response to a plurality of target parameters selected by a user on a parameter list board of the interactive interface and processing operations on each of the target parameters in an operation area of the interactive interface, includes:
in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, checking whether each target parameter meets a working file specification condition;
and if the target parameters meet the working file specification conditions, generating the FIO working file according to the target parameters and the corresponding processing operation.
Optionally, the interactive interface further includes: a message prompt and alert panel;
generating the FIO working file in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, further comprising:
and if the target parameter does not meet the working file specification condition, displaying prompt information that the target parameter does not meet the working file specification condition in the message prompt and warning panel.
Optionally, the interactive interface further includes: a work document preview panel;
after the FIO job file is generated in response to a plurality of target parameters selected by a user on a parameter list board of the interactive interface and processing operations on each of the target parameters in an operation area of the interactive interface, the FIO job file further comprises:
and displaying the FIO work file in the work file preview panel.
According to another aspect of the present invention, there is provided an FIO work file generating apparatus, including:
the parameter description information determining module is used for acquiring a parameter grouping list supported by an FIO working file and determining the parameter description information of each parameter in the parameter grouping list;
the interactive interface generating module is used for constructing an interactive interface for generating the FIO working file according to the parameter grouping list and the parameter description information;
wherein, the interactive interface comprises: a parameter list surface board generated by classifying each parameter in the parameter grouping list according to the parameter description information, and an operation area when the FIO working file is generated;
and the FIO work file generating module is used for responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface to generate the FIO work file.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of generating a FIO job file according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the method for generating a FIO work file according to any one of the embodiments of the present invention when executed.
According to another aspect of the present invention, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of generating a FIO work file according to any of the embodiments of the present invention.
According to the technical scheme provided by the embodiment of the invention, a parameter grouping list supported by an FIO working file is obtained, and parameter description information of each parameter in the parameter grouping list is determined; constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information; wherein, the interactive interface includes: a parameter list panel generated by classifying parameters in the parameter grouping list according to parameter description information and an operation area when generating an FIO working file; the method comprises the steps of responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation on each target parameter in an operation area of the interactive interface to generate an FIO working file, so that the problem of generating the FIO working file can be solved; by constructing the interactive interface for generating the FIO working file, a user can generate the FIO working file conveniently without manually compiling codes, and the accuracy of the working file is improved.
In addition, the classification of at least one description angle in necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter descriptions is carried out on the parameters, so that the user can be helped to understand the meaning and the attribute of each parameter of the FIO, and the working file can be conveniently and accurately generated; by arranging the parameter list panel comprising the necessary parameter list, the common parameter list and the additional parameter list in the interactive interface for generating the FIO working file, a user can know the attribute of each parameter when generating the working file conveniently, and the user can generate the FIO working file by accurately using each parameter conveniently; the parameter description information is displayed in the parameter information display panel, so that a user can know the use of the parameters conveniently, and the accuracy of the working file is improved; by checking whether each target parameter meets the standard condition of the working file, the use of the parameters can be ensured to meet the standard, and the accuracy of generating the working file is improved; by displaying the prompt information that the target parameter does not meet the standard condition of the working file, the user can conveniently adjust the use of the parameter, and the accuracy of generating the working file is improved; by displaying the FIO work document in the work document preview pane, it is convenient for the user to view and inspect the work document.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a flowchart of a method for generating an FIO working file according to an embodiment of the present invention;
FIG. 1b is a schematic structural diagram of an interactive interface provided in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of another method for generating an FIO working file according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for generating an FIO working file according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for generating a FIO working file according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for generating an FIO working file according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device that implements the method for generating an FIO job file according to the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1a is a flowchart of a method for generating an FIO working file according to an embodiment of the present invention, where the embodiment is applicable to a case where the FIO working file is generated when a storage device or a system such as a hard disk or a disk subsystem is tested through an FIO, and the method may be executed by a FIO working file generating device, which may be implemented in a form of hardware and/or software, and the FIO working file generating device may be configured in an electronic device (e.g., a terminal or a server). As shown in fig. 1a, the method comprises:
and step 110, acquiring a parameter grouping list supported by the FIO working file, and determining parameter description information of each parameter in the parameter grouping list.
In this embodiment, the FIO job file is a plain text form of FIO configuration file. The FIO work file can achieve a high degree of customization. The FIO job file may be used to define parameters for the device under test, I/O requests, and test result reporting formats. A single FIO work file may support one or more jobs (jobs). The job can be run in the order predefined by the FIO job file. The parameters of the FIO working file can be divided into two major parts, namely a global (global) parameter and a specific jobparameter. In particular, each jobis defined an I/O attribute or run attribute by one or more parameters. The global parameter can extract the same part in the multiple job parameters so as to reduce the complexity of the FIO working file.
With the dynamic update of new technologies, new products, new protocols, etc., the functions and parameters supportable by the FIO are also changing. The parameter grouping list may be a list generated by grouping FIO-supportable parameters. Each parameter packet may include one or more parameters. Illustratively, each parameter packet may include several to a dozen parameters. In the embodiment of the present invention, the parameter packet includes, but is not limited to: task description, reporting mode, test duration, device or file to be tested, I/O type, transport block size, I/O data area cache, test data volume, I/O engine, I/O queue depth, I/O rate control, I/O latency control, process and thread control, data validation, steady state monitoring, and I/O activity recording. In the interactive interface for generating the FIO working file provided in the embodiment of the present invention, each parameter or each parameter group in the parameter group list may be added, modified, deleted, and viewed. Accordingly, it is possible to improve the flexibility of generating the FIO job file and to maintain the latest parameters and parameter groups according to the FIO functions and parameter updates.
In the present embodiment, each parameter in the FIO parameter grouping list may have one or more parameter description information describing an angle. The specific use of the parameters can be clearer in the interactive interface by the user through the parameter description information, and the parameters are ensured to be used correctly, so that the accuracy and the reliability of the FIO working file are ensured. There are many cases in which the parameter description information is determined. For example, the parameter description information of each description angle may be manually determined for each parameter, and the parameter description information may be input to the electronic device, and the electronic device may determine the parameter description information for each parameter. For example, the description information of the FIO may be input to the electronic device, and the electronic device may perform technical analysis such as sentence division and semantic recognition on the description information of each parameter according to the description information of the FIO to determine the parameter description information of each parameter.
And step 120, constructing an interactive interface for generating the FIO working file according to the parameter grouping list and the parameter description information.
Wherein, the interactive interface includes: the parameter list panel is generated by classifying each parameter in the parameter grouping list according to the parameter description information, and the operation area is used for generating the FIO work file.
Specifically, fig. 1b is a schematic structural diagram of an interactive interface according to an embodiment of the present invention. As shown in FIG. 1b, the interactive interface for generating the FIO working file includes a parameter list panel and an operation area. The parameter list panel may be used to display each parameter in the parameter grouping list. For example, the parameter list panel may show the parameters according to the grouping condition in the parameter grouping list. For another example, the parameter list panel may classify and adjust the groups in the parameter group list according to the parameter description information, and display each parameter according to the adjustment result. The operation area may include a global parameter area and job parameter areas. In the operation area, the user can perform processing operation on each parameter. For example, the user may add or delete a job parameter area. In another example, the user can modify the global parameter area and each parameter in each job parameter area, and the information related to the parameter.
And step 130, responding to a plurality of target parameters selected by the user on the parameter list panel of the interactive interface and processing operation on each target parameter in the operation area of the interactive interface, and generating the FIO work file.
For example, the user may select a target parameter in the parameter list panel; and placing the target parameters in the operation area through operations such as dragging and the like, and processing the target parameters. The processing operation may include, but is not limited to, performing assignment processing on the parameter. The electronic equipment can acquire the target parameters selected by the user, process the target parameters and display the processing results of the user in the operation area. And, the electronic device may generate the FIO job file according to the target parameters and the processing operation.
In the technical scheme of the embodiment, a parameter grouping list supported by an FIO working file is obtained, and parameter description information of each parameter in the parameter grouping list is determined; constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information; wherein, the interactive interface includes: a parameter list panel generated by classifying each parameter in the parameter grouping list according to the parameter description information and an operation area when the FIO working file is generated; the method comprises the steps of responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation on each target parameter in an operation area of the interactive interface to generate an FIO working file, so that the problem of generating the FIO working file can be solved; by constructing an interactive interface for generating the FIO working file, a user can generate the FIO working file conveniently without manually compiling codes, and the accuracy of the working file is improved.
Fig. 2 is a flowchart of another method for generating an FIO job file according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
and step 210, acquiring a parameter grouping list supported by the FIO working file.
And step 220, determining parameter description information of each parameter in the parameter grouping list from at least one description angle of necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter descriptions.
The necessary parameter is understood to be a parameter necessary for operating the FIO, and the FIO cannot normally operate without the parameter. There may be a message prompt and alert panel in the interactive interface shown in FIG. 1 b. When the FIO working file lacks necessary parameters, warning information can be displayed on the message prompt and warning panel, so that a user can find out the nonstandard part of the FIO working file in time, the working file can be adjusted in time, and the reliability of the working file is ensured.
A parameter is commonly used, which is understood to be one of the most commonly used parameters. Whether the parameter is the common parameter or not is determined, and the parameter is described, so that the difficulty of searching the parameter by a user can be reduced, the user is prompted to pay attention to the using condition of the common parameter, and the efficiency of generating the working file is improved.
Depending on the parameter, it can be understood that the parameter needs to be used with other parameters, otherwise the parameter will be ignored when the FIO is running. When the parameters are described by the dependent parameters, other parameters with dependent relationships can be simultaneously explained. In this embodiment, it can be ensured that parameters for which there is a dependency must be set; otherwise, a warning message may be displayed in the message prompt and alert panel as shown in FIG. 1 b. Therefore, the user can find out the non-standard part of the FIO working file in time, and adjust the working file in time, thereby ensuring the reliability of the working file.
Mutually exclusive parameters are understood to be parameters that are mutually exclusive with other parameters. When describing the parameters through the mutual exclusion parameters, other parameters with mutual exclusion relationship can be simultaneously described. In this embodiment, it can be ensured that the parameters having the mutual exclusion relationship are not set in the same job; otherwise, a warning message may be displayed in the message prompt and alert panel as shown in FIG. 1 b. Therefore, the user can find out the non-standard part of the FIO working file in time, and adjust the working file in time, thereby ensuring the reliability of the working file.
Data format requirements, it is understood that when the parameter is in use, the set value of the parameter needs to satisfy certain data format requirements. In this embodiment, it can be ensured that the parameter usage meets the data format requirements; otherwise, a warning message may be displayed in the message prompt and alert panel as shown in FIG. 1 b. Therefore, the user can find out the non-standard part of the FIO working file in time, and adjust the working file in time, thereby ensuring the reliability of the working file.
The parameter description can be understood as that the parameter information is convenient for the user to directly view according to the description document of the parameter. The convenience of generating the working file can be provided through parameter description.
And step 230, classifying the parameters in the parameter grouping list according to the parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in the parameter list panel in the interactive interface.
Wherein, the interactive interface includes: and the parameter list panel is generated by classifying the parameters in the parameter grouping list according to the parameter description information, and the operation area is used for generating the FIO work file.
Specifically, the necessary parameter list is composed of all necessary parameters necessary for generating the FIO job file. The list of common parameters is composed of the common parameters that are often used when generating the FIO job file. The additional parameter list is composed of parameters in the parameter grouping list which do not belong to the necessary parameter list and the common parameter list. The additional parameter list can show the parameters which do not belong to the necessary parameter list and the common parameter list according to the grouping condition in the parameter grouping list.
By arranging the parameter list surface board including the necessary parameter list, the common parameter list and the additional parameter list in the interactive interface shown in fig. 1b, the user can know the attributes of the parameters when generating the working file, and can search the parameters in time, so that the user can generate the FIO working file by accurately using the parameters.
Illustratively, as shown in FIG. 1b, the left-most side of the interactive interface may be the parameter list panel. The upper part of the parameter list panel can be a necessary parameter list, the middle part can be a common parameter list, and the lower part can be an additional parameter list. Through the setting, convenience when the user generates the FIO working file can be improved.
And 240, responding to a plurality of target parameters selected by the user on the parameter list panel of the interactive interface, and acquiring the parameter description information of the target parameters.
And step 250, displaying the parameter description information in a parameter information display panel.
As shown in fig. 1b, the interactive interface further includes: and a parameter information display panel. Some or all of the parameter description information may be displayed in the parameter information display panel. For example, parameter description information such as associated parameters, mutual exclusion parameters, data types, and usage may be presented in the parameter information presentation panel. Wherein the data type may be determined according to the data format requirements. For example, the data types may include, but are not limited to: numbers, text, and letters, etc. The usage may be explanatory words determined from the parameter description information. For example, the use mode, the example and the like of the target parameter can be described through usage, so that the user can be prompted conveniently, and the complexity of generating the working file is reduced.
And step 260, responding to the processing operation of the user on each target parameter in the operation area of the interactive interface, and generating an FIO working file.
According to the technical scheme provided by the embodiment of the invention, a parameter grouping list supported by an FIO working file is obtained; determining parameter description information of each parameter in a parameter grouping list at least one description angle in necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter description; classifying all parameters in the parameter grouping list according to parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in a parameter list surface board in the interactive interface; responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface, and acquiring parameter description information of the target parameters; displaying the parameter description information in a parameter information display panel; the FIO working file is generated in response to the processing operation of the user on each target parameter in the operation area of the interactive interface, so that the problem of generating the FIO working file can be solved; the necessary parameter list, the common parameter list and the additional parameter list are arranged in the interactive interface, so that a user can know the attributes of all parameters when generating a working file, and the user can conveniently search the parameters to generate an FIO working file; by displaying the parameter description information in the parameter information display panel, a user can conveniently know the use conditions of the parameters, and the accuracy of the working file is improved.
Fig. 3 is a flowchart of a method for generating an FIO working file according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
and 310, acquiring a parameter grouping list supported by the FIO working file, and determining parameter description information of each parameter in the parameter grouping list.
In an optional implementation manner of the embodiment of the present invention, determining parameter description information of each parameter in the parameter grouping list includes: and determining parameter description information of each parameter in the parameter grouping list from at least one description angle of necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter descriptions.
And step 320, constructing an interactive interface for generating the FIO working file according to the parameter grouping list and the parameter description information.
As shown in fig. 1b, the interactive interface includes: and the parameter list panel is generated by classifying the parameters in the parameter grouping list according to the parameter description information, and the operation area is used for generating the FIO work file.
In an optional implementation manner of the embodiment of the present invention, an interactive interface for generating an FIO job file is constructed according to a parameter grouping list and parameter description information, and includes: classifying all parameters in the parameter grouping list according to parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in the parameter list panel; the additional parameter list is composed of parameters which do not belong to the necessary parameter list and the common parameter list in the parameter grouping list.
Step 330, responding to a plurality of target parameters selected by the user on the parameter list panel of the interactive interface and processing operation of each target parameter in the operation area of the interactive interface, and checking whether each target parameter meets the specification condition of the working file.
Specifically, the working file specification condition may be some requirement that the parameter in the working file needs to meet. For example, the work file specification conditions may include, but are not limited to: whether a certain parameter or a plurality of necessary parameters are missing in the operation area; whether a certain parameter or a plurality of necessary parameters are missing for the parameters in each job; whether the parameters in the same job have mutual exclusion parameters or not; whether the parameters in the same job lack the corresponding dependent parameters or not; and whether the data format of each parameter meets the corresponding data format requirement, and the like. Wherein, the parameter in the job can be understood as a global parameter and a job parameter corresponding to the job.
And 340, if the target parameters meet the specification conditions of the working files, generating the FIO working files according to the target parameters and the corresponding processing operation.
And 350, if the target parameter does not meet the working file specification condition, displaying prompt information that the target parameter does not meet the working file specification condition in a message prompt and warning panel.
As shown in fig. 1b, the interactive interface further includes: message prompt and warning panels. The message prompt and warning panel can be arranged on the middle upper part of the interactive interface, so that a user can notice warning contents conveniently, timely process the warning contents and improve the accuracy of working files.
Specifically, the prompt information in the message prompt and warning panel may be the reason why the specific parameters do not meet the specification condition of the working file.
In an optional implementation manner of the embodiment of the present invention, as shown in fig. 1b, the interactive interface further includes: a parameter information display panel; responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, generating an FIO work file, comprising: responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface, and acquiring parameter description information of the target parameters; displaying the parameter description information in a parameter information display panel; and generating the FIO working file in response to the processing operation of the user on each target parameter in the operation area of the interactive interface.
And step 360, displaying the FIO work file in the work file preview panel.
As shown in fig. 1b, the interactive interface further includes: a work document preview panel. In the work file preview panel, the FIO work file can be previewed, so that the user can know the specific form of the generated work file conveniently. In addition, a work file downloading key can be arranged in the work file preview panel, so that a user can conveniently download and export the FIO work file, and the check of the equipment to be tested is realized.
According to the technical scheme provided by the embodiment of the invention, a parameter grouping list supported by an FIO working file is obtained, and parameter description information of each parameter in the parameter grouping list is determined; constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information; responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation on each target parameter in an operation area of the interactive interface, and checking whether each target parameter meets a working file specification condition; if the target parameter meets the working file specification condition, generating an FIO working file according to the target parameter and the corresponding processing operation; if the target parameter does not meet the working file specification condition, displaying the prompt information that the target parameter does not meet the working file specification condition in a message prompt and warning panel; the technical means for displaying the FIO working file in the working file preview panel can solve the problem of generating the FIO working file; through the working file specification condition, the use of parameters can be ensured to meet the specification, and the accuracy of generating the working file is improved; through the prompt information, the user can conveniently adjust the use of the parameters which do not meet the standard, and the accuracy of generating the working file is improved; by displaying the FIO work document in the work document preview panel, the user is facilitated to view and inspect the work document.
In order to better introduce the technical solutions provided by the embodiments of the present invention, the embodiments of the present invention may refer to the following implementation manners:
fig. 4 is a flowchart of a method for generating a FIO job file according to another embodiment of the present invention. As shown in fig. 4, a parameter grouping list supported by the FIO job file is obtained. And determining parameter description information of each parameter in the parameter grouping list from at least one description angle of necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter descriptions. And classifying all parameters in the parameter grouping list according to the parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in a parameter list surface board in an interactive interface for generating the FIO working file. Responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface, and acquiring parameter description information of the target parameters; and displaying the parameter description information in a parameter information display panel of the interactive interface. And responding to the processing operation of the user on each target parameter in the operation area of the interactive interface, and checking whether each target parameter meets the specification condition of the working file. And if the target parameter does not meet the working file specification condition, displaying prompt information that the target parameter does not meet the working file specification condition in a message prompt and warning panel of the interactive interface. And if the target parameters meet the specification conditions of the working files, generating the FIO working files according to the target parameters and the corresponding processing operation. And displaying the FIO work file in a work file preview panel of the interactive interface.
The method provided by the embodiment of the invention can solve the problem of generating the FIO working file, and can facilitate the user to deeply understand and master the use of each parameter by constructing the interactive interface for generating the FIO working file as shown in FIG. 1b so as to generate the FIO working file; and manual code compiling is not needed, the accuracy and the rigor of the working file are improved, and key parameters are not easy to omit.
Fig. 5 is a schematic structural diagram of an apparatus for generating an FIO job file according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a parameter description information determination module 510, an interactive interface generation module 520 and a FIO job file generation module 530. Wherein:
a parameter description information determining module 510, configured to obtain a parameter grouping list supported by the FIO working file, and determine parameter description information of each parameter in the parameter grouping list;
an interactive interface generating module 520, configured to construct an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information;
wherein, the interactive interface includes: a parameter list panel generated by classifying parameters in the parameter grouping list according to parameter description information and an operation area when generating an FIO working file;
the FIO job file generating module 530 is configured to generate a FIO job file in response to a plurality of target parameters selected by a user on the parameter list board of the interactive interface and processing operations on the target parameters in the operation area of the interactive interface.
Optionally, the parameter description information determining module 510 includes:
and the parameter description information determining unit is used for determining the parameter description information of each parameter in the parameter grouping list from at least one description angle in necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter specifications.
Optionally, the interactive interface generating module 520 includes:
the parameter list panel determining unit is used for classifying all parameters in the parameter grouping list according to the parameter description information and determining a necessary parameter list, a common parameter list and an additional parameter list in the parameter list panel;
the additional parameter list is composed of parameters which do not belong to the necessary parameter list and the common parameter list in the parameter grouping list.
Optionally, the interactive interface further includes: a parameter information display panel;
the FIO work file generating module 530 includes:
the parameter description information acquisition unit is used for responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and acquiring the parameter description information of the target parameters;
the parameter description information display unit is used for displaying the parameter description information in the parameter information display panel;
and the FIO working file generating unit is used for responding to the processing operation of the user on each target parameter in the operation area of the interactive interface and generating the FIO working file.
Optionally, the FIO work file generating module 530 is specifically configured to:
responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation on each target parameter in an operation area of the interactive interface, and checking whether each target parameter meets a working file specification condition;
and if the target parameters meet the specification conditions of the working files, generating the FIO working files according to the target parameters and the corresponding processing operation.
Optionally, the interactive interface further includes: a message prompt and warning panel;
the FIO job file generating module 530 is further specifically configured to:
and if the target parameter does not meet the working file specification condition, displaying prompt information that the target parameter does not meet the working file specification condition in a message prompt and warning panel.
Optionally, the interactive interface further includes: a work document preview panel;
the device also comprises:
and the FIO work file display module is used for displaying the FIO work file in the work file preview panel after responding to a plurality of target parameters selected by a user on the parameter list panel of the interactive interface and processing operation of each target parameter in the operation area of the interactive interface to generate the FIO work file.
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For technical details which are not described in detail in the embodiments of the present invention, reference may be made to the methods provided in all the embodiments of the present invention described above.
FIG. 6 illustrates a schematic structural diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the respective methods and processes described above, such as the generation method of the FIO work file.
In some embodiments, the method of generating the FIO work file may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above-described FIO work file generation method may be performed. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g., by means of firmware) to perform the method of generating the FIO work file.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for generating an FIO working file is characterized by comprising the following steps:
acquiring a parameter grouping list supported by an FIO working file, and determining parameter description information of each parameter in the parameter grouping list;
constructing an interactive interface for generating an FIO working file according to the parameter grouping list and the parameter description information;
wherein, the interactive interface comprises: a parameter list surface board generated by classifying each parameter in the parameter grouping list according to the parameter description information, and an operation area when the FIO working file is generated;
and generating the FIO working file in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface.
2. The method of claim 1, wherein determining the parameter description information of each parameter in the parameter grouping list comprises:
and determining the parameter description information of each parameter in the parameter grouping list from at least one description angle of necessary parameters, common parameters, dependent parameters, mutual exclusion parameters, data format requirements and parameter description.
3. The method of claim 2, wherein constructing an interactive interface for generating a FIO job file according to the parameter grouping list and the parameter description information comprises:
classifying all parameters in the parameter grouping list according to the parameter description information, and determining a necessary parameter list, a common parameter list and an additional parameter list in the parameter list surface board;
wherein the additional parameter list is composed of parameters in the parameter grouping list which do not belong to the necessary parameter list and the common parameter list.
4. The method according to claim 3, wherein the interactive interface further comprises: a parameter information display panel;
responding to a plurality of target parameters selected by a user on a parameter list board of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, generating the FIO work file, wherein the FIO work file comprises:
responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface, and acquiring parameter description information of the target parameters;
displaying the parameter description information in the parameter information display panel;
and generating the FIO working file in response to the processing operation of the user on each target parameter in the operation area of the interactive interface.
5. The method of claim 1, wherein generating the FIO job file in response to a user selecting a plurality of target parameters on a parameter list panel of the interactive interface and processing operations on each of the target parameters in an operational area of the interactive interface comprises:
in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, checking whether each target parameter meets a working file specification condition;
and if the target parameters meet the working file specification conditions, generating the FIO working file according to the target parameters and the corresponding processing operation.
6. The method according to claim 5, wherein the interactive interface further comprises: a message prompt and alert panel;
generating the FIO working file in response to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface, further comprising:
and if the target parameter does not meet the working file specification condition, displaying prompt information that the target parameter does not meet the working file specification condition in the message prompt and warning panel.
7. The method according to claim 1, wherein the interactive interface further comprises: a work document preview panel;
after generating the FIO job file in response to a plurality of target parameters selected by a user on a parameter list board of the interactive interface and processing operations on each of the target parameters in an operation area of the interactive interface, the method further comprises:
and displaying the FIO work file in the work file preview panel.
8. An apparatus for generating an FIO job file, comprising:
the parameter description information determining module is used for acquiring a parameter grouping list supported by an FIO working file and determining the parameter description information of each parameter in the parameter grouping list;
the interactive interface generating module is used for constructing an interactive interface for generating the FIO working file according to the parameter grouping list and the parameter description information;
wherein, the interactive interface comprises: a parameter list panel generated by classifying the parameters in the parameter grouping list according to the parameter description information, and an operation area when the FIO working file is generated;
and the FIO work file generating module is used for responding to a plurality of target parameters selected by a user on a parameter list panel of the interactive interface and processing operation of each target parameter in an operation area of the interactive interface to generate the FIO work file.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a FIO work file of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the method of generating a FIO work file of any of claims 1-7 when executed.
CN202211397297.0A 2022-11-09 2022-11-09 Method, device, equipment and storage medium for generating FIO working file Pending CN115629690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211397297.0A CN115629690A (en) 2022-11-09 2022-11-09 Method, device, equipment and storage medium for generating FIO working file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211397297.0A CN115629690A (en) 2022-11-09 2022-11-09 Method, device, equipment and storage medium for generating FIO working file

Publications (1)

Publication Number Publication Date
CN115629690A true CN115629690A (en) 2023-01-20

Family

ID=84908687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211397297.0A Pending CN115629690A (en) 2022-11-09 2022-11-09 Method, device, equipment and storage medium for generating FIO working file

Country Status (1)

Country Link
CN (1) CN115629690A (en)

Similar Documents

Publication Publication Date Title
US20230185702A1 (en) Method and Apparatus for Generating and Applying Deep Learning Model based on Deep Learning Framework
CN113704058A (en) Business model monitoring method and device and electronic equipment
CN113138760B (en) Page generation method and device, electronic equipment and medium
CN115269431A (en) Interface testing method and device, electronic equipment and storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN115469849A (en) Service processing system, method, electronic device and storage medium
CN115629690A (en) Method, device, equipment and storage medium for generating FIO working file
CN114995875A (en) Page component configuration method and device, electronic equipment and storage medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
US20220391808A1 (en) Data processing method, electronic device and storage medium
CN113835893B (en) Data processing method, device, equipment, storage medium and program product
CN113760765B (en) Code testing method and device, electronic equipment and storage medium
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN113360368B (en) Method and device for testing software performance
CN114238149A (en) Batch testing method of accounting system, electronic device and storage medium
CN114417219A (en) Information configuration method and device and electronic equipment
CN114676786A (en) Marking template generation method, data marking method and device
CN115063109A (en) Data processing method, device, equipment and medium
CN115374010A (en) Function testing method, device, equipment and storage medium
CN116974940A (en) Interface testing method, device, equipment and storage medium
CN115659347A (en) Safety testing method and device, electronic equipment and storage medium

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