CN112748947A - System configuration method and device, storage medium and electronic equipment - Google Patents

System configuration method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112748947A
CN112748947A CN201911054748.9A CN201911054748A CN112748947A CN 112748947 A CN112748947 A CN 112748947A CN 201911054748 A CN201911054748 A CN 201911054748A CN 112748947 A CN112748947 A CN 112748947A
Authority
CN
China
Prior art keywords
plug
functional
ins
target
plugins
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
CN201911054748.9A
Other languages
Chinese (zh)
Inventor
姜珂
冯鸳鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201911054748.9A priority Critical patent/CN112748947A/en
Publication of CN112748947A publication Critical patent/CN112748947A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The application discloses a system configuration method, a system configuration device, a storage medium and electronic equipment. The method comprises the following steps: decomposing the target service requirement of the system to obtain a plurality of sub-service requirements; acquiring a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins; and installing a plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system. By the method and the system, the problems that functional components of the website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related technology are solved.

Description

System configuration method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of system configuration technologies, and in particular, to a method and an apparatus for configuring a system, a storage medium, and an electronic device.
Background
At present, when a data processing platform is developed, because the configuration requirements of systems in different fields and facing different groups are different, and the requirements of different business requirements of the same system on the functions provided by the system are also different, the customization degree of the platform is high.
Specifically, when developing a data processing platform in the chemical industry field, a specific initialization code needs to be written according to industry requirements, and functional plug-ins are respectively developed for different business requirements in the chemical industry field. When a data processing platform in the financial field is developed, a specific initialization code needs to be written according to industry requirements, and functional plug-ins are respectively developed for different business requirements in the financial field. That is, each platform needs to be developed to customize configuration information and functional components, resources in the development process are difficult to share and reuse, and development cost is high.
Aiming at the problems that functional components of a website system are difficult to reuse and the workload of developing a new system is high and the cost is high in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The application provides a system configuration method, a device, a storage medium and electronic equipment, which are used for solving the problems that functional components of a website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related technology.
According to one aspect of the present application, a method of configuring a system is provided. The method comprises the following steps: decomposing the target service requirement of the system to obtain a plurality of sub-service requirements; acquiring a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins; and installing a plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system.
Optionally, before obtaining the functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements in the plug-in library, and obtaining the plurality of functional plug-ins, the method further includes: judging whether a functional plug-in corresponding to the target sub-service requirement exists in a plug-in library or not; and under the condition that the functional plug-in corresponding to the target sub-service requirement does not exist in the plug-in library, developing the functional plug-in corresponding to the target sub-service requirement based on the plug-in template, and storing the developed functional plug-in the plug-in library.
Optionally, before installing a plurality of functional plugins in the initialized system to complete the configuration of the system, the method further includes: determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system; respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems; initializing the initial system based on a plurality of target system plug-ins to obtain a system with completed initialization.
Optionally, after installing a plurality of functional plugins in the initialized system to complete the configuration of the system, the method further includes: acquiring service data; calling system data from a system plug-in through a system interface; the plurality of functional plugins execute target business operations based on the business data and the system data to complete target business requirements.
According to another aspect of the present application, there is provided another system configuration method, including: determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system; respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems; initializing the initial system based on a plurality of target system plug-ins to obtain a system with completed initialization.
Optionally, the method further comprises: determining the target service requirement of the system; acquiring a functional plug-in corresponding to each sub-business requirement in target business requirements of the system from a plug-in library to obtain a plurality of functional plug-ins; and configuring the initialized system based on the plurality of functional plug-ins so as to complete the configuration of the system.
According to another aspect of the present application, a configuration apparatus of a system is provided. The device includes: the decomposition unit is used for decomposing the target service requirements of the system to obtain a plurality of sub-service requirements; the system comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements in a plug-in library to obtain a plurality of functional plug-ins; the first installation unit is used for installing a plurality of functional plugins in the initialized system so as to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system.
According to another aspect of the present application, a configuration apparatus of a system is provided. The device includes: the third determining unit is used for determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system; a fourth determining unit, configured to determine a target system plugin from the multiple sets of system plugins respectively based on the initialization index data of the system, so as to obtain multiple target system plugins, where each plugin in the same set of system plugins is used to provide the same system function for different systems; and the second initialization unit is used for initializing the initial system based on the target system plug-ins to obtain the initialized system.
In order to achieve the above object, according to another aspect of the present application, there is provided a storage medium including a stored program, wherein the program performs any one of the above-described system configuration methods.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic device including at least one processor, and at least one memory connected with the processor, a bus; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory to execute the configuration method of any one of the systems.
Through the application, the following steps are adopted: decomposing the target service requirement of the system to obtain a plurality of sub-service requirements; acquiring a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins; the method comprises the steps of installing a plurality of functional plugins in a system which is initialized to complete the configuration of the system, wherein the system which is initialized comprises the plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system, so that the problems that functional components of a website system are difficult to reuse, and the workload of developing a new system is large and the cost is high in the related technology are solved. And determining a plurality of corresponding functional plug-ins according to the target service requirements, and installing the functional plug-ins in the initialized system to complete the configuration of the system, thereby achieving the effects of reusing the functional components of the website system and reducing the workload and cost of developing a new system.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method of configuration of a system provided according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for configuring a system provided in accordance with an embodiment of the present application;
FIG. 3 is a schematic diagram of a data analysis apparatus provided in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of another data analysis apparatus provided in accordance with an embodiment of the present application; and
fig. 5 is a schematic diagram of an electronic device provided according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, 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.
According to an embodiment of the present application, a method of configuring a system is provided.
Fig. 1 is a flow chart of a configuration method of a system according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
and S101, decomposing the target service requirements of the system to obtain a plurality of sub-service requirements.
It should be noted that, when a target service requirement is completed, the requirement may be decomposed into a plurality of sub-service requirements according to the content of the requirement, and each sub-service requirement is completed in steps, thereby completing the whole target service requirement.
For example, the system is a text processing system, the first target service requirement is a requirement for counting the number of specific characters in an article, and the requirement can be decomposed into: the method comprises the following steps of carrying out subsection sub-requirements on an article, carrying out statistics on the sub-requirements of the number of specific characters in each section, and carrying out summation on the number of the specific characters in each section, wherein the total number of the sub-requirements is three; the second target service requirement is a requirement for sentence segmentation of an article, and the requirement can be decomposed into: the sub-requirements for segmenting the article and the sub-requirements for segmenting each segment of characters are two sub-requirements in total.
Step S102, obtaining a functional plug-in corresponding to each sub-business requirement in the plurality of sub-business requirements from a plug-in library to obtain a plurality of functional plug-ins.
For example, according to each sub-requirement in the first target business requirement, a segmented plug-in, a plug-in for counting target characters in a text and a summation plug-in are correspondingly obtained from a plug-in library; and correspondingly acquiring the segmentation plug-ins and the clause plug-ins from the plug-in library according to each sub-requirement in the second target business requirement.
And step S103, installing a plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system.
It should be noted that, in addition to the service requirements of the service level, the system also has system requirements of the system level, for example, system requirements of login, verification, log information acquisition, and the like, and before installing the functional plug-in, the system plug-in is installed first to complete the initialization of the system, thereby laying a foundation for completing the requirements of the service level.
After the system is initialized, functional plugins are installed based on business requirements, for example, segmentation plugins, plugins for counting target characters in texts, and summation plugins are spliced in sequence and installed in the initialized system, so that the first target requirement is completed through the configured system. For another example, the segmentation plug-ins and the clause plug-ins are spliced in sequence and installed in the initialized system, so that the first target requirement is completed through the configured system.
Optionally, in the configuration method of the system provided in the embodiment of the present application, before obtaining a plurality of functional plug-ins, the method further includes: judging whether a functional plug-in corresponding to the target sub-service requirement exists in a plug-in library or not; and under the condition that the functional plug-in corresponding to the target sub-service requirement does not exist in the plug-in library, developing the functional plug-in corresponding to the target sub-service requirement based on the plug-in template, and storing the developed functional plug-in the plug-in library.
It should be noted that, when a functional plug-in corresponding to the target sub-service requirement exists in the plug-in library, the functional plug-in may be reused, and when a required functional plug-in does not exist in the plug-in library, a corresponding functional plug-in needs to be developed to complete the current service requirement, and the newly developed functional plug-in is stored in the plug-in library to be reused by other service requirements.
In order to improve efficiency of system initialization, optionally, in the configuration method of the system provided in the embodiment of the present application, before installing a plurality of functional plug-ins in a system whose initialization is completed to complete configuration of the system, the method further includes: determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system; respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems; initializing the initial system based on a plurality of target system plug-ins to obtain a system with completed initialization.
It should be noted that, in the face of systems of different service groups in different fields, system plug-ins required for initialization are different, and system plug-ins can be selected from multiple sets of system plug-ins isolated across processes according to the requirements of different systems, so as to complete initialization of the system.
For example, system plug-ins include at least the following series of plug-ins: the system comprises a plug-in series used for layout of user pages and management of public areas, a plug-in series used for implementation of background management pages, a plug-in series used for storing configuration information of the plug-in and the system, a plug-in series used for providing customization of error pages and customization of error messages, a plug-in series used for providing pages such as login and logout, a plug-in series used for providing authority and relationship management of users, a plug-in series used for providing log collection, search and view, a plug-in series used for being in charge of physical storage of whole system data, a plug-in series used for providing management, installation and uninstallation of plug-ins, a plug-in series used for providing initialization functions of the system, a plug-in series used for providing storage, configuration and uploading of static files. Each plug-in series comprises a plurality of system plug-ins providing the same system function, and in the current system initialization process, the system plug-ins can be selected from the system plug-in series to complete the initialization of the system.
By the method and the system, system configuration personnel do not need to compile specific codes for system initialization for each system, and select the required plug-in from the system plug-in series according to the requirements of different systems, so that the efficiency and the flexibility of system initialization are improved.
Optionally, in the configuration method of the system provided in the embodiment of the present application, after installing a plurality of functional plugins in the initialized system to complete configuration of the system, the method further includes: acquiring service data; calling system data from a system plug-in through a system interface; the plurality of functional plugins execute target business operations based on the business data and the system data to complete target business requirements.
Specifically, in the process of completing the target service requirement, service data is acquired first, the data is input into the system, and the target service requirement is finally completed through the cooperation of the system plug-in and the functional plug-in.
For example, the target service requirement is a requirement for counting the number of characters "X" in an article, the article to be processed, that is, service data, is acquired, the system is logged in, the article to be processed is input into the system, and a segmentation plug-in, a plug-in for counting target characters in a text, and a summation plug-in the system respectively process the article to be processed, so as to obtain the number of "X". In addition, each system plug-in is isolated in a cross-process mode and does not influence each other, and in the process of executing the target service requirement, the system plug-in can be called from the system plug-in through a system interface when system data is needed.
According to the configuration method of the system, the target service requirements of the system are decomposed to obtain a plurality of sub-service requirements; acquiring a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins; the method comprises the steps of installing a plurality of functional plugins in a system which is initialized to complete the configuration of the system, wherein the system which is initialized comprises the plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system, so that the problems that functional components of a website system are difficult to reuse, and the workload of developing a new system is large and the cost is high in the related technology are solved. And determining a plurality of corresponding functional plug-ins according to the target service requirements, and installing the functional plug-ins in the initialized system to complete the configuration of the system, thereby achieving the effects of reusing the functional components of the website system and reducing the workload and cost of developing a new system.
According to an embodiment of the present application, another method of configuring a system is provided.
Fig. 2 is a flow chart of another method of configuring a system according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S201, determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system.
It should be noted that, for systems of different service groups in different fields, before deploying the system, initialization index data such as the field to which the system belongs and the service group to which the system faces are obtained, so as to select a plug-in adapted from system plug-ins according to the initialization index data.
Step S202, respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems.
For example, system plug-ins include at least the following series of plug-ins: the system comprises a plug-in series used for layout of user pages and management of public areas, a plug-in series used for implementation of background management pages, a plug-in series used for storing configuration information of the plug-in and the system, a plug-in series used for providing customization of error pages and customization of error messages, a plug-in series used for providing pages such as login and logout, a plug-in series used for providing authority and relationship management of users, a plug-in series used for providing log collection, search and view, a plug-in series used for being in charge of physical storage of whole system data, a plug-in series used for providing management, installation and uninstallation of plug-ins, a plug-in series used for providing initialization functions of the system, a plug-in series used for providing storage, configuration and uploading of static files. Each plug-in series comprises a plurality of system plug-ins providing the same system function, and in the current system initialization process, the system plug-ins can be selected from the system plug-in series to complete the initialization of the system.
Step S203, initializing the initial system based on a plurality of target system plug-ins to obtain a system with the initialization completed.
Specifically, a website address of a website to be deployed is input, an installation configuration page is entered, and a plurality of selected target system plug-ins are installed through the page, so that a system which is initialized and completed is obtained.
According to the configuration method of the system, initialization index data of the system are determined, wherein the initialization index data at least comprise the field to which the system belongs and the service group oriented to the system; respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems; the initial system is initialized based on a plurality of target system plug-ins to obtain an initialized system, and the problems that functional components of a website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related technology are solved. And determining a plurality of corresponding functional plug-ins according to the target service requirements, and installing the functional plug-ins in the initialized system to complete the configuration of the system, thereby achieving the effects of reusing the functional components of the website system and reducing the workload and cost of developing a new system.
Optionally, in the configuration method of the system provided in the embodiment of the present application, the method further includes: determining the target service requirement of the system; acquiring a functional plug-in corresponding to each sub-business requirement in target business requirements of the system from a plug-in library to obtain a plurality of functional plug-ins; and configuring the initialized system based on the plurality of functional plug-ins so as to complete the configuration of the system.
For example, the system is a text processing system, the first target service requirement is a requirement for counting the number of specific characters in an article, and the requirement can be decomposed into: the method comprises the following steps of carrying out subsection sub-requirements on an article, carrying out statistics on the sub-requirements of the number of specific characters in each section, and carrying out summation on the sub-requirements of the number of the specific characters in each section. And correspondingly acquiring the segmented plug-ins, the plug-ins for counting the target characters in the text and the summation plug-ins from the plug-in library according to each sub-requirement in the first target business requirement. And splicing the segmentation plug-ins, the plug-ins for counting the target characters in the text and the summation plug-ins in sequence and installing the spliced plug-ins in the initialized system so as to complete the first target requirement through the configured system.
According to the embodiment of the application, the plurality of functional plug-ins can be reused in the face of different business requirements, and the workload and difficulty of developing the functional plug-ins are reduced.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a configuration device of a system, and it should be noted that the configuration device of the system according to the embodiment of the present application may be used to execute the configuration method for the system according to the embodiment of the present application. The following describes a configuration device of a system provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a configuration device of a system according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: a disassembly unit 31, a first acquisition unit 32 and a first installation unit 33.
Specifically, the decomposing unit 31 is configured to decompose the target service requirement of the system to obtain a plurality of sub-service requirements.
The first obtaining unit 32 is configured to obtain, in the plug-in library, a functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements, so as to obtain a plurality of functional plug-ins.
The first installing unit 33 is configured to install a plurality of functional plugins in the initialized system to complete configuration of the system, where the initialized system includes a plurality of system plugins, and the system plugins are configured to cooperate with the functional plugins to complete service requirements of the system.
Optionally, in the configuration apparatus of the system provided in the embodiment of the present application, the apparatus further includes: the judging unit is used for acquiring the functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements from the plug-in library and judging whether the functional plug-in corresponding to the target sub-service requirement exists in the plug-in library before the plurality of functional plug-ins are acquired; and the development unit is used for developing the functional plug-in corresponding to the target sub-business requirement based on the plug-in template under the condition that the functional plug-in corresponding to the target sub-business requirement does not exist in the plug-in library, and storing the developed functional plug-in the plug-in library.
Optionally, in the configuration apparatus of the system provided in the embodiment of the present application, the apparatus further includes: the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining initialization index data of a system before a plurality of functional plugins are installed in the initialized system so as to complete the configuration of the system, and the initialization index data at least comprises the field to which the system belongs and the service group to which the system faces; the second determining unit is used for determining a target system plug-in from the multiple groups of system plug-ins respectively based on the initialization index data of the system to obtain multiple target system plug-ins, wherein each plug-in the same group of system plug-ins is used for providing the same system function for different systems; the first initialization unit is used for initializing the initial system based on a plurality of target system plug-ins to obtain a system which is initialized.
Optionally, in the configuration apparatus of the system provided in the embodiment of the present application, the apparatus further includes: the second acquisition unit is used for acquiring the service data after the plurality of functional plug-ins are installed in the initialized system to complete the configuration of the system; the calling unit is used for calling system data from the system plug-in through the system interface; and the execution unit is used for executing the target service operation based on the service data and the system data by adopting a plurality of functional plug-ins so as to complete the target service requirement.
The configuration device of the system provided by the embodiment of the application decomposes the target service requirement of the system through the decomposition unit 31 to obtain a plurality of sub-service requirements; the first obtaining unit 32 obtains a functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements from the plug-in library to obtain a plurality of functional plug-ins; the first installation unit 33 installs a plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system, thereby solving the problems that the functional components of the website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related art.
The configuration device of the system comprises a processor and a memory, the decomposition unit 31, the first acquisition unit 32, the first installation unit 33 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problems that functional components of a website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related technology are solved by adjusting kernel parameters.
Fig. 4 is a schematic diagram of a configuration device of another system according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: a third determining unit 41, a fourth determining unit 42 and a second initializing unit 43.
Specifically, the third determining unit 41 is configured to determine initialization index data of the system, where the initialization index data at least includes a domain to which the system belongs and a business group to which the system faces;
a fourth determining unit 42, configured to determine a target system plugin from the multiple sets of system plugins respectively based on the initialization index data of the system, so as to obtain multiple target system plugins, where each plugin in the same set of system plugins is used to provide the same system function for different systems;
a second initialization unit 43, configured to initialize the initial system based on the multiple target system plug-ins, so as to obtain a system that has been initialized.
Optionally, in the configuration apparatus of the system provided in the embodiment of the present application, the apparatus further includes: a fifth determining unit, configured to determine a target service requirement of the system; the third acquisition unit is used for acquiring the functional plug-ins corresponding to each sub-service requirement in the target service requirements of the system from the plug-in library to obtain a plurality of functional plug-ins; and the second installation unit is used for installing a plurality of functional plug-ins in the initialized system so as to complete the configuration of the system.
In the configuration device of the system provided in the embodiment of the present application, the third determining unit 41 determines initialization index data of the system, where the initialization index data at least includes a domain to which the system belongs and a service group to which the system faces; the fourth determining unit 42 determines a target system plugin from the multiple sets of system plugins respectively based on the initialization index data of the system to obtain multiple target system plugins, wherein each plugin in the same set of system plugins is used for providing the same system function for different systems; the second initialization unit 43 initializes the initial system based on the plurality of target system plug-ins to obtain an initialized system, and solves the problems that the functional components of the website system in the related art are difficult to reuse and the workload of developing a new system is high, and determines the corresponding plurality of functional plug-ins according to the target business requirements and installs the corresponding plurality of functional plug-ins in the initialized system to complete the configuration of the system, thereby achieving the effects of reusing the functional components of the website system and reducing the workload and the cost of developing the new system.
The configuration device of the system comprises a processor and a memory, the third determining unit 41, the fourth determining unit 42, the second initializing unit 43 and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problems that functional components of a website system are difficult to reuse and the workload of developing a new system is large and the cost is high in the related technology are solved by adjusting kernel parameters.
An embodiment of the present invention provides a storage medium on which a program is stored, which, when executed by a processor, implements a configuration method of the system.
An embodiment of the present invention provides an electronic device, as shown in fig. 5, the device includes at least one processor, and at least one memory and a bus connected to the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory so as to execute the configuration method of the system. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: decomposing the target service requirement of the system to obtain a plurality of sub-service requirements; acquiring a functional plug-in corresponding to each sub-service requirement in a plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins; and installing a plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system.
Before the functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements is obtained in the plug-in library, and the plurality of functional plug-ins are obtained, the method further comprises the following steps: judging whether a functional plug-in corresponding to the target sub-service requirement exists in a plug-in library or not; and under the condition that the functional plug-in corresponding to the target sub-service requirement does not exist in the plug-in library, developing the functional plug-in corresponding to the target sub-service requirement based on the plug-in template, and storing the developed functional plug-in the plug-in library.
Before installing a plurality of functional plugins in the initialized system to complete the configuration of the system, the method further comprises: determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the service group oriented to the system; respectively determining a target system plug-in from a plurality of sets of system plug-ins based on the initialization index data of the system to obtain a plurality of target system plug-ins, wherein each plug-in the same set of system plug-ins is used for providing the same system function for different systems; initializing the initial system based on a plurality of target system plug-ins to obtain a system with completed initialization.
After installing a plurality of functional plugins in the initialized system to complete the configuration of the system, the method further comprises: acquiring service data; calling system data from a system plug-in through a system interface; the plurality of functional plugins execute target business operations based on the business data and the system data to complete target business requirements.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of configuring a system, comprising:
decomposing the target service requirement of the system to obtain a plurality of sub-service requirements;
acquiring a functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins;
and installing the plurality of functional plugins in the initialized system to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins which are used for matching with the functional plugins to complete the service requirements of the system.
2. The method according to claim 1, wherein before obtaining the functional plug-in corresponding to each of the plurality of sub-service requirements from the plug-in library, and obtaining a plurality of functional plug-ins, the method further comprises:
judging whether a functional plug-in corresponding to the target sub-service requirement exists in the plug-in library;
and under the condition that the functional plug-in corresponding to the target sub-service requirement does not exist in the plug-in library, developing the functional plug-in corresponding to the target sub-service requirement based on a plug-in template, and storing the developed functional plug-in the plug-in library.
3. The method of claim 1, wherein prior to installing the plurality of functional plugins in the initialized system to complete configuration of the system, the method further comprises:
determining initialization index data of the system, wherein the initialization index data at least comprises the field to which the system belongs and the business group to which the system faces;
respectively determining a target system plug-in from the multiple groups of system plug-ins based on the initialization index data of the system to obtain multiple target system plug-ins, wherein each plug-in the same group of system plug-ins is used for providing the same system function for different systems;
initializing an initial system based on the target system plug-ins to obtain the initialized system.
4. The method of claim 1, wherein after installing the plurality of functional plugins in the initialized system to complete configuration of the system, the method further comprises:
acquiring service data;
calling system data from the system plug-in through a system interface;
and the functional plug-ins execute target business operation based on the business data and the system data so as to complete the target business requirement.
5. A method of configuring a system, comprising:
determining initialization index data of a system, wherein the initialization index data at least comprises the field of the system and the business group oriented to the system;
respectively determining a target system plug-in from the multiple groups of system plug-ins based on the initialization index data of the system to obtain multiple target system plug-ins, wherein each plug-in the same group of system plug-ins is used for providing the same system function for different systems;
initializing the initial system based on the target system plug-ins to obtain a system with the initialized completion.
6. The method of claim 5, further comprising:
determining a target business requirement of the system;
acquiring a functional plug-in corresponding to each sub-business requirement in the target business requirements of the system from a plug-in library to obtain a plurality of functional plug-ins;
and configuring the initialized system based on the plurality of functional plug-ins so as to complete the configuration of the system.
7. An apparatus for configuring a system, comprising:
the decomposition unit is used for decomposing the target service requirements of the system to obtain a plurality of sub-service requirements;
the first obtaining unit is used for obtaining a functional plug-in corresponding to each sub-service requirement in the plurality of sub-service requirements from a plug-in library to obtain a plurality of functional plug-ins;
the first installation unit is used for installing the plurality of functional plugins in the initialized system so as to complete the configuration of the system, wherein the initialized system comprises a plurality of system plugins, and the system plugins are used for matching with the functional plugins to complete the service requirements of the system.
8. An apparatus for configuring a system, comprising:
a third determining unit, configured to determine initialization index data of a system, where the initialization index data at least includes a domain to which the system belongs and a business group to which the system faces;
a fourth determining unit, configured to determine a target system plugin from the multiple sets of system plugins respectively based on the initialization index data of the system, so as to obtain multiple target system plugins, where each plugin in the same set of system plugins is used to provide the same system function for different systems;
and the second initialization unit is used for initializing the initial system based on the target system plug-ins to obtain a system which is initialized completely.
9. A storage medium characterized in that it comprises a stored program, wherein the program executes the method of configuring a system according to any one of claims 1 to 6.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform a method of configuring a system as claimed in any one of claims 1 to 6.
CN201911054748.9A 2019-10-31 2019-10-31 System configuration method and device, storage medium and electronic equipment Pending CN112748947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911054748.9A CN112748947A (en) 2019-10-31 2019-10-31 System configuration method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911054748.9A CN112748947A (en) 2019-10-31 2019-10-31 System configuration method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112748947A true CN112748947A (en) 2021-05-04

Family

ID=75645517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911054748.9A Pending CN112748947A (en) 2019-10-31 2019-10-31 System configuration method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112748947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504956A (en) * 2021-07-19 2021-10-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for calling public function under micro service platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297381A (en) * 2012-02-22 2013-09-11 阿里巴巴集团控股有限公司 Service access method based on plugin and system thereof
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium
US20190188317A1 (en) * 2017-12-15 2019-06-20 International Business Machines Corporation Automatic seeding of an application programming interface (api) into a conversational interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297381A (en) * 2012-02-22 2013-09-11 阿里巴巴集团控股有限公司 Service access method based on plugin and system thereof
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
US20190188317A1 (en) * 2017-12-15 2019-06-20 International Business Machines Corporation Automatic seeding of an application programming interface (api) into a conversational interface
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504956A (en) * 2021-07-19 2021-10-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for calling public function under micro service platform
CN113504956B (en) * 2021-07-19 2023-08-11 苏州浪潮智能科技有限公司 Method, device, equipment and medium for calling public function under micro service platform

Similar Documents

Publication Publication Date Title
CN106919555B (en) System and method for field extraction of data contained within a log stream
US10296307B2 (en) Method and system for template extraction based on source code similarity
US11323273B2 (en) System and method for generating a blockchain application for different blockchain technologies
US20160224910A1 (en) Extraction of system administrator actions to a workflow providing a resolution to a system issue
US10360005B2 (en) Local function call tailoring for function pointer calls
CN106990960B (en) Code deployment method and device
US10534593B2 (en) Optimized entry points and local function call tailoring for function pointers
US11372841B2 (en) Anomaly identification in log files
US10268465B2 (en) Executing local function call site optimization
CN104899016A (en) Call stack relationship obtaining method and call stack relationship obtaining device
CN107465687B (en) Method, device and terminal for realizing permission configuration
US11048621B2 (en) Ensuring source code integrity in a computing environment
CN112748947A (en) System configuration method and device, storage medium and electronic equipment
CN107463638A (en) File sharing method and equipment between offline virtual machine
CN112712125A (en) Event stream pattern matching method and device, storage medium and processor
CN116599881A (en) Cloud platform tenant modeling test method, device, equipment and storage medium
CN113850675A (en) Information processing method and device for enterprise transaction relation data
CN111131474A (en) Method, device and medium for managing user protocol based on block chain
CN112486481B (en) Multi-module layered architecture implementation method and device, electronic equipment and medium
CN114581241A (en) Intelligent contract processing method and device, processor and electronic equipment
Ban et al. A Survey on IoT Vulnerability Discovery
CN114791884A (en) Test environment construction method and device, storage medium and electronic equipment
CN112965737A (en) Service function calling method and device
CN114253595A (en) Code warehouse management method and device, computer equipment and storage medium
US11593944B2 (en) System and method for instance segmentation in pathological images using object-guided framework

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