Abnormal area data service isolation method, device, electronic equipment and medium
By creating a regional isolation list and application filter in the credit audit system, judging and isolating abnormal regional services, and combining service detectors to update the isolation list in real time, the system efficiency decline and crash caused by abnormal regional services in the credit audit system is solved, and the system efficiency reduction and crash caused by abnormal regional services is achieved. High availability and timeliness of the system.
Patent Information
- Application Number
- CN202110587805.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-27
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-05-27
AI Technical Summary
In the prior art, local data service capabilities in various regions across the country are uneven, and service stability in some regions is poor, resulting in the credit audit system frequently calling abnormal regional services may cause chain failures of calling links, resulting in a significant decrease in system efficiency. It even caused the credit audit system to crash.
Provide an abnormal area data service isolation method. By creating a central database for recording the regional isolation list and an application filter for filtering the abnormal area application form, determine whether there is a local data service failure in the area where the application form belongs, and add it to it. Isolation list to avoid invalid requests, and use the service detector to regularly detect abnormal areas and update the quarantine list.
Reduce invalid requests for local data services in abnormal areas, ensure the availability and timeliness of the credit audit system, reduce the pressure on local data services in abnormal areas, avoid calling link avalanches, improve the timeliness of the audit system processing, and avoid users waiting for the audit results for a long time .
Smart Images

Figure CN113205406B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of financial technology, and in particular to a method, device, electronic device and medium for isolating data services in abnormal areas. Background Art
[0002] With the comprehensive advancement of inclusive finance, the demand for personal credit applications (such as consumer credit, installment business, and credit card applications) based on local personal data (such as provident fund data and social security data) in various regions across the country is increasing day by day, becoming one of the core businesses of various financial companies.
[0003] Personal credit services are different from corporate services. Customers are very sensitive to the timeliness of credit application feedback. The credit system must ensure high availability and stability to provide customers with a good experience. If personal credit services crash frequently, it will greatly affect the image of the credit service provider, resulting in customer loss and loss of potential profits.
[0004] In the process of realizing the concept disclosed in the present invention, the inventors found that there are at least the following problems in the related technology: At present, the local data service capabilities of various regions in the country are uneven, and the service stability in some regions is poor. When the service in a certain region fails, the credit review system frequently calls the service in that region and is blocked, which may cause a chain failure of the call link, resulting in a large number of application forms being blocked for a long time, which in turn causes a significant decrease in system efficiency, affecting the timeliness of the review process, and in severe cases may even cause the credit review system to crash. Summary of the invention
[0005] In view of this, the present disclosure provides a method, device, electronic device and medium for isolating data services in abnormal areas.
[0006] One aspect of the present disclosure provides a method for isolating data services in abnormal areas, which is applied to a local data service system, and the method includes: creating a central database for recording a regional isolation list, creating an application filter for filtering application forms in abnormal areas, and establishing communication connections between the central database and the local data service system and the application filter respectively; the application filter responds to a received application form and determines whether the area to which the application form belongs is in the regional isolation list. If so, the area to which the application form belongs is an abnormal area and the application form is filtered out; otherwise, the application form is submitted to the local data service system; the local data service system receives the application form and determines whether there is a local data service fault in the area to which the application form belongs based on a service fault judgment module built into the local data service system; if so, the area to which the application form belongs is added to the regional isolation list to update the regional isolation list.
[0007] According to an embodiment of the present disclosure, the regional isolation list includes: a regional unique identifier, a regional local data service address, a service request parameter, a regional service isolation switch and an isolation start time; wherein the service request parameter is used to request whether the regional service is available.
[0008] According to an embodiment of the present disclosure, the local data service system receives an application form, and determines whether there is a local data service fault in the area to which the application form belongs based on a service fault judgment module built into the local data service system, including: the local data service system receives the application form, and requests to call the local data service in the area to which the application form belongs; and uses the service fault judgment module to determine whether the request call has a timeout failure or a fault failure, and if so, it is determined that there is a local data service fault in the area to which the application form belongs.
[0009] According to an embodiment of the present disclosure, the judging module judges whether a request call has a timeout failure, including: judging whether the request call fails within a preset time range.
[0010] According to an embodiment of the present disclosure, the judgment module judges whether a request call fails, and if so, it is determined that there is a local data service failure in the area to which the application form belongs, including: judging whether the number of consecutive failures of the request call within a preset time range reaches a preset number threshold, and if so, it is determined that there is a local data service failure in the area to which the application form belongs; or judging whether the failure frequency of the request call within a preset time range reaches a preset frequency threshold, and if so, it is determined that there is a local data service failure in the area to which the application form belongs.
[0011] According to an embodiment of the present disclosure, after the step of adding the region to which the application form belongs to the regional isolation list, it also includes: recording in real time the isolation start time of the region to which the application form belongs added to the regional isolation list to update the isolation start time in the regional isolation list.
[0012] According to an embodiment of the present disclosure, determining whether the region to which an application form belongs is in the regional isolation list includes: an application filter obtains an updated regional isolation list from a central database; identifying the region to which the application form belongs, and determining whether the region to which the application form belongs is in the regional isolation list by comparing the region to which the application form belongs with the regional unique identifier.
[0013] According to an embodiment of the present disclosure, the method also includes: creating a service detector for periodically detecting whether regional services are available, and establishing a communication connection between a central database and the service detector; and using the service detector to remove the abnormal region in the regional isolation list when detecting that the service in the abnormal region in the regional isolation list has become available again, so as to update the regional isolation list.
[0014] According to an embodiment of the present disclosure, a service detector is created for periodically detecting whether regional services are available, including: setting a timer with a preset start frequency; the service detector obtains an updated regional isolation list from a central database, and sorts the regional isolation list according to the chronological order of isolation start time; based on the sorted regional isolation list, a timer is used to periodically trigger service request parameters that are passed to abnormal regions in sequence at a preset start frequency, and a request is made to call local data services in the abnormal regions; based on the return result of the request call, it is determined whether the service in the abnormal region has resumed availability.
[0015] According to an embodiment of the present disclosure, whether the abnormal area service has been restored to availability is determined based on the return result of the request call, including: when the return result is the local service data of the abnormal area, it is determined that the abnormal area service has been restored to availability, and the abnormal area is removed to update the regional isolation list; when the return result is an abnormal return or the request times out, it is determined that the abnormal area service is unavailable, and the abnormal area continues to be retained in the regional isolation list.
[0016] According to an embodiment of the present disclosure, the preset startup frequency is once every 30 seconds or once every 10 minutes.
[0017] According to an embodiment of the present disclosure, the method also includes: creating a regional service isolation main switch for controlling whether to enable the application filter; when the regional service isolation main switch is on, the function of filtering the application form for abnormal areas of the application filter will take effect; otherwise, the function of filtering the application form for abnormal areas of the application filter will be invalid.
[0018] According to an embodiment of the present disclosure, the local data service system includes a credit review system.
[0019] Another aspect of the present disclosure provides an abnormal area data service isolation device, which is applied to a local data service system, and the device includes: a database creation module, which is used to create a central database for recording a regional isolation list, create an application filter for filtering abnormal area application forms, and establish communication connections between the central database and the local data service system and the application filter respectively; an abnormal area filtering module, which is used to determine whether the area to which the application form belongs is in the regional isolation list when the application filter responds to the received application form. If so, the area to which the application form belongs is an abnormal area and the application form is filtered out; otherwise, the application form is submitted to the local data service system; and an isolation list updating module, which is used to receive the application form in the local data service system, and determine whether there is a local data service failure in the area to which the application form belongs according to a service failure judgment module built into the local data service system; if so, the area to which the application form belongs is added to the regional isolation list to update the regional isolation list.
[0020] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the method as described above.
[0021] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.
[0022] Another aspect of the present disclosure provides a computer program, which includes computer executable instructions, and the instructions are used to implement the method described above when executed.
[0023] Compared with the prior art, the abnormal area data service isolation method, device, electronic device and medium provided by the present disclosure have at least the following beneficial effects:
[0024] (1) The present disclosure can reduce the ineffective requests for local data services in abnormal areas in the prior art, and ensure the availability of the credit review system and the timeliness of the service.
[0025] (2) The present disclosure reduces the pressure on local data services in abnormal areas, does not interfere with the speed of service recovery, and avoids causing call link avalanche.
[0026] (3) The present disclosure directly rejects applications from abnormal regions, which can improve the processing efficiency of the review system and avoid users waiting for review results for a long time. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above 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:
[0028] Figure 1 The system architecture of the abnormal region data service isolation method according to the embodiment of the present disclosure is schematically shown;
[0029] Figure 2 A flowchart schematically shows a method for isolating data services in abnormal areas according to an embodiment of the present disclosure;
[0030] Figure 3 The system architecture of the local data service system according to the embodiment of the present disclosure is schematically shown;
[0031] Figure 4 The operation flow chart of the local data service system according to the embodiment of the present disclosure is schematically shown;
[0032] Figure 5 The system architecture of the application filter of the embodiment of the present disclosure is schematically shown;
[0033] Figure 6 The operation flow chart of the application filter according to the embodiment of the present disclosure is schematically shown;
[0034] Figure 7 The system architecture of the abnormal region data service isolation method according to another embodiment of the present disclosure is schematically shown;
[0035] Figure 8 A flowchart schematically shows a method for isolating data services in abnormal areas according to another embodiment of the present disclosure;
[0036] Fig. 9 The system architecture of a service detector according to another embodiment of the present disclosure is schematically shown;
[0037] Fig.10 The following schematically shows an operation flow chart of a service detector according to another embodiment of the present disclosure;
[0038] Fig.11 The following is a schematic diagram showing the operation flow of the credit review system according to an embodiment of the present disclosure;
[0039] Fig.12 A block diagram schematically showing an abnormal region data service isolation device according to an embodiment of the present disclosure; and
[0040] Fig.13 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0041] 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.
[0042] 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 the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0043] 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.
[0044] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally 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.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or 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.).
[0045] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.
[0046] Before describing the specific embodiments of the present disclosure in detail, technical terms are first explained to facilitate a better understanding of the present disclosure.
[0047] Credit review system: a system that provides review services for credit applications (such as credit card applications, personal consumer loans, installment services or credit grants).
[0048] Application form: In the credit review system, it specifically refers to personal credit-related application forms. This disclosure uses "application form" as a unified abbreviation, which refers to an application form that requires querying the local data service of the applicant, such as an applicant's consumer credit application based on provident fund data in a certain area.
[0049] Local data service: refers to the local data services provided by various regions, such as provident fund, social security and other data query services.
[0050] Service isolation: refers to the caller identifying and marking abnormal services, reducing or stopping the frequency of access to abnormal services until the service is released from isolation.
[0051] Consecutive failure count: refers to the number of consecutive failures in requesting a service, with no successful requests in between.
[0052] Isolation start time: refers to the start time of the most recent service isolation.
[0053] Regional service isolation master switch: refers to the master control of regional service isolation, which can directly turn on or off all regional service isolation functions.
[0054] Service probe: refers to accessing the specified service according to the detection rules, and the returned results are used to confirm whether the service is available.
[0055] In order to solve the problem of credit review system crashes due to local service failures in abnormal areas, the current technical solution is to shorten the request timeout. By shortening the timeout for local data service requests in each region, service requests in the faulty area will fail quickly, thus avoiding long-term resource occupation.
[0056] However, when the local data service in a certain area fails, the credit review system will make useless requests to access the faulty interface. Useless requests waste system resources and put pressure on the local data service in the abnormal area, which may make it difficult to restore the local data service in the area. In addition, shortening the timeout period will cause the system to mistakenly identify normal requests as timeout failures when encountering service request timeouts caused by network fluctuations or when the local data service efficiency in the area is low, thus affecting the use of normal service requests.
[0057] In view of this, the embodiments of the present disclosure provide a method and device for isolating data services in abnormal areas, which can be applied to a credit review system. The purpose of isolation is to improve the availability of the credit review system.
[0058] Figure 1 The system architecture of the abnormal region data service isolation method according to an embodiment of the present disclosure is schematically shown.
[0059] Figure 2 The flowchart of the abnormal region data service isolation method according to the embodiment of the present disclosure is schematically shown.
[0060] Combination Figure 1 ,right Figure 2 The abnormal area data service isolation method shown is described in detail.
[0061] The abnormal region data service isolation method of the embodiment of the present disclosure is applied to a local data service system, and the method may include operations S201 to S203.
[0062] In operation S201, a central database for recording regional isolation lists is created, an application filter for filtering application forms of abnormal regions is created, and communication connections are established between the central database and the local data service system and the application filter respectively.
[0063] In operation S202, the application filter responds to the received application form and determines whether the region to which the application form belongs is in the regional isolation list. If so, the region to which the application form belongs is an abnormal region and the application form is filtered out; otherwise, the application form is submitted to the local data service system.
[0064] In operation S203, the local data service system receives the application form and determines whether there is a local data service failure in the area to which the application form belongs based on a service failure judgment module built into the local data service system; if so, the area to which the application form belongs is added to the regional isolation list to update the regional isolation list.
[0065] Through the embodiments of the present disclosure, it is possible to reduce the ineffective requests for local data services in abnormal areas in the prior art, reduce the pressure on local data services in abnormal areas, not interfere with the speed of service recovery, and avoid causing call link avalanche. The present disclosure can protect the local data service system and ensure the availability of the local data service system and the timeliness of the service.
[0066] In the embodiment of the present disclosure, the regional isolation list may include: a regional unique identifier, a regional local data service address, a service request parameter, a regional service isolation switch and an isolation start time; wherein the service request parameter is used to request whether the regional service is available.
[0067] Figure 3 The system architecture of the local data service system according to the embodiment of the present disclosure is schematically shown. Figure 4 The operation flow chart of the local data service system according to the embodiment of the present disclosure is schematically shown.
[0068] Combination Figure 3 ,right Figure 4 The operation flow of the local data service system shown is described in detail.
[0069] In the disclosed embodiment, the local data service system in operation S203 receives an application form, and determines whether there is a local data service failure in the area to which the application form belongs based on a service failure judgment module built into the local data service system, which may include sub-operations S401-S402.
[0070] In operation S401, the local data service system receives an application form and requests to call the local data service of the region to which the application form belongs.
[0071] In operation S402, a service failure determination module is used to determine whether the request call has a timeout failure or a failure. If so, it is determined that a local data service failure exists in the region to which the application belongs.
[0072] Therefore, the local data service system can not only provide the function of requesting local data services in the region, but also integrate the service fault judgment function. When the request for local data services in a certain region fails, the regional isolation data in the central database is modified and the region is added to the regional isolation list; when the request is successful, the normal subsequent process of the local data service system continues to be executed.
[0073] Furthermore, in operation S402, the determination module determines whether the request call has a timeout failure, which may include: determining whether the request call fails within a preset time range. That is, the timeout failure is limited to the system preset time range. If the system succeeds outside the preset time range, it also belongs to the case of timeout failure, thereby avoiding the timeout of customer feedback on system services and reducing user experience.
[0074] Further, in operation S402, the judging module judges whether the request call fails, which may include:
[0075] Determine whether the number of consecutive failures of the request call within a preset time range reaches a preset number threshold, and if so, determine that there is a local data service failure in the area to which the application belongs; or
[0076] It is determined whether the failure frequency of the request call within the preset time range reaches the preset frequency threshold. If so, it is determined that there is a local data service failure in the area to which the application belongs.
[0077] Through the embodiments of the present disclosure, it is possible to make judgments and identify fault failure modes according to the number of consecutive failures or the failure frequency of requesting services.
[0078] In an embodiment of the present disclosure, after the step of adding the region to which the application form belongs to the regional isolation list in operation S203, it also includes: recording the isolation start time of the region to which the application form belongs added to the regional isolation list in real time to update the isolation start time in the regional isolation list.
[0079] Figure 5 The system architecture of the application filter according to the embodiment of the present disclosure is schematically shown. Figure 6 The operation flow chart of the application filter according to the embodiment of the present disclosure is schematically shown.
[0080] Combination Figure 5 ,right Figure 6 The operation flow of applying filters is explained in detail.
[0081] In the embodiment of the present disclosure, for the application filter, operation S202 of using the application filter to determine whether the region to which the application belongs is in the region isolation list may include sub-operations S601-S602.
[0082] In operation S601, the application filter obtains an updated regional quarantine list from the central database.
[0083] In operation S602, the region to which the application form belongs is identified, and by matching and comparing the region to which the application form belongs with the region unique identifier, it is determined whether the region to which the application form belongs is in the region isolation list.
[0084] By matching and comparing the region to which the application form belongs with the unique regional identifier, it is possible to detect whether the region to which the application form belongs is in the list of quarantined regions. If the region to which the application form belongs has been quarantined, it will be rejected directly; if the region to which the application form belongs has not been quarantined, the application form will be released to the local data service system.
[0085] Through the embodiments of the present disclosure, by utilizing application filters, applications from abnormal regions can be filtered out before the application forms are submitted to the local data service system, thereby effectively reducing invalid requests for local data services in abnormal regions and avoiding the crash of the local data service system caused by a large number of application forms being blocked.
[0086] Figure 7 The system architecture of the abnormal region data service isolation method according to another embodiment of the present disclosure is schematically shown. Figure 8 A flowchart of a method for isolating data services in abnormal regions according to another embodiment of the present disclosure is schematically shown.
[0087] Combination Figure 7 ,right Figure 8 The abnormal area data service isolation method shown is described in detail.
[0088] Another embodiment of the present disclosure discloses an abnormal region data service isolation method applied to a local data service system, and the method may include operations S201 to S203 and S801 - S802 .
[0089] In operation S201, a central database for recording regional isolation lists is created, an application filter for filtering application forms of abnormal regions is created, and communication connections are established between the central database and the local data service system and the application filter respectively.
[0090] In operation S202, the application filter responds to the received application form and determines whether the region to which the application form belongs is in the regional isolation list. If so, the region to which the application form belongs is an abnormal region and the application form is filtered out; otherwise, the application form is submitted to the local data service system.
[0091] In operation S203, the local data service system receives the application form and determines whether there is a local data service failure in the area to which the application form belongs based on a service failure judgment module built into the local data service system; if so, the area to which the application form belongs is added to the regional isolation list to update the regional isolation list.
[0092] In operation S801, a service detector for periodically detecting whether regional services are available is created, and a communication connection between a central database and the service detector is established.
[0093] In operation S802, when the service detector detects that the service of the abnormal region in the region isolation list is restored and available, the abnormal region is removed to update the region isolation list.
[0094] Among them, operations S201-S203 are completely the same as the features of the previous embodiment of the present disclosure, and are not described here in detail. The following only describes the features different from the previous embodiment, namely, operations S801-S802 added after operations S201-S203.
[0095] Therefore, another embodiment of the present disclosure is based on the aforementioned embodiment, and adds a service detector that can be communicated with outside the central database to regularly detect whether the service functions of the abnormal area are available, so as to update the regional isolation list, so as to avoid the system's normal requests being mistakenly identified as unavailable when the abnormal area becomes available again.
[0096] Fig. 9 The system architecture of a service detector according to another embodiment of the present disclosure is schematically shown. Fig.10 The following schematically shows an operation flow chart of a service detector according to another embodiment of the present disclosure.
[0097] Combination Fig. 9 ,right Fig.10 The creation process of the service probe shown is described in detail.
[0098] In another embodiment of the present disclosure, creating a service probe for periodically detecting whether a regional service is available may include sub-operations S1001 - S1004 .
[0099] In operation S1001, a timer having a preset activation frequency is set.
[0100] In operation S1002, the service detector obtains an updated regional isolation list from the central database, and sorts the regional isolation list according to the chronological order of isolation start time.
[0101] In operation S1003, according to the sorted regional isolation list, a timer is used to periodically trigger the service request parameters transmitted to the abnormal regions in sequence at a preset start frequency to request to call the local data service of the abnormal region.
[0102] In operation S1004, it is determined whether the abnormal area service is restored and available according to the return result of the request call.
[0103] The preset activation frequency may be, for example, once every 30 seconds or once every 10 minutes. The function of timing triggering and activating the service detector is realized by the preset activation frequency in the timer.
[0104] In another embodiment of the present disclosure, the service request parameters sequentially transmitted to the abnormal regions in operation S1004 may include cyclic transmission or parallel transmission. Among them, cyclic transmission means that according to the sorted regional isolation list, each abnormal region has a unique service request parameter, and the service request parameters are transmitted one by one in the order of the different abnormal regions in the list. Parallel transmission means that since there is no mutual interference or influence between the local data service systems of different regions, the service request parameters can be transmitted to a batch of abnormal regions under the preset number of regions (for example, 10) at the same time, thereby reducing the return waiting time of a single service request task, giving full play to the detection performance of the service detector, and improving resource utilization.
[0105] In another embodiment of the present disclosure, judging whether the service in the abnormal area is restored to be available according to the return result of the request call in operation S1004 may include:
[0106] When the returned result is the local service data of the abnormal area, it is determined that the service of the abnormal area is restored and available, and the abnormal area is removed to update the regional isolation list;
[0107] When the return result is an abnormal return or the request times out, the service in the abnormal area is determined to be unavailable, and the abnormal area continues to be retained in the regional isolation list.
[0108] Through the embodiments of the present disclosure, when the request call returns data normally, it is considered that the local data service of the area is available, and the abnormal area is removed from the area isolation list from the central database, and the removal log is recorded in real time.
[0109] In some embodiments, the abnormal region data service isolation method may further include:
[0110] Create a regional service isolation master switch to control whether to enable application filters;
[0111] When the regional service isolation master switch is on, the function of applying for the filter to filter out abnormal areas will take effect; otherwise, the function of applying for the filter to filter out abnormal areas will be invalid.
[0112] Therefore, a main switch is added before applying for the filter. The regional service isolation main switch is a configuration item. During the operation of the local data service system, it can be turned on or off as needed to control the activation or deactivation of the isolation function at any time.
[0113] The local data service system in the embodiments of the present disclosure refers to a system that can call local data services in various places. In some embodiments, the local data service system includes a credit review system. For example, before a bank or financial institution determines whether to approve a loan, the relevant department needs to conduct a comprehensive review of the above-mentioned collected information to ensure the safety of funds.
[0114] Fig.11 The operation flow chart of the credit review system according to the embodiment of the present disclosure is schematically shown.
[0115] like Fig.11 As shown, the credit review system may include the following steps:
[0116] Collect information related to various application forms, including identity information or purpose statements, and aggregate the collected information;
[0117] The collected information is reviewed and approved using a preset credit approval model to obtain review results;
[0118] If the review result is judged to be passed, the financial institution will be notified that the loan can be released; otherwise, the applicant will be notified of the approval rejection and the review will end.
[0119] Therefore, the abnormal region data service isolation method provided by the present disclosure can be applied to local data service systems, such as credit approval systems. When the credit review system fails to request a local data service in a certain region, it is considered that the local data service in the region is no longer available, and the region is added to the isolation list. When an application form for the region is received again, it is directly rejected, which can avoid system crashes caused by a large number of application forms being blocked. At this time, the method can protect the credit review system, avoid call link avalanches caused by abnormal region service failures, and ensure system availability and service timeliness.
[0120] It should also be noted that, in other embodiments, the abnormal region data service isolation method can also be applied to other local data service systems different from the credit approval system.
[0121] Fig.12 A block diagram of a device for isolating data services in abnormal regions according to an embodiment of the present invention is schematically shown.
[0122] like Fig.12As shown, the abnormal region data service isolation device 1200 is applied to a local data service system. The device 1200 may include a database creation module 1210 , an abnormal region filtering module 1220 and an isolation list update module 1230 .
[0123] A database creation module 1210 is used to create a central database for recording regional isolation lists, create an application filter for filtering application forms from abnormal regions, and establish communication connections between the central database and the local data service system and the application filter respectively;
[0124] The abnormal region filtering module 1220 is used to determine whether the region to which the application form belongs is in the region isolation list in response to the received application form. If so, the region to which the application form belongs is an abnormal region and the application form is filtered out; otherwise, the application form is submitted to the local data service system; and
[0125] The isolation list update module 1230 is used to receive an application form in the local data service system, and determine whether there is a local data service failure in the area to which the application form belongs based on the service fault judgment module built into the local data service system; if so, the area to which the application form belongs is added to the regional isolation list to update the regional isolation list.
[0126] It should be noted that the device part in the embodiment of the present disclosure corresponds to the method part in the embodiment of the present disclosure. The description of the abnormal area data service isolation device part specifically refers to the abnormal area data service isolation method part, which will not be repeated here.
[0127] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in 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, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0128] For example, any multiple of the database creation module 1210, the abnormal area filtering module 1220, and the isolation list update module 1230 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the database creation module 1210, the abnormal area filtering module 1220, and the isolation list update module 1230 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 an appropriate combination of any of them. Alternatively, at least one of the database creation module 1210, the abnormal area filtering module 1220 and the isolation list updating module 1230 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0129] Fig.13 The block diagram of an electronic device according to an embodiment of the present invention is schematically shown. Fig.13 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0130] like Fig.13 As shown, the electronic device 1300 includes a processor 1310 and a computer-readable storage medium 1320. The electronic device 1300 can execute the abnormal region data service isolation method according to the embodiment of the present disclosure.
[0131] Specifically, the processor 1310 may include, for example, a general-purpose microprocessor, an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1310 may also include an onboard memory for cache purposes. The processor 1310 may be a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0132] Computer-readable storage medium 1320, for example, can be a non-volatile computer-readable storage medium, and specific examples include but are not limited to: magnetic storage devices, such as magnetic tapes or hard disks (HDDs); optical storage devices, such as compact disks (CD-ROMs); memories, such as random access memories (RAMs) or flash memories; and the like.
[0133] The computer-readable storage medium 1320 may include a computer program 1321 , which may include code / computer-executable instructions that, when executed by the processor 1310 , cause the processor 1310 to perform a method according to an embodiment of the present disclosure or any variation thereof.
[0134] The computer program 1321 may be configured to have, for example, a computer program code including a computer program module. For example, in an example embodiment, the code in the computer program 1321 may include one or more program modules, for example, including 1321A, module 1321B, ... It should be noted that the division method and number of modules are not fixed, and those skilled in the art may use appropriate program modules or program module combinations according to actual conditions, and when these program module combinations are executed by the processor 1310, the processor 1310 may execute the method according to the embodiment of the present disclosure or any variation thereof.
[0135] According to an embodiment of the present disclosure, at least one of the database creation module 1210, the abnormal region filtering module 1220, and the isolation list updating module 1230 may be implemented as a reference. Fig.13 The computer program modules described herein, when executed by the processor 1310, can implement the corresponding operations described above.
[0136] 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 abnormal region data service isolation method according to the embodiment of the present disclosure is implemented.
[0137] 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.
[0138] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0139] 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 separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. 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 method for isolating data services in abnormal areas, applied to a local data service system, comprising: Creating a central database for recording regional isolation lists, creating an application filter for filtering application forms from abnormal regions, and establishing communication connections between the central database and the local data service system and the application filter respectively; The application filter responds to the received application form and determines whether the region to which the application form belongs is in the regional isolation list. If so, the region to which the application form belongs is an abnormal region and the application form is filtered out; otherwise, the application form is submitted to the local data service system; The local data service system receives the application form and determines whether there is a local data service fault in the area to which the application form belongs according to a service fault judgment module built into the local data service system; If yes, then the region to which the application belongs is added to the regional isolation list to update the regional isolation list. The local data service system receives the application form and determines whether there is a local data service failure in the area to which the application form belongs according to a service failure judgment module built into the local data service system, including: The local data service system receives the application form and requests to call the local data service of the area to which the application form belongs; The service fault judgment module is used to judge whether the request call has a timeout failure or a fault failure. If so, it is determined that there is a local data service failure in the area to which the application form belongs.
2. The method according to claim 1, wherein: The list of areas to be quarantined includes: Unique regional identifier, regional local data service address, service request parameters, regional service isolation switch, and isolation start time; The service request parameter is used to request whether the detection area service is available.
3. The method according to claim 1, wherein: The judging module judges whether the request call has timed out and failed, including: Determine whether the request call fails within a preset time range.
4. The method according to claim 1, wherein: The judging module judges whether the request call fails, and if so, determines that there is a local data service failure in the area to which the application form belongs, including: Determine whether the number of consecutive failures of the request call within a preset time range reaches a preset number threshold, and if so, determine that there is a local data service failure in the area to which the application form belongs; or It is determined whether the failure frequency of the request call within a preset time range reaches a preset frequency threshold. If yes, it is determined that there is a local data service failure in the area to which the application form belongs.
5. The method according to claim 2, wherein: After the step of adding the region to which the application form belongs to the regional isolation list, the method further includes: The isolation start time of the region to which the application form belongs being added to the regional isolation list is recorded in real time to update the isolation start time in the regional isolation list.
6. The method according to claim 2, wherein: The step of determining whether the region to which the application belongs is included in the regional isolation list includes: The application filter obtains an updated regional quarantine list from the central database; Identify the region to which the application form belongs, and determine whether the region to which the application form belongs is in the regional isolation list by matching and comparing the region to which the application form belongs with the unique identifier of the region.
7. The method according to claim 1, wherein: The method further comprises: Creating a service detector for periodically detecting whether regional services are available, and establishing a communication connection between the central database and the service detector; When the service detector detects that the service of the abnormal area in the regional isolation list is restored and available, the abnormal area is removed to update the regional isolation list.
8. The method according to claim 7, wherein: The step of creating a service probe for periodically detecting whether a regional service is available comprises: Set a timer with a preset firing frequency; The service detector obtains an updated regional isolation list from the central database, and sorts the regional isolation list according to the chronological order of the isolation start time; According to the sorted regional isolation list, a timer is used to periodically trigger the service request parameters transmitted to the abnormal regions in sequence at a preset start frequency, requesting to call the local data service of the abnormal regions; Based on the return result of the request call, it is determined whether the service in the abnormal area is restored and available.
9. The method according to claim 8, wherein: The determining, based on the return result of the request call, whether the service in the abnormal area is restored and available includes: When the returned result is the local service data of the abnormal area, it is determined that the service of the abnormal area is restored and available, and the abnormal area is removed to update the regional isolation list; When the returned result is an abnormal return or the request times out, it is determined that the abnormal area service is unavailable, and the abnormal area continues to be retained in the area isolation list.
10. The method according to claim 8, wherein: The preset activation frequency is once every 30 seconds or once every 10 minutes.
11. The method according to claim 1, wherein: The method further comprises: Creating a regional service isolation master switch for controlling whether to enable the application filter; When the regional service isolation master switch is in the on state, the function of the application filter for filtering application forms in abnormal regions will take effect; otherwise, the function of the application filter for filtering application forms in abnormal regions will be invalid.
12. The method according to claim 1, wherein: The local data service system includes a credit review system.
13. An abnormal area data service isolation device, applied to a local data service system, the device comprising: A database creation module, used to create a central database for recording regional isolation lists, create an application filter for filtering application forms from abnormal regions, and establish communication connections between the central database and the local data service system and the application filter respectively; An abnormal region filtering module is used to determine whether the region to which the application form belongs is in the region isolation list in response to the received application form, and if so, the region to which the application form belongs is an abnormal region and the application form is filtered out; otherwise, the application form is submitted to the local data service system; as well as An isolation list updating module is used to receive the application form in the local data service system and determine whether there is a local data service failure in the area to which the application form belongs according to a service failure judgment module built into the local data service system; If yes, then the region to which the application belongs is added to the regional isolation list to update the regional isolation list. The local data service system receives the application form and determines whether there is a local data service failure in the area to which the application form belongs according to a service failure judgment module built into the local data service system, including: The local data service system receives the application form and requests to call the local data service of the area to which the application form belongs; The service fault judgment module is used to judge whether the request call has a timeout failure or a fault failure. If so, it is determined that there is a local data service failure in the area to which the application form belongs.
14. An electronic device comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 12.
15. A computer-readable storage medium storing computer-executable instructions, wherein the instructions are used to implement the method according to any one of claims 1 to 12 when executed.
