CN110377275A - Automatically create the method and storage medium of application program - Google Patents

Automatically create the method and storage medium of application program Download PDF

Info

Publication number
CN110377275A
CN110377275A CN201910651993.1A CN201910651993A CN110377275A CN 110377275 A CN110377275 A CN 110377275A CN 201910651993 A CN201910651993 A CN 201910651993A CN 110377275 A CN110377275 A CN 110377275A
Authority
CN
China
Prior art keywords
logic
node
type
verifying
application program
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
CN201910651993.1A
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.)
Department Of Information Technology (shanghai) Co Ltd
Original Assignee
Department Of Information Technology (shanghai) 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 Department Of Information Technology (shanghai) Co Ltd filed Critical Department Of Information Technology (shanghai) Co Ltd
Priority to CN201910651993.1A priority Critical patent/CN110377275A/en
Publication of CN110377275A publication Critical patent/CN110377275A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

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

Disclose a kind of method for automatically creating application program and storage medium.By obtaining and parsing configuration file to obtain configuration information, the configuration of object logics, check logic and data flow diagram logic is carried out to create corresponding application program according to the configuration information.Thus, it is possible to shorten the development process of application program by comparing the major part of shirtsleeve operation development and application program, reduce the exploitation of duplicated code, it being capable of quickly development and application program.

Description

Automatically create the method and storage medium of application program
Technical field
The present invention relates to technical field of software development more particularly to a kind of methods for automatically creating application program and storage to be situated between Matter.
Background technique
With the development of computer technology, the function of computer software is stronger and stronger, and to application development itself Requirement it is also more and more harsh, the efficiency of technical software exploitation and how quickly to cope with the ability of continually changing software requirement and get over Come more of interest by enterprise.
The exploitation of traditional application program is related to a large amount of hand-coding and test.With the increase of software complexity, this Oneself is unrealistic for the manual mode of quasi-tradition.Application program generally includes a large amount of computer code, and needs as usual Programmer team takes a long time to create, test and debug.Many energy are consumed in process of application development in this way to exist Duplicate code logic is write, so that development process is long and inefficiency.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of method for automatically creating application program and storage medium, it can To shorten the development process of application program by comparing the major part of shirtsleeve operation development and application program, reduces and repeat generation The exploitation of code, being capable of quickly development and application program.
In a first aspect, the embodiment of the invention provides a kind of methods for automatically creating application program, which comprises
Determine that logical type, the logical type include object logics, check logic and data flow diagram logic;
Obtain configuration file;
The configuration file is parsed to obtain configuration information;And
Corresponding logic is executed according to the configuration information to be configured to create corresponding application program, it is described to apply journey Sequence is for operating database.
It preferably, is object logics in response to the logical type, the configuration information includes type function, database friendship Mutual type, function Chinese name, Function Identification, from object, conditional attribute content, result property content, grouping information, sequence Information and verifying logic.
Preferably, executing corresponding logic according to the configuration information includes:
Executable structured query language, the executable structured query language are generated according to the configuration information For at least one of increase, delete, modify and inquire to object data;And
Object logics configuration is carried out according to the executable structured query language.
It preferably, is check logic in response to the logical type, the configuration information includes function name, function Chinese Name, judges operator, the value of judgement and error message at verification type.
Preferably, executing corresponding logic according to the configuration information includes:
Corresponding check logic is called according to the verification type;And
It executes the check logic and obtains check results.
Preferably, the verification type include threshold value verifying, effectively verifying, attribute verifying, mailbox verifying, authentication, Integer verifying, non-empty verifying, cell-phone number verifying, length verifying, there are at least one of verifyings and unique authentication.
It preferably, is data flow diagram logic in response to the logical type, the configuration information includes Function Identification, function The newly-increased data of Chinese name, node type, the name of calling logic, record, the match parameter of node calling logic and from section The alignment table that point comes out.
Preferably, the node type includes start node, terminal node and data processing node.
Preferably, executing corresponding logic according to the configuration information includes:
Obtain the node type of present node;And
Node type in response to the present node is not terminal node, according to the execution pair of the configuration information of present node The data flow diagram logic answered.
Second aspect, the embodiment of the invention provides a kind of computer readable storage mediums, store computer program thereon Instruction, the computer program instructions realize method as described in relation to the first aspect when being executed by processor.
The technical solution of the embodiment of the present invention is matched by obtaining and parsing configuration file to obtain configuration information according to described Confidence breath carries out the configuration of object logics, check logic and data flow diagram logic to create corresponding application program.Thus, it is possible to By comparing the major part of shirtsleeve operation development and application program, shorten the development process of application program, reduces duplicated code Exploitation, being capable of quickly development and application program.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present invention, the above and other purposes of the present invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is the structural schematic diagram of the system for automatically creating application program of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the server of the embodiment of the present invention;
Fig. 3 is the data interaction figure of the system for automatically creating application program of the embodiment of the present invention;
Fig. 4 is the flow chart of the method for automatically creating application program of the embodiment of the present invention;
Fig. 5 is the configuration feature item of the embodiment of the present invention and the comparative diagram of function description;
Fig. 6 is the format chart of the configuration file of the object logics of the embodiment of the present invention;
Fig. 7 is the flow chart of the execution object logics of the embodiment of the present invention;
Fig. 8 is the format chart of the configuration file of the check logic of the embodiment of the present invention;
Fig. 9 is the flow chart of the execution check logic of the embodiment of the present invention;
Figure 10 is the format chart of the configurations of the configuration file of the data flow diagram logic of the embodiment of the present invention;
Figure 11 is the format chart of the node configuration of the configuration file of the data flow diagram logic of the embodiment of the present invention;
Figure 12 is the format chart of the line configuration of the configuration file of the data flow diagram logic of the embodiment of the present invention;
Figure 13 is the flow chart of the execution data flow diagram logic of the embodiment of the present invention;
Figure 14 is the schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under Text is detailed to describe some specific detail sections in datail description of the invention.Do not have for a person skilled in the art The present invention can also be understood completely in the description of these detail sections.In order to avoid obscuring essence of the invention, well known method, mistake There is no narrations in detail for journey, process, element and circuit.
In addition, it should be understood by one skilled in the art that provided herein attached drawing be provided to explanation purpose, and What attached drawing was not necessarily drawn to scale.
Unless the context clearly requires otherwise, "include", "comprise" otherwise throughout the specification and claims etc. are similar Word should be construed as the meaning for including rather than exclusive or exhaustive meaning;That is, be " including but not limited to " contains Justice.
In the description of the present invention, it is to be understood that, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " It is two or more.
Fig. 1 is the structural schematic diagram of the system for automatically creating application program of the embodiment of the present invention.As shown in Figure 1, this hair The system for automatically creating application program of bright embodiment includes client 1 and server 2.Wherein, client 1 is for obtaining configuration Type and configuration file, and the configuration information and configuration file are sent to server 2.Server 2 is for parsing described match File is set to obtain configuration information, is configured according to the corresponding logic of configuration information execution corresponding using journey to create Sequence, the application program is for operating database.
In the present embodiment, the client 1 can be smart phone, tablet computer, laptop or desktop computer Deng being also possible to be provided with other equipment of ad hoc sofeware program.User can be manipulated by using input equipments such as mouses shields Icon or menu option on curtain with option and installment type or execute other tasks, can also input text by equipment such as keyboards This or character Command input the information such as configuration file.
Further, the client 1 includes human-computer interaction interface, and transmitting is provided between user and client 1, is exchanged The medium and dialog interface of information.
Further, the human-computer interaction interface be graphic user interface (Graphical User Interface, GUI)。
In the present embodiment, the server 2 is matched for parsing the configuration file to obtain configuration information according to described Confidence breath executes corresponding logic and is configured to create corresponding application program, and the application program is used to carry out database Operation.
In the present embodiment, the server 2 is also used to returning to configuration result into the client 1.
In the present embodiment, the client 1 is also used to show the configuration result.
In the present embodiment, can be led to by local gateway or internet between the client 1 and server 2 Letter.
Specifically, Fig. 2 is the structural schematic diagram of the server of the embodiment of the present invention.As shown in Fig. 2, the server 2 wraps It includes service management unit 21, application management unit 22, configuration management element 23 and executes administrative unit 24.Wherein, user management Unit 21 is for managing user information and access privilege and user's login, registration etc..Application management unit 22 is for managing The application program of user's creation, application program can be used for managing and integrating the configuration of user, the configuration between different application It is isolation.Configuration management element 23 is used to manage the configuration logic of user.It executes administrative unit 24 and is used to provide connecing for configuration Mouth checks interface and the execution logic based on configuration information.
In the present embodiment, configuration management element 23 provides the configuration of object logics, check logic and data flow diagram logic Management.Specifically, object logics include that data are increased, delete, modify and inquired etc. with configuration.Examining logic includes data There is verification and uniqueness verification etc. in value verification, data.Data flow diagram logic includes being increased node data, being deleted, repaired The configuration such as change, inquire and verify, creation variable node, transaction nodes judge node and cyclic node etc., connect each node. Preferably, the data flow diagram logic for needing to operate can be selected by graphic interface.
Thus, it is possible to more quickly configure an application program by graphical configuration interface, and is issued and surveyed Examination.
Fig. 3 is the data interaction figure of the system for automatically creating application program of the embodiment of the present invention.As shown in figure 3, automatic Creating application program includes following steps:
Step S301, client obtains logging request.
In the present embodiment, client obtains the logging request that user is inputted by operation interface, and the logging request is extremely It less include user name and user password.
It should be understood that client can also obtain the registration request that user is inputted by operation interface, the registration request is extremely It less include user name and user password.
Step S302, client sends logging request.
In the present embodiment, the logging request received is sent to server by client.
It should be understood that the registration request received can also be sent to server by client.
Step S303, server authentication logging request.
In the present embodiment, it after server receives the logging request that client is sent, parses the logging request and obtains User name and user password, verify the user name and whether user password is correct.
It should be understood that parsing the registration information after server receives the registration request that client is sent and obtaining user name And user password, it is registered for user.
Step S304, server returns to login result.
In the present embodiment, login result is sent to client by server.
It should be understood that server is also used to registering result being sent to client.
Step S305, client obtains application program request to create.
In the present embodiment, after user logins successfully, application program wound is selected or input by the operation interface of client Build request.
Step S306, client sends the application program request to create.
In the present embodiment, the application program request to create is sent to server by client.
Step S307, server creates application program.
In the present embodiment, server creates application program according to the application program request to create received.The application Program can be used for segmentation, planning and configuration service.
Step S308, the application program of creation is sent to client by server.
Step S309, client obtains logical type.
In the present embodiment, user selects the logical type needed to configure, the logic class based on the application program of creation Type includes object logics, check logic and data flow diagram logic.
Step S310, logical type is sent to server by client.
Step S311, server creates logical program.
In the present embodiment, server creates corresponding logical program according to the logical type received.
Step S312, the logical program of creation is sent to client by server.
Step S313, client obtains configuration information.
In the present embodiment, user is based on logical program created and selects or inputs corresponding configuration information.
Step S314, client sends configuration information.
Step S315, server parses configuration information.
Step S316, server executes configuration information.
Step S317, server obtains configuration result.
Step S318, configuration result is sent to client by server.
Thus, it is possible to realize the configuration to application program by visualization interface.
Fig. 4 is the flow chart of the method for automatically creating application program of the embodiment of the present invention.As shown in figure 4, automatically creating Application program includes following steps:
Step S410, determine that logical type, the logical type include that object logics, check logic and data flow diagram are patrolled Volume.
In the present embodiment, server through database services (Database as a Service;DaaS mode) The service operated to database is provided for user.Specifically, DaaS is based on traditional database technique, by database Resource is supplied to the service ability of one or more users in the form of standards service.
In the present embodiment, based on the thought of metadata, using metadata as the standard entirely configured, by visualizing boundary Face specification user configuration element, can configure object logics, check logic and data flow diagram logic.Due to content metadata It is easier to understand, the difficulty of application development can be reduced, reduce the software decoding process with identity logic.
In one implementation, user by client input metadata information, metadata information include table name, Table description, literary name name section, literary name section attribute and literary name segment description.After server receives the information of metadata, according to described The corresponding metadata of the information creating of metadata.Thus, it is possible to be operated based on metadata created to database.
In another implementation, user directly inputs metadata created by client, and metadata includes table Title, table description, literary name name section, literary name section attribute and literary name segment description.After server receives metadata, based on acquisition Metadata operates database.
Step S420, configuration file is obtained.
In the present embodiment, after server determines logical type, configuration file is obtained, according to the configuration file to phase The logic answered is configured.
Specifically, the embodiment of the present invention can provide the configuration feature of a variety of logics, can be to object logics, check logic Configuration is carried out with data flow diagram logic etc. and provides concrete configuration method with patterned way.Fig. 5 is matching for the embodiment of the present invention Set the comparative diagram of function items and function description.As shown in figure 5, the function items that can be provided include that data import, object is shown, new Increase object relationship, newly-increased object handles logic, newly-increased object composition logic, Added Business check logic, newly-increased basis verification Logic, newly-increased custom function, upload software packet, newly-increased process, unit testing and automatic test etc..
Specifically, data import: providing data and import template, metadata can be imported data maintenance function by the function It can design tool.
Object is shown: showing the table (object) of " data importing " and the content of field (attribute).
Newly-increased object relationship: the relationship between object can be configured.
Newly-increased object handles logic: increase, deletion, modification and the query logic to object can be configured.
Newly-increased object composition logic: increase, deletion, modification and the query logic of multiple object compositions can be configured.
Added Business check logic: the check logic based on contents of object can be configured.
Newly-increased basis check logic: to configure the range to data, the check logics such as type.
Newly-increased custom function: can be with configuration codes function.
Upload software packet: it supports software package to upload, the heat deployment of software package can be completed.
Newly-increased process: simple function logic process can be configured.
Unit testing: can configure and the logic of test configurations.
Automatic test: can configure and the logic of automatic test configuration.
It should be understood that above-mentioned object is the definition content corresponding to metadata about table.Object logics are corresponding to metadata Table content increase, deletion, modification, query logic.
In the present embodiment, the data progress data increasing of object logics being configured to single table or multilist in database The safeguard services such as add, delete, modify and inquire.Specifically, the configuration method of various safeguard services is as follows:
Data increase: configure the input field of service, the field that field includes from the single table or multilist of selection, often A input field can configure the contents such as its field attribute, initialization value, data format and check information.
Data are deleted: configuring the input field of service, the word that field includes from the single table or multilist of services selection Section, input field can be combined with Tree structure, the root node of tree is AND (with) and OR (or), child node is specifically to input Field, child node is associated using the operator of father node is combined into deletion conditional logic, at the beginning of each field can configure it Beginning value.
Data modification: two class input fields of service: the first input field are configured, as condition field, with Tree structure Be combined, the root node of tree is AND and OR, and child node is specific input field, child node using father node operator into For row associative combination at the conditional logic of update, each field can configure its initialization value.Second input field: as update word Section, each field can configure its field attribute, initialization value, data format, sequence number rule and check information content.
Data query: the three classes input field and a kind of output field of service: the first input field are configured, as service Condition field is combined with Tree structure, and the root node of tree is AND and OR, and child node is specific input field, and child node makes It is associated with the operator of father node, each field can configure its initialization value.Second input field configures the row of service Sequence field, can be using configuration field attribute as positive sequence or inverted order.Third input field configures the grouping field of service, configuration clothes The grouping field of business.First output field, can configure output field type, and each field can be with its field attribute, data lattice Formula and polymerization methods.
In the present embodiment, check logic be configured to verification under given conditions data whether there is and specified conditions under Whether data are unique, can also configure the verification based on data itself, such as: data value field compares, the schools such as data type judgement It tests.
In the present embodiment, data flow diagram logic be configured to by interface driving style complete by configuration service be dragged to behaviour Make platform as a node.Server provides the auxiliary configuration node such as circulation, judgement, merging also to facilitate control data to turn round Turn.Affairs and error node, for controlling the event handling of whole flow process.Variable node is used for initializing variable, can pass through Each node is formed a process by line, the torsion for configuration data stream.
Step S430, the configuration file is parsed to obtain configuration information.
Step S440, corresponding logic is executed according to the configuration information to be configured to create corresponding application program, The application program is for operating database.
In the present embodiment, the format of the configuration file of Different Logic type is different, correspondingly, executes the side of counterlogic Method is also different.
It in the present embodiment, is object logics in response to the logical type, the configuration information includes type function, number According to library type of interaction, function Chinese name, Function Identification, from object, conditional attribute content, result property content, grouping letter Breath, sequencing information and verifying logic.The format of corresponding configuration file is as shown in Figure 6.Fig. 6 is that the object of the embodiment of the present invention is patrolled The format chart for the configuration file collected.As shown in fig. 6, the format of configuration file is as follows:
Type (type), type function.
Func (function), database type of interaction, comprising: query (inquiry)/add (increase)/delete (deletion)/ Update (modification).
Label (label), function Chinese name.
Name (title), Function Identification, as unique identification.
From (comes from), from object (table).
QueryCriteria (query criteria), conditional attribute content are stored with tree structure.
OperateField (opereating specification), as a result property content.
QueryGroup (inquiry group), grouping information.
QueryOrder (querying command), sequencing information.
(there is inquiry) in existsIsOk, verifying logic.
Accordingly, Fig. 7 is the flow chart of the execution object logics of the embodiment of the present invention.As shown in fig. 7, being patrolled in response to described Collecting type is object logics, executes corresponding logic according to the configuration information and is configured to create corresponding application package Include following steps:
Step S710, executable structured query language is generated according to the configuration information.
In the present embodiment, server parsing configuration file obtains configuration information, can be held according to configuration information generation Capable structured query language, the executable structured query language are used for increase, delete, repair to object data At least one of change and inquire.Specifically, server parses configuration file, obtains the content of each configuration field, according to matching The combinations of attributes for setting field executes structured query language at specific.Structured query language (Structured Query Language, SQL) be a kind of specific purposes programming language, be a kind of data base querying and programming language, for accessing Data and relational database system is queried, updated, and managed, while being also the extension name of database script file.Structuring is looked into Asking language is advanced deproceduring programming language, and user is allowed to work in high level data structure.It does not require user specified It to the deposit method of data, does not need user yet and understands specific data location mode, so having entirely different fabric Disparate databases system, can be used identical structured query language as data input with manage interface.Structuring Query language statement can be nested, this makes it have the function of great flexibility and powerful.
Step S720, object logics configuration is carried out according to the executable structured query language.
In the present embodiment, specific SQL is put into database and executes by server, and acquirement returns the result, and feeds back To client.
It in the present embodiment, is check logic in response to the logical type, the configuration information includes function name, function Energy Chinese name, judges operator, the value of judgement and error message at verification type.The verification type includes that threshold value is verified, effectively Verifying, mailbox verifying, authentication, integer verifying, non-empty verifying, cell-phone number verifying, length verifying, exists and tests attribute verifying At least one of card and unique authentication.The format of corresponding configuration file is as shown in Figure 8.Fig. 8 is the school of the embodiment of the present invention Test the format chart of the configuration file of logic.As shown in figure 8, the format of configuration file is as follows:
Name (title), function name, as unique identification.
Lable (label), function Chinese name.
Func (function) verifies type, specifically includes base_threshold (basis-threshold value verifying), base_valid (basis-effectively verifying), base_property (basis-attribute verifying), base_email (basis-mailbox verifying), base_ Idcard (basis-authentication), base_intnumber (basis-integer verifying), base_notnull (test by basis-non-empty Card), base_phone (basis-cell-phone number verifying), base_length (basis-length verifying), biz_exists (deposit by business- Verifying), biz_unique (business-unique authentication).
Operation (operation), judges operator.
ThresholdValue (boundary value), the value of judgement.
ErrorMsg (error message), error message.
Accordingly, Fig. 9 is the flow chart of the execution check logic of the embodiment of the present invention.As shown in figure 9, being patrolled in response to described Collecting type is check logic, executes corresponding logic according to the configuration information and is configured to create corresponding application package Include following steps:
Step S910, corresponding check logic is called according to the verification type.
In the present embodiment, server parses configuration file to obtain verification type, according to verification type calling pair The check logic answered.Specifically, server parsing configuration file obtains the content of each configuration field, according to configuration func field Call specific check logic.
Step S920, it executes the check logic and obtains check results.
In the present embodiment, server executes the check logic and obtains check results.Specifically, according to check results Feedback judges whether to return to errorMsg message.
It in the present embodiment, is data flow diagram logic in response to the logical type, the configuration information includes function mark The newly-increased data of knowledge, function Chinese name, node type, the name of calling logic, record, the match parameter of node calling logic With the alignment table come out from node.The format of corresponding configuration file is as shown in Figure 10-Figure 12.Figure 10 is the embodiment of the present invention The format chart of the configurations of the configuration file of data flow diagram logic.Figure 11 is matching for the data flow diagram logic of the embodiment of the present invention Set the format chart of the node configuration of file.Figure 12 is the line configuration of the configuration file of the data flow diagram logic of the embodiment of the present invention Format chart.
As shown in Figure 10, the configurations format of configuration file is as follows:
Title (title), title.
Name (title), function name, as unique identification.
Label (label), function Chinese name.
Nodes (node), the node listing for including.
As shown in figure 11, the node configuration format of configuration file is as follows:
Name (title), Function Identification, as unique identification.
Label (label), function Chinese name.
Type (type), node type.It specifically includes start (beginning): start node, end (end): end node, Params (parameter): Parameter nodes, data (data): data processing node, json (character string): the service logic section of configuration Point, function (function): the coding function node of configuration, if (if): decision logic node, validate (verifying): school Logical node is tested, error (mistake): Throw Exception node, tx (affairs): transaction nodes, flow (flowing): call flow section Point, for (give): cyclic node, merge (merging): merge node.
Ref (reference), the name of calling logic.
Params (parameter), records newly-increased data.
InputMatchs (input matching), the match parameter of this node calling logic.
Lines (line), the alignment table come out from this node.
As shown in figure 12, the line configuration format of configuration file is as follows:
Name (title), Function Identification, as unique identification.
Label (label), function Chinese name.
ToNode (next node), record line segment are directed toward the title of next node.
IfNodes (judges node), Rule of judgment, tree structure decision logic.
Accordingly, Figure 13 is the flow chart of the execution data flow diagram logic of the embodiment of the present invention.As shown in figure 13, in response to The logical type is data flow diagram logic, is configured according to the corresponding logic of configuration information execution corresponding to create Application program includes following steps:
Step S1310, start node is obtained.
In the present embodiment, server parses configuration file, obtains the content of each configuration field, and execution starts, and obtains Start node.
In the present embodiment, node type includes start node, terminal node, data processing node and data stream nodes.
Further, start node and terminal node are respectively used to define outputting and inputting for workflow.
Further, data processing node, for handling data, so that outputting and inputting data all and being the number that system defines According to.Specifically, data processing includes newdata, data processing, coding calling, affairs, abnormality processing, data judgement, circulation Traversal etc..
Newdata: various data types including customization type and base data type are created.
Data processing: relatively broad configuration logic calling function is supported.
Coding calls: supporting to call the codimg logic of User Exploitation.
Affairs, abnormality processing: process affairs and abnormal end logic are supported.
Data judgement: data select the branch executed according to the Rule of judgment of node.
Loop through: description loops through logic.
Further, data stream nodes are mainly conditional branching, and data judge the circulation direction of node, and data flow can basis Condition selects branch.
Step S1320, next node is obtained.
In the present embodiment, server obtains the next node of present node, and obtains its configuration information.
Step S1330, judge whether node is terminal node.
In the present embodiment, whether the node that server judgment step S1320 is obtained is terminal node.
Step S1340, parameter matches.
It in the present embodiment, be node in response to the judging result of step S1330 is not terminal node, server is according to matching The logic that ref is directed toward in confidence breath, the parameter which needs is matched with existing parameter.
Step S1350, node executes.
In the present embodiment, server executes specific logic according to the configuration information of node, the logic for calling ref to be directed toward.
After the completion of execution, return step 1320 selects the next node of present node.
Step S1360, terminate.
In the present embodiment, it is terminal node for node in response to the judging result of step S1330, terminates to execute logic.
The embodiment of the present invention is carried out by obtaining and parsing configuration file to obtain configuration information according to the configuration information The configuration of object logics, check logic and data flow diagram logic is to create corresponding application program.Thus, it is possible to by comparing letter The major part of single operation development and application program, shortens the development process of application program, reduces the exploitation of duplicated code, can Quickly development and application program.
Figure 14 is the schematic diagram of the electronic equipment of the embodiment of the present invention.Electronic equipment shown in Figure 14 is automatic question answering dress It sets comprising general computer hardware structure includes at least processor 141 and memory 142.Processor 141 and storage Device 142 passes through bus.Connection.Memory 142 is suitable for the instruction or program that storage processor 141 can be performed.Processor 141 can be with It is independent microprocessor, is also possible to one or more microprocessor set.Processor 141 is by executing storage as a result, The instruction that device 142 is stored realizes the processing for data thereby executing the method flow of embodiment present invention as described above With the control for other devices.Bus 143 links together above-mentioned multiple components, while said modules are connected to display Controller 144 and display device and input/output (I/O) device 145.Input/output (I/O) device 145 can be mouse, Keyboard, modem, network interface, touch-control input device, body-sensing input unit, printer and it is well known in the art other Device.Typically, input/output device 145 is connected by input/output (I/O) controller 146 with system.
As skilled in the art will be aware of, the various aspects of the embodiment of the present invention may be implemented as system, side Method or computer program product.Therefore, the various aspects of the embodiment of the present invention can take following form: complete hardware embodiment party Formula, complete software embodiment (including firmware, resident software, microcode etc.) can usually be referred to as " electricity herein The embodiment that software aspects are combined with hardware aspect on road ", " module " or " system ".In addition, the embodiment of the present invention Various aspects can take following form: the computer program product realized in one or more computer-readable medium, meter Calculation machine readable medium has the computer readable program code realized on it.
It can use any combination of one or more computer-readable mediums.Computer-readable medium can be computer Readable signal medium or computer readable storage medium.Computer readable storage medium can be such as (but not limited to) electronics, Magnetic, optical, electromagnetism, infrared or semiconductor system, device or any suitable combination above-mentioned.Meter The more specific example (exhaustive to enumerate) of calculation machine readable storage medium storing program for executing will include the following terms: with one or more electric wire Electrical connection, hard disk, random access memory (RAM), read-only memory (ROM), erasable is compiled portable computer diskette Journey read-only memory (EPROM or flash memory), optical fiber, portable optic disk read-only storage (CD-ROM), light storage device, Magnetic memory apparatus or any suitable combination above-mentioned.In the context of the embodiment of the present invention, computer readable storage medium It can be that can include or store the program used by instruction execution system, device or combine instruction execution system, set Any tangible medium for the program that standby or device uses.
Computer-readable signal media may include the data-signal propagated, and the data-signal of the propagation has wherein The computer readable program code realized such as a part in a base band or as carrier wave.The signal of such propagation can use Any form in diversified forms, including but not limited to: electromagnetism, optical or its any combination appropriate.It is computer-readable Signal media can be following any computer-readable medium;It is not computer readable storage medium, and can be to by instructing Program that is that execution system, device use or combining instruction execution system, device to use is communicated, is propagated Or transmission.
Including but not limited to wireless, wired, fiber optic cables, RF etc. or above-mentioned any appropriately combined any can be used Suitable medium transmits the program code realized on a computer-readable medium.
Computer program code for executing the operation for being directed to various aspects of the embodiment of the present invention can be with one or more Any combination of programming language is write, and the programming language includes: programming language such as Java, Small of object-oriented Talk, C++ etc.;And conventional process programming language such as " C " programming language or similar programming language.Program code can be used as Independent software package fully on the user computer, partly executes on the user computer: partly on the user computer And it partly executes on the remote computer;Or it fully executes on a remote computer or server.In latter situation Under, remote computer can be passed through into any type of network connection including local area network (LAN) or wide area network (WAN) to user Computer, or (such as internet by using ISP) can be attached with outer computer.
It is above-mentioned according to the method for the embodiment of the present invention, the flow chart legend of equipment (system) and computer program product and/ Or block diagram describes the various aspects of the embodiment of the present invention.It will be appreciated that each of flow chart legend and/or block diagram piece with And the combination of the block in flow chart legend and/or block diagram can be realized by computer program instructions.These computer programs refer to The processor that can be provided to general purpose computer, special purpose computer or other programmable data processing devices is enabled, to generate machine Device, so that (executing via computer or the processor of other programmable data processing devices) instruction creates for realizing process The device for the function action specified in figure and/or block diagram or block.
These computer program instructions can also be stored in can instruct computer, other programmable data processing devices Or in the computer-readable medium that runs in a specific way of other devices, so that the instruction stored in computer-readable medium produces Raw includes the product for realizing the instruction for the function action specified in flowchart and or block diagram block or block.
Computer program instructions can also be loaded on computer, other programmable data processing devices or other devices On, so as to executed on computer, other programmable devices or other devices it is a series of can operating procedure come generate computer reality Existing process, so that the instruction executed on computer or other programmable devices is provided for realizing in flow chart and/or frame The process for the function action specified in segment or block.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method for automatically creating application program, which is characterized in that the described method includes:
Determine that logical type, the logical type include object logics, check logic and data flow diagram logic;
Obtain configuration file;
The configuration file is parsed to obtain configuration information;And
It executes corresponding logic according to the configuration information to be configured to create corresponding application program, the application program is used It is operated in database.
2. the method according to claim 1, wherein in response to the logical type be object logics, it is described to match Confidence breath include type function, database type of interaction, function Chinese name, Function Identification, from object, in conditional attribute Appearance, result property content, grouping information, sequencing information and verifying logic.
3. according to the method described in claim 2, it is characterized in that, including: according to the corresponding logic of configuration information execution
Executable structured query language is generated according to the configuration information, the executable structured query language is used for Object data at least one of increase, delete, modify and inquire;And
Object logics configuration is carried out according to the executable structured query language.
4. the method according to claim 1, wherein in response to the logical type be check logic, it is described to match Confidence breath includes function name, function Chinese name, verification type, judges operator, the value of judgement and error message.
5. according to the method described in claim 4, it is characterized in that, including: according to the corresponding logic of configuration information execution
Corresponding check logic is called according to the verification type;And
It executes the check logic and obtains check results.
6. according to the method described in claim 4, it is characterized in that, the verification type includes threshold value verifying, effectively verifying, category Property verifying, mailbox verifying, authentication, integer verifying, non-empty verifying, cell-phone number verifying, length verifying, there is verifying and unique At least one of verifying.
7. the method according to claim 1, wherein being data flow diagram logic, institute in response to the logical type Configuration information is stated to include Function Identification, function Chinese name, node type, the name of calling logic, record newly-increased data, section The match parameter of point calling logic and the alignment table come out from node.
8. the method according to the description of claim 7 is characterized in that the node type include start node, terminal node and Data processing node.
9. according to the method described in claim 8, it is characterized in that, including: according to the corresponding logic of configuration information execution
Obtain the node type of present node;And
Node type in response to the present node is not terminal node, is executed according to the configuration information of present node corresponding Data flow diagram logic.
10. a kind of computer readable storage medium, stores computer program instructions thereon, which is characterized in that the computer journey Method as claimed in any one of claims 1-9 wherein is realized in sequence instruction when being executed by processor.
CN201910651993.1A 2019-07-18 2019-07-18 Automatically create the method and storage medium of application program Pending CN110377275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910651993.1A CN110377275A (en) 2019-07-18 2019-07-18 Automatically create the method and storage medium of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910651993.1A CN110377275A (en) 2019-07-18 2019-07-18 Automatically create the method and storage medium of application program

Publications (1)

Publication Number Publication Date
CN110377275A true CN110377275A (en) 2019-10-25

Family

ID=68254008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910651993.1A Pending CN110377275A (en) 2019-07-18 2019-07-18 Automatically create the method and storage medium of application program

Country Status (1)

Country Link
CN (1) CN110377275A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148353A (en) * 2020-09-22 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device
CN112287093A (en) * 2020-12-02 2021-01-29 上海交通大学 Automatic question-answering system based on semi-supervised learning and Text-to-SQL model
CN112486952A (en) * 2020-11-30 2021-03-12 珠海格力电器股份有限公司 Flow creation method, system, storage medium and electronic device
CN113268469A (en) * 2021-06-11 2021-08-17 福建天晴数码有限公司 Method and system for automatically creating actors
CN113760250A (en) * 2021-09-10 2021-12-07 福建天晴数码有限公司 Method and system for realizing automatic construction of role interaction logic
CN115016693A (en) * 2021-06-30 2022-09-06 北京字跳网络技术有限公司 Method, device and equipment for constructing application and computer readable storage medium
CN115906802A (en) * 2023-02-09 2023-04-04 成都数联云算科技有限公司 Method, device, equipment and medium for analyzing conditional logic data
CN116846752A (en) * 2023-07-28 2023-10-03 钛信(上海)信息科技有限公司 Multi-cloud resource management method and system based on business scene

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775617A (en) * 2016-11-09 2017-05-31 深圳市中润四方信息技术有限公司 The service logic collocation method and configuration system of a kind of application software
CN107273116A (en) * 2017-05-22 2017-10-20 互联天下科技发展(深圳)有限公司 The method that code is produced using the Code Generator based on framework
CN109885311A (en) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 A kind of generation method and equipment of application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775617A (en) * 2016-11-09 2017-05-31 深圳市中润四方信息技术有限公司 The service logic collocation method and configuration system of a kind of application software
CN107273116A (en) * 2017-05-22 2017-10-20 互联天下科技发展(深圳)有限公司 The method that code is produced using the Code Generator based on framework
CN109885311A (en) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 A kind of generation method and equipment of application program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148353A (en) * 2020-09-22 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device
CN112148353B (en) * 2020-09-22 2024-05-17 京东科技控股股份有限公司 Data processing method and device
CN112486952A (en) * 2020-11-30 2021-03-12 珠海格力电器股份有限公司 Flow creation method, system, storage medium and electronic device
CN112287093A (en) * 2020-12-02 2021-01-29 上海交通大学 Automatic question-answering system based on semi-supervised learning and Text-to-SQL model
CN113268469A (en) * 2021-06-11 2021-08-17 福建天晴数码有限公司 Method and system for automatically creating actors
CN115016693A (en) * 2021-06-30 2022-09-06 北京字跳网络技术有限公司 Method, device and equipment for constructing application and computer readable storage medium
CN115016693B (en) * 2021-06-30 2024-06-11 北京字跳网络技术有限公司 Method, apparatus, device and computer readable storage medium for constructing application
CN113760250A (en) * 2021-09-10 2021-12-07 福建天晴数码有限公司 Method and system for realizing automatic construction of role interaction logic
CN113760250B (en) * 2021-09-10 2023-12-22 福建天晴数码有限公司 Method and system for realizing automatic construction of role interaction logic
CN115906802A (en) * 2023-02-09 2023-04-04 成都数联云算科技有限公司 Method, device, equipment and medium for analyzing conditional logic data
CN116846752A (en) * 2023-07-28 2023-10-03 钛信(上海)信息科技有限公司 Multi-cloud resource management method and system based on business scene

Similar Documents

Publication Publication Date Title
CN110377275A (en) Automatically create the method and storage medium of application program
CN105849691B (en) The method and apparatus generated for code virtualization and remote process call
US11561772B2 (en) Low-code development platform
CN106933889B (en) Configuration method, display method and client for screened rules
US11249734B2 (en) Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application
US11593074B2 (en) System, method, and apparatus for data-centric networked application development services
CN109189379A (en) code generating method and device
EP3807787A1 (en) Regular expression generation based on positive and negative pattern matching examples
CN107015804B (en) Method and system for rapidly developing project by configuring API
AU2016322817B2 (en) Application provisioning system for requesting configuration updates for application objects across data centers
CN104572068B (en) For keeping the method and system of product behavioral data via catalogue
CN109992496A (en) A kind of data processing method and device for automatic test
CN109002390A (en) A kind of test case dynamic state of parameters configuration method and device
CN104268163B (en) A kind of realization method and system of webmaster network element configuration interface
CN109902251A (en) Scheme Choice method, apparatus, terminal and readable storage medium storing program for executing based on decision tree
CN109002289A (en) A kind of method and apparatus constructing data model
CN110109893A (en) The method and apparatus of data modeling and operation
US9116708B2 (en) Program creation support apparatus, program, and information system
JP2022538704A (en) Regular expression generation with span highlight alignment
JP2018092344A (en) Data processing apparatus, data processing method, and data processing program
CN109656453A (en) Rule editing method, apparatus and equipment
WO2023169193A1 (en) Method and device for generating smart contract
CN107423615A (en) A kind of method for generating cipher code and user terminal
CN110909390A (en) Task auditing method and device, electronic equipment and storage medium
JP6156055B2 (en) Screen generation device, authentication system, and program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191025

RJ01 Rejection of invention patent application after publication