CN110750909A - Modeling method, device, equipment and medium based on model building platform - Google Patents
Modeling method, device, equipment and medium based on model building platform Download PDFInfo
- Publication number
- CN110750909A CN110750909A CN201911023342.4A CN201911023342A CN110750909A CN 110750909 A CN110750909 A CN 110750909A CN 201911023342 A CN201911023342 A CN 201911023342A CN 110750909 A CN110750909 A CN 110750909A
- Authority
- CN
- China
- Prior art keywords
- panel
- modeling
- programming language
- framework
- judgment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a modeling method, a modeling device, modeling equipment and a modeling medium based on a model building platform. Wherein, the method comprises the following steps: responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel; determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language; and responding to an execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to a target format. The embodiment of the invention constructs a model framework which can meet the requirements of complex services by selecting the panels, determines the programming language in the panels, and executes the code of each panel, thereby realizing the construction of the model with judgment and cycle structures, supporting the nesting of various structures and improving the utilization rate of a model construction platform.
Description
Technical Field
The embodiment of the invention relates to computer technology, in particular to a modeling method, a modeling device, modeling equipment and a modeling medium based on a model building platform.
Background
With the development of computer technology, the requirement on the complexity of the model is gradually increased, the simple sequential structure cannot meet the requirements of people, and more enterprises urgently need to construct a proper model according to the self business requirements.
In the prior art, a model building platform can connect modules selected by a 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 a complex model and the record arrangement of results.
However, the model building platform in the prior art can only execute modules sequentially, does not support nesting of various structural processes, supports a single running language, often cannot meet complex business requirements, requires a large amount of manpower and time for self-encoding by experts, and is low in modeling efficiency.
Disclosure of Invention
The embodiment of the invention provides a modeling method, a modeling device, modeling equipment and a modeling medium based on a model building platform, so that the effect of running a complete complex model is realized 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:
responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel;
determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language;
and responding to an execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to a target format.
Optionally, the determining a programming language of each panel in the modeling framework includes:
determining a programming language of each panel in the modeling framework in response to a programming language selection instruction of the panel; 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, in response to the instruction for executing the modeling framework, the encoding of each panel in the modeling framework includes:
determining a cycle starting position, a cycle ending position and cycle times according to cycle configuration parameters of a cycle structure panel in the modeling frame;
and responding to an execution instruction of the modeling framework, determining a loop execution range according to the loop starting position and the loop ending position of the loop structure panel in the modeling framework, and continuously executing codes of other panels in the modeling framework after the loop execution range reaches the loop times.
Optionally, the loop configuration parameter is determined in response to a parameter selection operation.
Optionally, the executing the code of each panel in the modeling framework in response to the execution instruction of the modeling framework further includes:
determining a judgment condition according to a judgment configuration parameter for judging the structural panel in the modeling frame;
responding to an execution instruction of a modeling frame, determining a judgment branch according to a judgment condition of a judgment structure panel in the modeling frame, and executing the coding of the panel in the judgment branch.
Optionally, the determining the 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 frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel;
the programming language determining module is used for determining the programming language of each panel in the modeling framework and coding 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 code of each panel in the modeling framework and storing the code execution result of each panel according to the target format.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the program, implements the modeling method based on the model building platform according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a modeling method based on a model building platform according to any of the embodiments of the present invention.
The embodiment of the invention selects the panels with different structures, nests the panels with each other, selects the required language for the panels, and makes the panels with different structures associated with each other in the operation process, solves the problem that operators of the traditional graphical machine learning modeling platform are parallel and have no nesting relation, realizes the effect of operating a complex model, saves manpower and time, improves the modeling efficiency, and meets the business requirements of users.
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 invention;
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;
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 the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flowchart of a modeling method based on a model building platform according to an embodiment of the present invention, where the embodiment is applicable to building a complex structure model, and the method can be executed by a modeling apparatus based on a 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 to be used as a modeling frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel.
The user issues a panel selection command, selects a desired panel from the candidate panels, and displays the selected panel on the modeling interface. The panel selection instruction can be that the user drags the selected panel to the modeling interface, or the user clicks the candidate panel to select the panel. Either panel is a separate process module. The candidate panels may include a sequential structure panel, a judgment structure panel, and a loop structure panel. The panels on the modeling interface are arranged in sequence according to the requirements of a user. For example, a user needs to construct a model containing a judgment process, and after the judgment process is finished, a module of a sequential process needs to continue to operate, so that the user can drag the judgment structure panel to the modeling interface first, and then drag the sequential structure panel to the lower side of the judgment structure panel. Fig. 2 is a schematic diagram of a modeling interface according to a first embodiment of the present invention. As shown in FIG. 2, the left side of the interface is a candidate panel area, and the right side of the interface is a modeling interface area, where panels in any candidate panel can be placed to form a modeling frame.
Specifically, the judgment structure panel can be divided into an if judgment panel and a switch judgment panel to meet the requirements of users on different judgment sentences.
And S120, determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language.
After the user constructs the modeling framework, the programming language of each panel in the modeling framework can be determined, and each panel is coded.
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 a user codes a panel, the step of selecting a language may be omitted, and Python is directly used for coding the panel.
The model building platform saves the coding frame of the structure in each panel in advance, for example, if a user determines that the programming language is Python, when the user uses the if judgment panel, the background server calls an if judgment statement of the Python into the if judgment panel, and the user can finish the coding work of the judgment structure panel only by filling in parameters such as panel input parameters, panel output parameters and judgment conditions; if the user is the sequential structure panel code, the configuration of parameters such as panel input parameters, panel output parameters and related variables can be filled; if the user is the cyclic structure panel code, parameters such as panel input parameters, panel output parameters, cycle times and the like can be filled, the workload of the user is effectively reduced, and the coding efficiency is improved.
And S130, responding to the execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to the target format.
After configuring parameters for the modeling framework, a user can click the operation control on the interface and send out an execution instruction. The background server calls an execution engine described by a coding language in the modeling framework, the execution engine analyzes codes in the panel, the panel in the modeling framework runs the codes in the panel according to a 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 the running result of the whole process is obtained. The target format can be in binary, decimal and other formats, and the adoption of the uniform target format is not only beneficial to data interaction among panels, but also beneficial to the viewing of users.
Before determining to execute the modeling framework, the user can preset circulation configuration parameters for the circulation structure panel, so that the circulation structure panel performs flow circulation according to the user requirements. The loop configuration parameters are determined in response to the parameter selection operation of the user, the user can click the parameter selection control on the modeling interface to send out a parameter selection operation instruction, the loop starting position, the loop ending position and the loop times of the loop flow can be configured through the parameter selection operation, and the execution range of the loop flow is further determined.
Optionally, determining a cycle start position, a cycle end position and cycle times according to cycle configuration parameters of a cycle structure panel in the modeling frame; and responding to an execution instruction of the modeling framework, determining a loop execution range according to the loop starting position and the loop ending position of the loop structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the loop execution range reaches the loop times.
Specifically, the user can determine the loop start position, the loop end position, and the loop number of the loop configuration panel, and determine the loop execution range. For example, the modeling frame is composed of flows of a first sequence structure panel, a loop structure panel and a second sequence structure panel, the user uses the start position of the entire modeling frame as the start position of the loop flow, and uses the end position of the entire modeling frame as the end position of the loop flow, that is, the start position of the first sequence structure panel is the start position of the loop flow, the end position of the second sequence structure panel is the end position of the loop flow, and the number of loops is 3. And after responding to the execution instruction of the modeling frame, the background server starts to run downwards from the initial position of the first sequential structure panel, and when the background server runs to the circulating structure panel, the background server does not circulate to continue to run the second sequential structure panel. And when the operation of the second sequence structure panel is finished, circulating, returning to the initial position of the first sequence structure panel, and starting to perform the second round of operation until the third cycle is finished.
Specifically, if the user uses the start position of the loop structure panel as the start position of the loop flow and uses the end position of the loop structure panel as the end position of the loop flow, when the whole modeling frame is operated, the program is operated from the first sequence structure panel, and when the loop structure panel is operated, the loop structure panel is operated continuously without continuously operating the second sequence structure panel until the loop frequency is met, and then the code of the second sequence structure panel is operated downwards continuously. The setting of the initial position and the final position of the circulation flow is beneficial to meeting the requirement of a user on complex services, and the user experience is improved.
The user may configure the loop parameters for the loop configuration panel or may configure the parameters for the judgment configuration panel.
Optionally, determining a judgment condition according to a judgment configuration parameter for judging the structural panel in the modeling frame;
and responding to an execution instruction of the modeling framework, determining a judgment branch according to a judgment condition of a judgment structure panel in the modeling framework, and executing the coding of the panel in the judgment branch.
Specifically, the judgment configuration parameters are determined in response to the parameter selection operation, the user determines the judgment configuration parameters through the parameter selection operation, and further determines the judgment condition of the judgment structure panel, the background server responds to the modeling frame execution instruction of the user, determines the judgment branch according to the judgment condition of the judgment structure panel in the modeling frame, executes the coding of the panel in the judgment branch, and further continues to execute other panels in the modeling frame. The method and the system have the advantages that when the user finishes different services, the parameters can be flexibly configured, the service requirements of the user are met, manpower and time are saved, and the modeling efficiency is improved.
In the technical scheme of the embodiment, a user constructs a complete modeling framework by selecting a required panel, the panel is not limited to a sequential structure, and the method further comprises a judgment structure and a cycle structure, so that the construction of a complex flow is realized. And the user can select the programming language for the panel, thereby facilitating the coding of the user and improving the coding efficiency. After each panel executes the program of the panel, the output result is stored in a uniform target format, so that data interaction can be performed among the panels, the panels are convenient for a user to check, manpower and time are saved, and the service requirements of the user are met.
Example two
Fig. 3 is a flowchart illustrating a modeling method based on a model building platform according to a second embodiment of the present invention, and the present embodiment further optimizes based on the above embodiments, and the method can be executed by a modeling apparatus based on a 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 to be used as a modeling frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel.
S320, responding to a programming language selection instruction of the panel, determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language; 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, 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 is encoded by using the default programming language. 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, the candidate programming languages can comprise Java, Scala, C language, C + + and the like, and the user can select the good programming language to code the panel.
Specifically, the programming language selection instruction issued by the user may include a panel language selection instruction and a modeling framework language selection instruction. If a user sends a modeling frame language selection instruction, one language can be selected for the whole modeling frame, and the panels in the modeling frame are all coded by the selected language; if the user sends 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 language in each panel cannot exceed one language. For example, a user constructs a modeling framework, where the modeling framework includes a first sequential structure panel, a judgment structure panel, and a second sequential structure panel, where the first sequential structure panel is coded using Java, the judgment structure panel is coded using Python, and the second sequential structure panel is coded using C + +. The languages of the panels are different, so that the division of labor and cooperation of users among different panels are facilitated, and the modeling efficiency is improved.
S330, responding to the execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to the target format.
The user sends out an execution instruction of the modeling framework, and the background server starts to run the codes of all panels in the modeling framework. If the languages of the panels are not the same, the panels of 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 structure panel, a judgment structure panel, and a second sequential structure panel. The first sequential structure panel is coded by Java, the judgment structure panel is coded by Python, and the second sequential structure panel is coded by C + +. 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, firstly calls the execution engine of the Java statement to analyze codes in the first sequence structure panel, and further obtains a running result; when the judgment structure panel is operated, an execution engine of a Python statement can be called to analyze a Python code; when the execution is performed to the second sequential structure panel, the execution engine of the C + + statement can be called to analyze the code of the C + +.
The output data of each panel can be used as input data of the next panel. In order to avoid the inconsistency of the data formats among the panels, after the panels execute the codes of the panels, the output results are converted into the target format and stored in the database. The data interaction between the panels is realized, and the user can conveniently check the data.
According to the embodiment of the invention, a complex modeling framework is constructed by selecting the required panels, different programming languages are selected for each panel of the modeling framework, and the output result of each panel is converted into the target format. The method and the device have the advantages that the division of labor and cooperation of users among different panels are realized, the modeling efficiency is improved, data among the panels are interacted, the users can check conveniently, and labor and time are effectively saved.
EXAMPLE III
Fig. 4 is a structural block diagram of a modeling apparatus based on a model building platform according to a third embodiment of the present invention, which is capable of executing a modeling method based on a model building platform according to any embodiment of the present invention, and has 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, configured to display the selected panel in the modeling interface as a modeling frame; 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, in response to the execution instruction of the modeling framework, execute the code of each panel in the modeling framework, and store the code execution result of each panel in the target format.
Optionally, the programming language determining module 402 is specifically configured to:
determining a programming language of each panel in the modeling framework in response to a programming language selection instruction of the panel; 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 instruction response module 403 is executed, including:
the loop structure panel execution unit is used for determining a loop starting position, a loop ending position and loop times according to loop configuration parameters of a loop structure panel in the modeling frame;
and responding to an execution instruction of the modeling framework, determining a loop execution range according to the loop starting position and the loop ending position of the loop structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the loop execution range reaches the loop times.
Optionally, the loop configuration parameter is determined in response to a parameter selection operation.
Optionally, the instruction response module 403 is executed, and further includes:
the judging structure panel execution unit is used for determining a judging condition according to the judging configuration parameters of the judging structure panel in the modeling frame;
responding to an execution instruction of a modeling frame, determining a judgment branch according to a judgment condition of a judgment structure panel in the modeling frame, and executing the coding of the panel in the judgment branch.
Optionally, the determining the configuration parameter is determined in response to a parameter selection operation.
According to the embodiment of the invention, a complete modeling frame is constructed by selecting a required panel by a user, and the panel comprises a judgment structure and a cycle structure; selecting a suitable programming language for the panel; after each panel executes the program of the panel, the output result is stored in a uniform target format, 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 the time are saved, and the service requirements of the user are met.
Example four
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 only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in fig. 5, 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 couples the various system components (including the system memory 502 and the processing unit 501).
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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 by one or more data media interfaces. Memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are 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 instance, 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 507 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 500 may also communicate with one or more external devices 509 (e.g., keyboard, pointing device, display 510, etc.), with one or more devices that enable a user to interact with the computer device 500, and/or with 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 via input/output (I/O) interfaces 511. Moreover, computer device 500 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network such as the Internet) via network adapter 512. As shown, network adapter 512 communicates with the other modules of computer device 500 over bus 503. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 501 executes various functional applications and data processing by running a program stored in the system memory 502, for example, to implement the modeling method based on the model building platform provided by the embodiment of the present invention, which includes:
responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling frame; wherein, the panel comprises a judging structure panel and/or a circulating structure panel;
determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language;
and responding to the execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to the target format.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for modeling based on a model building platform according to the fifth embodiment of the present invention is implemented, where the method includes:
responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling frame; wherein, the panel comprises a judging structure panel and/or a circulating structure panel;
determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language;
and responding to the execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to the target format.
Computer storage media for embodiments of the invention may employ 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A modeling method based on a model building platform is characterized by comprising the following steps:
responding to a panel selection instruction, and displaying the selected panel in a modeling interface as a modeling frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel;
determining the programming language of each panel in the modeling framework, and coding each panel according to the programming language;
and responding to an execution instruction of the modeling framework, executing the code of each panel in the modeling framework, and storing the code execution result of each panel according to a target format.
2. The method of claim 1, wherein determining a programming language for each panel in the modeling framework comprises:
determining a programming language of each panel in the modeling framework in response to a programming language selection instruction of the panel; wherein the programming language selection instruction comprises a panel language selection instruction or a modeling framework language selection instruction.
3. The method of claim 2, wherein the programming language comprises at least one of: python, Java, Scala and C + +.
4. The method of claim 1, wherein the executing the encoding of each panel in the modeling framework in response to the instructions for executing the modeling framework comprises:
determining a cycle starting position, a cycle ending position and cycle times according to cycle configuration parameters of a cycle structure panel in the modeling frame;
and responding to an execution instruction of the modeling framework, determining a loop execution range according to the loop starting position and the loop ending position of the loop structure panel in the modeling framework, and continuing to execute the codes of other panels in the modeling framework after the loop execution range reaches the loop times.
5. The method of claim 4, wherein the loop configuration parameter is determined in response to a parameter selection operation.
6. The method of claim 1, wherein the executing the encoding of each panel in the modeling framework in response to the instructions for execution of the modeling framework further comprises:
determining a judgment condition according to a judgment configuration parameter for judging the structural panel in the modeling frame;
responding to an execution instruction of a modeling frame, determining a judgment branch according to a judgment condition of a judgment structure panel in the modeling frame, and executing the coding of the panel in the judgment branch.
7. The method of claim 6, wherein determining the configuration parameter is determined in response to a parameter selection operation.
8. 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 frame; wherein the panel comprises a judgment structure panel and/or a circulation structure panel;
the programming language determining module is used for determining the programming language of each panel in the modeling framework and coding 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 code of each panel in the modeling framework and storing the code execution result of each panel according to the target format.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements a modeling method based on a model building platform according to any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of modeling a model-based build platform according to any of claims 1-7 when executed by a computer processor.
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 true CN110750909A (en) | 2020-02-04 |
| CN110750909B 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 (10)
| 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 |
| US20170131974A1 (en) * | 2015-11-09 | 2017-05-11 | Microsoft Technology Licensing, Llc | Generation of an Application from Template |
| CN109605366A (en) * | 2018-11-09 | 2019-04-12 | 中科新松有限公司 | Robot Graphical 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 |
| US20190325074A1 (en) * | 2018-04-18 | 2019-10-24 | International Business Machines Corporation | Application programing interface document generator |
-
2019
- 2019-10-25 CN CN201911023342.4A patent/CN110750909B/en active Active
Patent Citations (10)
| 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 |
| US20170131974A1 (en) * | 2015-11-09 | 2017-05-11 | Microsoft Technology Licensing, Llc | Generation of an Application from Template |
| CN105404512A (en) * | 2015-11-25 | 2016-03-16 | 飞天诚信科技股份有限公司 | Application window interface changing method and apparatus |
| US20190325074A1 (en) * | 2018-04-18 | 2019-10-24 | International Business Machines Corporation | Application programing interface document generator |
| CN109605366A (en) * | 2018-11-09 | 2019-04-12 | 中科新松有限公司 | Robot Graphical 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 |
|---|---|
| CN110750909B (en) | 2023-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112711581B (en) | Medical data checking method and device, electronic equipment and storage medium | |
| CN107341098B (en) | Software performance testing method, platform, equipment and storage medium | |
| CN109300179B (en) | Animation production method, device, terminal and medium | |
| CN111125451B (en) | Data production and processing method, device, electronic device and storage medium | |
| CN113449877B (en) | Method and system for demonstrating machine learning modeling process | |
| US20210182982A1 (en) | Method and system for automated generation of a roof joist 2d drawings from a 3d model | |
| CN110807111A (en) | Three-dimensional graph processing method and device, storage medium and electronic equipment | |
| CN110868324A (en) | Service configuration method, device, equipment and storage medium | |
| CN110728371A (en) | System, method and electronic device for executing automatic machine learning scheme | |
| KR20230088252A (en) | Method and apparatus for generating and applying deep learning model based on deep learning framework | |
| JP2024170549A (en) | Data processing method, data processing model and training method thereof | |
| CN111782382A (en) | Task processing method and device, storage medium and electronic equipment | |
| CN114237563A (en) | Visual program construction method, apparatus, readable medium and electronic device | |
| CN116415665A (en) | Conversion method and conversion device of end-side push model | |
| CN110750909B (en) | Modeling method, device, equipment and medium based on model construction platform | |
| CN109840073B (en) | Method and device for realizing business process | |
| CN114912544B (en) | Training method of automatic feature engineering model and automatic feature engineering method | |
| CN105930262B (en) | Application program user interface automated testing method and electronic equipment | |
| CN114866549A (en) | Data acquisition method and device | |
| CN108960433B (en) | Method and system for running machine learning modeling process | |
| CN113760317A (en) | A page display method, device, device and storage medium | |
| CN112100338B (en) | Dialog theme extension method, device and system for intelligent robot | |
| CN117455416B (en) | Data analysis method and system applied to building project management | |
| CN118468246B (en) | Reverse analysis method and electronic equipment based on large model | |
| CN113722231B (en) | User operation simulation method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| 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 |