Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Modularized programming method and device, storage medium and electronic equipment

A programming method and modular technology, applied in the computer field, can solve the problems of heavy workload and low development efficiency, and achieve the effect of reducing code writing, improving reuse and development efficiency

Pending Publication Date: 2020-04-28
RUN TECH CO LTD BEIJING
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of Java project development, the writing of the code requires developers to manually write the implementation, the workload is heavy, and the development efficiency is low.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Modularized programming method and device, storage medium and electronic equipment
  • Modularized programming method and device, storage medium and electronic equipment
  • Modularized programming method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a schematic flowchart of a modular programming method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of realizing fast programming. This method can be executed by the modular programming device provided by the embodiment of the present invention. The device can be software and / or hardware, the method specifically includes the following steps:

[0024] S110. Acquiring database tables and business requirements.

[0025] S120. Create a preset program module, and in the preset program module, determine a basic program corresponding to the business requirement.

[0026] S130. Update the basic program in each program module according to the field data in the database table to generate a target program.

[0027] In this embodiment, modular programming is performed under the framework of SpringBoot+Spring+SpringMVC+Mybatis. Among them, the object program automatically generated based on the above-mentioned mod...

Embodiment 2

[0068] Figure 4 It is a schematic structural diagram of a modular programming device provided in Embodiment 2 of the present invention, and the device includes:

[0069] Database table acquisition module 210, used to acquire database tables and business requirements;

[0070] A preset program module creation module 220, configured to create a preset program module, in which a basic program corresponding to the business requirement is determined;

[0071] The object program generating module 230 is configured to update the basic programs in the program modules according to the field data in the database table, and generate an object program.

[0072] Optionally, the database table acquisition module 210 includes:

[0073] Create a parameter acquisition unit for acquiring the creation parameters of the database table;

[0074] The database table creation unit is configured to create a database table in the database according to the creation parameters of the database table, ...

Embodiment 3

[0090] Figure 5 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. Figure 5 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the invention is shown. Figure 5 The electronic device 12 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.

[0091] Such as Figure 5 As shown, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.

[0092]Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a modular programming method and device, a storage medium and an electronic device. The method comprises: obtaining a database table and a service demand; creating a preset program module, and determining a basic program corresponding to the service demand in the preset program module; and updating the basic program in each program module according to the field data in thedatabase table to generate a target program. Based on the technical scheme, developers of the target program only need to complete design of the database table, the target program can be generated ina one-key mode based on the database table, code writing of developers is reduced, and reuse and development efficiency of basic programs is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular to a modular programming method, device, storage medium and electronic equipment. Background technique [0002] With the continuous development of computer technology, JAVA technology has become an important technology for project research and development. For conventional Java project development, the background code uses a layered architecture design. Since the project adopts a layered structure design, multiple open source frameworks need to be integrated; common background frameworks are based on SpringBoot+Spring+SpringMVC+Mybatis integration, Spring provides a container to implement Javabean management and dependency injection, SpringMVC provides a Web request interface, and MyBatis provides operations on the database. [0003] However, in the Java project development process, code writing requires developers to manually write and implement, wh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30
CPCG06F8/31
Inventor 韦香良张志远万月亮
Owner RUN TECH CO LTD BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products