CN113821202A - Management software file generation method, device, equipment and readable storage medium - Google Patents

Management software file generation method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113821202A
CN113821202A CN202110997901.2A CN202110997901A CN113821202A CN 113821202 A CN113821202 A CN 113821202A CN 202110997901 A CN202110997901 A CN 202110997901A CN 113821202 A CN113821202 A CN 113821202A
Authority
CN
China
Prior art keywords
file
management software
information
template
files
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
CN202110997901.2A
Other languages
Chinese (zh)
Other versions
CN113821202B (en
Inventor
马聪
谢鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Jinan data Technology Co ltd
Original Assignee
Inspur Jinan data 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 Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202110997901.2A priority Critical patent/CN113821202B/en
Publication of CN113821202A publication Critical patent/CN113821202A/en
Application granted granted Critical
Publication of CN113821202B publication Critical patent/CN113821202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a management software file generation method, a management software file generation device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring a configuration file; the configuration file comprises file information, template information and template operation information; acquiring a plurality of management software template files according to the template information; operating a plurality of management software template files by using file information according to the template operation information to obtain a plurality of management software files; the method comprises the steps of obtaining a management software template according to template information, and then operating a management software template file according to template operation information, wherein the required content in the operation process is file information. The management software file can be automatically generated by acquiring the configuration file, so that errors in the process of writing the management software file are avoided, the file code quality is high, and the manpower consumption is greatly reduced.

Description

Management software file generation method, device, equipment and readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a management software file generation method, a management software file generation apparatus, an electronic device, and a computer-readable storage medium.
Background
The Browser/Server architecture (Browser/Server mode) utilizes the mature web Browser (web Browser) technology to realize the powerful functions which can be realized only by special software, thereby saving the development cost. In the storage field, the current storage management software realizes the interface management of a storage system based on a B/S architecture, a user can realize the resource management of storage through interface operation, and also can intuitively recognize a storage device through a device view, however, the realization of the function needs to be based on a storage management software file (for example, html, css, and the like, html, namely Hyper Text Markup Language, hypertext Markup Language, css, namely, Cascading Style Sheets, and the like). In the development process, firstly, a hardware developer confirms the equipment, a management software developer makes pictures such as a fan, a magnetic disk, a network card, a power supply and the like according to a real object picture of the equipment, adjusts information such as quantity and position, and adapts and modifies logical operations such as magnetic disk positioning and disk changing, and the whole process comprises various css style adjustment, html static resource file and js (JavaScript, a programming language) file compiling processes, a large amount of manpower is consumed, errors are prone to occurring, and the quality of file codes is low.
Therefore, how to solve the problems of large manpower consumption and low file code quality in the related technology is a technical problem to be solved by the technical personnel in the field.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a management software file generating method, a management software file generating apparatus, an electronic device, and a computer-readable storage medium, which can avoid errors occurring in the process of writing management software files, have high file code quality, and greatly reduce human consumption.
In order to solve the above technical problem, the present application provides a management software file generation method, including:
acquiring a configuration file; the configuration file comprises file information, template information and template operation information;
acquiring a plurality of management software template files according to the template information;
and operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files.
Optionally, the obtaining the configuration file includes:
acquiring configuration information input through a visual interface;
and generating the configuration file by using the configuration information and the configuration items corresponding to the configuration information on the visual interface.
Optionally, the operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files includes:
determining template operation sub-information corresponding to various file sub-information in the file information; the operation mode and/or operation object specified by the template operation sub information are related to the category of the file sub information;
and determining a target template file according to the operation object, and executing the operation corresponding to the operation mode on the target template file by utilizing the file sub-information.
Optionally, the method further comprises:
performing image rendering by using the management software file to obtain a management software view;
visually displaying the management software view;
and detecting the operation behavior of the management software view, and performing visual response on the operation behavior according to the operation behavior type.
Optionally, the visually responding to the operation behavior according to the operation behavior type includes:
if the operation behavior type is a non-interactive behavior, performing visual response on the operation behavior according to response logic of the management software file;
if the operation behavior type is an interactive behavior, generating an operation instruction according to the operation behavior, and sending the operation instruction to target equipment;
and performing visual response on the operation behavior according to the instruction response of the target equipment to the operation instruction and the response logic.
Optionally, the image rendering by using the management software file to obtain a management software view further includes:
acquiring a real object image, and matching the real object image with the management software view;
if not, determining that the configuration file is wrong, and outputting a false alarm;
and if so, determining to execute the step of visually displaying the management software view.
Optionally, the method further comprises:
and determining the management software file as a new management software template file.
The present application further provides a management software file generating device, including:
the file acquisition module is used for acquiring a configuration file; the configuration file comprises file information, template information and template operation information;
the template determining module is used for acquiring a plurality of management software template files according to the template information;
and the configuration module is used for operating the plurality of management software template files by utilizing the file information according to the template operation information to obtain a plurality of management software files.
The present application further provides an electronic device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the above method for generating the management software file.
The present application also provides a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the above-described management software file generation method.
The management software file generation method provided by the application acquires a configuration file; the configuration file comprises file information, template information and template operation information; acquiring a plurality of management software template files according to the template information; and operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files.
Therefore, the method does not need to manually write various management software files, and the management software files are automatically generated by using the configuration files. Specifically, the configuration file records file information, template information, and template operation information, where the file information is element information required to generate the management software file, the template information is used to specify a template required to generate the management software file, and the template operation information is used to describe how to operate the template to obtain the management software file. And after the management software template is obtained according to the template information, operating the management software template file according to the template operation information, wherein the content required in the operation process is the file information. The management software file can be automatically generated by obtaining the configuration file, so that errors in the process of compiling the management software file are avoided, the file code quality is high, the labor consumption is greatly reduced, and the problems of high labor consumption and low file code quality in the related technology are solved.
In addition, the application also provides a management software file generation device, electronic equipment and a computer readable storage medium, and the management software file generation device, the electronic equipment and the computer readable storage medium also have the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating a management software file according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an exemplary process for managing software devices provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a management software file generating apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all 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 application.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a management software file according to an embodiment of the present application. The method comprises the following steps:
s101: and acquiring a configuration file.
The configuration file comprises file information, template information and template operation information. The file information refers to basic information necessary for generating the management software file, and may include device identification information, cluster information (when the management software view generated by the corresponding management software file is an entire cluster) or belonging cluster information (when the management software view generated by the corresponding management software file is a single device), part number information, part icons, part location information, function code information, and the like. The template information is information for specifying the management software template file, and may be, for example, a template number, a template path, a template name, or the like. The template information may specify a previously claimed management software file as a template, or may specify an initialization file as a template. The template operation information is information indicating how to operate on the management software template file, and may be, for example, addition, deletion, replacement, modification, and the like, and generally corresponds to the file information, that is, the operation for specifying the template with the specified file information.
It should be noted that, this embodiment does not limit the specific obtaining manner of the configuration file, and in an implementation, the configuration file input externally, for example, the configuration file sent by another electronic device, may be directly obtained. In another embodiment, the configuration file is generated locally, and specifically, the process of obtaining the configuration file may include:
step 11: and acquiring configuration information input through a visual interface.
Step 12: and generating a configuration file by using the configuration information and the configuration items corresponding to the configuration information on the visual interface.
In this embodiment, a visual interface may be used to perform information interaction with a user, and an input instruction or information may be received during the information interaction. Specifically, a plurality of configuration items may be output on the visualization interface, and each configuration item may be used to generate a plurality of file information, template information, or template operation information. The user can input the configuration information corresponding to each configuration item through the visual interface, and the specific content of the configuration information is related to the type of the configuration item and the like. For example, if the configuration item is a picture configuration item, the corresponding configuration information may be a storage path of a certain image; if the configuration item is a data configuration item, the corresponding configuration information may be data specific content, such as a number or a position coordinate. After the configuration information is obtained, the configuration file can be generated according to the preset file generation logic by utilizing the corresponding relation between the configuration information and the configuration item corresponding to the configuration information, the file generation logic of the configuration file can be set as required, and the specific content of the file generation logic can be different according to the difference of the format, the content and the like of the configuration file.
S102: and acquiring a plurality of management software template files according to the template information.
After the configuration file is obtained, the corresponding management software template file can be obtained according to the template information in the configuration file. The number of the management software template files may be one or more, and the number and the type of the management software files to be generated may be different according to the type of the management software to which the management software files are applied, and thus the number and the type of the management software template files required for generating the management software files may also be different. For example, in one possible embodiment, there are three management software template files, html files, css files, and js files.
For the acquiring mode of the management software template file, the specific acquiring mode can be different according to different types of the template information. In one embodiment, if the template information is a template storage path, the storage path may be determined in a local storage path or a non-local storage path, and a file under the storage path, which may be determined as a template, is determined as a management software template file. In another embodiment, if the template information is a template name, the names of all the files may be compared with the template name, and the file passing the comparison may be determined as the management software template file.
S103: and operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files.
And after the template file is obtained, operating the management software template file according to the requirement of the template operation information by taking the file information as basic information to obtain a plurality of management software files matched with the configuration file. The embodiment does not limit the specific content of the operation mode specified by the template operation information, and can perform editing operation which can be executed by any manual operation on the management software template file in combination with the file information. For example, file information may be added to the management software template file; alternatively, a part (e.g., parameter or code) specified by the file information in the management software template file may be updated to the content specified by the file information; alternatively, the portion specified by the file information in the management software template file may be deleted. By making improvements on the template file, a new management software file is obtained, which can be used for rendering into a new management software view. After the management software file is obtained, the management software file can be determined as a new management software template file, so that a new management software view can be further generated on the basis of the management software file when needed, and a management software view corresponding to a new device model or cluster can be rendered.
In one embodiment, the process of operating a plurality of management software template files by using file information according to the template operation information to obtain a plurality of management software files may include:
step 21: and determining template operation sub-information corresponding to various file sub-information in the file information.
Step 22: and determining a target template file according to the operation object, and executing operation corresponding to the operation mode on the target template file by using the file sub-information.
In this embodiment, the file information includes a plurality of categories of file sub information, each of the file sub information corresponds to a different template operation sub information, and the operation manner and/or the operation object specified by the template operation sub information is related to the category of the file sub information, that is, the file information can be operated according to the category of the file sub information. The specific classification manner of the file sub-information is not limited, and the file sub-information may be html sub-information, css sub-information, and js sub-information, or may be image sub-information, data sub-information, code sub-information, and the like. According to the operation object and the operation mode required by the file sub information, the target template file can be determined, and the operation corresponding to the operation mode is executed. It will be appreciated that the target template file may be any one of the management software template files.
Further, in an embodiment, after the management software file is obtained, the corresponding management software view can be rendered by using the management software file, so that a user can manage the device through the management software view. Specifically, the method can further comprise the following steps:
step 31: and rendering the image by using the management software file to obtain a management software view.
Step 32: and visually displaying the management software view.
Step 33: and detecting the operation behavior of the management software view, and performing visual response on the operation behavior according to the operation behavior type.
The method and the process for the management software to be rendered and visually displayed are not limited in this embodiment, and the specific method may refer to related technologies, and is not described herein again. It should be noted that, the user can view information or operate the corresponding device by operating the management software view. The identity of the device to which the management software view corresponds may be specified in file information, which may include, for example, the cluster to which the device belongs and device identification information. If the user is detected to initiate an operation behavior, such as clicking, dragging, inputting an instruction, etc., on the management software view, the operation behavior can be visually responded according to the type of the operation behavior, so that the user can intuitively know the device. Wherein the types of the operation behaviors comprise interactive behaviors and non-interactive behaviors. Specifically, the process of visually responding to the operation behavior according to the operation behavior type may include:
step 41: and if the operation behavior type is a non-interactive behavior, performing visual response on the operation behavior according to the response logic of the management software file.
Step 42: and if the operation behavior type is an interactive behavior, generating an operation instruction according to the operation behavior, and sending the operation instruction to the target equipment.
Step 43: and performing visual response on the operation behavior according to the instruction response of the target equipment to the operation instruction and the response logic.
The non-interactive form refers to that corresponding behaviors, such as information display behaviors and the like, can be performed without performing data interaction with the electronic device corresponding to the management software file. In this case, the operation behavior can be visually responded to directly according to the response logic of the management software file. For example, if the operation behavior is an information presentation behavior, after the operation behavior is detected, when a component or a device specified by the operation behavior is used, information of the component or the device can be presented; or, when the currently displayed management software view is a cluster view, the operation behavior is to expand the management software view corresponding to a certain device. In this case, the management software file corresponding to the device may be called, rendered and displayed, and the visual response is completed.
In another embodiment, the operation behavior is an interactive behavior, that is, a response logic can be determined only by performing data interaction with an object corresponding to the management software view, and then a visual response behavior is performed. For example, the control signal lamp can be lighted, the hard disk can be popped up and the like. In this case, it is necessary to generate an operation instruction according to the operation behavior and transmit the operation instruction to the corresponding target device. The target device can execute the operation instruction after acquiring the operation instruction, further obtain a corresponding execution result, generate an instruction response according to the execution result and feed back the instruction response. And after receiving the instruction response, performing visual response on the operation behavior according to the content of the instruction response and the response logic under the current condition. For example, when the control operation is an operation of lighting a traffic light, a lighting operation instruction is generated and transmitted to the target device, the target device executes the instruction, and if the traffic light is successfully lit, a response to the instruction that the lighting is successful is fed back. Upon receiving the instruction response, the indicator light on the management software view is color changed to an illuminated state on the visual interface in accordance with the response logic.
Further, in an embodiment, after the image rendering is performed by using the management software file, and the obtaining of the management software view further includes:
step 51: and acquiring a real object image, and matching the real object image with the management software view.
Step 52: if not, determining that the configuration file is wrong, and outputting a false alarm.
Step 53: and if so, determining to execute the step of visually displaying the management software view.
The physical map refers to a real photo or image of the device, and can be used for comparing with a management software view generated by a management software file so as to judge whether the management software file is correct or not, and further judge whether the configuration file is correct or not. If the two are matched, the management software view is correct, so that the management software view can be visually displayed and controlled to operate. If the configuration file is not matched with the control operation, the configuration file is wrong, and if the configuration file is visually displayed and the control operation is received, the control operation may be wrong, so that the configuration file is not visually displayed, but a wrong alarm is output.
Referring to fig. 2, fig. 2 is a flowchart illustrating an exemplary management software device according to an embodiment of the present disclosure. The scanning script is used for scanning the configuration file and generating a corresponding management software file according to a scanning result. Specifically, the hardware information configuration file (i.e. configuration file) may include:
1. the device model name which needs to be displayed by the management interface is rendered on a display device panel view (namely a display device panel view which is a management software view) and is used for identifying the device identity;
2. the cluster comprises hardware configuration information of each node, namely tree structure information in a josn format, and is used for expressing a cluster architecture;
3. the hardware models and the quantity of a power supply, a network card, a fan, a disk and the like of each node (namely equipment) are used for determining how to display each hardware icon in the panel view of the equipment;
4. the position coordinate information of hardware such as each node power supply, a network card, a fan, a magnetic disk and the like relative to the equipment panel diagram is used for positioning each hardware icon;
5. the information such as the type and slot number of the disk is used for matching with the code segment to generate a function code and an html segment which can perform control operation (for example, clicking a disk icon for triggering);
6. the html file, the css file and the js file name related to each node device model are used for indicating the template file and the operation mode of the template file, for example, the above information is inserted into the template file to be effective.
After the script display fry configuration file is scanned, a network topology graph can be generated, corresponding hardware icons (namely equipment view panel pictures) are loaded, and corresponding html, css and js scripts (namely management software files) are generated by reading information such as coordinates. And (4) simultaneously rendering the device attempt and outputting the device attempt (outputting device attempt information, namely a visual display management software view), and finishing image output if the device attempt to accord with a real object (namely a real object graph). If the configuration files do not conform to each other or the configuration files are not scanned successfully, the configuration files of the modified hardware information are returned.
By applying the method for generating the management software file, various management software files do not need to be manually written, and the management software file is automatically generated by using the configuration file. Specifically, the configuration file records file information, template information, and template operation information, where the file information is element information required to generate the management software file, the template information is used to specify a template required to generate the management software file, and the template operation information is used to describe how to operate the template to obtain the management software file. And after the management software template is obtained according to the template information, operating the management software template file according to the template operation information, wherein the content required in the operation process is the file information. The management software file can be automatically generated by obtaining the configuration file, so that errors in the process of compiling the management software file are avoided, the file code quality is high, the labor consumption is greatly reduced, and the problems of high labor consumption and low file code quality in the related technology are solved.
In the following, the management software file generation apparatus provided in the embodiment of the present application is introduced, and the management software file generation apparatus described below and the management software file generation method described above may be referred to in correspondence with each other.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a management software file generating device according to an embodiment of the present application, including:
a file obtaining module 110, configured to obtain a configuration file; the configuration file comprises file information, template information and template operation information;
a template determining module 120, configured to obtain a plurality of management software template files according to the template information;
the configuration module 130 is configured to operate the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files.
Optionally, the file obtaining module 110 includes:
the information acquisition unit is used for acquiring configuration information input through a visual interface;
and the file generating unit is used for generating a configuration file by using the configuration information and the configuration items corresponding to the configuration information on the visual interface.
Optionally, the configuration module 130 includes:
the mode and object determining subunit is used for determining template operation sub information corresponding to various file sub information in the file information; the operation mode and/or operation object specified by the template operation sub information are related to the category of the file sub information;
and the execution subunit is used for determining the target template file according to the operation object and executing the operation corresponding to the operation mode on the target template file by using the file sub information.
Optionally, the method further comprises:
the rendering module is used for rendering the image by using the management software file to obtain a management software view;
the display module is used for visually displaying the management software view;
and the operation module is used for detecting the operation behavior of the management software view and carrying out visual response on the operation behavior according to the operation behavior type.
Optionally, the operation module comprises:
the first response unit is used for carrying out visual response on the operation behavior according to the response logic of the management software file if the operation behavior type is the non-interactive behavior;
the instruction sending unit is used for generating an operation instruction according to the operation behavior and sending the operation instruction to the target equipment if the operation behavior type is the interactive behavior;
and the second response unit is used for performing visual response on the operation behavior according to the instruction response of the target equipment to the operation instruction and the response logic.
Optionally, the method further comprises:
the matching detection module is used for acquiring the physical image and matching the physical image with the management software view;
the alarm module is used for determining that the configuration file is wrong and outputting an error alarm if the configuration file is not matched with the configuration file;
and if the display module is matched with the display module, the step of visually displaying the management software view is executed.
Optionally, the method further comprises:
and the template determining module is used for determining the management software file as a new management software template file.
In the following, the electronic device provided by the embodiment of the present application is introduced, and the electronic device described below and the management software file generation method described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Wherein the electronic device 100 may include a processor 101 and a memory 102, and may further include one or more of a multimedia component 103, an information input/information output (I/O) interface 104, and a communication component 105.
The processor 101 is configured to control the overall operation of the electronic device 100, so as to complete all or part of the steps in the above-mentioned management software file generation method; the memory 102 is used to store various types of data to support operation at the electronic device 100, such data may include, for example, instructions for any application or method operating on the electronic device 100, as well as application-related data. The Memory 102 may be implemented by any type or combination of volatile and non-volatile Memory devices, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic or optical disk.
The multimedia component 103 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 102 or transmitted through the communication component 105. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 104 provides an interface between the processor 101 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 105 is used for wired or wireless communication between the electronic device 100 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 105 may include: Wi-Fi part, Bluetooth part, NFC part.
The electronic Device 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is configured to perform the management software file generation method according to the above embodiments.
In the following, a computer-readable storage medium provided by the embodiments of the present application is introduced, and the computer-readable storage medium described below and the management software file generation method described above may be referred to correspondingly.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the management software file generation method described above.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relationships such as first and second, etc., are intended only to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms include, or any other variation is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A management software file generation method is characterized by comprising the following steps:
acquiring a configuration file; the configuration file comprises file information, template information and template operation information;
acquiring a plurality of management software template files according to the template information;
and operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files.
2. The method for generating a management software file according to claim 1, wherein the obtaining a configuration file comprises:
acquiring configuration information input through a visual interface;
and generating the configuration file by using the configuration information and the configuration items corresponding to the configuration information on the visual interface.
3. The method for generating management software files according to claim 1, wherein the operating the plurality of management software template files by using the file information according to the template operation information to obtain a plurality of management software files comprises:
determining template operation sub-information corresponding to various file sub-information in the file information; the operation mode and/or operation object specified by the template operation sub information are related to the category of the file sub information;
and determining a target template file according to the operation object, and executing the operation corresponding to the operation mode on the target template file by utilizing the file sub-information.
4. The management software file generating method according to claim 1, further comprising:
performing image rendering by using the management software file to obtain a management software view;
visually displaying the management software view;
and detecting the operation behavior of the management software view, and performing visual response on the operation behavior according to the operation behavior type.
5. The method for generating management software files according to claim 4, wherein said visually responding to said operation behavior according to the operation behavior type comprises:
if the operation behavior type is a non-interactive behavior, performing visual response on the operation behavior according to response logic of the management software file;
if the operation behavior type is an interactive behavior, generating an operation instruction according to the operation behavior, and sending the operation instruction to target equipment;
and performing visual response on the operation behavior according to the instruction response of the target equipment to the operation instruction and the response logic.
6. The method for generating management software files according to claim 4, wherein said rendering images using said management software files to obtain a management software view further comprises:
acquiring a real object image, and matching the real object image with the management software view;
if not, determining that the configuration file is wrong, and outputting a false alarm;
and if so, determining to execute the step of visually displaying the management software view.
7. The management software file generating method according to claim 1, further comprising:
and determining the management software file as a new management software template file.
8. An apparatus for generating a management software file, comprising:
the file acquisition module is used for acquiring a configuration file; the configuration file comprises file information, template information and template operation information;
the template determining module is used for acquiring a plurality of management software template files according to the template information;
and the configuration module is used for operating the plurality of management software template files by utilizing the file information according to the template operation information to obtain a plurality of management software files.
9. An electronic device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor for executing the computer program to implement the management software file generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program, wherein the computer program when executed by a processor implements the management software file generation method of any one of claims 1 to 7.
CN202110997901.2A 2021-08-27 2021-08-27 Method, device and equipment for generating management software file and readable storage medium Active CN113821202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110997901.2A CN113821202B (en) 2021-08-27 2021-08-27 Method, device and equipment for generating management software file and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110997901.2A CN113821202B (en) 2021-08-27 2021-08-27 Method, device and equipment for generating management software file and readable storage medium

Publications (2)

Publication Number Publication Date
CN113821202A true CN113821202A (en) 2021-12-21
CN113821202B CN113821202B (en) 2023-12-22

Family

ID=78913700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110997901.2A Active CN113821202B (en) 2021-08-27 2021-08-27 Method, device and equipment for generating management software file and readable storage medium

Country Status (1)

Country Link
CN (1) CN113821202B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320472A1 (en) * 2007-06-20 2008-12-25 James Laska Methods and systems for dynamically generating installation configuration files for software
US20130212132A1 (en) * 2012-02-09 2013-08-15 Adobe Systems Incorporated Dynamic generation of a configuration file
CN108228188A (en) * 2018-01-08 2018-06-29 武汉斗鱼网络科技有限公司 A kind of view component processing method, electronic equipment and readable storage medium storing program for executing
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
CN109683953A (en) * 2018-12-26 2019-04-26 苏州思必驰信息科技有限公司 A kind of method and device carrying out configuration file processing based on visualization interface
CN111506300A (en) * 2020-04-22 2020-08-07 上海极链网络科技有限公司 Applet generation method, device, equipment and storage medium
CN112685485A (en) * 2021-01-04 2021-04-20 拉卡拉支付股份有限公司 Data acquisition method, data acquisition device, electronic equipment, storage medium and program product
CN113254033A (en) * 2021-05-28 2021-08-13 浪潮电子信息产业股份有限公司 Master disk file generation method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320472A1 (en) * 2007-06-20 2008-12-25 James Laska Methods and systems for dynamically generating installation configuration files for software
US20130212132A1 (en) * 2012-02-09 2013-08-15 Adobe Systems Incorporated Dynamic generation of a configuration file
CN108228188A (en) * 2018-01-08 2018-06-29 武汉斗鱼网络科技有限公司 A kind of view component processing method, electronic equipment and readable storage medium storing program for executing
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
CN109683953A (en) * 2018-12-26 2019-04-26 苏州思必驰信息科技有限公司 A kind of method and device carrying out configuration file processing based on visualization interface
CN111506300A (en) * 2020-04-22 2020-08-07 上海极链网络科技有限公司 Applet generation method, device, equipment and storage medium
CN112685485A (en) * 2021-01-04 2021-04-20 拉卡拉支付股份有限公司 Data acquisition method, data acquisition device, electronic equipment, storage medium and program product
CN113254033A (en) * 2021-05-28 2021-08-13 浪潮电子信息产业股份有限公司 Master disk file generation method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈海郎;: "基于模板的管理信息系统代码自动生成", 价值工程, no. 32 *

Also Published As

Publication number Publication date
CN113821202B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN111522552B (en) Sub-application generation method and device, computer equipment and storage medium
CN109408764B (en) Page area dividing method, device, computing equipment and medium
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
CN114510231A (en) Application construction method, device, equipment and computer readable storage medium
JP2015219890A (en) Management device, and control method and program for the same
CN112364496B (en) Avionics simulation panel generation system based on HTML5 and VUE technologies
CN112817817B (en) Buried point information query method, buried point information query device, computer equipment and storage medium
CN111580712B (en) Desktop customization method, device, equipment, system and storage medium
CN111679818A (en) Method and system for editing display software
CN112352214A (en) Display control device, display control method, and display control program
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
CN117875288A (en) Form page generation method and device and electronic equipment
CN114489625A (en) Method and device for converting JSON format text into visual configuration tool
CN111435313A (en) Method and device for changing skin of software
CN113419711A (en) Page guiding method and device, electronic equipment and storage medium
CN117762519A (en) Component management method, device, computer equipment and storage medium
JP2021174096A (en) Test support device, test support program and test support method
CN113821202B (en) Method, device and equipment for generating management software file and readable storage medium
US11379194B2 (en) Systems and methods for automatic code generation
US20150317404A1 (en) Accessing Content in a Rich Internet Application
JP6552162B2 (en) Information processing apparatus, information processing method, and program
CN115220618A (en) Form generation method and device
CN113741953A (en) Form processing method and device, electronic equipment and computer storage medium
CN113220386A (en) Instrument board publishing method and related equipment

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