Instruction query method and device, storage medium and electronic device

By recording and filtering pending and processed instructions in the financial system database, the problem of cumbersome instruction querying has been solved, achieving efficient instruction querying and unified display, thus improving the user experience.

CN116303619BActive Publication Date: 2026-01-30INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310348387.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2026-01-30
Estimated Expiration
2043-04-03

AI Technical Summary

Technical Problem

In financial systems, the query process is complex and time-consuming, resulting in a poor user experience. Furthermore, frequent queries increase resource consumption and impact database performance.

Method used

By recording the pending and processed instructions for each account in the database of the financial system, after receiving the target query request, the system retrieves a set of candidate instructions from the databases of multiple financial systems, filters out the target instructions according to the verification conditions, aggregates them into a view page, and sends it to the client.

Benefits of technology

It reduces command query time, improves query efficiency, avoids differences in command display between different business sections, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116303619B_ABST
    Figure CN116303619B_ABST
Patent Text Reader

Abstract

This application discloses a method and apparatus, storage medium, and electronic device for querying instructions, relating to the field of financial technology. The method includes: receiving a target query request; responding to the target query request by obtaining a first set of candidate pending instructions and a first set of candidate processed instructions associated with a target account from a first database of a first financial system, and obtaining a second set of candidate pending instructions and a second set of candidate processed instructions associated with the target account from a second database of a second financial system; obtaining a target pending instruction that meets a first verification condition from the first set of candidate pending instructions and the second set of candidate pending instructions, and obtaining a target processed instruction that meets a second verification condition from the first set of candidate processed instructions and the second set of candidate processed instructions; aggregating the target pending instructions and the target processed instructions in a target view page, and sending the target view page to the requesting client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology, and more specifically, to a method and apparatus for querying instructions, a storage medium, and an electronic device. Background Technology

[0002] In financial systems, a business interaction between a customer and the financial system is often identified by instructions. Financial systems have numerous business categories, often exceeding three hundred, involving more than six hundred instruction words and covering nearly five thousand different types of business.

[0003] In related technologies, customers need to navigate to each service category individually to approve instructions. If the current account involves many different types of services, the authorizing person needs to query the corresponding service category for each service interaction and approve the instruction after the submitter submits the instruction.

[0004] This approach makes the entire query process cumbersome and time-consuming. For example, when users need to query authorization commands across multiple sections, they have to perform multiple operations and navigate between sections, increasing the time spent and impacting the user experience. Furthermore, frequent queries also incur additional resource overhead, such as when queries are implemented independently across different financial business segments and involve cross-application data queries. Frequent queries increase concurrency and impact database performance. In addition, the display of command views differs across financial business sections, leading to different operational logic when navigating between sections and further degrading the user experience.

[0005] There is currently no effective solution to the problem of low efficiency in command querying in related technologies. Summary of the Invention

[0006] The main objective of this application is to provide a method and apparatus for querying instructions, a storage medium, and an electronic device to solve the problem of low efficiency in instruction querying in related technologies.

[0007] To achieve the above objectives, according to one aspect of this application, a method for querying instructions is provided. The method includes: receiving a target query request, wherein the target query request carries a target account identifier associated with a target account; responding to the target query request, obtaining a first set of candidate pending instructions and a first set of candidate processed instructions associated with the target account from a first database of a first financial system, and obtaining a second set of candidate pending instructions and a second set of candidate processed instructions associated with the target account from a second database of a second financial system, wherein the first financial system and the second financial system handle different types of financial transactions, and the first database and the second database respectively store all customer accounts and mapping relationships between account instructions corresponding to each account, wherein the account instructions include pending instructions and processed instructions; obtaining a target pending instruction satisfying a first verification condition from the first set of candidate pending instructions and the second set of candidate pending instructions, and obtaining a target processed instruction satisfying a second verification condition from the first set of candidate processed instructions and the second set of candidate processed instructions; aggregating the target pending instructions and the target processed instructions on a target view page, and sending the target view page to a requesting client, wherein the requesting client is the client that sent the target query request.

[0008] Optionally, obtaining the first candidate pending instruction set and the first candidate processed instruction set associated with the target account from the first database of the first financial system includes: obtaining all first candidate pending instructions associated with the target account from a first data table in the first database to obtain the first candidate pending instruction set, wherein the first data table records the mapping relationship between all pending instructions of the first financial system and the customer account; obtaining all first candidate processed instructions associated with the target account from a second data table in the first database to obtain the first candidate processed instruction set, wherein the second data table records the mapping relationship between all processed instructions of the first financial system and the customer account.

[0009] Optionally, obtaining the second set of candidate pending instructions and the second set of candidate processed instructions associated with the target account from the second database of the second financial system includes: obtaining all second candidate pending instructions associated with the target account from a third data table in the second database to obtain the second set of candidate pending instructions, wherein the third data table records the mapping relationship between all pending instructions of the second financial system and the customer account; obtaining all second candidate processed instructions associated with the target account from a fourth data table in the second database to obtain the second set of candidate processed instructions, wherein the fourth data table records the mapping relationship between all processed instructions of the second financial system and the customer account.

[0010] Optionally, obtaining the target instruction that satisfies the first verification condition from the first set of candidate instructions to be processed and the second set of candidate instructions to be processed includes: obtaining a first instruction type for each first candidate instruction to be processed in the first set of candidate instructions to be processed; indexing a first set of verification conditions by the first instruction type to obtain verification conditions corresponding to the first candidate instruction to be processed; using the verification conditions to verify the first set of candidate instructions to be processed to obtain a first instruction to be processed that passes the verification; wherein the first set of verification conditions includes: a mapping relationship between all first instruction types and verification conditions, and the first verification conditions include the first set of verification conditions; obtaining a second instruction type for each second candidate instruction to be processed in the second set of candidate instructions to be processed; indexing a second set of verification conditions by the second instruction type to obtain verification conditions corresponding to the second candidate instruction to be processed; using the verification conditions to verify the second set of candidate instructions to be processed to obtain a second instruction to be processed that passes the verification; wherein the second set of verification conditions includes: a mapping relationship between all second instruction types and verification conditions, and the second verification conditions include the second set of verification conditions; and determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0011] Optionally, the first set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate pending instruction is greater than or equal to a first permission threshold; whether the current time when the target query request is received is within a first processing period during which the target account is allowed to process the first candidate pending instruction; and whether the number of all customer accounts currently processing the first candidate pending instruction is greater than or equal to a first quantity threshold. The second set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate pending instruction is greater than or equal to a second permission threshold; whether the current time when the target query request is received is within a second processing period during which the target account is allowed to process the second candidate pending instruction; and whether the number of all customer accounts currently processing the second candidate pending instruction is greater than or equal to a second quantity threshold.

[0012] Optionally, obtaining the target processed instruction that satisfies the second verification condition from the first candidate processed instruction set and the second candidate processed instruction set includes: obtaining a third instruction type for each first candidate processed instruction in the first candidate processed instruction set; indexing a third set of verification conditions using the third instruction type to obtain verification conditions corresponding to the first candidate processed instruction; using the verification conditions to verify the first candidate processed instruction set to obtain a first processed instruction that passes the verification; wherein the third set of verification conditions includes: a mapping relationship between all the third instruction types and verification conditions, and the second verification condition includes the third set of verification conditions; obtaining a fourth instruction type for each second candidate processed instruction in the second candidate processed instruction set; indexing a fourth set of verification conditions using the fourth instruction type to obtain verification conditions corresponding to the second candidate processed instruction; using the verification conditions to verify the second candidate processed instruction set to obtain a second processed instruction that passes the verification; wherein the fourth set of verification conditions includes: a mapping relationship between all the fourth instruction types and verification conditions, and the second verification condition includes the fourth set of verification conditions; and determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0013] Optionally, the third set of verification conditions includes at least one of the following: whether the target account's processing authority for the first candidate processed instruction is greater than or equal to a third authority threshold; whether the time when the target account processes the first candidate processed instruction is within a third processing period that allows the target account and the first financial system to conduct a first financial transaction, wherein the first financial transaction is the financial transaction identified by the first candidate processed instruction; the fourth set of verification conditions includes at least one of the following: whether the target account's processing authority for the second candidate processed instruction is greater than or equal to a fourth authority threshold; whether the time when the target account processes the second candidate processed instruction is within a fourth processing period that allows the target account and the second financial system to conduct a second financial transaction, wherein the second financial transaction is the financial transaction identified by the second candidate processed instruction.

[0014] Optionally, after aggregating the target pending instruction and the target processed instruction into a target view page and sending the target view page to the requesting client, the method further includes: receiving a target processing request from the requesting client, wherein the target processing request carries a target instruction; responding to the target processing request, obtaining the target financial business processing page corresponding to the target instruction through a target configuration file, wherein the target configuration file records the mapping relationship between all instructions and financial business processing pages; and jumping from the target view page to the target financial business processing page.

[0015] To achieve the above objectives, according to another aspect of this application, an instruction query device is provided. The device includes: a first receiving module for receiving a target query request, wherein the target query request carries a target account identifier associated with a target account; a first obtaining module for responding to the target query request, obtaining a first set of candidate pending instructions and a first set of candidate processed instructions associated with the target account from a first database of a first financial system, and obtaining a second set of candidate pending instructions and a second set of candidate processed instructions associated with the target account from a second database of a second financial system, wherein the financial business types processed by the first financial system and the second financial system are different, and the first database and the second database respectively store all customer accounts and the mapping relationship between account instructions corresponding to each account, wherein the account instructions include pending instructions and processed instructions; a second obtaining module for obtaining a target pending instruction that meets a first verification condition from the first set of candidate pending instructions and the second set of candidate pending instructions, and obtaining a target processed instruction that meets a second verification condition from the first set of candidate processed instructions and the second set of candidate processed instructions; and a processing module for aggregating the target pending instructions and the target processed instructions on a target view page and sending the target view page to a requesting client, wherein the requesting client is the client that sent the target query request.

[0016] This application employs the following steps: The financial system's database records all pending and processed instructions for each account. Upon receiving a target query, it indicates a desire to retrieve all pending and processed instructions for the target account. This allows for the retrieval of all pending and processed instructions for the target account across different business types within the financial system's database, reducing query time and improving efficiency. Furthermore, validated pending and processed instructions can be aggregated and displayed on a single view page, avoiding discrepancies between instruction display views across different business sections, enhancing user experience, and resolving the low efficiency issue of instruction queries in related technologies. Ultimately, this achieves the goal of improving instruction query efficiency. Attached Figure Description

[0017] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0018] Figure 1 This is an application scenario diagram of an instruction query method according to an embodiment of this application;

[0019] Figure 2 This is a flowchart of a query method for instructions provided in an embodiment of this application;

[0020] Figure 3 This is a schematic diagram of a query module for an instruction according to an embodiment of this application;

[0021] Figure 4 This is a schematic diagram of an instruction query method according to an embodiment of this application. Figure 1 ;

[0022] Figure 5 This is a schematic diagram of an instruction query method according to an embodiment of this application. Figure 2 ;

[0023] Figure 6 This is a schematic diagram of a query device for instructions according to an embodiment of this application;

[0024] Figure 7 This is a schematic diagram of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:

[0029] Instruction: Generally refers to an interaction process between a customer and the financial system, and is numbered to identify a specific transaction.

[0030] Instruction word: Used to indicate the instruction type.

[0031] Pending / Processed: This is an abbreviation for pending approval instructions and authorized instructions, and is the result returned by querying based on the customer account ID.

[0032] To better understand the application scenarios of the instruction query method in the embodiments of this application, the following explanation of the application scenarios of the instruction query method in the embodiments of this application is provided in conjunction with optional embodiments, which may be applicable to, but are not limited to, the embodiments of this application.

[0033] Figure 1 This is an application scenario diagram of an instruction query method according to an embodiment of this application, such as... Figure 1 As shown, a customer wants to query pending and processed instructions in multiple business categories. For example, the customer wants to query pending and processed instructions related to business 1 in business category 1, pending and processed instructions related to business 2 in business category 2, and pending and processed instructions related to business 3 in business category 3. In related technologies, the customer often needs to perform multiple operations and jumps. For example, the customer needs to send a request to the database (DB), and the database will respond to the customer's request by retrieving the pending and processed instructions related to business 1 in business category 1 and returning them to the customer. Then, the customer needs to send a request to the database, and the database will respond to the customer's request by retrieving the pending and processed instructions related to business 2 in business category 2 and returning them to the customer. Then, the customer needs to send a request to the database, and the database will respond to the customer's request by retrieving the pending and processed instructions related to business 3 in business category 3 and returning them to the customer, until the pending and processed instructions corresponding to the customer are retrieved.

[0034] As the above analysis shows, in related technologies, querying all pending and processed instructions associated with a customer is time-consuming and inefficient. The instruction query method provided in this application, however, utilizes a financial system database that records all pending and processed instructions for each account. Upon receiving a target query, it indicates a desire to retrieve all pending and processed instructions for the target account. This allows for the retrieval of all pending and processed instructions for the target account across different financial system databases handling various business types, reducing query time and improving efficiency. Furthermore, verified pending and processed instructions can be aggregated and displayed on a single view page, avoiding discrepancies between instruction display views across different business sections, enhancing user experience, and resolving the low efficiency issue of instruction queries in related technologies. Therefore, the method effectively improves the efficiency of instruction queries.

[0035] The present invention will now be described in conjunction with preferred implementation steps. Figure 2 This is a flowchart of a query method for instructions provided in an embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:

[0036] Step S201: Receive a target query request, wherein the target query request carries a target account identifier associated with the target account;

[0037] Step S202: In response to the target query request, obtain a first set of candidate pending instructions and a first set of candidate processed instructions associated with the target account from the first database of the first financial system, and obtain a second set of candidate pending instructions and a second set of candidate processed instructions associated with the target account from the second database of the second financial system. The first financial system and the second financial system handle different types of financial transactions. The first database and the second database respectively store all customer accounts and the mapping relationship between account instructions corresponding to each account. The account instructions include pending instructions and processed instructions.

[0038] Step S203: Obtain a target instruction to be processed that meets the first verification condition from the first set of candidate instructions to be processed and the second set of candidate instructions to be processed; and obtain a target processed instruction that meets the second verification condition from the first set of candidate processed instructions and the second set of candidate processed instructions.

[0039] Step S204: Aggregate the target pending instruction and the target processed instruction in the target view page, and send the target view page to the requesting client, wherein the requesting client is the client that sent the target query request.

[0040] In the technical solution provided in step S201 above, when a target query request is received, it can indicate that the user wishes to query all pending and processed instructions associated with the target account in various financial transactions. The target query request may, but is not limited to, carry account identifiers such as the account ID (identification number), account name, etc. associated with the target account.

[0041] In the technical solution provided in step S202 above, when a target query request is received, it can indicate that the user wishes to query all pending and processed instructions associated with the target account in various financial transactions. In this case, all pending and processed instructions associated with the target account can be obtained from the first database of the first financial system to obtain a first candidate set of pending instructions and a first candidate set of processed instructions. All pending and processed instructions associated with the target account can be obtained from the second database of the second financial system to obtain a second candidate set of pending instructions and a second candidate set of processed instructions.

[0042] Optionally, in the instruction query method provided in the embodiments of this application, the pending instruction is used to identify the pending financial transactions between the target account and the first financial system and the second financial system (e.g., financial transactions pending instruction approval or authorization, etc.), and the processed instruction is used to identify the processed financial transactions between the target account and the first financial system and the second financial system (e.g., financial transactions that have completed instruction approval or authorization, etc.).

[0043] Optionally, in the instruction query method provided in the embodiments of this application, the business type of the financial business processed by the first financial system and the second financial system can be identified by instruction words, but is not limited to. It is understood that the business types of the financial business processed by different financial systems are different. The database of the financial system stores the mapping relationship between all customer accounts and the account instructions corresponding to each account, such as the mapping relationship between all customer accounts and instructions to be processed and instructions already processed.

[0044] In one exemplary embodiment, the first candidate pending instruction set and the first candidate processed instruction set associated with the target account can be obtained, but are not limited to, by the following methods: obtaining all first candidate pending instructions associated with the target account from a first data table in the first database to obtain the first candidate pending instruction set, wherein the first data table records the mapping relationship between the first financial system and all pending instructions of the customer account; obtaining all first candidate processed instructions associated with the target account from a second data table in the first database to obtain the first candidate processed instruction set, wherein the second data table records the mapping relationship between the first financial system and all processed instructions of the customer account.

[0045] Optionally, in the instruction query method provided in this application embodiment, the first database of the first financial system may include, but is not limited to, a first data table and a second data table. The first data table records the mapping relationship between the first financial system and all pending instructions of the customer account (e.g., pending instructions corresponding to the customer account, etc.), and the second data table records the mapping relationship between the first financial system and all processed instructions of the customer account (e.g., processed instructions corresponding to the customer account, etc.). It can be understood that in the first database, instructions of the customer account are recorded in the first data table and the second data table respectively, according to whether the instructions have been processed. In this way, the mapping relationship between the business columns corresponding to financial transactions in the first financial system and the pending instructions and all processed instructions of the customer account is avoided, improving the efficiency of querying pending and processed instructions.

[0046] In one exemplary embodiment, the second candidate pending instruction set and the second candidate processed instruction set associated with the target account can be obtained, but are not limited to, by the following methods: obtaining all second candidate pending instructions associated with the target account from a third data table in the second database to obtain the second candidate pending instruction set, wherein the third data table records the mapping relationship between the second financial system and all pending instructions of the customer account; obtaining all second candidate processed instructions associated with the target account from a fourth data table in the second database to obtain the second candidate processed instruction set, wherein the fourth data table records the mapping relationship between the second financial system and all processed instructions of the customer account.

[0047] Optionally, in the instruction query method provided in this application embodiment, the second database of the second financial system may include, but is not limited to, a third data table and a fourth data table. The third data table records the mapping relationship between the second financial system and all pending instructions of the customer account (e.g., pending instructions corresponding to the customer account, etc.), and the fourth data table records the mapping relationship between the second financial system and all processed instructions of the customer account (e.g., processed instructions corresponding to the customer account, etc.). It can be understood that in the second database, instructions for the customer account are recorded in the third and fourth data tables respectively, according to whether the instructions have been processed. This avoids recording the mapping relationship between the business columns corresponding to the financial business of the second financial system and the pending instructions and all processed instructions of the customer account, thus improving the efficiency of querying pending and processed instructions.

[0048] In the technical solution provided in step S203 above, one or more target commands to be processed that satisfy the first verification condition can be obtained from the first candidate set of commands to be processed and the first candidate set of processed commands, and one or more target processed commands that satisfy the second verification condition can be obtained from the first candidate set of processed commands and the second candidate set of processed commands. It is understood that the first verification condition and the second verification condition can be, but are not limited to, the same or different. By verifying all commands to be processed and processed that are initially associated with the target account, filtering is achieved, thereby improving the accuracy of obtaining target processed commands and target commands to be processed.

[0049] In one exemplary embodiment, the target instruction to be processed that satisfies the first verification condition can be obtained from the first candidate instruction set and the second candidate instruction set through the following steps, but not limited to:

[0050] Step S21: Obtain the first instruction type of each first candidate instruction in the first candidate instruction set; index the first set of verification conditions by the first instruction type to obtain the verification conditions corresponding to the first candidate instruction; use the verification conditions to verify the first candidate instruction set to obtain the first instruction to be processed that passes the verification; wherein, the first set of verification conditions includes: the mapping relationship between all the first instruction types and the verification conditions; the first verification conditions include the first set of verification conditions.

[0051] Step S22: Obtain the second instruction type of each second candidate instruction in the second candidate instruction set; index the second set of verification conditions by the second instruction type to obtain the verification conditions corresponding to the second candidate instruction; use the verification conditions to verify the second candidate instruction set to obtain the second instruction that passes the verification; wherein, the second set of verification conditions includes: the mapping relationship between all the second instruction types and the verification conditions; the second verification conditions include the second set of verification conditions.

[0052] Step S22: Determine the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0053] Optionally, in the instruction query method provided in this application embodiment, the order of obtaining the target instruction that satisfies the first verification condition from the first candidate instruction set and the second candidate instruction set is not limited. Specifically, it is possible, but not limited to, executing step S22 first and then executing step S21; or executing step S21 first and then executing step S22; or executing step S22 and step S21 simultaneously.

[0054] Optionally, in the instruction query method provided in the embodiments of this application, the verification conditions corresponding to different instruction types are different. It is understood that each instruction type has a one-to-one corresponding verification condition. The first instruction to be processed and / or the second instruction to be processed can be determined as the target instruction to be processed, but not limited to this. For example, if there is no instruction that passes the first set of verification conditions in the first candidate instruction to be processed set, and there is an instruction that passes the second set of verification conditions in the second candidate instruction to be processed set, the second instruction to be processed is determined as the target instruction to be processed.

[0055] In an exemplary embodiment, the first set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate pending instruction is greater than or equal to a first permission threshold; whether the current time when the target query request is received is within a first processing period during which the target account is allowed to process the first candidate pending instruction; and whether the number of all customer accounts currently processing the first candidate pending instruction is greater than or equal to a first quantity threshold.

[0056] The second set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate pending instruction is greater than or equal to the second permission threshold; whether the current time when the target query request is received is within the second processing period during which the target account is allowed to process the second candidate pending instruction; and whether the number of all customer accounts currently processing the second candidate pending instruction is greater than or equal to the second quantity threshold.

[0057] Optionally, in the instruction query method provided in the embodiments of this application, the first instruction to be processed that passes the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the first candidate instruction to be processed is greater than or equal to a first permission threshold; the current time when the target query request is received is within a first processing period during which the target account is allowed to process the first candidate instruction to be processed; and the number of all customer accounts currently processing the first candidate instruction to be processed is less than a first quantity threshold.

[0058] Optionally, in the instruction query method provided in the embodiments of this application, the first instruction to be processed that fails the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the first candidate instruction to be processed is less than a first permission threshold; the current time when the target query request is received is not within the first processing period during which the target account is allowed to process the first candidate instruction to be processed; and the number of all customer accounts currently processing the first candidate instruction to be processed is greater than or equal to a first quantity threshold.

[0059] It is understandable that different customer accounts may, but are not limited to, have different processing permissions for pending instructions (e.g., allowed to process some pending instructions, not allowed to process some pending instructions, or allowed to process all pending instructions, etc.). The allowed processing time periods for different pending instructions may be different or the same, etc. The number of customer accounts allowed to process the first candidate pending instruction may, but is not limited to, one or more. If the number of customer accounts allowed to process the first candidate pending instruction is multiple, and the total number of customer accounts that have already processed the first candidate pending instruction is less than a first quantity threshold, it can be indicated that the target account is allowed to process the first candidate pending instruction.

[0060] Optionally, in the instruction query method provided in the embodiments of this application, the second instruction to be processed that passes the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the second candidate instruction to be processed is greater than or equal to a second permission threshold; the current time when the target query request is received is within a second processing period that allows the target account to process the second candidate instruction to be processed; and the number of all customer accounts currently processing the second candidate instruction to be processed is less than a second quantity threshold.

[0061] Optionally, in the instruction query method provided in the embodiments of this application, the second pending instruction that fails the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the second candidate pending instruction is less than a second permission threshold; the current time when the target query request is received is not within the second processing period during which the target account is allowed to process the second candidate pending instruction; and the number of all customer accounts currently processing the second candidate pending instruction is greater than or equal to a second quantity threshold.

[0062] It is understood that the embodiments of this application do not limit the size relationship between the first permission threshold and the second permission threshold. The first permission threshold may be greater than, less than or equal to, the second permission threshold, etc. The embodiments of this application do not limit the size relationship between the first processing time period and the second processing time period. For example, the first processing time period may be greater than, less than or equal to, the second processing time period. The embodiments of this application do not limit the size relationship between the first quantity threshold and the second quantity threshold. For example, the first quantity threshold may be greater than, less than or equal to, the second quantity threshold.

[0063] In one exemplary embodiment, the target processed instruction that satisfies the second verification condition can be obtained by performing, but is not limited to, the following steps:

[0064] Step S31: Obtain the third instruction type of each first candidate processed instruction in the first candidate processed instruction set; index the third set of verification conditions by the third instruction type to obtain the verification conditions corresponding to the first candidate processed instruction; use the verification conditions to verify the first candidate processed instruction set to obtain the first processed instruction that passes the verification; wherein, the third set of verification conditions includes: the mapping relationship between all the third instruction types and verification conditions; the second verification condition includes the third set of verification conditions.

[0065] Step S32: Obtain the fourth instruction type of each second candidate processed instruction in the second candidate processed instruction set; index the fourth set of verification conditions by the fourth instruction type to obtain the verification conditions corresponding to the second candidate processed instruction; use the verification conditions to verify the second candidate processed instruction set to obtain the second processed instruction that passes the verification; wherein, the fourth set of verification conditions includes: the mapping relationship between all the fourth instruction types and verification conditions; the second verification condition includes the fourth set of verification conditions.

[0066] Step S33: Determine the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0067] Optionally, in the instruction query method provided in the embodiments of this application, the order in which target instructions satisfying the first verification condition are obtained from the first set of candidate instructions to be processed and the second set of candidate instructions to be processed is not limited. Specifically, it is possible, but not limited to, executing step S32 first and then executing step S31; or executing step S31 first and then executing step S32; or executing step S32 and step S31 simultaneously.

[0068] Optionally, in the instruction query method provided in the embodiments of this application, the first processed instruction and / or the second processed instruction may be determined as the target processed instruction, for example: if there is no instruction that passes the third set of verification conditions in the first candidate processed instruction set, and there is an instruction that passes the fourth set of verification conditions in the second candidate processed instruction set, the second processed instruction may be determined as the target instruction to be processed.

[0069] In one exemplary embodiment, the third set of verification conditions includes at least one of the following: whether the target account's processing authority for the first candidate processed instruction is greater than or equal to a third authority threshold; whether the time when the target account processes the first candidate processed instruction is within a third processing period that allows the target account and the first financial system to conduct a first financial transaction, wherein the first financial transaction is the financial transaction identified by the first candidate processed instruction; the fourth set of verification conditions includes at least one of the following: whether the target account's processing authority for the second candidate processed instruction is greater than or equal to a fourth authority threshold; whether the time when the target account processes the second candidate processed instruction is within a fourth processing period that allows the target account and the second financial system to conduct a second financial transaction, wherein the second financial transaction is the financial transaction identified by the second candidate processed instruction.

[0070] Optionally, in the instruction query method provided in the embodiments of this application, the first processed instruction that passes the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the first candidate processed instruction is greater than or equal to the third permission threshold, or the target account processes the first candidate processed instruction within the third processing period during which the target account and the first financial system are allowed to conduct the first financial business.

[0071] Optionally, in the instruction query method provided in the embodiments of this application, the first processed instruction that fails the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the first candidate processed instruction is less than the third permission threshold, or the time when the target account processes the first candidate processed instruction is not within the third processing period during which the target account and the first financial system are allowed to conduct the first financial business.

[0072] Understandably, the third processing period allowing the target account to conduct first-level financial transactions with the first financial system is limited. For example, if at the moment the target query request is received, first-level financial transactions between the target account and the first financial system are no longer permitted, then the time when the target account processed the first candidate processed instruction occurred within the processing period when first-level financial transactions between the target account and the first financial system were still allowed. In this case, the first candidate processed instruction will fail the verification.

[0073] Optionally, in the instruction query method provided in the embodiments of this application, the second processed instruction that passes the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the second candidate processed instruction is greater than or equal to the fourth permission threshold, or the target account processes the second candidate processed instruction within the fourth processing period during which the target account and the second financial system are allowed to conduct second financial business.

[0074] Optionally, in the instruction query method provided in the embodiments of this application, the second processed instruction that fails the verification may include, but is not limited to, satisfying at least one of the following verification conditions: the target account's processing permission for the second candidate processed instruction is less than the fourth permission threshold, or the time when the target account processes the second candidate processed instruction is not within the fourth processing period during which the target account and the second financial system are allowed to conduct the first financial business.

[0075] It is understood that the embodiments of this application do not limit the size relationship between the third permission threshold and the fourth permission threshold. The third permission threshold may be greater than, less than or equal to, the fourth permission threshold, etc. The embodiments of this application do not limit the size relationship between the third processing time period and the fourth processing time period. For example, the third processing time period may be greater than, less than or equal to, the fourth processing time period.

[0076] In the technical solution provided in step S204 above, upon obtaining the target pending instructions and target processed instructions that pass the verification conditions, the target pending instructions and target processed instructions can be aggregated and displayed on a unified target view page, and the target view page can be sent to the requesting client. In this way, a single query by the client allows all pending and processed commands associated with the target account to be aggregated and displayed on a single target view page on the requesting client. This avoids users having to query pending and processed instructions scattered across different business sections one by one, greatly improving the efficiency of instruction querying and providing a unified target view page, thus enhancing the user experience.

[0077] In one exemplary embodiment, the target instruction may be processed in, but is not limited to, the following manner: receiving a target processing request from the requesting client, wherein the target processing request carries a target instruction; responding to the target processing request, obtaining the target financial business processing page corresponding to the target instruction through a target configuration file, wherein the target configuration file records the mapping relationship between all instructions and financial business processing pages; and jumping from the target view page to the target financial business processing page.

[0078] Optionally, in the instruction query method provided in this application embodiment, when a target view page displaying all pending and processed instructions for the target account is sent to the requesting client, the client may, but is not limited to, select the instruction to view or process on the target view page. In such a case, the target instruction may, but is not limited to, be processed on the target view page, or the client may jump to the financial business processing page corresponding to the target instruction and process the target instruction on the financial business processing page.

[0079] The instruction query method provided in this application utilizes a financial system database that records all pending and processed instructions for each account. Upon receiving a target query, it indicates a desire to retrieve all pending and processed instructions for the target account. This allows for the retrieval of all pending and processed instructions for the target account across different financial system databases handling various business types. This reduces the time spent querying instructions, improves the efficiency of querying target account instructions, and aggregates verified pending and processed instructions into a single view page. This avoids discrepancies in instruction display views across different business sections, enhances the user experience, and solves the problem of low instruction query efficiency in related technologies. Therefore, it achieves the effect of improving the efficiency of instruction querying.

[0080] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0081] To better understand the process of the instruction query method in the embodiments of this application, the instruction query method in the embodiments of this application will be explained and described below in conjunction with optional embodiments, which may be applied to, but are not limited to, the embodiments of this application.

[0082] Modular development can be achieved through the BTT framework and XML configuration, while leveraging distributed services to integrate commands from different database architectures. Within the First Financial System, commands scattered across various business sections can be aggregated into a unified view page and returned to the customer, enabling a simple, easy-to-use, and low-latency command query function. A common configuration module, command query module, service call module, and command aggregation module can be deployed within the First Financial System, but are not limited to this. Figure 3 This is a schematic diagram of a query module for an instruction according to an embodiment of this application, such as... Figure 3 As shown.

[0083] Public configuration module: used to parse the parameters and conditions configured in XML into program configurations required by other functional modules. During server initialization, the configurations configured in XML are preloaded into the memory of the First Financial System as input for other modules of the system to quickly read the configuration information.

[0084] Command query module: Used to query pending and processed commands in the database based on input parameters (interface sent message or page request). During the query, it will call the stored procedure to find and return the configured command types.

[0085] Service Invocation Module: Used to access distributed services, invoke services of the second financial system application, obtain pending and processed instructions stored in the second financial system belonging to the current query customer ID (i.e., the target account identifier mentioned above), and pass the obtained results together with the query results of the instruction query module to the instruction aggregation module for processing.

[0086] The instruction aggregation module is used to process the instruction results returned by the instruction query module and service call module in a unified format, merge them into a data object instance, filter the returned data according to the relevant instruction type verification method in the common configuration, and aggregate the filtering results into a unified view (i.e., the target view page mentioned above) and return it to the customer for display.

[0087] Figure 4 This is a schematic diagram of an instruction query method according to an embodiment of this application. Figure 1 ,like Figure 4 As shown, upon receiving a target query request, the system can query all pending and processed instructions for the target account from the first database. The first financial system can, but is not limited to, call the second financial system to query all pending and processed instructions for the target account in the second financial system. All pending and processed instructions associated with the target account in the first and second financial systems are aggregated and displayed in a unified view to the requesting client that sent the target query request.

[0088] The following describes in detail the instruction query method in the embodiments of this application, with reference to optional embodiments. Figure 5 This is a schematic diagram of an instruction query method according to an embodiment of this application. Figure 2 ,like Figure 5 As shown, customers can, but are not limited to, establish a connection with the server by logging into the First Financial System, then click to enter the pending / processed section, select the date range to be queried, and initiate a query request.

[0089] Upon receiving a target query request, it can indicate that the customer wishes to query pending instruction 1 associated with business category 1, processed instruction 2 associated with business category 2, and pending instruction 3 associated with business category 3, etc. In such cases, a request can be sent to the database, but is not limited to this. After receiving the query request, the system will encapsulate the query conditions such as customer ID (i.e., the target account identifier mentioned above) and date, first perform a query in the first financial system, and store all pending and processed instructions of financial businesses associated with the queried customer ID in a queue and then write them into the memory of the first financial system.

[0090] In detail, all instructions generated by customers in the system are partially recorded in the pending and processed instruction tables of the first financial system, while the rest are stored in the database of the second financial system and mapped to the actual corresponding columns according to the instruction word configuration information in the configuration file. That is to say, when a customer queries an instruction in the pending or processed column, the background program will first query a portion of the instructions from the pending and processed tables of the first financial system.

[0091] Then, the interface is invoked to query another part of the pending and processed instructions associated with the customer ID stored in the second financial system. The pending and processed instructions returned by the service call are then integrated into the aforementioned queue and written into memory. For example, for instructions belonging to the second financial system, the first financial system will call the interface provided by the second financial system through a distributed service to obtain the pending and processed instructions stored in the second financial system that belong to the currently queried customer ID. The transaction, column, and other information corresponding to these instructions will still be configured in the aforementioned pending and processed instruction configuration file (i.e., the aforementioned target configuration file).

[0092] After both queries are completed, the system reads the target configuration file (which can be, but is not limited to, an XML configuration file) preloaded into memory, parses the parameters and validators within it, and then validates each instruction in the queue according to the parsed configuration. Instructions that fail validation are removed, and those that conform to the rules are retained.

[0093] In detail, during the instruction filtering process, after retrieving all pending and processed instructions from the first and second financial systems, the backend program integrates the two sets of data and stores them in a single queue. Then, it verifies each instruction in the queue. The verification method involves preloading the pending and processed configuration file (i.e., the target configuration file mentioned above) and storing the validator (i.e., verification rules, including authorized permissions, multi-level authorization, whether a certain service is enabled, etc.) configured for each instruction in the memory of the first financial system. When an instruction is retrieved from the aforementioned queue, it is parsed into two parts: the instruction word and the sequence number. Then, the validator for that instruction word is read from memory for verification. Instructions that fail verification (such as insufficient current customer query permissions, expired customer services, etc.) are removed from the queue. The remaining instructions are sent back as a result set to the requesting client's front-end page, paginated and populated into the pending and processed table, and displayed to the customer. It should be noted that the XML configuration file records key information such as the financial service, category, batch authorization, and permission verification corresponding to each instruction word.

[0094] The validated pending and processed instructions are returned as a result set to the front-end page, where they are paginated and populated into the pending and processed tables before being displayed to the customer. This aggregates all pending and processed instructions associated with a customer ID into a unified view (target view page) and displays it to the customer, avoiding repeated queries across different financial business sections and multiple instruction tables, thus improving instruction query efficiency. When a user needs to view the specific information of a particular instruction or process it independently, the back-end program will redirect the page (target view page) to the corresponding financial business section page (target financial business processing page) for that instruction based on the configuration in the pending and processed instruction configuration file. This allows for instruction queries across transactions and also allows customers to navigate to a specific financial business section for processing.

[0095] This application also provides an instruction query device. It should be noted that the instruction query device of this application can be used to execute the instruction query method provided in this application. The instruction query device provided in this application will be described below.

[0096] Figure 6 This is a schematic diagram of a query device for instructions according to an embodiment of this application, such as... Figure 6 As shown, the device includes:

[0097] The first receiving module 601 is used to receive a target query request, wherein the target query request carries a target account identifier associated with a target account;

[0098] The first acquisition module 602 is used to respond to the target query request, acquire a first candidate set of pending instructions and a first candidate set of processed instructions associated with the target account from the first database of the first financial system, and acquire a second set of pending instructions and a second set of processed instructions associated with the target account from the second database of the second financial system. The first financial system and the second financial system handle different types of financial business. The first database and the second database respectively store all customer accounts and the mapping relationship between account instructions corresponding to each account. The account instructions include pending instructions and processed instructions.

[0099] The second acquisition module 603 is used to acquire a target instruction to be processed that satisfies the first verification condition from the first candidate instruction set to be processed and the second candidate instruction set to be processed, and to acquire a target instruction to be processed that satisfies the second verification condition from the first candidate processed instruction set and the second candidate processed instruction set to be processed.

[0100] The processing module 604 is used to aggregate the target pending instruction and the target processed instruction into a target view page, and send the target view page to the requesting client, wherein the requesting client is the client that sent the target query request.

[0101] Optionally, in the instruction query device provided in this application embodiment, the first acquisition module includes:

[0102] The first acquisition unit is used to acquire all first candidate pending instructions associated with the target account from the first data table in the first database to obtain a set of first candidate pending instructions, wherein the first data table records the mapping relationship between the first financial system and all pending instructions of the customer account;

[0103] The second acquisition unit is used to acquire all first candidate processed instructions associated with the target account from the second data table in the first database, thereby obtaining a set of first candidate processed instructions. The second data table records the mapping relationship between all processed instructions of the first financial system and the customer account.

[0104] Optionally, in the instruction query device provided in this application embodiment, the first acquisition module includes: a third acquisition unit, configured to acquire all second candidate pending instructions associated with the target account from a third data table in the second database, to obtain a set of second candidate pending instructions, wherein the third data table records the mapping relationship between the second financial system and all pending instructions of the customer account; and a fourth acquisition unit, configured to acquire all second candidate processed instructions associated with the target account from a fourth data table in the second database, to obtain a set of second candidate processed instructions, wherein the fourth data table records the mapping relationship between the second financial system and all processed instructions of the customer account.

[0105] Optionally, in the instruction query device provided in this application embodiment, the second acquisition module includes: a first processing unit, configured to acquire a first instruction type for each first candidate instruction to be processed in the first candidate instruction to be processed set, index a first set of verification conditions by the first instruction type to obtain verification conditions corresponding to the first candidate instruction to be processed, and use the verification conditions to verify the first candidate instruction to be processed set to obtain a first instruction to be processed that passes the verification, wherein the first set of verification conditions includes: a mapping relationship between all first instruction types and verification conditions, and the first verification conditions include the first set of verification conditions; a second processing unit, configured to acquire a second instruction type for each second candidate instruction to be processed in the second candidate instruction to be processed set, index a second set of verification conditions by the second instruction type to obtain verification conditions corresponding to the second candidate instruction to be processed, and use the verification conditions to verify the second candidate instruction to be processed set to obtain a second instruction to be processed that passes the verification, wherein the second set of verification conditions includes: a mapping relationship between all second instruction types and verification conditions, and the second verification conditions include the second set of verification conditions; and a first determining unit, configured to determine the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0106] Optionally, in the instruction query device provided in this application embodiment, the first set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate instruction to be processed is greater than or equal to a first permission threshold; whether the current time when the target query request is received is within a first processing period during which the target account is allowed to process the first candidate instruction to be processed; and whether the number of all customer accounts currently processing the first candidate instruction to be processed is greater than or equal to a first quantity threshold. The second set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate instruction to be processed is greater than or equal to a second permission threshold; whether the current time when the target query request is received is within a second processing period during which the target account is allowed to process the second candidate instruction to be processed; and whether the number of all customer accounts currently processing the second candidate instruction to be processed is greater than or equal to a second quantity threshold.

[0107] Optionally, in the instruction query device provided in this application embodiment, the second acquisition module includes: a third processing unit, configured to acquire a third instruction type for each of the first candidate processed instructions in the first candidate processed instruction set, index a third set of verification conditions using the third instruction type to obtain verification conditions corresponding to the first candidate processed instruction, and use the verification conditions to verify the first candidate processed instruction set to obtain a first processed instruction that passes the verification, wherein the third set of verification conditions includes: a mapping relationship between all the third instruction types and verification conditions, and the second verification condition includes the third set of verification conditions; a fourth processing unit, configured to acquire a fourth instruction type for each of the second candidate processed instructions in the second candidate processed instruction set, index a fourth set of verification conditions using the fourth instruction type to obtain verification conditions corresponding to the second candidate processed instruction, and use the verification conditions to verify the second candidate processed instruction set to obtain a second processed instruction that passes the verification, wherein the fourth set of verification conditions includes: a mapping relationship between all the fourth instruction types and verification conditions, and the second verification condition includes the fourth set of verification conditions; and a second determining unit, configured to determine the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0108] Optionally, in the instruction query device provided in this application embodiment, the third set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate processed instruction is greater than or equal to a third permission threshold, and whether the time when the target account processes the first candidate processed instruction is within a third processing period that allows the target account and the first financial system to conduct a first financial transaction, wherein the first financial transaction is the financial transaction identified by the first candidate processed instruction; the fourth set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate processed instruction is greater than or equal to a fourth permission threshold, and whether the time when the target account processes the second candidate processed instruction is within a fourth processing period that allows the target account and the second financial system to conduct a second financial transaction, wherein the second financial transaction is the financial transaction identified by the second candidate processed instruction.

[0109] Optionally, in the instruction query device provided in this application embodiment, the device further includes: a second receiving module, configured to receive a target processing request from the requesting client after the target pending instruction and the target processed instruction are aggregated in a target view page and the target view page is sent to the requesting client, wherein the target processing request carries a target instruction; a third obtaining module, configured to respond to the target processing request and obtain the target financial business processing page corresponding to the target instruction through a target configuration file, wherein the target configuration file records the mapping relationship between all instructions and financial business processing pages; and a jump module, configured to jump from the target view page to the target financial business processing page.

[0110] The instruction query device provided in this application embodiment records all pending and processed instructions for each account in the database of the financial system. Upon receiving a target query, it indicates a desire to retrieve all pending and processed instructions for the target account. In this case, it can retrieve all pending and processed instructions for the target account in the database of the financial system handling different types of financial transactions, reducing the time spent querying instructions and improving the efficiency of querying instructions for the target account. Furthermore, it can aggregate and display verified pending and processed instructions on a single view page, avoiding discrepancies in instruction display views across different business sections, improving the user experience, and solving the problem of low instruction query efficiency in related technologies. Therefore, it achieves the effect of improving the efficiency of instruction query.

[0111] The instruction query device includes a processor and a memory. The aforementioned units are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to implement the corresponding functions.

[0112] A processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and the efficiency of instruction lookup can be improved by adjusting kernel parameters.

[0113] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0114] This invention provides a computer-readable storage medium storing a program thereon, which, when executed by a processor, implements the query method for the instructions.

[0115] This invention provides a processor for running a program, wherein the program executes a query method for the instructions during runtime.

[0116] like Figure 7 As shown, this embodiment of the invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: receiving a target query request, wherein the target query request carries a target account identifier associated with a target account; responding to the target query request, retrieving a first set of candidate pending instructions and a first set of candidate processed instructions associated with the target account from a first database of a first financial system, and retrieving a second set of candidate pending instructions and a second set of candidate processed instructions associated with the target account from a second database of a second financial system, wherein the business categories of the financial transactions processed by the first financial system and the second financial system are... The types are different. The first database and the second database respectively store all customer accounts and the mapping relationship between account instructions corresponding to each account. The account instructions include pending instructions and processed instructions. Target pending instructions that meet the first verification condition are obtained from the first candidate pending instruction set and the second candidate pending instruction set, and target processed instructions that meet the second verification condition are obtained from the first candidate processed instruction set and the second candidate processed instruction set. The target pending instructions and the target processed instructions are aggregated on the target view page, and the target view page is sent to the requesting client, wherein the requesting client is the client that sent the target query request.

[0117] Optionally, the processor may also perform the following steps when executing the program: obtaining all first candidate pending instructions associated with the target account from a first data table in the first database to obtain a set of first candidate pending instructions, wherein the first data table records the mapping relationship between the first financial system and all pending instructions of the customer account; obtaining all first candidate processed instructions associated with the target account from a second data table in the first database to obtain a set of first candidate processed instructions, wherein the second data table records the mapping relationship between the first financial system and all processed instructions of the customer account.

[0118] Optionally, the processor may also perform the following steps when executing the program: obtaining all second candidate pending instructions associated with the target account from the third data table in the second database to obtain a set of second candidate pending instructions, wherein the third data table records the mapping relationship between the second financial system and all pending instructions of the customer account; obtaining all second candidate processed instructions associated with the target account from the fourth data table in the second database to obtain a set of second candidate processed instructions, wherein the fourth data table records the mapping relationship between the second financial system and all processed instructions of the customer account.

[0119] Optionally, the processor may further implement the following steps when executing the program: obtaining a first instruction type for each first candidate instruction in the first candidate instruction set; indexing a first set of verification conditions using the first instruction type to obtain verification conditions corresponding to the first candidate instruction; using the verification conditions to verify the first candidate instruction set to obtain a first instruction to be processed that passes the verification; wherein the first set of verification conditions includes: a mapping relationship between all first instruction types and verification conditions, and the first verification conditions include the first set of verification conditions; obtaining a second instruction type for each second candidate instruction in the second candidate instruction set; indexing a second set of verification conditions using the second instruction type to obtain verification conditions corresponding to the second candidate instruction; using the verification conditions to verify the second candidate instruction set to obtain a second instruction to be processed that passes the verification; wherein the second set of verification conditions includes: a mapping relationship between all second instruction types and verification conditions, and the second verification conditions include the second set of verification conditions; and determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0120] Optionally, the processor may also implement the following steps when executing the program: the first set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate pending instruction is greater than or equal to a first permission threshold; whether the current time when the target query request is received is within a first processing period during which the target account is allowed to process the first candidate pending instruction; and whether the number of all customer accounts currently processing the first candidate pending instruction is greater than or equal to a first quantity threshold; the second set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate pending instruction is greater than or equal to a second permission threshold; whether the current time when the target query request is received is within a second processing period during which the target account is allowed to process the second candidate pending instruction; and whether the number of all customer accounts currently processing the second candidate pending instruction is greater than or equal to a second quantity threshold.

[0121] Optionally, the processor may further implement the following steps when executing the program: obtaining a third instruction type for each of the first candidate processed instructions in the first candidate processed instruction set; indexing a third set of verification conditions using the third instruction type to obtain verification conditions corresponding to the first candidate processed instruction; using the verification conditions to verify the first candidate processed instruction set to obtain a first processed instruction that passes the verification; wherein the third set of verification conditions includes: a mapping relationship between all the third instruction types and verification conditions, and the second verification condition includes the third set of verification conditions; obtaining a fourth instruction type for each of the second candidate processed instructions in the second candidate processed instruction set; indexing a fourth set of verification conditions using the fourth instruction type to obtain verification conditions corresponding to the second candidate processed instruction; using the verification conditions to verify the second candidate processed instruction set to obtain a second processed instruction that passes the verification; wherein the fourth set of verification conditions includes: a mapping relationship between all the fourth instruction types and verification conditions, and the second verification condition includes the fourth set of verification conditions; and determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0122] Optionally, the processor may also implement the following steps when executing the program: the third set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate processed instruction is greater than or equal to a third permission threshold, and whether the time when the target account processes the first candidate processed instruction is within a third processing period that allows the target account and the first financial system to conduct a first financial transaction, wherein the first financial transaction is the financial transaction identified by the first candidate processed instruction; the fourth set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate processed instruction is greater than or equal to a fourth permission threshold, and whether the time when the target account processes the second candidate processed instruction is within a fourth processing period that allows the target account and the second financial system to conduct a second financial transaction, wherein the second financial transaction is the financial transaction identified by the second candidate processed instruction.

[0123] Optionally, the processor may also perform the following steps when executing the program: receiving a target processing request from the requesting client, wherein the target processing request carries a target instruction; responding to the target processing request, obtaining the target financial business processing page corresponding to the target instruction through a target configuration file, wherein the target configuration file records the mapping relationship between all instructions and financial business processing pages; and jumping from the target view page to the target financial business processing page.

[0124] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0125] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program with the following initialization steps: receiving a target query request, wherein the target query request carries a target account identifier associated with a target account; responding to the target query request, retrieving a first candidate set of pending instructions and a first candidate set of processed instructions associated with the target account from a first database of a first financial system, and retrieving a second set of pending instructions and a second set of processed instructions associated with the target account from a second database of a second financial system, wherein the first financial system and the second financial system process different types of financial transactions. The first database and the second database respectively store all customer accounts and the mapping relationship between account instructions corresponding to each account. The account instructions include pending instructions and processed instructions. Target pending instructions that meet the first verification condition are obtained from the first candidate pending instruction set and the second candidate pending instruction set, and target processed instructions that meet the second verification condition are obtained from the first candidate processed instruction set and the second candidate processed instruction set. The target pending instructions and the target processed instructions are aggregated on the target view page, and the target view page is sent to the requesting client, wherein the requesting client is the client that sent the target query request.

[0126] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: obtaining all first candidate pending instructions associated with the target account from a first data table in the first database to obtain a set of first candidate pending instructions, wherein the first data table records the mapping relationship between the first financial system and all pending instructions of the customer account; obtaining all first candidate processed instructions associated with the target account from a second data table in the first database to obtain a set of first candidate processed instructions, wherein the second data table records the mapping relationship between the first financial system and all processed instructions of the customer account.

[0127] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: obtaining all second candidate pending instructions associated with the target account from a third data table in the second database to obtain a set of second candidate pending instructions, wherein the third data table records the mapping relationship between the second financial system and all pending instructions of the customer account; obtaining all second candidate processed instructions associated with the target account from a fourth data table in the second database to obtain a set of second candidate processed instructions, wherein the fourth data table records the mapping relationship between the second financial system and all processed instructions of the customer account.

[0128] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute a program with the following initialization steps: obtaining a first instruction type for each first candidate instruction to be processed in the first candidate instruction to be processed set; indexing a first set of verification conditions by the first instruction type to obtain verification conditions corresponding to the first candidate instruction to be processed; using the verification conditions to verify the first candidate instruction to be processed set to obtain a first instruction to be processed that passes the verification; wherein, the first set of verification conditions includes: a mapping relationship between all first instruction types and verification conditions, and the first verification conditions include the first set of verification conditions; obtaining a second instruction type for each second candidate instruction to be processed in the second candidate instruction to be processed set; indexing a second set of verification conditions by the second instruction type to obtain verification conditions corresponding to the second candidate instruction to be processed; using the verification conditions to verify the second candidate instruction to be processed set to obtain a second instruction to be processed that passes the verification; wherein, the second set of verification conditions includes: a mapping relationship between all second instruction types and verification conditions, and the second verification conditions include the second set of verification conditions; and determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0129] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: the first set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate pending instruction is greater than or equal to a first permission threshold; whether the current time of receiving the target query request is within a first processing period during which the target account is allowed to process the first candidate pending instruction; and whether the number of all customer accounts currently processing the first candidate pending instruction is greater than or equal to a first quantity threshold; the second set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate pending instruction is greater than or equal to a second permission threshold; whether the current time of receiving the target query request is within a second processing period during which the target account is allowed to process the second candidate pending instruction; and whether the number of all customer accounts currently processing the second candidate pending instruction is greater than or equal to a second quantity threshold.

[0130] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute a program with the following initialization steps: obtaining a third instruction type for each of the first candidate processed instructions in the first candidate processed instruction set; indexing a third set of verification conditions by the third instruction type to obtain verification conditions corresponding to the first candidate processed instruction; using the verification conditions to verify the first candidate processed instruction set to obtain a first processed instruction that passes the verification; wherein, the third set of verification conditions includes: a mapping relationship between all the third instruction types and verification conditions, and the second verification condition includes the third set of verification conditions; obtaining a fourth instruction type for each of the second candidate processed instructions in the second candidate processed instruction set; indexing a fourth set of verification conditions by the fourth instruction type to obtain verification conditions corresponding to the second candidate processed instruction; using the verification conditions to verify the second candidate processed instruction set to obtain a second processed instruction that passes the verification; wherein, the fourth set of verification conditions includes: a mapping relationship between all the fourth instruction types and verification conditions, and the second verification condition includes the fourth set of verification conditions; determining the first instruction to be processed and / or the second instruction to be processed as the target instruction to be processed.

[0131] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: the third set of verification conditions includes at least one of the following: whether the target account's processing permission for the first candidate processed instruction is greater than or equal to a third permission threshold; whether the time when the target account processes the first candidate processed instruction is within a third processing period that allows the target account and the first financial system to conduct a first financial transaction, wherein the first financial transaction is the financial transaction identified by the first candidate processed instruction; the fourth set of verification conditions includes at least one of the following: whether the target account's processing permission for the second candidate processed instruction is greater than or equal to a fourth permission threshold; whether the time when the target account processes the second candidate processed instruction is within a fourth processing period that allows the target account and the second financial system to conduct a second financial transaction, wherein the second financial transaction is the financial transaction identified by the second candidate processed instruction.

[0132] Optionally, when the above-mentioned computer program product is executed on a data processing device, it is suitable to execute an initialization program with the following method steps: receiving a target processing request from the requesting client, wherein the target processing request carries a target instruction; responding to the target processing request, obtaining the target financial business processing page corresponding to the target instruction through a target configuration file, wherein the target configuration file records the mapping relationship between all instructions and financial business processing pages; and jumping from the target view page to the target financial business processing page.

[0133] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0134] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0135] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The steps of the function specified in one or more boxes.

[0137] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0138] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0139] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0140] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0141] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0142] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. An instruction query method, characterized by, The method comprises: receiving a target query request, wherein the target query request carries a target account identifier associated with a target account; in response to the target query request, obtaining a first candidate to-be-processed instruction set and a first candidate processed instruction set associated with the target account from a first database of a first financial system, and obtaining a second candidate to-be-processed instruction set and a second candidate processed instruction set associated with the target account from a second database of a second financial system, wherein the first financial system and the second financial system process financial businesses of different business types, and the first database and the second database respectively store all customer accounts and a mapping relationship between each account and an account instruction, wherein the account instruction comprises a to-be-processed instruction and a processed instruction; obtaining a target to-be-processed instruction meeting a first check condition from the first candidate to-be-processed instruction set and the second candidate to-be-processed instruction set, and obtaining a target processed instruction meeting a second check condition from the first candidate processed instruction set and the second candidate processed instruction set; aggregating the target to-be-processed instruction and the target processed instruction in a target view page, and sending the target view page to a request client, wherein the request client is a client that sends the target query request.

2. The method of claim 1, wherein, The method comprises: obtaining all first candidate to-be-processed instructions associated with the target account from a first data table in the first database to obtain a first candidate to-be-processed instruction set, wherein the first data table records a mapping relationship between all to-be-processed instructions of the first financial system and customer accounts; obtaining all first candidate processed instructions associated with the target account from a second data table in the first database to obtain a first candidate processed instruction set, wherein the second data table records a mapping relationship between all processed instructions of the first financial system and customer accounts.

3. The method of claim 2, wherein, The method comprises: obtaining all second candidate to-be-processed instructions associated with the target account from a third data table in the second database to obtain a second candidate to-be-processed instruction set, wherein the third data table records a mapping relationship between all to-be-processed instructions of the second financial system and customer accounts; obtaining all second candidate processed instructions associated with the target account from a fourth data table in the second database to obtain a second candidate processed instruction set, wherein the fourth data table records a mapping relationship between all processed instructions of the second financial system and customer accounts.

4. The method of claim 1, wherein, The method comprises: obtaining a target to-be-processed instruction meeting a first check condition from the first candidate to-be-processed instruction set and the second candidate to-be-processed instruction set, and obtaining a target processed instruction meeting a second check condition from the first candidate processed instruction set and the second candidate processed instruction set; obtaining a first instruction type of each of the first candidate to-be-processed instructions in the first candidate to-be-processed instruction set, indexing a first set of check conditions by the first instruction type to obtain a check condition corresponding to the first candidate to-be-processed instruction, and using the check condition to check the first candidate to-be-processed instruction set to obtain first to-be-processed instructions that pass the check, wherein the first set of check conditions comprises a mapping relationship between all the first instruction types and check conditions, and the first check condition comprises the first set of check conditions; obtaining a second instruction type of each of the second candidate to-be-processed instructions in the second candidate to-be-processed instruction set, indexing a second set of check conditions by the second instruction type to obtain a check condition corresponding to the second candidate to-be-processed instruction, and using the check condition to check the second candidate to-be-processed instruction set to obtain second to-be-processed instructions that pass the check, wherein the second set of check conditions comprises a mapping relationship between all the second instruction types and check conditions, and the second check condition comprises the second set of check conditions; determining the first to-be-processed instructions and / or the second to-be-processed instructions as the target to-be-processed instructions.

5. The method of claim 4, wherein: the first set of check conditions comprises at least one of whether a processing authority of the target account number on the first candidate to-be-processed instruction is greater than or equal to a first authority threshold, whether a current time at which the target query request is received is within a first processing time period during which the target account number is allowed to process the first candidate to-be-processed instruction, and whether a number of account numbers of all customer account numbers currently processing the first candidate to-be-processed instruction is greater than or equal to a first number threshold; the second set of check conditions comprises at least one of whether a processing authority of the target account number on the second candidate to-be-processed instruction is greater than or equal to a second authority threshold, whether a current time at which the target query request is received is within a second processing time period during which the target account number is allowed to process the second candidate to-be-processed instruction, and whether a number of account numbers of all customer account numbers currently processing the second candidate to-be-processed instruction is greater than or equal to a second number threshold.

6. The method of claim 1, wherein, The obtaining of the target processed instruction that satisfies the second check condition from the first candidate processed instruction set and the second candidate processed instruction set comprises: obtaining a third instruction type of each of the first candidate processed instructions in the first candidate processed instruction set, indexing a third set of check conditions by the third instruction type to obtain a check condition corresponding to the first candidate processed instruction, and using the check condition to check the first candidate processed instruction set to obtain first processed instructions that pass the check, wherein the third set of check conditions comprises a mapping relationship between all the third instruction types and check conditions, and the second check condition comprises the third set of check conditions; obtaining a fourth instruction type of each of the second candidate processed instruction in the second candidate processed instruction set, indexing a fourth set of check conditions by the fourth instruction type, obtaining a check condition corresponding to the second candidate processed instruction by the fourth instruction type, and checking the second candidate processed instruction set by the check condition to obtain a second processed instruction passing the check, wherein the fourth set of check conditions comprises a mapping relationship between all the fourth instruction types and check conditions, and the second check condition comprises the fourth set of check conditions; determining the first processed instruction and / or the second processed instruction as the target processed instruction.

7. The method of claim 6, wherein, the third set of check conditions comprises at least one of whether a processing authority of the target account number on the first candidate processed instruction is greater than or equal to a third authority threshold, or whether a time when the target account number processes the first candidate processed instruction is within a third processing time period allowing a first financial service between the target account number and the first financial system, the first financial service being a financial service identified by the first candidate processed instruction; the fourth set of check conditions comprises at least one of whether a processing authority of the target account number on the second candidate processed instruction is greater than or equal to a fourth authority threshold, or whether a time when the target account number processes the second candidate processed instruction is within a fourth processing time period allowing a second financial service between the target account number and the second financial system, the second financial service being a financial service identified by the second candidate processed instruction.

8. The method of claim 1, wherein, After the target to-be-processed instruction and the target processed instruction are aggregated in the target view page, and the target view page is sent to the requesting client, the method further comprises: receiving a target processing request of the requesting client, wherein the target processing request carries a target instruction; obtaining, in response to the target processing request, a target financial service processing page corresponding to the target instruction by a target configuration file, wherein the target configuration file records a mapping relationship between all instructions and financial service processing pages; jumping from the target view page to the target financial service processing page.

9. An instruction query apparatus characterized by comprising: comprises: a first receiving module configured to receive a target query request, wherein the target query request carries a target account number identifier of an associated target account number; The first obtaining module is configured to obtain, in response to the target query request, a first candidate to-be-processed instruction set and a first candidate processed instruction set associated with the target account from a first database of a first financial system, and obtain a second candidate to-be-processed instruction set and a second candidate processed instruction set associated with the target account from a second database of a second financial system, wherein the first financial system and the second financial system process financial services of different service types, and the first database and the second database respectively store all customer accounts and a mapping relationship between each account and an account instruction, wherein the account instruction includes a to-be-processed instruction and a processed instruction; The second obtaining module is configured to obtain a target to-be-processed instruction satisfying a first check condition from the first candidate to-be-processed instruction set and the second candidate to-be-processed instruction set, and obtain a target processed instruction satisfying a second check condition from the first candidate processed instruction set and the second candidate processed instruction set; The processing module is configured to aggregate the target to-be-processed instruction and the target processed instruction in a target view page, and send the target view page to a request client, wherein the request client is a client that sends the target query request.

10. A processor, comprising: The processor is configured to run a program, wherein the program, when running, performs the instruction query method of any one of claims 1 to 8.

11. An electronic device, comprising: The one or more processors and the memory are configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data acquisition method and device, electronic equipment and storage medium

    CN114239060A

  • Account detail query method and device, equipment and storage medium

    CN114416804A