CN111651147B - Method for quickly building assembly by system - Google Patents

Method for quickly building assembly by system Download PDF

Info

Publication number
CN111651147B
CN111651147B CN202010481144.9A CN202010481144A CN111651147B CN 111651147 B CN111651147 B CN 111651147B CN 202010481144 A CN202010481144 A CN 202010481144A CN 111651147 B CN111651147 B CN 111651147B
Authority
CN
China
Prior art keywords
compiling
standard model
module
standard
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010481144.9A
Other languages
Chinese (zh)
Other versions
CN111651147A (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.)
Sichuan Hengtong Wangzhi Technology Co ltd
Original Assignee
Sichuan Hengtong Wangzhi Technology 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 Sichuan Hengtong Wangzhi Technology Co ltd filed Critical Sichuan Hengtong Wangzhi Technology Co ltd
Priority to CN202010481144.9A priority Critical patent/CN111651147B/en
Publication of CN111651147A publication Critical patent/CN111651147A/en
Application granted granted Critical
Publication of CN111651147B publication Critical patent/CN111651147B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention relates to a method for quickly constructing a component by a system, which comprises standard models of at least one type of general component and call terminals connected with the standard models, wherein the call terminals initiate call requests to the standard models; the compiling module is connected with the standard model and the calling terminal, the calling terminal selects whether to compile after calling the standard model, and the standard model is directly loaded without compiling; when compiling is needed, a call terminal initiates a compiling request to the compiling module and enters a compiling interface, a plurality of compiling channels are established between the compiling module and the standard model, each compiling channel corresponds to one compiling type, and a function of editing each component is further added in the process of quickly constructing the component.

Description

Method for quickly building assembly by system
Technical Field
The invention relates to the field of software, in particular to a method for quickly building a set by a system.
Background
In the development process of some software projects, applications of some conventional components are often involved, and the conventional components generally have similar functions, so that the conventional components have universality. Currently, when software development is performed, these components are repeatedly developed every time, thus causing a great deal of repetitive and tedious work. In order to solve the technical problem, a plurality of conventional assembly modules are integrated in some development platforms, and when the platform is built, only the assemblies are required to be called. For example, chinese patent publication No. CN110989983a discloses a zero-code application software rapid construction system, which comprises the following modules: the data modeling is used for classifying, constructing, managing and synchronizing the types of the mass data table; modeling a form; list modeling; modeling a flow; capability support, which provides various bottom layer support capability and interfaces; basic functions. The beneficial effects of the invention are as follows: the development platform is used for building various form service systems through low cost, high efficiency and building block building support, the development threshold is reduced (light-weight computer background is supported and even people without computer background are supported to use the system), the system development efficiency is improved (codes are not required to be written in a module-by-module mode and the system is simply dragged), the purpose of quickly realizing service system development is achieved, quick response to user change is supported, and the system is obtained after allocation. The disadvantage of the above operation modes is that the components are generally built in advance, the components are combined together in a hard way, the combination mode is relatively mechanical, and the finally obtained software system or platform mostly has the disadvantages of stiff and hard platform structure, mechanical functions and the like.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method for quickly building a set of a system, which is characterized in that a function of editing each set is added in the process of quickly building the set, so that the quick set of each set can be realized, and the program script in each set can be quickly optimized, thereby ensuring that the built system has better performance.
The aim of the invention is realized by the following technical scheme:
a method of quickly building a set of systems, comprising:
the system comprises standard models of at least one type of universal component and call terminals connected with the standard models, wherein a call request is initiated to the standard models through the call terminals;
the compiling module is connected with the standard model and the calling terminal, the calling terminal selects whether to compile after calling the standard model, and the standard model is directly loaded without compiling;
when compiling is needed, a compiling request is initiated to the compiling module by a calling terminal and enters a compiling interface;
a plurality of compiling channels are established between the compiling module and the standard model, and each compiling channel corresponds to one compiling type.
In the invention, the general component of the traditional mode is provided with the compiling channels corresponding to the corresponding functions, each compiling channel is used for changing one function or parameter or algorithm of the general model, and the like, and all codes of the standard model are not required to be opened during compiling, so that the reading quantity is reduced, the code errors are reduced, and the compiling can be carried out for the corresponding parts, thereby reducing the workload, enabling the designed target system to meet the requirements better, and solving the problems of stiffness and unreasonable system caused by forced combination of the traditional mode.
Further, the standard model comprises an original code module and a script dividing module;
the original code module comprises all original codes of the standard model, and the script dividing module is a plurality of compiling functional codes which divide the original codes into according to the functions and code properties of the standard model;
each script dividing module corresponds to one compiling channel respectively, when the compiling module initiates a compiling request, the compiling module enters a function code compiling interface through the corresponding compiling channel according to the type to be compiled, and the function code after the compiling is automatically refreshed into the original code.
Furthermore, the calling mode of the standard model is a replication mode, namely, after the standard model is determined to be called, the replication copy of the standard model is extracted into a calling terminal to be compiled or used, and the refreshed original code covers the original code in the replication copy. The design mode can ensure that compiling operation does not influence the standard model of the system, so that the standard model can be repeatedly used.
Further, the function code does not include framework code of the standard model.
Further, the calling terminal comprises an operation interface for man-machine interaction, and the operation interface comprises:
the search bar is used for searching a standard model of the requirement;
and the compiling request column is connected with the compiling module and used for initiating a compiling request.
Further, the standard model is configured with a design document description, and after the calling terminal finds the standard model through the search field, the design document description is consulted through a check option.
Further, the design document description at least comprises basic information of a framework description, a processing algorithm and a communication protocol of the standard model. The performance parameters and the applicability of the standard model can be quickly known through the design document description, so that the compiling direction and the compiling type can be determined.
Furthermore, the assembly further comprises a rendering module, wherein the rendering module is connected with the calling terminal, and the compiled standard models are combined to form a target system according to a preset rendering design through the rendering module.
The beneficial effects of the invention are as follows:
the standard models can be compiled according to requirements, so that a system built by each standard model has more outstanding practicability, and the problems of stiff system and low performance in the traditional mode are avoided;
each standard model is set in a segmented mode according to the function type of the original code to form different function segments (namely, script division), and each function segment is compiled corresponding to one compiling channel, so that other code lines are not affected in the compiling process, reading quantity and error rate are reduced, and compiling efficiency is improved.
Drawings
FIG. 1 is a top layer design of the present invention;
FIG. 2 is a detailed schematic of the present invention;
fig. 3 is a schematic diagram of a standard model.
Detailed Description
The technical scheme of the present invention is described in further detail below with reference to specific embodiments, but the scope of the present invention is not limited to the following description.
As shown in fig. 1, a method of quickly building a set of systems includes:
the system comprises standard models of at least one type of universal component and call terminals connected with the standard models, wherein a call request is initiated to the standard models through the call terminals;
the compiling module is connected with the standard model and the calling terminal, the terminal is called to select whether to compile or not after calling the standard model, and the standard model is directly loaded without compiling;
when compiling is needed, a compiling request is initiated to a compiling module by a calling terminal and enters a compiling interface;
a plurality of compiling channels are established between the compiling module and the standard model, and each compiling channel corresponds to one compiling type.
In one aspect, the standard model herein generally refers to some components with general functions in a software system, such as settlement modules, information verification modules, identity login modules and the like in the financial industry, where such components are substantially similar in functional characteristics and working principles, and thus have general versatility and can be quickly built.
In another aspect, the compiling channel refers to entering the corresponding editing interface through the compiling channel, and the compiling channel is substantially similar to a selecting module, namely, which plate in the standard model is selected to be compiled, and the compiling channel actually enters a code line to be compiled.
In order to reduce error rate and reading amount in the compiling process, the invention also processes the original code of the standard model, and the standard model comprises an original code module and a script dividing module, as shown in reference to FIG. 2; the original code module comprises all original codes of the standard model, and the script dividing module is used for dividing the original codes into a plurality of available compiling functional codes according to the functions and code properties of the standard model. Each script dividing module corresponds to one compiling channel respectively, when the compiling module initiates a compiling request, the compiling module enters a function code compiling interface through the corresponding compiling channel according to the type to be compiled, and the function code after the compiling is automatically refreshed into the original code.
In one aspect, the function codes referred to in the present invention refer to codes corresponding to specific functions in the standard model, and the frame codes of the standard model are not included here. For example, in a login module, for the password verification mode, assume that the verification step in the standard model includes two steps, 1, waiting for the user to completely input the password and clicking for confirmation, 2, verifying whether the password is consistent with the preset password; then in the target system, if the verification mode is considered to be poor, the part of code is compiled if improvement is needed, and the part of code is independently stored in a script-dividing module and named, the naming mode can adopt the function naming of the script-dividing module, for example, the code verification algorithm is named. In addition, the functional module may be a formulation of some communication protocols, some specific algorithms, for example, in some algorithm systems, a standard model adopts a bubbling method for sorting, and the target system needs to use a cocktail sorting algorithm, so that the target system can compile the cocktail sorting algorithm correspondingly. After compiling, refreshing the function code into the original code, and when refreshing, carrying out corresponding integral complete replacement according to the line number position of the function code in the original code, wherein the process is automatically completed by the system.
More preferably, the compiling is repeated in order to ensure that the compiling does not destroy the original standard model. The calling mode of the standard model is a replication mode, namely, after the standard model is determined to be called, the replication copy of the standard model is extracted into a calling terminal to be compiled or used, and the refreshed original code covers the original code in the replication copy.
In another aspect, in order to implement the above operation, the calling terminal includes an operation interface for man-machine interaction, and the operation interface includes:
the search bar is used for searching a standard model of the requirement;
and the compiling request column is connected with the compiling module and used for initiating a compiling request.
On the other hand, in order to improve compiling efficiency, the standard model is configured with a design document description, and after the calling terminal searches the standard model through the search field, the design document description is consulted through the checking option, so that the content to be compiled can be quickly determined to perform corresponding operation. The design document description at least comprises basic information of a framework description, a processing algorithm and a communication protocol of the standard model.
Finally, the invention also comprises a rendering module which is connected with the calling terminal, and the target system is formed by the rendering module according to the preset rendering design after the compiled standard models are combined.
The foregoing is merely a preferred embodiment of the invention, and it is to be understood that the invention is not limited to the form disclosed herein but is not to be construed as excluding other embodiments, but is capable of numerous other combinations, modifications and environments and is capable of modifications within the scope of the inventive concept, either as taught or as a matter of routine skill or knowledge in the relevant art. And that modifications and variations which do not depart from the spirit and scope of the invention are intended to be within the scope of the appended claims.

Claims (7)

1. A method of quickly building a set of systems, comprising:
the system comprises standard models of at least one type of universal component and call terminals connected with the standard models, wherein a call request is initiated to the standard models through the call terminals;
the compiling module is connected with the standard model and the calling terminal, the calling terminal selects whether to compile after calling the standard model, and the standard model is directly loaded without compiling;
when compiling is needed, a compiling request is initiated to the compiling module by a calling terminal and enters a compiling interface;
a plurality of compiling channels are established between the compiling module and the standard model, and each compiling channel corresponds to one compiling type;
the standard model comprises an original code module and a script dividing module; the original code module comprises all original codes of the standard model, and the script dividing module is a plurality of compiling functional codes which divide the original codes into according to the functions and code properties of the standard model; each script dividing module corresponds to one compiling channel respectively, when the compiling module initiates a compiling request, the compiling module enters a function code compiling interface through the corresponding compiling channel according to the type to be compiled, and the function code after the compiling is automatically refreshed into the original code.
2. A method for quickly building a set of a system according to claim 1, wherein the calling mode of the standard model is a replication mode, namely, after determining to call the standard model, the replication copy of the standard model is extracted into a calling terminal for compiling or using, and the refreshed original code covers the original code in the replication copy.
3. A method of building a system quick construction set according to claim 2, wherein the function code does not comprise framework code of the standard model.
4. A method of quickly building a system according to claim 3, wherein the call terminal comprises an operation interface for man-machine interaction, the operation interface comprising:
the search bar is used for searching a standard model of the requirement;
and the compiling request column is connected with the compiling module and used for initiating a compiling request.
5. A method of quickly building a set of systems according to claim 4, wherein the standard model is provided with a design document description, and the design document description is consulted by a check option after the standard model is found by the call terminal through the search field.
6. A method of quickly building a set of systems according to claim 5, characterized in that the design document description comprises at least information of the framework description, the processing algorithm, the communication protocol of the standard model.
7. A method of building a system quick assembly according to any one of claims 1-6, further comprising a rendering module, said rendering module being connected to the call terminal, wherein the compiled standard models are combined to form the target system according to a predetermined rendering design by said rendering module.
CN202010481144.9A 2020-05-31 2020-05-31 Method for quickly building assembly by system Active CN111651147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010481144.9A CN111651147B (en) 2020-05-31 2020-05-31 Method for quickly building assembly by system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010481144.9A CN111651147B (en) 2020-05-31 2020-05-31 Method for quickly building assembly by system

Publications (2)

Publication Number Publication Date
CN111651147A CN111651147A (en) 2020-09-11
CN111651147B true CN111651147B (en) 2023-06-30

Family

ID=72346843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010481144.9A Active CN111651147B (en) 2020-05-31 2020-05-31 Method for quickly building assembly by system

Country Status (1)

Country Link
CN (1) CN111651147B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700934A (en) * 2016-02-19 2016-06-22 陕西瑞亚智能技术有限公司 Intelligent compiling method and intelligent compiling system
US10437572B1 (en) * 2018-08-03 2019-10-08 King Fahd University Of Petroleum And Minerals Methods, computer readable media, and systems for compiling concise expressive design pattern source code
CN110673853A (en) * 2019-09-25 2020-01-10 中国工商银行股份有限公司 Compiling method, device and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8327316B2 (en) * 2008-09-30 2012-12-04 Ics Triplex Isagraf Inc. Compilation model
US10417314B2 (en) * 2012-06-14 2019-09-17 Open Text Sa Ulc Systems and methods of a script generation engine
CN105843648A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Compiling application updating method and system
CN107066309A (en) * 2017-05-05 2017-08-18 北京凤凰理理它信息技术有限公司 Entry template sharing method, system, computer program and electronic equipment
US10162613B1 (en) * 2017-07-18 2018-12-25 Sap Portals Israel Ltd. Re-usable rule parser for different runtime engines
CN107704243B (en) * 2017-10-19 2020-12-01 用友网络科技股份有限公司 Front-end interface construction method and device, computer equipment and storage medium
CN108595221B (en) * 2018-04-26 2021-04-06 Oppo广东移动通信有限公司 Plug-in loading method, device, server and storage medium of PaaS platform
CN110908667B (en) * 2019-11-18 2021-11-16 北京迈格威科技有限公司 Method and device for joint compilation of neural network and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700934A (en) * 2016-02-19 2016-06-22 陕西瑞亚智能技术有限公司 Intelligent compiling method and intelligent compiling system
US10437572B1 (en) * 2018-08-03 2019-10-08 King Fahd University Of Petroleum And Minerals Methods, computer readable media, and systems for compiling concise expressive design pattern source code
CN110673853A (en) * 2019-09-25 2020-01-10 中国工商银行股份有限公司 Compiling method, device and system

Also Published As

Publication number Publication date
CN111651147A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US11789715B2 (en) Systems and methods for transformation of reporting schema
CN110442326B (en) Method and system for simplifying front-end and back-end separation authority control based on Vue
CN100383745C (en) Facilitating allocation of resources in a heterogeneous computing environment
CN102789382B (en) For the system and method that list generates and runs
JPH04353957A (en) Programmable interface system and method thereof
JP6412276B2 (en) Virtual machine creation method and apparatus
CN1193775A (en) Soft read-only storage (ROS)
CN1976320B (en) Data access control method and system
CN111651147B (en) Method for quickly building assembly by system
CN113641360A (en) Method, device and equipment for configuring system front end and storage medium
CN109246077B (en) Distributed concurrent transaction verification method, device and computer storage medium
CN110674119A (en) Data processing method, system and computer readable storage medium
CN101387963A (en) Method and system for optimizing system integration
CN112540813B (en) Application generation method based on workflow engine
CN109857380B (en) Workflow file compiling method and device
CN114171107A (en) Detection method, device, equipment and storage medium for VPD information of solid state disk
CN109117176B (en) Version automatic deployment method and system based on host
CN113468446A (en) Method, system and equipment for supporting identification of third-party two-dimensional code data
CN113034048A (en) Task processing method, device, server and storage medium
CN113296847A (en) Workflow engine implementation method based on self-analysis node
CN100336025C (en) Method and apparatus for internal memory data base synchronous data
CN112836479A (en) Data report generation method, system and storage device
CN112417012A (en) Data processing method and system
CN111107140A (en) System and method for controlling scanner by web application
CN117270843B (en) Program data recommendation management method and system based on blockchain

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
GR01 Patent grant
GR01 Patent grant