Business processing method and device, equipment, medium and program product
By receiving and displaying the service processing information and application portraits of each node application service in the distributed business architecture, real-time monitoring of business processing is realized, the problems of business interruptions or delays are solved, and the stability and response capabilities of the system are improved.
Patent Information
- Application Number
- CN202411887666.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-03-21
AI Technical Summary
In a distributed business architecture, how to achieve real-time and comprehensive monitoring of business processing to prevent business interruptions or delays caused by hardware failures, software errors or network delays.
By receiving the service processing information and application portraits sent by each node application service, and displaying the full-link status image on the display interface, the transaction information of the target service and the service status information of the node application service are monitored in real time.
Real-time and comprehensive monitoring of the target business processing process is achieved, and the operation status of each node application service can be understood in a timely manner, quickly locate and respond to problems or exceptions, and reduce the propagation of errors or failures.
Smart Images

Figure CN119668999A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, specifically to the field of computer, distributed and financial technology, and more specifically to a business processing method, device, equipment, medium and program product. Background Art
[0002] As business complexity increases, business processes often span multiple systems, applications, and services. This distributed business architecture brings the advantages of flexibility and scalability, but it also greatly increases the difficulty of management and monitoring. In this complex business network, any failure in any link, whether it is hardware failure, software error, or network delay, may cause the entire business process to be interrupted or delayed. Therefore, how to achieve real-time and comprehensive monitoring of business processing has become a difficult problem that needs to be solved urgently. Summary of the invention
[0003] In view of the above problems, the present disclosure provides a business processing method, apparatus, device, medium and program product.
[0004] According to the first aspect of the present disclosure, a business processing method is provided, comprising: repeatedly performing the following operations until a service status image of each of multiple node application services on a business link for processing a target business is obtained: receiving business processing information for the target business and an application portrait of the current node application service sent by a current node application service; wherein the business link for processing the target business includes multiple different node application services, the multiple node application services are used to process the target business at different stages, and the application portrait of the node application service represents a set of feature information of the node application service in different dimensions; based on the business processing information and the application portrait, displaying a service status image of the current node application service on a display interface; when it is determined that the service status image represents that the current node application service processes the target business without abnormality, sending feedback information to the current node application service, so that the current node application service responds to the feedback information and sends the business processing information of the target business to the next node application service of the business link; based on the service status images of the multiple node application services, obtaining a full-link status image of the target business.
[0005] According to an embodiment of the present disclosure, a service status image of the current node application service is displayed on a display interface based on business processing information and an application portrait, including: constructing a first status image of the current node application service based on the business processing information, the first status image being used to display the business processing status of the target business in the current node application service; constructing a second status image of the current node application service based on the application portrait, the second status image being used to display the service status of the current node application service; and obtaining a service status image of the current node application service based on the first status image and the second status image.
[0006] According to an embodiment of the present disclosure, a first status image of the current node application service is constructed based on business processing information, including: obtaining business processing information of each of the multiple target businesses based on the processing of the multiple target businesses by the current node application service; integrating the business processing information of each of the multiple target businesses to obtain the first status image of the current node application service; wherein the business processing information includes transaction number information, transaction duration information and whether the transaction is successful of the target business.
[0007] According to an embodiment of the present disclosure, the application portrait includes characteristic information of the current node application service in multiple dimensions; based on the application portrait of the current node application service, a second state image of the current node application service is constructed, including: based on the characteristic information of the current node application service in multiple dimensions, determining multiple service state sub-images of the current node application service; based on the multiple service state sub-images of the current node application service, obtaining the second state image of the current node application service.
[0008] According to an embodiment of the present disclosure, the above method also includes: sending detection information to multiple node application services on the business link, wherein the detection information is used to detect the container status of the node application service; in response to receiving the detection feedback information, displaying the container status of the node application service in the full-link status image, wherein the detection feedback information is obtained after the node application service processes the detection information.
[0009] According to an embodiment of the present disclosure, the method further includes: when it is determined that the service status image indicates that the current node application service processes the target business abnormally, displaying an alarm prompt on the service status image of the abnormal node application service.
[0010] According to an embodiment of the present disclosure, the above method also includes: based on the business processing information and application portrait associated with the abnormal node application service, using a preset diagnostic tree to diagnose the abnormal node application service to obtain a diagnosis result; based on the diagnostic result, emergency processing is performed on the abnormal node application service on the full-link status diagram, and the emergency processing includes at least one of capacity expansion, isolation, and park switching.
[0011] A second aspect of the present disclosure provides a business processing device, including: a receiving module, used to receive business processing information for a target business and an application portrait of the current node application service sent by a current node application service; wherein the business link for processing the target business includes multiple different node application services, and the multiple node application services are used to process the target business at different stages, and the application portrait of the node application service represents a set of feature information of the node application service in different dimensions; a processing module, used to display a service status image of the current node application service on a display interface based on the business processing information and the application portrait; a sending module, used to send feedback information to the current node application service when it is determined that the service status image represents that the current node application service processes the target business without abnormality, so that the current node application service responds to the first information and sends the business processing information of the target business to the next node application service of the business link; a display module, used to obtain a full-link status image of the target business based on the service status images of each of the multiple node application services.
[0012] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0013] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the above computer program or instructions are executed by a processor.
[0014] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor.
[0015] According to an embodiment of the present disclosure, by receiving the business processing information and application portrait sent by each node application service, and displaying the full-link status image on the display interface, the full-link status image not only reflects the transaction information of the target business, but also reflects the service status information of the node application service, so that the processing process of the target business can be monitored in real time and comprehensively. It enables relevant personnel to understand the operating status of each node application service in a timely manner, and to quickly locate and respond to problems or anomalies. Only when it is determined that the service status image represents that the current node application service processes the target business without abnormalities, feedback information is sent to the current node, so that it sends the business processing information to the next node application service in the business link. Thereby, it can be ensured that the business will continue to move forward only when the current node application service operates normally, thereby reducing the propagation of errors or faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 The application scenario diagram schematically shows the business processing method, apparatus, device, medium and program product according to the embodiments of the present disclosure;
[0018] Figure 2 A flowchart of a business processing method according to an embodiment of the present disclosure is schematically shown;
[0019] Figure 3 A schematic diagram of a service link of a target service according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 4 A schematic diagram schematically shows a full-link state image of a target service according to an embodiment of the present disclosure;
[0021] Figure 5 A schematic diagram of a principle diagram of abnormality diagnosis using a diagnosis tree according to an embodiment of the present disclosure is shown;
[0022] Figure 6 A schematic diagram of a structure of a service processing device according to an embodiment of the present disclosure is shown; and
[0023] Figure 7 A block diagram of an electronic device suitable for implementing a service processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0026] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0027] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0028] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0029] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0030] The embodiment of the present disclosure provides a business processing method, including: repeatedly performing the following operations until a service status image of each of the multiple node application services on the business link for processing the target business is obtained: receiving business processing information for the target business and the application portrait of the current node application service sent by the current node application service; wherein the business link for processing the target business includes multiple different node application services, the multiple node application services are used to process the target business at different stages, and the application portrait of the node application service represents the feature information set of the node application service in different dimensions; based on the business processing information and the application portrait, the service status image of the current node application service is displayed on the display interface; when it is determined that the service status image represents that the current node application service processes the target business without abnormality, feedback information is sent to the current node application service, so that the current node application service responds to the feedback information and sends the business processing information of the target business to the next node application service of the business link. Based on the service status images of the multiple node application services, the full link status image of the target business is obtained.
[0031] Figure 1 The application scenario diagram of the business processing method according to the embodiment of the present disclosure is schematically shown.
[0032] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a terminal device 101, a server 102, a server cluster 103, and a network 104. The network 104 is used to provide a medium for a communication link between the terminal device 101, the server 102, and the server cluster 103. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0033] The user can use the terminal device 101 to interact with the server 102 and the server cluster 103 through the network 104 to receive or send messages, etc. The server 102 can receive the data sent by the server cluster 103, perform analysis and other processing, and feed back the processing results (such as transaction processing information, application portraits, etc.) to the terminal device 101, and the terminal device 101 can display the service status image of the server cluster on the interface.
[0034] It should be noted that the service processing method provided in the embodiment of the present disclosure can generally be executed by the server 102. Accordingly, the service processing device provided in the embodiment of the present disclosure can generally be set in the server 102. The service processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 102 and can communicate with the terminal device 101 and the server cluster 103. Accordingly, the service processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 102 and can communicate with the terminal device 101 and the server cluster 103.
[0035] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0036] The following will be based on Figure 1 The scene described by Figure 2~Figure 5 The business processing method of the disclosed embodiment is described in detail.
[0037] Figure 2 The flowchart of the business method according to the embodiment of the present disclosure is schematically shown.
[0038] like Figure 2 As shown, the business processing method of this embodiment includes operations S210 to S240.
[0039] In operation S210, business processing information for a target business and an application profile of the current node application service sent by the current node application service are received.
[0040] In operation S220, based on the business processing information and the application portrait, a service status image of the current node application service is displayed on the display interface.
[0041] In operation S230, when it is determined that the service status image indicates that the current node application service processes the target service normally, feedback information is sent to the current node application service, so that the current node application service responds to the feedback information and sends the service processing information of the target service to the next node application service of the service link.
[0042] Operations S210 to S230 are repeatedly performed until a service status image of each of the multiple node application services on the service link for processing the target service is obtained.
[0043] In operation S240, a full-link state image of the target service is obtained based on the service state images of each of the multiple node application services.
[0044] According to an embodiment of the present disclosure, the business link for processing the target business includes multiple different node application services, and the multiple node application services are used to process the target business at different stages. The application profile of the node application service represents a set of feature information of the node application service in different dimensions.
[0045] The target business will flow through several node application services from initiation to completion in the business link. Each node application service is responsible for implementing the processing of the target business at different stages. Several node application services can collaborate with each other to complete the processing of the target business.
[0046] The target business may be, for example, a banking and financial business such as quick payment, bank-to-securities transfer, etc. The present disclosure is not limited thereto, and may also be a business in other fields involving collaborative processing of multiple node application services.
[0047] The business processing information represents the information generated by the current node application service in the process of processing the target business. The business processing information may include business processing status, business processing progress, business processing results, error information, etc.
[0048] An application portrait can be a description of the status or characteristics of the current node application service. The application portrait can be the performance, health status, resource usage, configuration information, etc. of the service. The application portrait can be used to understand the current status of the current node application service.
[0049] The display interface is a window or platform for users to interact with application services. The display interface can be used to display information, receive user input, etc. The service status image is a graphical representation of the status of the current node application service. It can intuitively display the running status, performance, health status and other information of the application service through charts, icons, colors, etc.
[0050] The current node application service can be configured with an interface for sending business processing information and application portraits. The interface can send the latest business processing information and application portrait data to the specified receiving end in real time. The receiving end can be a monitoring system, a data analysis platform or other service platform, and the corresponding interface is configured at the receiving end to receive the business processing information and application portrait data from the current node application service. After the receiving end receives the business processing information and application portrait data, it can use the pre-set data collection rules to filter, collect and process the business processing information and application portrait data. The processed business processing information and application portrait data can be visualized using a graphics generation tool to obtain a service status image of the current node application service.
[0051] After determining that the current node application service processes the target business without exception, a feedback message can be sent to the current node application service. The feedback message can be a simple confirmation signal, indicating that the current node has successfully completed its processing task. After receiving this feedback message, the current node application service can respond to this signal and send the business processing information of the target business to the next node application service of the business link. In this way, the next node application service performs operations S210~S230 to obtain the service status image of the next node application service.
[0052] In some embodiments, the service status images can be arranged and combined in order or hierarchy according to the logic of the business link and the association between the node application services. The service status images are integrated into a unified full-link status image. The obtained full-link status image can intuitively display the processing status of the target business on the entire business link and the operating status of the node application service.
[0053] According to the embodiments of the present disclosure, by receiving the business processing information and application portrait sent by each node application service, and displaying the full-link status image on the display interface, the full-link status image not only reflects the transaction information of the target business, but also reflects the service status information of the node application service, so that the processing process of the target business can be monitored in real time and comprehensively. It enables relevant personnel to understand the operating status of each node application service in a timely manner, and to quickly locate and respond to problems or anomalies. Only when it is determined that the service status image represents that the current node application service processes the target business without abnormalities, feedback information is sent to the current node, so that it sends the business processing information to the next node application service in the business link. It can ensure that the business will continue to move forward only when the current node application service operates normally, thereby reducing the propagation of errors or faults.
[0054] Figure 3 A service link diagram of a target service according to an embodiment of the present disclosure is schematically shown.
[0055] like Figure 3As shown, the transaction request layer 310 is the initiating node of the target business, which is used to initiate business processing requests. The DSF (Distributed Service Framework) gateway 320, as a node application service connected to the network, receives business processing requests initiated by the transaction request layer 310, and provides services such as protocol conversion and security control. The access layer 330, as a routing node application service, is used to route the business processing request sent by the DSF gateway 320 to the service layer 340 for processing. Multiple servers 350 are set up under the service layer 330. The multiple servers 350 serve as different node application services, process the target business, and then pass it to the downstream server 350 for processing by the next node application service.
[0056] According to an embodiment of the present disclosure, in the Figure 2 The operation S210 shown may include: constructing a first state image of the current node application service based on the business processing information, the first state image is used to display the business processing state of the target business in the current node application service. Constructing a second state image of the current node application service based on the application portrait, the second state image is used to display the service state of the current node application service. Based on the first state image and the second state image, obtaining the service state image of the current node application service.
[0057] The first state image can show the actual business processing state of the target business in the current node application service. The node application service can send the transaction log to the receiving end in real time, and the receiving end can obtain the business processing information from the transaction log. The business processing information may include multiple key business status indicators. The first state image is obtained by using the image generation tool based on the multiple business status indicators.
[0058] The second state image can show the overall service state of the current node application service. The application portrait can be obtained by sending the operation log of the node application service to the receiving end in real time. The receiving end can obtain the application portrait of the node application service from the operation log of the node application service. According to the application portrait of the node application service, various state indicators of the node application service can be monitored in real time, and the first state image can be obtained by using the image generation tool according to various state indicators of the application service.
[0059] In some embodiments, the first state image and the second state image may be in the form of text numbers, charts, progress bars, status indicator lights, etc. The first state image and the second state image may also be a logo image, which may respond to further operations on the logo image, such as clicking, to obtain a sub-image, which may display more detailed state image information.
[0060] According to the embodiments of the present disclosure, the business processing state and the service state can be combined through the first state image and the second state image to obtain a comprehensive and integrated service state image of the current node application service. This facilitates monitoring personnel to simultaneously monitor the execution of the target business and the operation of the service, thereby timely discovering and solving problems in business processing and abnormalities in service operation, and ensuring the continuity of the target business and the stability of the service.
[0061] According to an embodiment of the present disclosure, based on the business processing information, constructing the first state image of the current node application service may include: based on the processing of multiple target businesses by the current node application service, obtaining the business processing information of the multiple target businesses. Integrate the business processing information of the multiple target businesses to obtain the first state image of the current node application service. The business processing information includes the transaction number information, transaction duration information, and whether the transaction is successful of the target business.
[0062] In some embodiments, after processing each target business, the node application service generates corresponding business processing information and sends it to the receiving end. The receiving end can summarize, analyze, and count the received business processing information to obtain the overall status of the target business processing.
[0063] The integration of the business processing information of each of the multiple target businesses may include operations such as accumulation and calculation of average values. For example, the number of transactions is calculated according to the transaction number information to obtain the total amount of business processing of the node application service, the average processing time of the node application service for the target business is calculated according to the transaction time information of each target business, and the processing success rate of the node application service is determined according to the transaction success information of each target business.
[0064] According to the embodiments of the present disclosure, multiple target businesses are processed through the current node application service, key information such as the transaction number, transaction duration and transaction success or failure of each business is obtained, and this information is integrated and processed to generate a display reflecting the overall operating status of the current node application service, which can intuitively display key indicators such as the overall situation, efficiency, and success rate of business processing.
[0065] According to an embodiment of the present disclosure, the application portrait includes characteristic information of the current node application service in multiple dimensions. Based on the application portrait of the current node application service, constructing the second state image of the current node application service may include: determining multiple service state sub-images of the current node application service based on the characteristic information of the current node application service in multiple dimensions; and obtaining the second state image of the current node application service based on the multiple service state sub-images of the current node application service.
[0066] Multiple service status sub-images can be constructed based on the characteristic information of the application portrait in multiple dimensions such as performance, health status, resource usage, configuration information, etc. Each service status sub-image focuses on displaying the status of a specific aspect of the service. For example, the performance status sub-image may display service response time, throughput and other indicators; the resource status sub-image may display the service CPU usage, memory usage, etc. The present disclosure is not limited to this, and the service status sub-image may also include transaction link images, service availability images, database images, server heartbeat monitoring, etc.
[0067] Each service status sub-image can be set as a status indicator, which can display whether the node application service is in a normal or abnormal state in different dimensions. The present disclosure is not limited to this, and the service status sub-image can also be set to directly display the specific indicator information of each feature. When the indicator information exceeds a preset threshold, the service status sub-image can be displayed in different colors.
[0068] After determining multiple service status sub-images, the multiple service status images may be integrated, for example, the multiple service status sub-images may be superimposed, fused, or displayed in parallel, so as to simultaneously observe the service status of the current node application service in multiple dimensions.
[0069] According to the embodiments of the present disclosure, multiple service status sub-images of the current node application service are determined based on feature information in multiple dimensions. Since the service status value sub-images of different dimensions each focus on different aspects of the node application service, such as performance, resource usage, etc., they can not only fully reflect the overall operating status of the current node application service, but also facilitate timely discovery of potential problems and location of fault sources.
[0070] Figure 4 A schematic diagram schematically shows a full-link status image of a target service according to an embodiment of the present disclosure.
[0071] like Figure 4 As shown, the full-link status image 400 of the target business includes service status images of multiple node application services, such as requesting service status images of the access layer, DSF gateway, access layer, and service layer. Each node application service's respective service status image includes a first status image 410 and a second status image 420. The first status image 410 can be used to display the processing status of the target business. For example, the first status image can show the processing volume, processing success rate, and average time consumption. The second status image 420 may include multiple service status sub-images 421, and the service status sub-images 421 may display different colors to represent whether the node application service is in a normal or abnormal state in different dimensions.
[0072] According to an embodiment of the present disclosure, in order to determine whether a container of a node application service has a fault, detection information may also be sent to multiple node application services on a service link, and the detection information is used to detect the container status of the node application service. In response to receiving the detection feedback information, the container status of the node application service is displayed in the full link status image, and the detection feedback information is obtained after the node application service processes the detection information.
[0073] In some embodiments, detection information may be sent to multiple node application services on a service link at regular intervals. The detection information may be a preset query instruction or request, which may instruct the node application service to return the required container status information. For example, the detection information may require the node application service to return the startup, operation, and configuration of its container to determine whether there is a fault.
[0074] The node application service can parse the detection information to obtain a query instruction or instruction, and query the relevant status information of its container based on the query instruction or request. Further, the queried relevant status information is packaged into detection feedback information. After receiving the detection feedback information, the detection feedback information can be parsed to extract the container status of the node application service, and according to the parsed container status, the container status of the corresponding node application service in the full link status image is updated.
[0075] In some embodiments, a return time threshold of the detection feedback information can be set. If the detection feedback information of a node application service is not received within the return time threshold, it can be considered that the container of the node application service may be faulty or abnormal. At this time, the container status of the corresponding abnormal node application service can also be marked as abnormal in the full link status image.
[0076] According to an embodiment of the present disclosure, by sending detection information to multiple node application services on the business link to detect the container status of the node application service, the full-link status image can monitor the node application service and the container at the same time, thereby increasing the monitoring dimension of the full-link status image and helping to enhance the accuracy of fault location and diagnosis.
[0077] According to an embodiment of the present disclosure, when it is determined that the service status image indicates that there is an abnormality in the target business processed by the current node application service, an alarm prompt is displayed on the service status image of the abnormal node application service.
[0078] In some embodiments, when business processing information contains information used to characterize an abnormality, an alarm prompt can be displayed on the first status image of the corresponding node application service. When an application portrait contains information used to characterize an abnormality, an alarm prompt can be displayed on the second status image of the corresponding node application service.
[0079] The business processing information may also include the response time of the processing, the identification of whether the processing is successful or not, the error code generated during the processing, etc. The collected business processing information may be judged according to the preset rules, and the preset rules may include the response time exceeding the threshold, the occurrence of a specific error code, the business processing result not meeting expectations, etc. According to the judgment result, it is determined whether the current node application service has an abnormality when processing the target business.
[0080] When the application profile shows abnormal performance in any dimension of characteristic information such as performance, health status, resource usage or configuration information, an alarm prompt can be displayed on the corresponding service status sub-image of the second status image. Abnormal performance can be, for example, excessive CPU utilization, abnormal memory usage, application services cannot be started normally or restarted frequently, performance indicators such as throughput and concurrent processing capacity of application services decrease; application services reach or exceed their resource limits, etc.
[0081] When it is determined that business processing information or application portraits appear to characterize abnormal information, an alarm prompt can be given on the corresponding first state image or the service state sub-image of the second state image through color changes (such as red), flashing icons, pop-up warning boxes, or by directly marking the abnormal nodes on the image and giving a brief abnormal description.
[0082] In some embodiments, when the node application service processes the target business, it can add a unique identifier of the node application service to the processing information. The receiving end can locate the node application service that sends the processing information based on the unique identifier. When an exception occurs, the exception can be quickly located based on the unique identifier.
[0083] According to the embodiments of the present disclosure, by displaying an alarm prompt in the service status image, it can be ensured that any problems that arise can be discovered in a timely manner, and thus a quick response can be made.
[0084] According to an embodiment of the present disclosure, after the service status image of the abnormal node application service displays an alarm prompt, the abnormal node application service can be diagnosed based on the business processing information and application portrait associated with the abnormal node application service using a preset diagnosis tree to obtain a diagnosis result. Based on the diagnosis result, emergency processing is performed on the abnormal node application service on the full-link status diagram, and the emergency processing includes at least one of capacity expansion, isolation, and campus switching.
[0085] In some embodiments, after the service status image of the abnormal node application service displays an alarm prompt, the service status image displaying the alarm prompt can be operated, such as clicking, so that an interface for calling a diagnostic tree can be displayed in the area around the service status image, and then a preset diagnostic tree can be called to diagnose the abnormality.
[0086] The preset diagnosis tree can be configured with a series of common abnormal problems, judgment rules, and corresponding abnormal causes and solutions. When an alarm prompt is found in the service status image on the full link status image, the business processing information of the node application service and the abnormal information in the application portrait can be called, and the abnormal information can be matched with the abnormal problems in the diagnosis tree. Based on the preset judgment rules, the diagnosis result can be obtained. The diagnosis result can include the cause of the abnormality and the solution to the abnormality.
[0087] For example, the service status sub-image representing the memory status of the node application service displays an alarm prompt. The status indicator representing the memory status can be obtained from the application portrait of the node application service, and the abnormal problems associated with the memory can be queried in the diagnosis tree. At this time, the preset judgment rule can be whether it is greater than the set threshold. If the memory status indicator is greater than the set threshold, the diagnosis result can be that the memory is full and the capacity can be expanded.
[0088] In some embodiments, the diagnostic tree may include a root node, multiple branch nodes, and multiple leaf nodes. The root node is the starting point of the diagnostic tree and may represent the category of the anomaly, such as a service layer anomaly, an access layer anomaly, etc. The branch node is a branch extending from the root node, and each branch node may be a possible diagnostic direction or conditional judgment. The leaf node is the end of each branch node and may represent a specific anomaly cause and solution.
[0089] Figure 5 The flowchart of abnormality diagnosis using a diagnosis tree according to an embodiment of the present disclosure is schematically shown.
[0090] like Figure 5 As shown, after the service status image of the abnormal node application service displays an alarm prompt, the business processing information 510, application portrait 520 and other information related to the abnormal node application service are collected, and the abnormal information 530 is determined from the business processing information 510, application portrait 520 and other information. Based on the abnormal information, in the diagnosis tree 540, the query is started from the root node 541 downward. When the abnormal information matches the branch node 542, the cause of the abnormality and the solution can be obtained from the leaf node 543 corresponding to the branch node 532.
[0091] After obtaining emergency handling measures, the preset interface can send responsive emergency handling instructions to the abnormal node application service, such as expansion, isolation, campus switching and other instructions, so as to perform emergency handling on the abnormal node application service on the full-link status diagram.
[0092] According to the embodiments of the present disclosure, by using business processing information and application portraits, combined with a preset diagnostic tree for in-depth analysis, the cause of the abnormality can be accurately diagnosed, the accuracy of problem identification is improved, and the time for troubleshooting is shortened. Emergency treatment measures such as capacity expansion, isolation, or campus switching are directly implemented on abnormal nodes on the full-link status diagram, which can quickly restore the normal operation of the service, effectively avoid the spread of faults, and ensure the stability and continuity of the overall business system, thereby significantly improving the emergency response capability.
[0093] Based on the above service processing method, the present disclosure also provides a service processing device. Figure 6 The device is described in detail.
[0094] Figure 6 The structure block diagram of a service device according to an embodiment of the present disclosure is schematically shown.
[0095] like Figure 6 As shown, the service processing device 600 of this embodiment includes a receiving module 610 , a processing module 620 , a sending module 630 and a display module 640 .
[0096] The receiving module 610 is used to receive the business processing information for the target business and the application portrait of the current node application service sent by the current node application service; wherein the business link for processing the target business includes multiple different node application services, and the multiple node application services are used to process the target business at different stages, and the application portrait of the node application service represents the feature information set of the node application service in different dimensions. It can be used to perform the operation S210 described above, which will not be repeated here.
[0097] The processing module 620 is used to display the service status image of the current node application service on the display interface based on the business processing information and the application portrait. It can be used to perform the operation S220 described above, which will not be repeated here.
[0098] The sending module 630 is used to send feedback information to the current node application service when it is determined that the service status image indicates that the current node application service processes the target service without abnormality, so that the current node application service responds to the first information and sends the service processing information of the target service to the next node application service of the service link. It can be used to perform the operation S230 described above, which will not be repeated here.
[0099] The display module 640 is used to obtain the full-link status image of the target service based on the service status images of the multiple node application services, and can be used to perform the operation S240 described above, which will not be described in detail here.
[0100] According to an embodiment of the present disclosure, the processing module 620 includes a first construction submodule, a second construction submodule and a third construction submodule.
[0101] The first construction submodule is used to construct a first state image of the current node application service based on the business processing information, and the first state image is used to display the business processing state of the target business in the current node application service.
[0102] The second construction submodule is used to construct a second state image of the current node application service based on the application portrait, and the second state image is used to display the service state of the current node application service.
[0103] The third construction submodule is used to obtain a service state image of the current node application service based on the first state image and the second state image.
[0104] According to an embodiment of the present disclosure, the first building submodule includes a first processing unit and a second processing unit.
[0105] The first processing unit obtains service processing information of each of the multiple target services based on the processing of the multiple target services by the current node application service.
[0106] The second processing unit is used to integrate and process the business processing information of the multiple target businesses to obtain the first state image of the current node application service. The business processing information includes the transaction number information, transaction duration information and transaction success information of the target business.
[0107] According to an embodiment of the present disclosure, the application portrait includes characteristic information of the current node application service in multiple dimensions; the second construction submodule includes:
[0108] The first determining unit is used to determine multiple service status sub-images of the current node application service based on feature information of the current node application service in multiple dimensions.
[0109] The second determining unit is configured to obtain a second status image of the current node application service based on a plurality of service status sub-images of the current node application service.
[0110] According to an embodiment of the present disclosure, the service processing device 600 further includes a detection module and a container status display module.
[0111] The detection module is used to send detection information to multiple node application services on the business link, wherein the detection information is used to detect the container status of the node application service.
[0112] The container status display module is used to display the container status of the node application service in the full link status image in response to receiving the detection feedback information. The detection feedback information is obtained after the node application service processes the detection information.
[0113] According to an embodiment of the present disclosure, the service processing device 600 further includes an alarm module.
[0114] The alarm module is used to display an alarm prompt on the service status image of the abnormal node application service when it is determined that the service status image represents that the current node application service processes the target business abnormally.
[0115] According to an embodiment of the present disclosure, the service processing device 600 further includes a diagnosis module and an emergency processing module.
[0116] The diagnosis module is used to diagnose the abnormal node application service based on the business processing information and application profile associated with the abnormal node application service using a preset diagnosis tree to obtain a diagnosis result.
[0117] The emergency processing module is used to perform emergency processing on abnormal node application services on the full-link status diagram based on the diagnosis results. The emergency processing includes at least one of capacity expansion, isolation, and park switching.
[0118] According to an embodiment of the present disclosure, any multiple modules of the receiving module 610, the processing module 620, the sending module 630 and the display module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the receiving module 610, the processing module 620, the sending module 630 and the display module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the receiving module 610, the processing module 620, the sending module 630 and the display module 640 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0119] Figure 7 A block diagram of an electronic device suitable for implementing a service processing method according to an embodiment of the present disclosure is schematically shown.
[0120] like Figure 7As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0121] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0122] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0123] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0124] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0125] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the business processing method provided by the embodiment of the present disclosure.
[0126] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0127] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0128] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0129] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0130] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0132] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A business processing method, characterized in that: The method comprises: Repeat the following operations until a service status image of each of the multiple node application services on the service link for processing the target service is obtained: Receiving business processing information for a target business and an application profile of the current node application service sent by a current node application service; wherein the business link for processing the target business includes a plurality of different node application services, the plurality of node application services are used to process the target business at different stages, and the application profile of the node application service represents a set of feature information of the node application service in different dimensions; Based on the business processing information and the application portrait, displaying a service status image of the current node application service on a display interface; When it is determined that the service status image indicates that the current node application service processes the target service without abnormality, sending feedback information to the current node application service, so that the current node application service sends the service processing information of the target service to the next node application service of the service link in response to the feedback information; and Based on the service status images of each of the plurality of node application services, a full-link status image of the target service is obtained.
2. The method according to claim 1, characterized in that The displaying, based on the business processing information and the application portrait, of a service status image of the current node application service on a display interface includes: Based on the business processing information, construct a first state image of the current node application service, wherein the first state image is used to display the business processing state of the target business in the current node application service; Based on the application portrait, construct a second state image of the current node application service, wherein the second state image is used to display the service state of the current node application service; and A service status image of the current node application service is obtained based on the first status image and the second status image.
3. The method according to claim 2, characterized in that The constructing a first state image of the current node application service based on the business processing information includes: Based on the processing of the multiple target services by the current node application service, obtaining the service processing information of each of the multiple target services; Integrate and process the business processing information of each of the multiple target businesses to obtain a first state image of the current node application service; The business processing information includes the transaction number information, transaction duration information and whether the transaction is successful of the target business.
4. The method according to claim 2, characterized in that: The application portrait includes characteristic information of the current node application service in multiple dimensions; The constructing a second state image of the current node application service based on the application portrait of the current node application service includes: Determine multiple service status sub-images of the current node application service based on feature information of the current node application service in multiple dimensions; Based on the multiple service status sub-images of the current node application service, a second status image of the current node application service is obtained.
5. The method according to claim 1, characterized in that The method further comprises: Sending detection information to multiple node application services on the service link, wherein the detection information is used to detect the container status of the node application service; In response to receiving detection feedback information, the container status of the node application service is displayed in the full-link status image, wherein the detection feedback information is obtained after the node application service processes the detection information.
6. The method according to claim 1, characterized in that The method further comprises: When it is determined that the service status image indicates that there is an abnormality in the processing of the target business by the current node application service, an alarm prompt is displayed on the service status image of the abnormal node application service.
7. The method according to claim 6, characterized in that The method further comprises: Based on the business processing information and the application profile associated with the abnormal node application service, diagnose the abnormal node application service using a preset diagnosis tree to obtain a diagnosis result; Based on the diagnosis result, emergency processing is performed on the abnormal node application service on the full-link status diagram, and the emergency processing includes at least one of capacity expansion, isolation, and park switching.
8. A service processing device, characterized in that: The device comprises: A receiving module, used to receive business processing information for a target business and an application profile of the current node application service sent by the current node application service; wherein the business link for processing the target business includes a plurality of different node application services, the plurality of node application services are used to process the target business at different stages, and the application profile of the node application service represents a set of feature information of the node application service in different dimensions; A processing module, configured to display a service status image of the current node application service on a display interface based on the business processing information and the application portrait; a sending module, configured to send feedback information to the current node application service when it is determined that the service status image indicates that the current node application service processes the target service without abnormality, so that the current node application service sends the service processing information of the target service to the next node application service of the service link in response to the first information; and The display module is used to obtain the full-link status image of the target business based on the service status images of each of the multiple node application services.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and device for carrying out node control on task flow
CN103530740A
Service chain fault diagnosis method and service chain fault diagnosis device
CN105610594A
Business processing method and device and computer storage medium
CN117391415A
Node processing method and device, equipment, storage medium and program product
CN118740837A