Credit information query method and device, storage medium and electronic device
By configuring the query strategy for the credit data source on the target page, the problem of low query efficiency caused by the inflexibility of data source switching in the existing technology is solved, and fast and efficient credit data query is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- IND CONSUMER FINANCE CO LTD
- Filing Date
- 2023-06-01
- Publication Date
- 2026-04-14
AI Technical Summary
The existing credit inquiry function cannot flexibly switch data source providers, resulting in low continuity and efficiency of data query.
By configuring the query strategy for each credit data source on the target page, including priority and response ratio, you can quickly select the matching target credit data source for querying.
It improves the efficiency of credit data retrieval, reduces retrieval time, and enables fast and efficient data acquisition.
Smart Images

Figure CN116610712B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for querying credit information. Background Technology
[0002] The existing credit inquiry functions are relatively basic and cannot meet the requirements for daily use and management of external data. For example, the existing credit inquiry functions cannot flexibly switch data source providers, cannot guarantee the continuity of data queries, and seriously affect data retrieval.
[0003] There is no effective solution yet to address the problem of low efficiency in querying credit data in related technologies. Summary of the Invention
[0004] This invention provides a method, apparatus, storage medium, and electronic device for querying credit information, in order to at least solve the problem of low query efficiency of credit data in related technologies.
[0005] According to an embodiment of the present invention, a method for querying credit information is provided, comprising: receiving a credit query instruction sent by a first account, wherein the credit query instruction includes attribute information of an object to be queried; determining a target credit data source from N credit data sources that matches the attribute information of the object to be queried, wherein the query strategy corresponding to each credit data source is configured on a target page by a second account, and the query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query instruction, wherein N is a natural number greater than or equal to 1; and responding to the credit query instruction to query the credit information of the object to be queried from the target credit data source.
[0006] According to another embodiment of the present invention, a credit information query device is provided, comprising: a first receiving module, configured to receive a credit query instruction sent by a first account, wherein the credit query instruction includes attribute information of a target object to be queried; a first determining module, configured to determine a target credit data source from N credit data sources that matches the attribute information of the target object to be queried, wherein the query strategy corresponding to each credit data source is configured on a target page by a second account, and the query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query instruction, wherein N is a natural number greater than or equal to 1; and a first query module, configured to respond to the credit query instruction to query the credit information of the target object to be queried from the target credit data source.
[0007] In an exemplary embodiment, the first determining module includes: a first searching unit, configured to search for M credit data sources from N credit data sources that are capable of responding to the credit query instruction, wherein M is less than or equal to N; a first selecting unit, configured to select a credit data source from the M credit data sources whose response ratio is greater than a preset threshold; and a second selecting unit, configured to select the credit data source with the highest priority from the credit data sources whose response ratio is greater than the preset threshold, thereby determining the target credit data source.
[0008] In one exemplary embodiment, the apparatus further includes: a second receiving module, configured to receive a configuration request sent by the second account before determining a target credit data source that matches the attribute information of the object to be queried from N credit data sources, wherein the configuration request includes a query strategy corresponding to each of the credit data sources; and a first response module, configured to respond to the configuration request and configure the query strategy corresponding to each of the credit data sources to the target server through the target page.
[0009] In one exemplary embodiment, the apparatus further includes: a first reading module, configured to, in response to the credit inquiry instruction, read the credit information of the object to be queried from the cache if the cache includes the credit information of the object to be queried, before querying the credit information of the object to be queried from the target credit data source.
[0010] In an exemplary embodiment, the first query module includes: a first storage module, configured to store multiple credit query instructions in a preset order in a data table when multiple credit query instructions are included; and a first sending module, configured to send the data table to the target credit data source to respond to multiple credit query instructions in batches in the target credit data source.
[0011] In an exemplary embodiment, the apparatus further includes: a second storage module, configured to send the data table to the target credit data source, so that after responding to multiple credit query instructions in the target credit data source in batches, the multiple credit information queried from the target credit data source and the corresponding credit query instructions are stored in the data table to obtain a target data table; and a first processing module, configured to display the target data table and cache the target data table.
[0012] In one exemplary embodiment, the apparatus further includes: a third receiving module, configured to receive an anomaly monitoring instruction, wherein the anomaly monitoring instruction includes attribute information of an anomaly monitoring object; a second response module, configured to respond to the anomaly monitoring instruction and obtain call information of the anomaly monitoring object; and a first detection module, configured to detect whether the anomaly monitoring object is abnormal based on the call information of the anomaly monitoring object.
[0013] In an exemplary embodiment, the first detection module includes: a first acquisition unit, configured to acquire the number of connection failures and response time of the target interface from the call information of the target interface when the abnormal monitoring object includes the target interface, wherein the target interface is used to connect to N credit data sources; and a first determination unit, configured to determine whether the target interface is abnormal using the number of connection failures and response time.
[0014] In an exemplary embodiment, the apparatus further includes: a first display module, configured to, after determining whether the target interface is abnormal using the number of connection failures and response time, display the abnormal information of the target interface, the abnormal handling method corresponding to the abnormal information, and the attribute information of the target interface on the target page if it is determined that the target interface is in an abnormal state.
[0015] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0016] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0017] This invention allows for the configuration of priority and response ratio for each credit data source on the target page using a second account. This enables the rapid selection of the target credit data source matching the credit query command, allowing for quick retrieval of the credit information of the queried object from the target credit data source. This reduces query time and improves query efficiency. Therefore, it solves the problem of low query efficiency for credit data in related technologies, achieving the effect of improving the efficiency of credit data query. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a hardware structure block diagram of a mobile terminal for a credit information query method according to an embodiment of the present invention.
[0021] Figure 2 This is a flowchart of a credit information query method according to an embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram illustrating the connection between the external data management subsystem and various systems according to an embodiment of the present invention;
[0023] Figure 4 This is a flowchart of a credit information query according to an embodiment of the present invention;
[0024] Figure 5 This is a logical module diagram of an external data management subsystem according to an embodiment of the present invention;
[0025] Figure 6 This is a schematic diagram illustrating the interaction between various nodes in the user and external data management subsystem according to an embodiment of the present invention;
[0026] Figure 7 This is a structural block diagram of a credit information query device according to an embodiment of the present invention. Detailed Implementation
[0027] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0029] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a credit information query method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0030] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the credit information query method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0031] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0032] This embodiment provides a method for querying credit information. Figure 2 This is a flowchart of a credit information query method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:
[0033] Step S202: Receive a credit inquiry instruction sent by the first account, wherein the credit inquiry instruction includes the attribute information of the object to be queried;
[0034] Step S204: Determine the target credit data source that matches the attribute information of the object to be queried from N credit data sources. The query strategy corresponding to each credit data source is configured on the target page through the second account. The query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query command. N is a natural number greater than or equal to 1.
[0035] Step S206: Respond to the credit inquiry instruction to query the credit information of the object to be queried from the target credit data source.
[0036] The entity performing the above steps may be a terminal, a server, a specific processor set in the terminal or server, or a processor or processing device set up relatively independently of the terminal or server, but is not limited to these.
[0037] By configuring the priority and response ratio of each credit data source on the target page using the second account through the above steps, the target credit data source matching the credit query command can be quickly selected on the target page. This allows for rapid retrieval of the credit information of the object being queried from the target credit data source, reducing query time and improving query efficiency. Therefore, this solves the problem of low query efficiency for credit data in related technologies, achieving the effect of improving the efficiency of credit data query.
[0038] In this embodiment, the value of N can be flexibly set based on the actual application scenario or the required number of credit data sources. For example, two target credit data sources that match the attribute information of the object to be queried can be determined from five credit data sources. The five credit data sources can be data sources from the same supplier or data sources from different suppliers, and are not limited to this.
[0039] In this embodiment, the first account can be the account of a user who needs to query credit information. The user enters a credit query command into the input box on the page via a terminal device. The second account can be the administrator's account; after logging in, the administrator configures the credit data source information on the target page.
[0040] Optionally, the credit information query method in this embodiment includes, but is not limited to, its application in an external data management subsystem for credit information. This external data management subsystem is connected to the approval system and external credit data sources, and also to various gateways. For example... Figure 3The diagram illustrates the connections between the external data management subsystem and various systems in this embodiment. The external data management subsystem is connected to the credit approval system to receive credit inquiry requests and query credit information from target credit source data. It is also connected to an SMS gateway to verify login information via SMS when an account logs into the external data management subsystem. Finally, it is connected to a unified identity authentication system to authenticate the account's identity information, thereby ensuring the security of account login. For example, as... Figure 4 The diagram shows a flowchart of the credit information query process when the external data management subsystem connects to the credit approval system, including the following steps:
[0041] S401, The credit approval system initiates a credit information source query request;
[0042] S402, the external data management subsystem determines whether there is cached data corresponding to the query request locally;
[0043] S403, when the external data management subsystem determines that there is no cached data corresponding to the query request locally, it sends a query request to the external credit source (corresponding to the credit data source mentioned above); the external credit source receives the query request and begins the query.
[0044] S404, The external data management subsystem receives query results from external credit sources;
[0045] S405, the external data management subsystem caches the query results in the database;
[0046] S406, The external data management subsystem returns query results to the approval system;
[0047] S407, During the second query, the approval system sends a result query request to the external data management subsystem;
[0048] S408, the external data management subsystem queries from the local cache;
[0049] S409, the approval system receives a credit inquiry request returned by the external data management subsystem, and can then obtain credit information from the query results.
[0050] Optionally, the external data management subsystem may also include other functions, such as... Figure 5 The diagram shown is a logical module diagram of the external data management subsystem. The external data management subsystem includes multiple layers: an application-specific layer, used for statistical analysis, data query, vendor query, early warning management, etc. of credit data; a general business layer, used for system management, user management, etc.; and a business-independent layer, used to provide gateway services, log services, etc.
[0051] like Figure 6 The diagram shown is a schematic of the interaction between the user and the various nodes in the external data management subsystem. The information of each node is shown in Table 1.
[0052] Table 1:
[0053]
[0054]
[0055] In this embodiment, the external data management subsystem has the following performance characteristics:
[0056] Front-end data query performance: The external data management subsystem is a security level 2 system with more than ten million data records in the table. The performance of front-end data query includes: partitioning the large table by time and storing historical data and current data in separate tables; creating indexes appropriately; and preprocessing complex queries before storing the results, trading space for time to improve query efficiency.
[0057] For scalability, the external data management subsystem is deployed independently as three services: credit reporting, configuration, and gateway, facilitating horizontal scaling of application servers. The application servers employ a cluster deployment mode and utilize a minimum number of connections to achieve load balancing for application processing. This cluster deployment enhances the scalability of the external data management subsystem architecture; the functional modules adhere to the principle of high cohesion and loose coupling, further improving software scalability.
[0058] Availability: The external data management subsystem operates 24 / 7. High availability measures include: application servers are deployed in clusters to improve their availability; database servers use a MySQL master-slave cluster solution to improve continuous database service capabilities; and single points of failure for both database servers and application servers are eliminated.
[0059] In an exemplary embodiment, determining the target credit data source matching the attribute information of the object to be queried from N credit data sources includes: searching for M credit data sources capable of responding to credit query instructions from the N credit data sources, where M is less than or equal to N; selecting credit data sources with a response ratio greater than a preset threshold from the M credit data sources; and selecting the credit data source with the highest priority from the credit data sources with a response ratio greater than the preset threshold to determine the target credit data source. In this embodiment, the M credit data sources capable of responding to credit query instructions can be from the same supplier or from different suppliers. The information of the credit data sources is set on the target page through a second account. The target page can be the data configuration page of an external data management subsystem. For example, after logging into the external data management subsystem, the user clicks on
Configuration Management - Data Source Management
Data Source Number
Basic Information
Interface Statistics
Response Parameters
[0060] Table 2:
[0061]
[0062]
[0063]
[0064]
[0065] This embodiment configures credit data sources in the system, thereby enabling the rapid identification of M credit data sources capable of responding to credit query commands from among N credit data sources.
[0066] In an exemplary embodiment, before determining the target credit data source matching the attribute information of the object to be queried from N credit data sources, the method further includes: receiving a configuration request sent by a second account, wherein the configuration request includes a query strategy corresponding to each credit data source; responding to the configuration request and configuring the query strategy corresponding to each credit data source to the target server through the target page. In this embodiment, the query strategy is mainly determined based on the routing settings. The priority and proportion of each route are configured in the target page, and the priority and percentage of each credit data source are configured according to the priority and proportion of the routes. The query time of the credit data source can also be configured. This allows for the rapid finding of a suitable credit data source.
[0067] In one exemplary embodiment, before responding to a credit information query instruction to query the credit information of the object to be queried from a target credit information data source, the method further includes: if the credit information of the object to be queried is included in a cache, reading the credit information of the object to be queried from the cache. In this embodiment, after multiple credit information queries, the queried credit information is cached, so that the credit information can be quickly found in the next query without frequent access to the credit information data source.
[0068] In one exemplary embodiment, responding to a credit inquiry instruction to query the credit information of a target object from a target credit data source includes: storing multiple credit inquiry instructions in a data table according to a preset order when multiple credit inquiry instructions are included; sending the data table to the target credit data source to respond to multiple credit inquiry instructions in batches within the target credit data source. In this embodiment, storing multiple credit inquiry instructions in a data table enables batch querying of multiple credit inquiry instructions, thereby saving query time. After sending the data table to the target credit data source to respond to multiple credit inquiry instructions in batches within the target credit data source, the multiple credit information queried from the target credit data source and the corresponding credit inquiry instructions are stored in the data table to obtain a target data table; displaying the target data table and caching the target data table. This enables batch output of credit information, improving the efficiency of credit information querying.
[0069] In one exemplary embodiment, the method further includes: receiving an anomaly monitoring instruction, wherein the anomaly monitoring instruction includes attribute information of an anomaly monitoring object; responding to the anomaly monitoring instruction and obtaining call information of the anomaly monitoring object; and detecting whether the anomaly monitoring object is abnormal based on the call information of the anomaly monitoring object. In this embodiment, the anomaly monitoring instruction includes, but is not limited to, instructions issued by a user account or an administrator account. It can also be an instruction pre-configured in the system, which monitors a specific object according to the anomaly monitoring instruction, for example, monitoring a data interface, thereby enabling real-time determination of whether the data interface is abnormal.
[0070] Optionally, detecting whether an abnormal monitoring object is abnormal based on the call information of the abnormal monitoring object includes: when the abnormal monitoring object includes a target interface, obtaining the number of connection failures and response time of the target interface from the call information of the target interface, wherein the target interface is used to connect to N credit data sources; and using the number of connection failures and response time to determine whether the target interface is abnormal.
[0071] In this embodiment, the interface monitoring process includes: logging into the system, clicking on [Statistical Analysis - Interface Statistics], and entering the interface statistics interface. Interface monitoring is shown in Table 3.
[0072] Table 3:
[0073]
[0074]
[0075] This embodiment can obtain the transmission performance of the interface in real time by monitoring the call status of the interface.
[0076] In one exemplary embodiment, after determining whether a target interface is abnormal using the number of connection failures and response time, the method includes: if it is determined that the target interface is in an abnormal state, displaying the abnormal information of the target interface, the corresponding abnormal handling method, and the attribute information of the target interface on the target page. In this embodiment, the monitoring and early warning of the interface are shown in Table 4.
[0077] Table 4:
[0078]
[0079]
[0080] Optionally, this embodiment can also set the number of times the interface is monitored, the monitoring time, and the alarm method. For example, if the abnormal time of the interface is greater than 5 minutes, an alarm can be triggered according to the set warning method, as shown in Table 5.
[0081] Table 5:
[0082]
[0083]
[0084] This embodiment can detect interface anomalies in real time by monitoring interface anomalies and make timely adjustments to data queries.
[0085] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0086] This embodiment also provides a credit information query device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0087] Figure 7 This is a structural block diagram of a credit information query device according to an embodiment of the present invention, such as... Figure 7 As shown, the device includes:
[0088] The first receiving module 72 is used to receive a credit inquiry instruction sent by the first account, wherein the credit inquiry instruction includes attribute information of the object to be queried;
[0089] The first determining module 74 is used to determine the target credit data source that matches the attribute information of the object to be queried from N credit data sources. The query strategy corresponding to each credit data source is configured on the target page through the second account. The query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query command. N is a natural number greater than or equal to 1.
[0090] The first query module 76 is used to respond to credit query instructions to query the credit information of the object to be queried from the target credit data source.
[0091] In an exemplary embodiment, the first determining module includes: a first searching unit, configured to search for M credit data sources from N credit data sources that are capable of responding to the credit query instruction, wherein M is less than or equal to N; a first selecting unit, configured to select a credit data source from the M credit data sources whose response ratio is greater than a preset threshold; and a second selecting unit, configured to select the credit data source with the highest priority from the credit data sources whose response ratio is greater than the preset threshold, thereby determining the target credit data source.
[0092] In one exemplary embodiment, the apparatus further includes: a second receiving module, configured to receive a configuration request sent by the second account before determining a target credit data source that matches the attribute information of the object to be queried from N credit data sources, wherein the configuration request includes a query strategy corresponding to each of the credit data sources; and a first response module, configured to respond to the configuration request and configure the query strategy corresponding to each of the credit data sources to the target server through the target page.
[0093] In one exemplary embodiment, the apparatus further includes: a first reading module, configured to, in response to the credit inquiry instruction, read the credit information of the object to be queried from the cache if the cache includes the credit information of the object to be queried, before querying the credit information of the object to be queried from the target credit data source.
[0094] In an exemplary embodiment, the first query module includes: a first storage module, configured to store multiple credit query instructions in a preset order in a data table when multiple credit query instructions are included; and a first sending module, configured to send the data table to the target credit data source to respond to multiple credit query instructions in batches in the target credit data source.
[0095] In an exemplary embodiment, the apparatus further includes: a second storage module, configured to send the data table to the target credit data source, so that after responding to multiple credit query instructions in the target credit data source in batches, the multiple credit information queried from the target credit data source and the corresponding credit query instructions are stored in the data table to obtain a target data table; and a first processing module, configured to display the target data table and cache the target data table.
[0096] In one exemplary embodiment, the apparatus further includes: a third receiving module, configured to receive an anomaly monitoring instruction, wherein the anomaly monitoring instruction includes attribute information of an anomaly monitoring object; a second response module, configured to respond to the anomaly monitoring instruction and obtain call information of the anomaly monitoring object; and a first detection module, configured to detect whether the anomaly monitoring object is abnormal based on the call information of the anomaly monitoring object.
[0097] In an exemplary embodiment, the first detection module includes: a first acquisition unit, configured to acquire the number of connection failures and response time of the target interface from the call information of the target interface when the abnormal monitoring object includes the target interface, wherein the target interface is used to connect to N credit data sources; and a first determination unit, configured to determine whether the target interface is abnormal using the number of connection failures and response time.
[0098] In an exemplary embodiment, the apparatus further includes: a first display module, configured to, after determining whether the target interface is abnormal using the number of connection failures and response time, display the abnormal information of the target interface, the abnormal handling method corresponding to the abnormal information, and the attribute information of the target interface on the target page if it is determined that the target interface is in an abnormal state.
[0099] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0100] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0101] In this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the above steps.
[0102] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0103] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0104] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0105] In one exemplary embodiment, the processor described above may be configured to perform the above steps via a computer program.
[0106] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0107] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0108] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for querying credit information, characterized in that, include: Receive a credit inquiry instruction sent by the first account, wherein the credit inquiry instruction includes attribute information of the object to be queried; From N credit data sources, find M credit data sources that are capable of responding to the credit query command, wherein M is less than or equal to N; Select a credit data source from the M credit data sources whose response ratio is greater than a preset threshold; The highest priority credit data source is selected from the credit data sources with a response ratio greater than a preset threshold to determine the target credit data source. The query strategy corresponding to each credit data source is configured on the target page through a second account. The query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query instruction. N is a natural number greater than or equal to 1. In response to the credit inquiry instruction, the credit information of the object to be queried is retrieved from the target credit data source.
2. The method according to claim 1, characterized in that, Before searching for M credit data sources from N credit data sources that are capable of responding to the credit query command, the method further includes: Receive a configuration request sent by the second account, wherein the configuration request includes a query strategy corresponding to each of the credit data sources; In response to the configuration request, the query strategy corresponding to each credit data source is configured to the target server through the target page.
3. The method according to claim 1, characterized in that, Before responding to the credit inquiry instruction to query the credit information of the object to be queried from the target credit data source, the method further includes: If the cache includes the credit information of the object to be queried, the credit information of the object to be queried is read from the cache.
4. The method according to claim 1, characterized in that, Responding to the credit inquiry instruction to query the credit information of the object to be queried from the target credit data source includes: In the case of multiple credit inquiry instructions, the multiple credit inquiry instructions are stored in a data table in a preset order; The data table is sent to the target credit data source to respond to multiple credit query commands in batches within the target credit data source.
5. The method according to claim 4, characterized in that, After sending the data table to the target credit data source to respond to multiple credit query commands in batches in the target credit data source, the method further includes: Multiple credit information items and corresponding credit query instructions obtained from the target credit data source are stored in the data table to obtain the target data table; Display the target data table and cache the target data table.
6. The method according to claim 1, characterized in that, The method further includes: Receive an anomaly monitoring instruction, wherein the anomaly monitoring instruction includes attribute information of the anomaly monitoring object; In response to the anomaly monitoring command, obtain the call information of the anomaly monitoring object; The system detects whether the abnormal monitoring object is abnormal based on the call information of the abnormal monitoring object.
7. The method according to claim 6, characterized in that, Detecting whether the abnormal monitoring object is abnormal based on the call information of the abnormal monitoring object includes: When the abnormal monitoring object includes a target interface, the number of connection failures and response time of the target interface are obtained from the call information of the target interface, wherein the target interface is used to connect to N credit data sources; The number of connection failures and response time are used to determine whether the target interface is abnormal.
8. The method according to claim 7, characterized in that, After determining whether the target interface is abnormal using the number of connection failures and response time, the method includes: If it is determined that the target interface is in an abnormal state, the abnormal information of the target interface, the abnormal handling method corresponding to the abnormal information, and the attribute information of the target interface are displayed on the target page.
9. A credit information query device, characterized in that, include: The first receiving module is used to receive a credit inquiry instruction sent by the first account, wherein the credit inquiry instruction includes attribute information of the object to be queried; The first determining module is used to find M credit data sources from N credit data sources that are capable of responding to the credit query instruction, wherein M is less than or equal to N; select credit data sources from the M credit data sources whose response ratio is greater than a preset threshold; select the credit data source with the highest priority from the credit data sources whose response ratio is greater than the preset threshold, thereby determining the target credit data source, wherein the query strategy corresponding to each credit data source is configured on the target page through a second account, and the query strategy corresponding to each credit data source includes the priority and response ratio of each credit data source in responding to the credit query instruction, wherein N is a natural number greater than or equal to 1; The first query module is used to respond to the credit query instruction to query the credit information of the object to be queried from the target credit data source.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 8 through the computer program.
Citation Information
Patent Citations
Credit investigation business query method and apparatus, and computer readable storage medium
CN107943854A
Post-loan credit investigation query method and device
CN111984681A