CN113806617A - Query arrangement method and device based on service request data analysis - Google Patents
Query arrangement method and device based on service request data analysis Download PDFInfo
- Publication number
- CN113806617A CN113806617A CN202111085415.XA CN202111085415A CN113806617A CN 113806617 A CN113806617 A CN 113806617A CN 202111085415 A CN202111085415 A CN 202111085415A CN 113806617 A CN113806617 A CN 113806617A
- Authority
- CN
- China
- Prior art keywords
- query
- request data
- service request
- priority
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000007405 data analysis Methods 0.000 title claims abstract description 37
- 238000004590 computer program Methods 0.000 claims description 21
- 210000000056 organ Anatomy 0.000 claims description 15
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 29
- 230000008569 process Effects 0.000 description 13
- 238000004458 analytical method Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000004806 packaging method and process Methods 0.000 description 3
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000004789 organ system Anatomy 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a query arranging method and a query arranging device based on service request data analysis, which relate to the technical field of information query services, and the method comprises the following steps: setting characteristic fields according to field information in the service request data, and configuring a priority parameter corresponding to each characteristic field; acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet; reading service request data of a query instruction in a database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling a background host to query corresponding transaction details according to the query arrangement; and after the inquiry of the transaction details is completed, forming a feedback packet according to a preset requirement, and sending the feedback packet to a corresponding inquiry system of the authorized authority. The invention adjusts the priority of the query instruction by analyzing the service request data, reduces the frequency of the instruction which is not returned after the time-out, reduces the frequency of the instruction query failure caused by the query time-out, and better fulfills the network query obligation.
Description
Technical Field
The present invention relates to the technical field of information query services, and in particular, to a query scheduling method and apparatus based on service request data analysis.
Background
In the field of network supervision and check, under the requirement of authorized institutions, each assisting execution institution has a great deal of inquiry obligations of account number transaction details every day.
In order to improve the response efficiency of network query, part of the assistant execution mechanisms mainly optimize the whole network query process into a plurality of asynchronous processing steps of instruction reading, instruction query, result packaging, result feedback and the like, and finally feed back the asynchronous processing steps to the query system of the authorized organ. However, with the increasing demand of network query, the processing capacity of the device is limited, and it is impossible to improve the concurrency of instruction query without limit, so that if some account query spans are too large in a certain batch of instructions, detailed query of related accounts cannot return a query result according to an appointed time, and further other query instructions in the same batch are directly treated as query failure due to aging (usually, an organization is agreed with an authorized organization, and an instruction which is not returned after a certain time is required to be returned as query failure).
In view of the above, a query instruction processing scheme capable of increasing the success rate of query and reducing the frequency of instructions not returned in an overdue period is needed.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a query arranging method and a query arranging device based on service request data analysis. The invention can evaluate the incidence relation between the business request data and the query overtime by analyzing the business request data, identify the instructions which possibly cause the query overtime by utilizing the relation, adjust the query priority of the instructions and reduce the frequency of the instructions which are not returned in the overtime, thereby reducing the frequency of instruction query failure caused by the query overtime and better fulfilling the network query obligation.
In a first aspect of the embodiments of the present invention, a query orchestration method based on service request data analysis is provided, where the method includes:
setting characteristic fields according to field information in service request data, and configuring a priority parameter corresponding to each characteristic field;
acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet;
reading service request data of a query instruction in a database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling a background host to query corresponding transaction details according to the query arrangement;
and after the inquiry of the transaction details is completed, forming a feedback packet according to a preset requirement, and sending the feedback packet to a corresponding inquiry system of the authorized authority.
Further, the method further comprises:
acquiring an inquiry overtime result from the inquiry results of the transaction details;
setting a blacklist library, and storing service request data of an inquiry overtime result;
when the service request data of the query instruction hit the service request data of the query overtime result in the blacklist library, the query instruction is directly judged to fail and the reason of failure is noted.
Further, setting a feature field according to field information in the service request data, and configuring a priority parameter corresponding to each feature field includes:
setting a characteristic field and the weight of the characteristic field;
and configuring the priority parameter of each characteristic field according to the characteristic field and the weight of the characteristic field.
Further, the characteristic field at least comprises: the code, account number, query start date and query end date of the authorized authority.
Further, configuring a priority parameter of each of the feature fields includes:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
Further, acquiring a query instruction packet, analyzing and warehousing the query instruction packet, including:
establishing communication connection between a bank local network query system and a query system of an authorized authority through an interconnection preposed module;
the bank local network query system reads a query instruction initiated by a query system of an authorized authority, reads a batch of query instruction packets each time, and analyzes and stores the query instruction packets, wherein each query instruction packet comprises queries of a plurality of account numbers.
Further, reading service request data of the query instruction in the database, extracting feature fields in the service request data, performing query arrangement according to priority parameters of the feature fields, and calling a background host to query corresponding transaction details according to the query arrangement, wherein the query operation comprises:
reading a batch of query instructions, and extracting a characteristic field of service request data in the query instructions;
according to the priority parameters of the characteristic fields, carrying out priority calculation on the characteristic fields in the service request data; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and scheduling and arranging the query instructions according to the priority calculation result, and querying the transaction details according to the scheduling and arranging sequence.
Further, after the query of the transaction details is completed, a feedback packet is formed according to a preset requirement and is sent to a corresponding query system of an authorized authority, including:
after the transaction detail query is completed, forming a feedback packet according to a preset requirement by using an asynchronous processing thread;
and after the group package is finished, the feedback package is sent to the corresponding inquiry system of the authorized organ through the interconnection prepositive module by the asynchronous processing thread.
In a second aspect of the embodiments of the present invention, a query orchestration device based on service request data analysis is provided, where the query orchestration device includes:
the priority configuration module is used for setting characteristic fields according to field information in service request data and configuring a priority parameter corresponding to each characteristic field;
the instruction acquisition module is used for acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet;
the query arrangement module is used for reading service request data of query instructions in the database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling the background host to query corresponding transaction details according to the query arrangement;
and the query feedback module is used for forming a feedback packet according to a preset requirement after the query of the transaction details is completed, and transmitting the feedback packet to a corresponding query system of an authorized organ.
Further, the apparatus further comprises:
the overtime result acquisition module is used for acquiring an inquiry overtime result from the inquiry results of the transaction details;
the blacklist library is used for storing the service request data of the query overtime result;
the query orchestration module is further to:
when the service request data of the query instruction hit the service request data of the query overtime result in the blacklist library, the query instruction is directly judged to fail and the reason of failure is noted.
Further, the priority configuration module comprises:
the setting unit is used for setting the characteristic field and the weight of the characteristic field;
and the priority parameter configuration unit is used for configuring the priority parameter of each characteristic field according to the characteristic fields and the weights of the characteristic fields.
Further, the characteristic field at least comprises: the code, account number, query start date and query end date of the authorized authority.
Further, the priority parameter configuration unit is specifically configured to:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
Further, the apparatus further comprises:
the interconnection preposition module is used for establishing communication connection between the bank local network inquiry system and the inquiry system of the authorized institution;
the instruction acquisition module is arranged in a bank local network query system and is specifically used for:
and reading a query instruction initiated by a query system of an authorized authority, reading a batch of query instruction packets each time, and analyzing and warehousing the query instruction packets, wherein each query instruction packet comprises queries of a plurality of account numbers.
Further, the query orchestration module comprises:
the characteristic extraction unit is used for reading the query instructions of one batch and extracting the characteristic fields of the service request data in the query instructions;
the priority calculating unit is used for calculating the priority of the characteristic field in the service request data according to the priority parameter of the characteristic field; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and the scheduling and arranging unit is used for scheduling and arranging the query instruction according to the priority calculation result and querying the transaction detail according to the scheduling and arranging sequence.
Further, the query feedback module comprises:
the package unit is used for forming a feedback package according to a preset requirement by using an asynchronous processing thread after the transaction detail query is completed;
and the sending unit is used for sending the feedback packet to a corresponding inquiry system of the authorized authority through the interconnection preposed module by the asynchronous processing thread after the group package is finished.
In a third aspect of the embodiments of the present invention, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements a query orchestration method based on service request data analysis when executing the computer program.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements a query orchestration method based on service request data analysis.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a query orchestration method based on service request data analysis according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart illustrating the setting of the blacklist library to improve the query efficiency according to an embodiment of the present invention.
Fig. 3 is a detailed flowchart illustrating the configuration of the priority parameter according to an embodiment of the present invention.
FIG. 4 is a detailed flow chart illustrating the setting of priority according to an embodiment of the present invention.
FIG. 5 is a detailed flow diagram of a get query instruction according to one embodiment of the invention.
FIG. 6 is a detailed flow diagram of query orchestration according to an embodiment of the invention.
Fig. 7 is a detailed flow diagram of group package feedback according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a query orchestration device based on service request data analysis according to a first embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a query orchestration device based on service request data analysis according to a second embodiment of the present invention.
FIG. 10 is a block diagram of a priority configuration module according to an embodiment of the invention.
Fig. 11 is a schematic structural diagram of a query orchestration device based on service request data analysis according to a third embodiment of the present invention.
FIG. 12 is a block diagram of a query orchestration module according to an embodiment of the invention.
Fig. 13 is a schematic diagram of an architecture of a query feedback module according to an embodiment of the present invention.
Fig. 14 is a schematic diagram illustrating a relationship between a bank network query system and related institution query systems and supporting systems according to an embodiment of the present invention.
Fig. 15A and 15B are schematic diagrams of an original network query system and an improved network query system, respectively.
FIG. 16 is a relationship diagram of rule definitions according to an embodiment of the present invention.
Fig. 17 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a query arrangement method and a query arrangement device based on service request data analysis are provided, and the method and the device relate to the technical field of information query services.
In the embodiments of the present invention, terms to be described include:
the authorized organ: public security, court, and certificate and supervision.
Assisting the actuating mechanism: business banks, payment institutions, and the like.
Network query: the authorized authority initiates a detail query instruction for the executed account number in a line mode, and assists the execution mechanism to query the transaction detail related to the account number in the authority according to the instruction requirement and return the transaction detail to the authorized authority.
The executed account: the individual (legal) account number queried by the authority.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a flowchart illustrating a query orchestration method based on service request data analysis according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s110, setting characteristic fields according to field information in service request data, and configuring priority parameters corresponding to each characteristic field;
s120, acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet;
s130, reading service request data of the query instruction in the database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling a background host to query corresponding transaction details according to the query arrangement;
and S140, after the inquiry of the transaction details is completed, forming a feedback packet according to a preset requirement, and sending the feedback packet to the corresponding inquiry system of the authorized authority.
Fig. 2 is a schematic flow chart illustrating the setting of the blacklist library to improve the query efficiency according to an embodiment of the present invention. As shown in fig. 2, the method further comprises:
s210, obtaining an overtime query result from the query result of the transaction detail;
s220, setting a blacklist library, and storing service request data of the query overtime result;
and S230, when the service request data of the query instruction hits the service request data of the query overtime result in the blacklist library, directly judging the failure of the query instruction and noting the failure reason.
Referring to the process of fig. 1, the present invention mainly performs priority arrangement from the characteristic fields (e.g., authorized authority, query time range, query account, etc.) in the service request data. In contrast, referring to fig. 2, if feature analysis is further performed on the service request data of the historical query timeout result in batches at night to form a "blacklist" library of query timeout, the service query request data hitting the blacklist is directly returned according to failure and the failure reason is explained to assist the authorized authority in optimizing the query instruction, which is more beneficial to improving the overall query efficiency of the network query system.
In order to explain the query layout method based on the service request data analysis more clearly, the following is a detailed description with reference to each step.
S110:
Fig. 3 is a detailed flowchart illustrating the configuration of the priority parameter according to an embodiment of the present invention. As shown in fig. 3, in S110, the specific process of setting the characteristic fields according to the field information in the service request data and configuring the priority parameter corresponding to each of the characteristic fields includes:
s111, setting the characteristic field and the weight of the characteristic field;
wherein the characteristic field includes at least: the code, account number, query start date and query end date of the authorized authority.
In an actual application scenario, other characteristic fields may be set according to field information in the service request data.
S112, configuring the priority parameter of each characteristic field according to the characteristic field and the weight of the characteristic field.
In this embodiment, the feature field may be flexibly set according to an actual situation, and the priority may be adjusted according to the actual situation, so as to improve the flexibility of the priority calculation in the subsequent steps.
Referring to fig. 4, a detailed flow chart of setting priority according to an embodiment of the invention is shown. As shown in fig. 4, in S112, configuring the priority parameter of each of the feature fields at least includes:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
For example, for a public account number with a low priority, an account number with a large query span has a low priority.
S120:
FIG. 5 is a flowchart illustrating a detailed process of obtaining a query according to an embodiment of the present invention. As shown in fig. 5, in S120, a query packet initiated by an authorized authority is obtained, and a specific process of analyzing and warehousing the query packet is as follows:
s121, establishing communication connection between a bank local network query system and a query system of an authorized organ through an interconnection front-end module;
and S122, the bank local network inquiry system reads inquiry instructions initiated by the inquiry system of the authorized authority, reads one batch of inquiry instruction packets each time, and analyzes and stores the inquiry instruction packets, wherein each inquiry instruction packet comprises inquiry of a plurality of account numbers.
S130:
Referring to FIG. 6, a detailed flow chart of query orchestration according to an embodiment of the invention is shown. As shown in fig. 6, the specific process of reading the service request data of the query instruction in the database, extracting the feature fields in the service request data, performing query arrangement according to the priority parameters of the feature fields, and invoking the background host to query the corresponding transaction details according to the query arrangement includes:
s131, reading a batch of query instructions, and extracting a characteristic field of service request data in the query instructions;
s132, calculating the priority of the characteristic field in the service request data according to the priority parameter of the characteristic field; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and S133, scheduling and arranging the query instructions according to the priority calculation result, and querying the transaction details according to the scheduling and arranging sequence.
S140:
Fig. 7 is a detailed flowchart of group packet feedback according to an embodiment of the present invention. As shown in fig. 7, in S140, after the query of the transaction details is completed, a feedback packet is formed according to the preset requirement, and the specific process of sending the feedback packet to the query system of the corresponding authorized authority includes:
s141, after the transaction detail query is completed, forming a feedback packet according to a preset requirement by using an asynchronous processing thread;
and S142, after the group package is finished, the feedback package is sent to the corresponding inquiry system of the authorized organ through the interconnection preposed module by the asynchronous processing thread.
The query arranging method based on the service request data analysis, provided by the invention, arranges the query according to different priorities by analyzing the characteristics of the service request data, thereby improving the overall query efficiency of a network query system and being more beneficial to assisting an execution mechanism to fulfill legal obligations; on one hand, the query efficiency and the success rate are improved by utilizing priority arrangement, on the other hand, the method does not need to greatly modify the original system, only needs to embed the arrangement method in the instruction query stage, and uses the priority to perform sequencing query, so that the modification cost is low.
It should be noted that although the operations of the method of the present invention have been described in the above embodiments and the accompanying drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the operations shown must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Having described the method of the exemplary embodiment of the present invention, a query orchestration device based on business request data analysis of an exemplary embodiment of the present invention is described next with reference to fig. 8.
The implementation of the query orchestration device based on service request data analysis may refer to the implementation of the above method, and repeated details are omitted. The term "module" or "unit" used hereinafter may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Based on the same inventive concept, the present invention further provides a query orchestration device based on service request data analysis, as shown in fig. 8, the device includes:
a priority configuration module 810, configured to set feature fields according to field information in service request data, and configure a priority parameter corresponding to each feature field;
an instruction obtaining module 820, configured to obtain a query instruction packet initiated by an authorized authority, and analyze and store the query instruction packet (database 830);
the query arranging module 840 is configured to read service request data of the query instruction in the database 830, extract a feature field in the service request data, perform query arranging according to a priority parameter of the feature field, and invoke a background host to query corresponding transaction details according to the query arranging;
and the query feedback module 850 is used for forming a feedback packet according to a preset requirement after the transaction detail query is completed, and sending the feedback packet to the corresponding query system of the authorized authority.
In this embodiment, referring to fig. 9, a schematic structural diagram of a query orchestration device based on service request data analysis according to a second embodiment of the present invention is shown. As shown in fig. 9, the apparatus further includes:
the overtime result acquisition module 860 is used for acquiring the query overtime result from the query result of the transaction detail;
a blacklist library 870 for storing service request data of query timeout results;
the query orchestration module 840 is further configured to:
when the service request data of the query instruction hit the service request data of the query overtime result in the blacklist library, the query instruction is directly judged to fail and the reason of failure is noted.
In this embodiment, referring to fig. 10, a schematic diagram of a priority configuration module according to an embodiment of the present invention is shown. As shown in fig. 10, the priority configuration module 810 includes:
a setting unit 811 for setting the feature fields and the weights of the feature fields;
a priority parameter configuration unit 812, configured to configure the priority parameter of each of the feature fields according to the feature fields and the weights of the feature fields.
Wherein the characteristic field includes at least: the code, account number, query start date and query end date of the authorized authority.
In this embodiment, the priority parameter configuration unit 812 is specifically configured to:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
In this embodiment, referring to fig. 11, a schematic structural diagram of a query orchestration device based on service request data analysis according to a third embodiment of the present invention is shown. As shown in fig. 11, the apparatus further includes:
an interconnection preposition module 880 for establishing communication connection between the bank local network query system and the authorized institution query system;
the instruction obtaining module 820 is arranged in a bank local network query system, and is specifically configured to:
and reading a query instruction initiated by a query system of an authorized authority, reading a batch of query instruction packets each time, and analyzing and warehousing the query instruction packets, wherein each query instruction packet comprises queries of a plurality of account numbers.
In this embodiment, referring to fig. 12, a schematic diagram of an architecture of a query orchestration module according to an embodiment of the present invention is shown. As shown in fig. 12, the query orchestration module 840 includes:
the feature extraction unit 841 is configured to read a batch of query instructions and extract a feature field of service request data in the query instructions;
a priority calculating unit 842, configured to perform priority calculation on the feature fields in the service request data according to the priority parameters of the feature fields; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and the scheduling and arranging unit 843 is configured to schedule and arrange the query instructions according to the priority calculation result, and query the transaction details according to the scheduling and arranging sequence.
In this embodiment, referring to fig. 13, a schematic diagram of an architecture of a query feedback module according to an embodiment of the present invention is shown. As shown in fig. 13, the query feedback module 850 includes:
the group package unit 851 is used for forming a feedback package according to a preset requirement by using an asynchronous processing thread after the transaction detail query is completed;
the sending unit 852 is configured to send the feedback packet to the query system of the corresponding authorized authority through the interconnection front-end module by using the asynchronous processing thread after the packet packaging is completed.
It should be noted that although several modules of the query orchestration device based on business request data analysis are mentioned in the above detailed description, such partitioning is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
For a clearer explanation of the query editing method and apparatus based on service request data analysis, a specific embodiment is described below, but it should be noted that the embodiment is only for better explaining the present invention, and is not to be construed as an undue limitation to the present invention.
Taking a bank network query system as an example, refer to fig. 14, which is a schematic diagram of a relationship between the bank network query system and related institution query system and supporting system. The bank is in butt joint with the network inquiry systems of all authorized authorities through the interconnection preposition, and the authorized authorities are assisted to complete the network inquiry business transaction through the following processes:
s1, instruction fetch: the bank actively reads the instruction to be inquired through interconnection and analyzes and stores the instruction in a warehouse, and reads one batch packet (including inquiry of a plurality of account numbers) each time.
S2, command inquiry: after the instruction is put in storage, the asynchronous processing thread reads the instruction service elements according to the storage time, and calls the bank core host to inquire corresponding transaction details according to the service elements.
S3, packaging the result: and after the transaction detail query is finished, the asynchronous processing thread feeds back the packet according to the requirements of the authorized organ system aiming at the queried instruction.
S4, result feedback: after the package is finished, the asynchronous processing thread sends the related feedback package to the authorized organ through the interconnection preposition.
In the process of instruction query, the invention arranges the query based on the analysis of the service request data, thereby improving the query success rate and the query efficiency.
Fig. 15A and fig. 15B are schematic diagrams of an original network query system and an improved network query system, respectively.
After improvement, the processes of feature extraction, feature analysis and instruction arrangement are set in the instruction query, and the query instruction priority is arranged by analyzing the service request data features.
Wherein the rules define: by making specific rules, the service request data of each instruction is subjected to characteristic analysis according to the defined rule fields. Such as: a rights authority code, an account number, a query start date, a query end date, etc.
A rule definition module can be independently provided in the rule definition process, and fig. 16 is a relationship diagram defined by the rule according to an embodiment of the present invention; therefore, the collection of the characteristic values during the priority calculation can be adjusted more flexibly, and the flexibility of the priority calculation is improved.
Feature extraction: and reading a batch of query instructions, and for the field in each instruction which meets the rule definition, reading the value of the corresponding field in the service request into a memory.
Characteristic analysis: and performing priority calculation according to a set rule through analysis of the characteristic field values in a batch of query instructions. Such as: the priority of the public account number is low, the priority of the account number with large query span is low, and the like.
Arranging instructions: and calculating the execution priority of the instruction after analyzing according to the characteristics, scheduling and arranging the instruction, and writing the instruction back to the database.
Compared with the original network query system, the invention optimizes the instruction query process, adjusts the query according to the database-entry time sequence into the query of transaction details according to the priority sequence, evaluates the incidence relation between the business request data and query overtime by analyzing the business request data, adjusts the priority of the query instruction by utilizing the relation, rearranges the query, reduces the frequency of instruction query failure caused by query overtime and better fulfills the network query obligation.
Based on the aforementioned inventive concept, as shown in fig. 17, the present invention further provides a computer device 100, which includes a memory 110, a processor 120, and a computer program 130 stored on the memory 110 and executable on the processor 120, wherein the processor 120 implements the aforementioned query orchestration method based on service request data analysis when executing the computer program 130.
Based on the foregoing inventive concept, the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the foregoing query orchestration method based on service request data analysis.
The query arranging method and the query arranging device based on the service request data analysis, provided by the invention, carry out arrangement on the query according to different priorities by analyzing the characteristics of the service request data, thereby improving the overall query efficiency of a network query system and being more beneficial to assisting an execution organization to fulfill legal obligations; on one hand, the query efficiency and the success rate are improved by utilizing priority arrangement, on the other hand, the method does not need to greatly modify the original system, only needs to embed the arrangement method in the instruction query stage, and uses the priority to perform sequencing query, so that the modification cost is low.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (18)
1. A query arranging method based on service request data analysis is characterized by comprising the following steps:
setting characteristic fields according to field information in service request data, and configuring a priority parameter corresponding to each characteristic field;
acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet;
reading service request data of a query instruction in a database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling a background host to query corresponding transaction details according to the query arrangement;
and after the inquiry of the transaction details is completed, forming a feedback packet according to a preset requirement, and sending the feedback packet to a corresponding inquiry system of the authorized authority.
2. The query orchestration method based on service request data analysis according to claim 1, further comprising:
acquiring an inquiry overtime result from the inquiry results of the transaction details;
setting a blacklist library, and storing service request data of an inquiry overtime result;
when the service request data of the query instruction hit the service request data of the query overtime result in the blacklist library, the query instruction is directly judged to fail and the reason of failure is noted.
3. The query orchestration method based on service request data analysis according to claim 1, wherein setting feature fields according to field information in service request data, and configuring priority parameters corresponding to each feature field comprises:
setting a characteristic field and the weight of the characteristic field;
and configuring the priority parameter of each characteristic field according to the characteristic field and the weight of the characteristic field.
4. The query orchestration method based on service request data analysis according to claim 3, wherein the feature field comprises at least: the code, account number, query start date and query end date of the authorized authority.
5. The query orchestration method based on service request data analysis according to claim 4, wherein configuring the priority parameter of each of the feature fields comprises:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
6. The query orchestration method based on service request data analysis according to claim 5, wherein obtaining a query instruction packet, parsing the query instruction packet, and storing the query instruction packet in a storage, comprises:
establishing communication connection between a bank local network query system and a query system of an authorized authority through an interconnection preposed module;
the bank local network query system reads a query instruction initiated by a query system of an authorized authority, reads a batch of query instruction packets each time, and analyzes and stores the query instruction packets, wherein each query instruction packet comprises queries of a plurality of account numbers.
7. The query orchestration method based on service request data analysis of claim 6, wherein reading service request data of a query instruction in a database, extracting a feature field in the service request data, performing query orchestration according to a priority parameter of the feature field, and invoking a background host to query corresponding transaction details according to the query orchestration, comprises:
reading a batch of query instructions, and extracting a characteristic field of service request data in the query instructions;
according to the priority parameters of the characteristic fields, carrying out priority calculation on the characteristic fields in the service request data; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and scheduling and arranging the query instructions according to the priority calculation result, and querying the transaction details according to the scheduling and arranging sequence.
8. The query orchestration method based on service request data analysis according to claim 6, wherein after completing query of transaction details, a feedback packet is formed according to preset requirements and sent to a query system of a corresponding authorized authority, comprising:
after the transaction detail query is completed, forming a feedback packet according to a preset requirement by using an asynchronous processing thread;
and after the group package is finished, the feedback package is sent to the corresponding inquiry system of the authorized organ through the interconnection prepositive module by the asynchronous processing thread.
9. A query orchestration device based on service request data analysis, the device comprising:
the priority configuration module is used for setting characteristic fields according to field information in service request data and configuring a priority parameter corresponding to each characteristic field;
the instruction acquisition module is used for acquiring a query instruction packet initiated by an authorized authority, and analyzing and warehousing the query instruction packet;
the query arrangement module is used for reading service request data of query instructions in the database, extracting characteristic fields in the service request data, performing query arrangement according to priority parameters of the characteristic fields, and calling the background host to query corresponding transaction details according to the query arrangement;
and the query feedback module is used for forming a feedback packet according to a preset requirement after the query of the transaction details is completed, and transmitting the feedback packet to a corresponding query system of an authorized organ.
10. The query orchestration device according to claim 9, wherein the device further comprises:
the overtime result acquisition module is used for acquiring an inquiry overtime result from the inquiry results of the transaction details;
the blacklist library is used for storing the service request data of the query overtime result;
the query orchestration module is further to:
when the service request data of the query instruction hit the service request data of the query overtime result in the blacklist library, the query instruction is directly judged to fail and the reason of failure is noted.
11. The query orchestration device according to claim 9, wherein the priority configuration module comprises:
the setting unit is used for setting the characteristic field and the weight of the characteristic field;
and the priority parameter configuration unit is used for configuring the priority parameter of each characteristic field according to the characteristic fields and the weights of the characteristic fields.
12. The query orchestration device according to claim 11, wherein the feature field comprises at least: the code, account number, query start date and query end date of the authorized authority.
13. The query orchestration device based on service request data analysis according to claim 12, wherein the priority parameter configuration unit is specifically configured to:
setting the priority according to the code sequence of the authorized organ;
setting priority according to the type of the account;
the priority is set according to the span of the query time.
14. The query orchestration device according to claim 13, wherein the device further comprises:
the interconnection preposition module is used for establishing communication connection between the bank local network inquiry system and the inquiry system of the authorized institution;
the instruction acquisition module is arranged in a bank local network query system and is specifically used for:
and reading a query instruction initiated by a query system of an authorized authority, reading a batch of query instruction packets each time, and analyzing and warehousing the query instruction packets, wherein each query instruction packet comprises queries of a plurality of account numbers.
15. The query orchestration device according to claim 14, wherein the query orchestration module comprises:
the characteristic extraction unit is used for reading the query instructions of one batch and extracting the characteristic fields of the service request data in the query instructions;
the priority calculating unit is used for calculating the priority of the characteristic field in the service request data according to the priority parameter of the characteristic field; the weights of the characteristic fields are sorted from high to low, and the sorting is carried out according to the priority of the characteristic fields under the same weight;
and the scheduling and arranging unit is used for scheduling and arranging the query instruction according to the priority calculation result and querying the transaction detail according to the scheduling and arranging sequence.
16. The query orchestration device according to claim 14, wherein the query feedback module comprises:
the package unit is used for forming a feedback package according to a preset requirement by using an asynchronous processing thread after the transaction detail query is completed;
and the sending unit is used for sending the feedback packet to a corresponding inquiry system of the authorized authority through the interconnection preposed module by the asynchronous processing thread after the group package is finished.
17. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 8 when executing the computer program.
18. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111085415.XA CN113806617A (en) | 2021-09-16 | 2021-09-16 | Query arrangement method and device based on service request data analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111085415.XA CN113806617A (en) | 2021-09-16 | 2021-09-16 | Query arrangement method and device based on service request data analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113806617A true CN113806617A (en) | 2021-12-17 |
Family
ID=78895512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111085415.XA Pending CN113806617A (en) | 2021-09-16 | 2021-09-16 | Query arrangement method and device based on service request data analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113806617A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114548937A (en) * | 2022-02-25 | 2022-05-27 | 建信金融科技有限责任公司 | Cooperation method, control device and storage medium for external Cooperation system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146288A (en) * | 2007-09-24 | 2008-03-19 | 中兴通讯股份有限公司 | A SMS mobile search method and system |
CN103326921A (en) * | 2012-03-19 | 2013-09-25 | 上海博路信息技术有限公司 | Cloud-mode email sending method |
CN108897819A (en) * | 2018-06-20 | 2018-11-27 | 北京密境和风科技有限公司 | A kind of data search method and device |
US20200110778A1 (en) * | 2017-03-31 | 2020-04-09 | Beijing Sankuai Online Technology Co., Ltd | Search method and apparatus and non-temporary computer-readable storage medium |
CN112182107A (en) * | 2020-09-29 | 2021-01-05 | 中国平安财产保险股份有限公司 | Method and device for acquiring list data, computer equipment and storage medium |
-
2021
- 2021-09-16 CN CN202111085415.XA patent/CN113806617A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146288A (en) * | 2007-09-24 | 2008-03-19 | 中兴通讯股份有限公司 | A SMS mobile search method and system |
CN103326921A (en) * | 2012-03-19 | 2013-09-25 | 上海博路信息技术有限公司 | Cloud-mode email sending method |
US20200110778A1 (en) * | 2017-03-31 | 2020-04-09 | Beijing Sankuai Online Technology Co., Ltd | Search method and apparatus and non-temporary computer-readable storage medium |
CN108897819A (en) * | 2018-06-20 | 2018-11-27 | 北京密境和风科技有限公司 | A kind of data search method and device |
CN112182107A (en) * | 2020-09-29 | 2021-01-05 | 中国平安财产保险股份有限公司 | Method and device for acquiring list data, computer equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114548937A (en) * | 2022-02-25 | 2022-05-27 | 建信金融科技有限责任公司 | Cooperation method, control device and storage medium for external Cooperation system |
CN114548937B (en) * | 2022-02-25 | 2024-05-14 | 建信金融科技有限责任公司 | Method, control device and storage medium for external investigation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232565B (en) | Resource clearing method, device, computer equipment and storage medium | |
CN112101955B (en) | Concurrent payment method, system and device | |
CN109993651B (en) | Data accounting service instruction set checking method, device, computer equipment and medium | |
CN111738709A (en) | Transaction processing method and device | |
CN114170023A (en) | Method and device for testing fund transaction operation platform system | |
CN113128998B (en) | Service processing method, device and system of block chain system | |
CN113806617A (en) | Query arrangement method and device based on service request data analysis | |
CN114971638A (en) | Transaction authentication method and device based on risk identification | |
CN112965986A (en) | Service consistency processing method, device, equipment and storage medium | |
CN115578180A (en) | Bank outlet cash resource management method and device | |
CN112148353B (en) | Data processing method and device | |
CN115204996A (en) | Capital collection method and device and computer equipment | |
CN112419052B (en) | Transaction testing method, device, electronic equipment and readable storage medium | |
CN113535772A (en) | Merchant refund execution method and device | |
CN108961039B (en) | Transaction processing method, device and system | |
CN114418738A (en) | Cross-border remittance data processing method and device | |
CN113282664A (en) | Data synchronization method, system and storage medium based on block chain | |
CN111679799A (en) | Voucher printing method and device | |
CN114266607B (en) | Invoice authentication method and device | |
CN113344547A (en) | Information processing method and server | |
CN118365276B (en) | Method, system and equipment for automating flow of foreign exchange fund business | |
CN117743282A (en) | Transaction data sharing method and device | |
CN114219494A (en) | Repeated payment instruction verification method and system | |
CN118446690A (en) | Transaction processing method and device | |
CN114066614A (en) | General ledger system business flow advanced processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |