CN111290804B - Service configuration system, service configuration method and device and configuration server - Google Patents

Service configuration system, service configuration method and device and configuration server Download PDF

Info

Publication number
CN111290804B
CN111290804B CN202010104296.7A CN202010104296A CN111290804B CN 111290804 B CN111290804 B CN 111290804B CN 202010104296 A CN202010104296 A CN 202010104296A CN 111290804 B CN111290804 B CN 111290804B
Authority
CN
China
Prior art keywords
configuration
service
parameters
target
spam
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.)
Active
Application number
CN202010104296.7A
Other languages
Chinese (zh)
Other versions
CN111290804A (en
Inventor
廖文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202010104296.7A priority Critical patent/CN111290804B/en
Publication of CN111290804A publication Critical patent/CN111290804A/en
Application granted granted Critical
Publication of CN111290804B publication Critical patent/CN111290804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The embodiment of the invention discloses a service configuration system, a service configuration method, a service configuration device and a service configuration server. The service configuration system comprises: the method comprises the steps of configuring a service cluster, a center configuration end and an experiment configuration cluster, wherein the center configuration end stores spam configuration parameters of different configuration services, and the experiment configuration cluster calculates hit configuration parameters of the different configuration services; the configuration service cluster acquires the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, acquires the hit configuration parameters of the target configuration service from the experiment configuration cluster, and determines the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters. According to the technical scheme provided by the embodiment of the invention, a technician does not need to manually set the default configuration for use when the experiment configuration cluster misses a specific experiment, the actual configuration parameters are directly determined through the spam configuration parameters, errors existing in manually set the default configuration are avoided, and the flexibility and stability of service configuration are improved.

Description

Service configuration system, service configuration method and device and configuration server
Technical Field
The embodiment of the invention relates to the technical field of service processing, in particular to a service configuration system, a service configuration method, a service configuration device and a service configuration server.
Background
At present, in most internet applications, when configuration optimization is performed on a certain application service, an ab experiment service is generally adopted to hit an optimal experiment scheme according to a configuration request of the current optimization, and then a configuration value corresponding to the optimal experiment scheme is adopted to configure the current application service, for example, the ab experiment service is adopted to perform corresponding configuration optimization on a page style, a page jump link or a page button layout of the certain application.
Because the existing ab experiment service can preset various experiment schemes aiming at the configuration optimization of a specific service, a part of users are circled according to the dimensions of user countries, languages, equipment numbers, user numbers, running systems and the like to serve as the participating users of the ab experiment service, and statistical analysis is carried out on the hit experiment scheme and the behavior data of the users under the experiment scheme when each participating user carries out the ab experiment service, so that the optimal experiment scheme is evaluated to serve as the configuration selection of the service optimization.
At this time, in the current ab experiment service, when the user in the current ab experiment service circle does not access the ab experiment, the preset experiment scheme is not hit, so that the empty scheme is returned to the user, and at this time, a technician is required to manually set a corresponding default configuration in the service configuration code of the client; the time and energy of technicians are wasted greatly, the flexibility of the whole business configuration flow is low, and the business configuration efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides a service configuration system, a service configuration method, a service configuration device and a service configuration server, which realize automatic acquisition of service configuration parameters and improve flexibility and stability of service configuration.
In a first aspect, an embodiment of the present invention provides a service configuration system, including: the system comprises a configuration service cluster, a center configuration end and an experiment configuration cluster, wherein the center configuration end stores spam configuration parameters of different configuration services, and the experiment configuration cluster calculates hit configuration parameters of different configuration services; wherein, the liquid crystal display device comprises a liquid crystal display device,
the configuration service cluster obtains the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, obtains the hit configuration parameters of the target configuration service from the experiment configuration cluster, and determines the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
In a second aspect, an embodiment of the present invention provides a service configuration method, where the method includes:
acquiring a spam configuration parameter of a currently accessed target configuration service from a center configuration end, and calculating a hit configuration parameter of the target configuration service through an experiment configuration cluster;
and determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
In a third aspect, an embodiment of the present invention provides a service configuration apparatus, where the apparatus includes:
the configuration parameter acquisition module is used for acquiring the spam configuration parameters of the currently accessed target configuration service from the center configuration end and calculating hit configuration parameters of the target configuration service through the experiment configuration cluster;
and the actual configuration determining module is used for determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
In a fourth aspect, an embodiment of the present invention provides a configuration server, including:
one or more processors;
a storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the service configuration method according to any embodiment of the present invention.
In a fifth aspect, an embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the program is executed by a processor to implement a service configuration method according to any embodiment of the present invention.
According to the business configuration system, the business configuration method, the business configuration device and the configuration server, the spam configuration parameters of different configuration businesses are stored in the center configuration end in advance, when a business configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration business which is accessed currently from the center configuration end, meanwhile obtains the calculated hit configuration parameters of the target configuration business from the experiment configuration cluster, further determines the actual configuration parameters of the target configuration business according to the spam configuration parameters and the hit configuration parameters, realizes automatic and accurate configuration of different configuration businesses, does not need a technician to manually set corresponding default configuration when the experiment configuration cluster does not hit a specific experiment, directly determines the actual configuration parameters through the spam configuration parameters, avoids errors when the default configuration is manually set, and improves the flexibility and stability of business configuration.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
fig. 1 is a schematic architecture diagram of a service configuration system according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a service configuration system according to a second embodiment of the present invention;
fig. 3 is a flowchart of a service configuration method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a service configuration method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service configuration device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a configuration server according to a sixth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
Fig. 1 is a schematic diagram of a service configuration system according to a first embodiment of the present invention. The embodiment can be applied to the case of determining the configuration parameters of any service when accessing the service. Specifically, referring to fig. 1, the service configuration system 10 may include: configuration service cluster 110, center configuration side 120, and experiment configuration cluster 130.
The central configuration end 120 stores spam configuration parameters of different configuration services, and the experiment configuration cluster 130 calculates hit configuration parameters of different configuration services; specifically, the configuration service cluster 110 obtains the spam configuration parameters of the target configuration service currently accessed from the central configuration end 120, obtains the hit configuration parameters of the target configuration service from the experiment configuration cluster 130, and determines the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
Optionally, the configuration service in this embodiment may refer to a service that a user can access and update and optimize in any internet application, for example, performing corresponding configuration optimization on a display style, a page jump link, or a page button layout of a specific page in a certain internet application.
At this time, for different types of configuration services, the present embodiment may store, in advance, spam configuration parameters of different configuration services in the central configuration end 120, where the spam configuration parameters may implement update management in a multi-version state, for example, configuration add-drop and delete, rights management, multi-version configuration, packet management, and history tracking; meanwhile, the corresponding ab experiment service under different configuration services can be preset in the experiment configuration cluster 130, and then the corresponding hit configuration parameters are obtained by executing the ab experiment service to hit the most suitable configuration scheme. Specifically, the central configuration end 120 can provide multi-version functions of spam configuration, support functions of release, editing, rollback and the like of versions, and for this purpose, copies of each version and current states of the version under different configuration services can be recorded in a database of the central configuration end 120; meanwhile, in order to support the multi-platform multi-country multi-language characteristics of the internet application, the central configuration terminal 120 may also support the spam configuration in multiple dimensions.
Meanwhile, the experiment configuration cluster 130 of the embodiment is provided with a fusing mechanism, and when a plurality of examples in the experiment configuration cluster 130 are unavailable, a degradation strategy is adopted or fusing is performed if necessary, so that high availability of service is ensured.
In addition, the configuration service cluster 110 sets corresponding data interfaces for the central configuration end 120 and the experimental configuration cluster 130, so as to read corresponding configuration parameters on the central configuration end 120 and the experimental configuration cluster 130, and perform aggregation processing to obtain corresponding actual configuration parameters.
Specifically, after receiving an access request of a user for a certain configuration service, the configuration service cluster 110 first analyzes the access request to obtain a target configuration service currently accessed, and then reads, through an interface of the configuration service cluster 110 connected to the central configuration end 120, a spam configuration parameter of the target configuration service pre-stored on the central configuration end 120, and simultaneously sends the access request of the target configuration service to the experimental configuration cluster 130, the experimental configuration cluster 130 executes a pre-set ab experiment service on the target configuration service, and then hits a test scheme most suitable for the target configuration service, so as to obtain a corresponding hit configuration parameter, and returns the hit configuration parameter to the configuration service cluster 110, and the configuration service cluster 110 analyzes a difference between the spam configuration parameter read from the central configuration end 120 and the hit configuration parameter calculated by the experimental configuration cluster 130, so as to determine an actual configuration parameter of the target configuration service, thereby realizing automatic and accurate configuration of the target configuration service and improving flexibility of the configuration service.
It should be noted that, because the user currently requesting to access the target configuration service may not belong to the user range in the ab experiment service circle set on the experiment configuration cluster 130, the experiment configuration cluster 130 cannot hit the corresponding experiment configuration scheme when executing the ab experiment service, so that the hit configuration parameter returned by the experiment configuration cluster 130 to the configuration service cluster 110 is null. At this time, when determining the actual configuration parameter of the target configuration service, the configuration service cluster 110 needs to determine whether the hit configuration parameter is empty, and directly uses the spam configuration parameter as the actual configuration parameter of the target configuration service when the hit configuration parameter is empty; when the hit configuration parameter is not empty, the hit configuration parameter calculated by the ab experiment service is more accurate than the pre-set spam configuration parameter, so that the hit configuration parameter can be directly covered by the spam configuration parameter obtained from the central configuration terminal 120, and then the hit configuration parameter is used as the actual configuration parameter of the target configuration service.
In addition, after the current ab experiment service is filed, a technician needs to manually solidify a configuration value corresponding to an optimal experiment scheme evaluated by the current ab experiment service into a service configuration code of a client where a user is located, and then other users access the target configuration service and need to be re-solidified, so that the service cannot be permanently configured after the ab experiment service is filed, so that in order to avoid the problem that the service cannot be permanently configured, after the experimental configuration of the target configuration service is filed, the experimental configuration cluster 130 in the embodiment firstly evaluates an optimal hit configuration parameter of the target configuration service under the current experimental configuration according to user behavior data and the hit experiment scheme of the user participating in the current ab experiment service, and directly and automatically solidifies the optimal hit configuration parameter into the central configuration end 120 to serve as a bottom-of-the-target configuration parameter of the target configuration service, so that after the configuration of the target configuration service under the ab experiment configuration service is filed is completed, the corresponding configuration parameter can be directly read from the central configuration end 120 by the configuration service cluster 110, and thus the service configuration accuracy is ensured.
Further, in order to support the multidimensional configuration characteristic of the internet application, in this embodiment, when the central configuration end 120 sets corresponding spam configuration parameters for different configuration services, the corresponding default configuration parameters and custom configuration codes can be selectively set, and the custom configuration codes can be preset for configuration under multiple dimensions, at this time, the configuration service cluster 110 firstly analyzes the target spam configuration parameters required to be adopted when the actual configuration parameters are determined subsequently, so when the configuration service cluster 110 determines that the custom configuration codes exist in the spam configuration parameters primarily returned by the central configuration end 120, the custom configuration codes are directly executed according to the access parameters of the target configuration services, without considering the default configuration parameters, and further the obtained code configuration results are used as the target spam configuration parameters; and when the default configuration parameters exist in the spam configuration parameters and the custom configuration codes do not exist, the default configuration parameters are directly used as target spam configuration parameters, and the actual configuration parameters of the target configuration service are directly determined according to the target spam configuration parameters and hit configuration parameters, so that the comprehensiveness of the actual configuration parameters is ensured. At this time, in this embodiment, the multi-dimensional configuration of the spam configuration parameter may be implemented through the separator under different configuration services or through the dictionary in the configuration value, which is not limited to one custom configuration code.
It should be noted that, in this embodiment, the custom configuration code in the spam configuration parameter may be executed in cooperation with the access parameter of the user to the target configuration service, so as to meet the requirement of a complex service configuration scenario, for example, different configurations may be flexibly returned for different countries and languages according to the information such as the country language and the service target carried in the access parameter, so as to meet the configuration requirements of different users.
For example, the custom configuration code in this embodiment may be as follows:
Public class MyExtension{
Public string handle(Map<string,string>paramsMap,string
defaultValue){
If(“CN”.equals(paramsMap.get(“country”))){
Return“1”;
}
Return defaultValue;
}
}
in the sample code, the paramssmmap is an access parameter input by a user, the defaultValue is a default configuration parameter, when the custom configuration code judges that the value of the "count" parameter uploaded by the user is "CN", the custom configuration code returns a configuration value of "1", and other cases return default configuration parameters; similarly, the custom configuration code can also make different judgments according to different values of other access parameters, such as parameters of "language", "clients version", etc., so as to return different configuration parameters, thereby realizing multidimensional service configuration.
In addition, after the configuration service cluster 110 obtains the custom configuration code from the central configuration end 120, the custom configuration code may be executed by a Java script executor to obtain a corresponding spam configuration parameter, for example, a Java script engine is obtained by a Java script engine, and then a method name and a parameter execution needed by the method are specified to obtain a target spam configuration parameter returned by the custom configuration code.
Meanwhile, since the experimental configuration cluster 130 may hit the experimental configuration scheme set under other configuration services when executing the ab experimental service, and return nonsensical hit configuration parameters, the configuration service cluster 110 may discard hit configuration parameters of other configuration services, so as to ensure accuracy of service configuration.
In addition, the configuration service cluster 110, the center configuration end 120 and the experiment configuration cluster 130 in the embodiment can adopt a micro-service mode to perform multi-instance deployment so as to realize high availability of service configuration; at this time, since the spam configuration parameters on the central configuration end 120 are relatively fixed, the configuration service cluster 110 caches the results in the memory by means of the interface timing request when accessing the central configuration end 120, so as to reduce the time consumption of accessing the central configuration end 120 each time, and the access experiment configuration cluster 130 is by means of the interface real-time request.
According to the technical scheme provided by the embodiment, the spam configuration parameters of different configuration services are stored in the center configuration end in advance, when a service configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, and meanwhile obtains the calculated hit configuration parameters of the target configuration service from the experiment configuration cluster, and further, the actual configuration parameters of the target configuration service are determined according to the spam configuration parameters and the hit configuration parameters, so that automatic accurate configuration of different configuration services is realized, a technician does not need to manually set default configuration for use when the experiment configuration cluster does not hit a specific experiment, the actual configuration parameters are directly determined through the spam configuration parameters, errors existing when the default configuration is manually set are avoided, and the flexibility and stability of service configuration are improved.
Example two
Fig. 2 is a schematic structural diagram of a service configuration system according to a second embodiment of the present invention. The present embodiment is optimized based on the technical solution provided in the foregoing embodiment. Referring to fig. 2, the business configuration system 20 may include a configuration service cluster 210, a central configuration end 220, and an experimental configuration cluster 230.
The central configuration end 220 stores spam configuration parameters of different configuration services, and the experiment configuration cluster 230 calculates hit configuration parameters of different configuration services.
Specifically, the configuration service cluster 210 obtains the spam configuration parameters of the currently accessed target configuration service from the central configuration end 220, obtains the hit configuration parameters of the target configuration service from the experiment configuration cluster 230, and determines the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
Meanwhile, the service configuration system 20 in this embodiment may further include a client 240, a service gateway 250, and a registration server 260 in addition to the configuration service cluster 210, the center configuration end 220, and the experiment configuration cluster 230.
The service gateway 250 searches for a target configuration service end facing the target configuration service in the configuration service cluster 210 according to the target configuration service currently accessed by the client 240, and the target configuration service end obtains the spam configuration parameters of the target configuration service currently accessed from the central configuration end 220, and obtains the hit configuration parameters of the target configuration service from the experiment configuration cluster 230.
Specifically, when accessing a target configuration service in an internet application, the client 240 generates an access request of the target configuration service, where the access request may be a hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) request, the current request is in a post mode, a request body of the access request carries relevant parameters required by the client 240 for obtaining configuration this time, such as a configuration name key, a country count, a language, a platform, a device number deviceId, a client version and the like, so that after receiving the access request of the client 240, the service gateway 250 may find a target configuration service end facing the target configuration service in the configuration service cluster 210 according to various parameters carried in the access request, and then the target configuration service end performs a subsequent service configuration function, and at this time, the service gateway 250 may forward the access request of the client 240 to a specific configuration server instance in the configuration service cluster 210 according to a certain routing policy, such as random or round-robin, and then obtain the target configuration parameters from the target configuration service cluster 220, and obtain the target configuration parameters from the target configuration service cluster to the target configuration service cluster.
In addition, in this embodiment, the registration server 260 stores the registration parameters of the configuration server with normal configuration function in the configuration service cluster 210, that is, after the configuration service cluster 210 adds the configuration server with normal configuration function, the configuration server may report the registration parameters of the configuration server to the registration server 260, and after the configuration function is abnormal, the registration server 260 may delete the corresponding registration parameters, thereby canceling the configuration server with abnormal configuration function.
It should be noted that, in this embodiment, both the service gateway 250 and the registration server 260 may be deployed in multiple instances to ensure high availability of service configuration.
According to the technical scheme provided by the embodiment, the spam configuration parameters of different configuration services are stored in the center configuration end in advance, when a service configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration service accessed currently from the center configuration end, meanwhile obtains the calculated hit configuration parameters of the target configuration service from the experiment configuration cluster, further determines the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters, realizes automatic accurate configuration of different configuration services, does not need a technician to manually set default configuration for the service when the experiment configuration cluster does not hit a specific experiment, directly determines the actual configuration parameters through the spam configuration parameters, avoids errors existing when the default configuration is manually set, and simultaneously smoothly executes the service configuration through the registration service end and the service gateway, thereby improving the flexibility and stability of the service configuration.
Example III
Fig. 3 is a flowchart of a service configuration method according to a third embodiment of the present invention, where the present embodiment is applicable to a case where configuration parameters of any service are determined when any service is accessed. The service configuration method provided by the embodiment of the invention can be executed by the service configuration device provided by the embodiment of the invention, and the device can be realized by a software and/or hardware mode and is integrated in a configuration server executing the method.
Specifically, referring to fig. 3, the method may include the steps of:
s310, acquiring the spam configuration parameters of the currently accessed target configuration service from the central configuration end, and calculating hit configuration parameters of the target configuration service through the experimental configuration cluster.
The configuration service in this embodiment may refer to a service that a user can access and update and optimize in any internet application, for example, performing corresponding configuration optimization on a display style, a page jump link, or a page button layout of a specific page in a certain internet application.
At this time, for different types of configuration services, the embodiment may store in advance spam configuration parameters of different configuration services in the central configuration end, where the spam configuration parameters may implement update management in a multi-version state, such as configuration deletion and verification, authority management, multi-version configuration, packet management, and history tracking; meanwhile, corresponding ab experiment services under different configuration services can be preset in the experiment configuration cluster, and then the corresponding hit configuration parameters are obtained by executing the configuration scheme which is most suitable for the ab experiment service to hit. Specifically, the central configuration end can provide multi-version functions of spam configuration, support functions of release, editing, rollback and the like of versions, and therefore, copies of each version and the current state of the version under different configuration services can be recorded in a database of the central configuration end; meanwhile, in order to support the multi-platform multi-country multi-language characteristic of the internet application, the central configuration terminal can also support the spam configuration under the multi-dimension.
Specifically, after receiving an access request of a user for a certain configuration service, the configuration service cluster firstly analyzes the access request to obtain a target configuration service which is accessed currently, further reads a spam configuration parameter of the target configuration service which is stored in advance on the center configuration end, and simultaneously sends the access request of the target configuration service to the experiment configuration cluster, and the experiment configuration cluster executes a preset ab experiment service on the target configuration service, further hits a test scheme which is most suitable for the target configuration service, and obtains a corresponding hit configuration parameter so as to determine an accurate actual configuration parameter subsequently.
S320, determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
Optionally, the configuration service cluster analyzes the difference between the spam configuration parameter read from the center configuration end and the hit configuration parameter calculated by the experiment configuration cluster to further determine the actual configuration parameter of the target configuration service, thereby realizing automatic and accurate configuration of the target configuration service and improving the flexibility of the configuration service.
For example, in this embodiment, determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters may specifically include: when the hit configuration parameters are empty, taking the spam configuration parameters as actual configuration parameters of the target configuration service; and when the hit configuration parameters are non-empty, taking the hit configuration parameters as actual configuration parameters of the target configuration service.
Specifically, because the user currently requesting to access the target configuration service may not belong to the user range in the ab experiment service circle set on the experiment configuration cluster, the experiment configuration cluster cannot hit the corresponding experiment configuration scheme when executing the ab experiment service, so that the hit configuration parameter returned by the experiment configuration cluster to the configuration service cluster is null. At this time, when determining the actual configuration parameters of the target configuration service, the configuration service cluster needs to determine whether the hit configuration parameters are empty, and when the hit configuration parameters are empty, directly uses the spam configuration parameters as the actual configuration parameters of the target configuration service; when the hit configuration parameter is not empty, the hit configuration parameter calculated by the ab experiment service is more accurate compared with the pre-set spam configuration parameter, so that the hit configuration parameter can be directly covered on the spam configuration parameter obtained from the central configuration end, and then the hit configuration parameter is used as the actual configuration parameter of the target configuration service.
According to the technical scheme provided by the embodiment, the spam configuration parameters of different configuration services are stored in the center configuration end in advance, when a service configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, and meanwhile obtains the calculated hit configuration parameters of the target configuration service from the experiment configuration cluster, and further, the actual configuration parameters of the target configuration service are determined according to the spam configuration parameters and the hit configuration parameters, so that automatic accurate configuration of different configuration services is realized, a technician does not need to manually set default configuration for use when the experiment configuration cluster does not hit a specific experiment, the actual configuration parameters are directly determined through the spam configuration parameters, errors existing when the default configuration is manually set are avoided, and the flexibility and stability of service configuration are improved.
Example IV
Fig. 4 is a flowchart of a service configuration method according to a fourth embodiment of the present invention. This embodiment is optimized based on the above embodiment. Specifically, as shown in fig. 4, a detailed explanation is made on a specific process of determining actual configuration parameters in the service configuration system in this embodiment.
Optionally, as shown in fig. 4, the present embodiment may include the following steps:
s410, determining a target configuration service accessed currently according to the access request of the client.
Specifically, when accessing a certain configuration service, a user firstly executes a corresponding access operation on a client, for example, the user requests to jump from a current page to a page where a target configuration service is located, and the like, at this time, the client generates a corresponding access request according to the access operation of the user, the access request may be an HTTP request, the current request mode is a post mode, a request body of the access request carries relevant parameters required by the client to acquire the configuration this time, such as a configuration name key, a country count, a language, a platform, a device number deviceId, a client version, and the like, and then a target configuration service end facing the currently accessed configuration service in a configuration service cluster is found through a preset service gateway according to various parameters carried in the access request, and the target configuration service end determines the currently accessed target configuration service so as to execute a subsequent service configuration function.
S420, acquiring the spam configuration parameters of the currently accessed target configuration service from the central configuration end, and calculating hit configuration parameters of the target configuration service through the experimental configuration cluster.
S430, when only default configuration parameters exist in the spam configuration parameters, taking the default configuration parameters as target spam configuration parameters; when the custom configuration codes exist in the spam configuration parameters, executing the custom configuration codes according to the access parameters of the target configuration service to obtain corresponding code configuration results as the target spam configuration parameters.
Optionally, in order to support the multidimensional configuration characteristic of the internet application, in this embodiment, when corresponding spam configuration parameters are set for different configuration services in the central configuration end, the corresponding default configuration parameters and custom configuration codes may be selectively set, where the custom configuration codes may preset configurations in multiple dimensions, and at this time, after receiving an access request of the client, the configuration service cluster needs to analyze first a target spam configuration parameter that needs to be adopted when determining an actual configuration parameter subsequently, so when determining that only a default configuration parameter exists in the spam configuration parameters initially returned by the central configuration end, and when no custom configuration code exists, the configuration service cluster may directly use the default configuration parameter as a target spam configuration parameter, and then determine the actual configuration parameter of the target configuration service directly according to the target spam configuration parameter and the hit configuration parameter; when the default configuration parameters and the custom configuration codes exist in the spam configuration parameters, the custom configuration codes are directly executed according to the access parameters of the target configuration service without considering the default configuration parameters, and the obtained code configuration result is used as the target spam configuration parameters, so that the comprehensiveness of the actual configuration parameters is ensured. At this time, in this embodiment, the multi-dimensional configuration of the spam configuration parameter may be implemented through the separator under different configuration services or through the dictionary in the configuration value, which is not limited to one custom configuration code.
S440, determining the actual configuration parameters of the target configuration business according to the target spam configuration parameters and the hit configuration parameters.
S450, feeding back the actual configuration parameters to the client.
Specifically, after determining the actual configuration parameters of the target configuration service, the configuration service cluster needs to feed back the actual configuration parameters to the client, and the client configures the display interface of the currently accessed target configuration service based on the actual configuration parameters, so as to ensure the display optimization of the target configuration service.
According to the technical scheme provided by the embodiment, the spam configuration parameters of different configuration services are stored in the center configuration end in advance, when a service configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, and meanwhile obtains the calculated hit configuration parameters of the target configuration service from the experiment configuration cluster, and further, the actual configuration parameters of the target configuration service are determined according to the spam configuration parameters and the hit configuration parameters, so that automatic accurate configuration of different configuration services is realized, a technician does not need to manually set default configuration for use when the experiment configuration cluster does not hit a specific experiment, the actual configuration parameters are directly determined through the spam configuration parameters, errors existing when the default configuration is manually set are avoided, and the flexibility and stability of service configuration are improved.
Example five
Fig. 5 is a schematic structural diagram of a service configuration device provided in a fifth embodiment of the present invention, and specifically, as shown in fig. 5, the device may include:
the configuration parameter obtaining module 510 is configured to obtain, from the central configuration end, a spam configuration parameter of a target configuration service currently accessed, and calculate, by using the experimental configuration cluster, a hit configuration parameter of the target configuration service;
the actual configuration determining module 520 is configured to determine the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
According to the technical scheme provided by the embodiment, the spam configuration parameters of different configuration services are stored in the center configuration end in advance, when a service configuration experiment is carried out, the configuration service cluster firstly obtains the spam configuration parameters of the target configuration service which is accessed currently from the center configuration end, and meanwhile obtains the calculated hit configuration parameters of the target configuration service from the experiment configuration cluster, and further, the actual configuration parameters of the target configuration service are determined according to the spam configuration parameters and the hit configuration parameters, so that automatic accurate configuration of different configuration services is realized, a technician does not need to manually set default configuration for use when the experiment configuration cluster does not hit a specific experiment, the actual configuration parameters are directly determined through the spam configuration parameters, errors existing when the default configuration is manually set are avoided, and the flexibility and stability of service configuration are improved.
Further, the service configuration device may further include:
the target spam determination module is used for taking the default configuration parameters as target spam configuration parameters when only the default configuration parameters exist in the spam configuration parameters; when the custom configuration codes exist in the spam configuration parameters, executing the custom configuration codes according to the access parameters of the target configuration service to obtain corresponding code configuration results as the target spam configuration parameters.
Accordingly, the actual configuration determining module 520 may be specifically configured to:
and determining the actual configuration parameters of the target configuration service according to the target spam configuration parameters and the hit configuration parameters.
Further, the actual configuration determining module 520 may be specifically configured to:
when the hit configuration parameters are empty, taking the spam configuration parameters as actual configuration parameters of the target configuration service;
and when the hit configuration parameters are non-empty, taking the hit configuration parameters as actual configuration parameters of the target configuration service.
Further, the service configuration device may further include:
and the target service determining module is used for determining the target configuration service which is accessed currently according to the access request of the client.
Further, the service configuration device may further include:
And the parameter feedback module is used for feeding back the actual configuration parameters to the client.
The service configuration device provided in this embodiment is applicable to the service configuration method provided in any of the foregoing embodiments, and has corresponding functions and beneficial effects.
Example six
Fig. 6 is a schematic structural diagram of a configuration server according to a sixth embodiment of the present invention, as shown in fig. 6, the configuration server includes a processor 60, a storage device 61 and a communication device 62; the number of processors 60 in the configuration server may be one or more, one processor 60 being taken as an example in fig. 6; the processor 60, the storage means 61 and the communication means 62 in the configuration server may be connected by a bus or other means, in fig. 6 by way of example.
The storage device 61 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and a module, such as program instructions/modules corresponding to the service configuration method according to any embodiment of the present invention. The processor 60 executes various functional applications of the configuration server and data processing by executing software programs, instructions and modules stored in the storage 61, i.e., implements the above-described service configuration method.
The storage device 61 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. Further, the storage 61 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage device 61 may further include memory located remotely from processor 60, which may be connected to a configuration server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication means 62 may be used to enable a network connection or a mobile data connection between the devices.
The configuration server provided by the embodiment can be used for executing the service configuration method provided by any embodiment, and has corresponding functions and beneficial effects.
Example seven
The seventh embodiment of the present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the service configuration method in any of the above embodiments. The method specifically comprises the following steps:
Acquiring a spam configuration parameter of a currently accessed target configuration service from a center configuration end, and calculating a hit configuration parameter of the target configuration service through an experimental configuration cluster;
and determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the service configuration method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the service configuration device, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A service provisioning system, comprising: the system comprises a configuration service cluster, a center configuration end and an experiment configuration cluster, wherein the center configuration end stores spam configuration parameters of different configuration services, and the experiment configuration cluster calculates hit configuration parameters of different configuration services; wherein, the liquid crystal display device comprises a liquid crystal display device,
the configuration service cluster acquires a spam configuration parameter of a target configuration service which is accessed currently from the center configuration end, acquires a hit configuration parameter of the target configuration service from the experiment configuration cluster, and determines an actual configuration parameter of the target configuration service according to the spam configuration parameter and the hit configuration parameter; the hit configuration parameters of the target configuration service are obtained by presetting ab experiment service under different configuration services and hitting the most suitable configuration scheme through the ab experiment service.
2. The service provisioning system of claim 1 further comprising a client and a service gateway;
the service gateway searches a target configuration service end facing the target configuration service in the configuration service cluster according to the target configuration service currently accessed by the client, the target configuration service end obtains a spam configuration parameter of the target configuration service currently accessed from the center configuration end, and obtains a hit configuration parameter of the target configuration service from the experiment configuration cluster.
3. The service provisioning system of claim 1 further comprising a registration server; the registration server stores registration parameters of the configuration server with normal configuration function in the configuration service cluster.
4. A service provisioning system according to any of claims 1-3, characterized in that a fusing mechanism is provided on the experimental provisioning cluster.
5. A service configuration system according to any one of claims 1-3, wherein after the experimental configuration of the target configuration service is archived, the experimental configuration cluster evaluates an optimal hit configuration parameter of the target configuration service under the current experimental configuration, and solidifies the optimal hit configuration parameter into the central configuration end to be used as a spam configuration parameter of the target configuration service.
6. A service provisioning system according to any of claims 1-3, wherein the provisioning service cluster takes the spam provisioning parameters as actual provisioning parameters for the target provisioning service when the hit provisioning parameters are empty; and when the hit configuration parameter is not empty, taking the hit configuration parameter as an actual configuration parameter of the target configuration service.
7. A service configuration system according to any one of claims 1-3, wherein when a custom configuration code exists in the spam configuration parameters, the configuration service cluster executes the custom configuration code according to the access parameters of the target configuration service to obtain a corresponding code configuration result as a target spam configuration parameter; when only default configuration parameters exist in the spam configuration parameters, the default configuration parameters are used as target spam configuration parameters, and the actual configuration parameters of the target configuration service are determined according to the target spam configuration parameters and the hit configuration parameters.
8. A service configuration method, comprising:
acquiring a spam configuration parameter of a currently accessed target configuration service from a center configuration end, and calculating a hit configuration parameter of the target configuration service through an experiment configuration cluster;
Determining actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters; the hit configuration parameters of the target configuration service are obtained by presetting ab experiment service under different configuration services and hitting the most suitable configuration scheme through the ab experiment service.
9. The method of claim 8, further comprising, after obtaining the spam configuration parameters for the currently accessed target configuration service from the central configuration end:
when only default configuration parameters exist in the spam configuration parameters, taking the default configuration parameters as target spam configuration parameters;
executing the custom configuration code according to the access parameter of the target configuration service when the custom configuration code exists in the spam configuration parameter, and obtaining a corresponding code configuration result as a target spam configuration parameter;
correspondingly, the determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters comprises the following steps:
and determining the actual configuration parameters of the target configuration service according to the target spam configuration parameters and the hit configuration parameters.
10. The method of claim 8, wherein determining actual configuration parameters for the target configuration service based on the spam configuration parameters and the hit configuration parameters comprises:
when the hit configuration parameters are empty, the spam configuration parameters are used as actual configuration parameters of the target configuration service;
and when the hit configuration parameter is not empty, taking the hit configuration parameter as an actual configuration parameter of the target configuration service.
11. The method according to any one of claims 8-10, further comprising, prior to obtaining the spam configuration parameters for the currently accessed target configuration service from the central configuration end:
and determining the target configuration service accessed currently according to the access request of the client.
12. The method of claim 11, further comprising, after determining actual configuration parameters for the target configuration service based on the spam configuration parameters and the hit configuration parameters:
and feeding back the actual configuration parameters to the client.
13. A service configuration apparatus, comprising:
the configuration parameter acquisition module is used for acquiring the spam configuration parameters of the currently accessed target configuration service from the center configuration end and calculating hit configuration parameters of the target configuration service through the experiment configuration cluster;
The actual configuration determining module is used for determining the actual configuration parameters of the target configuration service according to the spam configuration parameters and the hit configuration parameters; the hit configuration parameters of the target configuration service are obtained by presetting ab experiment service under different configuration services and hitting the most suitable configuration scheme through the ab experiment service.
14. A configuration server, the configuration server comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the service configuration method of any of claims 8-12.
15. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a service provisioning method according to any of claims 8-12.
CN202010104296.7A 2020-02-20 2020-02-20 Service configuration system, service configuration method and device and configuration server Active CN111290804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010104296.7A CN111290804B (en) 2020-02-20 2020-02-20 Service configuration system, service configuration method and device and configuration server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010104296.7A CN111290804B (en) 2020-02-20 2020-02-20 Service configuration system, service configuration method and device and configuration server

Publications (2)

Publication Number Publication Date
CN111290804A CN111290804A (en) 2020-06-16
CN111290804B true CN111290804B (en) 2023-07-28

Family

ID=71025588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010104296.7A Active CN111290804B (en) 2020-02-20 2020-02-20 Service configuration system, service configuration method and device and configuration server

Country Status (1)

Country Link
CN (1) CN111290804B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694615B (en) * 2020-06-16 2024-04-05 北京同邦卓益科技有限公司 Method, device, equipment and storage medium for data configuration

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222567A (en) * 2017-07-07 2017-09-29 北京京东尚科信息技术有限公司 Method, device and the service cluster of processing data request
CN108021464B (en) * 2017-11-29 2021-01-26 口碑(上海)信息技术有限公司 Bottom-pocketing processing method and device for application response data
CN110399249A (en) * 2019-06-04 2019-11-01 腾讯科技(北京)有限公司 A kind of data disaster tolerance method and relevant apparatus

Also Published As

Publication number Publication date
CN111290804A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
US8996541B2 (en) System and method for processing data records in a mediation system
US20130067024A1 (en) Distributing multi-source push notifications to multiple targets
RU2691595C2 (en) Constructed data stream for improved event processing
CN110830564B (en) CDN scheduling method, device, system and computer readable storage medium
EP1435719A2 (en) Request processing swtich
JP2006012152A (en) System and method for auditing network
CN111263409B (en) Method, system and related equipment for providing metadata information of network function service
US20130054635A1 (en) Procuring communication session records
WO2015010104A1 (en) Content source discovery
CN110912757B (en) Service monitoring method and server
CN112506670B (en) Multi-node automatic operation and maintenance task processing method, system and storage medium
CN111290804B (en) Service configuration system, service configuration method and device and configuration server
US8224933B2 (en) Method and apparatus for case-based service composition
CN101848430B (en) Device and method for service request authentication, service request authentication system and method of service request authentication system
KR101695636B1 (en) Method and apparatus for processing composite context information event
CN106156258B (en) Method, device and system for counting data in distributed storage system
US9374437B2 (en) Schema validation proxy
CN110471968A (en) Dissemination method, device, equipment and the storage medium of ETL task
CN110716938A (en) Data aggregation method and device, storage medium and electronic device
CN110322250A (en) The recognition methods of inactive users courses of action, device, equipment and storage medium
CN113360558B (en) Data processing method, data processing device, electronic equipment and storage medium
KR101888131B1 (en) Method for Performing Real-Time Changed Data Publish Service of DDS-DBMS Integration Tool
CN111245880A (en) Behavior trajectory reconstruction-based user experience monitoring method and device
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant