CN112631563A - System development method and device based on framework, computer equipment and storage medium - Google Patents

System development method and device based on framework, computer equipment and storage medium Download PDF

Info

Publication number
CN112631563A
CN112631563A CN202011450281.2A CN202011450281A CN112631563A CN 112631563 A CN112631563 A CN 112631563A CN 202011450281 A CN202011450281 A CN 202011450281A CN 112631563 A CN112631563 A CN 112631563A
Authority
CN
China
Prior art keywords
module
library
file
framework
static
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.)
Pending
Application number
CN202011450281.2A
Other languages
Chinese (zh)
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.)
Beijing Feixun Digital Technology Co ltd
Original Assignee
Beijing Feixun Digital 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 Beijing Feixun Digital Technology Co ltd filed Critical Beijing Feixun Digital Technology Co ltd
Priority to CN202011450281.2A priority Critical patent/CN112631563A/en
Publication of CN112631563A publication Critical patent/CN112631563A/en
Pending legal-status Critical Current

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 embodiment of the invention discloses a frame-based system development method, a frame-based system development device, computer equipment and a storage medium. The method comprises the following steps: building at least one module based on the framework in a system project folder, wherein the framework comprises a static file library and a universal component library, the universal component library comprises the same data used for calling at least two modules, each module has a dependency relationship with the universal component library, and the static files depended by each module are stored in the static file library; and compiling and operating the system project folder to form a system file package, and issuing the system file package. The embodiment of the invention can improve the development and updating efficiency of the system.

Description

System development method and device based on framework, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of software development, in particular to a system development method and device based on a framework, computer equipment and a storage medium.
Background
With the increase of platform services, repeated codes of service logics are increased, function affiliation is disordered, service redundancy function coupling is gradually strengthened, front-end and back-end resource loading gradually meets performance bottlenecks, and development, testing, deployment, maintenance and the like are increasingly difficult.
In the process of product and project development, functions and services related to user requirements are different and consistent. In order to save development cost and improve development efficiency, the modularized idea is adopted to isolate codes belonging to the same function or service, the codes are divided into different types of module service frames according to project function requirements, the modules operate independently, and the transverse partitioning (service frame layer) framework is adopted for positioning, so that high coupling, low cohesion, no reuse, easy deployment and the like are realized.
However, the above method has high code repeatability of the horizontal module, and when the code is changed according to the requirement, the static file or the repeated code in each module needs to be replaced or modified.
Disclosure of Invention
The embodiment of the invention provides a frame-based system development method, a frame-based system development device, computer equipment and a storage medium, which can improve the development and updating efficiency of a system.
In a first aspect, an embodiment of the present invention provides a method for developing a system based on a framework, including:
building at least one module based on the framework in a system project folder, wherein the framework comprises a static file library and a universal component library, the universal component library comprises the same data used for calling at least two modules, each module has a dependency relationship with the universal component library, and the static files depended by each module are stored in the static file library;
and compiling and operating the system project folder to form a system file package, and issuing the system file package.
In a second aspect, an embodiment of the present invention provides a framework-based system development apparatus, including:
the framework-based development module is used for constructing at least one module in a system project folder based on the framework, wherein the framework comprises a static file library and a universal component library, the universal component library comprises the same data used for calling at least two modules, each module has a dependency relationship with the universal component library, and the static files on which the modules depend are stored in the static file library;
and the packaging and issuing module is used for compiling and operating the system project folder to form a system file package and issuing the system file package.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the framework-based system development method according to any one of the embodiments of the present invention when executing the computer program.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the framework-based system development method according to any one of the embodiments of the present invention.
The embodiment of the invention extracts and configures the same functions and data in a plurality of modules in the universal component library by pre-configuring the framework comprising the universal component library and the static file library and constructing the modules based on the framework so as to be convenient for calling each module, and configures the static resources depending on each module in the same static file library, thereby being convenient for centralized management, solving the problems of high code repetition rate and high updating and modifying cost of modules in transverse development in the prior art, being capable of centrally managing and updating the same data between the modules, reducing code repetitive development, improving system development efficiency and improving system updating efficiency.
Drawings
FIG. 1 is a flow chart of a method for developing a framework-based system according to a first embodiment of the present invention;
FIG. 2a is a flowchart of a framework-based system development method according to a second embodiment of the present invention;
FIG. 2b is a diagram of a static document library according to a second embodiment of the present invention;
FIG. 2c is a diagram of a general component library according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a framework-based system development apparatus according to a third embodiment of the present invention;
fig. 4 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 flowchart of a framework-based system development method in a first embodiment of the present invention, where this embodiment is applicable to a system development situation, and the method may be executed by a framework-based system development apparatus provided in the first embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner, and may be generally integrated into a computer device. As shown in fig. 1, the method of this embodiment specifically includes:
s110, at least one module is constructed in a system project folder based on the framework, wherein the framework comprises a static file library and a universal component library, the universal component library comprises the same data used for calling at least two modules, the modules and the universal component library have dependency relations, and the static files depended by the modules are stored in the static file library.
The system project folder is used for bearing data associated with a plurality of modules forming the system. During system development, the written files are configured in the system project folder. The framework is used for providing general data for each module. The frame is a code file and an associated file which are customized in advance. The framework can be a class formed by data with the same function extracted by each module. Specifically, the framework may be a custom class as desired. Specifically, the framework includes a static file library and a generic component library. The static file library is used for bearing static files depended by the modules, and the general component library is used for bearing general components depended by the modules and general data. The generic component library comprises the same generic components for at least two module calls and/or the same generic data acquired by at least two modules. And storing the static files depended by the general components in the general component library in the static file library. The general-purpose component is used for calling the module at runtime, and the general-purpose data and the static file are used for reading at the runtime of the module.
The same functions in each module can be extracted to form a universal component, and the universal component is called when the modules run; meanwhile, the same data in each module can be extracted to form general data, and the general data is acquired when the modules run and stored in a general component library, so that unified management is facilitated. Moreover, when the addition, deletion, modification and the like of the general functions of each module are required, only the addition, deletion, modification and the like of the general components in the general component library are required. Meanwhile, the static files depended by the modules are extracted and stored in a static file library, so that unified management is facilitated. When the static files of each module need to be added, deleted, modified and the like, only the static files corresponding to the query need to be added, deleted, modified and the like in the static file library.
And S120, compiling and running the system project folder to form a system file package, and issuing the system file package.
And compiling and operating the system project folder to form a system file package, and packaging data in the system project folder to form the system file package. The system file package is used for downloading for any computer equipment, is deployed in any computer equipment and runs, and achieves the functions of the system. The system file package release is used for disclosing the download link to each user terminal so as to enable the user terminal to download the system file package.
The embodiment of the invention extracts and configures the same functions and data in a plurality of modules in the universal component library by pre-configuring the framework comprising the universal component library and the static file library and constructing the modules based on the framework so as to be convenient for calling each module, and configures the static resources depending on each module in the same static file library, thereby being convenient for centralized management, solving the problems of high code repetition rate and high updating and modifying cost of modules in transverse development in the prior art, being capable of centrally managing and updating the same data between the modules, reducing code repetitive development, improving system development efficiency and improving system updating efficiency.
Example two
Fig. 2a is a flowchart of a framework-based system development method according to a second embodiment of the present invention, which is embodied on the basis of the above-mentioned embodiments. The method of the embodiment specifically includes:
s210, in the development environment, a folder of at least one module is constructed in a system project folder.
The development environment may refer to an environment in which module and system development is performed. The folder of the module is used for bearing source code files and the like formed by module development.
Reference may be made to the foregoing embodiments for describing embodiments of the invention without more specificity.
And S220, acquiring a source code file of at least one module and respectively storing the source code file in a folder matched with each module, wherein the source code file is generated based on the frame, the frame comprises a static file library and a universal component library, the universal component library comprises a universal component used for calling at least two modules and/or universal data acquired by at least two modules, each module has a dependency relationship with the universal component library, and the static file depended by each module is stored in the static file library.
A module-matched folder may refer to a folder that stores various files that the module was developed to form. For example, the identification information may be determined for a module and determined as the identification information of the folder that the module matches, for example, the identification information is the name of the folder, and at this time, the module may be an undeveloped module. The module can be developed based on code development software, and source code files can be generated and stored in a folder matched with the module. Or directly moving the source code file which is developed in advance to the folder matched with the module. The folders matched by the modules are independent of each other, and the folders matched by different modules are different, for example, storage directories are different. The module is used for realizing specific functions, and the realized functional content can be set according to actual conditions. Illustratively, the modules may be used to implement image capture, image processing, audio capture, audio processing, and data transmission functions. The functions of the different modules may be independent or dependent on each other. For example, the output data of one module is the input data of another module, e.g., the output data of the image acquisition module is used as the input data of the image processing module. In another example, the function of the image processing module and the function of the audio processing module are independent of each other. The source code file is generated based on the framework, which may mean that the source code file depends on the general component library, for example, the source code file includes code for calling general components in the general component library.
Illustratively, repeated codes such as authentication, universal tools (utils), databases and the like can be extracted and combined into a universal component in a universal component library, the most important of the universal component library is reuse (multiplexing), the universal component library is positioned at the bottommost layer of a framework, other functions depend on the universal component library and are used by all modules, and the independence is strong.
Each module has a dependency relationship with the general component library, which may mean that the module calls the general component in the general component library and/or the module obtains the general data in the general component library. For example, each module needs to perform an authentication task, and each module can call an authentication component in the general component library. The modules need to adopt a uniform display style, and can acquire general data such as the same user interface resource from a general component library, so that the display styles, such as the same color, of the interactive pages of the modules on the user interface are the same, or the colors and the styles of part of controls are the same.
Wherein, the user can input the control instruction through the control input item in the page matched with the module. The pages that the modules match may be generated from static files that the modules depend on. The static file on which the module depends is used to generate a page that the module matches to run and control the module.
Optionally, the general component library includes at least one of: a universal tool component, a database, a universal user interface resource, and an authentication component.
A common tool component may refer to a tool component used by multiple modules, i.e. a common tool component, e.g. a common tool component may comprise a help component or the like. The database is used for storing data required by each component in the general component library. The universal user interface resources can refer to resources for man-machine interaction, operation logic and interface attractiveness of software, such as picture resources, text resources and the like. The authentication component is used to validate the identity of the user, i.e. to verify whether the user has the right to access the system.
By configuring the universal component library, the same and repeated functions in the module can be flexibly configured, the same management is carried out, and the quick maintenance of the universal functions is realized.
S230, storing the static folders depended by the source code files in the static file library; and each source code file is configured to call a code file associated with the general component library.
Static files may refer to files that are fixed in content, e.g., used by a module, and do not include files without code. For example, the static file may include at least one of: js library, front-end style files and pictures, etc. The modules and the static files on which the general components depend are stored in a common folder (namely a static file library), so that when the static files are modified or replaced, the static files can be immediately embodied on a page without reconstructing projects and modules in the projects, intensively managing styles and unifying convenient styles.
Optionally, the static document library further includes: a general cascading style sheet library; and the cascading style sheet in the general cascading style sheet library is used for reading each module and generating corresponding style webpage elements.
Cascading Style Sheets (CSS) are used to describe the Style and layout of web page elements, such as the font, color, size, and title background image of a title element. The universal cascading style sheet is used for constructing the uniform style webpage elements. Multiple modules can generate the same style web page elements by using the same cascading style sheet. The universal cascading style sheet library stores cascading style sheets of the same webpage element style used by the modules. The module can read the cascading style sheet during operation, and carries out webpage rendering and layout to form a webpage matched with the module.
Meanwhile, a Less CSS preprocessing language is adopted to develop CSS files, when a cascading style sheet is modified, the Less language can be directly adopted to modify the cascading style sheet files in a general cascading style sheet library, and styles of corresponding webpage elements in modules reading the same cascading style sheet can be modified in a unified mode.
By extracting the same cascading style sheet in each module and storing the same cascading style sheet in the general cascading style sheet library for unified management, the corresponding style in the module for reading the same cascading style sheet can be quickly modified, and the modification efficiency of the webpage element style is improved
S240, compiling and running the system project folder to form a system file package, and issuing.
Optionally, the method for developing a system based on a framework further includes: acquiring a webpage jump routing configuration file in a system project folder; and storing the routing configuration information of each module in the webpage jump routing configuration file.
The webpage jump routing configuration file is used for uniformly configuring jump paths corresponding to the webpage of each module. And the routing configuration information of the module is used for jumping to the webpage of the module when being read. The routing configuration information of each module is stored in the webpage jump routing configuration file, so that the routing information of each module can be uniformly managed, and the configuration efficiency of the routing information is improved.
Optionally, the method for developing a system based on a framework further includes: updating the target module; compiling and running the updated target module, and updating the system file package; or compiling and running the updated system project folder, and updating the system file package.
Independent compiling and running codes are configured for each module, compiling and running codes of the whole system are configured in a system project folder, a certain module or all modules (namely the whole system) can be selected to be compiled and run as required, flexible selection of partial systems or the whole system to be packaged is achieved, the system file package can be updated only by packaging the updated part, the situation that the system file package can only be updated only by packaging the whole system is reduced, and the updating efficiency of the system file package is improved.
In a specific application scenario, optionally, the system is an audio/video scheduling transmission system; the module comprises at least one of: the system comprises a video conference module, a video monitoring module, a video call module and a video scheduling module.
The method for developing the system based on the framework in the embodiment of the invention can be used for respectively writing code files of a video conference module, a video monitoring module, a video call module, a video scheduling module and the like, calling components in a general component library from the code files of the modules, selectively reading a general cascading style sheet library in a static file library, storing related static files in the static file library, and setting routing configuration information in a webpage skip routing configuration file. And after the development is finished, compiling and operating the system project folder to form a system file package. After the packaging is completed, when the module needs to be modified, the module can be compiled and operated only, and the system file package is updated. And installing the system file package in computer equipment, establishing an audio and video scheduling transmission system, and realizing operation and maintenance of equipment with different models.
In one specific example:
shown below the frame structure after the project is built,
frame structure
Structure-lib folder
Structure-static folder
Contact-template file
Construct-general component library jar package
Construct-other documents or folders
The frame folders comprise a lib folder, a static folder (static file library), a template folder, a universal component library jar package and the like. The lib folder is used for storing data of function calls. The template folder (template) is used to store the template file. Static file library in frame as shown in fig. 2b, since the static file library is built outside the jar package, when the static file is modified or replaced, it can be immediately embodied on the page. Wherein, the cascading style sheet is an independent cascading style sheet used by each module. The general cascading style sheet is the same cascading style sheet used among all the modules, and provides a modification interface of Less language so as to quickly adjust the cascading style sheet.
In the framework, the general component library jar package judges a project deployment environment (a development environment and a formal environment), an operating module and the like, and reads and loads related files. Therefore, after each module introduces the universal component library, the current project deployment environment can be judged, the module identification can be detected, and the relevant files can be read and loaded, so that the module introducing the universal component library can be ensured to correctly load the relevant files, and the module can realize the functions provided by the universal component library. The structure of the generic component library is shown in FIG. 2 c.
After modular development, the structure of the universal component library is as follows:
general component library
Construct-excel folder
Structure-lib folder
Structure-log folder
Construct-xml folder
Construct-other documents or folders
The universal component library folder comprises an excel folder, a lib folder, a log folder, an xml folder and the like. The log folder is used for storing log information, and the xml folder is used for storing routing configuration information, namely a webpage jump routing configuration file. The excel folder is used for storing excel data.
Illustratively, the business module folder structure is as follows:
business module folder
Structure-lib folder
construct-Business module folder jar package
Construct-other documents or folders
The lib folder structure of the business module is as follows:
lib folder of Business module folder
Construct-general component library jar package
Construct-other documents or folders
The lib folder of the business module contains a general component library jar package as a component reference. When the function in a certain module needs to be modified, only jar of the module needs to be restarted, and the use of the functions of other modules is not influenced.
In the prior art, the construction script only can construct the whole project. After the method provided by the embodiment of the invention is adopted for development, the construction script file is configured in the folder matched with each module, each construction script file can be traversed, all modules and components in a project are constructed by one key, specifically, the existing project construction script can be modified, and a new construction statement is added, for example, the content of the new construction statement is added to the construction script file traversing all sub-modules, a file of compiling dependency and packaging jar is constructed, or the construction script file in the folder matched with a certain module can be appointed and constructed according to the module.
Illustratively, the prior art system project folder structure is:
system project folder
Construct-resource setup
Construct-task
Construction of a directory component
Construction-project installation
| construction-text document
| construct-help
5 | construction-other
L-shaped-authentication
Construct-run arrangement
Wherein the project build file can only build the entire project.
The structure of the system project folder in the invention is as follows:
system project folder
Construct-resource setup
Construct-task
Construction of a directory component
Construction-project installation
| construction-text document
| construct-help
5 | construction-other
L-shaped-authentication
Construct-run arrangement
Construct-first module
Construct-resource setting
| construct-task
Construction of | construction-module
| construction-text document
| construction-assistance
Constructed-otherwise
L-shaped-authentication
Racking-running arrangement
Construct-second module
Construct-resource setting
| construct-task
Construction of | construction-module
| construction-text document
| construction-assistance
Constructed-otherwise
L-shaped-authentication
Racking-running arrangement
……
The system project folder comprises construction files, each module also comprises the construction files, and the project construction files can construct the whole project. The module build files for each module may build a single module.
In summary, after modular development, the original codes with high redundancy and coupling degree are separated and divided into modules, the basic functions depending on all the modules are combined into a general component library, and a static file is constructed into an external folder static file library, so that the modification and replacement do not need to restart the service, and the project migration, construction and module pluggable performance are facilitated.
The embodiment of the invention realizes independent development of modules and depends on the same basic component by dividing the folders of the building modules in the system project folder in the development environment and compiling the source code files of the modules based on the framework so as to call the general components in the general component library in the source code files, extract and store the static files in the static file library, store the static files in the same file library for unified management, reduce the development of repetitive codes, independently and uniformly manage the static files, facilitate the modification of the modules and improve the pluggable property of the system.
EXAMPLE III
Fig. 3 is a schematic diagram of a framework-based system development apparatus according to a third embodiment of the present invention. The third embodiment is a corresponding apparatus for implementing the framework-based system development method provided by the above embodiments of the present invention, and the apparatus may be implemented in a software and/or hardware manner, and may be generally integrated into a computer device.
Accordingly, the apparatus of the present embodiment may include:
a framework-based development module 310, configured to build at least one module based on the framework in a system project folder, where the framework includes a static file library and a general component library, the general component library includes the same data for at least two module calls, each module has a dependency relationship with the general component library, and a static file that each module depends on is stored in the static file library;
and the packaging and publishing module 320 is configured to compile and run the system project folder to form a system file package, and publish the system file package.
The embodiment of the invention extracts and configures the same functions and data in a plurality of modules in the universal component library by pre-configuring the framework comprising the universal component library and the static file library and constructing the modules based on the framework so as to be convenient for calling each module, and configures the static resources depending on each module in the same static file library, thereby being convenient for centralized management, solving the problems of high code repetition rate and high updating and modifying cost of modules in transverse development in the prior art, being capable of centrally managing and updating the same data between the modules, reducing code repetitive development, improving system development efficiency and improving system updating efficiency.
Further, the architecture-based development module 310 is specifically configured to: in a development environment, building a folder of at least one module in a system project folder; acquiring a source code file of at least one module and respectively storing the source code file in a folder matched with each module, wherein the source code file is generated based on the framework; storing the static folders on which the source code files depend in the static file library; and each source code file is configured to call a code file associated with the general component library.
Further, the static document library further includes: a general cascading style sheet library; and the cascading style sheet in the general cascading style sheet library is used for reading each module and generating corresponding style webpage elements.
Further, the framework-based system development apparatus further includes: the routing configuration module is used for acquiring a webpage jump routing configuration file in a system project folder; and storing the routing configuration information of each module in the webpage jump routing configuration file.
Further, the framework-based system development apparatus further includes: the system updating module is used for updating the target module; compiling and running the updated target module, and updating the system file package; or compiling and running the updated system project folder, and updating the system file package.
Further, the general component library comprises at least one of the following: a universal tool component, a database, a universal user interface resource, and an authentication component.
Further, the system is an audio and video scheduling transmission system; the module comprises at least one of: the system comprises a video conference module, a video monitoring module, a video call module and a video scheduling module.
The frame-based system development device can execute the frame-based system development method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executed frame-based system development method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16. The computer device 12 may be a device that is attached to a high-speed industrial control bus.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, 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 Compact disk Read-Only Memory (CD-ROM), Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 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 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 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 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., Local Area Network (LAN), Wide Area Network (WAN)) via Network adapter 20. As shown, Network adapter 20 communicates with other modules of computer device 12 via bus 18. it should be understood that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including without limitation, microcode, device drivers, Redundant processing units, external disk drive Arrays, (Redundant Arrays of Inesponsive Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a framework-based system development method provided by any of the embodiments of the present invention.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the framework-based system development method provided in all the inventive embodiments of the present application:
that is, the program when executed by the processor implements: building at least one module based on the framework in a system project folder, wherein the framework comprises a static file library and a universal component library, the universal component library comprises the same data used for calling at least two modules, each module has a dependency relationship with the universal component library, and the static files depended by each module are stored in the static file library; and compiling and operating the system project folder to form a system file package, and issuing the system file package.
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 RAM, a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable 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 any of a variety of 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, Radio Frequency (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 LAN or a 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 framework-based system development method, comprising:
building at least one module in a system project folder based on the framework, wherein the framework comprises a static file library and a universal component library, the universal component library comprises universal components used for being called by at least two modules and/or universal data obtained by at least two modules, each module has a dependency relationship with the universal component library, and static files depended by each module are stored in the static file library;
and compiling and operating the system project folder to form a system file package, and issuing the system file package.
2. The method of claim 1, wherein building at least one module based on the framework in a system project folder comprises:
in a development environment, building a folder of at least one module in a system project folder;
acquiring a source code file of at least one module and respectively storing the source code file in a folder matched with each module, wherein the source code file is generated based on the framework;
storing the static folders on which the source code files depend in the static file library; and each source code file is configured to call a code file associated with the general component library.
3. The method of claim 1, wherein the static repository of files further comprises: a general cascading style sheet library; and the cascading style sheet in the general cascading style sheet library is used for reading each module and generating corresponding style webpage elements.
4. The method of claim 1, further comprising:
acquiring a webpage jump routing configuration file in the system project folder;
and storing the routing configuration information of each module in the webpage jump routing configuration file.
5. The method of claim 1, further comprising:
updating the target module;
compiling and running the updated target module, and updating the system file package; or
And compiling and running the updated system project folder, and updating the system file package.
6. The method of claim 1, wherein the generic component library comprises at least one of: a universal tool component, a database, a universal user interface resource, and an authentication component.
7. The method of claim 1, wherein the system is an audio-video scheduled transmission system; the module comprises at least one of: the system comprises a video conference module, a video monitoring module, a video call module and a video scheduling module.
8. A framework-based system development apparatus, comprising:
the framework-based development module is used for constructing at least one module in a system project folder based on the framework, wherein the framework comprises a static file library and a universal component library, the universal component library comprises universal components used for being called by at least two modules and/or universal data obtained by at least two modules, each module has a dependency relationship with the universal component library, and static files depended by each module are stored in the static file library;
and the packaging and issuing module is used for compiling and operating the system project folder to form a system file package and issuing the system file package.
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 implements the framework-based system development method of any one of claims 1-7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method for framework-based system development according to any one of claims 1 to 7.
CN202011450281.2A 2020-12-09 2020-12-09 System development method and device based on framework, computer equipment and storage medium Pending CN112631563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011450281.2A CN112631563A (en) 2020-12-09 2020-12-09 System development method and device based on framework, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011450281.2A CN112631563A (en) 2020-12-09 2020-12-09 System development method and device based on framework, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112631563A true CN112631563A (en) 2021-04-09

Family

ID=75310235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011450281.2A Pending CN112631563A (en) 2020-12-09 2020-12-09 System development method and device based on framework, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112631563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703790A (en) * 2021-08-12 2021-11-26 北京鲸鲮信息系统技术有限公司 Software framework of Linux system security application and establishing method
CN113986248A (en) * 2021-11-03 2022-01-28 北京字节跳动网络技术有限公司 Code generation method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885299A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 Template processing method, device, computer equipment and storage medium in model development
CN111273898A (en) * 2020-02-25 2020-06-12 安徽以萨数据技术有限公司 Web front-end code automatic construction method, system and storage medium
US20200264848A1 (en) * 2019-02-14 2020-08-20 International Business Machines Corporation Single page application continuous integration, build, and deployment
CN111752560A (en) * 2019-11-25 2020-10-09 京东安联财产保险有限公司 Component generation method and device, computer equipment and computer-readable storage medium
CN111932207A (en) * 2020-08-06 2020-11-13 北京金山云网络技术有限公司 Project data processing method and device, computer equipment and storage medium
CN112015465A (en) * 2020-09-03 2020-12-01 中国平安财产保险股份有限公司 Project engineering configuration publishing method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885299A (en) * 2019-01-23 2019-06-14 平安科技(深圳)有限公司 Template processing method, device, computer equipment and storage medium in model development
US20200264848A1 (en) * 2019-02-14 2020-08-20 International Business Machines Corporation Single page application continuous integration, build, and deployment
CN111752560A (en) * 2019-11-25 2020-10-09 京东安联财产保险有限公司 Component generation method and device, computer equipment and computer-readable storage medium
CN111273898A (en) * 2020-02-25 2020-06-12 安徽以萨数据技术有限公司 Web front-end code automatic construction method, system and storage medium
CN111932207A (en) * 2020-08-06 2020-11-13 北京金山云网络技术有限公司 Project data processing method and device, computer equipment and storage medium
CN112015465A (en) * 2020-09-03 2020-12-01 中国平安财产保险股份有限公司 Project engineering configuration publishing method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703790A (en) * 2021-08-12 2021-11-26 北京鲸鲮信息系统技术有限公司 Software framework of Linux system security application and establishing method
CN113986248A (en) * 2021-11-03 2022-01-28 北京字节跳动网络技术有限公司 Code generation method and device, computer equipment and storage medium
CN113986248B (en) * 2021-11-03 2023-05-16 抖音视界有限公司 Code generation method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10929116B2 (en) Generation of dynamic software models using input mapping with feature definitions
EP3605324B1 (en) Application development method and tool, and storage medium thereof
US20240045850A1 (en) Systems and methods for database orientation transformation
CN109542445A (en) A kind of method and apparatus that Android plug-in unit melts hair
Walls et al. XDoclet in Action (In Action series)
US11514232B2 (en) Multi dimensional rules-based dynamic layouts
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
US11741002B2 (en) Test automation systems and methods using logical identifiers
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
US20230259358A1 (en) Documentation enforcement during compilation
CN110109671B (en) Webpack label size and style conversion method and device
CN113312046A (en) Sub-application page processing method and device and computer equipment
US20200097260A1 (en) Software application developer tools platform
JP6002302B2 (en) Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN101876998A (en) Method and system for editing data
CN113377342B (en) Project construction method and device, electronic equipment and storage medium
CN112764756A (en) Software resource compiling method and corresponding device, equipment and medium
CN113238739A (en) Plug-in development and data acquisition method, device, electronic equipment and medium
CN107608672A (en) A kind of UI module managements, UI module management methods and system
CN112835568A (en) Project construction method and device
KR102397494B1 (en) Low code web development and operating system, and service method using of it
CN113885841A (en) Script generation method and device, electronic equipment and readable medium
CN115113850A (en) Cross-platform application construction and operation method, server, terminal and system
CN111880775A (en) Multi-module layered architecture implementation 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