Software development system, operating method thereof, and computer program product
Through the configuration manager, code generator and execution engine of the software development platform, low-code development is achieved using graphical user interface and general components, solving the problem of limited code generation tools in the existing technology, and improving development efficiency and Software quality.
Patent Information
- Application Number
- CN202410666995.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-30
- Filing Date
- 2024-05-28
- Publication Date
- 2024-12-03
AI Technical Summary
The existing code automatic generation tools generate limited code parts in software development, making it difficult to automatically generate new functional codes, resulting in long development time and difficult for users with insufficient development experience to quickly develop high-quality software.
It provides a software development platform, including a configuration manager, a code generator and an execution engine, receives configuration information through a graphical user interface, generates and executes code, uses common components for low-code development, and supports user-defined code execution and database updates.
It greatly improves the convenience and productivity of software development, reduces the user's coding burden, can quickly develop high-quality software, and is even suitable for users with less development experience, and ensures data synchronization with the database.
Smart Images

Figure CN119065700A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a software development platform and an operation method thereof. Background Art
[0002] In order to improve software development productivity, code generation tools are widely used. Code generation tools are programs that automatically generate code (i.e., source code) based on predefined templates or rules. For example, code can be automatically generated from descriptions of predefined interfaces, modules, etc.
[0003] Code generation tools are mainly used to quickly generate code that is cumbersome or time-consuming for developers to write directly. For example, code generation tools are mainly used to generate repetitive common sentence codes or generate codes for specific frameworks or platforms.
[0004] However, even with the use of the automatic code generation tool as described above, it usually takes quite a long time to complete the development of the desired software. This is because the code portion of the new software that can be generated by the automatic code generation tool is very limited (for example, it is difficult to automatically generate code for new functions). In addition, in the case of users who do not have a lot of development experience, it is difficult to develop the desired software even with the help of the automatic code generation tool. Summary of the invention
[0005] The technical problem that some embodiments of the present disclosure expect to solve is to provide a software development platform and an operation method thereof that can improve the convenience and productivity of software development.
[0006] Another technical problem that some embodiments of the present disclosure expect to solve is to provide a software development platform and an operating method thereof that can support high-quality software development.
[0007] The technical problems that the present disclosure intends to solve are not limited to the technical problems mentioned above, and those skilled in the art can clearly understand other technical problems not mentioned through the following description.
[0008] In order to solve the above technical problems, a software development platform according to some embodiments of the present disclosure may include: a configuration manager, which receives configuration information of a target software through a configuration interface based on a graphical user interface (GUI: Graphical User Interface), wherein the configuration information includes setting information about multiple projects, and at least a part of the multiple projects are used to constitute a common component; a code generator, which generates code for the target software based on the configuration information; and an execution engine, which executes the generated code using the common component that reflects the setting information of at least a part of the projects.
[0009] In some embodiments, the configuration interface may include a first configuration interface based on a wizard that provides setting functions for predefined basic items among the plurality of items.
[0010] In some embodiments, the configuration interface may further include a second configuration interface that is not based on a wizard, and the second configuration interface may also provide a setting function for the basic items.
[0011] In some embodiments, the code generator may provide the generated code through a code interface, wherein the execution engine may receive user-defined code for the target software through the code interface and execute the user-defined code and the generated code simultaneously.
[0012] In some embodiments, the configuration information may include a data field directory set to be output to a screen through a UI component at the execution time of the target software, wherein the execution engine can obtain a field structure associated with the UI component during the execution of the generated code, and can output a first data field that exists in both the field structure and the data field directory to the screen through the UI component, and can also output a second data field that exists in the field structure but not in the data field directory to the screen through the UI component.
[0013] In some embodiments, the configuration information may include a data field directory set to be output to a screen through a user interface component at the execution time of the target software, wherein the execution engine can obtain a field structure associated with the user interface component during the execution of the generated code, and can output a first data field that exists in both the field structure and the data field directory to the screen through the user interface component, and process a second data field that exists in the data field directory but not in the field structure so that it can be not output to the screen through the user interface component.
[0014] In some embodiments, the configuration information may include information of a user interface component set to be output to a screen at the execution time point of the target software and table information of a database associated with the user interface component, wherein the execution engine can, during the execution of the generated code, update a status flag value of a portion of multiple records when an event of operating a portion of the multiple records output by the user interface component is sensed, and when a preset database update condition is met, can filter update records from the multiple records based on the status flag value and reflect the value of the update record to the table of the associated database.
[0015] In some embodiments, the execution engine may reset the status flag value of the update record after reflecting the value of the update record to the table.
[0016] In some embodiments, the status flag value of the portion of records may be determined based on the type of the operation, and the type of the update operation for reflecting the value of the update record to the table may be determined based on the status flag value of the update record.
[0017] In some embodiments, when the status flag value of the update record indicates a deleted state, it can be determined whether the update record exists in the table, and based on the result of the determination, the value of the update record can be reflected in the table.
[0018] In order to solve the above technical problems, according to some embodiments of the present disclosure, an operating method of a software development platform is an operating method of a software development platform implemented by at least one computing device, and the method may include the following steps: providing a configuration interface based on a graphical user interface (GUI); receiving configuration information of the target software through the configuration interface, wherein the configuration information includes setting information about multiple projects, and at least a part of the multiple projects are used to constitute a common component; generating code for the target software based on the configuration information; and executing the generated code using the common component that reflects the setting information of at least a part of the projects.
[0019] In order to solve the above technical problems, according to some embodiments of the present disclosure, a computer program product includes a computer program, and the computer program can be executed by a processor to implement the following steps: providing a configuration interface based on a graphical user interface (GUI: Graphical User Interface); receiving configuration information of the target software through the configuration interface, wherein the configuration information includes setting information about multiple projects, and at least a part of the multiple projects are used to constitute a common component; generating code for the target software based on the configuration information; and executing the generated code using the common component that reflects the setting information of at least a part of the projects.
[0020] According to some embodiments of the present disclosure, a method (so-called low-code method) of developing target software based on configuration settings for common components (or functions to be added to target software, etc.) can be supported. Therefore, the coding burden of the user can be minimized, and the quality, development convenience and development productivity of the software can be greatly improved. Moreover, even users with little development experience can quickly develop high-quality software.
[0021] Furthermore, a configuration setting function for target software can be provided through a configuration interface based on a graphical user interface (GUI), thereby further improving the convenience of software development for user experience.
[0022] Furthermore, screen output processing can be performed based on the comparison result between the field structure obtained during the execution of the target software and the output data field directory set in the configuration information. For example, even if the data field existing in the segment structure is not set in the output data field directory, it can be processed to be output to the screen. In this case, the user can quickly find and correct the setting error for the output data field, thereby further improving the quality of the target software.
[0023] Furthermore, records that require database (hereinafter referred to as "DB") update (i.e., records that are inconsistent with the current DB records) can be filtered based on the record status flag, and DB update is performed in a manner that only the filtered records are reflected in the associated table of the DB. Therefore, synchronization between the data of the software being executed and the DB data can be accurately and efficiently performed.
[0024] The effects of the present disclosure are not limited to the effects mentioned above, and those skilled in the art can clearly understand other effects not mentioned through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is an exemplary block diagram illustrating a software development platform according to some embodiments of the present disclosure.
[0026] Figure 2 is an exemplary diagram for illustrating a main configuration interface according to some embodiments of the present disclosure.
[0027] Figure 3 and Figure 4 is an exemplary diagram for illustrating a first configuration interface based on a wizard according to some embodiments of the present disclosure.
[0028] Figures 5 to 7is an exemplary diagram illustrating a second configuration interface according to some embodiments of the present disclosure.
[0029] Figure 8 is an exemplary flow chart illustrating an operating method of a software development platform according to some embodiments of the present disclosure.
[0030] Fig. 9 is an exemplary flowchart illustrating a screen output processing method of a software development platform according to some embodiments of the present disclosure.
[0031] Fig.10 It is an exemplary diagram for illustrating a screen output processing method of a software development platform according to some embodiments of the present disclosure.
[0032] Fig.11 is an exemplary flow chart illustrating a database updating method of a software development platform according to some embodiments of the present disclosure.
[0033] Fig.12 It is an exemplary diagram for illustrating a database updating method of a software development platform according to some embodiments of the present disclosure.
[0034] Fig.13 An exemplary computing device capable of implementing a software development platform according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0035] Hereinafter, various embodiments of the present disclosure are described in detail with reference to the accompanying drawings. By referring to the embodiments described in detail below in conjunction with the accompanying drawings, the advantages and features of the present disclosure and the methods for achieving these can be clearly understood. However, the technical ideas of the present disclosure can be implemented in various forms that are different from each other, and are not limited to the following embodiments. The purpose of providing the following embodiments is only to complete the technical ideas of the present disclosure and to fully inform the scope of the present disclosure to those with ordinary knowledge in the technical field to which the present disclosure belongs. The technical ideas of the present disclosure are only defined by the scope of the claims.
[0036] When describing various embodiments of the present disclosure, if it is determined that a specific description of a related well-known configuration or function may make the gist of the present disclosure unclear, the detailed description thereof will be omitted.
[0037] Unless otherwise defined, the terms (including technical terms and scientific terms) used in the following embodiments can be used as the meanings generally understood by people with ordinary knowledge in the technical field to which the present disclosure belongs, but this may also be different according to the intentions or precedents of technicians engaged in related fields, the emergence of new technologies, etc. The terms used in the present disclosure are used to illustrate the embodiments, rather than to limit the scope of the present disclosure.
[0038] As long as the context does not clearly indicate that only the "singular" is included, the expression "singular" used in the following embodiments includes the concept of "plural". Also, as long as the context does not clearly indicate that only the "plural" is included, the expression "plural" includes the concept of "singular".
[0039] Furthermore, the terms such as first, second, A, B, (a), (b), etc. used in the following embodiments are only used to distinguish one constituent element from another constituent element, and the nature or order, sequence, etc. of the corresponding constituent elements are not limited by the terms.
[0040] Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
[0041] Figure 1 is an exemplary block diagram illustrating a software development platform 10 according to some embodiments of the present disclosure.
[0042] like Figure 1 As shown, the software development platform 10 is a computing device / system that can support (provide) user-friendly software development functions. For example, the software development platform 10 can support a method of developing target software (the so-called low-code method) by setting configurations (config, or configuration) of common components. In this way, high-quality target software can be developed quickly. Alternatively, the software development platform 10 can support collaboration between users (e.g., designers, developers) involved in the development of the target software. Hereinafter, for ease of explanation, the software development platform 10 will be referred to as "development platform 10".
[0043] For reference, the development platform 10 may also be named "low-code development platform", "program development platform", "software development device", "software development system", etc. depending on the situation.
[0044] As shown in the figure, the development platform 10 can be configured to include a user interface module 11, a design support module 12, a development support module 13, an execution engine 14, and a database (hereinafter referred to as "DB") 15. However, Figure 1 Only the components related to the embodiments of the present disclosure are shown. Therefore, a person skilled in the art should understand that, except for Figure 1 In addition to the components shown, it is known that other general components (such as a processor, a memory, an input / output interface, etc.) may also be included. Figure 1 The components of the development platform 10 shown represent functionally differentiated functional elements, and multiple components can be implemented in an integrated form in an actual physical environment, or in a form where a specific functional element is separated into multiple sub-functional elements.
[0045] The user interface module 11 may refer to a module responsible for the interface between various users (designers, developers, etc.) related to software development and the development platform 10. For example, the user interface module 11 may provide a portal interface for users to access the design support module 12 and the development support module 13. That is, the designer may access the design support module 12 through the user interface module 11, and the developer may access the development support module 13 through the user interface module 11. Such a portal interface may be implemented based on a network or may not be implemented based on a network.
[0046] Depending on the situation, the user interface module 11 may also be linked with an authentication module (not shown) to perform a user authentication (login) function.
[0047] Next, the design support module 12 may represent a module that provides various design convenience functions for the target software. For example, the design support module 12 may provide a design interface (or tool) based on a graphical user interface (GUI), a template for a design file, etc. to the user (e.g., a designer). The user may define / design the execution conditions of the target software, the related DB tables and processing logic (e.g., table names, related CRUD, etc.), the logic of the target software (e.g., the general functions / logics corresponding to the general components, the newly added individual functions / logics, etc.), the execution screen, the message format, the data lock, etc. through the design interface to generate the design information of the target software. The design support module 12 may convert the design information of the target software into a file in a predefined format and issue it. The issued design file (or design information) is stored (e.g., matched with the identifier of the target software and stored) in the DB 15, so that it can be shared with other users (e.g., developers). For example, the developer may confirm the design file (or design information) of the target software through the development support module 13.
[0048] Next, the development support module 13 may refer to a module that provides various development convenience functions for the target software. For example, the development support module 13 may support most functions of the development target software by configuring and setting the general components. As a result, the user's direct coding time can be minimized, and even users with little development experience can easily develop desired software.
[0049] Here, a general component is a component provided by the development platform 10 for the convenience of software development, and may refer to a component that implements functions / logics commonly used in various software, for example. A general component may be a component that is implemented as configurable through configuration (setting) information. For example, a component related to screen output (e.g., a UI component) may be implemented as a data field to be output to the screen, and its various properties (e.g., whether it can be input / edited, color, etc.) can be set through configuration information.
[0050] As shown in the figure, the development support module 13 according to the embodiment may be configured to include a configuration manager 16 and a code generator 17 .
[0051] Configuration manager 16 may represent a module responsible for various functions related to configuration. For example, configuration manager 16 may receive configuration information about target software from a user and provide the configuration information to code generator 17. The input configuration information may be stored in DB 15 (e.g., matched with an identifier of the target software and stored).
[0052] For example, the items set by the configuration manager 16 (i.e., configuration items) may include screen layout, data fields to be output to the screen, events and event handlers (e.g., UI component related events and handlers defining processing logic according to the events), additional functions (see Figure 3 34), logging manner, data locking, execution condition (i.e., execution start condition), execution end condition, execution authority (e.g., user's execution authority), linkage DB, DB table, etc., but are not limited thereto. At least a portion of the items shown as examples may be understood as setting items regarding general components. For example, a function added to the target software may be understood as being related to a general component that implements the function, and an output data field may also be understood as a field output by a general UI component.
[0053] In order to maximize the convenience of the user, the configuration manager 16 may provide a configuration interface based on a graphical user interface (GUI). In other words, the configuration interface may support a setting function for user convenience of various items as described above.
[0054] In some embodiments, the configuration manager 16 may provide a first configuration interface based on a wizard for setting predefined basic items and a second configuration interface for detailed settings of various items. Here, for example, the wizard-based interface may refer to an interface implemented to provide guidance information for configuration, or to support (guide) the setting function for basic items in stages or sequentially. As long as a person of ordinary skill in the art is familiar with the concept of the term "wizard", a detailed description thereof is omitted. For ease of understanding, refer to Figures 2 to 7 This embodiment is described.
[0055] Figure 2 The main configuration interface 20 according to some embodiments of the present disclosure is shown as an example.
[0056] For example, the main configuration interface 20 can be through the first configuration interface 30 (refer to Figure 3 ) and the second configuration interface 22 provide configuration setting functions. For example, as shown in the figure, an area of the main configuration interface 20 may be arranged with a function to call the first configuration interface 30 ( Figure 3 ) button object 21, and the second configuration interface 22 can be arranged in another area. In this case, the main configuration interface 20 can provide the first configuration interface 30 ( Figure 3 ), and the user can selectively use the first configuration interface 30 ( Figure 3 ) and the second configuration interface 22. However, the scope of the present disclosure is not limited thereto, and the wizard-based first configuration interface 30 ( Figure 3 ).
[0057] Figure 2 The example shows that the second configuration interface 22 is implemented based on a tab page, and the example shows that the specific tab page 23 is a page that provides design information about the target software. For example, the second configuration interface 22 can use the identifier of the target software (for example, refer to "TEST") to obtain the design information (or file) of the target software from the DB 15 and display it on the corresponding tab page 23.
[0058] In addition, in some embodiments, the configuration manager 16 analyzes the design information of the target software and performs automatic configuration settings, or may also automatically set (recommend) the initial value of the configuration information. For example, the configuration manager 16 may derive the associated items and the initial setting values by text analysis of the design information. Alternatively, the configuration manager 16 may determine the software similar to the target software (e.g., software with a large number of repeated common components (or data fields), software with similar functions, etc.) in the pre-developed software based on the design information, or may obtain the configuration information of the similar software from the DB 15 and use it as the initial setting value. In this case, the user's development convenience may be further improved.
[0059] Figure 3 The first configuration interface 30 according to some embodiments of the present disclosure is shown as an example.
[0060] like Figure 3 As shown, the first configuration interface 30 can provide a setting function for predefined basic (main) items (e.g., refer to reference numeral 31) in multiple projects based on a wizard. For example, the first configuration interface 30 can provide the user with a guide statement (refer to reference numeral 32) for each basic item (e.g., refer to reference numeral 31), or provide a sequential (or staged) setting function for the basic item (e.g., refer to reference numeral 31). By doing so, the user's development convenience can be greatly improved, so that users with less development experience can also easily develop the target software.
[0061] Figure 3 The following example is shown: a directory of basic items and an indicator indicating the configuration progress status (for example, a triangle or a quadrilateral figure) are displayed in an area 31 of the first configuration interface 30, and a guide sentence and detailed items for the basic items are displayed in another area (see reference numerals 32 to 35). Figure 3 The following example is shown: the basic item to be set is an item related to "Program (software) initialization", and the detailed items of the item include "Program (software) basic attributes (information) (refer to reference numeral 33)", "Screen layout (refer to reference numeral 34)", "Additional functions (refer to reference numeral 35)", etc. However, the scope of the present disclosure is not limited to this.
[0062] Figure 4 The following example shows the situation where the current basic setting is Figure 3 The next item of the basic items illustrated as an example (for example, refer to the change of the indicator shape), and the corresponding basic item is an item for setting a data field to be output to the screen and its attributes (refer to reference numeral 41).
[0063] like Figure 4As shown, the user can realize (develop) the type of data field output to the screen, its output form, etc. by selecting a data field to be output to the screen (i.e., a data field output to the screen through a UI component in a general component) from a plurality of candidate data fields (refer to reference numeral 41) displayed on the first configuration interface 30, or by inputting (or selecting) a setting operation such as an attribute value, even without complicated coding. Of course, the user can also define a new output data field through the first configuration interface 30.
[0064] In addition, the specific manner of determining the candidate data fields provided (displayed) through the first configuration interface 30 or the second configuration interface 22 may vary according to the embodiments.
[0065] In some embodiments, the configuration manager 16 may query a table associated with the target software (eg, a table set in a DB-related project) in a linked DB (eg, a DB set in a DB-related project), and provide columns of the queried table as candidate data fields.
[0066] In other embodiments, the configuration manager 16 may determine whether there is code associated with the target software. Furthermore, if there is associated code, the configuration manager 16 extracts variables defined (declared) in the corresponding code and provides them as candidate data fields. Here, for example, the associated code may be code automatically generated by the code generator 17, code directly written by a user, etc., but is not limited thereto.
[0067] In still other embodiments, the candidate data fields may be provided (displayed) based on a combination of the above-mentioned various examples.
[0068] Below, refer to Figures 5 to 7 , the second configuration interface 22 according to some embodiments of the present disclosure is explained.
[0069] like Figures 5 to 7 As shown, the second configuration interface 22 may be an interface that provides detailed setting functions for various items. In this case, for example, the various items may include basic items that can be set through the first configuration interface 30. That is, a skilled user may also perform configuration settings only through the second configuration interface 22 without the help of the first configuration interface 30.
[0070] Figure 5 An example is shown of an interface (ie, tab page 51) for setting (eg, activating or deactivating) various functions related to a UI component (or target software). Figure 6 An example is shown of an interface for setting data fields to be output to the screen and their basic attributes (ie, tab page 61), and Figure 7An example of an interface for setting additional properties of an output data field (ie, tab page 71 ) is shown.
[0071] Refer again Figure 1 Provide explanation.
[0072] The code generator 17 may represent a module that automatically generates the code of the target software based on the configuration information set by the configuration manager 16. For example, the code generator 17 may automatically generate the code of the target software by defining an output data field set in the configuration information or inserting a code that calls a set common component, etc. However, the scope of the present disclosure is not limited thereto, and the code generator 17 may generate the code in any manner.
[0073] The code generator 17 can provide the generated code of the target software through a code interface (e.g., a code window). At this time, there may be an interface (e.g., a button object, etc.) in the code interface where the user requires the execution (e.g., compile, build, execute, etc.) of the code. The user can also input user-defined code (e.g., code for each function / logic that does not exist in the general component) through the code interface to develop the target software.
[0074] Next, the execution engine 14 may indicate a module for executing the code of the target software. For example, the execution engine 14 may execute the automatically generated code and / or the user defined code of the target software (e.g., execute the automatically generated code and the user defined code simultaneously). At this time, the execution engine 14 may utilize a general component reflecting the setting (configuration) information to execute the code of the target software.
[0075] In addition, there may be a situation where the field structure obtained during the execution of the target software does not match the output data field set in the configuration information. In this case, the execution engine 14 can perform appropriate screen output processing based on the comparison result between the field structure and the output data field. Fig. 9 and Fig.10 Provide detailed explanation.
[0076] Furthermore, in some embodiments, the execution engine 14 can also perform effective database update processing based on the state flag of the record. Fig.11 and Fig.12 Provide detailed explanation.
[0077] Next, DB 15 may represent a repository that stores and manages various data / information associated with the development platform 10. For example, DB 15 may store and manage software design information, code, and data related to the software (e.g., various business data related to business processes). DB 15 may be a general term for various repositories that provide data / information sharing functions between users (e.g., designers, developers, etc.).
[0078] For the synchronization process between the data changed by the execution of the target software and the data stored in the table of the DB 15 (ie, DB update process), refer to Fig.11 and Fig.12 Description content.
[0079] The development platform 10 can be implemented using at least one computing device. For example, all functions of the development platform 10 can be implemented in one computing device, a first function of the development platform 10 can be implemented in a first computing device, and a second function can also be implemented in a second computing device. Alternatively, specific functions of the development platform 10 can also be implemented in multiple computing devices.
[0080] As a more specific example, all functions of the development platform 10 may be implemented in a server device, a first function of the development platform 10 may be implemented in a server device, and a second function may also be implemented in a client device (e.g., a device used by a user). Alternatively, specific functions of the development platform 10 may also be divided and implemented in a server device and a client device.
[0081] The computing device may include any device equipped with computing functionality. For an example of such a device, see Fig.13 A computing device is a collection of various components (e.g., memory, processor, etc.) that interact with each other, so it can also be called a "computing system" depending on the situation. Of course, the term "computing system" can also include the concept of a collection of multiple computing devices that interact with each other.
[0082] So far, reference Figures 1 to 7 The composition and operation of the development platform 10 according to some embodiments of the present disclosure are described. As described above, a method of developing target software (the so-called low-code method) can be supported based on configuration settings of common components (or functions to be added to the target software, etc.). Therefore, the coding burden of the user can be minimized, and the quality, development convenience and development productivity of the software can be greatly improved. Moreover, even users with little development experience can quickly develop high-quality software (because common components are verified components and the writing of user-defined code is minimized).
[0083] Furthermore, a configuration setting function for the target software can be provided through a GUI-based configuration interface, thereby further improving the convenience of software development for user experience.
[0084] In order to facilitate understanding, the operation method of the development platform 10 is described in more detail below.
[0085] In the following, for ease of understanding, it is assumed that all steps / operations of the method described below are executed in the above-mentioned development platform 10. Therefore, when the main body of a specific step / operation is omitted, it can be understood that it is executed in the development platform 10. However, in an actual environment, some steps / operations of the method described below can also be executed in other computing devices.
[0086] Figure 8 1 is a flowchart schematically illustrating an operation method of the development platform 10 according to some embodiments of the present disclosure. However, this is only a preferred embodiment for achieving the purpose of the present disclosure, and some steps may be added or deleted as needed. For example, Figure 8 It can be understood as illustrating a process in which a user (eg, a developer) develops target software through the development platform 10 .
[0087] like Figure 8 As shown, the operation method according to the embodiment may start in step S81 of providing a configuration interface based on GUI configuration. For example, the development platform 10 may provide a configuration interface in response to a user's request. For this step, further reference is made to the configuration manager 16 and Figures 2 to 7 Description content.
[0088] In step S82, configuration information of the target software may be received through the configuration interface. For example, the development platform 10 may receive setting (configuration) information about a plurality of predefined items from the user through the configuration interface (e.g., the first configuration interface 30, the second configuration interface 22). At this time, at least a portion of the plurality of items may be items for configuring the general components to be suitable for the target software. In this step, further reference is made to the configuration manager 16 and Figures 2 to 7 Description content.
[0089] In step S83, the code of the target software can be generated according to the configuration information. For example, the development platform 10 can automatically generate the code of the target software by inserting the code that calls the common components set in the configuration information. This step further refers to the description of the code generator 17.
[0090] Depending on the situation, the user may input the user-defined code through the code interface (eg, the automatically generated code is added to the user-defined code).
[0091] In step S84, the generated code may be executed. For example, the development platform 10 may execute the generated code using a general component that reflects the setting (configuration) information. This step further refers to the description of the execution engine 14.
[0092] As a reference, the user can confirm whether the development of the target software is correct by comparing the execution result of the target software with the design information. If, as a result of the comparison, the execution result is inconsistent with the design information, the user can complete the development of the target software by modifying the configuration information or modifying the user-defined code.
[0093] The above steps S81 and S82 may be executed by the configuration manager 16 , step S83 may be executed by the code generator 17 , and step S84 may be executed by the execution engine 14 .
[0094] Below, we will refer to Figures 9 to 12 Various embodiments related to the code execution step S84 are described.
[0095] First, refer to Fig. 9 and Fig.10 , the screen output processing method of the development platform 10 according to some embodiments of the present disclosure is described.
[0096] The screen output processing method described below relates to a method of processing screen output when internal (dynamic) data (field structure) acquired during the execution of target software does not match the output data field set in the configuration information.
[0097] Fig. 9 is an exemplary flowchart illustrating a screen output processing method of the development platform 10 according to some embodiments of the present disclosure.
[0098] like Fig. 9 As shown, it is assumed that a field structure is acquired in step S91. In other words, it is assumed that a field structure (for example, a field structure that is passed to a UI component and will be output to a screen) is dynamically acquired during the process of executing the target software on the development platform 10. Here, a field structure may refer to a structure (or structure data) composed of one or more data fields, and a field structure may also refer to at least one record composed of one or more data fields.
[0099] In step S92, the field structure may be compared with the output data field (hereinafter referred to as "output field") set in the configuration information. For example, the development platform 10 may compare the field structure (ie, the field directory of the structure) with the output field directory set in the configuration information.
[0100] In step S93, screen output processing may be performed based on the comparison result. Specifically, the development platform 10 may use the UI component to convert the first data field (e.g., reference field 10 ) that is common to the field structure and the output field directory into a single data field. Fig.10 Fields 4 to 6 of the field structure) are output to the screen, and the second data field that only exists in the field structure (for example, refer to Fig.10 The reason for outputting the second data field to the screen is that the second data field is likely to be omitted in the output field setting due to the user's negligence. However, the development platform 10 may output the third data field (for example, referring to Fig.10 Fields 7 and 8 of the third data field are processed as not to be output to the screen. This is because the third data field is likely to be a data field that is incorrectly set due to the user's negligence.
[0101] For ease of understanding, refer to Fig.10 Provide an explanation.
[0102] like Fig.10 As shown, it is assumed that the development platform 10 obtains the field structure 101 consisting of "field 1" to "field 6" when the target software is executed (i.e., at runtime). And it is assumed that the output field 104 set in the configuration information 107 consists of "field 4" to "field 8". Fig.10 In the example, the quadrilateral graphic may represent the attribute value of the data field, for example, the first attributes 102 and 105 may represent the identifier of each data field, and the second attribute 103 may represent the value assigned to each data field. And, for example, the other attribute 106 may represent the attribute defined in the configuration information 107 (for example, color, editable or not, etc.).
[0103] In the above case, the development platform 10 can output the first data field (eg, field 4 to field 6) (see reference numeral 108) common to the field structure 101 and the output field 104 (ie, the output field directory) to the screen.
[0104] Furthermore, the development platform 10 may also output the second data field (e.g., field 1 to field 3) (see reference numeral 108) that exists in the field structure 101 but does not exist in the output field 104 (i.e., the output field list) to the screen. As described above, this is because the second data field (e.g., field 1 to field 3) is likely to be omitted in the setting due to the user's negligence.
[0105] Furthermore, the development platform 10 may process the third data field (e.g., field 7 and field 8) that does not exist in the field structure 101 but exists in the output field 104 (i.e., the output field directory) as not being output to the screen (see reference numeral 108). This is because the third data field (e.g., field 7 and field 8) is likely to be a data field that is set incorrectly due to the user's negligence. However, depending on the situation, the development platform 10 may notify the user of information about the third data field (e.g., field 7 and field 8).
[0106] So far, reference Fig. 9 and Fig.10 The screen output processing method of the development platform 10 according to some embodiments of the present disclosure is described. As described above, the screen output processing can be performed based on the comparison result between the field structure obtained in the execution of the target software and the output field directory set in the configuration information. For example, a data field existing in the field structure can be processed to be output to the screen even if it is not set in the output field directory. In this case, the user can quickly find and correct the setting errors for the output field, thereby improving the quality of the target software.
[0107] Below, refer to Fig.11 and Fig.12 A DB updating method of the development platform 10 according to some embodiments of the present disclosure is described.
[0108] The DB update method described below relates to a method for the development platform 10 to more efficiently perform database update when a record is operated (e.g., inserted, deleted, modified, etc.) during the execution of the target software. Here, the operation on the record may also include an operation on a field of the data (e.g., field addition, field modification, field deletion, etc.).
[0109] Fig.11 is an exemplary flowchart illustrating a DB updating method of the development platform 10 according to some embodiments of the present disclosure.
[0110] like Fig.11 As shown, the DB update method according to the embodiment can start at step S111 of resetting (initializing) the state flag value per record. Here, the state flag can be a value indicating the operation state of the corresponding record, and its value can be defined in a variety of ways. For example, the development platform 10 can reset (initialize) the state flag value of each record with a value indicating the original state.
[0111] In step S112, record operation events may be monitored. For example, the development platform 10 may monitor whether a user performs operations such as inserting, deleting, or modifying a record (eg, a record output to a screen via a UI component).
[0112] In step S113 and step S114, in response to sensing the record operation event, the state flag value of the corresponding record may be updated. For example, the development platform 10 may update the state flag value of the record of the operation to a value indicating the type of operation (e.g., insert, delete, modify, etc.) (see Fig.12 ). At this time, depending on the operation type, the status flag values may all be defined in different ways, or a portion of the status flag values may be defined to have the same value.
[0113] In step S115, it can be determined whether a preset DB update condition is satisfied. For example, the DB update condition can be set to a situation where a user or the like requests a DB update (e.g., DB storage), a situation where the target software ends, a situation where a predetermined time has passed since the previous DB update time point, etc., but the scope of the present disclosure is not limited thereto.
[0114] In step S116, DB update can be performed based on the status flag value. For example, the development platform 10 can filter update records (e.g., operated records) from multiple records based on the status flag value, and reflect the values of the update records to the table of the associated database (e.g., the table set in the configuration information), so that the database update can be performed. At this time, the type of DB update operation for reflecting the values of the update records to the corresponding table can be determined based on the status flag value of the corresponding update record (e.g., performing an insert operation on records in the insert state, and performing an update operation on records in the modify state).
[0115] In addition, in the case where the status flag value of the update record indicates the deletion state, the development platform 10 can determine whether the corresponding update record exists in the associated table. And, the development platform 10 can reflect the value of the update record to the corresponding table based on the determination result. In other words, the development platform 10 can perform a database update for reflecting the deletion state only for the case where the corresponding update record exists in the associated table (this is because records added and then deleted after the previous database update time point do not require a database update).
[0116] In step S117, it can be determined whether the execution end condition of the target software is met. If the execution end condition is not met, the development platform 10 resets the recorded status flag value (because it is synchronized with the database through the DB update step S116) and re-enters the recording operation monitoring step S112.
[0117] For ease of understanding, refer to Fig.12 Provide an explanation.
[0118] like Fig.12As shown, it is assumed that the development platform 10 resets the state flag value (refer to "O" of reference numeral 121) of each of the plurality of records (e.g., "record 1" to "record 3", etc.), and in the process of executing the target software, the plurality of records (e.g., "record 1" to "record 3", etc.) are output to the screen through the UI component. Also, it is assumed that the user operates the value of "record 2" (e.g., changes the value of "field 2") (i.e., a record operation event occurs and is sensed).
[0119] In the case as described above, development platform 10 may update the value of the status flag of “record 2” to a value indicating a modification status (eg, “C”) (refer to reference numerals 122 , 123 ).
[0120] Next, it is assumed that a DB update is executed based on the satisfaction of a preset DB update condition. It is assumed that the development platform 10 selects only "record 2" as an update record and reflects the value of the update record to the associated table of the DB.
[0121] In the case described above, development platform 10 may reset the value of the status flag of the update record (eg, “record 2”) (refer to reference numerals 124 , 125 ).
[0122] So far, reference Fig.11 and Fig.12 The DB update method of the development platform 10 according to some embodiments of the present disclosure is described. As described above, the records that require DB update (i.e., records that are inconsistent with the records of the current database) can be filtered based on the status flags of the records, and the DB update can be performed by reflecting only the filtered records in the table of the associated database. Therefore, the synchronization of the data of the executing target software with the DB data can be performed accurately and efficiently. That is, by utilizing the status flag to filter the update records and perform a delayed DB update instead of an immediate DB update, the DB update (synchronization) can be performed quite efficiently (because the number of updated records and the number of DB updates are reduced).
[0123] Below, refer to Fig.13 , an exemplary computing device 130 of the development platform 10 that can implement some embodiments of the present disclosure is described.
[0124] Fig.13 is a diagram showing an exemplary hardware configuration of the computing device 130 .
[0125] like Fig.13As shown, the computing device 130 may include: one or more processors 131, a bus 133, a communication interface 134, a memory 132 for loading a computer program 136 executed by the processor 131, and a storage device 135 for storing the computer program 136. However, Fig.13 Only the components related to the embodiments of the present disclosure are shown. Therefore, a person skilled in the art should understand that, except for Fig.13 In addition to the components shown in , it may also include common components. Fig.13 In addition to the components shown in the figure, the computing device 130 may also include various components. Fig.13 Hereinafter, each component of the calculation device 130 will be described.
[0126] The processor 131 may control the overall operation of each component of the computing device 130. The processor 131 may be configured to include at least one of a central processing unit (CPU), a microprocessor unit (MPU), a microcontroller unit (MCU), a graphics processor (GPU), a neural processing unit (NPU), or any form of processor known in the technical field of the present disclosure. In addition, the processor 131 may perform calculations for at least one application or program for performing operations / methods according to embodiments of the present disclosure. The computing device 130 may include more than one processor.
[0127] Next, the memory 132 may store various data, instructions and / or information. The memory 132 may load a computer program 136 from a storage device 135 to perform operations / methods according to embodiments of the present disclosure. The memory 132 may be implemented as a volatile memory such as a random access memory (RAM), but the technical scope of the present disclosure is not limited thereto.
[0128] Next, the bus 133 can provide a communication function between the components of the computing device 130. The bus 133 can be implemented using various types of buses such as an address bus, a data bus, and a control bus.
[0129] Next, the communication interface 134 can support wired and wireless Internet communications of the computing device 130. In addition, the communication interface 134 can support various communication methods other than Internet communications. To this end, the communication interface 134 can be configured to include a communication module known in the technical field of the present disclosure.
[0130] Next, the storage device 135 can non-temporarily store one or more computer programs 136. The storage device 135 can be configured to include a non-volatile memory such as a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a hard disk, a removable disk, or any form of computer-readable recording medium known in the technical field to which the present disclosure belongs.
[0131] Next, the computer program 136 may include one or more instructions that enable the processor 131 to perform operations / methods according to various embodiments of the present disclosure when loaded into the memory 132. That is, the processor 131 may perform operations / methods according to various embodiments of the present disclosure by executing the one or more instructions.
[0132] For example, computer program 136 may include instructions for executing the following: an operation of providing a GUI-based configuration interface; an operation of receiving configuration information of a target software including setting information about a general component through the configuration interface; an operation of generating code for the target software based on the configuration information; and an operation of executing the generated code using the general component reflecting the setting information.
[0133] As another example, the computer program 136 may also include a program for executing the reference Figures 1 to 12 Instructions that describe at least a portion of a step / operation.
[0134] In the case of the above-described example, the development platform 10 of some embodiments of the present disclosure may be implemented by the computing device 130 .
[0135] Additionally, in some embodiments, Fig.13 The computing device 130 shown may refer to a virtual machine implemented based on cloud technology. For example, the computing device 130 may be a virtual machine operating in one or more physical servers included in a server farm. In this case, Fig.13At least a portion of the processor 131 , the memory 132 , and the storage device 135 shown may be virtual hardware, and the communication interface 134 may also be implemented using virtualized network elements such as a virtual switch.
[0136] So far, reference Fig.13 An exemplary computing device 130 is described that is capable of implementing development platform 10 according to some embodiments of the present disclosure.
[0137] So far, reference has been made to Figures 1 to 13 Various embodiments of the present disclosure and effects of the embodiments thereof are mentioned. Effects of the technical idea of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by ordinary technical clerks through the following description.
[0138] Furthermore, although in the above-mentioned embodiments, multiple components are described as being combined into one or combined to operate, the technical concept of the present disclosure is not necessarily limited to these embodiments. That is, as long as it is within the scope of the purpose of the technical concept of the present disclosure, all components can also be selectively combined into one or more and operate.
[0139] So far, the technical ideas of the present disclosure can be implemented as computer-readable codes on computer-readable media. The computer program recorded on the computer-readable recording medium can be sent to other computing devices through a network such as the Internet, and can be installed in other computing devices, so that it can be used in other computing devices.
[0140] Although the operations are shown in a specific order in the drawings, it should not be understood that the operations must be performed in the specific order shown or in sequence, or that all the operations shown must be performed to obtain the desired results. In certain cases, multitasking and parallel processing may also be advantageous. Above, various embodiments of the present disclosure are described with reference to the drawings, but a person with ordinary knowledge in the technical field to which the present disclosure belongs can understand that the technical ideas of the present disclosure can be implemented in other specific forms without changing its technical ideas or essential features. Therefore, it should be understood that the above embodiments are exemplary in all aspects and not restrictive. The scope of protection of the present disclosure should be interpreted by the claims, and all technical ideas within the scope equivalent thereto should be interpreted as included in the scope of rights of the technical ideas defined by the present disclosure.
Claims
1. A software development system, comprising: A configuration manager receives configuration information of the target software through a configuration interface based on a graphical user interface, wherein the configuration information includes setting information about a plurality of items, and at least a part of the plurality of items are used to constitute a common component; A code generator, which generates code for the target software based on the configuration information; and An execution engine executes the generated code using the general component reflecting the setting information of the at least part of the project.
2. The software development system according to claim 1, wherein: The configuration interface includes a first wizard-based configuration interface providing a setting function for predefined basic items among the plurality of items.
3. The software development system according to claim 2, wherein: The configuration interface also includes a second configuration interface that is not based on a wizard, The second configuration interface also provides a setting function for the basic items.
4. The software development system according to claim 1, wherein: The plurality of items include items that set a data field to be output to a screen through a user interface component at the execution time of the target software. Wherein, the configuration manager: Querying the table associated with the target software in the linked database, Through the configuration interface, the columns of the queried table are provided as candidates for the data fields.
5. The software development system according to claim 1, wherein: The plurality of items include items that set a data field to be output to a screen through a user interface component at the execution time of the target software. Wherein, the configuration manager: In the case where there is code associated with the target software, variables defined in the associated code are extracted and provided as candidates for the data field.
6. The software development system according to claim 1, wherein: The code generator provides the generated code through a code interface, Wherein, the execution engine: receiving user-defined code for the target software through the code interface, The user defined code and the generated code are executed simultaneously.
7. The software development system according to claim 1, wherein: The configuration information includes a data field directory set to be output to the screen through the user interface component at the execution time of the target software, Wherein, the execution engine: obtaining a field structure associated with the user interface component during execution of the generated code, outputting the first data field that exists in both the field structure and the data field directory to the screen through the user interface component, The second data field that exists in the field structure but does not exist in the data field directory is also output to the screen through the user interface component.
8. The software development system according to claim 1, wherein: The configuration information includes a data field directory set to be output to the screen through the user interface component at the execution time of the target software, Wherein, the execution engine: obtaining a field structure associated with the user interface component during execution of the generated code, outputting the first data field that exists in both the field structure and the data field directory to the screen through the user interface component, A second data field that exists in the data field directory but does not exist in the field structure is processed so as not to be output to the screen through the user interface component.
9. The software development system according to claim 1, wherein: The configuration information includes information of a user interface component set to be output to a screen at the execution time of the target software and table information of a database associated with the user interface component. Wherein, the execution engine: In the execution of the generated code, when an event of operating a part of the plurality of records outputted through the user interface component is sensed, a state flag value of the part of the records is updated; When a preset database update condition is met, the update record is filtered out from the plurality of records based on the status flag value, The value of the updated record is reflected in the table of the associated database.
10. The software development system according to claim 9, wherein: The execution engine resets the status flag value of the update record after reflecting the value of the update record in the table.
11. The software development system according to claim 9, wherein: The status flag value of the portion of records is determined based on the type of the operation, The type of update operation for reflecting the value of the update record to the table is determined based on the status flag value of the update record.
12. The software development system according to claim 11, wherein: The execution engine: In the case where the status flag value of the update record indicates a deletion state, determining whether the update record exists in the table, Based on the result of the determination, the value of the update record is reflected in the table.
13. A method for operating a software development platform implemented by at least one computing device, the method comprising the following steps: Provide a configuration interface based on a graphical user interface; The configuration information of the target software is received through the configuration interface, wherein: The configuration information includes setting information about a plurality of items, and at least a part of the plurality of items is used to constitute a common component; Generate code of the target software based on the configuration information; as well as The generated code is executed using the general component reflecting the setting information of the at least part of the project.
14. The method for operating the software development platform according to claim 13, wherein: The configuration interface includes a first wizard-based configuration interface providing a setting function for predefined basic items among the plurality of items.
15. The method for operating the software development platform according to claim 13, wherein: The plurality of items include items for setting data fields output to a screen through a user interface component at the execution time of the target software, The step of receiving the configuration information comprises the following steps: querying a table associated with the target software in a linked database; and Through the configuration interface, the columns of the queried table are provided as candidates for the data fields.
16. The method for operating the software development platform according to claim 13, wherein: The step of generating the code of the target software comprises the following steps: providing the generated code through a code interface, The step of executing the generated code comprises the following steps: receiving user-defined code for the target software through the code interface, The user defined code and the generated code are executed simultaneously.
17. The method for operating a software development platform according to claim 13, wherein: The configuration information includes a data field directory set to be output to the screen through the user interface component at the execution time of the target software, The steps of executing the generated code include: In the execution of the generated code, obtaining a field structure associated with the user interface component; Outputting the first data field that exists in both the field structure and the data field directory to the screen through the user interface component; and The second data field that exists in the field structure but does not exist in the data field directory is also output to the screen through the user interface component.
18. The method for operating a software development platform according to claim 13, wherein: The configuration information includes a data field directory set to be output to the screen through the user interface component at the execution time of the target software, The steps of executing the generated code include: In the execution of the generated code, obtaining a field structure associated with the user interface component; Outputting the first data field that exists in both the field structure and the data field directory to the screen through the user interface component; and A second data field that exists in the data field directory but does not exist in the field structure is processed so as not to be output to the screen through the user interface component.
19. The method for operating a software development platform according to claim 13, wherein: The configuration information includes information of a user interface component set to be output to a screen at the execution time of the target software and table information of a database associated with the user interface component. The step of executing the generated code comprises the following steps: In the execution of the generated code, an event of operating a portion of the plurality of records through the user interface component is sensed; updating a status flag value of the portion of records in response to sensing the event; When a preset database update condition is met, filtering update records from the plurality of records based on the status flag value; as well as The value of the updated record is reflected in the table of the associated database.
20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the following steps are implemented: Provide a configuration interface based on a graphical user interface; Receiving configuration information of the target software through the configuration interface, wherein the configuration information includes setting information about a plurality of items, and at least a part of the plurality of items are used to constitute a common component; generating code of the target software based on the configuration information; and The generated code is executed using the general component reflecting the setting information of the at least part of the project.
