CN108712284B - Fault service positioning method and device and service server - Google Patents

Fault service positioning method and device and service server Download PDF

Info

Publication number
CN108712284B
CN108712284B CN201810478311.7A CN201810478311A CN108712284B CN 108712284 B CN108712284 B CN 108712284B CN 201810478311 A CN201810478311 A CN 201810478311A CN 108712284 B CN108712284 B CN 108712284B
Authority
CN
China
Prior art keywords
service
detection period
samples
current detection
determining
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
CN201810478311.7A
Other languages
Chinese (zh)
Other versions
CN108712284A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201810478311.7A priority Critical patent/CN108712284B/en
Publication of CN108712284A publication Critical patent/CN108712284A/en
Application granted granted Critical
Publication of CN108712284B publication Critical patent/CN108712284B/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/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

A method, a device and a service server for positioning fault service are disclosed, wherein the method comprises the following steps: when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of service samples to be sampled according to the falling value of the service index; determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period; and determining fault service in the service sample set.

Description

Fault service positioning method and device and service server
Technical Field
The embodiment of the specification relates to the technical field of data processing, and in particular relates to a method and a device for positioning a fault service and a service server.
Background
With the rapid development and expansion of services, the complexity of service systems is gradually increased, and service failures are increasingly prominent. At present, one or more service indexes, such as service request volume, service access success rate, etc., are set for a service system to measure whether the service system fails, and specifically, when a drop in the service index is detected, for example, when a drop in the service access success rate is detected, the service system may be considered to have a failure. At this time, a technical specialist is often required to perform emergency troubleshooting to locate the fault service, and then perform fault diagnosis on the fault service, so as to repair the service system according to a diagnosis result. However, since the amount of traffic is large, a technician needs to spend a long time on locating a faulty service by checking it, which results in a low efficiency of locating the faulty service, and further cannot quickly repair the service system, which affects user experience.
Disclosure of Invention
In view of the above technical problems, embodiments of the present specification provide a method, an apparatus, and a service server for locating a fault service, where the technical scheme is as follows:
according to a first aspect of embodiments of the present specification, there is provided a method for locating a fault service, the method including:
when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of service samples to be sampled according to the falling value of the service index;
determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period;
and determining fault service in the service sample set.
According to a second aspect of embodiments of the present specification, there is provided a device for locating a fault service, the device including:
the quantity determining module is used for determining the quantity of the service samples to be sampled according to the service index falling value when the service index of the current detection period is detected to fall compared with the service index of the historical detection period;
a sample set determining module, configured to determine a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, where the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period;
and the fault service determining module is used for determining the fault service in the service sample set.
According to a third aspect of the embodiments of the present specification, there is provided a service server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for locating a fault service provided in any embodiment of the present specification when executing the program.
According to the technical scheme provided by the embodiment of the specification, when the fact that the service index of the current detection period falls compared with the service index of the historical detection period is detected, the number of the service samples to be sampled is determined according to the falling value of the service index, the service sample set is determined in the service set of the current detection period according to the number of the service samples, and finally the fault service is determined in the service sample set, wherein the number of the service samples is a natural number larger than 0, and the number of the service samples is smaller than the number of the service set of the current detection period, so that the full set service is reduced to a small-range service sample set, the fault service determining efficiency can be improved when the fault service is determined in the small-range service sample set, and the service system can be repaired as quickly as possible.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a flowchart of an embodiment of a method for locating a fault service according to an exemplary embodiment of the present disclosure;
FIG. 2 is an example of a change in a business metric;
fig. 3 is a flowchart of an embodiment of another method for locating a fault service according to an exemplary embodiment of the present disclosure;
fig. 4 is a block diagram of an embodiment of a device for locating a fault service according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a more specific hardware structure of a service server provided in an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
At present, one or several service indexes are set for a service system to measure the working performance of the service system, that is, whether the service system has a fault or not, where the service indexes are, for example, a service request amount, a service access success rate, and the like, it should be noted that, for different service scenarios, different service indexes may be set, for example, for a fund transfer-out service scenario, the service indexes may include a fund transfer-out service success rate, and for an order payment service scenario, the service indexes may include an order payment success rate.
In a specific application, for a specific service scenario, a service index of a current detection period may be obtained at intervals of a detection period, for example, at intervals of 1 minute or at intervals of 5 minutes, that is, a service success rate of the current detection period is obtained through statistics according to a processing condition of a service in the current detection period, for example, the service is a fund transfer-out, a fund transfer-in, an order payment, or the like, and then, the service index of the current detection period may be compared with a service index of a previous detection period, and if the service index of the current detection period is found to drop or drop obviously, it may be considered that a service system fails.
In the prior art, a technical specialist is required to perform an emergency investigation on all services to locate a fault service, for example, to locate one or more services with a fund transfer failure, and further perform fault diagnosis according to an access parameter of the fault service to repair the service system according to a diagnosis result. However, for a large service system, the amount of traffic carried in a short time can reach tens of thousands, so that a technician needs to spend a long time on troubleshooting the tens of thousands of traffic to locate a failed service, that is, the efficiency of locating the failed service is low, and further the service system cannot be quickly repaired, and in a serious case, even the whole service system may be down, which affects user experience.
Based on this, embodiments of the present specification provide a method for locating a fault service, so as to improve efficiency of locating the fault service, and further implement repairing a service system as quickly as possible.
The method for locating the fault service is explained as follows:
referring to fig. 1, a flowchart of an embodiment of a method for locating a fault service according to an exemplary embodiment of the present disclosure is provided, where the method may include the following steps:
step 102: and when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of the service samples to be sampled according to the falling value of the service index.
In this embodiment, the service index of the current detection period may be compared with the service index of the historical detection period, where the historical detection period may be a previous detection period of the current detection period, or may be another historical detection period.
And when the service index of the current detection period is obtained by comparison and is lowered compared with the service index of the historical detection period, determining the number of the service samples to be sampled according to the specified drop value of the service.
In an embodiment, the drop of the service index referred to herein may refer to an obvious drop of the service index, that is, a large drop of the service index, for example, a drop value of the service index may be calculated, a percentage between the drop value of the service index and the service index of the historical detection period is regarded as a drop of the service index, if the percentage reaches a preset threshold, the service index of the current detection period is regarded as a drop compared with the service index of the historical detection period, otherwise, the service index of the current detection period is regarded as not dropped compared with the service index of the historical detection period.
For example, assuming that the preset threshold is 20%, assuming that the service access success rate of the current detection period is 80% and the service access success rate of the historical detection period is 95%, it can be calculated that the drop value of the service index is 15% and the drop degree is approximately 16%, comparing the drop degree with the preset threshold can obtain that the service index of the current detection period does not drop compared with the service index of the historical detection period; for another example, assuming that the service access success rate of the current detection period is 70%, it can be calculated that the service index drop value is 25%, and the drop degree is approximately 26%, and comparing the drop degree with the preset threshold value, it can be found that the service index of the current detection period drops compared with the service index of the historical detection period.
As shown in fig. 2, which is an example of a change situation of a traffic indicator, in fig. 2, a drop of the traffic indicator is detected in the detection period Tn.
In the embodiment of the present specification, the process of determining the number of service samples to be sampled according to the drop value of the service index follows the principle that "the number of service samples to be sampled and the drop value of the service index are in a negative correlation relationship", that is, the greater the drop value of the service index is, the smaller the number of service samples to be sampled is, and conversely, the smaller the drop value of the service index is, the larger the number of service samples to be sampled is, and the principle of such setting is as follows: assuming that the service access success rate of the historical detection period is 100%, and the service access success rate of the current detection period is 20%, and the service index drop value is 80%, it can be known that, in all services, the fault service accounts for most of the services, and is 80%, so that, by selecting fewer services from all the services, the selected services are likely to include the fault service; on the contrary, if the drop value of the service index is small, for example, only 20%, in all services, the fault service accounts for only a small portion, namely 20%, so that more services need to be selected from all services, and the selected services may possibly include the fault service.
Based on the above description, in an embodiment, the number of traffic samples to be sampled may be determined by the following equation (one):
1-(1-x)nmore than or equal to 0.9999 type (one)
In the above equation (one), x represents the drop value of the traffic indicator, n represents the number of traffic samples to be sampled, and the left side of the inequality represents: the probability of at least one failed service existing in the n service samples.
In the above equation (one), the service index drop value x is a known quantity, and the number n of service samples can be obtained by solving the equation (one) reversely, and it can be understood by those skilled in the art that the solved number n of service samples is a natural number greater than 0.
Step 104: and determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and less than the number of services in the service set of the current detection period.
In the embodiment of the present specification, n traffic samples are determined from all the services processed in the current detection period according to the number n of the traffic samples to be sampled determined in step 102, for convenience of description, all the services processed in the current detection period are referred to as a service set of the current detection period, and the determined n traffic samples are referred to as a traffic sample set.
In an embodiment, n traffic samples may be randomly selected from the traffic set of the current detection period.
Step 106: the faulty traffic is determined in a traffic sample set.
In this embodiment, the failure service may be determined in the service sample set determined in step 104, and as to a specific process for determining the failure service in the service sample set, a person skilled in the art may refer to related descriptions in the prior art, which will not be described in detail in this embodiment.
Further, after determining the faulty service, an access parameter of the faulty service may be obtained, for example, as shown in table 1 below, which is an example of the access parameter of the faulty service.
TABLE 1
Service ID Type of service Processing the results Error code
002 Fund transfer-out Failure of ERR_001
004 Funds transfer to Failure of ERR_001
The entry and exit parameters are exemplified in table 1: the service ID, the service type, the processing result, and the error code are only examples, and in practical applications, other access parameters may also be included, which is not described in detail in this embodiment of the present disclosure.
As will be understood by those skilled in the art, by obtaining an access parameter of a faulty service, fault diagnosis can be performed according to the access parameter, such as an error code, so as to repair the service system according to the diagnosis result.
According to the technical scheme provided by the embodiment of the specification, when the fact that the service index of the current detection period falls compared with the service index of the historical detection period is detected, the number of the service samples to be sampled is determined according to the falling value of the service index, the service sample set is determined in the service set of the current detection period according to the number of the service samples, and finally the fault service is determined in the service sample set, wherein the number of the service samples is a natural number larger than 0, and the number of the service samples is smaller than the number of the service set of the current detection period, so that the full set service is reduced to a small-range service sample set, the fault service determining efficiency can be improved when the fault service is determined in the small-range service sample set, and the service system can be repaired as quickly as possible.
Further, in the embodiment of the present specification, it is further provided that the normal service in the service sample set is determined by comparing the service in the service sample set with the normal service that has occurred historically, and the determined normal service is removed from the service sample set, so that the range of the service sample set is further reduced, and the efficiency of determining the fault service in the service sample set is further improved.
Referring to fig. 3, a flowchart of another embodiment of a method for locating a fault service according to an exemplary embodiment of the present disclosure is provided, where the method may include the following steps:
step 302: and when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of the service samples to be sampled according to the falling value of the service index.
Step 304: and determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and less than the number of services in the service set of the current detection period.
For detailed descriptions of step 302 and step 304, refer to the related descriptions in the embodiment shown in fig. 2, which are not repeated herein.
Step 306: an intersection between the traffic sample set and the traffic set specifying the historical inspection period is determined.
Step 308: and deleting the services belonging to the intersection from the service sample set.
In the embodiment of the present specification, the specified historical detection period and the current detection period correspond to the same time period in two adjacent days, for example, if the current detection period is 2:29 to 2:30 in the afternoon of 16 days of 5 months, the specified historical detection period is 2:29 to 2:30 in the afternoon of 15 days of 5 months.
It should be noted that the above description about the designated history detection period is only used as an example, and in practical applications, the designated history detection period may further include a plurality of detection periods, for example, the designated history detection period includes 5 months, 15 days, 2 pm: 28-2: 29, 2: 29-2: 30, 2:30 to 2:31, which is not limited in the embodiments of the present specification.
In the embodiment of the present specification, it is assumed that the set of traffic samples determined in step 304 is StAnd assuming that the service set of the designated historical detection period is St-1Determining the intersection between the two sets, e.g. as St^St-1
Further, the traffic belonging to the intersection may be taken from the traffic sample set StThe service sample set obtained after the processing can be represented as St-(St^St-1)。
Step 310: the faulty traffic is determined in a traffic sample set.
The technical solution provided in this specification is to determine the number of service samples to be sampled according to a drop value of a service index when it is detected that the service index of a current detection period drops compared with the service index of a historical detection period, determine a service sample set in the service set of the current detection period according to the number of the service samples, and finally determine a fault service in the service sample set, where the number of the service samples is a natural number greater than 0, and the number of the service samples is smaller than the number of services in the service set of the current detection period, thereby implementing a reduction of a full set service into a small range of service sample sets, further, by determining an intersection between the service sample set and the service set of the specified historical detection period, deleting a service belonging to the intersection from the service sample set, thereby enabling a normal service in the service sample set to be proposed, thereby further reducing the range of the service sample set, finally, the efficiency of determining the fault service can be improved by determining the fault service in a small-range service sample set, and further, the service system can be repaired as quickly as possible.
Corresponding to the foregoing method embodiment, an embodiment of the present specification further provides a device for locating a fault, and referring to fig. 4, a block diagram of an embodiment of a device for locating a fault service provided for an exemplary embodiment of the present specification is shown, where the device may include: a number determination module 42, a sample set determination module 44, and a failure traffic determination module 46.
The quantity determining module 42 may be configured to determine, when it is detected that the service index of the current detection period falls compared with the service index of the historical detection period, the quantity of the service samples to be sampled according to the service index fall value;
a sample set determining module 44, configured to determine a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, where the number of the service samples to be sampled is a natural number greater than 0 and is smaller than the number of services in the service set of the current detection period;
a failure traffic determination module 46 may be configured to determine failure traffic in the set of traffic samples.
In an embodiment, the number of service samples to be sampled is in a negative correlation with the service index drop value.
In an embodiment, the apparatus may further comprise (not shown in fig. 4):
the intersection determining module is used for determining the intersection between the service sample set and the service set of the appointed historical detection period;
and the deleting module is used for deleting the services belonging to the intersection from the service sample set.
In an embodiment, the specified historical detection period and the current detection period correspond to the same time period in two adjacent days.
It should be understood that the number determining module 42, the sample set determining module 44, and the fault service determining module 46 may be configured in the apparatus at the same time as shown in fig. 4, or may be configured in the apparatus separately, and therefore the structure shown in fig. 4 should not be construed as a limitation to the embodiment of the present specification.
In addition, the implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
The embodiments of the present specification further provide a service server, which at least includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the program to implement the foregoing method for fault location, and the method at least includes: when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of service samples to be sampled according to the falling value of the service index; determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period; and determining fault service in the service sample set.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of a service server provided in an embodiment of the present specification, where the apparatus may include: a processor 510, a memory 520, an input/output interface 530, a communication interface 540, and a bus 550. Wherein processor 510, memory 520, input/output interface 530, and communication interface 540 are communicatively coupled to each other within the device via bus 550.
The processor 510 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 520 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 520 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 520 and called by the processor 510 for execution.
The input/output interface 530 is used for connecting an input/output module to realize information input and output. The input/output/module may be configured as a component within the device (not shown in fig. 5) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 540 is used for connecting a communication module (not shown in fig. 5) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 550 includes a pathway to transfer information between various components of the device, such as processor 510, memory 520, input/output interface 530, and communication interface 540.
It should be noted that although the above-mentioned device only shows the processor 510, the memory 520, the input/output interface 530, the communication interface 540 and the bus 550, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the foregoing fault location method. The method at least comprises the following steps: when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of service samples to be sampled according to the falling value of the service index; determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period; and determining fault service in the service sample set.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (7)

1. A method for locating a fault service, the method comprising:
when the service index of the current detection period is detected to fall compared with the service index of the historical detection period, determining the number of service samples to be sampled according to the falling value of the service index; the number of the service samples to be sampled and the service index drop value form a negative correlation relationship;
determining a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, wherein the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period;
and determining fault service in the service sample set.
2. The method of claim 1, after the determining a traffic sample set in the traffic set of the current detection period according to the number of traffic samples to be sampled, the method further comprising:
determining the intersection between the service sample set and a service set of a specified historical detection period;
and deleting the service belonging to the intersection from the service sample set.
3. The method of claim 2, wherein the specified historical detection period and the current detection period correspond to a same time period of two adjacent days.
4. An apparatus for locating a fault service, the apparatus comprising:
the quantity determining module is used for determining the quantity of the service samples to be sampled according to the service index falling value when the service index of the current detection period is detected to fall compared with the service index of the historical detection period; the number of the service samples to be sampled and the service index drop value form a negative correlation relationship;
a sample set determining module, configured to determine a service sample set in the service set of the current detection period according to the number of the service samples to be sampled, where the number of the service samples to be sampled is a natural number greater than 0 and smaller than the number of services in the service set of the current detection period;
and the fault service determining module is used for determining the fault service in the service sample set.
5. The apparatus of claim 4, further comprising:
the intersection determining module is used for determining the intersection between the service sample set and the service set of the appointed historical detection period;
and the deleting module is used for deleting the services belonging to the intersection from the service sample set.
6. The apparatus of claim 5, the specified historical detection period and the current detection period correspond to a same time period of two consecutive days, respectively.
7. A service server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 3 when executing the program.
CN201810478311.7A 2018-05-18 2018-05-18 Fault service positioning method and device and service server Active CN108712284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810478311.7A CN108712284B (en) 2018-05-18 2018-05-18 Fault service positioning method and device and service server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810478311.7A CN108712284B (en) 2018-05-18 2018-05-18 Fault service positioning method and device and service server

Publications (2)

Publication Number Publication Date
CN108712284A CN108712284A (en) 2018-10-26
CN108712284B true CN108712284B (en) 2020-11-24

Family

ID=63868126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810478311.7A Active CN108712284B (en) 2018-05-18 2018-05-18 Fault service positioning method and device and service server

Country Status (1)

Country Link
CN (1) CN108712284B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988831A (en) * 2019-12-13 2021-06-18 深圳云天励飞技术有限公司 Fault positioning method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6894980B1 (en) * 2000-05-05 2005-05-17 Qwest Communication International Inc. Automated method and system for verifying end-to-end connectivity in a broadband network
CN101902366A (en) * 2009-05-27 2010-12-01 北京启明星辰信息技术股份有限公司 Method and system for detecting abnormal service behaviors
CN104636874A (en) * 2015-02-12 2015-05-20 北京嘀嘀无限科技发展有限公司 Method and equipment for detecting business exception
CN104731816A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Method and device for processing abnormal business data
CN105577402A (en) * 2014-10-11 2016-05-11 北京通达无限科技有限公司 Business exception monitoring method and business exception monitoring equipment based on historical data
CN105956940A (en) * 2016-06-02 2016-09-21 广东电网有限责任公司 Electric power service hotline quality inspection sampling method and system
CN106161135A (en) * 2015-04-23 2016-11-23 中国移动通信集团福建有限公司 Business transaction failure analysis methods and device
CN107480703A (en) * 2017-07-21 2017-12-15 阿里巴巴集团控股有限公司 Transaction fault detection method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6894980B1 (en) * 2000-05-05 2005-05-17 Qwest Communication International Inc. Automated method and system for verifying end-to-end connectivity in a broadband network
CN101902366A (en) * 2009-05-27 2010-12-01 北京启明星辰信息技术股份有限公司 Method and system for detecting abnormal service behaviors
CN104731816A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Method and device for processing abnormal business data
CN105577402A (en) * 2014-10-11 2016-05-11 北京通达无限科技有限公司 Business exception monitoring method and business exception monitoring equipment based on historical data
CN104636874A (en) * 2015-02-12 2015-05-20 北京嘀嘀无限科技发展有限公司 Method and equipment for detecting business exception
CN106161135A (en) * 2015-04-23 2016-11-23 中国移动通信集团福建有限公司 Business transaction failure analysis methods and device
CN105956940A (en) * 2016-06-02 2016-09-21 广东电网有限责任公司 Electric power service hotline quality inspection sampling method and system
CN107480703A (en) * 2017-07-21 2017-12-15 阿里巴巴集团控股有限公司 Transaction fault detection method and device

Also Published As

Publication number Publication date
CN108712284A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN108573355B (en) Method and device for replacing operation after model updating and business server
CN108734304B (en) Training method and device of data model and computer equipment
US10642722B2 (en) Regression testing of an application that uses big data as a source of data
CN110222936B (en) Root cause positioning method and system of business scene and electronic equipment
CN110007921B (en) Code publishing method and device
US10635575B2 (en) Testing of enterprise resource planning systems
WO2021188196A1 (en) Causality determination of upgrade regressions via comparisons of telemetry data
CN111488289A (en) Fault positioning method, device and equipment
CN116090808A (en) RPA breakpoint reconstruction method and device, electronic equipment and medium
US11169910B2 (en) Probabilistic software testing via dynamic graphs
CN111506580A (en) Transaction storage method based on centralized block chain type account book
CN109189677B (en) Test method and device for updating state of variable value
US9501390B1 (en) Enhancing automated mobile application testing
CN108712284B (en) Fault service positioning method and device and service server
CN110855484B (en) Method, system, electronic device and storage medium for automatically detecting traffic change
CN110008047B (en) Fault source system troubleshooting method, device and equipment
CN109345249B (en) Payment failure processing method and device
CN108681558B (en) Data rollback method, device and terminal
CN107154960B (en) Method and apparatus for determining service availability information for distributed storage systems
CN115203050A (en) Method and device for determining dependency relationship of services
CN109377233B (en) Risk monitoring method and device
CN111679924B (en) Reliability simulation method and device for componentized software system and electronic equipment
CN109656805B (en) Method and device for generating code link for business analysis and business server
US11803310B2 (en) Tagging a last known good upgrade event for automatic rollback based on detected regression
CN115270013B (en) Method and device for evaluating emission reduction measures during activity 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant