CN117093187A - Development method, device, equipment and storage medium of background management system - Google Patents

Development method, device, equipment and storage medium of background management system Download PDF

Info

Publication number
CN117093187A
CN117093187A CN202310968840.6A CN202310968840A CN117093187A CN 117093187 A CN117093187 A CN 117093187A CN 202310968840 A CN202310968840 A CN 202310968840A CN 117093187 A CN117093187 A CN 117093187A
Authority
CN
China
Prior art keywords
management system
background management
project
creating
end project
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
CN202310968840.6A
Other languages
Chinese (zh)
Other versions
CN117093187B (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.)
Guangzhou Yingfeng Network Technology Co ltd
Original Assignee
Guangzhou Yingfeng Network 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 Guangzhou Yingfeng Network Technology Co ltd filed Critical Guangzhou Yingfeng Network Technology Co ltd
Priority to CN202310968840.6A priority Critical patent/CN117093187B/en
Publication of CN117093187A publication Critical patent/CN117093187A/en
Application granted granted Critical
Publication of CN117093187B publication Critical patent/CN117093187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application discloses a development method, a device, equipment and a storage medium of a background management system, and relates to the technical field of computers. The method comprises the following steps: creating a back-end project of a background management system through a scaffold, creating a database of the back-end project, and configuring configuration information of the back-end project; creating a front-end project of a background management system according to the front-end code template, and configuring environment parameters of the front-end project; generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene; and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database. By the technical means, the problem that the standard, the specification and the front-end and back-end technology of the background management system of each department are not uniform in the prior art is solved, the development cost can be reduced, and the development efficiency is improved.

Description

Development method, device, equipment and storage medium of background management system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for developing a background management system.
Background
With the rapid development of game technology, each department of the technical center can build a corresponding background management system according to the game service of each department in order to support the development of the game service, so as to realize front-end service and back-end service according to the background management system.
In the prior art, due to the technical difference among all departments, all departments build background management systems with different styles based on own technology. With the continuous expansion of game services, the number of the background management systems is gradually increased, and the standard, the specification, the front-end and back-end technology selection and the like of the service services provided by each background management system are greatly different, so that the service services or functions provided by each background management system are difficult to reuse. In the face of the situation that the business between each department has coupling, basic service or solution can be universal, the independent development is required to be carried out on each background management system, and the same business function or service of each department is repeatedly developed in different background management systems, so that the resource waste is caused, and the development efficiency is influenced.
Disclosure of Invention
The application provides a development method, a device, equipment and a storage medium of a background management system, which solve the problem of non-uniform standard, standard and front-end and back-end technology model selection of the background management system of each department in the prior art, and can reduce development cost and improve development efficiency.
In a first aspect, the present application provides a method for developing a background management system, including:
creating a back-end project of a background management system through a scaffold, creating a database of the back-end project, and configuring configuration information of the back-end project;
creating a front-end item of the background management system according to a front-end code template, and configuring environmental parameters of the front-end item;
generating a table structure of the database according to a preset data model, wherein the data model is determined based on a service scene;
and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting data in the database.
In a second aspect, the present application provides a development device of a background management system, including:
the back-end project creation module is configured to create a back-end project of a back-end management system through a scaffold, create a database of the back-end project and configure configuration information of the back-end project;
the front-end project creation module is configured to create a front-end project of the background management system according to a front-end code template and configure environment parameters of the front-end project;
the table structure generation module is configured to generate a table structure of the database according to a preset data model, and the data model is determined based on a service scene;
and a service code generation module configured to generate a basic service code of the back-end project and the front-end project through the table structure and the scaffold, the basic service code being used for at least one of creating, updating, reading and deleting data in the database.
In a third aspect, the present application provides a development device of a background management system, including:
one or more processors;
a memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a method of developing a background management system as described in the first aspect.
In a fourth aspect, the present application provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the method of developing a background management system as described in the first aspect.
In the application, a back-end project of a background management system is created through a scaffold, a database of the back-end project is created, and configuration information of the back-end project is configured; creating a front-end project of a background management system according to the front-end code template, and configuring environment parameters of the front-end project; generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene; and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database. Through the technical means, the unified business standard aiming at basic business codes, back-end project development specifications and front-end project development specifications is formulated by integrating the demand items of each department, so that a background management system with unified standards, specifications and front-end and back-end technical selection of each department is developed according to the business standard, the technical threshold and development cost are reduced, and the development efficiency is improved. A set of basic service codes is rapidly generated for basic services through a scaffold, so that the development efficiency is further improved.
Drawings
FIG. 1 is a flowchart of a method for developing a background management system according to an embodiment of the present application;
fig. 2 is a flowchart of creating a backend project based on scaffolds provided by an embodiment of the present application;
FIG. 3 is a flow chart of creating a front-end project provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a development device of a background management system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a development device of a background management system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments of the present application is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In a more common existing implementation mode, due to the technical difference among all departments, all departments build background management systems of different styles based on the own technology. With the continuous expansion of game services, the number of the background management systems is gradually increased, and the standard, the specification, the front-end and back-end technology selection and the like of the service services provided by each background management system are greatly different, so that the service services or functions provided by each background management system are difficult to reuse. In the face of the situation that the business between each department has coupling, basic service or solution can be universal, the independent development is required to be carried out on each background management system, and the same business function or service of each department is repeatedly developed in different background management systems, so that the resource waste is caused, and the development efficiency is influenced.
In order to solve the above-mentioned problems, the present embodiment provides a method for developing a background management system.
The development method of the background management system provided in the embodiment may be executed by a development device of the background management system, where the development device of the background management system may be implemented by software and/or hardware, and the development device of the background management system may be configured by two or more physical entities or may be configured by one physical entity. For example, the development device of the background management system may be a computer.
The development equipment of the background management system is provided with at least one type of operating system, wherein the operating system comprises, but is not limited to, an android system, a Linux system and a Windows system. The development device of the background management system can install at least one application program based on the operating system, and the application program can be an application program of the operating system, or can be an application program downloaded from a third party device or a server. In this embodiment, the development device of the background management system has at least an application program that can execute the development method of the background management system.
For ease of understanding, the present embodiment will be described taking a computer as an example of a main body for executing a development method of a background management system.
Fig. 1 is a flowchart of a development method of a background management system according to an embodiment of the present application.
Referring to fig. 1, the development method of the background management system specifically includes:
s110, creating a back-end project of the background management system through the scaffold, creating a database of the back-end project, and configuring configuration information of the back-end project.
The scaffold is a development tool, and a background management system can be built according to business requirements, so that development efficiency of the background management system is improved. The background management system is a frame with separated front end and rear end, and the embodiment realizes the construction of the background management system by respectively constructing the rear end frame and the front end frame.
In the construction process of the back-end framework, the back-end projects which are unified through a scaffold creation technology based on service requirements and meet service standards are built. In one embodiment, fig. 2 is a flowchart of creating a backend project based on scaffolds provided by an embodiment of the present application. As shown in fig. 2, the steps of creating a back-end project based on the scaffold specifically include S1101-S1102:
s1101, acquiring a back-end code template through a scaffold, and creating an initialized back-end project through the back-end code template.
In this embodiment, the scaffold provides three back-end code templates, which are respectively a code template of a background universal module, a code template containing a website service, and a code template of a multi-service portal, wherein the multi-service comprises a website service, a daemon service, and a timed task process service. The corresponding back-end code template can be selected according to the service requirement to create the corresponding back-end project. Illustratively, in the case of developing a standard background management system, the gt int. Instructions may be used to obtain code templates for the background generic module to create an initialized backend project containing the background generic module based on the code templates of the background generic module. In the case of developing a background management system that can simply meet the demands of a web site, the code template containing the web site service can be acquired using gt init—ms to create an initialization back-end item containing only the web site service based on the code template containing the web site service. Under the condition of developing a background management system capable of meeting complex business, the gt init-ms-a can be used for acquiring a code template of the multi-service portal, and an initialization back-end project of the multi-service portal is created based on the code template of the multi-service portal. It should be noted that, for complex business scenarios, that is, a website service portal is required to provide website services to the outside, and daemon services such as message notification and user portraits are required to support the running of website services, support of a task process may be required in specific scenarios such as daily data statistics and daily activity data cleaning of games.
S1102, downloading the dependency package of the back-end item, and importing the dependency package of the back-end item into the back-end item.
Illustratively, after the initialization back-end item is created, the dependent package of the back-end item is downloaded locally using the instruction go mod tidy, and imported into the back-end item for subsequent direct replenishment and addition when the dependent package is used.
After the back-end project is created, a database of the back-end project is created, data in the database is initialized and set, and user basic information appointed by the database is modified according to the user using the document. And configuring the configuration information of the back-end project according to the configuration information description of the user using the document and/or by combining the actual condition of the back-end project. In this embodiment, the JWT authentication, logging, and service initiation information for the backend project may be configured based on the configuration information specification of the user's use document. By way of example, a user may write a configuration information description in a user use document according to the requirements of the department service for JWT authentication, logging and service initiation information of the backend project in advance, so as to quickly implement the backend requirement, quickly implement the requirement, and improve development efficiency based on the configuration information of the user use document configuration backend project about the JWT authentication, logging and service initiation information.
After the configuration information of the back-end project is configured, the back-end project can be started by using go run main.
In one embodiment, after the configuration of the configuration information of the back-end item is completed, the environment of the back-end item is configured according to the configuration file stored in the resource catalog of the back-end item; the configuration files comprise configuration files of a development environment, a production environment and a test environment. The method includes the steps that three configuration files are stored under a manifest/config resource directory of an initialized back-end project, and different configuration files can be selected by a user according to actual conditions of a background management system according to a development environment, a production environment and a test environment, so that the background management system can be switched among various environments, and application scenes of the background management system are widened.
In this embodiment, when the configuration file selected by the user is config.dev.yaml, the environment in which the backend project is configured is a development environment; when the configuration file selected by the user is config.prod.yaml, configuring the environment of the back-end item as a production environment; when the configuration file selected by the user is config.test.yaml, the environment configuring the back-end item is a test environment. Illustratively, the environment of the backend project is configured as a development environment by the instruction go run main. Go-gf. Gcfg. File = config. Dev. Yaml and the backend project is started; configuring the environment of the back-end item as a production environment by commanding go run main. Go-gf. Gcfg. File=config. Prod. Yaml and starting the back-end item; the environment of the backend project is configured to be the test environment by the instruction go run main. Go-gf. Gcfg. File=config. Test. Yaml and the backend project is started.
S120, creating a front-end project of the background management system according to the front-end code template, and configuring environment parameters of the front-end project.
In the construction process of the front end frame, the front end code template is downloaded to configure the environment parameters of the front end project through the front end code template construction technology unifying and conforming to the front end project of the service standard, and the front end project is started to finish the construction of the front end frame.
In one embodiment, FIG. 3 is a flow chart of creating a front-end project according to an embodiment of the present application. As shown in fig. 3, the step of creating a front-end item specifically includes S1201-S1202:
s1201, downloading a front-end code template through a remote warehouse, creating a front-end item according to the front-end code template, and installing a dependent item of the front-end item.
Illustratively, the instruction gitclone is used to add the address of the remote repository where the front-end code template is stored to download the front-end code template from the remote repository, from which the front-end project is created. The dependency of the front-end item is installed using the instruction pnp minstall.
S1202, configuring environmental parameters in an environmental configuration file of the front-end project according to the user use document.
For example, a user may write corresponding environment parameters in a user usage document in advance according to an environment requirement of a department service on a front-end project, so that when the front-end framework is built, the environment parameters in an environment configuration file (env.
After the environmental parameters of the front-end project are configured, starting the front-end project by using a command pnp run dev, wherein the command pnp run dev is home, and thus completing the construction of the front-end framework.
S130, generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene.
After the back end frame and the front end frame are built, the frame of a back end management system with separated front end and back end is built, and the back end management system comprises jwt authentication, log management, menu management, authority management, user management, link tracking, built-in monitoring and other functions. The business functions of the front-end project and the back-end project are then quickly developed according to the command line tools provided by the scaffold.
Before developing the service function, each department can design a data model corresponding to the service scene in advance according to the service scene of the background management system used by each department. And generating a table structure of a database of a background management system, namely a back-end project, according to a data model corresponding to the service scene, wherein the table structure accords with the technical center database design specification.
And S140, generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database.
In this embodiment, the scaffolding provides a curd code generation template, curd characterization (Create), update, read, and Delete operations, curd defining basic atomic operations for processing data. In this regard, based on the table structure of the database, the curd code generation templates provided by the scaffold may automatically generate the base business codes for the front-end and back-end projects for creating, updating, reading, and/or deleting data in the database. By way of example, after the command gt curd is executed under the root directory of the database, the basic service code can be automatically generated without manual coding, so that the development efficiency is improved.
In an embodiment, the underlying business code generated by the scaffolding may not conform to the code structure of the back-end framework and/or the front-end framework. In this regard, after the basic service code is generated, the code structures of the back-end item and the front-end item may be adjusted based on the basic service code, and the back-end item and the front-end item may be restarted based on the adjusted codes. Illustratively, the code structures of the front end and back end frames are adapted to conform to the code structure of the base service code according to the code structure of the base service code. And running errors can occur when the adjusted front-end items and back-end items continue to run, so that the front-end items and the back-end items need to be restarted, the front-end items and the back-end items run based on the adjusted codes, and the running reliability of the background management system is ensured. In this embodiment, the back-end item is restarted using the instruction go run main. Go, and the front-end item is restarted using the instruction pnp run dev home.
In summary, according to the development method of the background management system provided by the embodiment of the application, a back-end project of the background management system is created through a scaffold, a database of the back-end project is created, and configuration information of the back-end project is configured; creating a front-end project of a background management system according to the front-end code template, and configuring environment parameters of the front-end project; generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene; and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database. Through the technical means, the unified business standard aiming at basic business codes, back-end project development specifications and front-end project development specifications is formulated by integrating the demand items of each department, so that a background management system with unified standards, specifications and front-end and back-end technical selection of each department is developed according to the business standard, the technical threshold and development cost are reduced, and the development efficiency is improved. A set of basic service codes is rapidly generated for basic services through a scaffold, so that the development efficiency is further improved.
On the basis of the above embodiment, fig. 4 is a schematic structural diagram of a development device of a background management system according to an embodiment of the present application. Referring to fig. 4, the development device of the background management system provided in this embodiment specifically includes: a back-end item creation module 21, a front-end item creation module 22, a table structure generation module 23, and a business code generation module 24.
Wherein, the back-end project creation module 21 is configured to create a back-end project of the back-end management system through a scaffold, create a database of the back-end project, and configure configuration information of the back-end project;
a front-end item creation module 22 configured to create a front-end item of the background management system according to the front-end code template, and to configure environmental parameters of the front-end item;
a table structure generating module 23 configured to generate a table structure of a database according to a preset data model, the data model being determined based on the service scenario;
the service code generation module 24 is configured to generate a basic service code of the back-end item and the front-end item through the table structure and the scaffold, the basic service code being used for at least one of creating, updating, reading and deleting data in the database.
On the basis of the above embodiment, the backend project creation module 21 includes: a back-end item creation unit configured to acquire a back-end code template through a scaffold, create an initialized back-end item through the back-end code template; and a dependency package importing unit configured to download the dependency package of the backend item, and import the dependency package of the backend item into the backend item.
On the basis of the embodiment, the back-end code templates comprise code templates comprising a background universal module, code templates comprising website services and code templates of multiple service portals, and the multiple services comprise website services, daemon services and timed task process services.
On the basis of the above embodiment, the backend project creation module 21 includes: an information configuration unit configured to configure JWT authentication, log, and service initiation information of the backend project based on a configuration information specification of a user use document.
On the basis of the above embodiment, the backend project creation module 21 further includes: the environment configuration unit is configured to configure the environment of the back-end project according to the configuration file stored in the resource catalog of the back-end project after the configuration information of the back-end project is configured; the configuration files comprise configuration files of a development environment, a production environment and a test environment.
On the basis of the above embodiment, the front-end item creation module 22 includes: a front-end item creation unit configured to download a front-end code template through the remote repository, create a front-end item according to the front-end code template, install a dependency item of the front-end item; and the environment parameter configuration unit is configured to configure the environment parameters in the environment configuration file of the front-end project according to the user use document.
On the basis of the above embodiment, the development device of the background management system further includes: and the project restarting module is configured to adjust the code structures of the back-end project and the front-end project based on the basic service codes after generating the basic service codes of the back-end project and the front-end project through the table structure and the scaffold, and restart the back-end project and the front-end project based on the adjusted codes.
In the development device of the background management system provided by the embodiment of the application, the back-end project of the background management system is created through the scaffold, the database of the back-end project is created, and the configuration information of the back-end project is configured; creating a front-end project of a background management system according to the front-end code template, and configuring environment parameters of the front-end project; generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene; and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database. Through the technical means, the unified business standard aiming at basic business codes, back-end project development specifications and front-end project development specifications is formulated by integrating the demand items of each department, so that a background management system with unified standards, specifications and front-end and back-end technical selection of each department is developed according to the business standard, the technical threshold and development cost are reduced, and the development efficiency is improved. A set of basic service codes is rapidly generated for basic services through a scaffold, so that the development efficiency is further improved.
The development device of the background management system provided by the embodiment of the application can be used for executing the development method of the background management system provided by the embodiment, and has corresponding functions and beneficial effects.
Fig. 5 is a schematic structural diagram of a development device of a background management system according to an embodiment of the present application, and referring to fig. 5, the development device of the background management system includes: a processor 31, a memory 32, a communication device 33, an input device 34 and an output device 35. The number of processors 31 in the development device of the background management system may be one or more, and the number of memories 32 in the development device of the background management system may be one or more. The processor 31, the memory 32, the communication device 33, the input device 34, and the output device 35 of the development apparatus of the background management system may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the development method of the background management system according to any of the embodiments of the present application (e.g., the back-end item creation module 21, the front-end item creation module 22, the table structure generation module 23, and the business code generation module 24 in the development device of the background management system). The memory 32 may mainly include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the device, etc. In addition, memory 32 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication means 33 are for data transmission.
The processor 31 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 32, that is, implements the development method of the background management system described above.
The input means 34 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output means 35 may comprise a display device such as a display screen.
The development equipment of the background management system provided by the embodiment can be used for executing the development method of the background management system provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing a method for developing a background management system, the method for developing the background management system comprises the following steps: creating a back-end project of a background management system through a scaffold, creating a database of the back-end project, and configuring configuration information of the back-end project; creating a front-end project of a background management system according to the front-end code template, and configuring environment parameters of the front-end project; generating a table structure of a database according to a preset data model, wherein the data model is determined based on a service scene; and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting the data in the database.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the development method of the background management system, and may also perform the related operations in the development method of the background management system provided in any embodiment of the present application.
The development device, the storage medium, and the development apparatus of the background management system provided in the foregoing embodiments may perform the development method of the background management system provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may be referred to the development method of the background management system provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous modifications, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit of the application, the scope of which is set forth in the following claims.

Claims (10)

1. A method for developing a background management system, comprising:
creating a back-end project of a background management system through a scaffold, creating a database of the back-end project, and configuring configuration information of the back-end project;
creating a front-end item of the background management system according to a front-end code template, and configuring environmental parameters of the front-end item;
generating a table structure of the database according to a preset data model, wherein the data model is determined based on a service scene;
and generating basic service codes of the back-end project and the front-end project through the table structure and the scaffold, wherein the basic service codes are used for at least one of creating, updating, reading and deleting data in the database.
2. The method for developing a background management system according to claim 1, wherein the creating a back-end project of the background management system by scaffolding comprises:
acquiring a back-end code template through the scaffold, and creating an initialized back-end project through the back-end code template;
and downloading the dependency package of the back-end item, and importing the dependency package of the back-end item into the back-end item.
3. The method of claim 2, wherein the back-end code templates comprise code templates comprising a back-end generic module, code templates comprising web services, and code templates for multiple service portals, the multiple services comprising web services, daemon services, and timed task process services.
4. The method for developing a background management system according to claim 1, wherein the configuring the configuration information of the back-end item comprises:
and configuring JWT authentication, log and service start information of the back-end item based on the configuration information description of the user using the document.
5. The method for developing a background management system according to claim 1, further comprising, after the configuring of the configuration information of the back-end item:
configuring the environment of the back-end project according to the configuration file stored in the resource catalog of the back-end project; wherein the configuration files comprise configuration files of a development environment, a production environment and a test environment.
6. The method for developing a background management system according to claim 1, wherein creating a front-end item of the background management system from a front-end code template, configuring an environmental parameter of the front-end item, comprises:
downloading a front-end code template through a remote warehouse, creating a front-end item according to the front-end code template, and installing a dependent item of the front-end item;
and configuring environmental parameters in the environmental configuration file of the front-end project according to the user use document.
7. The method of developing a background management system according to claim 1, further comprising, after the generating of the basic service codes of the back-end project and the front-end project by the table structure and the scaffold:
and adjusting the code structures of the back-end items and the front-end items based on the basic service codes, and restarting the back-end items and the front-end items based on the adjusted codes.
8. A development device of a background management system, comprising:
the back-end project creation module is configured to create a back-end project of a back-end management system through a scaffold, create a database of the back-end project and configure configuration information of the back-end project;
the front-end project creation module is configured to create a front-end project of the background management system according to a front-end code template and configure environment parameters of the front-end project;
the table structure generation module is configured to generate a table structure of the database according to a preset data model, and the data model is determined based on a service scene;
and a service code generation module configured to generate a basic service code of the back-end project and the front-end project through the table structure and the scaffold, the basic service code being used for at least one of creating, updating, reading and deleting data in the database.
9. A development device of a background management system, comprising:
one or more processors;
a memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of developing a background management system of any of claims 1-7.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of developing a background management system according to any of claims 1-7.
CN202310968840.6A 2023-08-02 2023-08-02 Development method, device, equipment and storage medium of background management system Active CN117093187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310968840.6A CN117093187B (en) 2023-08-02 2023-08-02 Development method, device, equipment and storage medium of background management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310968840.6A CN117093187B (en) 2023-08-02 2023-08-02 Development method, device, equipment and storage medium of background management system

Publications (2)

Publication Number Publication Date
CN117093187A true CN117093187A (en) 2023-11-21
CN117093187B CN117093187B (en) 2024-04-16

Family

ID=88776268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310968840.6A Active CN117093187B (en) 2023-08-02 2023-08-02 Development method, device, equipment and storage medium of background management system

Country Status (1)

Country Link
CN (1) CN117093187B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343835A (en) * 2018-08-28 2019-02-15 苏州浪潮智能软件有限公司 A kind of rapid build business scaffold code instrumentation based on template
CN113791778A (en) * 2020-11-18 2021-12-14 北京沃东天骏信息技术有限公司 Software project generation method and device, electronic equipment and storage medium
WO2023039741A1 (en) * 2021-09-15 2023-03-23 国云科技股份有限公司 Online development method and apparatus based on microservice system, device, and storage medium
CN116048467A (en) * 2022-12-23 2023-05-02 海尔优家智能科技(北京)有限公司 Micro-service development platform and business system development method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343835A (en) * 2018-08-28 2019-02-15 苏州浪潮智能软件有限公司 A kind of rapid build business scaffold code instrumentation based on template
CN113791778A (en) * 2020-11-18 2021-12-14 北京沃东天骏信息技术有限公司 Software project generation method and device, electronic equipment and storage medium
WO2023039741A1 (en) * 2021-09-15 2023-03-23 国云科技股份有限公司 Online development method and apparatus based on microservice system, device, and storage medium
CN116048467A (en) * 2022-12-23 2023-05-02 海尔优家智能科技(北京)有限公司 Micro-service development platform and business system development method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚素红;: "基于Java的Web应用系统开发模式", 江苏工程职业技术学院学报, no. 01, 25 March 2018 (2018-03-25) *

Also Published As

Publication number Publication date
CN117093187B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN110389900B (en) Distributed database cluster testing method and device and storage medium
WO2021135584A1 (en) Front-end project framework construction method and apparatus, computer device, and storage medium
US8510720B2 (en) System landscape trace
CN1936844A (en) Method and system for updating software
CN106201563A (en) The method and apparatus that the collocation method of start-up parameter and device, mainboard start
CN105183520A (en) Automatic remote installing and debugging method and system for computer software
CN113946323A (en) Online development method, device, equipment and storage medium based on micro-service system
CN115292026A (en) Management method, device and equipment of container cluster and computer readable storage medium
CN111147571B (en) Distributed task scheduling method, device, system, storage medium and electronic equipment
CN117093187B (en) Development method, device, equipment and storage medium of background management system
CN114020340A (en) Server system and data processing method thereof
CN104104701A (en) Online service configuration updating method and system
CN111367804B (en) Method for realizing front-end cooperative debugging based on cloud computing and network programming
CN113254045A (en) Software initialization method, system and computer readable storage medium
CN111897738A (en) Automatic testing method and device based on atomic service
CN110888669B (en) Method and system for creating template engineering on IDE
CN115630835A (en) Activity-based workflow general parameter configuration method and system
CN110874713A (en) Service state management method and device
CN114928536B (en) Automatic network changing method and device
TWM468695U (en) Cloud connection monitoring system for processing equipment
CN116225624B (en) Bare metal management method, system and device based on kubernets
CN114928536A (en) Automatic network change method and device
CN113537954B (en) Project milestone processing method and device, storage medium and electronic equipment
CN109783756B (en) Website creation method, server and computer readable storage medium
CN116431308A (en) Multi-algorithm scheduling method, device, 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
GR01 Patent grant