Business detection system and method
By coordinating the detection of resource transfer links between the business and service sides, the problem of incomplete coverage of manual detection in online resource transfer operations has been solved, enabling rapid and accurate fault location and adjustment, and improving detection efficiency.
Patent Information
- Application Number
- CN202210125981.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-02-10
AI Technical Summary
In existing technologies, online resource transfer services suffer from incomplete manual detection coverage due to jitter and anomalies, resulting in long processing times and a high risk of triggering link failures, which cannot be effectively resolved, especially when the amount of resources transferred is large.
The business side creates detection requests based on the number of resource transfer failures. The server side detects the resource transfer chain according to the policy and feeds back the results to the business side. The business side makes adjustments based on the results, thereby achieving accurate problem location and timely adjustment.
It enables precise location of business problems in a short time, saves human resources, improves detection efficiency, avoids link failures, and ensures normal business operation.
Smart Images

Figure CN114461433B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present specification relates to the technical field of Internet, and particularly relates to a service detection system and method. BACKGROUND
[0002] With the development of Internet technology, online resource transfer service has become the main choice of most users. This results in that the service provider providing the resource transfer service will interface with a large number of user groups. Since the resource transfer service occurs online, the resource transfer link often fluctuates and is abnormal due to some unexpected situations, and the resource transfer processing operation cannot be successfully completed. In the prior art, most of the fluctuations and abnormalities are manually initiated from the main station to check the link. However, the manual scenario is not fully covered, and it takes a long time. In the case of a large amount of resource transfer, the longer the time, the more likely to trigger a link failure, and the link failure problem cannot be effectively solved, so an effective solution is needed to solve the above problems. SUMMARY
[0003] Therefore, the embodiments of the present specification provide a service detection system. The present specification simultaneously relates to a service detection method, a computing device, and a computer readable storage medium to solve the technical defects existing in the prior art.
[0004] According to a first aspect of the embodiments of the present specification, a service detection system is provided, comprising:
[0005] a service end and a service end;
[0006] The service end is configured to create a service detection request according to a resource transfer failure amount associated with a target service, and send the service detection request to the service end;
[0007] The service end is configured to determine a service detection strategy corresponding to the target service according to the service detection request; detect the resource transfer link containing the service switching party according to the service detection strategy, and feed back the detection result to the service end;
[0008] The service end is configured to adjust the target service based on the detection result.
[0009] Optionally, the service end is further configured to obtain an initial resource transfer failure amount associated with the target service within a preset time period; in the case that the initial resource transfer failure amount is greater than a preset quantity threshold, determine the resource transfer failure amount based on the initial resource transfer failure amount, and adjust the service state of the target service to a closed state.
[0010] Optionally, the service end is further configured to determine whether the plurality of service detection requests are received within a preset detection period; if yes, create service detection information according to each service detection request, and send the service detection information to the service detection cluster corresponding to the resource transfer link; if no, execute the step of determining the service detection strategy corresponding to the target service according to the service detection request.
[0011] Optionally, the service end is further configured to determine a service participant corresponding to the target service according to the service detection request, and select the service detection strategy based on attribute information of the service participant; wherein the service participant includes the service switching party included in the resource transfer link.
[0012] Optionally, the service end is further configured to read the resource transfer link corresponding to the target service, and determine the service switching party, service provider and service processing party included in the resource transfer link; and detect the service switching party, the service provider and the service processing party according to the service detection strategy respectively.
[0013] Optionally, the service end is further configured to determine a network detection dimension, a service detection dimension and a database detection dimension according to the service detection strategy; perform network detection on the service switching party, the service provider and the service processing party based on the network detection dimension, perform service rule detection on the service switching party, the service provider and the service processing party based on the service detection dimension, and perform database detection on the service switching party, the service provider and the service processing party based on the database detection dimension.
[0014] Optionally, the service end is further configured to receive the detection result, determine a resource transfer strategy corresponding to the target service according to the detection result in the case that the target service passes the detection, perform resource transfer detection on the target service according to the resource transfer strategy, adjust the service state of the target service to a running state in the case that the resource transfer detection passes, and send service audit information to the service detection cluster corresponding to the resource transfer link in the case that the resource transfer detection fails.
[0015] Optionally, the service end is further configured to perform repeated detection on the resource transfer link including the service switching party according to the service detection strategy in the case that the target service fails the detection according to the detection result; and send service audit information to the service detection cluster corresponding to the resource transfer link in the case that the target service fails the detection within a repeated detection period.
[0016] According to a second aspect of the embodiments of the present specification, a service detection method is provided, comprising:
[0017] The service end creates a service detection request according to the resource transfer failure amount associated with the target service, and sends the service detection request to the service end;
[0018] The service end determines the service detection strategy corresponding to the target service according to the service detection request; detects the resource transfer link containing the service switching party according to the service detection strategy, and feeds back the detection result to the service end;
[0019] The service end adjusts the target service based on the detection result.
[0020] According to a third aspect of the embodiments of the present specification, a computing device is provided, comprising:
[0021] Memory and processor;
[0022] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to realize the steps of the service detection method.
[0023] According to a fourth aspect of the embodiments of the present specification, a computer readable storage medium is provided, which stores computer executable instructions, and the instructions are executed by the processor to realize the steps of the service detection method.
[0024] According to a fifth aspect of the embodiments of the present specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer executes the steps of the above-mentioned service detection method.
[0025] The service detection system provided by the present specification, when the service end determines that there is a service failure according to the resource transfer failure amount associated with the target service, creates a service detection request based on the resource transfer failure amount and sends it to the service end. The service end will determine the service detection strategy corresponding to the target service according to the service detection request, and detect the resource transfer link containing the service switching party according to the service detection strategy, so as to determine the related problems of the target service associated with the resource transfer. Finally, the detection result is fed back to the service end, and the target service is adjusted based on the detection result by the service end, which can accurately locate the service problem and make timely service adjustment, so as to complete the full detection processing in a short time, save human resources, and improve the service detection efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0026] Figure 1 is a structural schematic diagram of a service detection system provided by an embodiment of the present specification;
[0027] Figure 2 is a flowchart of a service detection method provided by an embodiment of the present specification;
[0028] Figure 3 is a processing flowchart of a service detection system applied in a transaction scenario provided by an embodiment of the present specification;
[0029] Figure 4 is a structural block diagram of a computing device provided by an embodiment of the present specification. DETAILED DESCRIPTION
[0030] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present specification. However, the present specification can be practiced without the specific details, other than in the examples provided herein. In other instances, well-known methods, procedures, and components have not been described in detail so as not to unnecessarily obscure aspects of the present specification.
[0031] The terminology used in one or more embodiments of the present specification is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the present specification. As used in one or more embodiments of the present specification and the accompanying claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in one or more embodiments of the present specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0032] It will be understood that, although the terms first, second, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. These terms are used only to distinguish one from another. For example, without departing from the scope of one or more embodiments of the present specification, first can be termed second, and similarly, second can be termed first. Depending on the context, the word "if' as used herein can be interpreted to mean "when" or "in response to determining."
[0033] In the present specification, a service detection system is provided, and the present specification also relates to a service detection method, a computing device, and a computer readable storage medium, which are described in detail one by one in the following embodiments.
[0034] In actual application, in response to the requirements of regulatory compliance, more and more businesses begin to introduce business transfer parties, so as to change the previous direct connection mode to three-end interaction. With the development of business, the daily transfer amount of the resource transfer link containing the business transfer party is getting larger and larger. At present, whether the business transfer party can be recovered is determined by manual initiation of link checking from the main station, manual checking of whether each node is normal, and gradual recovery through the observation of the opening amount from small to large by the main station. However, due to the incomplete coverage of manual scenarios and the need for more time to complete the processing, in the case of large transfer amount, the longer the time, the easier to trigger resource transfer failure, so an effective solution is needed to solve the above problems.
[0035] Therefore, the business detection system provided by the present specification determines that there is a business failure when the business end determines the resource transfer failure amount associated with the target business, creates a business detection request based on the resource transfer failure amount, and sends it to the service end connected with the business end. Then the service end determines the business detection strategy corresponding to the target business according to the business detection request, and detects the resource transfer link containing the business transfer party according to the business detection strategy to determine the related problems of the target business associated with resource transfer. Finally, the detection result is fed back to the business end, and the business end adjusts the target business based on the detection result, which can accurately locate the business problem and make timely business adjustment, so as to complete the full detection processing in a short time, save human resources, and improve the business detection efficiency.
[0036] Figure 1 The structure diagram of a business detection system provided by an embodiment of the present specification is shown, which includes a business end 110 and a service end 120;
[0037] The business end 110 is configured to create a business detection request according to the resource transfer failure amount associated with the target business, and send the business detection request to the service end 120;
[0038] The service end 120 is configured to determine the business detection strategy corresponding to the target business according to the business detection request, detect the resource transfer link containing the business transfer party according to the business detection strategy, and feed back the detection result to the business end 110;
[0039] The business end 110 is configured to adjust the target business based on the detection result.
[0040] Specifically, the business end 110 specifically refers to one end that provides a target service to a user. The user can participate in the target service to perform resource transfer processing by interacting with the business end 110. The target service can be a resource transfer service, a fund transfer service, a payment service, etc. The transferred resource can be an exchange resource, such as funds, goods, etc. Correspondingly, the service end 120 specifically refers to one end that interacts with the business end 110 to provide services to the user through the target service. It includes a business switching party and a business processing party, and the resource transfer processing operation is realized by the joint action of the business switching party and the business processing party.
[0041] Further, the target service specifically refers to a service that can perform resource transfer processing based on the target service after the user participates in it. For example, in the resource transfer service, the user can transfer the goods held by the user to other users by participating in the service, or the user can replace the goods needed by using the goods held by the user. Correspondingly, the resource transfer failure amount specifically refers to the number of resource transfer failures in the number of resource transfers in a set time interval, which is used to trigger the detection processing operation of starting the target service. Correspondingly, the business detection request specifically refers to a request for initiating detection of the resource transfer link corresponding to the target service to the service end, which realizes detection of the cause of the transfer failure. Correspondingly, the business detection strategy specifically refers to a strategy determined according to the business detection request, which is used to detect the resource transfer link of the target service in different scenarios. Different business detection strategies can detect the resource transfer link containing nodes, which is used to realize detection of any link according to the business detection request. Correspondingly, the resource transfer link specifically refers to a link composed of nodes that the user needs to pass through when participating in the target service and performing resource transfer. Each stage in the link corresponds to a different processing party. Correspondingly, the business switching party specifically refers to a party that needs to be connected between the business provider and the business processing party when performing resource transfer. Resource transfer in any scenario needs to be submitted by the business provider to the business switching party, and then sent to the business processing party by the business switching party, so as to ensure the compliance of the business scenario. Correspondingly, the detection result specifically refers to a result of detecting whether the resource transfer link corresponding to the target service exists. The detection result can correspond to multiple dimensions, representing the source of the business failure.
[0042] Based on this, during the normal operation stage of the target service, the business end 110 will detect the resource transfer failure amount in each time period. If the resource transfer failure amount in a certain period reaches a set threshold, it means that the reason for the resource transfer failure may be caused by the problem of the target service itself. In order to quickly and comprehensively detect and handle the fault, the business end 110 can create a business detection request according to the resource transfer failure amount associated with the target service, and send it to the service end 120 that supports the operation of the target service and is connected to the business end 110.
[0043] After receiving the service detection request, the service end 120 determines that the resource transfer link associated with the target service needs to be detected. At this time, the service detection strategy corresponding to the target service can be determined according to the service detection request, and then the resource transfer link containing the service switching party is detected according to the service detection strategy to realize the detection of the cause of the resource transfer failure. The participants associated with the target service are covered based on the service detection strategy to ensure the detection accuracy and comprehensiveness, and finally the detection result is fed back to the service end 110. The service end 110 adjusts the target service in a timely manner according to the detection result to realize the recovery of the operation of the target service, and can continue to provide service to the user.
[0044] For example, the service end provides transaction services to users, that is, users can purchase target goods through the service end, or transfer funds, or conduct online shopping, etc. In this process, when transferring funds, the service provider (service end) is transferred to the service switching party, and then the service switching party sends it to the service processing party, and finally the service processing party feeds back the fund transfer result to the service provider, that is, a transaction processing operation is completed. Based on this, when the service end detects that the transaction failure associated with the transaction service is greater than the preset number threshold, a transaction service detection request can be created and sent to the service end containing the service switching party and the service processing party, and the service end initiates a transaction service detection task.
[0045] Further, after the service end receives the transaction service detection request, in order to support the detection of the service provider, the service switching party and the service processing party at the same time to analyze the cause of the transaction failure, the transaction service detection strategy for detecting the transaction service can be determined according to the service detection request, and then the transaction link containing the service processing party, the service provider and the service switching party is detected according to the transaction service detection strategy. When the detection result is determined, the detection result is sent to the service end. The service end can finally adjust the transaction service according to the detection result to exclude the cause of the transaction failure and restore the normal operation of the transaction service for user use.
[0046] It should be noted that when detecting the target service, the business switching party business scene is actually initiated in the form of pressure testing traffic to cover the applications inside the service processing party, and the service processing party returns the detection result to ensure the detection accuracy.
[0047] In summary, by detecting the resource transfer link containing multiple parties according to the service detection strategy, the business problem can be accurately located and adjusted in a timely manner, the full detection processing can be completed in a short time, the human resources are saved, and the business detection efficiency is improved.
[0048] Further, when creating a service detection request, considering that the resource transfer failure amount is the basis for starting service detection, when the failure amount reaches a threshold value, it means that the probability of resource transfer failure is high, which may be caused by the service itself. In order to avoid causing resource loss, the target service can be suspended first, and then restored after the fault is solved. In the embodiment, the service end 110 is also configured to obtain an initial resource transfer failure amount associated with the target service in a preset time period; in the case where the initial resource transfer failure amount is greater than a preset number threshold, the resource transfer failure amount is determined based on the initial resource transfer failure amount, and the service state of the target service is adjusted to a closed state.
[0049] Specifically, the preset time period specifically refers to the period of detecting the resource transfer failure amount, and the failure amount of each period is calculated separately to trigger the service detection processing operation; wherein the size of the time period can be set according to the actual application scenario, which can be minute level, hour level, day level, etc. The embodiment does not make any limitation here. Correspondingly, the initial resource transfer failure amount specifically refers to the transfer failure amount counted in the time period. Correspondingly, the service state specifically refers to the state of the target service at the current stage, which is used to manage the opening and closing of the target service.
[0050] Based on this, in the case where the service state corresponding to the target service is in a running state, the initial resource transfer failure amount associated with the target service can be counted in each preset time period; then the initial resource transfer failure amount is compared with the preset number threshold, and in the case where it is greater than the preset number threshold, it means that the resource transfer failure amount in this time period is large. In order to be able to handle the fault of the target service in time, the initial resource transfer failure amount can be used as the resource transfer failure amount, which triggers the service detection mechanism, and then the service state of the target service can be adjusted to a closed state, and the subsequent creation and sending of the service detection request can be performed to reduce the impact of resource transfer processing caused by service failure.
[0051] In summary, after the resource transfer failure amount in the time period meets the preset number threshold, it means that the number of resource transfer failures in this stage is large. In order to reduce the loss caused by transfer failure, the service state of the target service can be adjusted to a closed state, so as to achieve the purpose of timely loss control.
[0052] Further, when the service state of the target service is adjusted to the closed state, the detection processing operation of the target service is started, and after the detection is completed, in order to maintain the target service to continue to provide the resource transfer service to the user, recovery processing needs to be performed on it. In addition, in order to ensure the detection accuracy, the target service can also be detected by the resource transfer strategy. In the embodiment, the service end 110 is further configured to receive the detection result, determine the resource transfer strategy corresponding to the target service when the target service passes the detection according to the detection result, perform resource transfer detection on the target service according to the resource transfer strategy, adjust the service state of the target service to the running state when the resource transfer detection passes, and send service audit information to the service detection cluster corresponding to the resource transfer link when the resource transfer detection does not pass.
[0053] Specifically, the resource transfer strategy specifically refers to a process of simulating a real scene to perform a resource transfer processing, and the business trigger form of the resource transfer can also be any one. Correspondingly, the resource transfer detection specifically refers to a processing operation of detecting the resource transfer channel of the target service. Correspondingly, the running state specifically refers to a state of resuming the resource transfer processing of the target service. Correspondingly, the service detection cluster specifically refers to a user set including a business processing party, a business switching party and a business providing party, which corresponds to a group or a cluster in an instant messaging software, and is used to warn and maintain the users in the cluster when the target service fails to be timely eliminated. Correspondingly, the service audit information specifically refers to the reminder information sent to the users in the cluster to assist the users in troubleshooting.
[0054] Based on this, when the service state of the target service is in the closed state, the service end 120 starts the detection process of the target service, and the service end 110 receives the detection result fed back by the service end 120. At this time, the service end 110 receives the detection result, and determines the resource transfer strategy corresponding to the target service at the current time node when the target service passes the detection according to the detection result, simulates a real resource transfer scene to perform resource transfer processing according to the resource transfer strategy, detects whether the resource transfer detection result passes, and adjusts the service state of the target service to the running state if it passes. If it does not pass, it means that the problem of resource transfer failure of the target service has not been solved, and at this time the business detection cluster corresponding to the resource transfer link can be determined, and then the service audit information related to the detection result is sent to the users in the business detection cluster to inform the users in the business detection cluster that the target service has a problem, and each party can troubleshoot according to the service audit information.
[0055] Continue with the example, first count the transaction failure amount in the preset time period T, when it is determined that the transaction failure amount S1 is greater than the preset number threshold S max When, determine that the transaction business needs to be detected, at this time, the transaction business can be closed first, that is, stop the user from using the transaction business to avoid causing financial losses. Then perform the detection processing operation of the transaction business. After the detection is completed, the detection result is sent to the service end of the transaction business. When the service end determines that the transaction business passes the detection according to the detection result, it means that the reason for the excessive transaction failure amount of the transaction business may be business jitter. In order to further locate the specific problem, the transaction detection strategy can be determined, and then the real transaction scenario is simulated to transfer funds, so as to detect whether the transaction business still has the problem of transaction failure; if not, the transaction business can be restored to run; if so, the business audit information can be sent to the message group containing the business provider, business processor and business switching party, so that each party can quickly understand the business problem of the transaction business and solve it in time.
[0056] As described above, after the resource transfer link is detected based on the business detection strategy, in order to ensure detection accuracy and avoid the problem of large-scale resource transfer failure, the resource transfer strategy can be determined by the service end, and then the real resource transfer scenario is simulated to perform secondary detection, which can accurately determine whether the target business has a problem, so as to ensure the detection accuracy.
[0057] In addition, after the service end 110 determines that the target business has a business problem, the service end 110 will publish a business detection request, and the service end 120 will directly start the detection processing operation after listening to the business detection request. In this process, in order to avoid the service end 110 from continuously reporting errors, that is, continuously submitting business detection requests in a short period of time, if the service end 120 starts business detection processing for each request, it will waste a lot of computing resources and cannot effectively solve the problem, therefore, different detection processing methods can be started according to the number of requests; in this embodiment, the service end 120 is also configured to judge whether a plurality of business detection requests are received within a preset detection period; if so, create business detection information according to each business detection request, and send the business detection information to the business detection cluster corresponding to the resource transfer link; if not, execute the step of determining the business detection strategy corresponding to the target business according to the business detection request.
[0058] Specifically, the detection period specifically refers to the time interval set for receiving the business detection request, which can be 5 minutes, 10 minutes, etc. In actual application, it can be set to any value according to demand, which is not limited in this embodiment.
[0059] Based on this, when the business end 110 determines that the target business has a resource transfer problem, it will trigger the creation of a business detection request and send it to the service end 120. In this process, the operation of creating a business detection request may be continuously triggered due to the severity of the fault, which causes the service end 120 to receive multiple business detection requests in a short period of time. In order to be able to conduct targeted business detection, the service end 120 can detect the number of business detection requests after receiving the business detection request. If the number of business detection requests received in the detection period is multiple, it means that the problem causing the resource transfer failure in the target business is more serious, and the service detection information can be directly created based on each business detection request and sent to the business detection cluster corresponding to the business transfer link. The corresponding users in the cluster can handle the fault. If the number of business detection requests received in the detection period is only one, subsequent detection processing operations can be directly performed.
[0060] In the above example, when the business end determines that the transaction business has a fault based on the number of transaction failures, it will send a business detection request to the service end. If the service end receives two or more business detection requests within 10 minutes, it means that the business fault of the transaction business is continuously occurring and is more serious. Therefore, the business audit information can be directly sent to the message group containing the business provider, business processor and business transferor. If the service end receives one business detection request within 10 minutes, it means that the business fault of the transaction business is not continuously occurring, which may be caused by network jitter or other reasons. Subsequent detection processing can be directly performed.
[0061] In summary, by limiting the detection period, the detection processing method can be distinguished according to the degree of fault, so that different degrees of fault can be accurately aligned and processed, improving the processing efficiency and reasonably allocating resources.
[0062] Further, when creating a business detection strategy based on a business detection request, considering the complexity of the target business in actual application scenarios, in order to improve the utilization of resources and ensure accurate positioning of the cause of resource transfer failure, a matching business detection strategy can be selected according to the business participants. In this embodiment, the service end 120 is further configured to determine the business participants corresponding to the target business according to the business detection request, and select the business detection strategy based on the attribute information of the business participants; wherein the business participants include the business transferor included in the resource transfer link.
[0063] Specifically, the business participant specifically refers to a participant who needs to support the target business to complete the resource transfer processing. For example, if the resource transfer needs to pass through the business provider, the business transfer party and the business processing party, all of them are business participants. Correspondingly, the attribute information specifically refers to the information indicating which party in the resource transfer process the business participant belongs to.
[0064] Based on this, after receiving the business detection request, the server 120 can analyze the business detection request to determine the associated business participants in the target business according to the analysis result, so as to select a strategy that matches the current scene to detect the target business and accurately find the business failure problem. Then, the strategy that can detect all business participants is selected as the business detection strategy based on the attribute information of the business participants, and the subsequent detection processing is performed. It should be noted that any detection strategy needs to detect the business transfer party, so as to ensure the compliance of the business scene.
[0065] In summary, by determining the business detection strategy based on the business participant, it is ensured that the business detection strategy can detect all participants that need to be detected, thereby ensuring the comprehensiveness of the detection and better fitting with the current detection scene.
[0066] Further, when detecting the resource transfer link according to the business detection strategy, it is actually detecting the party corresponding to each node in the resource transfer link. In this embodiment, the server 120 is further configured to read the resource transfer link corresponding to the target business, and determine the business transfer party, the business provider and the business processing party contained in the resource transfer link; and detect the business transfer party, the business provider and the business processing party respectively according to the business detection strategy.
[0067] Specifically, the business transfer party specifically refers to a party that needs to exist between the business provider and the business processing party when performing resource transfer, and is used for monitoring and recording the resource transfer processing. Correspondingly, the business provider specifically refers to a party that provides the target business to the user. Correspondingly, the business processing party specifically refers to a party that needs to manage the resource in the resource transfer process.
[0068] Based on this, after determining the business detection strategy, the resource transfer link corresponding to the target business can be read first, and the business transfer party, the business provider and the business processing party corresponding to each node in the resource transfer link can be determined by analyzing the resource transfer link. Then, the business transfer party, the business provider and the business processing party are detected according to the business detection strategy, so as to realize the detection of all nodes involved in the target business, thereby ensuring the comprehensiveness of the detection.
[0069] In summary, by detecting the service switching party, the service providing party and the service processing party in the resource transfer link respectively, the comprehensiveness of the detection can be ensured, so that the service fault problem of the target service can be comprehensively covered, and the fault problem can be accurately located.
[0070] Further, when detecting the service switching party, the service processing party and the service providing party based on the service detection strategy, in order to ensure the comprehensiveness of the detection, detection can be performed from multiple dimensions respectively. In this embodiment, the server 120 is further configured to determine a network detection dimension, a service detection dimension and a database detection dimension according to the service detection strategy; perform network detection on the service switching party, the service providing party and the service processing party based on the network detection dimension, perform service rule detection on the service switching party, the service providing party and the service processing party based on the service detection dimension, and perform database detection on the service switching party, the service providing party and the service processing party based on the database detection dimension.
[0071] Specifically, the network detection dimension specifically refers to detecting the network layer, i.e., detecting network-related problems; correspondingly, the service detection dimension specifically refers to detecting service rules, i.e., detecting service processing process-related problems; correspondingly, the database detection dimension specifically refers to detecting the database, i.e., detecting database-related problems.
[0072] Based on this, in order to ensure that the detection coverage meets the needs, the service detection strategy can be analyzed first to determine the network detection dimension, the service detection dimension and the data detection dimension; since the detection contents of the three dimensions exist in the service processing party, the service providing party and the service switching party, network detection, service rule detection and database detection can be performed on the three parties in the three dimensions respectively, so as to accurately locate the reason for the resource transfer failure.
[0073] In actual application, when performing network detection, the network load capacity, disaster recovery capacity or communication capacity can be detected; the service rule detection can detect whether the rules of the service involving resource transfer are changed; the database detection can detect the capacity and stability of the database. In specific implementation, the detection contents of different dimensions can be set according to actual application scenarios, which are not limited in this embodiment.
[0074] In the above example, the server determines the participants of the transaction service to be the service switching party, the service providing party and the service processing party according to the service detection request. Then, the server selects a strategy that can detect all the three parties, and performs network detection, service rule detection and database detection on the three parties according to the corresponding network detection dimension, service rule detection dimension and database detection dimension of the strategy, respectively. Thus, the server determines the network detection result, database detection result and service rule detection result of the three parties according to the detection results, and determines the cause of the transaction failure by analyzing the detection results, and creates a reasonable resolution plan to perform the recovery processing operation of the transaction service.
[0075] In summary, by detecting the participants of the resource transfer path in multiple dimensions, the detection accuracy can be improved, more business content can be covered, and the available resources can be fully utilized to complete the detection in a short time, thereby effectively reducing the detection time.
[0076] Further, after the server 120 detects the resource transfer link, in order to ensure the detection accuracy and quickly exclude problems and recover the target service, the server 120 can repeatedly detect within a certain time after detection failure to avoid the influence of accidental reasons on the recovery of the service. In this embodiment, the server 120 is further configured to, according to the detection result, if the target service fails the detection, repeatedly detect the resource transfer link containing the service switching party according to the service detection strategy; and if the target service fails the detection within the repeated detection period, send service audit information to the service detection cluster corresponding to the resource transfer link.
[0077] Specifically, the repeated detection refers to the process of detecting the resource transfer link corresponding to the target service again, and the detection process is the same as the process of detecting and processing according to the service detection strategy described above. For related content, please refer to the description above. This embodiment will not be described in detail. Correspondingly, the repeated detection period refers to the period of repeated service detection processing, and the period of time can be set according to the actual application scenario, such as 2 minutes, 5 minutes or 8 minutes, etc. This embodiment does not make any limitation.
[0078] Based on this, the service end 120 can repeatedly detect the resource transfer link containing the business transfer party according to the business detection strategy after detecting the resource transfer link and determining that the target business does not pass the detection according to the detection result. The number of detection times can be determined according to the repeated detection period, and the maximum detection can be achieved. When the target business passes the detection at least once within the repeated detection period, the target business can be restored to the running state. When the target business passes the detection within the repeated detection period, it indicates that the reason for the failure of the resource transfer of the target business may be caused by business exceptions. Therefore, the service end 120 can send the business audit information to the business detection cluster corresponding to the resource transfer link to inform the users of each participating party to process the business exception reason.
[0079] It should be noted that the related description of sending the business audit information to the users in the cluster can refer to the same or corresponding description in the above-mentioned embodiments, and the present embodiment will not be described in detail here.
[0080] In summary, by using the repeated detection method, the randomness of the detection result is reduced, so that the business problem can be accurately located, and a reasonable solution can be made in time to restore the target business to support the resource transfer service.
[0081] The business detection system provided by the present specification, when the business end determines that there is a business failure according to the resource transfer failure quantity associated with the target business, creates a business detection request based on the resource transfer failure quantity and sends it to the service end connected to the business end. Then, the service end will determine the business detection strategy corresponding to the target business according to the business detection request, and detect the resource transfer link containing the business transfer party according to the business detection strategy to determine the related problems associated with the resource transfer in the target business. Finally, the detection result is fed back to the business end, and the business end adjusts the target business based on the detection result, which can accurately locate the business problem and make business adjustments in time to ensure that the full detection processing is completed in a short time, saving human resources while improving the business detection efficiency.
[0082] It should be noted that the present embodiment provides a plurality of implementation manners, and the places not described in detail can be mutually referred.
[0083] Corresponding to the above-mentioned method embodiment, the present specification also provides a business detection method embodiment, Figure 2 A flowchart of a business detection method provided by an embodiment of the present specification is shown. As shown in Figure 2 The method comprises the following steps:
[0084] In step S202, the business end creates a business detection request according to the resource transfer failure quantity associated with the target business, and sends the business detection request to the service end.
[0085] Step S204: The server determines the service detection strategy corresponding to the target service based on the service detection request; performs detection on the resource transfer link containing the service transfer party according to the service detection strategy, and feeds back the detection results to the service terminal;
[0086] Step S206: The service terminal adjusts the target service based on the detection results.
[0087] In an optional embodiment, the service terminal is further configured to obtain the initial resource transfer failure count associated with the target service within a preset time period; if the initial resource transfer failure count is greater than a preset number threshold, determine the resource transfer failure count based on the initial resource transfer failure count, and adjust the service status of the target service to a closed state.
[0088] In one optional embodiment, the server determines whether it has received multiple service detection requests within a preset detection period; if so, it creates service detection information based on each service detection request and sends the service detection information to the service detection cluster corresponding to the resource transfer link; if not, it executes the step of determining the service detection strategy corresponding to the target service based on the service detection requests.
[0089] In one optional embodiment, the server determines the business participant corresponding to the target business based on the business detection request, and selects the business detection strategy based on the attribute information of the business participant; wherein, the business participant includes the business transfer party included in the resource transfer link.
[0090] In one optional embodiment, the server reads the resource transfer link corresponding to the target service and determines the service transferor, service provider, and service processor included in the resource transfer link; and performs detection on the service transferor, the service provider, and the service processor respectively according to the service detection strategy.
[0091] In one optional embodiment, the server determines network detection dimensions, service detection dimensions, and database detection dimensions according to the service detection strategy; performs network detection on the service transfer party, the service provider, and the service processor based on the network detection dimensions; performs service rule detection on the service transfer party, the service provider, and the service processor based on the service detection dimensions; and performs database detection on the service transfer party, the service provider, and the service processor based on the database detection dimensions.
[0092] In an optional embodiment, the service end receives the detection result, determines the resource transfer strategy corresponding to the target service according to the detection result in the case that the target service passes the detection, performs resource transfer detection on the target service according to the resource transfer strategy, adjusts the service state of the target service to the running state in the case that the resource transfer detection passes, and sends service audit information to the service detection cluster corresponding to the resource transfer link in the case that the resource transfer detection does not pass.
[0093] In an optional embodiment, the service end performs repeated detection on the resource transfer link containing the service switching party according to the service detection strategy in the case that the target service does not pass the detection according to the detection result, and sends service audit information to the service detection cluster corresponding to the resource transfer link in the case that the target service does not pass the detection within the repeated detection period.
[0094] The service detection method provided in the specification, when the service end determines that there is a service fault according to the resource transfer failure amount associated with the target service, creates a service detection request based on the resource transfer failure amount and sends it to the service end connected to the service end. Then the service end will determine the service detection strategy corresponding to the target service according to the service detection request, and detect the resource transfer link containing the service switching party according to the service detection strategy to determine the related problems of the target service associated with resource transfer. Finally, the detection result is fed back to the service end, and the target service is adjusted based on the detection result by the service end, which can accurately locate the service problem and make timely service adjustment, ensuring that the full detection processing is completed in a short time, saving human resources while improving the service detection efficiency.
[0095] The above is a schematic scheme of a service detection system of the embodiment. It should be noted that the technical scheme of the service detection method belongs to the same concept as the technical scheme of the service detection system described above. The details of the technical scheme of the service detection method that are not described in detail can be referred to the description of the technical scheme of the service detection system.
[0096] The following describes the application of the service detection system provided in the specification in the transaction service scenario. Figure 3 The following describes the application of the service detection system provided in the specification in the transaction service scenario. Figure 3 A processing flow diagram of a service detection system applied in a transaction scenario is shown, which specifically includes the following steps:
[0097] In step S302, the service providing end sends a service detection request to the detection end in the case that the transaction failure amount in a time period is greater than the quantity threshold.
[0098] Step S304, the detection end listens to the service detection request, and determines whether multiple service detection requests are received in the detection period. If yes, step S306 is performed; if no, step S308 is performed.
[0099] Step S306, the detection end creates service detection request information according to the service detection request, and sends the service detection request information to the user cluster corresponding to the transaction service.
[0100] Step S308, the detection end determines service detection information based on the service detection request, and sends the service detection information to the network traffic detection system.
[0101] Step S310, the network traffic detection system receives the service detection information, and forwards the service detection information to the load balancing end.
[0102] Step S312, the load balancing end receives the service detection information, and forwards the service detection information to the gateway.
[0103] Step S314, the gateway receives the service detection information, and forwards the service detection information to the account receiving end.
[0104] Step S316, the account receiving end detects the account receiving service according to the service detection information, and sends the service detection information corresponding to the non-account receiving service to the service processing end.
[0105] Step S318, the service processing end detects according to the service detection information corresponding to the non-account receiving service, and feeds back the first detection result to the account receiving end.
[0106] Step S320, the account receiving end determines the second detection result according to the detection of the account receiving service.
[0107] Step S322, the account receiving service integrates the first detection result and the second detection result, determines the detection result of the transaction service, and feeds back the detection result to the gateway.
[0108] Step S324, the gateway receives the detection result, and sends the detection result to the detection end.
[0109] Step S326, the detection end receives the detection result, and determines the detection failure, and sends the service detection request information to the user cluster.
[0110] Step S328, the detection end determines the detection success, and sends the detection success information to the service providing end.
[0111] Step S330, the service providing end receives the detection success information, and performs personal fast detection according to the detection success information.
[0112] Step S332, the service providing end determines the personal fast detection success, and restores the transaction service operation.
[0113] Step S334, the service providing end determines that the personal detection fails, and sends the service detection request information to the user cluster.
[0114] In summary, when the service end determines that there is a service failure according to the resource transfer failure amount associated with the target service, the service detection request is created based on the resource transfer failure amount, and is sent to the service end connected with the service end; then the service end will determine the service detection strategy corresponding to the target service according to the service detection request, and detect the resource transfer link containing the service switching party according to the service detection strategy, to determine the related problems of the associated resource transfer in the target service, and finally feedback the detection result to the service end, and the service end adjusts the target service based on the detection result, which can accurately locate the service problem and make timely service adjustment, so as to complete the full detection processing in a short time, save human resources, and improve the service detection efficiency.
[0115] Figure 4 A structural block diagram of a computing device 400 according to an embodiment of the present specification is shown. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. The processor 420 is connected with the memory 410 through a bus 430, and a database 450 is used to save data.
[0116] The computing device 400 also includes an access device 440, which enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 can include one or more of any type of network interface (e.g., network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a near-field communication (NFC) interface, and the like.
[0117] In an embodiment of the present specification, the above-mentioned components of the computing device 400 and other components not shown in the Figure 4 may be connected to each other, for example, through a bus. It should be understood that Figure 4 The structural block diagram of the computing device shown is only for the purpose of example, and is not a limitation on the scope of the present specification. Other components can be added or replaced as needed by those skilled in the art.
[0118] The computing device 400 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. The computing device 400 can also be a mobile or stationary server.
[0119] The processor 420 is configured to execute computer-executable instructions, including:
[0120] The service end creates a service detection request according to the resource transfer failure amount associated with the target service, and sends the service detection request to the service end;
[0121] The service end determines a service detection strategy corresponding to the target service according to the service detection request, detects the resource transfer link containing the service switching party according to the service detection strategy, and feeds back the detection result to the service end;
[0122] The service end adjusts the target service based on the detection result.
[0123] The above is a schematic scheme of the computing device of the embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the service detection method described above belong to the same concept, and the details of the technical scheme of the computing device which are not described in detail can be referred to the description of the technical scheme of the service detection method.
[0124] An embodiment of the present specification further provides a computer readable storage medium storing computer instructions, which are executed by a processor to:
[0125] The service end creates a service detection request according to the resource transfer failure amount associated with the target service, and sends the service detection request to the service end;
[0126] The service end determines a service detection strategy corresponding to the target service according to the service detection request, detects the resource transfer link containing the service switching party according to the service detection strategy, and feeds back the detection result to the service end;
[0127] The service end adjusts the target service based on the detection result.
[0128] The above is a schematic scheme of the computer readable storage medium of the embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the service detection method described above belong to the same concept, and the details of the technical scheme of the storage medium which are not described in detail can be referred to the description of the technical scheme of the service detection method.
[0129] The above-described embodiments of the application have several aspects, no single one of which is solely responsible for the application's desirable attributes. Without limiting the scope of the application as expressed by the claims which follow, some further embodiments make these aspects even more useful. Other embodiments can result in less desirable attributes.
[0130] The computer readable medium can include any entity or apparatus capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium can include appropriate contents according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0131] It should be noted that for the foregoing method embodiments, the acts described therein can be performed in a different order from that described, and that some acts can be performed in parallel or concurrently. It should also be noted that described acts can not be performed in all embodiments. In some embodiments, one or more acts can be performed by a computer program, software, or an application-specific computing device. In some embodiments, the described acts can be performed by hardware, software, or a combination thereof. In some embodiments, the software can be stored on a computer readable medium, which can be a computer readable storage medium or a computer readable signal medium.
[0132] In the above embodiments, the description of each embodiment is focused on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0133] The preferred embodiments of the present specification disclosed above are only used to help explain the present specification. The alternative embodiments do not describe all the details and do not limit the invention to the specific embodiments described. Obviously, according to the content of the present specification, many modifications and changes can be made. The present specification selects and describes these embodiments in order to better explain the principles and practical applications of the present specification, so that those skilled in the art can well understand and utilize the present specification. The present specification is limited only by the claims and their full scope and equivalents.
Claims
1. A service detection system, comprising a service end and a service end, wherein the service detection system comprises: the service end configured to send a service detection request to the service end, the service detection request comprising a target service; the service end configured to determine a service detection strategy corresponding to the target service according to the service detection request, detect a resource transfer link comprising a service switching party according to the service detection strategy, and feed back a detection result to the service end; and the service end configured to adjust the target service based on the detection result, wherein the adjustment of the target service comprises adjusting a service state of the target service to a running state. The service end is configured to create a service detection request according to the resource transfer failure amount of the target service association, adjust the service state of the target service to a closed state, and send the service detection request to the service end, wherein 2.The service detection system of claim 1, wherein the service end is further configured to obtain an initial resource transfer failure amount associated with the target service in a preset time period, and adjust the service state of the target service to a closed state if the initial resource transfer failure amount is greater than a preset threshold. 3.The service detection system of claim 1, wherein the service end is further configured to determine whether a plurality of service detection requests are received in a preset detection period, and if yes, create service detection information according to each service detection request and send the service detection information to a service detection cluster corresponding to the resource transfer link, and if no, execute the step of determining the service detection strategy corresponding to the target service according to the service detection request. 4.The service detection system of claim 3, wherein the service end comprises the service switching party in the resource transfer link. 5.The service detection system of claim 4, wherein the service end is further configured to read the resource transfer link corresponding to the target service, determine the service switching party, a service provider and a service processing party included in the resource transfer link, and detect the service switching party, the service provider and the service processing party according to the service detection strategy. 6.The service detection system of claim 5, wherein the service end is further configured to determine a network detection dimension, a service detection dimension and a database detection dimension according to the service detection strategy, perform network detection on the service switching party, the service provider and the service processing party based on the network detection dimension, perform service rule detection on the service switching party, the service provider and the service processing party based on the service detection dimension, and perform database detection on the service switching party, the service provider and the service processing party based on the database detection dimension. 4.The service detection system of claim 1, the server is further configured to determine a service participant corresponding to the target service according to the service detection request, and select the service detection strategy based on attribute information of the service participant. 7.The service detection system of claim 6, wherein the service end is further configured to perform resource transfer detection on the target service according to a resource transfer strategy. 8.The service detection system of claim 7, wherein the service end is further configured to adjust the service state of the target service to the running state if the resource transfer detection is passed, and send service audit information to a service detection cluster corresponding to the resource transfer link if the resource transfer detection is not passed. 7. The service detection system of claim 2, wherein the service end is further configured to receive the detection result, and determine a resource transfer strategy corresponding to the target service according to the detection result if the target service passes the detection. 8. The service detection system according to claim 1, wherein the service end is further configured to, in the case that the target service fails to pass the detection according to the detection result, repeatedly detect the resource transfer link containing the service transfer party according to the service detection strategy; and in the case that the target service fails to pass the detection within the repeated detection period, send service audit information to the service detection cluster corresponding to the resource transfer link.
9. A service detection method, comprising: a service end creating a service detection request according to a resource transfer failure amount associated with a target service, adjusting a service state of the target service to a closed state, and sending the service detection request to a service end, wherein the resource transfer failure amount specifically represents a number of resource transfer failures in a number of resource transfers within a set time interval, and a detection manner of the detection is stress testing traffic; the service end determining a service detection strategy corresponding to the target service according to the service detection request, detecting a resource transfer link containing a service transfer party according to the service detection strategy, and feeding back a detection result to the service end; the service end adjusting the target service based on the detection result, wherein the adjustment of the target service specifically includes adjusting a service state of the target service to a running state.
10. A computing device, comprising: a memory and a processor; the memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions to implement steps of the service detection method of claim 9.
11. A computer readable storage medium storing computer instructions, which when executed by a processor, implement steps of the service detection method of claim 9.
Citation Information
Patent Citations
Payment channel abnormity checking method and device, computing equipment and storage medium
CN113435871A
Service request processing method and device, equipment and storage medium
CN113438294A