CN110750909B - Modeling method, device, equipment and medium based on model construction platform - Google Patents
Modeling method, device, equipment and medium based on model construction platform Download PDFInfo
- Publication number
- CN110750909B CN110750909B CN201911023342.4A CN201911023342A CN110750909B CN 110750909 B CN110750909 B CN 110750909B CN 201911023342 A CN201911023342 A CN 201911023342A CN 110750909 B CN110750909 B CN 110750909B
- Authority
- CN
- China
- Prior art keywords
- panel
- modeling
- modeling framework
- programming language
- circulation
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a modeling method, a modeling device, modeling equipment and modeling media based on a model construction platform. Wherein the method comprises the following steps: in response to the panel selection instruction, displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel; determining a programming language of each panel in the modeling framework, and encoding each panel according to the programming language; and responding to an execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format. According to the embodiment of the invention, the model framework capable of meeting the complex service requirements is constructed by selecting the panels, the programming language in the panels is determined, and the coding of each panel is executed, so that the construction of the model with the judging and circulating structures is realized, the nesting of various structures is supported, and the utilization rate of the model construction platform is improved.
Description
Technical Field
The embodiment of the invention relates to a computer technology, in particular to a modeling method, a modeling device, modeling equipment and a modeling medium based on a model construction platform.
Background
With the development of computer technology, the complexity requirement on the model is gradually increased, the simple sequential structure cannot meet the demands of people, and more enterprises are urgent to construct a proper model according to the self business demands.
The model construction platform in the prior art can connect the modules selected by the user in series and execute the modules from top to bottom, or a modeling expert is required to write codes and debug the modules by himself so as to realize the running of the complex model and the record arrangement of the result.
However, the model building platform in the prior art can only sequentially execute modules, does not support nesting of various structural flows, and has single supported operation language, so that complex service requirements cannot be met, a great deal of manpower and time are required for expert self-encoding, and modeling efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a modeling method, a modeling device, modeling equipment and modeling media based on a model construction platform, which realize the effect of running a complete complex model by mutually nesting panels with different structures.
In a first aspect, an embodiment of the present invention provides a modeling method based on a model building platform, where the method includes:
in response to the panel selection instruction, displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
determining a programming language of each panel in the modeling framework, and encoding each panel according to the programming language;
and responding to an execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format.
Optionally, the determining the programming language of each panel in the modeling framework includes:
determining a programming language for each panel in the modeling framework in response to programming language selection instructions for the panels; wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
Optionally, the programming language includes at least one of: python, java, scala and c++.
Optionally, the executing the encoding of each panel in the modeling framework in response to the executing instruction of the modeling framework includes:
determining a circulation starting position, a circulation ending position and circulation times according to circulation configuration parameters of a circulation structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a circulation execution range according to a circulation starting position and a circulation ending position of a circulation structure panel in the modeling framework, and continuously executing codes of other panels in the modeling framework after the circulation number is reached in the circulation execution range.
Optionally, the loop configuration parameters are determined in response to a parameter selection operation.
Optionally, the executing the encoding of each panel in the modeling framework in response to the execution instruction of the modeling framework further includes:
determining judgment conditions according to the judgment configuration parameters of the judgment structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a judging branch according to judging conditions of judging structural panels in the modeling framework, and executing coding of the panels in the judging branch.
Optionally, the judging configuration parameter is determined in response to a parameter selection operation.
In a second aspect, an embodiment of the present invention further provides a modeling apparatus based on a model building platform, where the apparatus includes:
the panel selection instruction response module is used for displaying the selected panel in the modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
the programming language determining module is used for determining the programming language of each panel in the modeling framework and encoding each panel according to the programming language;
and the execution instruction response module is used for responding to the execution instruction of the modeling framework, executing the coding of each panel in the modeling framework and storing the coding execution result of each panel according to a target format.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the program to implement a modeling method based on a model building platform according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform a model building platform based modeling method according to any embodiment of the present invention.
According to the embodiment of the invention, the panels with different structures are mutually nested by selecting the panels, the required language is selected for the panels, the panels with different structures are mutually related in the operation process, the problem that operators of the traditional graphical machine learning modeling platform are parallel and have no nested relation is solved, the effect of operating a complex model is realized, the labor and time are saved, the modeling efficiency is improved, and the business requirements of users are met.
Drawings
FIG. 1 is a schematic flow chart of a modeling method based on a model building platform according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a modeling interface in accordance with a first embodiment of the present invention;
FIG. 3 is a schematic flow chart of a modeling method based on a model building platform in a second embodiment of the invention;
FIG. 4 is a block diagram of a modeling apparatus based on a model building platform according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device in a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a schematic flow chart of a modeling method based on a model building platform according to an embodiment of the present invention, where the embodiment is applicable to a case of building a complex structure model, and the method may be performed by a modeling apparatus based on the model building platform. As shown in fig. 1, the method specifically includes the following steps:
s110, responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel.
The user sends out a panel selection instruction, selects a required panel from the candidate panels, and enables the selected panel to be displayed in the modeling interface. The panel selection instruction may be that the user drags the selected panel to the modeling interface, or the user clicks the candidate panel to select. Either panel is a single flow module. Candidate panels may include sequential structural panels, judgment structural panels, and cyclic structural panels. The panels on the modeling interface are arranged in sequence according to the requirements of the user. For example, the user needs to construct a model containing a judging process, and after the judging process is finished, the module needing a sequential process continues to run, so that the user can drag the judging structure panel to the modeling interface first, and then drag the sequential structure panel to the lower part of the judging structure panel. Fig. 2 is a schematic diagram of a modeling interface according to an embodiment of the invention. As shown in FIG. 2, the left side of the interface is a candidate panel region, the right side of the interface is a modeling interface region, and the modeling interface region can be used for placing panels in any candidate panel to form a modeling framework.
Specifically, the judging structure panel can be divided into an if judging panel and a switch judging panel, so as to meet the needs of users for different judging sentences.
S120, determining programming languages of each panel in the modeling framework, and encoding each panel according to the programming languages.
Wherein, after the modeling framework is constructed by the user, the programming language of each panel in the modeling framework can be determined, and each panel can be encoded.
Optionally, the programming language includes at least one of: python, java, scala and c++.
Specifically, the model building platform may preset a default language, for example, python is used as the default language of the model building platform, so that when the user encodes the panel, the step of selecting the language may be omitted, and the Python is directly used for encoding the panel.
The model construction platform stores the coding frame of the affiliated structure in each panel in advance, for example, a user determines that the programming language is Python, when the user uses an if judgment panel, a background server calls an if judgment statement of Python into the if judgment panel, and the user only needs to fill in parameters such as panel input parameters, panel output parameters, judgment conditions and the like, so that the coding work of the judgment structure panel can be completed; if the user codes the sequential structure panel, the configuration of the panel input parameters, the panel output parameters, the related variables and other parameters can be filled in; if the user codes the panel of the circulation structure, parameters such as panel input parameters, panel output parameters, circulation times and the like can be filled in, so that the workload of the user is effectively reduced, and the coding efficiency is improved.
S130, responding to an execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format.
After the user configures parameters for the modeling framework, the user can click on an operation control on the interface to send out an execution instruction. The background server calls an execution engine in the coding language in the modeling framework, the execution engine analyzes codes in the panels, the panels in the modeling framework operate the codes in the panels according to the sequence preset by a user, each panel converts output data into a target format and stores the target format in a background database, the target format can be used as input data of the next panel, and finally an operation result of the whole flow is obtained. The target format can be binary format, decimal format and the like, and the unified target format is adopted, so that data interaction among the panels is facilitated, and viewing of a user is facilitated.
Before determining to execute the modeling framework, a user can preset a circulation configuration parameter for the circulation structure panel, so that the circulation structure panel circulates the flow according to the user requirement. The circulation configuration parameters are determined in response to parameter selection operation of a user, the user can click a parameter selection control on the modeling interface to send out instructions of the parameter selection operation, and the circulation starting position, the circulation ending position and the circulation times of the circulation flow can be configured through the parameter selection operation, so that the execution range of the circulation flow is determined.
Optionally, determining a circulation start position, a circulation end position and a circulation number according to circulation configuration parameters of the circulation structure panel in the modeling framework; and responding to the execution instruction of the modeling framework, determining a cycle execution range according to the cycle starting position and the cycle ending position of the cycle structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the cycle times are reached in the cycle execution range.
Specifically, the user can determine the cycle start position, cycle end position, and cycle number of the cycle structure panel, and determine the cycle execution range. For example, the modeling framework is composed of a flow of a first sequential structure panel, a cyclic structure panel and a second sequential structure panel, the user takes the starting position of the whole modeling framework as the starting position of the cyclic flow, takes the ending position of the whole modeling framework as the ending position of the cyclic flow, that is, the starting position of the first sequential structure panel is the starting position of the cyclic flow, the ending position of the second sequential structure panel is the ending position of the cyclic flow, and the number of cycles is 3. The background server responds to the execution instruction of the modeling framework, starts to run downwards from the initial position of the first sequence structural panel, and does not carry out circulation to continue to run the second sequence structural panel when running to the circulation structural panel. And after the operation of the second sequential structure panel is finished, circulating, returning to the initial position of the first sequential structure panel, and starting the operation of the second round until the third circulation is finished.
Specifically, if the user uses the starting position of the circulation structure panel as the starting position of the circulation flow and uses the ending position of the circulation structure panel as the ending position of the circulation flow, when the whole modeling framework is operated, the program starts to be operated from the first sequence structure panel, when the modeling framework is operated to the circulation structure panel, the second sequence structure panel is not operated continuously, the circulation structure panel is operated continuously until the circulation times are met, and then the coding of the second sequence structure panel is operated continuously downwards. The setting of the starting position and the ending position of the circulation flow is beneficial to meeting the requirement of the user on complex business, and the user experience is improved.
The user can configure the circulation parameters for the circulation structure panel, and can also configure the parameters for the judgment structure panel.
Optionally, determining a judgment condition according to the judgment configuration parameters of the judgment structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a judging branch according to judging conditions of judging the structural panel in the modeling framework, and executing coding of the panel in the judging branch.
Specifically, the judging configuration parameters are determined in response to the parameter selection operation, the user determines the judging configuration parameters through the parameter selection operation, further, the judging conditions of the judging structural panel are determined, the background server responds to the modeling framework execution instruction of the user, determines the judging branches according to the judging conditions of the judging structural panel in the modeling framework, executes the codes of the panels in the judging branches, and further continues to execute other panels in the modeling framework. When different services are completed, the user can flexibly configure parameters, the service requirements of the user are met, manpower and time are saved, and modeling efficiency is improved.
In the technical scheme of the embodiment, a user constructs a complete modeling frame by selecting a required panel, and the panel is not limited to a sequential structure, and also comprises a judging structure and a circulating structure, so that the construction of a complex flow is realized. And the programming language can be selected by the user for the panel, so that the coding of the user is convenient, and the coding efficiency is improved. After each panel executes the program, the output result is stored in a unified target format, so that the data interaction between the panels can be performed, the user can conveniently check the data, the manpower and the time are saved, and the service requirement of the user is met.
Example two
Fig. 3 is a schematic flow chart of a modeling method based on a model building platform according to a second embodiment of the present invention, where the method is further optimized based on the above embodiment, and the method may be performed by a modeling apparatus based on the model building platform. As shown in fig. 3, the method specifically includes the following steps:
s310, responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel.
S320, responding to programming language selection instructions of the panels, determining programming languages of each panel in the modeling framework, and encoding each panel according to the programming languages; wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
The background server may set a default programming language for the modeling framework in advance, where the default programming language may be Python, and if the user does not issue a programming language selection instruction, each panel in the modeling framework uses the default programming language to perform encoding. If the user is not good at the default programming language, a programming language selection instruction can be sent out, the background server responds to the programming language selection instruction and displays candidate programming languages for the user, wherein the candidate programming languages can comprise Java, scala, C language, C++, and the like, and the user can select the good programming language to encode the panel.
Specifically, the programming language selection instructions issued by the user may include panel language selection instructions and modeling framework language selection instructions. If a user sends a modeling frame language selection instruction, selecting a language for the whole modeling frame, wherein the panels in the modeling frame are encoded by adopting the selected language; if the user sends out a panel language selection instruction, the user can select at least one language to code the panel, the languages of the panels can be different, and the languages in each panel cannot be more than one. For example, a user builds a modeling framework that includes a first sequential structure panel encoded using Java, a decision structure panel encoded using Python, and a second sequential structure panel encoded using c++. The languages of the panels are different, so that the user can work in different modes, and the modeling efficiency is improved.
S330, responding to an execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format.
The user sends out an execution instruction of the modeling framework, and the background server starts to run codes of all panels in the modeling framework. If the languages among the panels are not communicated, the panels with different languages need to call the execution engine to analyze the codes in the panels. For example, there are three panels in the modeling framework, a first sequential structural panel, a judgment structural panel, and a second sequential structural panel, respectively. The first sequence structure panel adopts Java to encode, the judging structure panel adopts Python to encode, and the second sequence structure panel adopts C++ to encode. When the modeling framework starts to run, the background server sends a calling instruction to the execution engine, searches the execution engine matched with the current panel language, and firstly calls the execution engine of Java sentences to analyze codes in the first sequence structure panel so as to obtain a running result; when running to the judging structure panel, an execution engine of the Python statement can be called to analyze the Python code; when running to the second order structure panel, the execution engine of the C++ statement may be invoked, parsing the code of C++.
The output data of each panel can be used as the input data of the next panel. In order to avoid non-uniform data formats among the panels, after the panels execute own codes, the output results are converted into target formats and stored in a database. The data interaction between the panels is realized by the arrangement, and the user can check conveniently.
According to the embodiment of the invention, the required panels are selected, a complex modeling framework is constructed, different programming languages are selected for each panel of the modeling framework, and the output result of each panel is converted into a target format. The method and the device not only realize the division cooperation of the users among different panels and improve the modeling efficiency, but also enable the data among the panels to be interacted, and simultaneously facilitate the users to check, thereby effectively saving manpower and time.
Example III
Fig. 4 is a block diagram of a modeling apparatus based on a model building platform according to a third embodiment of the present invention, where the modeling method based on a model building platform according to any embodiment of the present invention may be executed, and the modeling apparatus includes functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus specifically includes:
a panel selection instruction response module 401 for displaying the selected panel in the modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
a programming language determining module 402, configured to determine a programming language of each panel in the modeling framework, and encode each panel according to the programming language;
and the execution instruction response module 403 is configured to respond to an execution instruction of the modeling framework, execute coding of each panel in the modeling framework, and save a coding execution result of each panel according to a target format.
Optionally, the programming language determining module 402 is specifically configured to:
determining a programming language for each panel in the modeling framework in response to programming language selection instructions for the panels; wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
Optionally, the programming language includes at least one of: python, java, scala and c++.
Optionally, the execution instruction response module 403 includes:
the circulation structure panel execution unit is used for determining a circulation starting position, a circulation ending position and circulation times according to circulation configuration parameters of the circulation structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a circulation execution range according to a circulation starting position and a circulation ending position of a circulation structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the circulation number is reached in the circulation execution range.
Optionally, the loop configuration parameters are determined in response to a parameter selection operation.
Optionally, executing the instruction response module 403 further includes:
the judging structure panel executing unit is used for determining judging conditions according to judging configuration parameters of the judging structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a judging branch according to judging conditions of judging structural panels in the modeling framework, and executing coding of the panels in the judging branch.
Optionally, the decision configuration parameter is determined in response to a parameter selection operation.
According to the embodiment of the invention, the user selects the required panel to construct a complete modeling frame, and the panel comprises a judging structure and a circulating structure; selecting a suitable programming language for the panel; after each panel executes the program, the output result is stored in a unified target format, so that the construction of a complex flow is realized, the coding of a user is facilitated, the coding efficiency is improved, the output result of each panel is convenient for the user to check, the manpower and time are saved, and the service requirement of the user is met.
Example IV
Fig. 5 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary computer device 500 suitable for use in implementing embodiments of the invention. The computer device 500 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the computer device 500 is in the form of a general purpose computing device. The components of computer device 500 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 that connects the various system components (including the system memory 502 and processing units 501).
Bus 503 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 500 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 502 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 504 and/or cache memory 505. The computer device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 506 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 503 through one or more data medium interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 508 having a set (at least one) of program modules 507 may be stored, for example, in memory 502, such program modules 507 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 507 typically perform the functions and/or methods of the described embodiments of the invention.
The computer device 500 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), one or more devices that enable a user to interact with the computer device 500, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 500 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 511. Moreover, the computer device 500 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 512. As shown, network adapter 512 communicates with other modules of computer device 500 via bus 503. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 500, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 501 executes programs stored in the system memory 502 to perform various functional applications and data processing, for example, to implement a modeling method based on a model building platform provided by an embodiment of the present invention, including:
in response to the panel selection instruction, displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
determining a programming language of each panel in the modeling framework, and encoding each panel according to the programming language;
and responding to the execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format.
Example five
The fifth embodiment of the present invention further provides a storage medium containing computer executable instructions, on which a computer program is stored, which when executed by a processor, implements a modeling method based on a model building platform as provided by the embodiment of the present invention, including:
in response to the panel selection instruction, displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
determining a programming language of each panel in the modeling framework, and encoding each panel according to the programming language;
and responding to the execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel according to a target format.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. The modeling method based on the model construction platform is characterized by comprising the following steps of:
in response to the panel selection instruction, displaying the selected panel in a modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
determining a programming language of each panel in the modeling framework, and encoding each panel according to the programming language;
responding to an execution instruction of a modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel in a background database according to a target format as input data of the next panel;
wherein said determining a programming language for each panel in the modeling framework comprises:
determining a programming language for each panel in the modeling framework in response to programming language selection instructions for the panels;
based on the programming language of each panel, storing the coding frame corresponding to the panel in each panel in advance;
wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
2. The method of claim 1, wherein the programming language comprises at least one of: python, java, scala and c++.
3. The method of claim 1, wherein the executing the encoding of each panel in the modeling framework in response to the execution instructions of the modeling framework comprises:
determining a circulation starting position, a circulation ending position and circulation times according to circulation configuration parameters of a circulation structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a circulation execution range according to a circulation starting position and a circulation ending position of a circulation structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the circulation number is reached in the circulation execution range.
4. A method according to claim 3, wherein the loop configuration parameters are determined in response to a parameter selection operation.
5. The method of claim 1, wherein the executing the encoding of each panel in the modeling framework in response to the execution instructions of the modeling framework further comprises:
determining judgment conditions according to the judgment configuration parameters of the judgment structure panel in the modeling framework;
and responding to an execution instruction of the modeling framework, determining a judging branch according to judging conditions of judging structural panels in the modeling framework, and executing coding of the panels in the judging branch.
6. The method of claim 5, wherein the decision configuration parameter is determined in response to a parameter selection operation.
7. A modeling apparatus based on a model building platform, comprising:
the panel selection instruction response module is used for displaying the selected panel in the modeling interface as a modeling framework; wherein the panel comprises a judging structure panel and/or a circulating structure panel;
the programming language determining module is used for determining the programming language of each panel in the modeling framework and encoding each panel according to the programming language;
the execution instruction response module is used for responding to the execution instruction of the modeling framework, executing the coding of each panel in the modeling framework, and storing the coding execution result of each panel in a background database according to a target format as the input data of the next panel;
the programming language determining module is specifically configured to: determining a programming language for each panel in the modeling framework in response to programming language selection instructions for the panels;
based on the programming language of each panel, storing the coding frame corresponding to the panel in each panel in advance;
wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a modeling method based on a model building platform according to any of claims 1-6 when executing the program.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the model building platform based modeling method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911023342.4A CN110750909B (en) | 2019-10-25 | 2019-10-25 | Modeling method, device, equipment and medium based on model construction platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911023342.4A CN110750909B (en) | 2019-10-25 | 2019-10-25 | Modeling method, device, equipment and medium based on model construction platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110750909A CN110750909A (en) | 2020-02-04 |
CN110750909B true CN110750909B (en) | 2023-10-27 |
Family
ID=69279976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911023342.4A Active CN110750909B (en) | 2019-10-25 | 2019-10-25 | Modeling method, device, equipment and medium based on model construction platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110750909B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101650798A (en) * | 2009-09-14 | 2010-02-17 | 中国科学院计算技术研究所 | Flow modeling method |
US9177452B1 (en) * | 2011-04-01 | 2015-11-03 | The Mathworks, Inc. | User interface for a modeling environment |
CN105144091A (en) * | 2013-03-13 | 2015-12-09 | 微软技术许可有限责任公司 | Generation of user interface model for command line based programs |
CN105404512A (en) * | 2015-11-25 | 2016-03-16 | 飞天诚信科技股份有限公司 | Application window interface changing method and apparatus |
CN106164945A (en) * | 2014-04-11 | 2016-11-23 | 微软技术许可有限责任公司 | Sight modeling and visualization |
CN109605366A (en) * | 2018-11-09 | 2019-04-12 | 中科新松有限公司 | Robot graphic programming interactive system and robot |
CN109783859A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Model building method, device and computer readable storage medium |
CN110298094A (en) * | 2019-06-20 | 2019-10-01 | 四川省劲腾环保建材有限公司 | A kind of adaptation Suresh Kumar BIM modeling software interface analytic method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9891890B2 (en) * | 2015-11-09 | 2018-02-13 | Microsoft Technology Licensing, Llc | Generation of an application from template |
US10839011B2 (en) * | 2018-04-18 | 2020-11-17 | International Business Machines Corporation | Application programing interface document generator |
-
2019
- 2019-10-25 CN CN201911023342.4A patent/CN110750909B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101650798A (en) * | 2009-09-14 | 2010-02-17 | 中国科学院计算技术研究所 | Flow modeling method |
US9177452B1 (en) * | 2011-04-01 | 2015-11-03 | The Mathworks, Inc. | User interface for a modeling environment |
CN105144091A (en) * | 2013-03-13 | 2015-12-09 | 微软技术许可有限责任公司 | Generation of user interface model for command line based programs |
CN106164945A (en) * | 2014-04-11 | 2016-11-23 | 微软技术许可有限责任公司 | Sight modeling and visualization |
CN105404512A (en) * | 2015-11-25 | 2016-03-16 | 飞天诚信科技股份有限公司 | Application window interface changing method and apparatus |
CN109605366A (en) * | 2018-11-09 | 2019-04-12 | 中科新松有限公司 | Robot graphic programming interactive system and robot |
CN109783859A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Model building method, device and computer readable storage medium |
CN110298094A (en) * | 2019-06-20 | 2019-10-01 | 四川省劲腾环保建材有限公司 | A kind of adaptation Suresh Kumar BIM modeling software interface analytic method |
Also Published As
Publication number | Publication date |
---|---|
CN110750909A (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190005013A1 (en) | Conversation system-building method and apparatus based on artificial intelligence, device and computer-readable storage medium | |
CN110413276B (en) | Parameter editing method and device, electronic equipment and storage medium | |
CN112711581A (en) | Medical data verification method and device, electronic equipment and storage medium | |
CN107122398B (en) | Data display chart generation method and system | |
CN111125451B (en) | Data production processing method and device, electronic equipment and storage medium | |
US10768947B2 (en) | Method for interface refresh synchronization,terminal device, and non-transitory computer-readable storage medium | |
CN111026400A (en) | Method and device for analyzing service data stream | |
CN110868324A (en) | Service configuration method, device, equipment and storage medium | |
CN113552988A (en) | Interface focus control method and device, electronic equipment and storage medium | |
CN114237563A (en) | Visual program construction method and device, readable medium and electronic equipment | |
CN110750909B (en) | Modeling method, device, equipment and medium based on model construction platform | |
CN112328225A (en) | Page operation method and operation system thereof | |
CN117251164A (en) | Model code conversion method, device, equipment and storage medium | |
CN112269571A (en) | Modular code development method and device | |
CN111782382A (en) | Task processing method and device, storage medium and electronic equipment | |
CN109582318A (en) | Processing method, device, terminal and the storage medium of Portobuf localization | |
CN111666068B (en) | Platform development framework, construction method, equipment and medium | |
CN114745313A (en) | Terminal remote testing method and device, electronic equipment and readable medium | |
CN113849164A (en) | Data processing method and device, electronic equipment and memory | |
CN113885850A (en) | Event processing method and device based on smart city, medium and electronic equipment | |
CN111443983B (en) | Application program virtualization method and device, electronic equipment and storage medium | |
CN108960433B (en) | Method and system for running machine learning modeling process | |
CN109840073B (en) | Method and device for realizing business process | |
CN113138760A (en) | Page generation method and device, electronic equipment and medium | |
CN105068803A (en) | Human-computer interface realization method and device |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220914 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Applicant after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |