CN113378091A - Visual project generation method and device, electronic equipment and storage medium - Google Patents
Visual project generation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113378091A CN113378091A CN202110636353.0A CN202110636353A CN113378091A CN 113378091 A CN113378091 A CN 113378091A CN 202110636353 A CN202110636353 A CN 202110636353A CN 113378091 A CN113378091 A CN 113378091A
- Authority
- CN
- China
- Prior art keywords
- item
- configuration
- project
- user
- browser
- 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
Links
- 230000000007 visual effect Effects 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000012800 visualization Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 11
- 230000000153 supplemental effect Effects 0.000 claims description 11
- 238000009434 installation Methods 0.000 claims description 8
- 230000001419 dependent effect Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 19
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004883 computer application Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012827 research and development Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a visual project generation method and device, electronic equipment and a storage medium, relates to the field of computer application, and particularly relates to a scaffold technology. The specific implementation scheme is as follows: acquiring configuration items input by a user through a visual interface of a browser; the configuration item is used for creating a target item of a preset type; acquiring a script configuration file corresponding to the target project based on the configuration item; loading a user script configuration file into a preset project scaffold template through a visual interface of a browser to obtain a project scaffold template corresponding to a target project; and generating the target project based on the project scaffold template corresponding to the target project. The embodiment of the application can improve the use conversion rate of the scaffold, is convenient for a user to use, can reduce the development difficulty and improve the development efficiency.
Description
Technical Field
The present disclosure relates to the field of computer application technologies, and further relates to a scaffold technology, and in particular, to a method and an apparatus for generating a visualization project, an electronic device, and a storage medium.
Background
When a project is developed, the construction of a project framework, the deployment of project source code, the hot loading of the project, and the like are generally considered. The efficiency of project development is greatly reduced if each project requires a developer to manually accomplish the work, and therefore, in order to improve the efficiency of project development, developers often use project scaffolding tools to help accomplish this. For example, for the development of Web page (Web) projects, developers typically use scaffolding tools under the vue.
However, in the existing project generation method, the process of generating projects through the scaffold tool is invisible to users, and the users can only select configuration items from top to bottom in a level-by-level manner, and cannot select backwards or reselect; moreover, each project generated by the scaffold tool is independent, the user does not know which projects have been generated, and there is no overall summarization and presentation of the generated projects. In addition, it is very inconvenient for a developer who is not familiar with the scaffold technology to generate a project using the scaffold tool, which results in an increase in development difficulty and a decrease in development efficiency.
Disclosure of Invention
The disclosure provides a visual item generation method and device, electronic equipment and a storage medium.
In a first aspect, the present application provides a visualization project generation method, including:
acquiring configuration items input by a user through a visual interface of a browser; the configuration items are used for creating target items of preset types;
acquiring a script configuration file corresponding to the target item based on the configuration item;
loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project;
and generating the target project based on the project scaffold template corresponding to the target project.
In a second aspect, the present application provides a visualization project generating apparatus, the apparatus comprising: the device comprises an input module, an acquisition module, a loading module and a generation module; wherein,
the input module is used for acquiring configuration items input by a user through a visual interface of a browser; the configuration items are used for creating target items of preset types;
the acquisition module is used for acquiring a script configuration file corresponding to the target project based on the configuration item;
the loading module is used for loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project;
the generating module is used for generating the target project based on the project scaffold template corresponding to the target project.
In a third aspect, an embodiment of the present application provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the visualization project generation method according to any of the embodiments of the present application.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the visualization project generation method according to any embodiment of the present application.
In a fifth aspect, a computer program product is provided, which when executed by a computer device implements the visualization project generation method according to any of the embodiments of the present application.
According to the technical scheme provided by the application, the process that projects are generated through a scaffold tool in the prior art is invisible for a user, the user can only select configuration items from the top to the next level, the selection cannot be backed off, and the reselection cannot be performed, and the technical problems that the development difficulty is increased and the development efficiency is reduced because developers are not familiar with the scaffold technology are solved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a first flowchart of a visualization project generation method provided by an embodiment of the present application;
FIG. 2 is a second flowchart of a visualization project generation method provided by an embodiment of the present application;
fig. 3 is a third flowchart of a visualization project generation method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a visualization project generating apparatus provided in the third embodiment of the present application;
fig. 5 is a block diagram of an electronic device for implementing a visualization project generation method according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Example one
Fig. 1 is a first flowchart of a visual item generation method provided in an embodiment of the present application, where the method may be performed by a visual item generation apparatus or an electronic device, where the apparatus or the electronic device may be implemented by software and/or hardware, and the apparatus or the electronic device may be integrated in any intelligent device with a network communication function. As shown in fig. 1, the visualization project generation method may include the steps of:
s101, acquiring a configuration item input by a user through a visual interface of a browser; the configuration item is used for creating a target item of a preset type.
In this step, the electronic device may obtain the configuration item input by the user through a visual interface of the browser; the configuration item is used for creating a target item of a preset type. Specifically, the user can input the configuration items on the visualized form selection interface, and compared with the prior art that the configuration items are input in specific terminal software, more operations (such as modification, rollback and re-editing) can be supported, and the use by the user is more convenient. By adopting the technical scheme provided by the application, a user can see which configuration items are selected and which configuration items are not selected on a visual interface; the configuration items which are selected already can be deleted, the configuration items which are not selected can be continuously selected, or the configuration items which are not selected fall back to a certain selection mode to be reselected.
Preferably, in this embodiment of the present application, before the configuration items input by the user are obtained through the visual interface of the browser, the user may further select the compatibility degree of the browser. Specifically, the electronic device may receive an instruction for selecting the compatibility degree of the browser input by the user; and then responding to the instruction to select the compatibility degree of the browser, and obtaining a visual interface of the browser. The degree of compatibility may be different for different browsers; the compatibility of the same browser with different versions may be different. The compatibility degree in the embodiment of the present application refers to a supporting degree of a certain user function or certain user functions or system functions by a browser. For example, for a certain browser, if the user functions or system functions supported by the browser are more, the higher the compatibility of the browser is indicated; if it supports fewer user functions or system functions, it indicates that the browser is less compatible. Under different application scenes, the requirements of the user on the compatible programs of the browser are different, so that the embodiment of the application can support the selection of the compatibility degree of the user on the browser, and the use requirements of the user are better met.
And S102, acquiring a script configuration file corresponding to the target item based on the configuration item.
In this step, the electronic device may obtain a script configuration file corresponding to the target item based on the configuration item. Specifically, the electronic device may first search, based on the configuration item, a script configuration file matched with the configuration item in a pre-created local source file library; if at least one script configuration file matched with the configuration item is found in the local source file library, the electronic device may use one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item. If the script configuration file matched with the configuration item is not found in the local source document library, the electronic equipment can also find the script configuration file matched with the configuration item in a source document library specified by a user; if at least one script configuration file matched with the configuration item is found in the source file library specified by the user, the electronic device may use one of the at least one script configuration file matched with the configuration item as the script configuration file corresponding to the target item.
S103, loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project.
In this step, the electronic device may load the user script configuration file into a preset project scaffold template through a visual interface of the browser, so as to obtain a project scaffold template corresponding to the target project. Specifically, the preset project scaffold template at least comprises the following files: build folder, config folder, source (src) folder, and project home page (index. The build folder comprises a basic configuration file, a development environment configuration file, a production environment configuration file and the like of the module packager; the config folder mainly comprises a path port (namely, a proxy server) configuration file; the source folder is used for placing components and entry files; the project home page file is used for profile entry.
And S104, generating the target item based on the item scaffold template corresponding to the target item.
In this step, the electronic device may generate the target item based on the item scaffold template corresponding to the target item. Often the construction of a visualization page may require a large number of templates, which may be from different businesses or departments. When research and development personnel need to create a visual template, firstly, an account and a password need to be logged in a terminal, and if the logged account has research and development permission, the research and development personnel can create a project scaffold template; and generating a project based on the project scaffold template. Specifically, the scaffold template may include: package management tools, configuration files, project base dependency packages, software architectures, local development environments, and the like. The development scaffold is a tool for quickly forming an engineering catalog, and the essence of the development scaffold lies in the encapsulation of a scheme, so that a user can create an initial file of a project only by simple commands.
The method for generating the visual project, provided by the embodiment of the application, comprises the steps of firstly acquiring a configuration project input by a user through a visual interface of a browser; then acquiring a script configuration file corresponding to the target project based on the configuration item; loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project; and finally, generating the target project based on the project scaffold template corresponding to the target project. That is, the project can be generated through the visual interface of the browser, and the user can see the whole process of generating the project; the user does not need to select configuration items one level from top to bottom and can support back selection and reselection. In the existing project generation method, projects are generally generated on specific terminal software, the process is invisible for users, and the users can only select configuration items from top to bottom in a level-by-level mode, cannot select back and cannot select again. Because the technical means of moving the project generation environment from the specific terminal software to the browser is adopted, the technical problems that in the prior art, the process of generating the project through a scaffold tool is invisible to a user, the user can only select configuration items from top to bottom in a one-level mode, the configuration items cannot be selected backwards and reselected, and development difficulty is increased and development efficiency is reduced due to the fact that developers are unfamiliar with the scaffold technology are solved; moreover, the technical scheme of the embodiment of the application is simple and convenient to implement, convenient to popularize and wide in application range.
Example two
Fig. 2 is a second flowchart of a visualization project generation method provided in an embodiment of the present application. Further optimization and expansion are performed based on the technical scheme, and the method can be combined with the various optional embodiments. As shown in fig. 2, the visualization project generation method may include the steps of:
s201, acquiring a configuration item input by a user through a visual interface of a browser; wherein the configuration item is used for creating a preset type of target item.
S202, searching a script configuration file matched with the configuration item in a pre-created local source file library based on the configuration item.
In this step, the electronic device may first search, based on the configuration item, a script configuration file matching the configuration item in a pre-created local source file library. If at least one script configuration file matched with the configuration item is found in the local source file library, the electronic device may use one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item. Specifically, the electronic device may use the script configuration file with the highest matching degree with the configuration item as the script configuration file corresponding to the target item; any other script configuration file matched with the configuration item can be used as the script configuration file corresponding to the target item. Further, the embodiment of the present application may also support switching of the local source document library, for example, switching the local source document library from one document library to another document library.
S203, if the script configuration file matched with the configuration item is not found in the local source file library, finding the script configuration file matched with the configuration item in a source file library specified by a user.
In this step, if the script configuration file matched with the configuration item is not found in the local source file library, the electronic device may also find the script configuration file matched with the configuration item in the source file library specified by the user. For example, a user may input a Uniform Resource Locator (URL) address, obtain a user-specified ground source file library based on the URL address, and then search the user-specified source file library for a script configuration file matching the configuration item.
S204, if at least one script configuration file matched with the configuration item is found in the source file base specified by the user, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item.
In this step, if at least one script configuration file matched with the configuration item is found in the source library specified by the user, the electronic device may use one of the at least one script configuration file matched with the configuration item as the script configuration file corresponding to the target item. Specifically, the electronic device may use the script configuration file with the highest matching degree with the configuration item as the script configuration file corresponding to the target item; any other script configuration file matched with the configuration item can be used as the script configuration file corresponding to the target item.
And S205, loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain the project scaffold template corresponding to the target project.
And S206, generating the target item based on the item scaffold template corresponding to the target item.
Preferably, in an embodiment of the present application, the electronic device may further display a progress bar on a visual interface of the browser, for displaying the generation progress and the usage expectation of the target item to the user. In addition, the user can select the directory corresponding to the target project on the visual interface of the browser, so that the link of manually operating the terminal is omitted, and the method is visual and convenient.
The method for generating the visual project, provided by the embodiment of the application, comprises the steps of firstly acquiring a configuration project input by a user through a visual interface of a browser; then acquiring a script configuration file corresponding to the target project based on the configuration item; loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project; and finally, generating the target project based on the project scaffold template corresponding to the target project. That is, the project can be generated through the visual interface of the browser, and the user can see the whole process of generating the project; the user does not need to select configuration items one level from top to bottom and can support back selection and reselection. In the existing project generation method, projects are generally generated on specific terminal software, the process is invisible for users, and the users can only select configuration items from top to bottom in a level-by-level mode, cannot select back and cannot select again. Because the technical means of moving the project generation environment from the specific terminal software to the browser is adopted, the technical problems that in the prior art, the process of generating the project through a scaffold tool is invisible to a user, the user can only select configuration items from top to bottom in a one-level mode, the configuration items cannot be selected backwards and reselected, and development difficulty is increased and development efficiency is reduced due to the fact that developers are unfamiliar with the scaffold technology are solved; moreover, the technical scheme of the embodiment of the application is simple and convenient to implement, convenient to popularize and wide in application range.
EXAMPLE III
Fig. 3 is a third flowchart of a visualization project generation method according to an embodiment of the present application. Further optimization and expansion are performed based on the technical scheme, and the method can be combined with the various optional embodiments. As shown in fig. 3, the visualization project generation method may include the steps of:
s301, acquiring a configuration item input by a user through a visual interface of a browser; wherein the configuration item is used for creating a preset type of target item.
And S302, acquiring a script configuration file corresponding to the target item based on the configuration item.
Preferably, in an embodiment of the present application, before acquiring the script configuration file corresponding to the target item based on the configuration item, the electronic device may further receive an installation dependency instruction input by a user through a visual interface of a browser; and then responding to the installation dependent instruction to execute the operation of acquiring the script configuration file corresponding to the target item based on the configuration item.
And S303, loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain the project scaffold template corresponding to the target project.
And S304, generating the target item based on the item scaffold template corresponding to the target item.
S305, acquiring a supplementary configuration item input by a user through a visual interface of a browser; wherein the supplemental configuration item is used to add a supplemental dependency option for the target item.
In this step, the electronic device may obtain the supplementary configuration item input by the user through a visual interface of the browser; wherein the supplemental configuration item is used to add a supplemental dependency option for the target item. Specifically, the user can supplement one or more configuration items in a visual interface of the browser as supplementary configuration items; more functionality or more constraints can be added to the generated project by adding supplemental configuration items.
S306, combining the supplementary configuration item and the configuration item into a new configuration item, and executing the operation of acquiring a new script configuration file corresponding to the target item based on the new configuration item.
In this step, the electronic device may merge the supplementary configuration item and the configuration item into a new configuration item, and then perform an operation of obtaining a new script configuration file corresponding to the target item based on the new configuration item. Further, the user may also delete one or more configuration items from the configuration items that have been selected, use the remaining configuration items as new configuration items, and then perform an operation of obtaining a new script configuration file corresponding to the target item based on the new configuration items. Furthermore, the user may also modify one or more configuration items in the configuration items that have been selected, combine the modified configuration items and the unmodified configuration items into a new configuration item, and then perform an operation of obtaining a new script configuration file corresponding to the target item based on the new configuration item.
And S307, loading the new user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a new project scaffold template corresponding to the target project.
And S308, generating a new target item based on the new item scaffold template corresponding to the target item.
Preferably, in an embodiment of the present application, the electronic device may further receive, through a visual interface of the browser, an item display instruction input by a user; and then, responding to the item display instruction to display the target item to the user on the visual interface of the browser. Therefore, the user can see all information of the project on the visual interface, and can manage the project based on the information, so that the user can use the project better.
The method for generating the visual project, provided by the embodiment of the application, comprises the steps of firstly acquiring a configuration project input by a user through a visual interface of a browser; then acquiring a script configuration file corresponding to the target project based on the configuration item; loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project; and finally, generating the target project based on the project scaffold template corresponding to the target project. That is, the project can be generated through the visual interface of the browser, and the user can see the whole process of generating the project; the user does not need to select configuration items one level from top to bottom and can support back selection and reselection. In the existing project generation method, projects are generally generated on specific terminal software, the process is invisible for users, and the users can only select configuration items from top to bottom in a level-by-level mode, cannot select back and cannot select again. Because the technical means of moving the project generation environment from the specific terminal software to the browser is adopted, the technical problems that in the prior art, the process of generating the project through a scaffold tool is invisible to a user, the user can only select configuration items from top to bottom in a one-level mode, the configuration items cannot be selected backwards and reselected, and development difficulty is increased and development efficiency is reduced due to the fact that developers are unfamiliar with the scaffold technology are solved; moreover, the technical scheme of the embodiment of the application is simple and convenient to implement, convenient to popularize and wide in application range.
Example four
Fig. 4 is a schematic structural diagram of a visualization project generating apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus 400 includes: an input module 401, an acquisition module 402, a loading module 403 and a generation module 404; wherein,
the input module 401 is configured to obtain a configuration item input by a user through a visual interface of a browser; the configuration items are used for creating target items of preset types;
the obtaining module 402 is configured to obtain a script configuration file corresponding to the target item based on the configuration item;
the loading module 403 is configured to load the user script configuration file into a preset project scaffold template through a visual interface of the browser, so as to obtain a project scaffold template corresponding to the target project;
the generating module 404 is configured to generate the target project based on the project scaffold template corresponding to the target project.
Further, the obtaining module 402 is specifically configured to search, based on the configuration item, a script configuration file matched with the configuration item in a pre-created local source file library; and if at least one script configuration file matched with the configuration item is found in the local source file library, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target project.
Further, the obtaining module 402 is further configured to search a script configuration file matched with the configuration item in a source file library specified by a user if the script configuration file matched with the configuration item is not found in the local source file library; and if at least one script configuration file matched with the configuration item is found in the source file library specified by the user, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item.
Further, the input module 401 is further configured to receive an instruction, which is input by the user and used for selecting the compatibility degree of the browser; and responding to the instruction for selecting the compatibility degree of the browser to select the compatibility degree of the browser, and obtaining a visual interface of the browser.
Further, the input module 401 is further configured to obtain, through a visual interface of the browser, the supplementary configuration item input by the user; wherein the supplemental configuration item is used for adding a supplemental dependency option for the target item; merging the supplementary configuration item and the configuration item into a new configuration item;
the obtaining module 402 is further configured to perform an operation of obtaining a new script configuration file corresponding to the target item based on the new configuration item.
Further, the obtaining module 402 is further configured to receive, through a visual interface of the browser, an installation dependency instruction input by the user; and responding to the installation dependent instruction to execute the operation of acquiring the script configuration file corresponding to the target item based on the configuration item.
Further, the input module 401 is further configured to receive, through a visual interface of the browser, an item display instruction input by the user; and displaying the target item to the user on a visual interface of the browser in response to the item display instruction.
The visual item generation device can execute the method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to a visualization project generation method provided in any embodiment of the present application.
EXAMPLE five
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure. 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 processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 comprises a computing unit 501 which may perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 501 executes the respective methods and processes described above, such as the visualization project generation method. For example, in some embodiments, the visualization project generation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the visualization project generation method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the visualization project generation method by any other suitable means (e.g., by means of firmware).
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.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable 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. 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 portable 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 a computer 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 can provide input to the computer. 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 computer 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 disclosure may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved. In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The above detailed description should not be construed as limiting the scope of the disclosure. 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 disclosure should be included in the scope of protection of the present disclosure.
Claims (17)
1. A visualization project generation method, the method comprising:
acquiring configuration items input by a user through a visual interface of a browser; the configuration items are used for creating target items of preset types;
acquiring a script configuration file corresponding to the target item based on the configuration item;
loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project;
and generating the target project based on the project scaffold template corresponding to the target project.
2. The method of claim 1, wherein the obtaining of the script configuration file corresponding to the target item based on the configuration item comprises:
searching a script configuration file matched with the configuration item in a pre-established local source file library based on the configuration item;
and if at least one script configuration file matched with the configuration item is found in the local source file library, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target project.
3. The method of claim 2, further comprising:
if the script configuration file matched with the configuration item is not found in the local source file library, searching the script configuration file matched with the configuration item in a source file library specified by a user;
and if at least one script configuration file matched with the configuration item is found in the source file library specified by the user, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item.
4. The method of claim 1, prior to the retrieving the user-entered configuration item via the browser's visual interface, the method further comprising:
receiving an instruction for selecting the compatibility degree of the browser input by the user;
and responding to the instruction for selecting the compatibility degree of the browser to select the compatibility degree of the browser, and obtaining a visual interface of the browser.
5. The method of claim 1, further comprising:
acquiring the supplementary configuration items input by the user through a visual interface of the browser; wherein the supplemental configuration item is used for adding a supplemental dependency option for the target item;
and combining the supplementary configuration item and the configuration item into a new configuration item, and executing the operation of acquiring a new script configuration file corresponding to the target item based on the new configuration item.
6. The method of claim 1, prior to the obtaining of the script configuration file corresponding to the target item based on the configuration item, the method further comprising:
receiving an installation dependence instruction input by the user through a visual interface of the browser; and responding to the installation dependent instruction to execute the operation of acquiring the script configuration file corresponding to the target item based on the configuration item.
7. The method of claim 1, further comprising:
receiving the project display instruction input by the user through a visual interface of the browser; and displaying the target item to the user on a visual interface of the browser in response to the item display instruction.
8. A visualization project generation apparatus, the apparatus comprising: the device comprises an input module, an acquisition module, a loading module and a generation module; wherein,
the input module is used for acquiring configuration items input by a user through a visual interface of a browser; the configuration items are used for creating target items of preset types;
the acquisition module is used for acquiring a script configuration file corresponding to the target project based on the configuration item;
the loading module is used for loading the user script configuration file into a preset project scaffold template through a visual interface of the browser to obtain a project scaffold template corresponding to the target project;
the generating module is used for generating the target project based on the project scaffold template corresponding to the target project.
9. The apparatus according to claim 8, wherein the obtaining module is specifically configured to search, based on the configuration item, a script configuration file matching the configuration item in a pre-created local source file library; and if at least one script configuration file matched with the configuration item is found in the local source file library, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target project.
10. The apparatus of claim 9, the obtaining module further configured to search a script configuration file matching the configuration item in a source file library specified by a user if the script configuration file matching the configuration item is not found in the local source file library; and if at least one script configuration file matched with the configuration item is found in the source file library specified by the user, taking one of the at least one script configuration file matched with the configuration item as a script configuration file corresponding to the target item.
11. The apparatus of claim 8, the input module further configured to receive an instruction input by the user to select the compatibility level of the browser; and responding to the instruction for selecting the compatibility degree of the browser to select the compatibility degree of the browser, and obtaining a visual interface of the browser.
12. The apparatus of claim 8, the input module further configured to obtain the supplementary configuration item input by the user through a visual interface of the browser; wherein the supplemental configuration item is used for adding a supplemental dependency option for the target item; merging the supplementary configuration item and the configuration item into a new configuration item;
the obtaining module is further configured to execute the operation of obtaining a new script configuration file corresponding to the target item based on the new configuration item.
13. The apparatus of claim 8, the obtaining module further configured to receive the user-input installation dependency instruction through a visual interface of the browser; and responding to the installation dependent instruction to execute the operation of acquiring the script configuration file corresponding to the target item based on the configuration item.
14. The apparatus of claim 8, the input module further configured to receive, through a visual interface of the browser, the user-input item presentation instruction; and displaying the target item to the user on a visual interface of the browser in response to the item display instruction.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110636353.0A CN113378091B (en) | 2021-06-08 | 2021-06-08 | Visualized item generation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110636353.0A CN113378091B (en) | 2021-06-08 | 2021-06-08 | Visualized item generation method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113378091A true CN113378091A (en) | 2021-09-10 |
CN113378091B CN113378091B (en) | 2024-05-14 |
Family
ID=77576489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110636353.0A Active CN113378091B (en) | 2021-06-08 | 2021-06-08 | Visualized item generation method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113378091B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115037613A (en) * | 2022-05-31 | 2022-09-09 | 北京永信至诚科技股份有限公司 | Project centralized continuous configuration method and system |
CN115423335A (en) * | 2022-09-14 | 2022-12-02 | 易纳购科技(北京)有限公司 | Project creation method and device, storage medium and computer equipment |
CN116069325A (en) * | 2023-01-28 | 2023-05-05 | 深圳市明源云采购科技有限公司 | Front-end project construction method, device, equipment and computer readable storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2003902399A0 (en) * | 2003-05-16 | 2003-06-05 | Crux Cybernetics Pty Ltd | A system for scheduling at least one task having a plurality of activities to be performed by one or more users of the system |
US20060107543A1 (en) * | 2004-11-19 | 2006-05-25 | Smith Timothy M | Column placement template |
CN109445835A (en) * | 2018-09-03 | 2019-03-08 | 平安普惠企业管理有限公司 | Method, terminal device and the computer readable storage medium of building project frame |
CN109683887A (en) * | 2018-12-17 | 2019-04-26 | 杭州玳数科技有限公司 | A kind of construction method and device for supporting the customized web project of multi-scheme |
CN110647320A (en) * | 2019-08-14 | 2020-01-03 | 平安普惠企业管理有限公司 | Project framework construction method and device, computer equipment and storage medium |
CN110795088A (en) * | 2019-10-29 | 2020-02-14 | 京东数字科技控股有限公司 | Front-end engineering project construction method and tool, and computer-readable storage medium |
CN111124376A (en) * | 2020-01-20 | 2020-05-08 | 众能联合数字技术有限公司 | Project building system for cod-eCli scaffold |
US20200184009A1 (en) * | 2018-12-07 | 2020-06-11 | Hewlett Packard Enterprise Development Lp | Multiple document editing using rules for a restricted language |
CN111399835A (en) * | 2020-03-17 | 2020-07-10 | 中国建设银行股份有限公司 | Service stripping method and device for WEB front-end project |
CN111897553A (en) * | 2020-08-28 | 2020-11-06 | 杭州安恒信息技术股份有限公司 | Project system building method, device, equipment and readable storage medium |
CN112685029A (en) * | 2020-12-30 | 2021-04-20 | 京东数字科技控股股份有限公司 | Visual template generation method, device, equipment and storage medium |
CN112764806A (en) * | 2021-02-27 | 2021-05-07 | 中电万维信息技术有限责任公司 | Front-end resource modular management and resource packaging configuration method |
CN112882698A (en) * | 2019-11-29 | 2021-06-01 | 京东安联财产保险有限公司 | Development environment generation method and device, computer storage medium and electronic device |
-
2021
- 2021-06-08 CN CN202110636353.0A patent/CN113378091B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2003902399A0 (en) * | 2003-05-16 | 2003-06-05 | Crux Cybernetics Pty Ltd | A system for scheduling at least one task having a plurality of activities to be performed by one or more users of the system |
US20060107543A1 (en) * | 2004-11-19 | 2006-05-25 | Smith Timothy M | Column placement template |
CN109445835A (en) * | 2018-09-03 | 2019-03-08 | 平安普惠企业管理有限公司 | Method, terminal device and the computer readable storage medium of building project frame |
US20200184009A1 (en) * | 2018-12-07 | 2020-06-11 | Hewlett Packard Enterprise Development Lp | Multiple document editing using rules for a restricted language |
CN109683887A (en) * | 2018-12-17 | 2019-04-26 | 杭州玳数科技有限公司 | A kind of construction method and device for supporting the customized web project of multi-scheme |
CN110647320A (en) * | 2019-08-14 | 2020-01-03 | 平安普惠企业管理有限公司 | Project framework construction method and device, computer equipment and storage medium |
CN110795088A (en) * | 2019-10-29 | 2020-02-14 | 京东数字科技控股有限公司 | Front-end engineering project construction method and tool, and computer-readable storage medium |
CN112882698A (en) * | 2019-11-29 | 2021-06-01 | 京东安联财产保险有限公司 | Development environment generation method and device, computer storage medium and electronic device |
CN111124376A (en) * | 2020-01-20 | 2020-05-08 | 众能联合数字技术有限公司 | Project building system for cod-eCli scaffold |
CN111399835A (en) * | 2020-03-17 | 2020-07-10 | 中国建设银行股份有限公司 | Service stripping method and device for WEB front-end project |
CN111897553A (en) * | 2020-08-28 | 2020-11-06 | 杭州安恒信息技术股份有限公司 | Project system building method, device, equipment and readable storage medium |
CN112685029A (en) * | 2020-12-30 | 2021-04-20 | 京东数字科技控股股份有限公司 | Visual template generation method, device, equipment and storage medium |
CN112764806A (en) * | 2021-02-27 | 2021-05-07 | 中电万维信息技术有限责任公司 | Front-end resource modular management and resource packaging configuration method |
Non-Patent Citations (1)
Title |
---|
叶文来;: "基于Spring和Hibernate框架的架构设计", 廊坊师范学院学报(自然科学版), no. 06, 20 December 2012 (2012-12-20) * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115037613A (en) * | 2022-05-31 | 2022-09-09 | 北京永信至诚科技股份有限公司 | Project centralized continuous configuration method and system |
CN115037613B (en) * | 2022-05-31 | 2023-09-08 | 北京五一嘉峪科技有限公司 | Centralized continuous configuration method and system for projects |
CN115423335A (en) * | 2022-09-14 | 2022-12-02 | 易纳购科技(北京)有限公司 | Project creation method and device, storage medium and computer equipment |
CN116069325A (en) * | 2023-01-28 | 2023-05-05 | 深圳市明源云采购科技有限公司 | Front-end project construction method, device, equipment and computer readable storage medium |
CN116069325B (en) * | 2023-01-28 | 2023-08-04 | 深圳市明源云采购科技有限公司 | Front-end project construction method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113378091B (en) | 2024-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113378091B (en) | Visualized item generation method and device, electronic equipment and storage medium | |
US10970049B2 (en) | Code execution and data processing pipeline | |
CN110689268B (en) | Method and device for extracting indexes | |
CN114816393B (en) | Information generation method, device, equipment and storage medium | |
US20230012642A1 (en) | Method and device for snapshotting metadata, and storage medium | |
CN112506854A (en) | Method, device, equipment and medium for storing page template file and generating page | |
CN113656533A (en) | Tree control processing method and device and electronic equipment | |
CN114064925A (en) | Knowledge graph construction method, data query method, device, equipment and medium | |
CN115469849B (en) | Service processing system, method, electronic equipment and storage medium | |
CN111782820A (en) | Knowledge graph creating method and device, readable storage medium and electronic equipment | |
CN116009847A (en) | Code generation method, device, electronic equipment and storage medium | |
CN115454971A (en) | Data migration method and device, electronic equipment and storage medium | |
US20230393836A1 (en) | Method and apparatus for updating cloud platform | |
CN113495651B (en) | Window control method and device | |
CN112905164B (en) | Project code processing method and device | |
JP7269244B2 (en) | Systems and methods for providing globalization capabilities in service management application interfaces | |
CN113138760A (en) | Page generation method and device, electronic equipment and medium | |
CN111562958A (en) | Page data display management method and device | |
CN113254826B (en) | Dump file processing method and device | |
CN113468109B (en) | File management method and device, electronic equipment and storage medium | |
CN114679468B (en) | File transmission method and device, electronic equipment and computer readable storage medium | |
CN116186455A (en) | Catalog generation method, catalog operation method, device and equipment | |
CN115981657A (en) | Code generation method and device, electronic equipment and readable medium | |
CN117371416A (en) | Project document generation method, device, equipment and storage medium | |
CN118504593A (en) | Translation method, translation 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |