CN110716714A - Component creation method, device, computer system, and computer-readable storage medium - Google Patents

Component creation method, device, computer system, and computer-readable storage medium Download PDF

Info

Publication number
CN110716714A
CN110716714A CN201910947252.8A CN201910947252A CN110716714A CN 110716714 A CN110716714 A CN 110716714A CN 201910947252 A CN201910947252 A CN 201910947252A CN 110716714 A CN110716714 A CN 110716714A
Authority
CN
China
Prior art keywords
component
area
creating
target
module
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
Application number
CN201910947252.8A
Other languages
Chinese (zh)
Other versions
CN110716714B (en
Inventor
刘彬彬
魏宁
叶盛
李虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netshen Information Technology (beijing) Co Ltd
Qianxin Technology Group Co Ltd
Original Assignee
Netshen Information Technology (beijing) Co Ltd
Qianxin Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netshen Information Technology (beijing) Co Ltd, Qianxin Technology Group Co Ltd filed Critical Netshen Information Technology (beijing) Co Ltd
Priority to CN201910947252.8A priority Critical patent/CN110716714B/en
Publication of CN110716714A publication Critical patent/CN110716714A/en
Application granted granted Critical
Publication of CN110716714B publication Critical patent/CN110716714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The present disclosure provides a component creation method, including: the method comprises the steps of showing a component creating interface, wherein the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for showing component basic information; acquiring content which is input by a user in a first area, a second area and a third area and used for creating a target component; checking the content for creating the target component to obtain a checking result; and creating and saving the target component under the condition that the checking result indicates that the content for creating the target component is correct. The present disclosure also provides a component creation apparatus, a computer system, and a computer-readable storage medium.

Description

Component creation method, device, computer system, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a component creation method, a component creation apparatus, a computer system, and a computer-readable storage medium.
Background
In the related art, the modeling platform can realize functions of project management, data processing, model management and the like. Different customers can build a model meeting self business requirements at a modeling platform application end, and the built model can be used for realizing a business target. For example, a customer may build a model through a component provided by a modeling platform to meet business needs.
In implementing the disclosed concept, the inventors found that there are at least the following problems in the related art: the existing modeling platform generally only provides customized components for users, the users cannot customize the components according to different scene requirements, and the components cannot be reused for modeling scenes of similar services, so that the service development efficiency is low.
Disclosure of Invention
In view of the above, the present disclosure provides a component creation method, a component creation apparatus, a computer system, and a computer-readable storage medium.
One aspect of the present disclosure provides a component creation method, including: the method comprises the steps of showing a component creating interface, wherein the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for showing component basic information; acquiring content which is input by a user in the first area, the second area and the third area and is used for creating a target component; checking the content for creating the target component to obtain a checking result; and creating and saving the target component under the condition that the checking result indicates that the content for creating the target component is correct.
According to an embodiment of the present disclosure, the method further comprises: displaying a component list, wherein the component list comprises one or more created component records, and each component record at least comprises one of the following information: identification information, creator information, creation time, component description and custom component type of the component; acquiring editing operation or deleting operation aiming at the component record in the component list; and responding to the editing operation or the deleting operation.
According to the embodiment of the disclosure, acquiring the content for creating the target component, which is input by the user in the first area, the second area and the third area, comprises: acquiring common parameters and table parameters of the target component input by a user in the first area; acquiring a logic script type and a function description of the target component input by a user in the third area; and acquiring a logic script of the target component input by a user in the second area.
According to an embodiment of the present disclosure, the method further comprises: displaying an operation interface used for defining a business task, wherein a plurality of created and completed components are displayed in the operation interface; selecting one or more target components for defining a target business task from a plurality of created and completed components displayed in the operation interface based on user selection operation; and calling the corresponding executor to execute the script according to the script type of the one or more target components.
According to an embodiment of the present disclosure, the script type of the one or more target components includes at least one of: SQL scripts, JavaScript scripts, Python scripts.
Another aspect of the present disclosure provides a component creation apparatus including: the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a component creating interface, and the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for displaying component basic information; the first acquisition module is used for acquiring the contents which are input by a user in the first area, the second area and the third area and are used for creating the target component; the checking module is used for checking the content for creating the target component to obtain a checking result; and the creating module is used for creating and saving the target component under the condition that the checking result represents that the content for creating the target component is correct.
According to an embodiment of the present disclosure, the apparatus further comprises: a second presentation module, configured to present a component list, where the component list includes one or more created component records, and each component record includes at least one of the following information: identification information, creator information, creation time, component description and custom component type of the component; the second acquisition module is used for acquiring editing operation or deleting operation aiming at the component record in the component list; and the response module is used for responding to the editing operation or the deleting operation.
According to an embodiment of the present disclosure, the apparatus further comprises: the third display module is used for displaying an operation interface used for defining a business task, wherein a plurality of created and completed components are displayed in the operation interface; the selection module is used for selecting one or more target components for defining a target business task from a plurality of created and completed components displayed in the operation interface based on user selection operation; and the calling module is used for calling the corresponding executor to execute the script according to the script type of the one or more target components.
Another aspect of the present disclosure provides a computer system comprising: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of a component creation method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow diagram of a component creation method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow diagram of a component creation method according to another embodiment of the present disclosure;
FIG. 4 schematically illustrates a diagram of a component list according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart for defining a business task according to an embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow diagram for invoking a corresponding executor execution script according to an embodiment of the present disclosure;
FIG. 7 schematically shows a block diagram of a component creation apparatus according to an embodiment of the present disclosure; and
FIG. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method, according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
An embodiment of the present disclosure provides a component creation method, including: the method comprises the steps of showing a component creating interface, wherein the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for showing component basic information; acquiring content which is input by a user in a first area, a second area and a third area and used for creating a target component; checking the content for creating the target component to obtain a checking result; and creating and saving the target component under the condition that the checking result indicates that the content for creating the target component is correct. The present disclosure also provides a component creation apparatus, a computer system, and a computer-readable storage medium.
Fig. 1 schematically illustrates an application scenario of a component creation method and apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a user-defined component interface is visually displayed, in the user-defined component interface, different users can package service processing logic into components in a visual manner according to their service needs, and different scene requirements can be met by transmitting different parameters, so that the effect of one-time packaging and multiple-time multiplexing is achieved.
Specifically, as shown in fig. 1, in the custom component interface, a first area for defining component parameters, a second area for writing a logic script, and a third area for presenting basic information of a component may be included.
The user can realize the processing logic related to the service in a script mode. The hyper-parameters and the like of the input and output algorithm can be configured, after the parameters are configured, the parameters can be stored in a JSON object, an interface is adopted to access a server end, and the components are stored in a back-end database. When the system is used next time, the configuration is directly selected from the stored custom component library. The business component can be modified, deleted and the like.
A user may use various electronic devices with display screens including, but not limited to, custom components such as smart phones, tablets, laptop portable computers, desktop computers, and the like.
It should be noted that the component creating method provided by the embodiment of the present disclosure may be executed by the terminal device, or may also be executed by another terminal device different from the terminal device. Accordingly, the component creating apparatus provided by the embodiment of the present disclosure may also be disposed in the terminal device, or disposed in another terminal device different from the terminal device.
FIG. 2 schematically shows a flow diagram of a component creation method according to an embodiment of the disclosure.
As shown in fig. 2, the method includes operations S201 to S204.
In operation S201, a component creation interface is exposed, wherein the component creation interface includes a first area for defining component parameters, a second area for writing a logic script, and a third area for exposing component basic information.
According to the embodiment of the disclosure, the component creation interface can be displayed in a display unit of the electronic device, and a user can operate a control in the component creation interface.
According to the embodiment of the disclosure, in the first area, the user can define the component parameters according to the business requirements. For example, common parameters and table parameters that define components, and so on.
According to the embodiment of the disclosure, the logic script of the target component input by the user in the second area can be obtained. According to the embodiment of the disclosure, in the second area, the user can write the corresponding script according to the service requirement. The present disclosure may support the writing of multi-language scripts. For example, the script type of the target component that the user can write includes at least one of: SQL scripts, JavaScript scripts, Python scripts. It should be noted that the multi-language scripts supported by the present disclosure include, but are not limited to, these language scripts.
According to the embodiment of the disclosure, the logic script type and the function description of the target component input by the user in the third area can be acquired. According to the embodiment of the disclosure, in the third area, the user can fill in the basic information of the target component according to the business requirement. For example, a user may write a component Chinese name of a target component, a directory to which the component belongs, a data source of the component, the number of input and output ports, and a functional description of the component, among others.
In operation S202, contents for creating a target component, which are input by a user in the first, second, and third areas, are acquired.
In operation S203, the content used to create the target component is checked, resulting in a check result.
According to the embodiment of the disclosure, after the target component is customized, the customized content needs to be checked. Different script type components may employ different checking mechanisms in accordance with embodiments of the present disclosure.
In operation S204, in case that the checking result indicates that the content for creating the target component is correct, the target component is created and saved.
According to an embodiment of the present disclosure, the inspection result characterizes that the content used to create the target component correctly illustrates that the custom component is a component that can be executed.
According to the embodiment of the disclosure, basic information, corresponding parameter definition and processing logic script can be added in a visual mode and then stored as a service component.
In the related art, the current modeling platform generally only provides customized components for users, the users cannot customize the components according to different scene requirements, and the components cannot be reused for modeling scenes of similar services, so that the service development efficiency is low. Through the embodiment of the disclosure, different clients can package the service processing logic into components in a visual mode according to own service requirements, and can meet different scene requirements by transmitting different parameters, thereby achieving the effect of one-time packaging and repeated multiplexing. The problem of low business development efficiency caused by the fact that components cannot be reused in modeling scenes of similar businesses in the related technology is solved.
The method shown in fig. 2 is further described with reference to fig. 3-6 in conjunction with specific embodiments.
FIG. 3 schematically shows a flow diagram of a component creation method according to another embodiment of the present disclosure.
As shown in fig. 3, the method includes operations S301 to S303.
In operation S301, a component list is presented, where the component list includes one or more created component records, and each component record includes at least one of the following information: identification information of the component, creator information, creation time, component description, and custom component type.
In operation S302, an editing operation or a deleting operation for a component record in the component list is acquired.
In operation S303, a response is made to the editing operation or the deleting operation.
FIG. 4 schematically shows a diagram of a component list according to an embodiment of the disclosure.
As shown in FIG. 4, the component list may be used by the user to query components, add components, edit components, and delete components. Each record contains information such as the name of the component, the type of the custom component, the creator, the time of creation, the description of the component, and so forth.
According to embodiments of the present disclosure, custom components can be managed. In the aspect of business modeling, the business components with the configurable parameters stored before can be used quickly, repeated work is reduced, and the work efficiency is improved.
FIG. 5 schematically shows a flow chart for defining a business task according to an embodiment of the disclosure.
As shown in fig. 5, the method includes operations S501 to S503.
In operation S501, an operation interface for defining a business task is displayed, where a plurality of created components are displayed in the operation interface.
According to the embodiment of the disclosure, behaviors such as input, output, processing action and the like of the component can be abstracted in advance, and a normalized interface is provided for calling or front-end editing when the component is operated.
In operation S502, one or more target components for defining a target business task are selected from the plurality of created and completed components presented in the operation interface based on a user selection operation.
According to the embodiment of the disclosure, a user can define a business task by means of a dragging component, and the dragged component can form a directed acyclic graph. When the components are run, the components can be run according to the order of the directed acyclic graph.
In operation S503, a corresponding executor is called to execute a script according to the script type of one or more target components.
According to the embodiment of the disclosure, the executor can load different types of parameters at different stages, and the parser/executor can provide execution engines of various scripting languages, and prepare execution environments according to script types during running, for example, provide sparkSQL running environment for SQL scripts, provide JavaScript engine for JavaScript scripts, provide Python containers for Python scripts, and the like.
FIG. 6 schematically shows a flow diagram for invoking a corresponding executor execution script according to an embodiment of the present disclosure.
As shown in fig. 6, the method includes operations S601 to S605.
In operation S601, when the task is executed to the component, the data source may be obtained through the interface, and then the script type of the script may be determined.
In operation S602, different executors are called according to script types.
In operation S603, the parser is executed to load parameters by type, and parse the parameters.
In operation S604, an execution environment is prepared.
In operation S605, the corresponding script is executed in the dependent environment. After executing the script, results may be returned, for example, an error message if the execution fails.
Fig. 7 schematically shows a block diagram of a component creation apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the component creation apparatus 700 includes a first presentation module 710, a first acquisition module 720, an inspection module 730, and a creation module 740.
The first presentation module 710 is used for presenting a component creation interface, wherein the component creation interface includes a first area for defining component parameters, a second area for writing logic scripts, and a third area for presenting component basic information.
The first obtaining module 720 is used for obtaining the content which is input by the user in the first area, the second area and the third area and is used for creating the target component.
The checking module 730 is used for checking the content used for creating the target component to obtain a checking result.
The creation module 740 is used to create and save the target component in case the checking result indicates that the content used to create the target component is correct.
According to an embodiment of the present disclosure, the component creation apparatus 700 further includes a second presentation module, a second acquisition module, and a response module.
The second display module is used for displaying a component list, wherein the component list comprises one or more created component records, and each component record at least comprises one of the following information: identification information of the component, creator information, creation time, component description, and custom component type.
The second acquisition module is used for acquiring the editing operation or the deleting operation of the component record in the component list.
The response module is used for responding to the editing operation or the deleting operation.
According to an embodiment of the present disclosure, the component creation apparatus 700 further includes a third presentation module, a selection module, and a calling module.
And the third display module is used for displaying an operation interface used for defining the business task, wherein a plurality of created and completed components are displayed in the operation interface.
The selection module is used for selecting one or more target components for defining the target business task from the plurality of created and completed components displayed in the operation interface based on the user selection operation.
The calling module is used for calling the corresponding executor to execute the script according to the script type of one or more target components.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the first presentation module 710, the first obtaining module 720, the checking module 730 and the creating module 740 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the first presentation module 710, the first obtaining module 720, the checking module 730, and the creating module 740 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware by any other reasonable manner of integrating or packaging a circuit, or may be implemented in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the first presentation module 710, the first retrieval module 720, the examination module 730 and the creation module 740 may be at least partially implemented as a computer program module, which when executed may perform a corresponding function.
It should be noted that the component creation apparatus part in the embodiment of the present disclosure corresponds to the component creation method part in the embodiment of the present disclosure, and the description of the component creation apparatus part specifically refers to the component creation method part, which is not described herein again.
FIG. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method, according to an embodiment of the present disclosure. The computer system illustrated in FIG. 8 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 8, a computer system 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM803, various programs and data necessary for the operation of the system 800 are stored. The processor 801, the ROM802, and the RAM803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM802 and/or RAM 803. Note that the programs may also be stored in one or more memories other than the ROM802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
System 800 may also include an input/output (I/O) interface 805, also connected to bus 804, according to an embodiment of the disclosure. The system 800 may also include one or more of the following components connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: 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), 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 present disclosure, 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.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM802 and/or RAM803 described above and/or one or more memories other than the ROM802 and RAM 803.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (10)

1. A component creation method, comprising:
the method comprises the steps of showing a component creating interface, wherein the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for showing component basic information;
acquiring content which is input by a user in the first area, the second area and the third area and is used for creating a target component;
checking the content for creating the target component to obtain a checking result; and
and creating and saving the target component under the condition that the checking result indicates that the content for creating the target component is correct.
2. The method of claim 1, further comprising:
displaying a component list, wherein the component list comprises one or more created component records, and each component record at least comprises one of the following information: identification information, creator information, creation time, component description and custom component type of the component;
acquiring editing operation or deleting operation aiming at the component record in the component list; and
responding to the editing operation or the deleting operation.
3. The method of claim 1, wherein obtaining user input content for creating a target component in the first, second, and third regions comprises:
acquiring common parameters and table parameters of the target component input by a user in the first area;
acquiring a logic script type and a function description of the target component input by a user in the third area; and
and acquiring a logic script of the target component input by a user in the second area.
4. The method of claim 1, further comprising:
displaying an operation interface used for defining a business task, wherein a plurality of created and completed components are displayed in the operation interface;
selecting one or more target components for defining a target business task from a plurality of created and completed components displayed in the operation interface based on user selection operation; and
and calling the corresponding executor to execute the script according to the script type of the one or more target components.
5. The method of claim 4, wherein the script type of the one or more target components comprises at least one of: SQL scripts, JavaScript scripts, Python scripts.
6. A component creation apparatus comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a component creating interface, and the component creating interface comprises a first area for defining component parameters, a second area for writing logic scripts and a third area for displaying component basic information;
the first acquisition module is used for acquiring the contents which are input by a user in the first area, the second area and the third area and are used for creating the target component;
the checking module is used for checking the content for creating the target component to obtain a checking result; and
and the creating module is used for creating and saving the target component under the condition that the checking result represents that the content for creating the target component is correct.
7. The apparatus of claim 6, further comprising:
a second presentation module, configured to present a component list, where the component list includes one or more created component records, and each component record includes at least one of the following information: identification information, creator information, creation time, component description and custom component type of the component;
the second acquisition module is used for acquiring editing operation or deleting operation aiming at the component record in the component list; and
and the response module is used for responding to the editing operation or the deleting operation.
8. The apparatus of claim 6, further comprising:
the third display module is used for displaying an operation interface used for defining a business task, wherein a plurality of created and completed components are displayed in the operation interface;
the selection module is used for selecting one or more target components for defining a target business task from a plurality of created and completed components displayed in the operation interface based on user selection operation; and
and the calling module is used for calling the corresponding executor to execute the script according to the script type of the one or more target components.
9. A computer system, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-5.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 5.
CN201910947252.8A 2019-09-30 2019-09-30 Component creation method, device, computer system and computer readable storage medium Active CN110716714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910947252.8A CN110716714B (en) 2019-09-30 2019-09-30 Component creation method, device, computer system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910947252.8A CN110716714B (en) 2019-09-30 2019-09-30 Component creation method, device, computer system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110716714A true CN110716714A (en) 2020-01-21
CN110716714B CN110716714B (en) 2024-03-08

Family

ID=69212199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910947252.8A Active CN110716714B (en) 2019-09-30 2019-09-30 Component creation method, device, computer system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110716714B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857713A (en) * 2020-07-10 2020-10-30 当家移动绿色互联网技术集团有限公司 Method and device for controlling display of assembly, readable storage medium and electronic equipment
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device
CN112256522A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Component information acquisition method and device, electronic equipment and storage medium
CN114879943A (en) * 2022-06-30 2022-08-09 浙江大华技术股份有限公司 Algorithm scheme generation method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296377A1 (en) * 2010-05-27 2011-12-01 Microsoft Corporation Deployment script generation and execution
US20130007519A1 (en) * 2011-06-30 2013-01-03 Microsoft Corporation Test Framework Extension for Testing Logic on a Modeled User Interface
CN109358851A (en) * 2018-07-19 2019-02-19 平安科技(深圳)有限公司 Creation method, device and the computer readable storage medium of chart components
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296377A1 (en) * 2010-05-27 2011-12-01 Microsoft Corporation Deployment script generation and execution
US20130007519A1 (en) * 2011-06-30 2013-01-03 Microsoft Corporation Test Framework Extension for Testing Logic on a Modeled User Interface
CN109358851A (en) * 2018-07-19 2019-02-19 平安科技(深圳)有限公司 Creation method, device and the computer readable storage medium of chart components
CN109918607A (en) * 2019-03-20 2019-06-21 杭州网易再顾科技有限公司 Page building method and device, medium and calculating equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙万里;王丽芳;蒋泽军;: "基于XML的"零编码"组件框架的设计与实现" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857713A (en) * 2020-07-10 2020-10-30 当家移动绿色互联网技术集团有限公司 Method and device for controlling display of assembly, readable storage medium and electronic equipment
CN111966335A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Platform creation method and device
CN112256522A (en) * 2020-09-23 2021-01-22 北京达佳互联信息技术有限公司 Component information acquisition method and device, electronic equipment and storage medium
CN114879943A (en) * 2022-06-30 2022-08-09 浙江大华技术股份有限公司 Algorithm scheme generation method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN110716714B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN110716714B (en) Component creation method, device, computer system and computer readable storage medium
US10866788B2 (en) System and method for automated generation of integration elements modeling process flow for an integration process with a swagger API
US8627296B1 (en) Unified unit and integration test with automatic mock creation
CN111221521B (en) Method, device, computer system and readable storage medium for generating log code
WO2020006910A1 (en) Business componentization development method and apparatus, computer device, and storage medium
US11119887B2 (en) Attaching metadata to lines of code for alerting to changes in the code
US20240086304A1 (en) Segmented customization
US9858091B2 (en) Generating customized on-demand videos from automated test scripts
CN108170465B (en) Version information management method, electronic equipment and readable storage medium
US9824000B1 (en) Testing calling code dynamically with random error injection based on user-specified configuration
AU2018241159A1 (en) Contextual solicitation in a starter application
US10275234B2 (en) Selective bypass of code flows in software program
US11853749B2 (en) Managing container images in groups
CN113138757A (en) Method, device, server, system and medium for automatically generating front-end code
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN114116505A (en) Code testing method and device
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
US11487643B1 (en) Debugging for integrated scripting applications
CN116483888A (en) Program evaluation method and device, electronic equipment and computer readable storage medium
CN114035864A (en) Interface processing method, interface processing device, electronic device, and storage medium
CN114925066A (en) Data processing method and device, electronic equipment and storage medium
CN117009397A (en) Data query method, data query device, electronic equipment and storage medium
US10754644B2 (en) Annotations in software development
CN113392002A (en) Test system construction method, device, equipment and storage medium
US20180107581A1 (en) System to support i18n-friendly product agile development and enable continuous implementation and delivery

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: Qianxin Technology Group Co.,Ltd.

Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant before: Qianxin Technology Group Co.,Ltd.

Country or region before: China

Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

GR01 Patent grant
GR01 Patent grant