CN112134715B - Capacity expansion result detection method and device, server and storage medium - Google Patents

Capacity expansion result detection method and device, server and storage medium Download PDF

Info

Publication number
CN112134715B
CN112134715B CN201910549575.1A CN201910549575A CN112134715B CN 112134715 B CN112134715 B CN 112134715B CN 201910549575 A CN201910549575 A CN 201910549575A CN 112134715 B CN112134715 B CN 112134715B
Authority
CN
China
Prior art keywords
service
capacity expansion
target
expansion machine
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.)
Active
Application number
CN201910549575.1A
Other languages
Chinese (zh)
Other versions
CN112134715A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910549575.1A priority Critical patent/CN112134715B/en
Publication of CN112134715A publication Critical patent/CN112134715A/en
Application granted granted Critical
Publication of CN112134715B publication Critical patent/CN112134715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • H04L41/5012Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF] determining service availability, e.g. which services are available at a certain point in time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The embodiment of the application provides a method and a device for detecting a capacity expansion result, a server and a storage medium, wherein a target file in a capacity expansion machine is read, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed; determining each service installed on the capacity expansion machine based on target information carried by the target file; if the determined services are at least one preset target service, determining that the capacity expansion result of the capacity expansion machine is accurate; if the determined services are not the preset at least one target service, determining a mode that the capacity expansion result of the capacity expansion machine is inaccurate, realizing automatic detection of the expanded server cluster, and ensuring that the expanded server cluster can normally provide services to the outside.

Description

Capacity expansion result detection method and device, server and storage medium
Technical Field
The present invention relates to the field of capacity expansion technologies, and in particular, to a method and an apparatus for detecting a capacity expansion result, a server, and a storage medium.
Background
At present, the application generally provides services to the outside through a server cluster, where the server cluster includes multiple machines, and each machine is installed with various services that the application needs to provide to the outside. In order to improve the efficiency of service provision, relieve the pressure of server clusters, and better provide services to the outside, the capacity expansion of the server clusters is usually involved.
Server cluster expansion is generally to install various services provided by an application in a new machine and expand the new machine after the service installation is completed into a server cluster. The purpose of server cluster capacity expansion is to better provide service to the outside, and if the capacity expansion result is in a problem, the situation that the service cannot be provided to the outside normally often occurs.
Therefore, how to provide a method, an apparatus, a server and a storage medium for detecting a capacity expansion result to detect the capacity expansion result and ensure that a server cluster after capacity expansion can provide a service to the outside normally is a problem to be solved urgently.
Disclosure of Invention
In view of the above, to solve the above problem, the present invention provides a method and an apparatus for detecting a capacity expansion result, a server, and a storage medium, so as to automatically detect the capacity expansion result and ensure that a server cluster after capacity expansion can normally provide a service to the outside. The technical scheme is as follows:
a detection method for expansion result includes:
reading a target file in a capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the service is installed in the capacity expansion machine;
determining each service installed on the capacity expansion machine based on target information carried by the target file;
judging whether each determined service is at least one preset target service or not;
if each determined service is the at least one target service, determining that the capacity expansion result of the capacity expansion machine is accurate;
and if the determined services are not the at least one target service, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
A capacity expansion result detection device includes:
the system comprises a target file reading unit, a target file storing unit and a target file storing unit, wherein the target file reading unit is used for reading a target file in a capacity expansion machine, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the service is installed in the capacity expansion machine;
the service determining unit is used for determining each service installed on the capacity expansion machine based on the target information carried by the target file;
a judging unit configured to judge whether each of the determined services is at least one target service set in advance;
the first determining unit is used for determining that the capacity expansion result of the capacity expansion machine is accurate if each determined service is the at least one target service;
and the second determining unit is used for determining that the capacity expansion result of the capacity expansion machine is inaccurate if each determined service is not the at least one target service.
A server, comprising: at least one memory and at least one processor; the processor calls the program stored in the memory, and the program is used for realizing the capacity expansion result detection method.
A storage medium, wherein the storage medium stores computer-executable instructions, and the computer-executable instructions are used for executing the capacity expansion result detection method.
The embodiment of the application provides a method and a device for detecting a capacity expansion result, a server and a storage medium, wherein a target file in a capacity expansion machine is read, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the capacity expansion machine is finished; determining each service installed on the capacity expansion machine based on target information carried by the target file; if the determined services are at least one preset target service, determining that the capacity expansion result of the capacity expansion machine is accurate; if the determined services are not the preset at least one target service, determining a mode that the capacity expansion result of the capacity expansion machine is inaccurate, realizing automatic detection of the expanded server cluster, and ensuring that the expanded server cluster can normally provide services to the outside.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an expansion method for a server cluster according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for detecting a capacity expansion result according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a system for detecting expansion results according to an embodiment of the present disclosure;
fig. 4 is a flowchart of another method for detecting a capacity expansion result according to an embodiment of the present disclosure;
fig. 5 is a flowchart of another method for detecting a capacity expansion result according to an embodiment of the present application;
fig. 6 is a flowchart of another method for detecting a capacity expansion result according to an embodiment of the present application;
fig. 7 is a block diagram of a hardware structure of a server suitable for a method for detecting an expansion result according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a device for detecting expansion results according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example (b):
in order to improve the efficiency of service provision, relieve the pressure of server clusters, and better provide services to the outside, the capacity expansion of the server clusters is usually involved. At present, the capacity expansion of a server cluster is usually performed by adding a new machine (for convenience of understanding, in this embodiment, the new machine added to the server cluster is referred to as a capacity expansion machine) to the server cluster, and the server cluster after capacity expansion can share the bandwidth pressure of the server cluster based on the same service installed in the capacity expansion machine as that of an original machine in the server cluster, so as to improve the service efficiency.
In order to ensure that a server cluster after capacity expansion can normally provide services to the outside, embodiments of the present application provide a method, an apparatus, a server, and a storage medium for detecting capacity expansion results, which can automatically detect the capacity expansion results of each capacity expansion machine in the server cluster after capacity expansion, and discover an abnormal capacity expansion machine in the server cluster after capacity expansion, thereby avoiding a problem that the server cluster after capacity expansion cannot normally provide services to the outside.
The method for detecting the capacity expansion result provided by the embodiment of the application needs to be implemented based on an information injection process in the capacity expansion process of the server cluster in the detection process, and only when the target code is injected into the installation script of each service to be installed on the capacity expansion machine in the capacity expansion process of the server cluster, the capacity expansion machine can record the target information in the target file of the capacity expansion machine after the execution of the installation script of the service is completed, and then can implement the detection of the capacity expansion result of the capacity expansion machine based on each target information in the target file of the capacity expansion machine, and determine whether the capacity expansion machine is abnormal. Namely, when the capacity expansion result of the capacity expansion machine is determined to be accurate, determining that the capacity expansion machine is not abnormal; and when the capacity expansion result of the capacity expansion machine is determined to be inaccurate, determining that the capacity expansion machine is abnormal.
In order to facilitate understanding of the method for detecting the expansion result provided in the embodiment of the present application, a description will be given first of an expansion process of the server cluster.
Fig. 1 is a flowchart of an expansion method for a server cluster according to an embodiment of the present disclosure. As described in the flow chart of the capacity expansion method of the server cluster shown in fig. 1 from the perspective of the capacity expansion machines of the server cluster, each capacity expansion machine in the server cluster executes the capacity expansion method shown in fig. 1.
As shown in fig. 1, the method includes:
s101, detecting whether the capacity is expanded for the first time; if the initial capacity expansion is performed, executing step S102; if not, executing step S103;
in the embodiment of the present application, when a capacity expansion machine expands a capacity, it is first required to detect whether a history of the capacity expansion machine has already performed a capacity expansion process, and if the history of the capacity expansion machine has never performed the capacity expansion process, it is determined that the capacity expansion machine is performing initial capacity expansion; if the capacity expansion process has been executed by the history of the capacity expansion machine, whether the capacity expansion result of the history executed capacity expansion process succeeds or fails, the capacity expansion machine is determined not to be initially capacity expanded.
S102, initializing a cleaning environment;
when the capacity expansion machine is in the initial capacity expansion state, executing the step S103; when the capacity expansion machine is not the initial capacity expansion, the environment on the capacity expansion machine is cleared through initialization, and the historical capacity expansion trace on the capacity expansion machine is deleted.
S103, receiving an installation script and an installation package of each target service in at least one uploaded target service;
in the process of expanding the capacity of the server cluster, one target machine uniformly controls the capacity expansion of each capacity expansion machine, at least one target service is recorded in the target machine, the at least one target service is the same as the service installed in the original machine in the server cluster, and the target machine records the installation sequence of each target service in the at least one target service.
In a specific capacity expansion process, if the capacity expansion machine is subjected to initial capacity expansion, the target machine uploads an installation package and an installation script of each target service in at least one target service to the capacity expansion machine; and if the capacity expansion machine is not the initial capacity expansion, after the capacity expansion is carried out and the environment is initially cleaned, uploading the installation package and the installation script of each target server in at least one target service to the capacity expansion machine.
As a preferred implementation manner of the embodiment of the present application, if the capacity expansion machine is initially capacity expanded, or after the capacity expansion machine is not initially capacity expanded but performs initialization to clear the environment, a target file is set in the capacity expansion machine, and at this time, the target file is empty, and the target file is used to carry target information of a service. For specific application of the target file, refer to fig. 2, which is not described herein.
S104, acquiring each installation script of at least one target service;
in this embodiment of the application, after receiving the installation package and the installation script of each target service in the at least one target service uploaded by the target machine, the capacity expansion machine may obtain the installation script of each target service in the at least one target service.
As a preferred implementation manner of the embodiment of the present application, after receiving an installation package and an installation script of at least one target service uploaded by a target machine, a capacity expansion machine may store each received installation package and installation script in a target file system, and further may obtain the installation script of each target service by scanning the target file system.
When the target service is provided with a plurality of installation scripts, each installation script is used as an acquired installation script.
S105, respectively injecting object codes into the installation script of each object service to obtain an object installation script of each object service, wherein the object codes in the object installation script of the object service are used for writing object information into an object file when the object service is installed on the capacity expansion machine;
in this embodiment of the present application, the installation script of the service is used to implement installation of the service, and for the target installation script of each service, the target code in the target installation script of the service is used to write target information in the target file of the capacity expansion machine when the installation of the service on the capacity expansion machine is completed. For a service, after object code is injected into the installation script of the service, the obtained object installation script of the service is an object installation script of the service, and the object installation script of the service can be regarded as the installation script of the service carrying the object code.
As a preferred implementation manner of the embodiment of the present application, after obtaining the installation scripts of each target service by scanning, the capacity expansion machine may execute the following processes for each installation script of each target service: and injecting the target code after the last line of code of the installation script of the target service to obtain the target installation script of the target service.
For example, at least one target service includes a target service 1 and a target service 2, the target service 1 includes an installation script 1 and an installation script 2, and the target service 2 includes an installation script 3, then injecting a target code after the last line of codes of the installation script 1 to obtain a target installation script of the installation script 1, injecting a target code after the last line of codes of the installation script 2 to obtain a target installation script of the installation script 2, and injecting a target code after the last line of codes of the installation script 3 to obtain a target installation script of the installation script 3.
S106, receiving an installation instruction, and determining a service identifier carried by the installation instruction;
in this embodiment of the present application, after obtaining the target installation script of the installation script of each service scanned by the capacity expansion machine, the capacity expansion machine may send a service installation request to the target machine.
Accordingly, after receiving a service installation request sent by the capacity expansion machine, the target machine may detect an installation instruction sent to the capacity expansion machine most recently from the beginning of the current capacity expansion to the current time, determine a service indicated by a service identifier carried by the detected installation instruction (for convenience of distinguishing, the service may be referred to as service 1), obtain, from at least one target service, a next service (for convenience of distinguishing, the service may be referred to as service 2) whose installation order is after the determined service (service 1) and which is adjacent to the determined service (service 1), and generate an installation instruction according to the obtained service identifier of the service (service 2) and send the installation instruction to the capacity expansion machine, so that the capacity expansion machine, after receiving the installation instruction, installs the service indicated by the service identifier carried by the installation instruction.
Further, if the target machine detects that no installation instruction is sent to the capacity expansion machine from the beginning of the current capacity expansion after receiving the service installation request sent by the capacity expansion machine, determining the service with the most advanced installation order from at least one target service, generating an installation instruction according to the service identifier of the determined service, and sending the installation instruction to the capacity expansion machine, so that the capacity expansion machine installs the service indicated by the service identifier carried in the installation instruction after receiving the installation instruction.
S107, calling the target installation script and the installation package of the service indicated by the service identifier to install the service indicated by the service identifier in the expansion machine.
In the embodiment of the application, after receiving the installation instruction, the capacity expansion machine may obtain the service identifier carried in the installation instruction, and call each target installation script and installation package of the service indicated by the service identifier, so as to implement installation of the service indicated by the service identifier. Further, after the installation of the capacity expansion machine completes the service, the capacity expansion machine may also send a service installation request to the target machine, so that the target machine may send a next installation instruction to the capacity expansion machine in response to the service installation request.
As a preferred implementation manner of the embodiment of the present application, when a service in a volume expansion machine is installed, an execution process of a target installation script of an installation script of the service is sequentially executed, that is, executed in order of codes in the target installation script of the service, after the execution of the codes of the installation script belonging to the service in the target installation script is completed, that is, after the installation of the volume expansion machine is completed, the target codes in the target installation script are executed, the target codes indicate that target information is written in a target file of the volume expansion machine, and for the service, if the target information written when the service is installed is recorded in the target file in the volume expansion machine, the installation of the service in the volume expansion machine is considered to be completed.
Based on the capacity expansion method of the server cluster provided in the embodiment of the present application, in the process of expanding the capacity of each capacity expansion machine in the server cluster, for each capacity expansion machine, the capacity expansion machine carries a target file, and after a service in the capacity expansion machine is installed, a target information is written in the target file of the capacity expansion machine. And then after the server cluster finishes the dilatation, when carrying out the detection of the dilatation result on the expanded service cluster, the target file on each dilatation cluster can be obtained respectively, and then each service installed on the dilatation machine is determined by detecting the target information in the target file on the dilatation machine, so as to detect whether the dilatation result of the dilatation machine is accurate, the dilatation machine can be considered to have no abnormity when the dilatation result of the dilatation machine is accurate, and the dilatation machine can be considered to have abnormity when the dilatation result of the dilatation machine is inaccurate.
The above describes in detail a capacity expansion method of a server cluster provided in the embodiment of the present application, and on this basis, a capacity expansion result detection method provided in the embodiment of the present application is described. The capacity expansion result detection method provided by the embodiment of the present application is used for detecting the capacity expansion result of each capacity expansion machine in the server cluster after capacity expansion, and based on the detection of the capacity expansion result of each capacity expansion machine in the server cluster after capacity expansion, the detection of the capacity expansion result of the server cluster after capacity expansion can be achieved.
Fig. 2 is a flowchart of a method for detecting a capacity expansion result according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes:
s201, reading a target file in the capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed;
in this embodiment of the application, the detection of the expansion result of the expanded server cluster may be achieved by detecting the expansion result of each expansion machine in the expanded server cluster. For each capacity expansion machine in the server cluster after capacity expansion, please refer to the capacity expansion result detection method shown in fig. 2 for the process of detecting the capacity expansion result of the capacity expansion machine. Based on the method for detecting the capacity expansion result shown in fig. 2, the detection of the capacity expansion result of each capacity expansion machine in the server cluster after capacity expansion is automatically achieved, an abnormal capacity expansion machine in the server cluster after capacity expansion can be found in time, and the problem that the server cluster after capacity expansion cannot normally provide service to the outside is avoided.
Referring to fig. 2, in the embodiment of the present application, a detection of a capacity expansion result of one capacity expansion machine is taken as an example for description, but it should be noted that, in a specific application process, the detection of the capacity expansion result of each capacity expansion machine in a server cluster after capacity expansion is implemented, so as to achieve the detection of the capacity expansion result of the server cluster after capacity expansion.
In the embodiment of the present application, in the process of capacity expansion, after the service is installed on the capacity expansion machine, the service records the target information in the target file of the capacity expansion machine. After the capacity expansion of the capacity expansion machine is completed, when the capacity expansion result of the capacity expansion machine is detected, a target file on the capacity expansion machine needs to be acquired, wherein the target file is the target file on the capacity expansion machine after the capacity expansion of the capacity expansion machine is completed.
S202, determining each service installed on the capacity expansion machine based on target information carried by the target file;
in the embodiment of the application, after the target file on the capacity expansion machine is obtained, each piece of target information in the target file is obtained, for each piece of target information, a service related to the target information is determined, and each determined service is used as each service installed by the capacity expansion machine. Among them, the service related to the target information may be considered as a service to which an installation script for writing the target information in the target file belongs.
For example, when the volume expansion device 1 expands the volume and executes the installation script 11 of the service 11, the object information is written in the object file of the volume expansion device 1, when the installation script 12 of the service 11 is executed, the object information is written in the object file of the volume expansion device 1, and when the installation script 21 of the service 12 is executed, the object information is written in the object file of the volume expansion device 1. At this time, it is considered that the service related to the first object information written in the object file is the service 11, the service related to the second object information written in the object file is the service 11, and the service related to the third object information written in the object file is the service 12.
S203, judging whether each determined service is at least one preset target service; if each determined service is at least one target service, executing step S204; if the determined services are not at least one target service, executing step S205;
in this embodiment of the application, if each service determined in step S202 to be installed in the capacity expansion machine is at least one preset target service, it is considered that all the at least one target service is installed in the capacity expansion machine, and at this time, it is considered that a capacity expansion result of the capacity expansion machine is accurate; if the services installed in the capacity expansion machine determined in step S202 are not the preset at least one target service, it is determined that all the services installed in the capacity expansion machine are not installed, and the capacity expansion result of the capacity expansion machine is not accurate.
When the capacity of the server cluster to which the capacity expansion machine belongs is expanded, each service installed in each capacity expansion machine is needed. I.e., at least one target service that the target machine sends to the capacity expansion machine.
S204, determining that the capacity expansion result of the capacity expansion machine is accurate;
s205, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
The method for detecting the expansion result provided by the embodiment of the application can be applied to the target machine, and the target machine detects the expansion result of each expansion machine in the expanded server cluster, so as to detect the expansion result of the expanded server cluster. Fig. 3 is a schematic structural diagram of a system for detecting a capacity expansion result according to an embodiment of the present application, where the system for detecting a capacity expansion result includes a target machine, a capacity expansion machine, and a server cluster, where the server cluster is composed of original machines, the target machine expands the capacity of the capacity expansion machine, and the expanded capacity expansion machine is added to the server cluster to obtain the expanded server cluster.
The capacity expansion result detection method provided by the embodiment of the application is applied to the server cluster after capacity expansion, and by detecting the capacity expansion result of each capacity expansion machine in the server cluster after capacity expansion, the capacity expansion machine with an inaccurate capacity expansion result can be found, so that the problem that the server cluster after capacity expansion cannot normally provide service to the outside is prevented in time.
In order to improve the accuracy of the detection of the expansion result provided in the embodiment of the present application, another detection method of the expansion result is also provided in the embodiment of the present application, and please refer to fig. 4 specifically.
As shown in fig. 4, the method includes:
s401, reading a target file in the capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed;
s402, determining each service installed on the capacity expansion machine based on target information carried by the target file;
s403, judging whether each determined service is at least one preset target service; if the determined services are at least one target service, executing step S404; if the determined services are not at least one target service, executing step S407;
s404, determining the installation sequence of each service which is installed in the capacity expansion machine according to the target information carried by the target file, wherein the target information of the service indicates the installation sequence of the service in the capacity expansion machine;
in the embodiment of the application, if each determined service is at least one target service, the determined installation sequence of each service on the capacity expansion machine needs to be further judged, and when the determined installation sequence of each service on the capacity expansion machine is the preset target installation sequence between the at least one target service, the capacity expansion result of the capacity expansion machine is considered to be accurate; and when the determined installation sequence of each service on the capacity expansion machine is not the preset target installation sequence among at least one target service, considering that the capacity expansion result of the capacity expansion machine is not accurate.
In this embodiment of the present application, an installation order of each service installed on the capacity expansion machine may be determined according to a writing order of the target information in the target file of the capacity expansion machine. The target information of the service indicates an installation order of the service in the capacity expansion machine, and the installation order of the service on the capacity expansion machine may be considered as an order in which the service writes the target information in the target file.
For example, 3 services are installed on the capacity expansion machine, which are the service 31, the service 32, and the service 33, respectively, where the installation order of the service 31, the service 32, and the service 33 on the capacity expansion machine is the service 32, the service 33, and the service 31, and then in the capacity expansion process of the capacity expansion machine, the service 32 writes the target information in the target file of the capacity expansion machine, the service 33 writes the target information in the target file of the capacity expansion machine, and the service 31 writes the target information in the target file of the capacity expansion machine. The installation order of the service on the capacity expansion machine is the same as the order of writing the target information in the target file of the capacity expansion machine.
Correspondingly, when detecting the expansion result of the expansion machine, acquiring the target file of the expansion machine, detecting each target information included in the target file, and determining the order of writing each target information into the target file, if it is detected that the target information is written into the target file by the service 32, the target information is written into the target file by the service 33, and then the target information is written into the target file by the service 31, it can be determined that the installation order of each service in the expansion machine is the service 32, the service 33, and the service 31.
S405, detecting whether the installation sequence is a preset target installation sequence among at least one target service; if the installation information is the target installation sequence, executing step S406; if the installation sequence is not the target installation sequence, executing step S407;
s406, determining that the capacity expansion result of the capacity expansion machine is accurate;
s407, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
According to the capacity expansion result detection method provided by the embodiment of the application, on the basis of detecting the service installed on the capacity expansion machine, the sequence of installing the service on the capacity expansion machine is further detected, so that the accuracy of detection on the capacity expansion result of the capacity expansion machine is improved, the abnormal capacity expansion machine in the server cluster after capacity expansion can be better found, and the server cluster after capacity expansion is ensured to provide the service to the outside.
The embodiment of the present application further provides a method for detecting a capacity expansion result, so as to further improve accuracy of detecting the capacity expansion result, please refer to fig. 5 specifically.
As shown in fig. 5, the method includes:
s501, reading a target file in the capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed;
s502, determining each service installed on the capacity expansion machine based on target information carried by the target file;
s503, judging whether each determined service is at least one preset target service; if the determined services are at least one target service, executing step S504; if the determined services are not at least one target service, step S509 is executed;
s504, determining the installation sequence of each service installed in the capacity expansion machine according to the target information carried by the target file, wherein the target information of the service indicates the installation sequence of the service in the capacity expansion machine;
s505, detecting whether the installation sequence is a preset target installation sequence among at least one target service; if the installation information is the target installation sequence, executing step S506; if the installation order is not the target installation order, go to step S509;
s506, detecting whether a first service exists in the determined services, wherein the installation path of the first service is not a preset target installation path of the first service; if the first service does not exist in the determined services, executing step S507; if the first service exists in the determined services, step S509 is executed;
further, the method for detecting the capacity expansion result provided by the embodiment of the application may further detect an installation path of a service, so as to further improve the accuracy of detecting the capacity expansion result.
In this embodiment of the application, for each preset target service in at least one target service, a database of the target machine stores a target installation path of the target service in each capacity expansion machine, and if it is detected that the installation path of the service in the capacity expansion machine is not the target installation path of the service in the capacity expansion machine, it is determined that the service is the first service.
S507, detecting whether the determined services are all started; if the determined services are not all started, execute step S508; if the determined services are not all started, execute step S509;
furthermore, the method for detecting the capacity expansion result provided by the embodiment of the present application may further detect whether the service is started, so as to determine whether the capacity expansion result of the capacity expansion machine is accurate.
In the embodiment of the present application, if there is a service process in the capacity expansion machine, it may be considered that the service has been started in the capacity expansion machine; if there is no process of the service in the capacity expansion machine, the service may be considered not to be started in the capacity expansion machine.
S508, determining that the capacity expansion result of the capacity expansion machine is accurate;
s509, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
The above is only a preferred way of detecting the capacity expansion result provided in the embodiment of the present application, and further, the method for detecting the capacity expansion result provided in the embodiment of the present application may further detect the version of the service installed in the capacity expansion machine, and when the version of the service installed in the capacity expansion machine is not the preset version, it is determined that the capacity expansion result of the capacity expansion machine is inaccurate.
In the method for detecting the expansion result provided in the embodiment of the present application, the target machine may obtain the configuration file in the installation package of the service installed by the expansion machine, perform MD5 processing on the configuration file to obtain the first information, compare the first information with the second information preset in the target machine, and indicate that the version of the service is correct if the first information is the same as the second information; and if the first information is different from the second information, the version of the service is incorrect. If the service with the incorrect version exists in the capacity expansion machine, the capacity expansion result of the capacity expansion machine is not accurate.
The second information preset in the target machine is obtained by performing MD5 processing on the configuration file in the installation package of the to-be-installed version of the service.
According to the capacity expansion result detection method provided by the embodiment of the application, on the basis of detecting the service installed on the capacity expansion machine, whether the path of the service installed on the capacity expansion machine and the installed service are started or not is further detected, so that the accuracy of detection of the capacity expansion result of the capacity expansion machine is improved, the abnormal capacity expansion machine in the server cluster after capacity expansion can be better found, and the server cluster after capacity expansion is ensured to provide the service to the outside.
Furthermore, in order to ensure the accuracy of the expansion result, the expansion result may be further detected through the flow gray scale, and whether the service of the expansion machine is abnormal when providing the service to the outside may be detected based on the detection of the flow gray scale on the expansion result.
Fig. 6 is a flowchart of another expansion result detection method according to an embodiment of the present application.
As shown in fig. 6, the method includes:
s601, reading a target file in the capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed;
s602, determining each service installed on the capacity expansion machine based on target information carried by the target file;
s603, judging whether each determined service is at least one preset target service; if the determined services are at least one target service, executing step S604; if the determined services are not at least one target service, executing step S608;
s604, determining the installation sequence of each service installed in the capacity expansion machine according to the target information carried by the target file, wherein the target information of the service indicates the installation sequence of the service in the capacity expansion machine;
s605, detecting whether the installation sequence is a preset target installation sequence among at least one target service; if the installation information is the target installation sequence, executing step S606; if the installation sequence is not the target installation sequence, go to step S608;
s606, importing flow into each determined service, and verifying whether a second service exists in each determined service, wherein the second service cannot normally provide service for the flow; if the determined services do not include the second service, step S607 is executed; if the determined services include a second service, execute step S608;
in the capacity expansion result detection method provided in the embodiment of the present application, when the capacity expansion result of the server cluster is detected, a flow may be introduced into a capacity expansion machine in the server cluster after capacity expansion, so as to verify whether a service in the capacity expansion machine into which the flow is introduced can normally provide a service for the flow, and if the service can normally provide a service for the flow introduced therein, the service is not a second service; and if the service can not normally provide the service for the traffic led into the service, the service is a second service.
In the embodiment of the application, after determining each service installed in the capacity expansion machine based on the target file in the capacity expansion machine, traffic can be respectively introduced into each service in the capacity expansion machine to determine whether the service with the introduced traffic can provide a service for the normal traffic, and if the service with the introduced traffic can provide a service for the normal traffic, the service with the introduced traffic is determined not to be a second service; and if the service of the imported flow can not normally provide the service for the flow, determining that the service of the imported flow is the second service.
Furthermore, in order to ensure that when the capacity expansion result of the expanded service cluster is detected, the influence on the experience of the user is small, in the embodiment of the application, a traffic import control layer may be set, and the traffic import control layer controls a ratio of traffic in the original machine and traffic in the expanded machine, which are imported into the expanded server cluster, where the traffic in the imported expanded machine is smaller than the traffic in the original machine, so that the expanded machine in the expanded server cluster can be normally and externally provided with service through a small part of traffic, and the expanded machine with an abnormal capacity expansion result can be timely found. The manner of detecting the expansion result of the expanded machine in the expanded server cluster by the small part of the traffic may be understood as detecting the expansion result of the expanded machine in the expanded server cluster based on the traffic gray scale.
S607, determining that the capacity expansion result of the capacity expansion machine is accurate;
and S608, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
The method for detecting the expansion result provided in the embodiment of the present application may further combine the contents of the detection on the installation order, the detection on the service version, the detection on whether the service is started, and the like provided in the above embodiments to implement the detection on the expansion result, so as to further improve the accuracy of the detection on the expansion result.
The method for detecting the expansion result provided by the embodiment of the application can further detect whether the service can be normally provided by the external service by combining the flow gray scale, so as to further improve the accuracy of detection of the expansion result.
The capacity expansion result detection method provided by the embodiment of the application can be embedded into automation and combined with capacity expansion operation, so that the detection efficiency is improved; and the method can also be embedded into the continuous integration, so that the expansion success rate of the operating environment is improved.
The embodiment of the application provides a method for detecting a capacity expansion result, wherein a target file in a capacity expansion machine is read, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed; determining each service installed on the capacity expansion machine based on target information carried by the target file; if the determined services are at least one preset target service, determining that the capacity expansion result of the capacity expansion machine is accurate; if the determined services are not the preset at least one target service, determining a mode that the capacity expansion result of the capacity expansion machine is inaccurate, realizing automatic detection of the expanded server cluster, and ensuring that the expanded server cluster can normally provide services to the outside.
The capacity expansion result detection method provided by the embodiment of the application can be applied to a server, and the server can be a service device which provides service for a user on a network side, can be a server cluster formed by a plurality of servers, and can also be a single server.
Alternatively, fig. 7 shows a block diagram of a hardware structure of the server, and referring to fig. 7, the hardware structure of the server may include: a processor 71, a communication interface 72, a memory 73 and a communication bus 74;
in the embodiment of the present invention, the number of the processor 71, the communication interface 72, the memory 73, and the communication bus 74 may be at least one, and the processor 71, the communication interface 72, and the memory 73 complete communication with each other through the communication bus 74;
the processor 71 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, or the like;
the memory 73 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program, the processor may invoke the program stored in the memory, the program to:
reading a target file in the capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service in the capacity expansion machine is completed;
determining each service installed on the capacity expansion machine based on target information carried by the target file;
judging whether each determined service is at least one preset target service or not;
if each determined service is at least one target service, determining that the capacity expansion result of the capacity expansion machine is accurate;
and if the determined services are not at least one target service, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
Fig. 8 is a schematic structural diagram of a device for detecting expansion results according to an embodiment of the present disclosure.
As shown in fig. 8, the apparatus includes:
the target file reading unit 81 is configured to read a target file in the expansion machine, where the target file is used to carry target information of a service, and the target information of the service is written into the target file when the installation of the service in the expansion machine is completed;
a service determining unit 82, configured to determine, based on target information carried by the target file, each service installed on the expansion machine;
a judging unit 83 configured to judge whether each of the determined services is at least one target service set in advance;
a first determining unit 84, configured to determine that a capacity expansion result of the capacity expansion machine is accurate if each determined service is at least one target service;
the second determining unit 85 is configured to determine that a capacity expansion result of the capacity expansion machine is inaccurate if each determined service is not at least one target service.
Further, an expansion result detection apparatus provided in an embodiment of the present application further includes:
the installation sequence determining unit is used for determining the installation sequence of each service installed in the capacity expansion machine according to the target information carried by the target file, and the target information of the service indicates the installation sequence of the service in the capacity expansion machine;
a first detection unit for detecting whether the installation order is a target installation order between at least one preset target service;
the second determining unit is further used for determining that the capacity expansion result of the capacity expansion machine is inaccurate if the installation sequence is not the target installation sequence;
the first determining unit, configured to determine that a capacity expansion result of the capacity expansion machine is accurate, is specifically configured to: and if the installation information is the target installation sequence, determining that the capacity expansion result of the capacity expansion machine is accurate.
Further, an expansion result detection apparatus provided in an embodiment of the present application further includes:
a second detection unit, configured to detect whether a first service exists in the determined services, where an installation path of the first service is not a preset target installation path of the first service;
the second determining unit is further configured to determine that the capacity expansion result of the capacity expansion machine is inaccurate if the first service exists in the determined services;
the first determining unit is used for determining that the capacity expansion result of the capacity expansion machine is accurate, and is specifically used for: and if the determined services do not have the first service, determining that the capacity expansion result of the capacity expansion machine is accurate.
Further, an expansion result detection apparatus provided in an embodiment of the present application further includes:
a third detecting unit configured to detect whether each of the determined services has been started;
the second determining unit is further used for determining that the capacity expansion result of the capacity expansion machine is inaccurate if the determined services are not started;
the first determining unit is used for determining that the capacity expansion result of the capacity expansion machine is accurate, and is specifically used for: and if all the determined services are started, determining that the capacity expansion result of the capacity expansion machine is accurate.
Further, an expansion result detection apparatus provided in an embodiment of the present application further includes:
the verification unit is used for importing flow into each determined service and verifying whether a second service exists in each determined service, wherein the second service cannot normally provide service for the flow;
the second determining unit is further configured to determine that the capacity expansion result of the capacity expansion machine is inaccurate if a second service exists in the determined services;
the first determining unit is used for determining that the capacity expansion result of the capacity expansion machine is accurate, and is specifically used for: and if the determined services do not have the second service, determining that the capacity expansion result of the capacity expansion machine is accurate.
Further, an embodiment of the present application provides a device for detecting a capacity expansion result, further including a target information writing unit disposed in a capacity expansion machine, where the target information writing unit includes:
the instruction receiving unit is used for receiving the installation instruction and determining the service identifier carried by the installation instruction;
and the service installation unit is used for calling a target installation script of the service indicated by the service identifier and installing the service indicated by the service identifier in the expansion machine by the installation package, wherein the target installation script of the service is generated by injecting a target code after the last line of codes of the installation script of the service, and the target code indicates that target information is written in a target file.
Further, an object information writing unit provided in an embodiment of the present application further includes:
the service information receiving unit is used for receiving the installation script and the installation package of each target service in at least one target service after environment cleaning is completed;
an installation script acquisition unit for acquiring each installation script of at least one target service;
and the code injection unit is used for injecting the object codes after the last line of codes of the installation script of each object service respectively to obtain the object installation script of each object service.
Further, an embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to execute the capacity expansion result detection method.
Alternatively, the detailed functionality and extended functionality of the computer-executable instructions may be as described above.
The embodiment of the application provides a method and a device for detecting a capacity expansion result, a server and a storage medium, wherein a target file in a capacity expansion machine is read, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the capacity expansion machine is finished; determining each service installed on the capacity expansion machine based on target information carried by the target file; if the determined services are at least one preset target service, determining that the capacity expansion result of the capacity expansion machine is accurate; if the determined services are not the preset at least one target service, determining a mode that the capacity expansion result of the capacity expansion machine is inaccurate, realizing automatic detection of the expanded server cluster, and ensuring that the expanded server cluster can normally provide services to the outside.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for detecting a capacity expansion result is characterized by comprising the following steps:
reading a target file in a capacity expansion machine, wherein the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the installation of the service on the capacity expansion machine is completed;
determining each service installed on the capacity expansion machine based on target information carried by the target file;
judging whether each determined service is at least one preset target service or not;
if each determined service is the at least one target service, determining that the capacity expansion result of the capacity expansion machine is accurate;
and if the determined services are not the at least one target service, determining that the capacity expansion result of the capacity expansion machine is inaccurate.
2. The method of claim 1, further comprising:
determining an installation sequence among the services which are installed in the capacity expansion machine according to target information carried by the target file, wherein the target information of the services indicates the installation sequence of the services in the capacity expansion machine;
detecting whether the installation sequence is a preset target installation sequence among the at least one target service;
if the installation sequence is not the target installation sequence, determining that the capacity expansion result of the capacity expansion machine is inaccurate;
the determining that the capacity expansion result of the capacity expansion machine is accurate includes: and if the installation sequence is the target installation sequence, determining that the capacity expansion result of the capacity expansion machine is accurate.
3. The method of claim 2, further comprising:
detecting whether a first service exists in the determined services, wherein an installation path of the first service is not a preset target installation path of the first service;
if the determined services include the first service, determining that the capacity expansion result of the capacity expansion machine is inaccurate;
the determining that the capacity expansion result of the capacity expansion machine is accurate includes: and if the determined services do not have the first service, determining that the capacity expansion result of the capacity expansion machine is accurate.
4. The method of claim 2, further comprising:
detecting whether the determined services are all started;
if the determined services are not all started, determining that the capacity expansion result of the capacity expansion machine is inaccurate;
the determining that the capacity expansion result of the capacity expansion machine is accurate includes: and if all the determined services are started, determining that the capacity expansion result of the capacity expansion machine is accurate.
5. The method of any one of claims 1-4, further comprising:
importing flow into each determined service, and verifying whether a second service exists in each determined service, wherein the second service cannot normally provide service for the flow;
if the determined services include the second service, determining that the capacity expansion result of the capacity expansion machine is inaccurate;
the determining that the capacity expansion result of the capacity expansion machine is accurate includes: and if the determined services do not have the second service, determining that the capacity expansion result of the capacity expansion machine is accurate.
6. The method of claim 1, wherein writing target information in the target file comprises:
the capacity expansion machine receives an installation instruction and determines a service identifier carried by the installation instruction;
and the capacity expansion machine calls a target installation script of the service indicated by the service identifier and an installation package to install the service indicated by the service identifier in the capacity expansion machine, wherein the target installation script of the service is an installation script of the service carrying a target code, and the target code in the target installation script of the service is used for writing target information in the target file when the installation of the service in the capacity expansion machine is completed.
7. The method of claim 6, wherein the generating of the target installation script comprises:
the capacity expansion machine receives the uploaded installation script and installation package of each target service in the at least one target service after environment cleaning is completed;
acquiring each installation script of the at least one target service;
and respectively injecting an object code into the installation script of each target service to obtain the target installation script of each target service.
8. A capacity expansion result detection device, comprising:
the system comprises a target file reading unit, a capacity expansion machine and a service processing unit, wherein the target file reading unit is used for reading a target file in the capacity expansion machine, the target file is used for carrying target information of a service, and the target information of the service is written into the target file when the service is installed in the capacity expansion machine;
the service determining unit is used for determining each service installed on the capacity expansion machine based on the target information carried by the target file;
a judging unit configured to judge whether each of the determined services is at least one target service set in advance;
the first determining unit is used for determining that the capacity expansion result of the capacity expansion machine is accurate if each determined service is the at least one target service;
and the second determining unit is used for determining that the capacity expansion result of the capacity expansion machine is inaccurate if each determined service is not the at least one target service.
9. A server, comprising: at least one memory and at least one processor; the memory stores a program, and the processor calls the program stored in the memory, and the program is used for implementing the expansion result detection method according to any one of claims 1 to 7.
10. A storage medium having stored therein computer-executable instructions for performing the expansion result detection method according to any one of claims 1 to 7.
CN201910549575.1A 2019-06-24 2019-06-24 Capacity expansion result detection method and device, server and storage medium Active CN112134715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910549575.1A CN112134715B (en) 2019-06-24 2019-06-24 Capacity expansion result detection method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910549575.1A CN112134715B (en) 2019-06-24 2019-06-24 Capacity expansion result detection method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN112134715A CN112134715A (en) 2020-12-25
CN112134715B true CN112134715B (en) 2022-06-10

Family

ID=73849356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910549575.1A Active CN112134715B (en) 2019-06-24 2019-06-24 Capacity expansion result detection method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112134715B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
CN108366082A (en) * 2017-01-26 2018-08-03 华为技术有限公司 Expansion method and flash chamber
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN109586952A (en) * 2018-11-07 2019-04-05 广州虎牙信息科技有限公司 Method of server expansion, device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9571559B2 (en) * 2009-01-28 2017-02-14 Headwater Partners I Llc Enhanced curfew and protection associated with a device group
CN109669758A (en) * 2018-09-11 2019-04-23 深圳平安财富宝投资咨询有限公司 Concocting method, device, equipment and the storage medium of server resource

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
CN108366082A (en) * 2017-01-26 2018-08-03 华为技术有限公司 Expansion method and flash chamber
CN109586952A (en) * 2018-11-07 2019-04-05 广州虎牙信息科技有限公司 Method of server expansion, device
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network

Also Published As

Publication number Publication date
CN112134715A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN108388514B (en) Interface automation test method, device, equipment and computer readable storage medium
CN110442473B (en) Nonvolatile data storage method and device, electronic equipment and medium
CN111045921A (en) Automatic interface testing method and device, computer equipment and storage medium
CN110673924B (en) Multi-architecture container cloud mirror image selection method, device, equipment and storage medium
CN107861832B (en) Data verification method and device and readable storage medium
CN107844385B (en) Variable read-write method and device based on shared memory
CN110908909A (en) Automatic testing method and device, storage medium and equipment
CN110808877A (en) Statistical analysis method and device based on interface response duration and computer equipment
CN111309506A (en) Method, equipment, server and readable storage medium for positioning compiling errors
CN110825705A (en) Data set caching method and related device
CN111984452A (en) Program failure detection method, program failure detection device, electronic device, and storage medium
CN112134715B (en) Capacity expansion result detection method and device, server and storage medium
CN108279993B (en) Method and device for realizing service degradation and electronic equipment
CN108196975B (en) Data verification method and device based on multiple checksums and storage medium
CN113326046B (en) Method and device for acquiring compiling time length
CN111581558B (en) Page loading time length determining method, device, equipment and storage medium
CN109531730B (en) Terminal nailing method, device and storage medium
CN111371818B (en) Data request verification method, device and equipment
CN110019262B (en) Data updating method and device
CN107391185B (en) Method and device for detecting installation package
CN107203461B (en) Compatibility testing method and device
CN111857744A (en) Installation method, system, equipment and medium of super-fusion system
CN108845845A (en) Shortcut key creating method and device, electronic equipment and storage medium
CN109240906B (en) Database configuration information adaptation method and device, computer equipment and storage medium
CN112148514B (en) Watchdog resetting method and device, storage medium and electronic equipment

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