CN116774982A - Code-free development method, equipment and storage medium in information creation environment - Google Patents

Code-free development method, equipment and storage medium in information creation environment Download PDF

Info

Publication number
CN116774982A
CN116774982A CN202310751030.5A CN202310751030A CN116774982A CN 116774982 A CN116774982 A CN 116774982A CN 202310751030 A CN202310751030 A CN 202310751030A CN 116774982 A CN116774982 A CN 116774982A
Authority
CN
China
Prior art keywords
information
user
logic block
database
data source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310751030.5A
Other languages
Chinese (zh)
Inventor
严铭昊
赵大立
兰方合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
China Unicom Heilongjiang Industrial Internet Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
China Unicom Heilongjiang Industrial Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd, China Unicom Heilongjiang Industrial Internet Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310751030.5A priority Critical patent/CN116774982A/en
Publication of CN116774982A publication Critical patent/CN116774982A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a code-free development method, code-free development equipment and a code-free development storage medium in a credit-wound environment, and relates to the technical field of software development. A code-less development platform for being installed in a belief-creating environment, the method comprising: receiving a service creation message sent by a user, and creating a service according to the service creation message; displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks; receiving the drag information of the user on the logic block, and generating a logic diagram according to the drag information; and generating source codes according to the logic diagram. The method can solve the problem that the development method in the existing belief-creating environment is too dependent on the development platform.

Description

Code-free development method, equipment and storage medium in information creation environment
Technical Field
The present application relates to the field of software development technologies, and in particular, to a code-free development method, apparatus, and storage medium in a signal creation environment.
Background
The development of the credit-invasive industry has become the key to the economic digital transformation and the development of the industry chain. For the software development industry, it is generally required to advance informationized products to fully change to a credit-creating environment, and the difference between credit-creating products and traditional products and the diversity of credit-creating products have great influence on the efficiency of migration of the environment.
In the existing scheme for rapidly completing application development and adapting to a credit creation environment, the low code development technology is mostly used as a break from the technical realization point of view, and most of low code development technology routes adopt the most form of a single-junction flow engine, and the method has certain advantages for rapid realization of interfaces and rapid organization of basic flows, but for scenes with higher complexity, particularly for rear-end development needs, the existing low code development platform is usually supplemented by embedding original codes in the flows; however, due to the diversity of the created environment, the development and operation fusion mode is difficult to deviate from the original created environment.
In view of the above drawbacks, there is a need for a code-free development method, apparatus and storage medium in a trusted environment, which can overcome the problem that the existing development method in the trusted environment is too dependent on a development platform.
Disclosure of Invention
The application provides a code-free development method, code-free development equipment and a code-free development storage medium in a credit-created environment, which can solve the problem that the development method in the conventional credit-created environment is too dependent on a development platform.
In a first aspect, the present application provides a code-free development method in a signal-based environment, for a code-free development platform mounted in the signal-based environment, the method comprising:
Receiving a service creation message sent by a user, and creating a service according to the service creation message;
displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks;
receiving the drag information of the user on the logic block, and generating a logic diagram according to the drag information; and generating source codes according to the logic diagram.
In one possible design, before the creating the service, the method further comprises:
receiving data source information from a database, and generating a database operation logic block according to the data source information, wherein the database operation logic block is used for operating a database;
and storing the database operation logic blocks in the logic block set.
In one possible design, the database is a local database on the credit development platform, and the database operation logic block is a local database operation logic block;
the receiving the data source information of the user, generating a database operation logic block according to the data source information, and the method comprises the following steps:
receiving first selection information from the user, wherein the first selection information is used for indicating a preset data source list selected by the user in a preset logic source list and corresponding preset configuration information, and the preset configuration information is used for configuring the preset data source list and a local database on the information creation development platform;
And generating the local database operation logic block according to the preset data source list and the corresponding preset configuration information.
In one possible design, the receiving the data source information of the user, generating a database operation logic block according to the data source information, further includes:
receiving first creation information from the user, and creating a first data source list according to the first creation information, wherein the first creation information is used for indicating to create the first data source list;
receiving first configuration information from the user, wherein the first configuration information is used for indicating that the first data source list and the local database are configured;
and generating the local database operation logic block according to the first data source list and the first configuration information.
In one possible design, the database is a foreign-location credit database, and the database operation logic block is a plug-in database operation logic block;
the receiving the data source information of the user, generating a database operation logic block according to the data source information, and the method comprises the following steps:
receiving opening and selecting information of a database plug-in sent by the user, wherein the database plug-in is used for providing a plurality of remote credit and trauma databases, and the opening and selecting information of the database plug-in is used for indicating to open the remote credit and trauma databases selected by the user;
Receiving second creation information from the user, and creating a second data source list according to the second creation information, wherein the second creation information is used for indicating to create the second data source list;
receiving second configuration information from the user, wherein the second configuration information is used for indicating that the second data source list and the user-selected remote credit and debit database are configured;
and generating a plug-in database operation logic block according to the second data source list and the second configuration information.
In one possible design, before the creating the service, the method further comprises:
receiving message middleware selection information sent by the user, wherein the message middleware selection information is used for indicating the message middleware selected by the user;
receiving third configuration information from a user; the third configuration information is used for configuring the opened and selected message middleware;
generating a message middleware operation logic block according to the message middleware selection information and the third configuration information;
and storing the message middleware plug-in into the logic block set.
In one possible design, the set of logic blocks further includes a set of branch control logic blocks, a set of loop control logic blocks, a set of text operation logic blocks, a set of date operation logic blocks, a set of file operation logic blocks, a set of digital operation logic blocks, a set of list operation logic blocks, a set of object operation logic blocks, a set of Http operation logic blocks, a set of cache operation logic blocks, a set of service operation logic blocks, a set of exception handling logic blocks, a set of regular check logic blocks, a set of function operation logic blocks, a set of local variable logic blocks.
In one possible design, after the generating the source code according to the logic diagram, the method further includes:
debugging, testing or generating an interface for the source code according to the instruction of the user, including:
if the instruction is a debugging instruction, debugging the source code and outputting a debugging result;
if the instruction is a test instruction, testing the source code and outputting a test result;
if the instruction is a construction instruction, generating a construction application of the source code and a corresponding construction interface;
and if the instruction is a downloading instruction, generating a downloading file of the source code and a corresponding downloading interface.
In a second aspect, the present application provides a code-less development device in a belief-creating environment, the device comprising:
the application management module is used for receiving the service creation message sent by the user and creating a service according to the service creation message;
the visualization module is used for displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks;
the development support module is used for receiving the drag information of the user on the logic block and generating a logic diagram according to the drag information; and generating source codes according to the logic diagram.
In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
and the processor executes the computer execution instructions stored in the memory to realize a code-free development method in a credit and debit environment.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement a code-free development method in a signal-based environment.
The code-free development method, the code-free development equipment and the storage medium in the information creation environment are used for the code-free development platform carried in the information creation environment, and the following technical effects are achieved by acquiring the dragging information of a user on the logic blocks of the logic block set and generating the source code according to the dragging information:
the method can acquire the dragging information of the user on the visual logic block, realize code-free development in the credit environment according to the dragging information, does not need code supplementation, is more convenient and fast, and can solve the problem that the existing credit development method is too dependent on the development environment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario diagram of a code-free development method in a credit environment provided by an embodiment of the present application;
fig. 2 is a schematic flow chart of a code-free development method in a credit environment according to an embodiment of the present application;
fig. 3 is a second flow chart of a code-free development method in a credit environment according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a code-free development method device in a signal creation environment according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the application, as detailed in the accompanying claims, rather than all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to denote examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
It should be noted that the terms "first," "second," "third," "fourth," and the like in the description and claims of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein.
The "at … …" in the embodiment of the present application may be an instant when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited.
The following describes in detail a code-free development method in a belief-creating environment provided by an embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is an application scenario diagram of a code-free development method in a signal creation environment provided by an embodiment of the present application. As shown in fig. 1, in the prior art, software development is performed under the first operation creation environment 110 by adopting a low code technology, a source code is generated for generating a back-end service, the generated back-end service is operated in the second creation environment 140, most of the prior art uses the low code development technology as a break, most of the low code development technology routes adopt a form single-junction flow engine mode, and the mode has certain advantages for quick implementation of an interface and quick organization of a basic flow, but due to diversity of the creation environment, the adaptation difficulty of the first creation environment 110 to the second creation environment 140 is increased, the existing low code development platform is realized by adopting a development and operation fusion mode, the developed application is difficult to separate from the first creation environment 110 and is independently deployed in the second creation environment 140, the deployment structure depends on the capability of the first creation environment 110, and a pure application environment cannot be formed in a production environment.
The method is used for the code-free development platform 120, the code-free development platform 120 is carried under the first information creation environment 110, the user can acquire the dragging information of the visual logic block, code-free development generation source codes are realized under the information creation environment according to the dragging information, the code supplementation is not needed, the method is more convenient, the back-end service 130 which is configured according to the source codes can be separated from the first information creation environment 110, the operation and other information creation environments (the second information creation environment 140) are applicable, the requirement of software development can be met, and the problem that the development method under the existing information creation environment is too dependent on the development platform is solved.
The code-free development platform in the application particularly refers to a code-free development platform facing back-end service development, one application program developed by the platform corresponds to a Java application program based on a Spring Boot frame, and an actual software project or system can be composed of application programs in a plurality of platforms. Spring Boot is a common development framework adopting Java language, and an application program developed based on Spring Boot manages Java objects required by the application program in an application program context (Application Context). The plug-in is a common tool function extension mode in a development tool to provide code fragments or aggregated function combinations to provide function extension for application programs, and the implementation mode of the plug-in of the code-free development platform in the application refers to an independent file form, and the specified plug-in file is dynamically loaded to complete specific functions when the application programs run.
FIG. 2 is a schematic flow chart of a code-free development method in a credit environment according to an embodiment of the present application; as shown in fig. 2, the method for installing a code-free development platform in a credit environment comprises the following steps:
s201, receiving a service creation message sent by a user, and creating a service according to the service creation message;
specifically, the user creates a service in the code-less development platform, and in response, creates a service on the code-less development platform;
s202, displaying a logic block set in a newly built service, wherein the logic block set comprises a plurality of logic blocks;
specifically, the platform comprises a display drag window, wherein the drag window comprises an operation toolbar, a logic block toolbar, a logic diagram display area and the like, and the logic block toolbar is used for providing a logic block set for a user;
s203, receiving the dragging information of a user on the logic block, and generating a logic diagram according to the dragging information; source code is generated from the logic diagram.
Specifically, the user drags the logic block according to the requirement, and in response, generates a logic diagram according to the drag information of the user, and the code generator translates the logic diagram to generate the source code.
The embodiment is used for a code-free development platform mounted in a credit environment, and the following technical effects are achieved by acquiring the drag information of a user on a logic block of a logic block set and generating a source code according to the drag information:
According to the method, the dragging information of the user on the visual logic block is obtained, code-free development is achieved under the created environment according to the dragging information, code supplementation is not needed, the method is more convenient and fast, and the problem that the existing created development method is too dependent on the development environment can be solved.
Fig. 3 is a second flow chart of a code-free development method in a credit environment according to an embodiment of the present application; as shown in fig. 3, the method includes:
s3100, generating local database operation logic blocks and/or plug-in database operation logic blocks and/or message middleware operation logic blocks and storing the local database operation logic blocks and/or plug-in database operation logic blocks and/or message middleware operation logic blocks into a logic block set;
specifically, a user judges whether a database operation logic block and a message middleware operation logic block are needed according to development requirements, and the user selects one or more local database operation logic blocks and/or plug-in database operation logic blocks and/or message middleware operation logic blocks to be generated according to requirements;
specifically, the database operation logic block comprises a local database operation logic block and a plug-in database operation logic block; the plug-in database operation logic block is used for operating a remote credit and trauma database which is realized by a plug-in mode; the specific method is realized through S3111-S3114;
Further, the local operation logic block is used for operating a local database on the credit development platform; the local database operation logic block comprises a first local database operation logic block and a second local database operation logic block; the first local database operation logic block is a local database operation logic block which is already created and configured; the method for generating the first local database operation logic block is realized through S3121-S3122; the second local database operation logic block is a newly built logic block; the method for generating the second local database operation logic block is realized through S3131-3133;
specifically, the message middleware operation logic block specific generation method is realized by S3141 to S3143.
Further, the method for generating the plug-in database operation logic block comprises the following steps:
s3111, receiving opening and selection information of a database plug-in sent by a user, wherein the database plug-in is used for providing a plurality of remote credit and trauma databases, and the opening and selection information of the database plug-in is used for indicating to open the remote credit and trauma databases selected by the user;
s3112, receiving second creation information from a user, and creating a second data source list according to the second creation information, wherein the second creation information is used for indicating to create the second data source list;
S3113, receiving second configuration information from a user, wherein the second configuration information is used for indicating that a second data source list and a remote credit database selected by the user are configured;
s3114 a plug-in database operation logic is generated based on the second list of data sources and the second configuration information.
Specifically, the extended databases are implemented in plug-in, and S3111-S3114 are implemented by opening and selecting a required database, performing data source list and database configuration, and generating plug-in database operation logic blocks according to the data source list and the database configuration, for operating the remote databases, including insertion, update, query, deletion, condition (single condition, and or combined condition), association, paging, sorting (ascending order, descending order), and the like.
Further, the method for generating the first local database operation logic block comprises the following steps:
s3121, receiving first selection information from a user, wherein the first selection information is used for indicating a preset data source list selected by the user in a preset logic source list and corresponding preset configuration information, and the preset configuration information is used for configuring the preset data source list and a local database on a credit development platform;
s3122, generating a first local database operation logic block according to the preset data source list and the corresponding preset configuration information.
Specifically, the local database operation logic block is used for operating the database of the carried creation platform, and for the database operation logic block which is used locally, a preset logic source list and preset configuration information are stored, and the first local database operation logic block is directly generated according to the preset data source list and the corresponding preset configuration information.
Correspondingly, the code-free development platform comprises a data source management module, maintains data sources required by the application, supports the use of a plurality of data sources in the same application, can use the same or different databases, and can support the use of a plurality of information creation databases under the condition that the plug-in is opened, wherein the main functions comprise:
basic information maintenance: the method comprises the steps of maintaining a plurality of data source basic information in an application, including displaying, adding, deleting and modifying the data source information;
the data source is reversed: the method is used for reversely acquiring the table information in the data source through the configured data source information.
Table information maintenance: the method comprises the steps of maintaining a plurality of table information in a data source, including showing, adding, deleting and modifying the table information;
column information maintenance: the method is used for maintaining a plurality of column information of the table, including displaying, adding, deleting and modifying the column information, and supporting maintenance of a main key and an external key.
Further, the method for generating the second local database operation logic block comprises the following steps:
s3131, receiving first creation information from a user, and creating a first data source list according to the first creation information, wherein the first creation information is used for indicating to create the first data source list;
s3132, receiving first configuration information from a user, wherein the first configuration information is used for indicating that a first data source list and a local database are configured;
s3133, generating a second local database operation logic block according to the first data source list and the first configuration information.
Specifically, for a local database operation logic block needing to be newly built, a data source list is newly built, a local database is configured, and a second local database operation logic block is generated according to the first data source list and the first configuration information.
Further, the message middleware operation logic block is implemented by the following method:
s3141, receiving message middleware selection information sent by a user, wherein the message middleware selection information is used for indicating the message middleware selected by the user;
specifically, the message middleware is mainly used for realizing functions of message sharing and transmission, such as subscribing a message to a specific message middleware, sending a message, and the like;
Similar to the database operation logic block, the message middleware selected by the user is converted into a corresponding message middleware logic block according to the requirement, so that the user can drag the message middleware to realize the function of the middleware; message middleware includes local message middleware and remote message middleware:
for the local message middleware, directly selecting and configuring the local; the message middleware in the different place is implemented in the form of a plug-in, and the plug-in needs to be started and selected;
s3142, receiving third configuration information from a user; the third configuration information is used for configuring the selected message middleware;
specifically, the configuration of the message middleware includes information such as an IP address, a user name and a password required for access.
S3143, generating a message middleware operation logic block according to the message middleware selection information.
Specifically, the generated message middleware operation logic block is used for realizing functions of the message middleware such as information sharing, message transmission and the like, and the on-demand loading provides a quick and on-demand message creation middleware integration capability for application development.
S3200, receiving a service creation message sent by a user, and creating a service according to the service creation message;
specifically, the method of this step is similar to S201, and will not be described here again.
S3300, displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks;
specifically, the logic block set includes a plurality of functional logic block sets to realize logic block functions of different functions, each logic block is mapped with a corresponding code generator for generating a fragment code for realizing the logic block function;
the local database operation logic block and the plug-in database operation logic block generated in the step S3100 belong to a database operation logic block set: for implementing programming language level database operating logic including insert, update, query, delete, condition (single condition, and or combined condition), join, page, sort (ascending, descending);
wherein the message middleware operation logic block: the on-demand loading of the logic blocks of the plug-in provides quick and on-demand integration capability of the information creation middleware and complex service simplification capability for application development.
Further, the logic block set further includes:
a set of branch control logic blocks: the method is used for realizing the branch control logic of the programming language level, and comprises if, if-else, logic judgment (=, noteq, > or <, <), logic operation (AND, OR, NOT), and special logic representation (Null, true, false);
A set of loop control logic blocks: for implementing programming language level loop control logic, including for, interrupt loops (break);
a set of text operation logic blocks: the method is used for realizing the programming language level text operation logic and comprises the steps of defining a character string, adding the character string at the end of a variable, obtaining the length of the character string, searching a substring in the character string, intercepting the character string, carrying out English case conversion, english initial case conversion, removing spaces (two ends, left end and right end) of the character string, replacing the character string and reversing the character string;
a set of date operation logic blocks: the method is used for realizing programming language-level date operation logic and comprises the steps of obtaining a current date, formatting the date into a character string and converting the character string into the date;
a set of file manipulation logic blocks: the method comprises the steps of reading a file as a character string, writing the character string into the file, deleting a single file, deleting a directory and files contained in the directory, detecting the attribute of a specified path (existence, readability, writeability, file, directory and hidden file), acquiring a father path and acquiring a lower file path list of the specified path;
a set of digital operation logic blocks: for implementing programming language level operating logic, including defining numbers, mathematical operations (+, -, ×, ++power,) and remainder;
A set of database operation logic blocks: for implementing programming language level database operating logic including insert, update, query, delete, condition (single condition, and or combined condition), join, page, sort (ascending, descending);
list operation logic block set: the method comprises the steps of defining an empty list, fetching the length of the list, searching elements in the list (first occurrence and last occurrence), acquiring the elements in the list, setting the elements in the list (appointed position and addition), acquiring sub-lists, dividing the list by character strings according to separators, forming the list elements into character strings according to separators, sorting (ascending and descending) the list elements according to the orders of elements (numerical order, alphabetical order and alphabetical order neglected case), reversing the list elements, emptying the list, and adding all the elements of a certain list to the end of the list;
object operation logic block set: the method comprises the steps of defining an empty object, creating the object through a character string, obtaining the element number of the object, obtaining the corresponding element of the object according to the key, judging whether the object contains a specific key, obtaining a specific list (key value pair list, key list and value list) of the object, setting a designated key and a corresponding value thereof to the object, and emptying the object;
Http operation logic block set: the method is used for realizing programming language-level Http/Https operation logic, and comprises the steps of sending Http/Https requests (POST, GET), setting a header, setting url, setting form parameters, setting basic authentication and setting token authentication;
a set of cache operation logic blocks: the method is used for realizing programming language level caching (including local caching and centralized caching) operation logic, and comprises the steps of storing data, taking out the data, cleaning the data of specified keys, cleaning all cache data, judging whether the cache has the specified keys or not, and acquiring original input parameter objects;
a set of service operation logic blocks: the method is used for realizing the special operation logic of the programming language level service (input parameter processing and service returning), and comprises the steps of acquiring the input parameter value of a designated key, judging whether the input parameter contains the designated key, ending the service and returning;
an exception handling logical block set: the method is used for realizing programming language level exception handling logic, and comprises try-catch, try-catch-complete and throwing out exceptions;
conventional check logic block set: the method is used for realizing programming language level conventional check logic, and comprises non-Null check (character string, list and object), non-blank character string check, character string length not larger than specified value check, character string length not smaller than specified value check and character string meeting regular expression check;
A set of function operation logic blocks: the method is used for realizing programming language level local function operation logic and comprises the steps of defining no-return function, defining return function and calling function;
a set of local variable logic blocks: the method is used for realizing programming language-level local variable operation logic and comprises the steps of defining variables (character strings, numbers, boolean, lists and objects), assigning values to the variables and acquiring variable values.
S3400, receiving the dragging information of a user on the logic block, and generating a logic diagram according to the dragging information; source code is generated from the logic diagram.
Specifically, the logic block set is displayed in the logic block editing area, a user drags the logic blocks according to service requirements, generates a logic diagram according to drag information, displays the logic diagram and waits for confirmation of the user, the user can verify and change the logic diagram during the confirmation period, a code generator corresponding to the logic blocks in the logic diagram translates the logic diagram, and a source code corresponding to the service is output.
S3500, debugging, testing or generating an interface for the source code according to the instruction of the user.
Specifically, if the instruction is a debug instruction, debugging the source code and outputting a debug result;
if the instruction is a test instruction, testing the source code and outputting a test result;
If the instruction is a construction instruction, generating construction application of a source code and a corresponding construction interface;
and if the instruction is a downloading instruction, generating a downloading file of the source code and a corresponding downloading interface.
The embodiment is used for a code-free development platform carried in a credit creation environment, generates a local database operation logic block and/or a plug-in database operation logic block and/or a message middleware operation logic block, stores the local database operation logic block and/or the plug-in database operation logic block and/or the message middleware operation logic block into a logic block set, acquires the dragging information of a user on the logic blocks of the logic block set, and generates a source code according to the dragging information, thereby realizing the following technical effects:
the embodiment can operate the logic block for generating the local database so that a user can finish the operation of the local database of the carried credit platform through dragging, the remote credit database is expanded in a plug-in mode, and the corresponding difference database operation logic block is generated through configuration, so that the method is suitable for code-free development of non-local environments;
the message middleware can be operated in a plug-in mode by deploying and generating the corresponding message, and the application development provides the quick and on-demand information creation middleware integration capability;
the method can acquire the dragging information of the user on the visual logic block, realize code-free development under the information creation environment according to the dragging information, does not need code supplementation, is more convenient, can solve the problem that the existing information creation development method is too dependent on the development environment, and can independently deploy and operate the generated source codes under other information creation environments.
The embodiment of the application can divide the functional modules of the electronic device or the main control device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a schematic structural diagram of a code-free development device in a trusted environment.
Fig. 4 is a schematic structural diagram of a code-free development device in a signal creation environment according to an embodiment of the present application, as shown in fig. 4, where the device 40 is a lower concept of the code-free development platform, and the device 40 includes:
the application management module 401 is configured to receive a service creation message sent by a user, and create a service according to the service creation message;
a visualization module 402, configured to display a logic block set in the newly created service, where the logic block set includes a plurality of logic blocks;
the development support module 403 is configured to receive drag information of a user on a logic block, and generate a logic diagram according to the drag information; source code is generated from the logic diagram.
Further, the application management module 401 is specifically further configured to:
receiving data source information from the database, and generating a database operation logic block according to the data source information, wherein the database operation logic block is used for operating the database;
the database operation logical blocks are saved in a logical block set.
Further, the database is a local database on the credit development platform, and the database operation logic block is a local database operation logic block; the application management module 401 is specifically further configured to:
receiving first selection information from a user, wherein the first selection information is used for indicating a preset data source list selected by the user in a preset logic source list and corresponding preset configuration information, and the preset configuration information is used for configuring the preset data source list and a local database on a credit development platform;
and generating a local database operation logic block according to the preset data source list and the corresponding preset configuration information.
Further, the application management module 401 is specifically further configured to:
receiving first creation information from a user, and creating a first data source list according to the first creation information, wherein the first creation information is used for indicating to create the first data source list;
receiving first configuration information from a user, wherein the first configuration information is used for indicating that a first data source list and a local database are configured;
A local database operation logic block is generated according to the first data source list and the first configuration information.
Further, the database is a remote information creation database, and the database operation logic block is a plug-in database operation logic block; the application management module 401 is specifically further configured to:
receiving opening and selecting information of a database plug-in sent by a user, wherein the database plug-in is used for providing a plurality of remote credit and trauma databases, and the opening and selecting information of the database plug-in is used for indicating to open the remote credit and trauma databases selected by the user;
receiving second creation information from a user, and creating a second data source list according to the second creation information, wherein the second creation information is used for indicating to create the second data source list;
receiving second configuration information from a user, wherein the second configuration information is used for indicating to configure a second data source list and a user-selected remote credit database;
and generating a plug-in database operation logic block according to the second data source list and the second configuration information.
Further, the application management module 401 is specifically further configured to:
receiving message middleware selection information sent by a user, wherein the message middleware selection information is used for indicating to open the message middleware selected by the user;
Receiving third configuration information from a user; the third configuration information is used for configuring the opened and selected message middleware;
generating a message middleware operation logic block according to the message middleware selection information and the third configuration information;
and saving the message middleware plug-in into the logic block set.
Further, the logic block set further comprises a branch control logic block set, a circulation control logic block set, a text operation logic block set, a date operation logic block set, a file operation logic block set, a digital operation logic block set, a list operation logic block set, an object operation logic block set, an Http operation logic block set, a cache operation logic block set, a service operation logic block set, an exception handling logic block set, a conventional check logic block set, a function operation logic block set and a local variable logic block set.
Further, the development support module 403 is specifically configured to:
according to the instruction of the user, debugging, testing or generating the interface for the source code comprises the following steps:
if the instruction is a debugging instruction, debugging the source code and outputting a debugging result;
if the instruction is a test instruction, testing the source code and outputting a test result;
If the instruction is a construction instruction, generating construction application of a source code and a corresponding construction interface;
and if the instruction is a downloading instruction, generating a downloading file of the source code and a corresponding downloading interface.
The code-free development device in the created environment provided in the present embodiment may execute the code-free development method in the created environment of the above embodiment, and its implementation principle and technical effects are similar, and the present embodiment will not be described here again.
In the foregoing specific implementation of the code-less development device in the signal-creating environment, each module may be implemented as a processor, and the processor may execute computer-executable instructions stored in the memory, so that the processor executes the code-less development method in the signal-creating environment.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 50 includes: at least one processor 501 and a memory 502. The electronic device 50 further comprises a communication part 503. The processor 501, the memory 502, and the communication unit 503 are connected via a bus 504.
In a specific implementation, the at least one processor 501 executes computer-executable instructions stored in the memory 502, such that the at least one processor 501 performs a code-free development method in a signal-based environment as performed on the electronic device side.
The specific implementation process of the processor 501 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the above embodiment, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The scheme provided by the embodiment of the application is introduced aiming at the functions realized by the electronic equipment and the main control equipment. It will be appreciated that the electronic device or the master device, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. The present embodiments can be implemented in hardware or a combination of hardware and computer software in combination with the various exemplary elements and algorithm steps described in connection with the embodiments disclosed in the embodiments of the present application. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present application.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the code-free development method in the information creation environment is realized.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in an electronic device or a master device.
The present application also provides a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any one of the embodiments described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (12)

1. The code-free development method in the credit-invasive environment is characterized by comprising the following steps of:
receiving a service creation message sent by a user, and creating a service according to the service creation message;
displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks;
receiving the drag information of the user on the logic block, and generating a logic diagram according to the drag information; and generating source codes according to the logic diagram.
2. The method of claim 1, wherein prior to the creating a service, the method further comprises:
Receiving data source information from a database, and generating a database operation logic block according to the data source information, wherein the database operation logic block is used for operating a database;
and storing the database operation logic blocks in the logic block set.
3. The method of claim 2, wherein the database is a local database on the credit development platform and the database operating logic block is a local database operating logic block;
the receiving the data source information of the user, generating a database operation logic block according to the data source information, and the method comprises the following steps:
receiving first selection information from the user, wherein the first selection information is used for indicating a preset data source list selected by the user in a preset logic source list and corresponding preset configuration information, and the preset configuration information is used for configuring the preset data source list and a local database on the information creation development platform;
and generating the local database operation logic block according to the preset data source list and the corresponding preset configuration information.
4. The method of claim 3, wherein receiving the user's data source information, generating database operation logic blocks from the data source information, further comprises:
Receiving first creation information from the user, and creating a first data source list according to the first creation information, wherein the first creation information is used for indicating to create the first data source list;
receiving first configuration information from the user, wherein the first configuration information is used for indicating that the first data source list and the local database are configured;
and generating the local database operation logic block according to the first data source list and the first configuration information.
5. The method of claim 2, wherein the database is a foreign-location credit database and the database operating logic is a plug-in database operating logic;
the receiving the data source information of the user, generating a database operation logic block according to the data source information, and the method comprises the following steps:
receiving opening and selecting information of a database plug-in sent by the user, wherein the database plug-in is used for providing a plurality of remote credit and trauma databases, and the opening and selecting information of the database plug-in is used for indicating to open the remote credit and trauma databases selected by the user;
receiving second creation information from the user, and creating a second data source list according to the second creation information, wherein the second creation information is used for indicating to create the second data source list;
Receiving second configuration information from the user, wherein the second configuration information is used for indicating that the second data source list and the user-selected remote credit and debit database are configured;
and generating a plug-in database operation logic block according to the second data source list and the second configuration information.
6. The method of claim 2, wherein prior to the creating a service, the method further comprises:
receiving message middleware selection information sent by the user, wherein the message middleware selection information is used for indicating the message middleware selected by the user;
receiving third configuration information from a user; the third configuration information is used for configuring the opened and selected message middleware;
generating a message middleware operation logic block according to the message middleware selection information and the third configuration information;
and storing the message middleware plug-in into the logic block set.
7. The method of claim 1, wherein the set of logic blocks further comprises a set of branch control logic blocks, a set of loop control logic blocks, a set of text operation logic blocks, a set of date operation logic blocks, a set of file operation logic blocks, a set of number operation logic blocks, a set of list operation logic blocks, a set of object operation logic blocks, a set of Http operation logic blocks, a set of cache operation logic blocks, a set of service operation logic blocks, a set of exception handling logic blocks, a set of regular check logic blocks, a set of function operation logic blocks, a set of local variable logic blocks.
8. The method of claim 1, wherein after the generating source code from the logic diagram, the method further comprises:
debugging, testing or generating an interface for the source code according to the instruction of the user, including:
if the instruction is a debugging instruction, debugging the source code and outputting a debugging result;
if the instruction is a test instruction, testing the source code and outputting a test result;
if the instruction is a construction instruction, generating a construction application of the source code and a corresponding construction interface;
and if the instruction is a downloading instruction, generating a downloading file of the source code and a corresponding downloading interface.
9. A code-less development device in a trusted environment, the device comprising:
the application management module is used for receiving the service creation message sent by the user and creating a service according to the service creation message;
the visualization module is used for displaying a logic block set in the newly-built service, wherein the logic block set comprises a plurality of logic blocks;
the development support module is used for receiving the drag information of the user on the logic block and generating a logic diagram according to the drag information; and generating source codes according to the logic diagram.
10. The apparatus of claim 9, wherein the development support module is further to debug, test, or generate an interface for the source code according to instructions of the user.
11. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 8.
12. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 8.
CN202310751030.5A 2023-06-25 2023-06-25 Code-free development method, equipment and storage medium in information creation environment Pending CN116774982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310751030.5A CN116774982A (en) 2023-06-25 2023-06-25 Code-free development method, equipment and storage medium in information creation environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310751030.5A CN116774982A (en) 2023-06-25 2023-06-25 Code-free development method, equipment and storage medium in information creation environment

Publications (1)

Publication Number Publication Date
CN116774982A true CN116774982A (en) 2023-09-19

Family

ID=87989128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310751030.5A Pending CN116774982A (en) 2023-06-25 2023-06-25 Code-free development method, equipment and storage medium in information creation environment

Country Status (1)

Country Link
CN (1) CN116774982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117768510A (en) * 2024-01-09 2024-03-26 中科物栖(南京)科技有限公司 Method, device, equipment and storage medium for graphically generating broadcast communication mechanism

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117768510A (en) * 2024-01-09 2024-03-26 中科物栖(南京)科技有限公司 Method, device, equipment and storage medium for graphically generating broadcast communication mechanism

Similar Documents

Publication Publication Date Title
US20190197068A1 (en) Page rendering method, device, and data storage medium
CN110007902A (en) The method and device of business processing flow configuration
CN109189469B (en) Reflection-based android application micro-servitization method and system
US20220179642A1 (en) Software code change method and apparatus
JP5350428B2 (en) Automatic program generation apparatus, method and computer program
CN116774982A (en) Code-free development method, equipment and storage medium in information creation environment
CN111966334A (en) Service processing method, device and equipment
CN113641338B (en) Method and device for dynamically generating view component
CA3142770A1 (en) Component linkage configuration method, device, computer equipment and storage medium
US8196093B2 (en) Apparatus and method for componentizing legacy system
CN113535141A (en) Database operation code generation method and device
JP5426938B2 (en) Information processing apparatus and information processing method
CN114185874A (en) Big data based modeling method and device, development framework and equipment
CN112965721B (en) Project compiling method and device based on Android, computer equipment and storage medium
CN114764296A (en) Machine learning model training method and device, electronic equipment and storage medium
CN114449063B (en) Message processing method, device and equipment
JP2002366597A (en) System and program of fpga design
CN115292169A (en) UI automation test method and system
CN114385155A (en) vue project visualization tool generation method, device, equipment and storage medium
CN115061669A (en) Function extension method and device of code editor
KR101670916B1 (en) Method for storing function and system device using the same
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN113741931A (en) Software upgrading method and device, electronic equipment and readable storage medium
JP2017142574A (en) Control program, controller and control method
CN113806327A (en) Database design method and device and related equipment

Legal Events

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