CN114237697A - Service management component parameter configuration device and method - Google Patents

Service management component parameter configuration device and method Download PDF

Info

Publication number
CN114237697A
CN114237697A CN202111590201.8A CN202111590201A CN114237697A CN 114237697 A CN114237697 A CN 114237697A CN 202111590201 A CN202111590201 A CN 202111590201A CN 114237697 A CN114237697 A CN 114237697A
Authority
CN
China
Prior art keywords
service
configuration
request
transaction
transaction code
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
CN202111590201.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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111590201.8A priority Critical patent/CN114237697A/en
Publication of CN114237697A publication Critical patent/CN114237697A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Landscapes

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

Abstract

The invention discloses a device and a method for configuring service management component parameters, which can be used in the technical field of cloud computing, and the device comprises: the configuration management visual front end is used for outputting a service directory based on the transaction code after receiving the parameter configuration request; receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code; receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface; the configuration management server is used for packaging the configuration parameters corresponding to the transaction codes into a request and pushing the request to a service application end; the business application end is used for analyzing the request after receiving the request to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters. The invention can realize the visual configuration management of each service management component in the micro-service architecture in the financial business scene, and can take effect in real time.

Description

Service management component parameter configuration device and method
Technical Field
The invention relates to the technical field of cloud computing, in particular to a service management component parameter configuration device and method.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
For the existing micro-service architecture system, the service administration related functions often include the following components: fusing degradation, service throttling, load balancing, etc.; taking the most mainstream micro-service abatement framework spring group at present as an example, the corresponding relation between the service abatement function and the actually used component is shown in table 1.
TABLE 1
Function(s) Implementation by common techniques
Fuse protection Spring closed hystrix or Sentinel
Load balancing Spring cloud ribbon
Service throttling google guava or Sentinel
The implementation of several common service governance technologies needs to rely on some open-source public libraries to implement corresponding capabilities, and the original provider of the open-source community or the technical framework usually configures parameters based on a standard service model or a custom data model for the aspects of generality, maintainability, etc.
For example, spring closed hystrix is used to implement timeout fusing protection for interface configuration, if a certain backend service configuration interface needs to be quickly returned after processing for more than 1 second, the following is shown according to the official configuration parameters:
adding @ HystrixCommand annotation to a realization method of a back-end interface, and defining a time threshold of overtime;
Figure BDA0003428827960000011
Figure BDA0003428827960000021
finally, compiling, constructing and packaging the data into an executable jar packet or a war packet, and starting the application to enable the configuration parameters to take effect;
through similar work flows and methods, parameters related to service management such as load balancing, service flow limitation and the like can be modified, and the parameters are repackaged, constructed and released to take effect;
the above technique has the following disadvantages:
first, the configuration parameter items are complex, and the learning and use thresholds of the user are high.
Aiming at different service governance parameter configurations and different governance modes, related parameter configuration items are personalized, such as fusing degradation, if the capacity is realized based on hystrix, the related configuration parameters are up to dozens of items, more than 80% of the parameter items are relatively low in use frequency, the learning cost of some core parameters is extremely high in the use process of the configuration by a user, and relatively speaking, the whole service governance capacity also has a higher use threshold; for the components such as routing, load balancing, current limiting and the like, more and more complex parameter configuration items exist, and if configuration of each parameter configuration item is wrong, abnormality of the application in the calling process can be caused, so that developers need to refer to a large number of development documents, and the overall development cost is increased invisibly;
second, the configuration is too general to be used directly in financial scenarios.
Most open source technology frameworks, such as spring child, including its internal service governance components, spring child hystrix, spring child ribbon, etc., are designed facing a common scenario, so that in terms of service governance capabilities, such as fuse degradation, all methods for executing code are objects, or are configured based on some declarative annotation modes; similarly, for the load balancing capability, the native configuration is also based on the starting configuration of spring boot, for example, the configuration is performed in the manner of application. The general configuration mode has no problem in most business scenes, but in some financial business scenes, the concept of the service is not particularly obvious, and the service management requirement taking the transaction code as a core is more urgent, so that in the financial scenes, the fusing degradation capability is realized, a secondary transformation is often needed to be performed on an open-source service management framework to adapt to fusing degradation configuration based on the transaction code, for example, a trigger condition is set according to the error rate or timeout time of a transaction code A032521DQ03 configuration request, so that the real scene of a user is better met.
Thirdly, the configuration modification requires the restart application to take effect, and the updating process is too cumbersome.
The configuration parameters related to service governance can be basically divided into two types, wherein the first type is directly configured in the developed codes, for example, the configuration of hystrix based on a method annotation form can be realized, and the annotation parameters of the response can be directly modified; the second type is configured based on application files of spring boot or start parameters of jvm, such as configuration of ribbon-related routing and load balancing.
In the two types of configuration, the first type of code configuration can be effective only by compiling, constructing and releasing the service code again by the user, and the second type of configuration mode for starting the parameters can be effective only by restarting the application after modification; for some locally developed test applications, the process is relatively autonomous and controllable, but for some online environments, configuration change is very cautious, mechanisms such as process approval and the like may need to be carried out in part of companies, the overall updating process is very complicated, the cost is often huge, and a problem and the like of application business can be caused by slight carelessness, so that the risk is huge;
fourth, the configuration storage is decentralized and does not allow for efficient unified management.
The configuration defaults of the native micro-service management components are configured in application property files of each project engineering, in a distributed system architecture, split services may be dispersed in different physical machines, virtual machines or even containers, a user cannot perform unified control and configuration on the configurations, the components are numerous, each component corresponds to an independent configuration, and as the traffic increases, the configuration files are longer and are difficult to maintain; for users, a unified view is often needed to uniformly view and modify the resource configurations, including the current setting values of the configurations, and a centralized place is needed to facilitate management, so that the overall operation and maintenance efficiency can be improved.
In summary, there is a need to solve the problem that the configuration of each service management component in the micro-service architecture cannot be effectively managed in the financial business scenario, including visual modification and issuance, and is effective in real time.
Disclosure of Invention
The embodiment of the invention provides a service management component parameter configuration device, which is used for realizing visual configuration management of each service management component in a micro service architecture in a financial business scene and can take effect in real time, and the device comprises:
the configuration management visual front end is used for outputting a service directory based on the transaction code after receiving the parameter configuration request; receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code; receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface;
the configuration management server is used for packaging the configuration parameters corresponding to the transaction codes into a request and pushing the request to a service application end;
the business application end is used for analyzing the request after receiving the request to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters.
The embodiment of the invention also provides a service management component parameter configuration method, which is used for realizing the visual configuration management of each service management component in the micro-service architecture in the financial business scene and can take effect in real time, and the method comprises the following steps:
outputting a service directory based on the transaction code after receiving the parameter configuration request;
receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code;
receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface;
the configuration parameters corresponding to the transaction codes are packaged into requests and pushed to a service application end, and the service application end analyzes the requests after receiving the requests to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can be operated on the processor, wherein the processor realizes the parameter configuration method of the service administration component when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the method for configuring the service management component parameters is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the service management component parameter configuration method when being executed by the processor.
In the embodiment of the invention, the configuration management visual front end is used for outputting the service directory based on the transaction code after receiving the parameter configuration request; receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code; receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface; the configuration management server is used for packaging the configuration parameters corresponding to the transaction codes into a request and pushing the request to a service application end; the business application end is used for analyzing the request after receiving the request to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters. Compared with the technical scheme of realizing the parameter configuration of the service management component by depending on some open-source public libraries in the prior art, the configuration parameters corresponding to the transaction codes input by the user in the parameter configuration interface are received by the configuration management visual front end, so that the problem that the user needs to learn the configuration definitions of different development frames in the prior art is avoided, the research and development efficiency is greatly improved, and the development cost is saved; the configuration management server side encapsulates the configuration parameters corresponding to the transaction codes into requests and pushes the requests to the business application side, and finally the business application side updates the service management components of the business application side according to the configuration parameters.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of a service administration component parameter configuration apparatus according to an embodiment of the present invention;
FIG. 2 is a block diagram of a transaction code based service directory according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a parameter configuration interface corresponding to a transaction code according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating configuration parameter packaging according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for configuring parameters of a service administration component according to an embodiment of the present invention;
FIG. 6 is a diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
First, terms related to embodiments of the present invention are explained.
Service treatment: the service management is mainly aimed at a distributed system architecture, after a single-point application is split into a plurality of independent micro-service applications according to different service responsibilities, remote calling among the services needs an independent mechanism to ensure the reliability and stability of the request calling among the services, and the common management comprises measures such as fusing degradation, service current limiting, load balancing and the like;
fusing degradation: in order to prevent the situation that the whole service is unavailable due to the exception of a certain service or node on a service call chain, which is also called as an avalanche effect, a protection logic needs to be added into the service on the call chain, and when the service provision time of a back end is overtime, specific exception information or default degradation data is directly returned, wherein the mechanism is called as fusing degradation;
service request throttling: when a normally running service system receives a large number of service requests in a short time due to some promotion activities and other reasons, and due to the reason that the early planning of service resources is unreasonable or the reasons of resource scheduling problem and untimely capacity expansion exist, the risk of service resource exhaustion exists after the traffic is concentrated and converged, aiming at the problems, the traffic is controlled by increasing the traffic control capacity at the forefront end of the traffic processing logic of the provider and controlling the traffic in modes of peak clipping, shaping and the like, so that the back-end service is protected.
Fig. 1 is a schematic diagram of a service administration component parameter configuration device in an embodiment of the present invention, including:
a configuration management visualization front end 101, configured to output a service directory based on a transaction code after receiving a parameter configuration request; receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code; receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface;
the configuration management server 102 is configured to package the configuration parameters corresponding to the transaction codes into a request and push the request to a service application end;
the service application terminal 103 is configured to, after receiving the request, parse the request to obtain a configuration parameter corresponding to the transaction code; and updating the service administration component of the service application end according to the configuration parameters.
In the embodiment of the invention, compared with the technical scheme of realizing the parameter configuration of the service management component by relying on some open-source public libraries in the prior art, the configuration parameters corresponding to the transaction codes input by the user on the parameter configuration interface are received by the configuration management visual front end, so that the condition that the user needs to learn the configuration definitions of different development frames in the past is avoided, the research and development efficiency is greatly improved, and the development cost is saved; the configuration management server side encapsulates the configuration parameters corresponding to the transaction codes into requests and pushes the requests to the business application side, and finally the business application side updates the service management components of the business application side according to the configuration parameters.
In part of business scenes of the financial industry, a transaction code is a very core concept, and most transaction type request messages carry a field of the transaction code in request data and are used for indicating which back-end business application needs to process the current request;
aiming at the transaction code to realize the configuration of the service management component, firstly, a configuration management visual front end is needed, the parameter configuration metadata of the transaction code is stored on the configuration management visual front end in a manual input or file import mode of a user to form a service directory based on the transaction code, and therefore the user can directly select a target transaction code to perform parameter configuration in the subsequent configuration process.
In one embodiment, the transaction code based service directory is a hierarchical tree structure.
Fig. 2 is a schematic structural diagram of a service directory based on transaction codes according to an embodiment of the present invention, where one service corresponds to one or more transaction codes in a hierarchical tree structure of the service directory, and the service supports processing of these specific transaction code messages; through the hierarchical tree structure, the system is more consistent with understanding and cognition of human brain, and is convenient to memorize and fast to search, so that the management efficiency of the user on the service and the transaction code in the service management process is effectively improved.
As mentioned above, in most development processes, parameters related to the service administration component are set in a coding form or a form of starting a configuration file, and one of the biggest problems is that the learning and understanding costs of the parameters are high for a user in the development process;
with the popularization of the information system and the rapid development of product visualization interaction, in the actual process of managing the product land, if the service management use difficulty of the user is reduced, the problem of indispensable thought is generated.
In the financial scenario, the resource control granularity of current limiting is often based on transaction codes rather than services or other dimensions, so when actually encoding, the rough processing logic is as follows:
List<FlowRule>rules=new ArrayList<FlowRule>();
FlowRule rule=new FlowRule();
rule.setResource("A032521DQ01");
//set limit qps to 100
rule.setCount(100);
rule.setGrade(RuleConstant.FLOW_GRADE_QPS);
rules.add(rule);
FlowRuleManager.loadRules(rules);
the design basically needs to consider two parts, firstly, a resource control granularity range of current limitation is set, secondly, detailed threshold parameters of the current limitation are controlled, finally, a setting interface of a frame needs to be called to enable a rule to take effect, and a user needs to be very familiar with the use of a frame SDK of a third party and know the meanings of all internal relevant parameters to carry out effective coding;
and the visual service governance configuration based on the transaction code is operated based on a graphical page.
The configuration management visualization front end receives a transaction code selected from the transaction code-based service directory, and outputs a parameter configuration interface corresponding to the transaction code, fig. 3 is a schematic diagram of the parameter configuration interface corresponding to the transaction code in the embodiment of the present invention, and by designing the visualization parameter configuration interface, a user does not need to understand specific parameter configuration customization of a service management component with current limiting capability such as hystrix or sentinel, and does not need to consider a specific request flow matching mode in a service layer, and only needs to configure parameters for transaction code dimensions, so that related current limiting capability can be realized.
The mainstream service governance related development framework is set based on some general java methods or api interfaces, and the transaction codes are specific meta information in the financial industry, and the rule configuration based on the transaction codes cannot be realized directly through the development framework, so that the configuration parameters need to be packaged, and the configuration interface based on the transaction codes is exposed, so that a distinctive use mode is provided for reducing the use threshold of a user.
FIG. 4 is a diagram illustrating configuration parameter packaging according to an embodiment of the present invention. As shown in fig. 4, secondary packaging is performed on the upper layer of the third-party service administration component, and in an embodiment, the configuration management server is specifically configured to: packaging the configuration parameters corresponding to the transaction codes into a request header; or packaging the configuration parameter corresponding to the transaction code into the body field of the request.
When packaging, the specific data format is json or xml, and finally, the original data of the transaction code can be obtained only by requesting to analyze.
In an embodiment, the configuration parameter includes one or any combination of a rule name, a service name, a current limiting mode, a current limiting threshold, and a current limiting return mode.
In an embodiment, the configuration management server is specifically configured to:
and pushing the request to a service application end by adopting a long connection mechanism, wherein the long connection mechanism is realized based on a grpc or a tcp mode.
In the above embodiment, the cost of implementation of the long connection mechanism based on the grpc is lower, and only the communication protocols between the grpc need to be defined, sdk for generating different development languages can be generated through the grpc native code generation tool, so that the cross-language capability can be realized quickly.
After receiving the request, the service application terminal analyzes the request to obtain a configuration parameter corresponding to the transaction code; and updating the service administration component of the service application end according to the configuration parameters.
In an embodiment, the configuration management server is specifically configured to:
the request is sent to a service application end after being encrypted;
the service application terminal is specifically configured to: the request is decrypted before it is parsed.
In addition, the configuration management server side can compress the request and the service application side decompresses the request after receiving the request, wherein the configuration management server side relates to larger configuration parameters.
The request can be analyzed through the configuration analyzer, after the configuration parameters corresponding to the transaction codes are obtained, the transaction codes can be updated to specific business applications, such as fusing, current limiting, load balancing or shunting of service management components and the like, through the independent configuration updater, and therefore the visualization editing of the configuration to real-time pushing and real-time updating full-process control are achieved.
In summary, the apparatus provided in the embodiment of the present invention has the following advantages:
(1) the service directory based on the transaction code greatly reduces the management cost of the user for configuring the metadata by the parameters;
(2) parameters can be directly set through a parameter configuration interface corresponding to the transaction code, so that the problem that a user needs to learn configuration definitions of different development frames in advance in the prior art is avoided, the research and development efficiency is greatly improved, and the development cost is saved;
(3) the service application terminal updates the service management component of the service application terminal according to the configuration parameters, the capability of issuing the service management component in real time is achieved, the defect that the service management component can be updated only by restarting the application after the configuration is modified in a traditional mode is overcome, and the overall operation and maintenance efficiency is effectively improved.
The embodiment of the invention also provides a service management component parameter configuration method, which is described in the following embodiment. Because the principle of solving the problems by the device is similar to that of the parameter configuration device of the service administration component, the implementation of the method can be referred to that of the parameter configuration device of the service administration component, and repeated parts are not described again.
Fig. 5 is a flowchart of a service administration component parameter configuration method in an embodiment of the present invention, including:
step 501, after receiving a parameter configuration request, outputting a service directory based on a transaction code;
step 502, receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code;
step 503, receiving a configuration parameter corresponding to the transaction code input by the user on the parameter configuration interface;
the configuration parameters corresponding to the transaction codes are packaged into requests and pushed to a service application end, and the service application end analyzes the requests after receiving the requests to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters.
In one embodiment, the transaction code based service directory is a hierarchical tree structure.
In one embodiment, encapsulating the configuration parameter corresponding to the transaction code as a request includes:
packaging the configuration parameters corresponding to the transaction codes into a request header;
or packaging the configuration parameter corresponding to the transaction code into the body field of the request.
In an embodiment, the configuration parameter includes one or any combination of a rule name, a service name, a current limiting mode, a current limiting threshold, and a current limiting return mode.
In an embodiment, a long connection mechanism is adopted to push a request to a service application end, and the long connection mechanism is implemented based on a grpc or a tcp.
In an embodiment, the method further comprises:
the request is sent to a service application end after being encrypted;
the request is decrypted before it is parsed.
In summary, the method provided by the embodiment of the invention has the following beneficial effects:
(1) the service directory based on the transaction code greatly reduces the management cost of the user for configuring the metadata by the parameters;
(2) parameters can be directly set through a parameter configuration interface corresponding to the transaction code, so that the problem that a user needs to learn configuration definitions of different development frames in advance in the prior art is avoided, the research and development efficiency is greatly improved, and the development cost is saved;
(3) the service application terminal updates the service management component of the service application terminal according to the configuration parameters, the capability of issuing the service management component in real time is achieved, the defect that the service management component can be updated only by restarting the application after the configuration is modified in a traditional mode is overcome, and the overall operation and maintenance efficiency is effectively improved.
Fig. 6 is a schematic diagram of a computer device in an embodiment of the present invention, where the computer device 600 includes a memory 610, a processor 620, and a computer program 630 stored in the memory 610 and capable of being executed on the processor 620, and when the processor 620 executes the computer program 630, the method for configuring parameters of a service administration component is implemented.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the method for configuring the service management component parameters is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the service management component parameter configuration method when being executed by the processor.
In summary, the computer device, the computer-readable storage medium, and the computer program product provided by the embodiments of the present invention have the following beneficial effects:
(1) the service directory based on the transaction code greatly reduces the management cost of the user for configuring the metadata by the parameters;
(2) parameters can be directly set through a parameter configuration interface corresponding to the transaction code, so that the problem that a user needs to learn configuration definitions of different development frames in advance in the prior art is avoided, the research and development efficiency is greatly improved, and the development cost is saved;
(3) the service application terminal updates the service management component of the service application terminal according to the configuration parameters, the capability of issuing the service management component in real time is achieved, the defect that the service management component can be updated only by restarting the application after the configuration is modified in a traditional mode is overcome, and the overall operation and maintenance efficiency is effectively improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A service administration component parameter configuration device, comprising:
the configuration management visual front end is used for outputting a service directory based on the transaction code after receiving the parameter configuration request; receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code; receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface;
the configuration management server is used for packaging the configuration parameters corresponding to the transaction codes into a request and pushing the request to a service application end;
the business application end is used for analyzing the request after receiving the request to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters.
2. The apparatus of claim 1, wherein the transaction code based service directory is a hierarchical tree structure.
3. The apparatus of claim 1, wherein the configuration management server is specifically configured to: packaging the configuration parameters corresponding to the transaction codes into a request header;
or packaging the configuration parameter corresponding to the transaction code into the body field of the request.
4. The apparatus of claim 1, wherein the configuration parameters comprise one or any combination of a rule name, a service name, a current limit mode, a current limit threshold, and a current limit return mode.
5. The apparatus of claim 1, wherein the configuration management server is specifically configured to:
and pushing the request to a service application end by adopting a long connection mechanism, wherein the long connection mechanism is realized based on a grpc or a tcp mode.
6. The apparatus of claim 1, wherein the configuration management server is specifically configured to:
the request is sent to a service application end after being encrypted;
the service application terminal is specifically configured to: the request is decrypted before it is parsed.
7. A service administration component parameter configuration method is characterized by comprising the following steps:
outputting a service directory based on the transaction code after receiving the parameter configuration request;
receiving a transaction code selected from the transaction code-based service directory, and outputting a parameter configuration interface corresponding to the transaction code;
receiving configuration parameters corresponding to the transaction codes input by a user on the parameter configuration interface;
the configuration parameters corresponding to the transaction codes are packaged into requests and pushed to a service application end, and the service application end analyzes the requests after receiving the requests to obtain the configuration parameters corresponding to the transaction codes; and updating the service administration component of the service application end according to the configuration parameters.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 7 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of claim 7.
10. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of claim 7.
CN202111590201.8A 2021-12-23 2021-12-23 Service management component parameter configuration device and method Pending CN114237697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111590201.8A CN114237697A (en) 2021-12-23 2021-12-23 Service management component parameter configuration device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111590201.8A CN114237697A (en) 2021-12-23 2021-12-23 Service management component parameter configuration device and method

Publications (1)

Publication Number Publication Date
CN114237697A true CN114237697A (en) 2022-03-25

Family

ID=80762045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111590201.8A Pending CN114237697A (en) 2021-12-23 2021-12-23 Service management component parameter configuration device and method

Country Status (1)

Country Link
CN (1) CN114237697A (en)

Similar Documents

Publication Publication Date Title
US10275278B2 (en) Stream processing task deployment using precompiled libraries
EP3364631B1 (en) Dynamic orchestration of microservices
CN110244942B (en) Page generation method, device and system
Baresi et al. Microservices: The evolution and extinction of web services?
CN106713469B (en) Dynamic loading method, device and system for distributed container
US20130212259A1 (en) Service scripting framework
US9426197B2 (en) Compile-time tuple attribute compression
CN113556359A (en) Communication protocol conversion method, device, system and gateway device
CN112100260A (en) Interface engine-based multi-application data fusion method and system
CN114237697A (en) Service management component parameter configuration device and method
US9715399B2 (en) Mainframe injection component and method for manipulating data packets communicated between emulators and mainframes
CN113590217B (en) Function management method and device based on engine, electronic equipment and storage medium
CN108989406A (en) Software shelf realization method and system based on micro services
WO2021036987A1 (en) Method and device for achieving operation and maintenance monitoring
US11423031B2 (en) Standing query creation using store query
CN112416865A (en) File processing method and device based on big data
CN117076160B (en) Component calling method, device, equipment and storage medium
US9235382B2 (en) Input filters and filter-driven input processing
CN117093286B (en) Plug-in generation method, device, equipment and computer readable storage medium
US11086549B2 (en) Just-in-time data migration in a live system
CN117827269A (en) Computer application program packaging and analyzing method and system
CN117111898A (en) Construction method and device of business model
CN114168347A (en) Information processing method, information processing apparatus, server, and storage medium
CN115982257A (en) Interface creation method and related device
CN116828073A (en) Message conversion method, device, electronic equipment and computer readable 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