CN112306504A - Module deployment method, device, equipment and storage medium based on configuration requirements - Google Patents

Module deployment method, device, equipment and storage medium based on configuration requirements Download PDF

Info

Publication number
CN112306504A
CN112306504A CN202011207961.1A CN202011207961A CN112306504A CN 112306504 A CN112306504 A CN 112306504A CN 202011207961 A CN202011207961 A CN 202011207961A CN 112306504 A CN112306504 A CN 112306504A
Authority
CN
China
Prior art keywords
target
module
requirement
basic
package
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
CN202011207961.1A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202011207961.1A priority Critical patent/CN112306504A/en
Publication of CN112306504A publication Critical patent/CN112306504A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of cloud, and discloses a module deployment method, a module deployment device, equipment and a storage medium based on configuration requirements, which are used for improving the multiplexing rate of modules and the flexibility of multi-system development, so that the working efficiency of a deployment system is improved. The module deployment method based on the configuration requirement comprises the following steps: acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object; analyzing according to the information data of the target object to obtain a corresponding target configuration requirement; configuring a module based on a target configuration demand to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the modules into a target basic module package; the target basic module package is deployed to a system corresponding to a target object, in addition, the invention also relates to a block chain technology, and information data of the target object can be stored in the block chain.

Description

Module deployment method, device, equipment and storage medium based on configuration requirements
Technical Field
The invention relates to the technical field of cloud deployment, in particular to a module deployment method, a module deployment device and a storage medium based on configuration requirements.
Background
The current internet finance is rapidly developed and gradually popularized to all cities and all countries. At present, a credit system of a financial industry needs different databases or different functional modules for credit services in different regions, for example, the credit system for the financial industry of beijing city needs to include a basic data auditing function, and the credit system for the financial industry of shanghai city needs to include an appointment function, etc.
In the prior art, when the financial industry in Shanghai city also needs a basic data auditing function, a system with the function needs to be redeveloped, in this case, a large number of repeated codes need to be rededified, and a plurality of sets of systems with the same framework positioning and the same function need to be maintained at the same time, so that the working efficiency is low.
Disclosure of Invention
The invention mainly aims to improve the working efficiency of applying the same functional module to different systems.
The invention provides a module deployment method based on configuration requirements in a first aspect, which comprises the following steps: acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object; analyzing according to the information data of the target object to obtain a corresponding target configuration demand, wherein the target configuration demand comprises a category demand and a function demand; based on the target configuration demand configuration module, obtaining a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package; and deploying the target basic module package to a system corresponding to the target object.
Optionally, in a first implementation manner of the first aspect of the present invention, the analyzing the information data of the target object to obtain a corresponding target configuration requirement, where the target configuration requirement includes a category requirement and a function requirement, and the analyzing includes: analyzing the basic information of the target object to obtain a category requirement; analyzing the demand information of the target object to obtain a function demand; and generating a target configuration demand corresponding to the target object according to the category demand and the function demand.
Optionally, in a second implementation manner of the first aspect of the present invention, the configuring a module based on the target configuration requirement to obtain a target general basic module, a target category basic module, a target function module, and a target data script module, and packaging the target general basic module, the target category basic module, the target function module, and the target data script module into a target basic module package includes: configuring a target general basic module, a target category basic module, a target function module and a target data script module according to the target configuration requirement and a preset configuration rule; and packaging the target general basic module, the target category basic module, the target function module and the target data script module by adopting a preset packaging tool to obtain a target basic module package.
Optionally, in a third implementation manner of the first aspect of the present invention, the configuring, according to the target configuration requirement and a preset configuration rule, a target general basic module, a target category basic module, a target function module, and a target data script module includes: defining a root project name in a preset first file, and calling an initial general basic module, an initial category basic module corresponding to the category requirement, an initial data script module corresponding to the category requirement and an initial target function module corresponding to the function requirement, wherein the root project name is a system name corresponding to a target object; calling a dependency package which is common to the initial general basic module, the initial category basic module, the initial target function module and the initial data script module in a preset second file; in the second file, calling a dependency package corresponding to the initial general basic module to obtain a target general basic module, calling a dependency package corresponding to the initial class basic module to obtain a target class basic module, calling a dependency package corresponding to the initial target function module to obtain a target function module, and calling a dependency package corresponding to the initial data script module to obtain a target data script module.
Optionally, in a fourth implementation manner of the first aspect of the present invention, after the target basic module package is deployed in the system corresponding to the target object, the method for deploying modules based on configuration requirements further includes: acquiring adjustment information data of the target object, and analyzing according to the adjustment information data to obtain a target adjustment configuration requirement, wherein the target adjustment configuration requirement is a target expansion requirement or a target deletion requirement; and acquiring a target adjustment module package according to the target adjustment configuration requirement, and deploying the target adjustment module package into a system corresponding to the target object, wherein the target adjustment module package is a target expansion module package or a target deletion module package.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the acquiring a target adjustment module package according to the target adjustment configuration requirement, and deploying the target adjustment module package into a system corresponding to the target object, where the target adjustment module package is a target extension module package or a target deletion module package, includes: when the target adjustment requirement is a target expansion requirement, decompressing the target basic module packet into a target basic module, and judging whether the target basic module comprises a functional module corresponding to the target expansion requirement; if the target basic module does not comprise a functional module corresponding to the target expansion requirement, searching to obtain a target expansion functional module corresponding to the target expansion requirement; and configuring the target extended function module into a target basic module, packaging the target extended function module and the target basic module to obtain a target extended module package, and deploying the target extended module package into a system corresponding to the target object.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the obtaining a target adjustment module package according to the target adjustment configuration requirement, and deploying the target adjustment module package into a system corresponding to the target object, where the target adjustment module package is a target extension module package or a target deletion module package, includes: when the target adjustment requirement is a target deletion requirement, decompressing the target basic module packet into a target basic module, and determining a functional module corresponding to the target deletion requirement in the target basic module to obtain a target functional module to be deleted; deleting the target to-be-deleted function module in the target basic module to obtain a deleted target basic module, packaging the deleted target basic module to obtain a target deletion module package, and deploying the target deletion module package to a system corresponding to the target object.
The second aspect of the present invention provides a module deployment apparatus based on configuration requirements, including: the information data acquisition module is used for acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object; the analysis module is used for analyzing according to the information data of the target object to obtain a corresponding target configuration demand, and the target configuration demand comprises a category demand and a function demand; a configuration and packaging module, configured to configure a module based on the target configuration requirement to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and package the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package; and the deployment module is used for deploying the target basic module package to a system corresponding to the target object.
Optionally, in a first implementation manner of the second aspect of the present invention, the parsing module is specifically configured to: analyzing the basic information of the target object to obtain a category requirement; analyzing the demand information of the target object to obtain a function demand; and generating a target configuration demand corresponding to the target object according to the category demand and the function demand.
Optionally, in a second implementation manner of the second aspect of the present invention, the configuring and packaging module includes: the configuration unit is used for configuring a target general basic module, a target category basic module, a target function module and a target data script module according to the target configuration requirement and a preset configuration rule; and the packaging unit is used for packaging the target general basic module, the target category basic module, the target function module and the target data script module by adopting a preset packaging tool to obtain a target basic module package.
Optionally, in a third implementation manner of the second aspect of the present invention, the configuration unit is specifically configured to: defining a root project name in a preset first file, and calling an initial general basic module, an initial category basic module corresponding to the category requirement, an initial data script module corresponding to the category requirement and an initial target function module corresponding to the function requirement, wherein the root project name is a system name corresponding to a target object; calling a dependency package which is common to the initial general basic module, the initial category basic module, the initial target function module and the initial data script module in a preset second file; in the second file, calling a dependency package corresponding to the initial general basic module to obtain a target general basic module, calling a dependency package corresponding to the initial class basic module to obtain a target class basic module, calling a dependency package corresponding to the initial target function module to obtain a target function module, and calling a dependency package corresponding to the initial data script module to obtain a target data script module.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the module deployment apparatus based on configuration requirements further includes: the adjustment demand acquisition module is used for acquiring adjustment information data of the target object and analyzing the adjustment information data to obtain a target adjustment configuration demand, wherein the target adjustment configuration demand is a target expansion demand or a target deletion demand; and the adjusting module package obtaining module is used for obtaining a target adjusting module package according to the target adjusting configuration requirement and deploying the target adjusting module package into a system corresponding to the target object, wherein the target adjusting module package is a target expanding module package or a target deleting module package.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the adjusting module package obtaining module is specifically configured to: when the target adjustment requirement is a target expansion requirement, decompressing the target basic module packet into a target basic module, and judging whether the target basic module comprises a functional module corresponding to the target expansion requirement; if the target basic module does not comprise a functional module corresponding to the target expansion requirement, searching to obtain a target expansion functional module corresponding to the target expansion requirement; and configuring the target extended function module into a target basic module, packaging the target extended function module and the target basic module to obtain a target extended module package, and deploying the target extended module package into a system corresponding to the target object.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the adjusting module package obtaining module is specifically configured to: when the target adjustment requirement is a target deletion requirement, decompressing the target basic module packet into a target basic module, and determining a functional module corresponding to the target deletion requirement in the target basic module to obtain a target functional module to be deleted; deleting the target to-be-deleted function module in the target basic module to obtain a deleted target basic module, packaging the deleted target basic module to obtain a target deletion module package, and deploying the target deletion module package to a system corresponding to the target object.
A third aspect of the present invention provides a module deployment device based on configuration requirements, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the configuration requirement based module deployment device to perform the configuration requirement based module deployment method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned configuration requirement based module deployment method.
According to the technical scheme provided by the invention, information data of a target object is obtained, wherein the information data of the target object comprises basic information of the target object and demand information of the target object; analyzing according to the information data of the target object to obtain a corresponding target configuration demand, wherein the target configuration demand comprises a category demand and a function demand; based on the target configuration demand configuration module, obtaining a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package; and deploying the target basic module package to a system corresponding to the target object. In the embodiment of the invention, the system is configured in a modularization mode, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
Drawings
FIG. 1 is a diagram of an embodiment of a module deployment method based on configuration requirements in an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of a module deployment method based on configuration requirements in an embodiment of the present invention;
FIG. 3 is a diagram illustrating an embodiment of obtaining a target adjustment module according to a target adjustment configuration requirement;
FIG. 4 is a diagram of an embodiment of a module deployment apparatus based on configuration requirements, according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a module deployment apparatus based on configuration requirements in an embodiment of the present invention;
FIG. 6 is a diagram of an embodiment of a module deployment device based on configuration requirements in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a module deployment method, a device, equipment and a storage medium based on configuration requirements, which are used for acquiring the configuration requirements according to information data of a target object, configuring and packaging modules according to the configuration requirements, and deploying the configured and packaged results into a system, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a module deployment method based on configuration requirements in the embodiment of the present invention includes:
101. acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object;
the server acquires information data of a target object including the basic information and the demand information.
The target object can be understood as a terminal of a certain enterprise, and the basic information of the target object can be understood as regional information of a certain enterprise terminal, for example, the terminal of the enterprise a reveals that the enterprise a is located in the beijing city or the enterprise a needs the incoming package information of the beijing city; assuming that the information data of the target object is a reservation function for developing and accessing a mail incoming system of a customer in Beijing, the development and access reservation function can be understood as the requirement information of the target object.
It is to be understood that the executing entity of the present invention may be a module deploying device based on configuration requirements, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
102. Analyzing according to the information data of the target object to obtain a corresponding target configuration demand, wherein the target configuration demand comprises a category demand and a function demand;
and the server acquires target configuration requirements comprising category requirements and function requirements according to the information data of the target object.
For example, if the information data of the target object is "develop and access the reservation function of the system of incoming documents of customers in beijing city", the information data is analyzed to obtain the category requirement of the city "BJ" and the function requirement of the "reservation function".
It should be noted that, a plurality of target configuration requirements may be set, which is not limited to one, for example, when the information data of the target object is "a reservation function for developing and accessing a system for incoming documents of a customer in beijing city and a customer in guangzhou city", the server parses the information data to obtain a target configuration requirement B1, specifically: the category requirement B2 of "BJ" and the function requirement B3 of "reserved function" also result in a target configuration requirement C1, specifically the category requirement C2 of "GZ" and the function requirement C3 of "reserved function".
103. Configuring a module based on a target configuration demand to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package;
and the server configures a target general basic module, a target category module, a target function module and a target script module according to the target configuration requirement, and packs the target general basic module, the target category module, the target function module and the target script module to obtain a target basic module package.
For example, the target configuration requirements comprise category requirements of 'BJ' and function requirements of 'reserved function', the terminal configures a target general basic module aps-base first, then configures a target category basic module aps-BJ corresponding to 'BJ', configures a target function module aps-BJ-module01 corresponding to 'reserved function' and configures a target data script module aps-BJ-db corresponding to 'BJ'; the server packs the target general basic module aps-base, the target category basic module aps-bj, the target function module aps-bj-module01 and the target data script module aps-bj-db to obtain a target basic module package.
104. And deploying the target basic module package to a system corresponding to the target object.
And the server deploys the target basic module package to a system corresponding to the target object. For example, in an embodiment, the system corresponding to the target object is a system for incoming documents of enterprise a, and the server deploys the target base module package to the system.
In the embodiment of the invention, the system is configured in a modularization mode, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
Referring to fig. 2, another embodiment of the module deployment method based on configuration requirements in the embodiment of the present invention includes:
201. acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object;
the server acquires information data of a target object including the basic information and the demand information.
The target object can be understood as a terminal of a certain enterprise, and the basic information of the target object can be understood as regional information of a certain enterprise terminal, for example, the terminal of the enterprise a reveals that the enterprise a is located in the beijing city or the enterprise a needs the incoming package information of the beijing city; assuming that the information data of the target object is a reservation function for developing and accessing a mail incoming system of a customer in Beijing, the development and access reservation function can be understood as the requirement information of the target object.
202. Analyzing according to the information data of the target object to obtain a corresponding target configuration demand, wherein the target configuration demand comprises a category demand and a function demand;
and the server acquires target configuration requirements comprising category requirements and function requirements according to the information data of the target object.
For example, if the information data of the target object is "develop and access the reservation function of the system of incoming documents of customers in beijing city", the information data is analyzed to obtain the category requirement of the city "BJ" and the function requirement of the "reservation function".
It should be noted that, a plurality of target configuration requirements may be set, which is not limited to one, for example, when the information data of the target object is "a reservation function for developing and accessing a system for incoming documents of a customer in beijing city and a customer in guangzhou city", the server parses the information data to obtain a target configuration requirement B1, specifically: the category requirement B2 of "BJ" and the function requirement B3 of "reserved function" also result in a target configuration requirement C1, specifically the category requirement C2 of "GZ" and the function requirement C3 of "reserved function".
Specifically, the server analyzes the basic information of the target object to obtain the category requirement, and the server analyzes the requirement information of the target object to obtain the function requirement; and generating a target configuration requirement corresponding to the target object by the category requirement and the function requirement.
For example, the basic information of the target object is that the target object is a certain enterprise in beijing, the server analyzes and obtains the category requirement "BJ" according to the information or the target object requires information of customers in beijing, and the server analyzes and obtains the category requirement "BJ" according to the basic information; assuming that the requirement information of the target object is a development reservation function, the server analyzes the information to obtain the function requirement of the reservation function.
203. Configuring a module based on a target configuration demand to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package;
and the server configures a target general basic module, a target category module, a target function module and a target script module according to the target configuration requirement, and packs the target general basic module, the target category module, the target function module and the target script module to obtain a target basic module package.
For example, the target configuration requirements comprise category requirements of 'BJ' and function requirements of 'reserved function', the terminal configures a target general basic module aps-base first, then configures a target category basic module aps-BJ corresponding to 'BJ', configures a target function module aps-BJ-module01 corresponding to 'reserved function' and configures a target data script module aps-BJ-db corresponding to 'BJ'; and the server packs the target general basic module aps-base, the target category basic module aps-bj, aps-bj-module01 and the target data script module aps-bj-db to obtain a target basic module package.
Specifically, the server configures a target general basic module, a target category basic module, a target function module and a target data script module according to a target configuration requirement and a preset configuration rule; and then packaging the modules by adopting a preset packaging tool to obtain a target basic module package.
It should be noted that the target general basic module is a general module, and when the module is configured according to other target configuration requirements, the target general basic module does not need to be replaced; when the category requirement in the target configuration requirement is a city A, the target category basic module is aps-A, when the category requirement in the target configuration requirement is a city B, the target category basic module is aps-B, and when the category requirements in the target configuration requirement are different, the target category basic modules are different; the target function module can be aps-A-module01 or aps-B-module02, and when the function requirements in the target configuration requirements are different, the target function module is also different; the target data script module and the target category base module are corresponding modules, for example, when the target category base module is aps-A, the target data script module is aps-A-db, and when the target category base module is aps-B, the target data script module is aps-B-db.
In an embodiment, the step of configuring, by the server, the target general basic module, the target category basic module, the target function module, and the target data script module according to the target configuration requirement and the preset configuration rule specifically includes: defining a root project name in a preset first file, and calling an initial general basic module, an initial category basic module corresponding to a category requirement, an initial data script module corresponding to the category requirement and an initial target function module corresponding to a function requirement, wherein the root project name is a system name corresponding to a target object; calling a dependency package which is common to the initial general basic module, the initial category basic module, the initial target function module and the initial data script module in a preset second file; in the second file, calling a dependency package corresponding to the initial general basic module to obtain a target general basic module, calling a dependency package corresponding to the initial class basic module to obtain a target class basic module, calling a dependency package corresponding to the initial target function module to obtain a target function module, and calling a dependency package corresponding to the initial data script module to obtain a target data script module.
It should be noted that the first file and the second file are files in a root directory, and in this embodiment, the first file is a settings. Each target class basic module depends on the target general basic module, and each target function module can depend on each target class basic module or can directly depend on the target general basic module. For example, aps-A is dependent on aps-base, while aps-A-module01 may be dependent on either aps-A or directly on aps-base. Each data script module can execute a single sub-project and then can be deployed through a single pipeline when being deployed.
Defining a root item name under a settings file by the terminal, wherein the root item name is a name of a system corresponding to the target object, and the root item name is used for determining the target system when the target basic module is subsequently adjusted. For example, the name of the incoming system is ph-intl-aps, in other embodiments, the name of the root project may be other, and after the name of the root project is defined, an initial general basic module, an initial category basic module corresponding to the target configuration requirement, an initial target function module and an initial data script module are called; calling a dependency package which is general to an initial general basic module, an initial category basic module, an initial target function module and an initial data script module under the build. And finally, under the build.gradle file, respectively calling a dependency package corresponding to the initial general basic module, a dependency package corresponding to the initial category basic module, a dependency package corresponding to the initial target function module and a dependency package corresponding to the initial data script module to obtain the target basic module.
204. Deploying the target basic module package into a system corresponding to the target object;
and the server deploys the target basic module package to a system corresponding to the target object. For example, in an embodiment, the system corresponding to the target object is a system for incoming documents of enterprise a, and the server deploys the target base module package to the system.
205. Acquiring adjustment information data of a target object, and acquiring a target adjustment configuration requirement according to the adjustment information data, wherein the target adjustment configuration requirement is a target expansion requirement or a target deletion requirement;
when the target object sends out the adjustment information, the server acquires the adjustment information data of the target object and acquires a target adjustment configuration requirement which is a target expansion requirement or a target deletion requirement based on the adjustment information data.
206. And acquiring a target adjusting module package according to the target adjusting configuration requirement, and deploying the target adjusting module package into a system corresponding to the target object, wherein the target adjusting module package is a target expanding module package or a target deleting module package.
The server acquires a target adjustment module package according to the target adjustment configuration requirement, wherein the target expansion module package is acquired based on the target expansion requirement, and the target deletion module package is acquired based on the target deletion requirement.
Referring to fig. 3, it is assumed that the module function corresponding to the rectangle is "basic data review function" and the module function corresponding to the triangle is "reservation module". When the target adjustment requirement 1 is to delete a basic data auditing function in the BJ system, the server deletes a rectangular module in a target basic module corresponding to the target adjustment requirement 1, and packs a current module to obtain a target adjustment module pack 1; when the target adjustment requirement 2 is to add a reservation module in the GZ system, the server extracts the triangle module, adds the triangle module to the target base module corresponding to the target configuration requirement 2, and packages the triangle module, so as to obtain a target adjustment module package 2 corresponding to the target adjustment requirement 2. And finally, respectively deploying the target adjusting module package 1 and the target adjusting module package 2 to the system 1 and the system 2 corresponding to the target object.
Specifically, in an embodiment, when the target adjustment requirement is the target expansion requirement, the server decompresses the target basic module packet into the target basic module, and determines whether the target basic module includes a functional module corresponding to the target expansion requirement, and if the target basic module does not include the functional module corresponding to the target expansion requirement, the server searches for the target expansion functional module corresponding to the target expansion requirement in a preset storage space; and packaging the target extension function module and the target basic module to obtain a target extension module package, and finally deploying the target extension module package into a system corresponding to the target object.
For example, when the target adjustment requirement is "add basic data auditing function", the server determines whether the target basic module includes a functional module corresponding to the "basic data auditing function", and assumes that the server determines that the target basic module does not include a functional module corresponding to the "basic data auditing function". The server searches a function module corresponding to the basic data auditing function in the storage space to obtain a target extension function module aps-bj-module02, and then packs ps-base, aps-bj-module01, aps-bj-db and ps-bj-module02 to obtain a target extension module package.
Specifically, in another embodiment, when the target adjustment requirement is the target deletion requirement, the server decompresses the target base module package into the target base module, searches the function module corresponding to the target deletion requirement in the target base module, determines the target function module to be deleted, deletes the target function module to be deleted from the target base module by the server to obtain the deleted target base module, packages the deleted target base module to obtain the target deletion module package, and finally deploys the target deletion module package to the system corresponding to the target object.
For example, when the target adjustment requirement is a "delete basic data auditing function", the server searches "aps-bj-module 02" corresponding to the functional module of the "basic data auditing function" in the target basic modules ps-base, aps-bj-module01, aps-bj-module02 and aps-bj-db, then services and deletes the module to obtain the deleted target basic modules including ps-base, aps-bj-module01 and aps-bj-db, packages the deleted target basic modules to obtain a target delete module package, and finally deploys the target delete module package to the system corresponding to the target object.
In the embodiment of the invention, the system is configured in a modularization mode, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
In the above description of the module deployment method based on the configuration requirement in the embodiment of the present invention, referring to fig. 4, the module deployment device based on the configuration requirement in the embodiment of the present invention is described below, and an embodiment of the module deployment device based on the configuration requirement in the embodiment of the present invention includes:
an obtaining module 401, configured to obtain information data of a target object, where the information data of the target object includes basic information of the target object and requirement information of the target object;
an analysis module 402, configured to analyze information data of the target object to obtain a corresponding target configuration requirement, where the target configuration requirement includes a category requirement and a function requirement;
a configuration and packaging module 403, configured to configure a module based on the target configuration requirement, to obtain a target general basic module, a target category basic module, a target function module, and a target data script module, and package the target general basic module, the target category basic module, the target function module, and the target data script module into a target basic module package;
a deployment module 404, configured to deploy the target basic module package to a system corresponding to the target object.
In the embodiment of the invention, the system is configured in a modularization mode, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
Referring to fig. 5, another embodiment of a module deployment apparatus based on configuration requirements according to an embodiment of the present invention includes:
an information data obtaining module 401, configured to obtain information data of a target object, where the information data of the target object includes basic information of the target object and requirement information of the target object;
an analysis module 402, configured to analyze information data of the target object to obtain a corresponding target configuration requirement, where the target configuration requirement includes a category requirement and a function requirement;
a configuration and packaging module 403, configured to configure a module based on the target configuration requirement, to obtain a target general basic module, a target category basic module, a target function module, and a target data script module, and package the target general basic module, the target category basic module, the target function module, and the target data script module into a target basic module package;
a deployment module 404, configured to deploy the target basic module package to a system corresponding to the target object.
Optionally, the parsing module 402 may be further specifically configured to:
analyzing the basic information of the target object to obtain a category requirement;
analyzing the demand information of the target object to obtain a function demand;
and generating a target configuration demand corresponding to the target object according to the category demand and the function demand.
Optionally, the configuring and packaging module 403 includes:
a configuration unit 4031, configured to configure a target general basic module, a target category basic module, a target function module, and a target data script module according to the target configuration requirement and a preset configuration rule;
a packing unit 4032, configured to pack the target general basic module, the target category basic module, the target function module, and the target data script module by using a preset packing tool, so as to obtain a target basic module package.
Optionally, the configuration unit 4031 may be further specifically configured to:
defining a root project name in a preset first file, and calling an initial general basic module, an initial category basic module corresponding to the category requirement, an initial data script module corresponding to the category requirement and an initial target function module corresponding to the function requirement, wherein the root project name is a system name corresponding to a target object;
calling a dependency package which is common to the initial general basic module, the initial category basic module, the initial target function module and the initial data script module in a preset second file;
in the second file, calling a dependency package corresponding to the initial general basic module to obtain a target general basic module, calling a dependency package corresponding to the initial class basic module to obtain a target class basic module, calling a dependency package corresponding to the initial target function module to obtain a target function module, and calling a dependency package corresponding to the initial data script module to obtain a target data script module.
Optionally, the module deployment apparatus based on the configuration requirement further includes:
an adjustment requirement obtaining module 405, configured to obtain adjustment information data of the target object, and analyze the adjustment information data to obtain a target adjustment configuration requirement, where the target adjustment configuration requirement is a target expansion requirement or a target deletion requirement;
an adjusting module package obtaining module 406, configured to obtain a target adjusting module package according to the target adjusting configuration requirement, and deploy the target adjusting module package to a system corresponding to the target object, where the target adjusting module package is a target expanding module package or a target deleting module package.
Optionally, the adjusting module package obtaining module 406 may be further specifically configured to:
when the target adjustment requirement is a target expansion requirement, decompressing a target basic module packet into a target basic module, and judging whether the target basic module comprises a functional module corresponding to the target expansion requirement;
if the target basic module does not comprise a functional module corresponding to the target expansion requirement, searching to obtain a target expansion functional module corresponding to the target expansion requirement;
and configuring the target extended function module into a target basic module, packaging the target extended function module and the target basic module to obtain a target extended module package, and deploying the target extended module package into a system corresponding to the target object.
Optionally, the adjusting module package obtaining module 406 may be further specifically configured to:
when the target adjustment requirement is a target deletion requirement, decompressing a target basic module packet into a target basic module, and determining a functional module corresponding to the target deletion requirement in the target basic module to obtain a target functional module to be deleted;
deleting the target to-be-deleted function module in the target basic module to obtain a deleted target basic module, packaging the deleted target basic module to obtain a target deletion module package, and deploying the target deletion module package to a system corresponding to the target object.
In the embodiment of the invention, the system is configured in a modularization mode, so that the multiplexing rate of the modules and the flexibility of the system during development are improved, and the working efficiency of the system deployment is improved.
Fig. 4 and fig. 5 describe the module deployment apparatus based on configuration requirements in the embodiment of the present invention in detail from the perspective of a modular functional entity, and the module deployment apparatus based on configuration requirements in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 6 is a schematic structural diagram of a module deployment apparatus based on configuration requirements according to an embodiment of the present invention, where the module deployment apparatus 600 based on configuration requirements may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing applications 633 or data 632. Memory 620 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the module deployment apparatus 600 based on configuration requirements. Still further, the processor 610 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the module deployment device 600 based on configuration requirements.
The module deployment apparatus 600 based on configuration requirements may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input-output interfaces 660, and/or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the configuration requirements based module deployment apparatus configuration shown in FIG. 6 does not constitute a limitation on configuration requirements based module deployment apparatus, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
Further, the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the configuration requirement based module deployment method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A module deployment method based on configuration requirements is characterized in that the module deployment method based on configuration requirements comprises the following steps:
acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object;
analyzing according to the information data of the target object to obtain a corresponding target configuration demand, wherein the target configuration demand comprises a category demand and a function demand;
based on the target configuration demand configuration module, obtaining a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package;
and deploying the target basic module package to a system corresponding to the target object.
2. The configuration requirement based module deployment method according to claim 1, wherein the parsing obtains a corresponding target configuration requirement according to the information data of the target object, and the target configuration requirement includes a category requirement and a function requirement:
analyzing the basic information of the target object to obtain a category requirement;
analyzing the demand information of the target object to obtain a function demand;
and generating a target configuration demand corresponding to the target object according to the category demand and the function demand.
3. The method of claim 1, wherein the configuring a module based on the target configuration requirement to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and packaging the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package comprises:
configuring a target general basic module, a target category basic module, a target function module and a target data script module according to the target configuration requirement and a preset configuration rule;
and packaging the target general basic module, the target category basic module, the target function module and the target data script module by adopting a preset packaging tool to obtain a target basic module package.
4. The method for module deployment based on configuration requirements according to claim 3, wherein the configuring the target general basic module, the target category basic module, the target function module and the target data script module according to the target configuration requirements and preset configuration rules comprises:
defining a root project name in a preset first file, and calling an initial general basic module, an initial category basic module corresponding to the category requirement, an initial data script module corresponding to the category requirement and an initial target function module corresponding to the function requirement, wherein the root project name is a system name corresponding to a target object;
calling a dependency package which is common to the initial general basic module, the initial category basic module, the initial target function module and the initial data script module in a preset second file;
in the second file, calling a dependency package corresponding to the initial general basic module to obtain a target general basic module, calling a dependency package corresponding to the initial class basic module to obtain a target class basic module, calling a dependency package corresponding to the initial target function module to obtain a target function module, and calling a dependency package corresponding to the initial data script module to obtain a target data script module.
5. The configuration requirement based module deployment method according to any one of claims 1 to 4, wherein after the target base module package is deployed into the system corresponding to the target object, the configuration requirement based module deployment method further comprises:
acquiring adjustment information data of the target object, and analyzing according to the adjustment information data to obtain a target adjustment configuration requirement, wherein the target adjustment configuration requirement is a target expansion requirement or a target deletion requirement;
and acquiring a target adjustment module package according to the target adjustment configuration requirement, and deploying the target adjustment module package into a system corresponding to the target object, wherein the target adjustment module package is a target expansion module package or a target deletion module package.
6. The configuration requirement based module deployment method according to claim 5, wherein the obtaining a target adjustment module package according to the target adjustment configuration requirement and deploying the target adjustment module package to the system corresponding to the target object, the target adjustment module package being a target extension module package or a target deletion module package includes:
when the target adjustment requirement is a target expansion requirement, decompressing the target basic module packet into a target basic module, and judging whether the target basic module comprises a functional module corresponding to the target expansion requirement;
if the target basic module does not comprise a functional module corresponding to the target expansion requirement, searching to obtain a target expansion functional module corresponding to the target expansion requirement;
and configuring the target extended function module into a target basic module, packaging the target extended function module and the target basic module to obtain a target extended module package, and deploying the target extended module package into a system corresponding to the target object.
7. The configuration requirement based module deployment method according to claim 5, wherein the obtaining a target adjustment module package according to the target adjustment configuration requirement and deploying the target adjustment module package to the system corresponding to the target object, the target adjustment module package being a target extension module package or a target deletion module package includes:
when the target adjustment requirement is a target deletion requirement, decompressing the target basic module packet into a target basic module, and determining a functional module corresponding to the target deletion requirement in the target basic module to obtain a target functional module to be deleted;
deleting the target to-be-deleted function module in the target basic module to obtain a deleted target basic module, packaging the deleted target basic module to obtain a target deletion module package, and deploying the target deletion module package to a system corresponding to the target object.
8. A module deployment apparatus based on configuration requirement, the module deployment apparatus based on configuration requirement comprises:
the information data acquisition module is used for acquiring information data of a target object, wherein the information data of the target object comprises basic information of the target object and demand information of the target object;
the analysis module is used for analyzing according to the information data of the target object to obtain a corresponding target configuration demand, and the target configuration demand comprises a category demand and a function demand;
a configuration and packaging module, configured to configure a module based on the target configuration requirement to obtain a target general basic module, a target category basic module, a target function module and a target data script module, and package the target general basic module, the target category basic module, the target function module and the target data script module into a target basic module package;
and the deployment module is used for deploying the target basic module package to a system corresponding to the target object.
9. A module deployment device based on configuration requirements, the module deployment device based on configuration requirements comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the configuration requirements based module deployment device to perform the configuration requirements based module deployment method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for module deployment based on configuration requirements according to any one of claims 1 to 7.
CN202011207961.1A 2020-11-03 2020-11-03 Module deployment method, device, equipment and storage medium based on configuration requirements Pending CN112306504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011207961.1A CN112306504A (en) 2020-11-03 2020-11-03 Module deployment method, device, equipment and storage medium based on configuration requirements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011207961.1A CN112306504A (en) 2020-11-03 2020-11-03 Module deployment method, device, equipment and storage medium based on configuration requirements

Publications (1)

Publication Number Publication Date
CN112306504A true CN112306504A (en) 2021-02-02

Family

ID=74332457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011207961.1A Pending CN112306504A (en) 2020-11-03 2020-11-03 Module deployment method, device, equipment and storage medium based on configuration requirements

Country Status (1)

Country Link
CN (1) CN112306504A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434192A (en) * 2021-08-26 2021-09-24 广州易方信息科技股份有限公司 SDK platform-based packaging method and device and computer equipment
CN117251173A (en) * 2023-11-15 2023-12-19 深圳万物安全科技有限公司 Method for configuring micro-service items, device and medium for configuring micro-service items

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066291A (en) * 2017-02-09 2017-08-18 阿里巴巴集团控股有限公司 Packaging method, device and the equipment of SDK, computer-readable recording medium
CN111026403A (en) * 2019-12-10 2020-04-17 北京锐安科技有限公司 Packing deployment method and device, computer equipment and storage medium
CN111459503A (en) * 2020-03-30 2020-07-28 北京顺达同行科技有限公司 Web front-end item deployment method, device, server and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066291A (en) * 2017-02-09 2017-08-18 阿里巴巴集团控股有限公司 Packaging method, device and the equipment of SDK, computer-readable recording medium
CN111026403A (en) * 2019-12-10 2020-04-17 北京锐安科技有限公司 Packing deployment method and device, computer equipment and storage medium
CN111459503A (en) * 2020-03-30 2020-07-28 北京顺达同行科技有限公司 Web front-end item deployment method, device, server and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434192A (en) * 2021-08-26 2021-09-24 广州易方信息科技股份有限公司 SDK platform-based packaging method and device and computer equipment
CN113434192B (en) * 2021-08-26 2021-12-07 广州易方信息科技股份有限公司 SDK platform-based packaging method and device and computer equipment
CN117251173A (en) * 2023-11-15 2023-12-19 深圳万物安全科技有限公司 Method for configuring micro-service items, device and medium for configuring micro-service items
CN117251173B (en) * 2023-11-15 2024-03-08 深圳万物安全科技有限公司 Micro-service item configuration method, micro-service item configuration device and medium

Similar Documents

Publication Publication Date Title
JP7066240B2 (en) Data synchronization methods, devices, computer devices, and computer programs
CN112306504A (en) Module deployment method, device, equipment and storage medium based on configuration requirements
CN106778351B (en) Data desensitization method and device
CN102736939B (en) Software installation method, device and system
US20130174182A1 (en) Optimized Delivery of Web Application Code
CN105893008A (en) Method and device for customizing multi-channel installation package
CN111221570A (en) Migration method, device, equipment and storage medium of microservice framework
CN101937353A (en) Method and device for deploying and loading plug-in unit
Iwata et al. Improved analysis of highest-degree branching for feedback vertex set
CN109669976B (en) ETL-based data service method and device
CN107368493A (en) Data base query method and device
CN111095421B (en) Context-aware delta algorithm for gene files
CN100511140C (en) Method for script language calling multiple output parameter interface by component software system
CN111026455A (en) Plug-in generation method, electronic device and storage medium
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN112451972A (en) Game engine-based resource compression package construction method, device, system and medium
CN112396480B (en) Order business data processing method, system, computer equipment and storage medium
CN113077260A (en) Data access method and device based on block chain and electronic equipment
CN112579604A (en) Test system number making method, device, equipment and storage medium
CN112527642A (en) Performance test index data display method, device, equipment and storage medium
Tantawi et al. Optimal allocation of multiple class resources in computer systems
CN115525300A (en) Incremental mirror image packaging method and system in container cloud scene
CN112306475A (en) Configuration method, device and equipment of universal interface and storage medium
CN104281503A (en) Data backup method and related system
CN114296789A (en) Business processing method, device, equipment and storage medium based on full-flow configuration

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