Agent information query method and device, equipment, storage medium and program product
By dividing the transaction institution into multiple institutional clusters and setting up an agent registration book, and using the organizational identification and business identification in the query instructions to determine the target cluster and registration book, the efficiency of lending agency information query is improved, and the problem of low query efficiency in the existing technology is solved.
Patent Information
- Application Number
- CN202411665621.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-04
AI Technical Summary
The amount of information and data of the lending agent is large and the query efficiency is low, which leads to banks facing operation and maintenance pressure and efficiency problems during verification and query.
By dividing the transaction institution into multiple institutional clusters according to preset dimensions, each cluster has a corresponding agent registration book, and the query instructions include the organization identity and business identity to determine the target cluster and registration book, thereby obtaining the target agent information.
It improves the efficiency of agent information query, reduces the amount of data in a single agent registration book, reduces the operation and maintenance pressure during information query, and when an abnormality occurs in a single institutional cluster, other clusters can still provide services, improving flexibility and stability.
Smart Images

Figure CN119557341A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data management technology, and in particular to an agent information query method, device, equipment, storage medium and program product. Background Art
[0002] Lending agents are third parties that conduct lending activities on behalf of banks, financial institutions or borrowers. They connect borrowers, loan facilitation companies and banks, provide loan services to borrowers, and assist banks in loan approval, issuance and recovery.
[0003] In order to effectively prevent internal and external fraud risks, further standardize bank personal deposit account opening and online banking business, and strengthen employee behavior management, banks usually need to record the information of loan agents in an agent registration book for subsequent verification and inquiry.
[0004] However, due to the rapid turnover of personnel and the high frequency of agency business, the amount of data of the information of the loan entrusting agent is large, and the agent register stores a lot of data. Therefore, the efficiency is low when searching the information of the loan entrusting agent in the agent register. Summary of the invention
[0005] Based on this, it is necessary to provide an agent information query method, device, equipment, storage medium and program product that can improve the information query efficiency of loan entrustment agents in response to the above technical problems.
[0006] In a first aspect, the present application provides an agent information query method. The method comprises:
[0007] Obtaining a query instruction, the query instruction is used to query agent information; the query instruction includes at least one of an institution identifier of a trading institution to which the agent to be queried belongs, an agent identifier of the agent to be queried, and agent information corresponding to the agent to be queried;
[0008] When the query instruction includes an institution identifier and a business identifier, determining the target transaction institution to which the agent to be queried belongs according to the institution identifier;
[0009] Determine the target institution cluster to which the target trading institution belongs;
[0010] The target agent information corresponding to the business identifier is obtained from the target agent registration book corresponding to the target organization cluster.
[0011] In one embodiment, when the query instruction includes an institution identifier and an agent identifier to be queried, before determining the target institution cluster to which the institution identifier belongs, the method further includes:
[0012] Divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution;
[0013] Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the association information of the corresponding institution cluster, and the association information includes the information of each agent in the at least one transaction institution, and the business identifier associated with each agent information;
[0014] The preset dimension includes at least one of the following:
[0015] The geographical location of the trading organization;
[0016] The type of trading organization;
[0017] The size of the trading organization.
[0018] In one embodiment, the method further comprises:
[0019] When the query instruction includes a business identifier but does not include an institution identifier, target agent information corresponding to the business identifier is obtained from an agent registration book corresponding to the plurality of institution clusters according to the business identifier.
[0020] In one embodiment, the method further comprises:
[0021] A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0022] In one embodiment, obtaining the target agent information corresponding to the service identifier from the target agent registration book corresponding to the target organization cluster includes:
[0023] Invoking a target query application configured for the target agent register to obtain target agent information corresponding to the service identifier from the target agent register;
[0024] The step of obtaining target agent information corresponding to the business identifier from an agent registration book corresponding to the plurality of organization clusters includes:
[0025] The query application programs configured for each agent registration book are respectively called to obtain the target agent information corresponding to the business identifier from each agent registration book.
[0026] In one embodiment, the acquiring the target agent information corresponding to the service identifier includes:
[0027] Arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list;
[0028] The first preset number of agent information in the candidate list is determined as the target agent information.
[0029] In a second aspect, the present application also provides an agent information query device. The device includes:
[0030] A first acquisition module is used to acquire a query instruction, the query instruction is used to query agent information; the query instruction includes the institution identifier of the trading institution to which the agent to be queried belongs, and / or the agent identifier of the agent to be queried, and / or the principal information corresponding to the agent to be queried;
[0031] A determination module, used for determining the target transaction institution to which the agent to be queried belongs, and determining the target institution cluster to which the target transaction institution belongs, according to the institution identifier, when the query instruction includes the institution identifier and the business identifier;
[0032] The second acquisition module is used to acquire the target agent information corresponding to the business identifier from the target agent registration book set corresponding to the target organization cluster.
[0033] In one embodiment, when the query instruction includes an organization identifier and an agent identifier to be queried, before determining the target organization cluster to which the organization identifier belongs, the device further includes:
[0034] A division module, used to divide a number of trading institutions into a plurality of institution clusters according to a preset dimension; one institution cluster corresponds to at least one trading institution;
[0035] Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the association information of the corresponding institution cluster, and the association information includes the information of each agent in the at least one transaction institution, and the business identifier associated with each agent information;
[0036] The preset dimension includes at least one of the following:
[0037] The geographical location of the trading organization;
[0038] The type of trading organization;
[0039] The size of the trading organization.
[0040] In one embodiment, the device further comprises:
[0041] The third acquisition module is used to obtain target agent information corresponding to the business identifier from the agent registration book corresponding to the multiple institution clusters according to the business identifier when the query instruction includes the business identifier but does not include the institution identifier.
[0042] In one embodiment, the device further comprises:
[0043] The setting module is used to configure a query application for the agent registration book corresponding to each organization cluster, and when the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0044] In one embodiment, the second acquisition module includes:
[0045] A first calling unit is used to call a target query application configured for the target agent register to obtain target agent information corresponding to the service identifier from the target agent register;
[0046] The third acquisition module includes:
[0047] The second calling unit is used to call the query application configured for each agent registration book respectively to obtain the target agent information corresponding to the business identifier from each agent registration book.
[0048] In one embodiment, the second acquisition module includes:
[0049] A sorting unit, used to sort the agent information corresponding to the service identifier in chronological order to obtain a candidate list;
[0050] The determining unit is used to determine the first preset number of agent information in the candidate list as the target agent information.
[0051] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.
[0052] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.
[0053] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the above methods when executed by a processor.
[0054] The above-mentioned agent information query method, device, equipment, storage medium and program product obtain a query instruction for querying agent information, and when the query instruction includes an organization identifier and a business identifier, determine the target organization cluster to which the organization identifier belongs, and then obtain the target agent information corresponding to the business identifier from the target agent registration book set corresponding to the target organization cluster, so that the agent information can be accurately found from the agent registration book corresponding to each organization cluster, reducing the amount of data in a single agent registration book, reducing the operation and maintenance pressure during information query, and thus improving the efficiency of agent information query. In addition, when an abnormality occurs in a single organization cluster, other organization clusters can still provide services, which improves the flexibility and stability of the agent registration book. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] FIG1 is an internal structure diagram of a computer device provided in an embodiment of the present application;
[0056] FIG2 is a flow chart of an agent information query method provided in an embodiment of the present application;
[0057] FIG3 is a schematic diagram of a process for querying agent registration data provided by an embodiment of the present application;
[0058] FIG4 is a schematic diagram of a process for adding, deleting and modifying data in an agent registration book provided by an embodiment of the present application;
[0059] FIG5 is a schematic diagram of another process of querying agent registration data provided by an embodiment of the present application;
[0060] FIG6 is a flow chart of a method for determining target agent information provided in an embodiment of the present application;
[0061] FIG7 is a flow chart of a method for implementing an agent registration book provided in an embodiment of the present application;
[0062] FIG8 is a structural block diagram of an agent information query device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0064] Lending agents are third parties that conduct lending activities on behalf of banks, financial institutions or borrowers. They connect borrowers, loan facilitation companies and banks, provide loan services to borrowers, and assist banks in loan approval, issuance and recovery.
[0065] In order to effectively prevent internal and external fraud risks, further standardize bank personal deposit account opening and online banking business, and strengthen employee behavior management, banks usually need to record the information of loan agents in an agent registration book for subsequent verification and inquiry.
[0066] However, due to the rapid turnover of personnel and the high frequency of agency business, the amount of data of the information of the loan entrusting agent is large, and the agent register stores a lot of data. Therefore, the efficiency is low when searching the information of the loan entrusting agent in the agent register.
[0067] The agent information query method provided in the embodiment of the present application can be applied in the application environment as shown in Figure 1. Figure 1 is an internal structure diagram of a computer device provided in the embodiment of the present application. The computer device can be a server, and its internal structure diagram can be as shown in Figure 1. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an agent information query method is implemented.
[0068] Those skilled in the art will understand that the structure shown in FIG. 1 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] In one embodiment, as shown in FIG. 2 , FIG. 2 is a flow chart of an agent information query method provided in an embodiment of the present application. The method can be applied to the computer device in FIG. 1 . The method includes the following steps:
[0070] S201, obtaining a query instruction.
[0071] Among them, the query instruction is used to query the agent information.
[0072] Exemplarily, the query instruction input by the user can be obtained through the front-end page.
[0073] The query instruction may include, for example, the institution identifier of the trading institution to which the agent information to be queried belongs, and / or the agent identifier of the agent information to be queried, and / or the agent information of the agent information to be queried.
[0074] S202: When the query instruction includes an institution identifier and a business identifier, determine the target transaction institution to which the agent to be queried belongs according to the institution identifier.
[0075] S203, determining the target institution cluster to which the target trading institution belongs.
[0076] Exemplarily, the business identifier may include, for example, the agent identifier of the agent information to be queried, and / or the principal identifier of the agent information to be queried, etc. The agent identifier may be, for example, the agent account number, and the principal identifier may be, for example, the certificate information of the principal, etc.
[0077] In one embodiment, several existing trading institutions may be divided into multiple institution clusters according to a preset division dimension, and each institution cluster includes at least one trading institution.
[0078] The preset division dimensions may include, for example, at least one of the geographical location, type, and scale of the trading organization.
[0079] In an embodiment of the present application, when the query instruction includes an institution identifier and a business identifier, the transaction institution to which the agent to be queried belongs can be determined based on the institution identifier, and then the target institution cluster to which the transaction institution to which the agent to be queried belongs can be determined.
[0080] S204, acquiring target agent information corresponding to the business identifier from a target agent registration book corresponding to the target organization cluster.
[0081] In one embodiment, an agent registration book is correspondingly set for one organization cluster, and the information of each agent in the organization cluster is stored in the corresponding agent registration book.
[0082] Among them, an agent registration book can be stored in a database, so that the agent information in the agent registration book can be added, deleted, modified and queried with the help of the database.
[0083] Exemplarily, a query application may be configured for the agent registration book to perform operations of adding, deleting, modifying and querying the database storing the agent registration book.
[0084] In the embodiment of the present application, a target query application configured for the target organization cluster may be called to obtain target agent information corresponding to the business identifier.
[0085] For example, refer to Figure 3, which is a flow chart of an agent registration book query data provided by an embodiment of the present application. As shown in Figure 3, several existing trading institutions can be divided into four institution clusters according to the geographical location of the trading institutions. When the query instruction includes an institution identifier and a business identifier, the target institution cluster to which the institution identifier belongs is determined, and then the target query application configured for the target institution cluster is called to query the target agent information corresponding to the business identifier from the database storing the target agent registration book.
[0086] In the embodiment of the present application, by obtaining a query instruction for querying agent information, when the query instruction includes an institution ID and a business ID, the target institution cluster to which the institution ID belongs is determined, and then the target agent information corresponding to the business ID is obtained from the target agent register corresponding to the target institution cluster, so that the agent information can be accurately found from the agent register corresponding to each institution cluster, reducing the amount of data in a single agent register, reducing the operation and maintenance pressure during information query, and thus improving the efficiency of agent information query. Moreover, when an abnormality occurs in a single institution cluster, other institution clusters can still provide services, which improves the flexibility and stability of the agent register.
[0087] Based on the above embodiment, before the above S202, the method further includes the following steps:
[0088] Several trading institutions are divided into multiple institutional clusters according to preset dimensions.
[0089] Among them, one institution cluster corresponds to at least one trading institution, and each institution cluster corresponds to an agent registration book, which stores the associated information under the corresponding institution cluster, including the information of each agent in at least one trading institution, and the business identifier associated with each agent information.
[0090] The preset dimensions include at least one of the following: geographical location of the trading institution, type of the trading institution, and size of the trading institution.
[0091] In one embodiment, several existing trading institutions can be divided into multiple institution clusters according to preset dimensions, and each institution cluster includes at least one trading institution. One institution cluster is correspondingly provided with an agent registration book, and the information of each agent in the institution cluster is stored in the agent registration book stored correspondingly thereto. One agent registration book can be stored in a database, so that the agent information in the agent registration book can be added, deleted, modified and queried with the help of the database.
[0092] For example, refer to Figure 4, which is a flow chart of adding, deleting and modifying data in an agent registration book provided by an embodiment of the present application. The user's add, delete and modify operation request (for example, including pre-registration, in-process registration, post-recording, post-modification and post-deletion) can be obtained, and the transaction institution to which the agent to be operated belongs is determined according to the institution identifier in the operation request, and then the institution cluster to which the transaction institution to which the agent to be operated belongs is determined, and then the application configured for the institution cluster is called to perform corresponding operations on the agent registration book according to the operation request.
[0093] In the embodiment of the present application, several trading institutions are divided into multiple institution clusters according to preset dimensions, one institution cluster corresponds to at least one trading institution, and each institution cluster corresponds to an agent registration book, in which the agent registration book stores the associated information under the corresponding institution cluster, and the associated information includes the information of each agent in at least one trading institution, and the business identifier associated with each agent information, thereby reducing the amount of data stored in a single agent registration book, reducing the operation and maintenance pressure when operating the agent registration book, and thus improving the efficiency of adding, deleting, modifying and checking agent information. In addition, when an abnormality occurs in a single institution cluster, other institution clusters can still provide services, which improves the flexibility and stability of the agent registration book.
[0094] Based on the above embodiment, the method further includes the following steps:
[0095] When the query instruction includes the business identifier but does not include the organization identifier, target agent information corresponding to the business identifier is obtained from agent registration books corresponding to multiple organization clusters according to the business identifier.
[0096] In a possible implementation, when the query instruction includes only the business identifier but not the organization identifier, that is, when the query instruction includes only the agent identifier and / or the agent identifier, the query application configured for each agent register can be called respectively to obtain the target agent information corresponding to the business identifier from each agent register. It should be noted that in this case, the target agent information may come from different agent registers.
[0097] For example, refer to Figure 5, which is a flow chart of another agent registration book query data provided by an embodiment of the present application. As shown in Figure 5, the existing several trading institutions can be divided into four institution clusters according to the geographical location of the trading institutions, and then the query application configured for each agent registration book is called by the integrated application to obtain the target agent information corresponding to the business identifier from each agent registration book.
[0098] In the embodiment of the present application, when the query instruction includes the business identifier but does not include the institution identifier, the target agent information corresponding to the business identifier is obtained from the agent registers corresponding to the multiple institution clusters according to the business identifier, so that when querying the target agent information from a large amount of agent information, it can be queried from different agent registers respectively, that is, the query operation is divided into multiple synchronous sub-query operations, which reduces the pressure on the system during the query operation execution process, thereby improving the efficiency of agent information query. In addition, when a single institution cluster is abnormal, other institution clusters can still provide services, which improves the flexibility and stability of the agent register.
[0099] Based on the above embodiment, the method further includes the following steps:
[0100] A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0101] In one embodiment, an application program may be configured for the agent registration book to perform operations of adding, deleting, modifying and checking the database storing the agent registration book.
[0102] The application program may include, for example, querying an application program, adding an application program, modifying an application program, deleting an application program, and the like.
[0103] Exemplarily, when performing a query operation on an agent registration book, a query application configured for the agent registration book may be called to obtain target agent information corresponding to the business identifier from the corresponding agent registration book.
[0104] In the embodiment of the present application, a query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book, so that the target agent information corresponding to the business identifier can be automatically obtained from the agent registration book with the help of the query application, thereby improving the flexibility of agent information query. In addition, configuring a query application for an agent registration book can reduce the pressure on the query application when performing query operations, thereby improving the efficiency of agent information query. In addition, when a single query application is abnormal, other query applications can still provide services, which improves the flexibility and stability of the agent registration book.
[0105] Based on the above embodiment, the above S203 can also be implemented in the following manner:
[0106] A target query application configured for the target agent register is called to obtain target agent information corresponding to the business identifier from the target agent register.
[0107] In the embodiment of the present application, the target query application configured for the target organization cluster can be called to obtain the target agent information corresponding to the business identifier from the database storing the target agent register, so that the target agent information corresponding to the business identifier can be automatically obtained from the agent register with the help of the query application, thereby improving the flexibility of agent information query. In addition, configuring a query application for an agent register can reduce the pressure on the query application when performing query operations, thereby improving the efficiency of agent information query. In addition, when a single query application is abnormal, other query applications can still provide services, which improves the flexibility and stability of the agent register.
[0108] On the basis of the above embodiment, the above-mentioned acquisition of target agent information corresponding to the business identifier from the agent registration books corresponding to the plurality of organization clusters may also be implemented in the following manner:
[0109] The query application configured for each agent register is called respectively to obtain the target agent information corresponding to the business identifier from each agent register.
[0110] In the embodiment of the present application, the query application configured for each agent registration book can be called separately to obtain the target agent information corresponding to the business identifier from the database storing each agent registration book, so that the target agent information corresponding to the business identifier can be automatically obtained from the agent registration book with the help of the query application, thereby improving the flexibility of agent information query. In addition, configuring a query application corresponding to an agent registration book can reduce the pressure on the query application when performing query operations, thereby improving the efficiency of agent information query. In addition, when a single query application is abnormal, other query applications can still provide services, which improves the flexibility and stability of the agent registration book.
[0111] Referring to FIG. 6 , FIG. 6 is a flow chart of a method for determining target agent information provided by an embodiment of the present application. This embodiment relates to a possible implementation method of how to obtain target agent information corresponding to a service identifier. Based on the above embodiment, the above-mentioned acquisition of target agent information corresponding to a service identifier can be implemented by the following steps:
[0112] S601, arranging the agent information corresponding to the business identifier in chronological order to obtain a candidate list.
[0113] In one embodiment, the agent information obtained by calling the query application from the database storing the agent registration book can be arranged in chronological order to obtain the candidate list.
[0114] S602: Determine the first preset number of agent information in the candidate list as target agent information.
[0115] Exemplarily, when the number of agent information in the candidate list is greater than a preset number, the first preset number of agent information in the candidate list may be determined as target agent information, and then the preset number of target agent information is displayed so that the user can view the target agent information.
[0116] After receiving the user's "next page" instruction, in response to the instruction, a preset number of agent information after the target agent information is obtained from the alternative list, and the preset number of agent information after the above target agent information is used as the new target agent information, and then the preset number of target agent information is displayed so that the user can view the target agent information.
[0117] In a possible implementation, the key value of each agent information in the candidate list may be obtained, and then the key value of the agent information is used as the serial number of the agent information to determine the quantity of the agent information through the key value.
[0118] In an embodiment of the present application, the agent information corresponding to the business identifier is arranged in chronological order to obtain an alternative list, and the agent information before a preset number in the alternative list is determined as the target agent information. Therefore, when a large number of agent information is obtained from the database storing the agent registration book by calling the query application, some of the newer agent information can be displayed to the user in chronological order, which is convenient for the user to view the agent information and improves the efficiency of agent information query.
[0119] Referring to FIG. 7 , FIG. 7 is a flow chart of a method for implementing an agent registration book provided in an embodiment of the present application. The method comprises the following steps:
[0120] S701, dividing a number of trading institutions into a plurality of institution clusters according to preset dimensions.
[0121] S702, obtaining a query instruction, where the query instruction is used to query agent information.
[0122] S703: When the query instruction includes an organization identifier and a business identifier, determine the target organization cluster to which the organization identifier belongs.
[0123] S704, calling a target query application configured for the target agent register to obtain target agent information corresponding to the service identifier from the target agent register.
[0124] S705, when the query instruction includes the business identifier but does not include the organization identifier, the query application configured for each agent registration book is called respectively to obtain the target agent information corresponding to the business identifier from each agent registration book.
[0125] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0126] Based on the same inventive concept, the embodiment of the present application also provides an agent information query device for implementing the agent information query method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more agent information query device embodiments provided below can refer to the limitations of the agent information query method above, and will not be repeated here.
[0127] In one embodiment, as shown in FIG8 , FIG8 is a structural block diagram of an agent information query device provided in an embodiment of the present application, and the device 800 includes:
[0128] A first acquisition module is used to acquire a query instruction, the query instruction is used to query agent information; the query instruction includes the institution identifier of the trading institution to which the agent to be queried belongs, and / or the agent identifier of the agent to be queried, and / or the principal information corresponding to the agent to be queried;
[0129] A determination module, used for determining the target transaction institution to which the agent to be queried belongs, and determining the target institution cluster to which the target transaction institution belongs, according to the institution identifier, when the query instruction includes the institution identifier and the business identifier;
[0130] The second acquisition module is used to acquire the target agent information corresponding to the business identifier from the target agent registration book set corresponding to the target organization cluster.
[0131] In one embodiment, the apparatus 800 further includes:
[0132] The division module is used to divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution.
[0133] Among them, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the associated information of the corresponding institution cluster, and the associated information includes the information of each agent in at least one transaction institution, and the business identifier associated with each agent information.
[0134] The preset dimensions include at least one of the following: the geographical location of the trading institution; the type of the trading institution; the size of the trading institution.
[0135] In one embodiment, the apparatus 800 further includes:
[0136] The third acquisition module is used to acquire target agent information corresponding to the business identifier from agent registration books corresponding to multiple organization clusters according to the business identifier when the query instruction includes the business identifier but does not include the organization identifier.
[0137] In one embodiment, the apparatus 800 further includes:
[0138] The setting module is used to configure a query application for the agent registration book corresponding to each organization cluster, and when the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0139] In one embodiment, the second acquisition module 803 includes:
[0140] The first calling unit is used to call a target query application configured for a target agent register to obtain target agent information corresponding to a service identifier from the target agent register.
[0141] The third acquisition module includes:
[0142] The second calling unit is used to call the query application configured for each agent registration book respectively to obtain the target agent information corresponding to the business identifier from each agent registration book.
[0143] In one embodiment, the second acquisition module 803 includes:
[0144] The sorting unit is used to arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list.
[0145] The determination unit is used to determine the first preset number of agent information in the candidate list as the target agent information.
[0146] Each module in the above-mentioned agent information query device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0147] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0148] Obtaining a query instruction, the query instruction is used to query agent information; the query instruction includes at least one of an institution identifier of a trading institution to which the agent to be queried belongs, an agent identifier of the agent to be queried, and agent information corresponding to the agent to be queried;
[0149] When the query instruction includes an institution identifier and a business identifier, determining the target transaction institution to which the agent to be queried belongs according to the institution identifier;
[0150] Determine the target institution cluster to which the target transaction institution belongs;
[0151] The target agent information corresponding to the business identifier is obtained from the target agent registration book corresponding to the target organization cluster.
[0152] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0153] Divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution;
[0154] Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the associated information of the corresponding institution cluster, and the associated information includes the information of each agent in at least one transaction institution, and the business identifier associated with each agent information;
[0155] The preset dimensions include at least one of the following:
[0156] The geographical location of the trading organization;
[0157] Type of trading organization;
[0158] The size of the trading organization.
[0159] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0160] When the query instruction includes the business identifier but does not include the organization identifier, target agent information corresponding to the business identifier is obtained from agent registration books corresponding to multiple organization clusters according to the business identifier.
[0161] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0162] A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0163] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0164] Invoking a target query application configured for the target agent register to obtain target agent information corresponding to the business identifier from the target agent register;
[0165] The query application configured for each agent register is called respectively to obtain the target agent information corresponding to the business identifier from each agent register.
[0166] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0167] Arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list;
[0168] The first preset number of agent information in the candidate list is determined as the target agent information.
[0169] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0170] Obtaining a query instruction, the query instruction is used to query agent information; the query instruction includes at least one of an institution identifier of a trading institution to which the agent to be queried belongs, an agent identifier of the agent to be queried, and agent information corresponding to the agent to be queried;
[0171] When the query instruction includes an institution identifier and a business identifier, determining the target transaction institution to which the agent to be queried belongs according to the institution identifier;
[0172] Determine the target institution cluster to which the target transaction institution belongs;
[0173] The target agent information corresponding to the business identifier is obtained from the target agent registration book corresponding to the target organization cluster.
[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0175] Divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution;
[0176] Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the associated information of the corresponding institution cluster, and the associated information includes the information of each agent in at least one transaction institution, and the business identifier associated with each agent information;
[0177] The preset dimensions include at least one of the following:
[0178] The geographical location of the trading organization;
[0179] Type of trading organization;
[0180] The size of the trading organization.
[0181] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0182] When the query instruction includes the business identifier but does not include the organization identifier, target agent information corresponding to the business identifier is obtained from agent registration books corresponding to multiple organization clusters according to the business identifier.
[0183] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0184] A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0186] Invoking a target query application configured for the target agent register to obtain target agent information corresponding to the business identifier from the target agent register;
[0187] The query application configured for each agent register is called respectively to obtain the target agent information corresponding to the business identifier from each agent register.
[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0189] Arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list;
[0190] The first preset number of agent information in the candidate list is determined as the target agent information.
[0191] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0192] Obtaining a query instruction, the query instruction is used to query agent information; the query instruction includes at least one of an institution identifier of a trading institution to which the agent to be queried belongs, an agent identifier of the agent to be queried, and agent information corresponding to the agent to be queried;
[0193] When the query instruction includes an institution identifier and a business identifier, determining the target transaction institution to which the agent to be queried belongs according to the institution identifier;
[0194] Determine the target institution cluster to which the target transaction institution belongs;
[0195] The target agent information corresponding to the business identifier is obtained from the target agent registration book corresponding to the target organization cluster.
[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0197] Divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution;
[0198] Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the associated information of the corresponding institution cluster, and the associated information includes the information of each agent in at least one transaction institution, and the business identifier associated with each agent information;
[0199] The preset dimensions include at least one of the following:
[0200] The geographical location of the trading organization;
[0201] Type of trading organization;
[0202] The size of the trading organization.
[0203] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0204] When the query instruction includes the business identifier but does not include the organization identifier, target agent information corresponding to the business identifier is obtained from agent registration books corresponding to multiple organization clusters according to the business identifier.
[0205] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0206] A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
[0207] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0208] Invoking a target query application configured for the target agent register to obtain target agent information corresponding to the business identifier from the target agent register;
[0209] The query application configured for each agent register is called respectively to obtain the target agent information corresponding to the business identifier from each agent register.
[0210] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0211] Arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list;
[0212] The first preset number of agent information in the candidate list is determined as the target agent information.
[0213] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0214] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0215] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0216] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for querying agent information, characterized in that: The method comprises: Obtaining a query instruction, the query instruction being used to query agent information; the query instruction including at least one of an institution identifier of a trading institution to which the agent to be queried belongs, an agent identifier of the agent to be queried, and agent information corresponding to the agent to be queried; In the case where the query instruction includes an institution identifier and a business identifier, determining the target transaction institution to which the agent to be queried belongs according to the institution identifier; Determine the target institution cluster to which the target trading institution belongs; The target agent information corresponding to the business identifier is obtained from the target agent registration book corresponding to the target organization cluster.
2. The method according to claim 1, characterized in that In the case where the query instruction includes an institution identifier and an agent identifier to be queried, before determining the target institution cluster to which the institution identifier belongs, the method further includes: Divide a number of trading institutions into multiple institution clusters according to preset dimensions; one institution cluster corresponds to at least one trading institution; Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the association information of the corresponding institution cluster, and the association information includes the information of each agent in the at least one transaction institution, and the business identifier associated with each agent information; The preset dimension includes at least one of the following: The geographical location of the trading organization; The type of trading institution in question; The size of the trading organization.
3. The method according to claim 2, characterized in that The method further comprises: When the query instruction includes a business identifier but does not include an institution identifier, target agent information corresponding to the business identifier is obtained from agent registration books corresponding to the plurality of institution clusters according to the business identifier.
4. The method according to claim 3, characterized in that The method further comprises: A query application is configured for the agent registration book corresponding to each organization cluster. When the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
5. The method according to claim 4, characterized in that The step of obtaining target agent information corresponding to the service identifier from a target agent registration book corresponding to the target organization cluster includes: Invoking a target query application configured for the target agent register to obtain target agent information corresponding to the service identifier from the target agent register; The step of acquiring target agent information corresponding to the business identifier from agent registration books corresponding to the plurality of organization clusters includes: The query application programs configured for each of the agent registration books are respectively called to obtain target agent information corresponding to the service identifier from each of the agent registration books.
6. The method according to any one of claims 1 to 5, characterized in that: The acquiring of target agent information corresponding to the service identifier includes: Arrange the agent information corresponding to the business identifier in chronological order to obtain a candidate list; The first preset number of agent information in the candidate list is determined as the target agent information.
7. An agent information query device, characterized in that: The device comprises: A first acquisition module is used to acquire a query instruction, wherein the query instruction is used to query agent information; the query instruction includes an institution identifier of a trading institution to which the agent to be queried belongs, and / or an agent identifier of the agent to be queried, and / or agent information corresponding to the agent to be queried; A determination module, for determining, when the query instruction includes an institution identifier and a business identifier, a target transaction institution to which the agent to be queried belongs according to the institution identifier, and a target institution cluster to which the target transaction institution belongs; The second acquisition module is used to acquire the target agent information corresponding to the business identifier from the target agent registration book set corresponding to the target organization cluster.
8. The device according to claim 7, characterized in that In the case where the query instruction includes an institution identifier and an agent identifier to be queried, before determining the target institution cluster to which the institution identifier belongs, the device further includes: A division module, used to divide a number of trading institutions into a plurality of institution clusters according to a preset dimension; one institution cluster corresponds to at least one trading institution; Wherein, each institution cluster is correspondingly provided with an agent registration book, and the agent registration book stores the association information of the corresponding institution cluster, and the association information includes the information of each agent in the at least one transaction institution, and the business identifier associated with each agent information; The preset dimension includes at least one of the following: The geographical location of the trading organization; The type of trading institution in question; The size of the trading organization.
9. The device according to claim 8, characterized in that The device also includes: The third acquisition module is used to obtain the target agent information corresponding to the business identifier from the agent registration books corresponding to the multiple organization clusters according to the business identifier when the query instruction includes the business identifier but does not include the organization identifier.
10. The device according to claim 9, characterized in that The device also includes: The setting module is used to configure a query application for the agent registration book corresponding to each organization cluster, and when the query application is called, the target agent information corresponding to the business identifier is obtained from the corresponding agent registration book.
11. The device according to claim 10, characterized in that The second acquisition module includes: A first calling unit, configured to call a target query application configured for the target agent register to obtain target agent information corresponding to the service identifier from the target agent register; The third acquisition module includes: The second calling unit is used to call the query application configured for each of the agent registration books respectively to obtain the target agent information corresponding to the business identifier from each of the agent registration books.
12. The device according to any one of claims 7 to 11, characterized in that: The second acquisition module includes: A sorting unit, used to arrange the agent information corresponding to the service identifier in chronological order to obtain a candidate list; The determination unit is used to determine the first preset number of agent information in the candidate list as the target agent information.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.