CN111273915A - Middleware configuration optimization method and device, terminal equipment and medium - Google Patents

Middleware configuration optimization method and device, terminal equipment and medium Download PDF

Info

Publication number
CN111273915A
CN111273915A CN201811367462.1A CN201811367462A CN111273915A CN 111273915 A CN111273915 A CN 111273915A CN 201811367462 A CN201811367462 A CN 201811367462A CN 111273915 A CN111273915 A CN 111273915A
Authority
CN
China
Prior art keywords
configuration
middleware
controlled machine
performance test
installation
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.)
Granted
Application number
CN201811367462.1A
Other languages
Chinese (zh)
Other versions
CN111273915B (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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811367462.1A priority Critical patent/CN111273915B/en
Publication of CN111273915A publication Critical patent/CN111273915A/en
Application granted granted Critical
Publication of CN111273915B publication Critical patent/CN111273915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a middleware configuration optimization method, a device, terminal equipment and a medium, which belong to the technical field of testing, wherein the method comprises the steps of pushing a test script to a controlled machine, and triggering the controlled machine to execute a performance test according to the test script; monitoring the controlled machine to obtain a performance test result of each turn, wherein the performance test result comprises installation configuration information of the middleware and performance result data; determining a first configuration item list according to performance result data contained in the performance test result, and determining a second configuration item list according to the acquired installation configuration information of the middleware of the controlled machine; and sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine, and triggering the controlled machine to adjust the configuration information of the middleware. Thus, the middleware is set to be in the optimal configuration under different service scenes.

Description

Middleware configuration optimization method and device, terminal equipment and medium
Technical Field
The present application relates to the field of test technologies, and in particular, to a middleware configuration optimization method, apparatus, terminal device, and medium.
Background
In the prior art, when deployment and configuration management are performed on middleware, installation and configuration setting of the middleware are generally required for a controlled machine. Middleware such as cache middleware (Redis), database middleware (MySQL), message queue middleware (RabbitMQ or Kafka), Web server (Tomcat).
Due to differences in application scenarios and configuration environments (e.g., middleware versions, installation paths, configuration files, etc.), managing the middleware with uniform configuration information may cause a problem of poor performance caused by unreasonable installation and configuration of the middleware.
Disclosure of Invention
The embodiment of the application provides a middleware configuration optimization method, a middleware configuration optimization device, terminal equipment and a medium, which are used for optimizing the configuration of the middleware and improving the system performance aiming at different application scenes when the middleware is configured and managed.
In one aspect, a middleware configuration optimization method is provided, including:
pushing a test script to the controlled machine, and triggering the controlled machine to execute a performance test according to the test script;
monitoring the controlled machine to obtain a performance test result, wherein the performance test result comprises installation configuration information of the middleware and performance result data;
determining a first configuration item list according to performance result data contained in the performance test result, and determining a second configuration item list according to installation configuration information contained in the performance test result;
and sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine, and triggering the controlled machine to adjust the configuration information of the middleware.
Preferably, further comprising:
and sending a configuration message to the controlled machine according to an instruction issued by the user through the visual interface.
Preferably, before the test script is pushed to the controlled machine, the method further comprises:
sending a middleware installation message to a controlled machine, and triggering the controlled machine to install the middleware;
and monitoring the controlled machine, if the middleware is successfully installed, sending an initial configuration message containing default configuration information to the controlled machine, and triggering the controlled machine to perform initial configuration on the middleware based on the default configuration information.
Preferably, determining the second configuration item list according to the installation configuration information included in the performance test result includes:
acquiring installation information and current configuration parameter values contained in installation configuration information contained in a performance test result;
and adjusting the configuration parameter values of the configuration parameters according to the acquired installation information and the current configuration parameter values to obtain a second configuration item list consisting of the adjusted configuration parameter values.
In one aspect, an apparatus for optimizing middleware configuration is provided, including:
the first sending unit is used for pushing the test script to the controlled machine and triggering the controlled machine to execute the performance test according to the test script;
the obtaining unit is used for monitoring the controlled machine and obtaining a performance test result, and the performance test result comprises installation configuration information of the middleware and performance result data;
the determining unit is used for determining a first configuration item list according to performance result data contained in the performance test result and determining a second configuration item list according to installation configuration information contained in the performance test result;
and the second sending unit is used for sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine and triggering the controlled machine to adjust the configuration information of the middleware.
Preferably, the first sending unit is further configured to:
and sending a configuration message to the controlled machine according to an instruction issued by the user through the visual interface.
Preferably, before pushing the test script to the controlled machine, the first sending unit is further configured to:
sending a middleware installation message to a controlled machine, and triggering the controlled machine to install the middleware;
and monitoring the controlled machine, if the middleware is successfully installed, sending an initial configuration message containing default configuration information to the controlled machine, and triggering the controlled machine to perform initial configuration on the middleware based on the default configuration information.
Preferably, when determining the second configuration item list according to the installation configuration information included in each performance test result, the determining unit is configured to:
acquiring installation information and current configuration parameter values contained in installation configuration information contained in each performance test result;
and adjusting the configuration parameter values of the configuration parameters according to the acquired installation information and the current configuration parameter values to obtain a second configuration item list consisting of the adjusted configuration parameter values.
In one aspect, a terminal device is provided, which includes at least one processing unit and at least one storage unit, where the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the steps of any one of the above middleware configuration optimization methods.
In one aspect, a computer-readable medium is provided, which stores a computer program executable by a terminal device, and when the program is run on the terminal device, causes the terminal device to perform the steps of any of the above middleware configuration optimization methods.
In the middleware configuration optimization method, device, terminal equipment and medium provided by the embodiment of the application, the test script is pushed to the controlled machine, and the controlled machine is triggered to execute the performance test according to the test script; monitoring the controlled machine to obtain a performance test result, wherein the performance test result comprises installation configuration information of the middleware and performance result data; determining a first configuration item list according to performance result data contained in the performance test result, and determining a second configuration item list according to installation configuration information contained in the performance test result; and sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine, and triggering the controlled machine to adjust the configuration information of the middleware. In this way, the master control machine can adopt the performance analysis results of the performance tests of different middleware obtained by the performance tests and the installation configuration information to adjust the configuration parameters of the middleware for a plurality of times, so that the middleware can be suitable for different service scenes.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic view of an application scenario for middleware configuration optimization provided in the present application;
fig. 2 is a schematic structural diagram of a main control computer in an embodiment of the present application;
FIG. 3 is a flowchart illustrating an implementation of a method for middleware installation and initial configuration according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an implementation of a middleware configuration optimization method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an middleware configuration optimization apparatus according to an embodiment of the present application.
Detailed Description
In order to optimize configuration of a middleware and improve system performance for different service scenarios when the middleware is configured and managed, embodiments of the present application provide a middleware configuration optimization method, apparatus, terminal device, and medium.
Fig. 1 is a schematic diagram illustrating an application scenario of middleware configuration optimization. The middleware configuration optimization method provided by the embodiment of the application can be applied to the application scene shown in fig. 1. The application scenario includes a master controller 101 and a controlled controller 102.
The main control computer 101 is a server or a server cluster or a cloud computing center formed by a plurality of servers. The master control machine 101 issues an instruction to the controlled machine 102, and completes operations such as installation, uninstallation, state management, configuration management, performance test, and the like of the middleware in the controlled machine 102. The master control machine 101 may be connected to one or more controlled machines 102 through a wired network or a wireless network.
The controlled machine 102 is typically a Linux or Windows-enabled server. The controlled machine 102 is connected with the main control machine 101 through a wired network or a wireless network. After receiving the instruction issued by the master control machine 101, the controlled machine 102 performs operations such as middleware installation, uninstallation, state management, configuration management, performance test, and the like according to the instruction of the controlled machine 102.
Fig. 2 is a schematic structural diagram of a main control computer. The main control computer includes: the system comprises a middleware installation management unit 200, a middleware configuration optimization management unit 210, a performance test execution unit 220, a data processing unit 230 and a task issuing unit 240.
The middleware installation management unit 200 includes a server management module 201 and a middleware management module 202 for managing the server and the middleware, respectively. The master control machine is connected with each controlled machine through the server management module 201, and the connection and disconnection of the controlled machines are managed, so that the master control machine and the controlled mechanisms form a complete middleware configuration optimization system. The master controller sends an instruction to the controlled machine through the middleware management module 202, so as to implement installation, uninstallation, state management, configuration management and the like of the middleware in the controlled machine.
The performance test execution unit 220 includes a test execution module 221 and a monitoring module 222. The test execution module 221 pushes the test script to the controlled machine, so that the controlled machine executes the test script to complete the performance test. In the testing process of the controlled machine, the monitoring module 222 monitors various performance parameters of the controlled machine to obtain various performance result data.
The data processing unit 230 includes a configuration analysis module 231 and a performance test result analysis module 232. The configuration analysis module 231 obtains installation configuration information of the middleware in the controlled machine, and obtains a configuration analysis result according to the installation configuration information. The installation configuration information includes an installation version of the middleware and current configuration information, etc. The performance test result analyzing module 232 obtains the data including the performance results monitored by the monitoring module 222, and analyzes the data to obtain a performance analysis result.
The middleware configuration optimization management unit 210 includes a configuration modification module 211 and a configuration restoration module 212. The configuration modification module 211 enables a user to modify the configuration of the middleware on the controlled machine through a visual interface, and can support multiple configuration modification modes, such as key value modification or file overlay. The configuration modification module 211 may further determine a configuration item list according to the performance analysis result and the configuration analysis result output by the data processing unit 230, so as to adjust the configuration of the middleware of the controlled device through the configuration item list. The configuration restoration module 212 can realize the intermediate configuration restoration operation of the controlled machine, is simple and convenient to operate, and reduces the error probability when the configuration is executed through a command line.
The task issuing unit 240 is responsible for pushing the tasks issued by the middleware installation management unit 200, the middleware configuration optimization management unit 210, and the performance test execution unit 220 to the controlled machine, so that the controlled machine performs operations such as middleware installation, state change, configuration modification, performance test, and the like. Further, the task issuing unit 240 is further configured to continuously return monitoring information of the controlled machine to the master controller.
In the embodiment of the application, before the middleware is optimally configured, the middleware is installed and initially configured. Referring to fig. 3, a flowchart of an implementation of a method for middleware installation and initial configuration provided by the present application is shown. The specific implementation flow of the method is as follows:
step 300: and the master control machine sends a middleware installation message to the controlled machine.
Step 301: and the controlled machine installs corresponding middleware according to the received middleware installation message.
Specifically, the controlled machine acquires the middleware installation package according to the middleware installation message, and installs the middleware through the middleware installation package.
Optionally, when the controlled machine acquires the middleware installation package, the following modes may be adopted:
the first mode is as follows: and the controlled machine directly acquires the middleware installation package contained in the middleware installation message.
The second way is: and the controlled machine acquires the installation link contained in the middleware installation message and downloads the middleware installation package according to the installation link.
The third mode is as follows: the controlled machine acquires application detail information (such as middleware name, version number and the like) of the middleware to be installed according to the middleware installation message, and searches and downloads a corresponding middleware installation package according to the acquired application detail information.
Step 302: and the master control machine sends an initial configuration message to the controlled machine when determining that the middleware is successfully installed according to the monitoring result of the controlled machine.
Specifically, when step 302 is executed, the initial configuration message includes default configuration information, where the default configuration information may be an initial value that is set in advance for each configuration parameter by the user, or may be each configuration parameter that is currently modified by the user through a visual interface.
Step 303: and the controlled machine carries out initial configuration on the middleware according to the received initial configuration message.
Specifically, the controlled machine receives an initial configuration message sent by the master control machine, acquires default configuration information included in the initial configuration message, and performs initial configuration on the middleware according to the default configuration information.
Step 304: the main control machine judges whether the configuration is completed according to the monitoring result of the controlled machine, if so, step 305 is executed, otherwise, step 300 is executed.
Step 305: the main control computer ends the initial configuration process.
In the embodiment of the application, the master control machine is connected with each controlled machine through a wired network or a wireless network to form a complete middleware configuration optimization system. Therefore, the master control machine can control the controlled machine to carry out the installation and the initial configuration of the specified middleware, and further can optimize the configuration of the middleware in the subsequent steps.
In the embodiment of the application, a middleware configuration optimization method is provided, so that after a controlled machine is controlled to be installed and middleware is initially configured, configuration of the middleware is optimized according to different application scenarios. Referring to fig. 4, an implementation flow chart of a middleware configuration optimization method is shown, and the implementation flow of the method is as follows:
step 400: and the master control machine pushes the test script to the controlled machine.
Step 401: the controlled machine executes the received test script and executes performance test on the middleware.
Step 402: the master control machine monitors the controlled machine to obtain a performance test result of the controlled machine.
Specifically, the master control machine monitors the change of the designated performance parameters of the controlled machine in real time in the process of executing the performance test on the controlled machine, and obtains the performance test result of the controlled machine. And the performance test result comprises installation configuration information of the middleware and performance result data.
Step 403: the main control computer analyzes performance result data contained in the performance test result to obtain a first configuration item list, and obtains a second configuration item list according to installation configuration information contained in the obtained performance test result.
Specifically, on one hand, the main control computer analyzes performance result data included in the performance test result to determine the first configuration item list. The first configuration item list comprises configuration parameter values of all configuration parameters of the middleware.
Wherein, the performance result data comprises: central Processing Unit (CPU) information, memory information, Input Output (IO) information, and usage information of the middleware (e.g., read/write times of the cache middleware, queue read/write speed of the message queuing middleware, queue length, etc.).
Therefore, the first configuration item list can be set according to the acquired performance result data, and further the configuration of the middleware can be adjusted through the first configuration item list in the subsequent steps.
On the other hand, the master control machine acquires installation configuration information contained in the performance test result, the installation configuration information comprises an installation version, current configuration information and the like of the middleware, adjusts the configuration parameter value of the middleware according to the installation information and the current configuration parameter value contained in the installation configuration information, and acquires a second configuration item list according to the adjusted configuration parameter value.
The parameters in the performance result data and the parameters in the installation configuration information may be one or more, the set configuration parameters may also be one or more, and correspondingly, the first configuration item list and the second configuration item list include one or more configuration parameters.
Therefore, corresponding configuration parameter values can be set according to the performance test results of each round.
Further, if the configuration parameter value of each configuration parameter in the first configuration list and the second configuration list is the same as the current configuration parameter value of each middleware in the controlled machine, it indicates that the optimal configuration has been reached, and the configuration optimization process is ended.
Step 404: and the master control machine sends a configuration message containing the first configuration item list and the second configuration item list to the controlled machine.
Step 405: and the controlled machine adjusts the configuration of the middleware according to the first configuration item list and the second configuration item list contained in the configuration message.
Specifically, the controlled device adjusts the configuration parameters corresponding to the middleware according to the configuration parameter values corresponding to each or each group of configuration parameters in the first configuration item list and the second configuration item list.
Step 406: and the controlled machine executes the performance test again on the adjusted middleware according to the test script received again.
Step 407: the main control computer judges whether the new performance test result meets the preset performance condition, if so, step 408 is executed, otherwise, step 403 is executed.
Optionally, if it is determined that the performance of the adjusted middleware is reduced according to the new performance test result, the configuration parameter is reset to ensure that the performance is not reduced. The preset performance condition may be a set performance index.
Step 408: the main control machine finishes the configuration optimization process.
Therefore, the configuration of the middleware can be adjusted in multiple rounds according to performance result data and installation configuration information obtained by performance tests aiming at the middleware in different application scenes, so that the configuration of the middleware of the controlled machine can achieve the optimal setting.
In an embodiment of the present application, an electronic device includes: one or more processors; and
one or more computer-readable media having stored thereon a program for middleware configuration optimization, wherein the program, when executed by one or more processors, performs the steps in the above embodiments.
In an embodiment of the present application, one or more computer-readable media having stored thereon a program for middleware configuration optimization, where the program, when executed by one or more processors, causes a communication device to perform the steps in the above-described embodiments.
Based on the same inventive concept, the embodiment of the application also provides a middleware configuration optimization device, and as the principle of the device and the equipment for solving the problems is similar to that of a middleware configuration optimization method, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 5, a schematic structural diagram of an apparatus for optimizing middleware configuration provided in an embodiment of the present application includes:
the first sending unit 50 is used for pushing the test script to the controlled machine and triggering the controlled machine to execute the performance test according to the test script;
the obtaining unit 51 is configured to monitor the controlled machine, and obtain a performance test result, where the performance test result includes installation configuration information of the middleware and performance result data;
a determining unit 52, configured to determine a first configuration item list according to performance result data included in the performance test result, and determine a second configuration item list according to installation configuration information included in the performance test result;
the second sending unit 53 is configured to send a configuration message including the first configuration item list and the second configuration item list to the controlled device, and trigger the controlled device to adjust the configuration information of the middleware.
Preferably, the first sending unit 50 is further configured to:
and sending a configuration message to the controlled machine according to an instruction issued by the user through the visual interface.
Preferably, before pushing the test script to the controlled machine, the first sending unit 50 is further configured to:
sending a middleware installation message to a controlled machine, and triggering the controlled machine to install the middleware;
and monitoring the controlled machine, if the middleware is successfully installed, sending an initial configuration message containing default configuration information to the controlled machine, and triggering the controlled machine to perform initial configuration on the middleware based on the default configuration information.
Preferably, when determining the second configuration item list according to the installation configuration information included in the performance test result, the determining unit 52 is configured to:
acquiring installation information and current configuration parameter values contained in installation configuration information contained in a performance test result;
and adjusting the configuration parameter values of the configuration parameters according to the acquired installation information and the current configuration parameter values to obtain a second configuration item list consisting of the adjusted configuration parameter values.
In the middleware configuration optimization method, device, terminal equipment and medium provided by the embodiment of the application, the test script is pushed to the controlled machine, and the controlled machine is triggered to execute the performance test according to the test script; monitoring the controlled machine to obtain a performance test result, wherein the performance test result comprises installation configuration information of the middleware and performance result data; determining a first configuration item list according to performance result data contained in the performance test result, and determining a second configuration item list according to installation configuration information contained in the performance test result; and sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine, and triggering the controlled machine to adjust the configuration information of the middleware. In this way, the master control machine can adopt the performance analysis results of the performance tests of different middleware obtained by the performance tests and the installation configuration information to adjust the configuration parameters of the middleware for a plurality of times, so that the middleware can be suitable for different service scenes.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same one or more pieces of software or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (7)

1. A middleware configuration optimization method, comprising:
pushing a test script to a controlled machine, and triggering the controlled machine to execute a performance test according to the test script;
monitoring the controlled machine to obtain a performance test result, wherein the performance test result comprises installation configuration information of the middleware and performance result data;
determining a first configuration item list according to performance result data contained in the performance test result, and determining a second configuration item list according to installation configuration information contained in the performance test result;
and sending a configuration message containing a first configuration item list and a second configuration item list to the controlled machine, and triggering the controlled machine to adjust the configuration information of the middleware.
2. The method of claim 1, further comprising:
and sending a configuration message to the controlled machine according to an instruction issued by a user through a visual interface.
3. The method of claim 1, prior to pushing the test script to the controlled machine, further comprising:
sending a middleware installation message to the controlled machine, and triggering the controlled machine to install the middleware;
and monitoring the controlled machine, and if the middleware is determined to be successfully installed, sending an initial configuration message containing default configuration information to the controlled machine, and triggering the controlled machine to perform initial configuration on the middleware based on the default configuration information.
4. The method of any of claims 1-3, wherein determining a second list of configuration items based on installation configuration information included in the performance test results comprises:
acquiring installation information and current configuration parameter values contained in installation configuration information contained in the performance test result;
and adjusting the configuration parameter values of the configuration parameters according to the acquired installation information and the current configuration parameter values to obtain a second configuration item list consisting of the adjusted configuration parameter values.
5. An apparatus for middleware configuration optimization, comprising:
the first sending unit is used for pushing a test script to the controlled machine and triggering the controlled machine to execute a performance test according to the test script;
the obtaining unit is used for monitoring the controlled machine and obtaining a performance test result, and the performance test result comprises installation configuration information of the middleware and performance result data;
a determining unit, configured to determine a first configuration item list according to performance result data included in the performance test result, and determine a second configuration item list according to installation configuration information included in the performance test result;
and the second sending unit is used for sending a configuration message containing the first configuration item list and the second configuration item list to the controlled machine and triggering the controlled machine to adjust the configuration information of the middleware.
6. A terminal device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program which, when executed by the processing unit, causes the processing unit to carry out the steps of the method according to any one of claims 1 to 4.
7. A computer-readable medium, in which a computer program executable by a terminal device is stored, which program, when run on the terminal device, causes the terminal device to carry out the steps of the method according to any one of claims 1 to 4.
CN201811367462.1A 2018-11-16 2018-11-16 Middleware configuration optimization method and device, terminal equipment and medium Active CN111273915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811367462.1A CN111273915B (en) 2018-11-16 2018-11-16 Middleware configuration optimization method and device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811367462.1A CN111273915B (en) 2018-11-16 2018-11-16 Middleware configuration optimization method and device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN111273915A true CN111273915A (en) 2020-06-12
CN111273915B CN111273915B (en) 2023-04-28

Family

ID=70998468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811367462.1A Active CN111273915B (en) 2018-11-16 2018-11-16 Middleware configuration optimization method and device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN111273915B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196191A1 (en) * 2002-04-16 2003-10-16 Alan Hartman Recursive use of model based test generation for middlevare validation
CN101415190A (en) * 2007-10-16 2009-04-22 北京华恒铭圣科技发展有限责任公司 Method and system for detecting wireless communication network
WO2010034548A1 (en) * 2008-09-25 2010-04-01 Siemens Aktiengesellschaft Test module and method for testing an o/r imaging middleware
CN102110049A (en) * 2010-12-14 2011-06-29 中山大学 Method and system for automatically testing digital television middleware interface
CN102946616A (en) * 2012-11-21 2013-02-27 山东中创软件商用中间件股份有限公司 Internet of things middleware performance testing system and testing method
CN104980524A (en) * 2015-07-10 2015-10-14 上海新炬网络信息技术有限公司 Method for monitoring failure of weblogic connection pool
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
CN106897200A (en) * 2017-02-22 2017-06-27 郑州云海信息技术有限公司 A kind of distributed file system performance method of testing based on redis
US20180006886A1 (en) * 2016-06-29 2018-01-04 International Business Machines Corporation Automatically tuning middleware in a mobilefirst platform running in a docker container infrastructure
CN107819626A (en) * 2017-11-15 2018-03-20 广州天源信息科技股份有限公司 The method and system of load equalizer adjustment distribution are realized based on daily record monitoring analysis
CN107885539A (en) * 2016-09-28 2018-04-06 平安科技(深圳)有限公司 A kind of middleware management method and server
CN108073465A (en) * 2017-12-29 2018-05-25 中国平安人寿保险股份有限公司 Dynamic current limiting method, Nginx servers, storage medium and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196191A1 (en) * 2002-04-16 2003-10-16 Alan Hartman Recursive use of model based test generation for middlevare validation
CN101415190A (en) * 2007-10-16 2009-04-22 北京华恒铭圣科技发展有限责任公司 Method and system for detecting wireless communication network
WO2010034548A1 (en) * 2008-09-25 2010-04-01 Siemens Aktiengesellschaft Test module and method for testing an o/r imaging middleware
CN102110049A (en) * 2010-12-14 2011-06-29 中山大学 Method and system for automatically testing digital television middleware interface
CN102946616A (en) * 2012-11-21 2013-02-27 山东中创软件商用中间件股份有限公司 Internet of things middleware performance testing system and testing method
CN104980524A (en) * 2015-07-10 2015-10-14 上海新炬网络信息技术有限公司 Method for monitoring failure of weblogic connection pool
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
US20180006886A1 (en) * 2016-06-29 2018-01-04 International Business Machines Corporation Automatically tuning middleware in a mobilefirst platform running in a docker container infrastructure
CN107885539A (en) * 2016-09-28 2018-04-06 平安科技(深圳)有限公司 A kind of middleware management method and server
CN106897200A (en) * 2017-02-22 2017-06-27 郑州云海信息技术有限公司 A kind of distributed file system performance method of testing based on redis
CN107819626A (en) * 2017-11-15 2018-03-20 广州天源信息科技股份有限公司 The method and system of load equalizer adjustment distribution are realized based on daily record monitoring analysis
CN108073465A (en) * 2017-12-29 2018-05-25 中国平安人寿保险股份有限公司 Dynamic current limiting method, Nginx servers, storage medium and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
YING ZHANG: "Tuning Adaptive Computations for Performance Improvement of Autonomic Middleware in PaaS Cloud" *
姚振;刘传宝;张永梅;: "信息系统性能调优体系的设计与实践" *
欧阳军;蔡志明;王希敏;: "基于DDS中间件的性能测试" *

Also Published As

Publication number Publication date
CN111273915B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US10642599B1 (en) Preemptive deployment in software deployment pipelines
KR101614052B1 (en) System and method for configuring cloud computing systems
CN108399132B (en) Scheduling test method, device and storage medium
CN107302476B (en) Automatic testing method and system for testing asynchronous interactive system
CN106970880B (en) Distributed automatic software testing method and system
CN104765678A (en) Method and device for testing applications on mobile terminal
KR20150043377A (en) System and method for tuning a cloud computing system
CN111666217B (en) Method and apparatus for testing code
CN111651352B (en) Warehouse code merging method and device
CN113419747A (en) Middleware deployment method, device, equipment and storage medium
CN104468288A (en) Terminal network data testing method and device
CN115129574A (en) Code testing method and device
CN111273915A (en) Middleware configuration optimization method and device, terminal equipment and medium
CN109873731B (en) Test method, device and system
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN114879977A (en) Application deployment method, device and storage medium
KR20180132292A (en) Method for automatic real-time analysis for bottleneck and apparatus for using the same
CN114880203A (en) Device, system and method for quantum computing cloud platform evaluation
CN109324962B (en) Method and equipment for testing application program based on cloud Internet of things technology
KR102619048B1 (en) Method for handling fault and system thereof
CN111159004A (en) Hadoop cluster simulation test method and device and storage medium
CN111404769B (en) Performance test method, device, server and storage medium
CN115437677A (en) Configuration management method, device, equipment and machine readable storage medium
CN113872808B (en) Application processing method and device
CN113360368B (en) Method and device for testing software performance

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