CN111090451A - Service configuration method, device and storage medium - Google Patents

Service configuration method, device and storage medium Download PDF

Info

Publication number
CN111090451A
CN111090451A CN201911087820.8A CN201911087820A CN111090451A CN 111090451 A CN111090451 A CN 111090451A CN 201911087820 A CN201911087820 A CN 201911087820A CN 111090451 A CN111090451 A CN 111090451A
Authority
CN
China
Prior art keywords
configuration
plug
type
service
processor
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
CN201911087820.8A
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911087820.8A priority Critical patent/CN111090451A/en
Publication of CN111090451A publication Critical patent/CN111090451A/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

Landscapes

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

Abstract

The application discloses a method, a device and a storage medium for service configuration, which specifically comprise the following steps: the configuration system receives a service configuration request, wherein the configuration system comprises a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to the microkernel architecture, the plug-in is used for executing configuration operation according to the rule of the configuration processor, the service configuration request comprises configuration types and configuration request information, and the configuration types represent specific configured services; the configuration processor calls the corresponding plug-in according to the mapping relation between the configuration type and the plug-in type, wherein the mapping relation is preset; according to the configuration request information, the plug-in executes configuration operation and generates configuration information; and returning the generated configuration information and completing the service configuration, so that repeated development work can be reduced and the working efficiency of the service configuration can be improved based on the scheme.

Description

Service configuration method, device and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, and a storage medium for service configuration.
Background
Generally, when software is developed, related service functions are configured in the development process of a service system, and service configuration plays an important role in the whole service process. However, in the prior art, a general configuration system is used for technology configuration or application configuration, and service configuration is usually developed separately for each type of service, which may cause repeated development, thereby causing a problem of resource waste.
Disclosure of Invention
Aiming at the prior art, the embodiment of the invention discloses a service configuration method, which solves the problems of repeated development and poor universality in the prior art, reduces the resource waste and optimizes the efficiency of service configuration work, and comprises the following steps:
the configuration system receives a service configuration request, wherein the configuration system comprises a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to a micro-kernel architecture, the plug-in is used for executing configuration operation according to rules of the configuration processor, the service configuration request comprises a configuration type and configuration request information, and the configuration type represents a specific configured service;
the configuration processor calls the corresponding plug-in according to the mapping relation between the configuration type and the plug-in type, wherein the mapping relation is preset;
according to the configuration request information, the plug-in executes configuration operation and generates configuration information;
and returning the generated configuration information and completing service configuration.
Optionally, the step of calling the corresponding plug-in according to the mapping relationship between the configuration type and the plug-in type includes:
acquiring a mapping relation between the configuration type and the plug-in type;
when the configuration type is a first configuration type, calling a first configuration plug-in, wherein the first configuration plug-in comprises a general configuration implementation rule;
and when the configuration type is a second configuration type, calling a second configuration plug-in, wherein the second configuration plug-in comprises a customized configuration implementation rule.
Optionally, the step of executing, by the plug-in according to the configuration request information, a configuration operation and generating configuration information and returning the generated configuration information includes:
the plug-in sends the configuration information to the configuration processor through an interface preset by the configuration processor;
the configuration processor saves the configuration information.
Optionally, the step of executing, by the plug-in, the configuration operation and generating the configuration information according to the configuration request information includes:
extracting configuration parameters in the configuration request information;
judging whether the configuration parameters are legal or not;
if the configuration parameters are legal, the configuration operation is performed and configuration information is generated.
Optionally, after the step of determining whether the configuration parameter is legal, the method further includes: and if the illegal configuration parameters exist, returning prompt information for prompting the illegal configuration parameters.
The embodiment of the invention provides a device for service configuration, which comprises:
the system comprises a receiving module, a configuration module and a service configuration module, wherein the configuration system comprises a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to a microkernel architecture, the plug-in is used for executing configuration operation according to rules of the configuration processor, the service configuration request comprises configuration types and configuration request information, and the configuration types represent specific configured services;
the calling module is used for calling the corresponding plug-in by the configuration processor according to the mapping relation between the configuration type and the plug-in type, wherein the mapping relation is preset;
the generating module is used for executing configuration operation and generating configuration information by the plug-in according to the configuration request information;
and the return module is used for returning the generated configuration information and completing the service configuration.
Optionally, the calling module is configured to obtain a mapping relationship between the configuration type and the plug-in type; when the configuration type is a first configuration type, calling a first configuration plug-in, wherein the first configuration plug-in comprises a general configuration implementation rule; and when the configuration type is a second configuration type, calling a second configuration plug-in, wherein the second configuration plug-in comprises a customized configuration implementation rule.
Optionally, the service configuration apparatus further includes:
the sending module is used for sending the configuration information to the configuration processor through an interface preset by the configuration processor by the plug-in;
and the storage module is used for storing the configuration information by the configuration processor.
Optionally, the generating module includes:
the extracting unit is used for extracting the configuration parameters in the configuration request information;
the judging unit is used for judging whether the configuration parameters are legal or not;
and the execution unit is used for executing the configuration operation and generating the configuration information if the configuration parameters are legal.
Optionally, the generating module further includes:
and the returning unit is used for returning prompt information for prompting that the configuration parameters are illegal if the illegal configuration parameters exist.
Another embodiment of the present invention provides a configuration system, where the configuration system includes a configuration center and a service configuration plug-in, and the configuration system executes the service configuration method described in the above embodiment.
In another embodiment of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored, wherein the instructions, when executed by a processor, can implement the steps in the service configuration method described above.
In another embodiment of the present invention, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the service configuration method is implemented.
In summary, according to the technical solution provided by the embodiment of the present invention, the configuration system includes the configuration processor and the plug-in that conform to the microkernel architecture, and can perform different types of service configurations, and after the configuration system receives a service configuration request sent by a client or other systems, the configuration system can implement operations of configuring different services through the plug-in, thereby solving the problems of repeated development and poor universality existing in the prior art, reducing the workload of repeated development caused by the need of developing service configurations separately for different services, reducing resource waste, and optimizing the efficiency of service configuration work.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 illustrates a flow diagram of a service provisioning method 100 of some embodiments of the present invention;
FIG. 2 illustrates a flow diagram of a method 200 of some embodiments of the inventions;
FIG. 3 illustrates a schematic diagram of a configuration system application scenario 300 in accordance with some embodiments of the invention;
fig. 4 shows a schematic structural diagram of an apparatus 400 for service provisioning in some embodiments of the present invention;
FIG. 5 illustrates a schematic block diagram of an apparatus for service provisioning in some embodiments of the present invention;
FIG. 6 is a block diagram illustrating a generation module for a service profile in some embodiments of the invention;
fig. 7 shows a schematic diagram of an electronic device 700 in some embodiments of the invention.
Detailed Description
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 a part of the embodiments of the present application, and not all of the 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.
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
Based on the problems in the prior art, the embodiment of the invention provides a service configuration method, which is mainly applicable to the technical field of the internet. A service configuration method is realized by aiming at different service configuration requests through a configuration processor and a plug-in a configuration system conforming to a microkernel architecture. The technical solution of the present invention will be described in detail with specific examples. Several of the following embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. As shown in fig. 1, fig. 1 illustrates a schematic flow chart of a service configuration method 100 according to some embodiments of the present application. The service configuration method comprises the following detailed steps:
step S101: the configuration system receives a service configuration request.
In step S101, the configuration system includes a configuration processor and at least one plug-in, where the configuration processor and the plug-in conform to the micro-kernel architecture, the plug-in is used to execute a configuration operation according to rules of the configuration processor, the service configuration request includes a configuration type and configuration request information, and the configuration type represents a specific configured service.
Step S102: and the configuration processor calls the corresponding plug-in according to the mapping relation between the configuration type and the plug-in type.
Here, the mapping relationship between the configuration type and the plug-in type is preset, and the plug-in to be used for executing the service configuration request is determined through the mapping relationship.
Step S103: and according to the configuration request information, the plug-in executes configuration operation and generates configuration information.
Step S104: and returning the generated configuration information and completing service configuration.
In summary, in the embodiment of the present invention, in the service configuration method, the configuration system includes the configuration processor and the plug-in that conform to the microkernel architecture, the microkernel architecture has expandability, and can perform different types of service configurations, and after the configuration system receives a service configuration request sent by a client or another system, the configuration system can perform configuration operations on different services through the plug-in, thereby solving the problems of repeated development and poor universality existing in the prior art, reducing the workload of repeated development caused by the need of separately developing service configurations for different services, reducing resource waste, and optimizing the efficiency of service configuration work.
In the embodiment of the present invention, as shown in fig. 2, fig. 2 shows a flowchart of a service configuration method 200 according to some embodiments of the present invention. The service configuration method 200 includes:
step S201: the configuration system receives a service configuration request.
Here, the configuration system includes a configuration processor and at least one plug-in, the configuration processor and the plug-in conforming to the microkernel architecture, the plug-in for performing configuration operations according to rules of the configuration processor.
The service configuration request comprises a configuration type and configuration request information, wherein the configuration type represents the configured specific service, and the configuration request information can comprise a service operation range, configuration parameters, operation parameters and the like.
Step S202: and the configuration processor acquires the mapping relation between the configuration type and the plug-in type.
Here, the mapping relationship between the configuration type and the plug-in type is preset, and the plug-in to be used for executing the service configuration request is determined through the mapping relationship. The configuration type is determined according to specific business requirements, for example, in a house property system, the configuration type includes pushing times, negotiation protection period, and the like.
Step S203: and calling the first configuration plug-in when the configuration type is the first configuration type.
In particular, the first configuration type refers to a configuration type having a single logical configuration or involving only a single-value configuration. The plug-in corresponding to the first configuration type is a first configuration plug-in, the first configuration plug-in includes a general configuration implementation rule, that is, the first configuration plug-in may be a general configuration plug-in, the number of the first configuration plug-ins may be one, and the service configuration request of which the configuration type belongs to the first configuration type may implement the configuration operation or the configuration function to be performed by calling the first configuration plug-in, that is, the general configuration plug-in.
Step S204: and when the configuration type is a second configuration type, calling the second configuration plug-in.
Here, the second configuration type refers to a configuration type having a complex logic configuration or a linkage change configuration. The plug-in corresponding to the second configuration type is a second configuration plug-in, the second configuration plug-in may be a customized configuration plug-in, the second configuration plug-in includes a customized configuration implementation rule, and the second configuration plug-in sets the customized configuration implementation rule according to the specific service configuration request. Because the second configuration plug-in is a customized configuration plug-in, the number of the second configuration plug-ins may be multiple, and different configuration types belonging to the second configuration type respectively have the second configuration plug-ins corresponding to the configuration types thereof.
Step S205: and according to the configuration request information, the plug-in executes configuration operation and generates configuration information.
Specifically, the configuration request information of the service configuration request may include a service operation scope, configuration parameters, operation parameters, and the like. When the configuration operation is executed, the method further comprises the following steps of checking the configuration request information:
firstly, extracting configuration parameters in the configuration request information, wherein the configuration parameters can be numerical values or characters and the like, and then judging whether the configuration parameters are legal, wherein the legal configuration parameters refer to the correct form of the configuration parameters or the configuration parameters belong to a preset range. And if the illegal configuration parameters exist, returning prompt information for prompting the illegal configuration parameters. If the configuration parameters are legal, the configuration operation is performed and configuration information is generated.
Step S206: and the plug-in sends the configuration information to the configuration processor through an interface preset by the configuration processor.
Here, after the plug-in executes the configuration operation, the configuration information is generated, the generated configuration information is sent through a preset interface of the configuration processor, the plug-in complies with the core logic rule of the configuration processor, the number of the preset interfaces may be multiple, and different preset interfaces are implemented according to different service configurations. The interface can be set according to the flow node in the service configuration process, for example, interfaces such as check, before storage, after storage, before update, after update and the like are abstracted, so that the configuration system has better expansion capability.
Step S207: the configuration processor saves the configuration information.
Here, the configuration processor saves the received configuration information to the configuration database, specifically, the configuration information includes a work scope, configuration parameters and operation parameters, and is stored in a structured storage manner.
Step S208: and returning the generated configuration information and completing service configuration.
In summary, in the embodiment of the present invention, in the service configuration method, the configuration system includes the configuration processor and the plug-in that conform to the microkernel architecture, and can perform different types of service configurations, and after the configuration system receives a service configuration request sent by a client or another system, the configuration system can implement configuration operations on different services through different plug-ins, thereby solving the problems of repeated development and poor universality existing in the prior art, reducing the workload of repeated development caused by the need of separately developing service configurations for different services, reducing resource waste, and optimizing the efficiency of service configuration work.
In an embodiment of the invention, as shown in fig. 3, fig. 3 shows a schematic diagram of a configuration system application scenario 300 of some embodiments of the invention. The application scenario 300 includes: client 301, configuration system 302, business system 303, configuration database 304.
The configuration system 302 includes a configuration processor 3021 and a plug-in 3022, the configuration processor 3021 and the plug-in 3022 conform to the micro-kernel architecture, and the configuration system 302 may perform the service configuration method in the above embodiment.
Specifically, the configuration system 302 receives a service configuration request sent by the client 301, where the service configuration request includes a configuration type and configuration request information, the configuration type represents a configured specific service, and the configuration request information may include a service operation range, configuration parameters, operation parameters, and the like. For example, in a real estate system, an administrator with configuration authority performs configuration operation on the client 301, and the client 301 sends a corresponding service configuration request to the configuration system 302. The business operation range of the configuration request information can be cities, companies, large areas and the like; the configuration parameter may be a push room number value; the operation parameter may be an operator, an operation behavior, such as modify/delete/query/save, and the like.
Further, the configuration processor may determine the plug-in to be used for executing the service configuration request according to a mapping relationship between the configuration type and the plug-in type, where the mapping relationship between the configuration type and the plug-in type is preset. The configuration type is determined according to specific business requirements, for example, in a house property system, the configuration type includes pushing times, negotiation protection period, and the like.
Specifically, when the configuration type is a first configuration type, the first configuration plug-in is called. The first configuration type refers to a configuration type having a single logical configuration or involving only a single-value configuration. The plug-in corresponding to the first configuration type is a first configuration plug-in, the first configuration plug-in includes a general configuration implementation rule, that is, the first configuration plug-in may be a general configuration plug-in, the number of the first configuration plug-ins may be one, and the service configuration request of which the configuration type belongs to the first configuration type may implement the configuration operation or the configuration function to be performed by calling the first configuration plug-in, that is, the general configuration plug-in. For example, in a house property system, a configuration manager needs to configure the house pushing times for a certain city, and since the configuration type of the house pushing times is only single-value configuration and belongs to a first configuration type, a first configuration plug-in serving as a general configuration plug-in, namely the general configuration plug-in, is called.
And when the configuration type is a second configuration type, calling the second configuration plug-in, wherein the second configuration type is a configuration type with complex logic configuration or linkage change configuration. The plug-in corresponding to the second configuration type is a second configuration plug-in, the second configuration plug-in may be a customized configuration plug-in, the second configuration plug-in includes a customized configuration implementation rule, and the second configuration plug-in sets the customized configuration implementation rule according to the specific service configuration request. Because the second configuration plug-in is a customized configuration plug-in, the number of the second configuration plug-ins may be multiple, and different configuration types belonging to the second configuration type respectively have the second configuration plug-ins corresponding to the configuration types thereof. For example, in a house property system, a configuration manager needs to configure an outbound broker collaboration network (ACN) for a certain city, the outbound ANC configuration parameters include upper and lower limit values, and when the upper and lower limit values of a certain city are modified, the upper and lower values of a company in the city are affected, the configuration type belongs to a second configuration type, a second configuration plug-in serving as a general configuration plug-in is called, and a customized configuration plug-in set for the outbound ANC needs to be used.
Further, according to the configuration request information, the plug-in executes configuration operation and generates configuration information, the configuration information is generated after the configuration operation is executed, and the configuration information comprises a work range, configuration parameters and operation parameters. And the plug-in sends the configuration information to the configuration processor through an interface preset by the configuration processor. The configuration processor stores the received configuration information, which may be stored in a configuration database 304, and the configuration information is stored in a structured storage manner. Finally, the configuration system 302 returns the generated configuration information to the client 303, thereby implementing the service configuration of the user operation of the client.
Furthermore, the service system 303 may obtain required configuration information from the configuration system 302, and when a user of the client 301 performs a service operation, the service system 303 determines information such as an operation authority of the user according to the configuration information obtained from the configuration system 302, and may prompt the user whether a related operation or the like can be performed.
Therefore, in the embodiment of the invention, the configuration system comprises the configuration processor and the plug-ins which accord with the microkernel architecture, different types of service configurations can be carried out, the function of configuring different services can be realized through different plug-ins, the problems of repeated development and poor universality in the prior art are solved, the workload of repeated development caused by the fact that different services need to be independently developed for service configuration is reduced, the resource waste is reduced, and the efficiency of service configuration work is optimized.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a service configuration apparatus 400 according to some embodiments of the present invention, and in an embodiment of the present invention, there is provided a service configuration apparatus, including:
a receiving module 401, configured to receive a service configuration request by a configuration system, where the configuration system includes a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to a micro-kernel architecture, the plug-in is configured to execute a configuration operation according to a rule of the configuration processor, the service configuration request includes a configuration type and configuration request information, and the configuration type represents a specific configured service;
a calling module 402, which uses a configuration processor to call a corresponding plug-in according to the mapping relationship between the configuration type and the plug-in type, wherein the mapping relationship is preset;
a generating module 403, configured to, according to the configuration request information, execute a configuration operation by the plug-in and generate configuration information;
a returning module 404, configured to return the generated configuration information to the client, and complete service configuration.
Further, the calling module 402 may be further configured to obtain a mapping relationship between the configuration type and the plug-in type; when the configuration type is a first configuration type, calling a first configuration plug-in, wherein the first configuration plug-in comprises a general configuration implementation rule; and when the configuration type is a second configuration type, calling the second configuration plug-in, wherein the second configuration plug-in comprises a customized configuration implementation rule.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a device for service configuration in some embodiments of the present invention. Further, the apparatus 400 for service configuration further includes:
the sending module is used for sending the configuration information to the configuration processor through an interface preset by the configuration processor by the plug-in;
and the storage module is used for storing the configuration information by the configuration processor.
Further, as shown in fig. 6, fig. 6 is a schematic structural diagram of a generating module of a service configuration in some embodiments of the present invention, where the generating module 403 includes:
the extracting unit is used for extracting the configuration parameters in the configuration request information;
the judging unit is used for judging whether the configuration parameters are legal or not;
and the execution unit is used for executing the configuration operation and generating the configuration information if the configuration parameters are legal.
And the returning unit is used for returning prompt information for prompting that the configuration parameters are illegal if the illegal configuration parameters exist.
An embodiment of the present application further provides a computer-readable storage medium, which stores instructions, and when executed by a processor, causes the processor to execute the steps in the method for service configuration according to the foregoing embodiment. In practical applications, the computer readable medium may be included in the apparatus/device/system described in the above embodiments, or may exist alone without being assembled into the apparatus/device/system. The computer readable storage medium carries one or more programs which, when executed, implement a method for service configuration according to the service configuration apparatus described above.
According to embodiments disclosed herein, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example and without limitation: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, without limiting the scope of the present disclosure. In the embodiments disclosed herein, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Fig. 7 is a schematic structural diagram of an electronic device 700 according to some embodiments of the invention, as shown in fig. 7. An electronic device is further provided in this embodiment, and includes the above-mentioned computer-readable medium 701, and further includes a processor 702 that can execute the computer-readable storage medium. In practice, the electronic device may be one or more computers, so long as the computer-readable medium and the processor are included.
In addition, the method steps described in this application may be implemented by hardware, for example, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, embedded microcontrollers, and the like, in addition to data processing programs. Such hardware capable of implementing the methods described herein may also constitute the present application.
The flowchart and block diagrams in the figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments disclosed herein. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not explicitly recited in the present application. In particular, the features recited in the various embodiments and/or claims of the present application may be combined and/or coupled in various ways, all of which fall within the scope of the present disclosure, without departing from the spirit and teachings of the present application.
The principles and embodiments of the present invention are explained herein using specific examples, which are provided only to help understanding the method and the core idea of the present invention, and are not intended to limit the present application. It will be appreciated by those skilled in the art that changes may be made in this embodiment and its broader aspects and without departing from the principles, spirit and scope of the invention, and that all such modifications, equivalents, improvements and equivalents as may be included within the scope of the invention are intended to be protected by the claims.

Claims (10)

1. A method for service provisioning, the method comprising:
the configuration system receives a service configuration request, wherein the configuration system comprises a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to a micro-kernel architecture, the plug-in is used for executing configuration operation according to rules of the configuration processor, the service configuration request comprises a configuration type and configuration request information, and the configuration type represents a specific configured service;
the configuration processor calls the corresponding plug-in according to the mapping relation between the configuration type and the plug-in type, wherein the mapping relation is preset;
according to the configuration request information, the plug-in executes configuration operation and generates configuration information;
and returning the generated configuration information and completing service configuration.
2. The method according to claim 1, wherein the step of calling the corresponding plug-in according to the mapping relationship between the configuration type and the plug-in type comprises:
acquiring a mapping relation between the configuration type and the plug-in type;
when the configuration type is a first configuration type, calling a first configuration plug-in, wherein the first configuration plug-in comprises a general configuration implementation rule;
and when the configuration type is a second configuration type, calling a second configuration plug-in, wherein the second configuration plug-in comprises a customized configuration implementation rule.
3. The method of claim 1, wherein between the step of the plug-in performing the configuration operation and generating the configuration information and returning the generated configuration information according to the configuration request information, the method further comprises:
the plug-in sends the configuration information to the configuration processor through an interface preset by the configuration processor;
the configuration processor saves the configuration information.
4. The method of claim 1, wherein the step of the plug-in performing the configuration operation and generating the configuration information according to the configuration request information comprises:
extracting configuration parameters in the configuration request information;
judging whether the configuration parameters are legal or not;
if the configuration parameters are legal, the configuration operation is performed and configuration information is generated.
5. The method of claim 4, wherein after the step of determining whether the configuration parameter is legal, the method further comprises:
and if the illegal configuration parameters exist, returning prompt information for prompting the illegal configuration parameters.
6. An apparatus for service provisioning, the apparatus comprising:
the system comprises a receiving module, a configuration module and a service configuration module, wherein the configuration system comprises a configuration processor and at least one plug-in, the configuration processor and the plug-in conform to a microkernel architecture, the plug-in is used for executing configuration operation according to rules of the configuration processor, the service configuration request comprises configuration types and configuration request information, and the configuration types represent specific configured services;
the calling module is used for calling the corresponding plug-in by the configuration processor according to the mapping relation between the configuration type and the plug-in type, wherein the mapping relation is preset;
the generating module is used for executing configuration operation and generating configuration information by the plug-in according to the configuration request information;
and the return module is used for returning the generated configuration information and completing the service configuration.
7. The apparatus according to claim 6, wherein the invoking module is configured to obtain a mapping relationship between the configuration type and a plug-in type; when the configuration type is a first configuration type, calling a first configuration plug-in, wherein the first configuration plug-in comprises a general configuration implementation rule; and when the configuration type is a second configuration type, calling a second configuration plug-in, wherein the second configuration plug-in comprises a customized configuration implementation rule.
8. A configuration system comprising a configuration center and a service configuration plug-in, characterized in that the configuration system performs the service configuration method according to any of claims 1 to 5.
9. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the service provisioning method of any of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the service provisioning method according to any of claims 1 to 5 when executing the program.
CN201911087820.8A 2019-11-08 2019-11-08 Service configuration method, device and storage medium Pending CN111090451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911087820.8A CN111090451A (en) 2019-11-08 2019-11-08 Service configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911087820.8A CN111090451A (en) 2019-11-08 2019-11-08 Service configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111090451A true CN111090451A (en) 2020-05-01

Family

ID=70393484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911087820.8A Pending CN111090451A (en) 2019-11-08 2019-11-08 Service configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111090451A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202591A (en) * 2020-08-28 2021-01-08 网宿科技股份有限公司 Configuration management system, method and storage medium
CN114650224A (en) * 2020-12-21 2022-06-21 北京金山云网络技术有限公司 Node function configuration method and device, electronic equipment and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267771A1 (en) * 2003-06-30 2004-12-30 International Business Machines Corporation Method, system and computer program product for providing business logic transaction processing
US20060143591A1 (en) * 2004-12-23 2006-06-29 Microsoft Corporation Extensibility framework for developing front office (CRM) workflow automation components
CN101631041A (en) * 2009-07-29 2010-01-20 中兴通讯股份有限公司 Service configuration processing method and configuration relation management module
CN103617508A (en) * 2013-12-12 2014-03-05 用友软件股份有限公司 Configurable business rule plug-in extension apparatus and business rule plug-in extension method
CN106845792A (en) * 2016-12-27 2017-06-13 中国电子科技集团公司第五十四研究所 Mission planning general-purpose platform based on star ground resource model
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
CN108628947A (en) * 2018-04-02 2018-10-09 阿里巴巴集团控股有限公司 A kind of business rule matched processing method, device and processing equipment
CN108804089A (en) * 2018-05-03 2018-11-13 福建天泉教育科技有限公司 Can assembling module applied business ability plug-in unit method and its system
WO2019019378A1 (en) * 2017-07-25 2019-01-31 上海壹账通金融科技有限公司 Service processing method and apparatus, adapter and computer-readable storage medium
CN110334906A (en) * 2019-05-30 2019-10-15 广东民航机场建设有限公司 Business data processing method, device, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267771A1 (en) * 2003-06-30 2004-12-30 International Business Machines Corporation Method, system and computer program product for providing business logic transaction processing
US20060143591A1 (en) * 2004-12-23 2006-06-29 Microsoft Corporation Extensibility framework for developing front office (CRM) workflow automation components
CN101631041A (en) * 2009-07-29 2010-01-20 中兴通讯股份有限公司 Service configuration processing method and configuration relation management module
CN103617508A (en) * 2013-12-12 2014-03-05 用友软件股份有限公司 Configurable business rule plug-in extension apparatus and business rule plug-in extension method
CN106845792A (en) * 2016-12-27 2017-06-13 中国电子科技集团公司第五十四研究所 Mission planning general-purpose platform based on star ground resource model
CN106888256A (en) * 2017-02-21 2017-06-23 广州神马移动信息科技有限公司 Distributed monitoring system and its monitoring and dispatching method and device
WO2019019378A1 (en) * 2017-07-25 2019-01-31 上海壹账通金融科技有限公司 Service processing method and apparatus, adapter and computer-readable storage medium
CN108628947A (en) * 2018-04-02 2018-10-09 阿里巴巴集团控股有限公司 A kind of business rule matched processing method, device and processing equipment
CN108804089A (en) * 2018-05-03 2018-11-13 福建天泉教育科技有限公司 Can assembling module applied business ability plug-in unit method and its system
CN110334906A (en) * 2019-05-30 2019-10-15 广东民航机场建设有限公司 Business data processing 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
CN112202591A (en) * 2020-08-28 2021-01-08 网宿科技股份有限公司 Configuration management system, method and storage medium
CN114650224A (en) * 2020-12-21 2022-06-21 北京金山云网络技术有限公司 Node function configuration method and device, electronic equipment and system

Similar Documents

Publication Publication Date Title
CN109445869B (en) Cross-cloud-adaptive micro-service management method and device and storage medium
CN111258565B (en) Method, system, server and storage medium for generating applet
CN110289983B (en) Load balancing application creation method and device, computer equipment and storage medium
CN110717076A (en) Node management method, node management device, computer equipment and storage medium
CN109062619B (en) Method, system, device and storage medium for unified management of third-party storage equipment
CN104199711A (en) Method and device for creating root access
CN110262872B (en) Load balancing application management method and device, computer equipment and storage medium
CN102810184A (en) Method and device for dynamically executing workflow and enterprise system
CN111899008B (en) Resource transfer method, device, equipment and system
CN111090451A (en) Service configuration method, device and storage medium
CN110826978A (en) Unified backlog processing method and device based on enterprise browser
CN111158597A (en) Metadata reading method and device, electronic equipment and storage medium
CN111767144A (en) Transaction routing determination method, device, equipment and system for transaction data
CN103257901A (en) Distribution method of computing tasks, cloud computing platform, terminal and system
CN103984621B (en) log separation method and system
CN102841782A (en) Global variable managing method and device
CN105100117A (en) Method and device for accessing combined services
CN111488117A (en) Method, electronic device, and computer-readable medium for managing metadata
US11010154B2 (en) System and method for implementing complex patching micro service automation
CN110290172B (en) Container application cloning method and device, computer equipment and storage medium
CN110795242A (en) Storage space management method and device, electronic equipment and storage medium
CN109194734A (en) Information push method, device, server and readable storage medium storing program for executing
CN110968363A (en) Data configuration synchronization method and device, electronic equipment and readable storage medium
CN106557359B (en) Task scheduling method and system
CN113282457B (en) Method, device and medium for maintaining heterogeneous system integration interface information

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