CN113660166A - Transaction routing control method and device, electronic equipment and storage medium - Google Patents
Transaction routing control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113660166A CN113660166A CN202110944023.8A CN202110944023A CN113660166A CN 113660166 A CN113660166 A CN 113660166A CN 202110944023 A CN202110944023 A CN 202110944023A CN 113660166 A CN113660166 A CN 113660166A
- Authority
- CN
- China
- Prior art keywords
- transaction
- channel
- routing rule
- routing
- transaction channel
- 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 61
- 238000004590 computer program Methods 0.000 claims abstract description 28
- 238000012216 screening Methods 0.000 claims abstract description 21
- 230000001960 triggered effect Effects 0.000 claims description 13
- 230000015654 memory Effects 0.000 claims description 11
- 238000012795 verification Methods 0.000 claims description 9
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000004043 dyeing Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 16
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000010186 staining Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000010223 real-time analysis Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Technology Law (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure provides a transaction routing control method, apparatus, electronic device, storage medium, and computer program product, which may be applied to the financial field or other fields. The transaction routing control method comprises the following steps: receiving a transaction request of a client; and aiming at the transaction request, screening a target transaction channel according to the first routing rule and the second routing rule, and pushing the target transaction channel to the client.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a transaction routing control method and apparatus, an electronic device, and a storage medium.
Background
In a daily transaction system, as the transaction types accessed by the system are more and the complexity is higher and more, the real-time analysis and treatment of data such as stability, timeliness and success rate of each transaction in the system are more and more concerned. Therefore, how to find the transaction risk in time in the transaction process and ensure the smooth transaction, so as to improve the stability of the transaction system is very important.
Disclosure of Invention
In view of the above, the present disclosure provides a transaction routing control method, apparatus, electronic device, storage medium, and computer program product.
According to an aspect of the present disclosure, there is provided a method of transaction routing control, comprising:
receiving a transaction request of a client;
and aiming at the transaction request, screening a target transaction channel according to the first routing rule and the second routing rule, and pushing the target transaction channel to the client.
According to an embodiment of the present disclosure, the first routing rule includes:
and confirming whether the transaction request specifies a routing rule, if so, verifying the specified routing rule, and if the verification is passed, determining the specified routing rule as a transaction channel to be selected.
According to an embodiment of the present disclosure, wherein the second routing rule includes:
determining whether the transaction channel to be selected meets a preset condition, if so, selecting the transaction channel to be selected corresponding to the preset condition as a target transaction channel; if not, selecting a preset transaction channel as a target transaction channel, wherein the preset transaction channel is a transaction channel which is configured in advance and meets preset conditions;
the preset conditions include: at least one of the transaction type, the transaction cost, the transaction success rate, the transaction timeliness and the transaction priority supported by the transaction channel to be selected meets a preset threshold value.
According to an embodiment of the present disclosure, the method further comprises: before the target transaction channel is pushed to the client, the target transaction channel is dyed so as to track transaction data corresponding to the transaction request.
According to an embodiment of the present disclosure, the method further comprises:
receiving a trigger event for adjusting a routing rule, and acquiring a transaction result in a preset time period;
and adjusting the first routing rule and the second routing rule according to the transaction result, so that when the current transaction request is received, a target transaction channel corresponding to the current transaction request is screened according to the adjusted routing rule, and the target transaction channel is pushed to the client.
According to an embodiment of the present disclosure, wherein the triggering event comprises at least one of:
a trigger event automatically triggered within a preset time period;
a trigger event that is automatically triggered upon receipt of a transaction request;
triggering when the current transaction channel is abnormal; and
a trigger when the client sends an adjustment request.
According to another aspect of the present disclosure, there is provided a transaction routing control apparatus including:
the receiving module is used for receiving a transaction request of a client;
and the screening module is used for screening the target transaction channel according to the first routing rule and the second routing rule aiming at the transaction request and pushing the target transaction channel to the client.
According to an embodiment of the present disclosure, the first routing rule includes: and confirming whether the transaction request specifies a routing rule, if so, verifying the specified routing rule, and if the verification is passed, determining the specified routing rule as a transaction channel to be selected.
According to an embodiment of the present disclosure, wherein the second routing rule includes:
determining whether the transaction channel to be selected meets a preset condition, if so, selecting the transaction channel to be selected corresponding to the preset condition as a target transaction channel; if not, selecting a preset transaction channel as a target transaction channel, wherein the preset transaction channel is a transaction channel which is configured in advance and meets preset conditions;
the preset conditions include: at least one of the transaction type, the transaction cost, the transaction success rate, the transaction timeliness and the transaction priority supported by the transaction channel to be selected meets a preset threshold value.
According to an embodiment of the present disclosure, the apparatus further comprises: and the dyeing module is used for dyeing the target transaction channel before the target transaction channel is pushed to the client so as to track the transaction data corresponding to the transaction request.
According to an embodiment of the present disclosure, the apparatus further comprises:
the acquisition module is used for receiving a trigger event for adjusting the routing rule and acquiring a transaction result in a preset time period; and
and the adjusting module is used for adjusting the first routing rule and the second routing rule according to the transaction result so as to screen a target transaction channel corresponding to the current transaction request according to the adjusted routing rule when the current transaction request is received and push the target transaction channel to the client.
According to an embodiment of the present disclosure, wherein the triggering event comprises at least one of:
a trigger event automatically triggered within a preset time period;
a trigger event that is automatically triggered upon receipt of a transaction request;
triggering when the current transaction channel is abnormal; and
a trigger when the client sends an adjustment request.
According to another aspect of the present disclosure, there is provided an electronic device including: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform operations that implement the methods described above.
According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method implementing the above.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method as described above.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of a transaction routing control method, apparatus, electronic device, storage medium and computer program product according to embodiments of the present disclosure;
FIG. 2 schematically shows a flow chart of a transaction routing control method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow chart of a transaction routing control method according to another embodiment of the present disclosure;
FIG. 4 schematically shows a flow chart of a transaction routing control method according to another embodiment of the present disclosure;
fig. 5 schematically illustrates a flow chart of a method of adjusting routing rules according to an embodiment of the present disclosure;
FIG. 6 schematically shows a block diagram of a transaction routing control arrangement according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a block diagram of a transaction routing control device according to another embodiment of the present disclosure;
FIG. 8 schematically illustrates a block diagram of a transaction routing control device according to another embodiment of the present disclosure; and
fig. 9 schematically shows a block diagram of an electronic device suitable for implementing a transaction routing control method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, 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, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
Embodiments of the present disclosure provide a transaction routing control method, apparatus, electronic device, storage medium, and computer program product, which may be used in the financial field, big data field, or other fields, and are not limited herein. The transaction routing control method comprises the following steps: receiving a transaction request of a client; and aiming at the transaction request, screening a target transaction channel according to a first routing rule and a second routing rule, and pushing the target transaction channel to a client.
Fig. 1 schematically shows an application scenario diagram of a transaction routing control method, apparatus, electronic device, storage medium and computer program product according to an embodiment of the disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the transaction routing control method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the transaction routing control device provided by the embodiments of the present disclosure may be generally disposed in the server 105. The transaction routing control method provided by the embodiments of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the transaction routing control device provided in the embodiment of the present disclosure may also be disposed in a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The transaction routing control method according to the embodiment of the present disclosure will be described in detail below with reference to fig. 2.
Fig. 2 schematically shows a flow chart of a transaction routing control method according to an embodiment of the present disclosure.
As shown in fig. 2, the method for supporting dynamic acquisition of buried point data specifically includes operations S210 to S230.
In operation S210, a transaction request of a client is received.
The client comprises at least two terminal types, wherein each terminal type can have different applications or functions, and a user can select one terminal type to carry out transaction according to actual needs. For example, the client includes three types of a terminal a, a terminal B having additional functions B1, B2 with respect to the terminal a, and a terminal C having additional functions C1, C2 and C3 with respect to the terminal B. Assuming that the user needs to use function B1 to make a transaction, the user may send a transaction request through terminal B.
It should be noted that the clients of the at least two terminal types may be set according to the needs of the service scenario, and are not limited herein.
In operation S220, a target transaction channel screening is performed according to the first routing rule and the second routing rule for the transaction request.
And aiming at the transaction request sent by the client, screening a target transaction channel based on the first routing rule and the second routing rule, wherein the screened target transaction channel can support the smooth transaction. And if the target transaction channel corresponding to the transaction request is not screened according to the routing rule, taking a preset transaction channel as the target transaction channel. The target transaction channel is a transaction channel which is configured in advance by the system and meets preset conditions, and smooth execution of transactions can be guaranteed by utilizing the preset transaction channel. By adopting the routing rule to screen the target transaction channels, the potential risks in the transaction can be found in time, and the transaction channels can be transferred to the preset transaction channels in time when the potential risks are found, so that the transaction is smoothly carried out, and the stability and the flexibility of the transaction system are improved.
In operation S230, the target transaction channel is pushed to the client.
And after the target transaction channel is screened out, the target transaction channel is pushed to the client, and the user can complete the transaction according to the target transaction channel.
According to the transaction routing control method, the routing rules are adopted to screen the target transaction channels, so that potential risks existing in the transaction can be found in time, the transaction channels can be transferred to the preset transaction channels in time when the potential risks are found, smooth transaction is guaranteed, and stability and flexibility of a transaction system are improved.
Fig. 3 schematically shows a flow chart of a transaction routing control method according to another embodiment of the present disclosure.
As shown in fig. 3, the transaction routing control method specifically includes operations S310 to S330. Here, operations S310 and S330 are implemented in the same manner as operations S210 and S230, respectively, and repeated parts will not be described in detail.
In operation S310, a transaction request of a client is received.
In operation S320, a target transaction channel is screened according to the first routing rule and the second routing rule for the transaction request.
In the operation S320, the first routing rule includes operations S321 to S324.
In operation S321, it is confirmed whether the transaction request specifies a routing rule, and if the routing rule is specified, operation S322 is performed, otherwise operation S327 is performed.
Wherein the routing rule is composed of a routing condition and a logical connector. Routing conditions allow for dynamic additions such as transaction type, transaction fee, routing policy, and the like. Logical connectors comprise logical AND, logical OR, for connecting different routing conditions.
The routing policy may be configured according to a cost priority rule, a time efficiency priority rule, a traffic rate priority rule, a correct matching rate priority rule, and a route designation manner, where the routing rule may select a combination of one or more rules, which is not limited herein. The cost priority principle refers to selecting a transaction channel with lower cost. The timeliness optimization principle is to select a transaction channel with higher timeliness by taking timeliness as a screening standard. The trading rate optimization principle is to select a trading channel with higher trading success rate by taking the trading success rate as a screening standard. The principle of correct matching rate priority is to select the transaction channels which can support the current transaction in each transaction channel.
In operations S322 to S323, the designated routing rule is checked. If the verification passes, operation S324 is performed, otherwise operation S327 is performed.
For example, basic attribute verification is carried out on the routing rule, and if the routing rule passes the verification, the specified routing rule is determined to be used as a transaction channel to be selected; if the verification is not passed, operation S327 is performed. By adopting the method, whether the specified routing rules are matched or not can be judged, and if the specified routing rules are matched, the routing rules are used as a candidate transaction channel for candidate. If the routing rules are not matched, the preset transaction channel is directly adopted for transaction, so that the transaction channel can be automatically switched to the preset transaction channel under the condition that a user feels no, the problem that the transaction cannot be smoothly carried out due to the abnormal routing rules is avoided, and the stability of the transaction system is improved.
In operation S324, the specified routing rule is determined as the candidate transaction channel.
In operation S325, it is determined whether the transaction channel to be selected satisfies a preset condition, and if so, operation S326 is performed; if not, operation S327 is performed.
The preset condition comprises that at least one of the transaction types, the transaction costs, the transaction success rate, the transaction timeliness and the transaction priorities supported by the transaction channel to be selected meet a preset threshold. The preset threshold may be a set value or a set value range, or may be a set condition, for example, when the transaction types supported by the to-be-selected transaction channel include a preset transaction type (for example, the transaction types U1 and U2), the to-be-selected transaction channel is considered to satisfy the preset threshold of the transaction type. And when the transaction success rate of the transaction channel to be selected is not less than a preset range or a preset value, the transaction success rate is considered to meet a preset threshold value of the transaction success rate. Other predetermined conditions, such as transaction cost, transaction timeliness, transaction priority, etc., are similar to the above definition and are not described herein again.
It should be noted that the transaction priority here may be understood as a priority order of the transaction, and may also be understood as whether the user or user information (e.g., used device, IP/MAC address, etc.) requesting the transaction has been included in the black and white lists. The ordering of the transactions requested by the users in the white list is prior, and the transactions requested by the users in the black list are considered not to meet the preset conditions, and the transaction requests of the users are directly transferred to a preset transaction channel.
By the judgment conditions, the screening conditions can be set according to actual needs to screen out target transaction channels meeting the preset conditions, such as transaction channels with high transaction success rate, so that the flexibility of the transaction system is improved. In addition, when the preset conditions are not met, the method can also transfer the transaction to the preset transaction channel under the condition that the user feels no, so that the transaction failure caused by abnormity or fault in the subsequent transaction process can be avoided, and the stability of the transaction system is improved.
In operation S326, a candidate transaction channel corresponding to the preset condition is selected as a target transaction channel.
In operation S327, a preset transaction channel is selected as a target transaction channel.
In operation S330, the target transaction channel is pushed to the client.
Fig. 4 schematically shows a flow chart of a transaction routing control method according to another embodiment of the present disclosure.
As shown in fig. 4, the transaction routing control method specifically includes operations S410 to S440. Here, the operations S410, S420, and S440 are implemented in the same manner as the operations S210, S220, and S230, respectively, and repeated parts will not be described in detail.
In operation S410, a transaction request of a client is received.
In operation S420, a target transaction channel screening is performed according to the first routing rule and the second routing rule for the transaction request.
In operation S430, the target transaction channel is dyed to track transaction data corresponding to the transaction request.
Specifically, the selected target transaction channel is dyed, so that the transaction data corresponding to the transaction request can be tracked in the transaction execution process, and thus, the transaction data can be conveniently collected and analyzed subsequently, for example, the transaction cost rate, the transaction cost, the transaction timeliness, the transaction priority and the like corresponding to the transaction are obtained, and the data can be used for adjusting and updating the routing rule, so that the accuracy of the transaction system is improved.
In operation S440, the target transaction channel is pushed to the client.
In some embodiments, the routing rules described above may be adjusted, as will be described in more detail below with reference to FIG. 5.
Fig. 5 schematically shows a flow chart of a method of adjusting routing rules according to an embodiment of the present disclosure.
As shown in fig. 5, the method of adjusting the routing rule includes operations S510 to S520.
In operation S510, a trigger event for adjusting the routing rule is received, and a transaction result within a preset time period is obtained.
Because the transaction channel bound by the user may be modified, the information of the transaction channel, such as the transaction cost, the transaction success rate, and the like, changes along with the increase of the transaction times, and therefore, the routing rule needs to be dynamically adjusted to ensure the real-time performance and the accuracy of the transaction system data.
In an embodiment of the present disclosure, the triggering event includes at least one of: the method comprises the steps of automatically triggering a triggering event in a preset time period, automatically triggering the triggering event when a transaction request is received, triggering when a client sends an adjustment request and automatically triggering when a current transaction channel is abnormal.
Specifically, the routing rule may be adjusted according to historical transaction results within a preset time period, such as timeliness of transactions, transaction success rate, transaction priority, and the like, so as to improve accuracy of the transaction system.
In the embodiment of the present disclosure, the historical transaction result within the preset time period may be used as a data basis for adjusting the routing rule. For example, the adjustment function may be set to be automatically triggered at a fixed time within a preset time period, or may be set to be automatically triggered at intervals. And when the appointed time arrives, starting an adjusting function of the routing rule, and acquiring a historical transaction result in a preset time period. The predetermined time may be set according to actual needs, and is not limited herein.
In the embodiment of the present disclosure, when the transaction request is received and the transaction content is executed, the routing rule may be updated according to the transaction result, for example, the routing rule may be adjusted according to the latest transaction data.
In the embodiment of the disclosure, when an adjustment request sent by a client is received, a routing rule is adjusted in response to the adjustment request and according to a historical transaction result within a preset time period.
In the embodiment of the disclosure, if the current transaction channel is abnormal, the routing rule can be automatically triggered and adjusted, so that the influence of some error information on the system performance can be avoided, and a better transaction channel can be screened out.
In some embodiments of the present disclosure, the routing rules may also be adjusted by triggering in response to preset events. Specifically, a function of automatically triggering adjustment when the number of transactions reaches a certain preset value or a preset range, or in response to the triggering of a specific event may be set. It should be noted that the transaction number or the specific event may be set according to actual needs, and is not limited herein.
In operation S520, the first routing rule and the second routing rule are adjusted according to the transaction result, so that when the current transaction request is received, the target transaction channel corresponding to the current transaction request is screened according to the adjusted routing rule, and the target transaction channel is pushed to the client.
In the embodiment of the present disclosure, for example, the first routing rule and the second routing rule may be adjusted according to a transaction result in a latest time period, so that when a current transaction request is received, a target transaction channel corresponding to the current transaction request is screened according to the adjusted routing rule, and the target transaction channel is pushed to the client. The adjustment routing rule includes, but is not limited to, adjustment of transaction type, transaction cost, transaction success rate, transaction timeliness, transaction priority, and the like.
It should be noted that operations S510 to S520 may be executed independently from operations S210 to S230, or may be executed before or after operations S210 to S230, which is not limited herein.
Based on the transaction routing control method, the disclosure also provides a transaction routing control device. The apparatus will be described in detail below with reference to fig. 6, 7 and 8.
Fig. 6 schematically shows a block diagram of a transaction routing control device according to an embodiment of the present disclosure.
As shown in fig. 6, the transaction routing control device 600 includes a receiving module 610 and a filtering module 620.
The receiving module 610 is configured to receive a transaction request of a client.
And the screening module 620 is configured to, for the transaction request, screen a target transaction channel according to the first routing rule and the second routing rule, and push the target transaction channel to the client.
In some embodiments of the disclosure, the first routing rule includes: and confirming whether the transaction request specifies a routing rule, if so, verifying the specified routing rule, and if the verification is passed, determining the specified routing rule as a transaction channel to be selected.
In some embodiments of the disclosure, the second routing rule includes: determining whether the transaction channel to be selected meets a preset condition, if so, selecting the transaction channel to be selected corresponding to the preset condition as a target transaction channel; if not, selecting a preset transaction channel as a target transaction channel, wherein the preset transaction channel is a transaction channel which is configured in advance and meets preset conditions.
In an embodiment of the present disclosure, the preset conditions include: at least one of the transaction type, the transaction cost, the transaction success rate, the transaction timeliness and the transaction priority supported by the transaction channel to be selected meets a preset threshold value.
Fig. 7 schematically shows a block diagram of a transaction routing control device according to another embodiment of the present disclosure.
As shown in fig. 7, the transaction routing control device 700 includes a receiving module 710, a screening module 720, and a staining module 730.
The receiving module 710 is configured to receive a transaction request of a client.
And the screening module 720 is configured to, for the transaction request, screen a target transaction channel according to the first routing rule and the second routing rule, and push the target transaction channel to the client.
The staining module 730 is configured to stain the target transaction channel before the target transaction channel is pushed to the client, so as to track the transaction data corresponding to the transaction request.
Fig. 8 schematically shows a block diagram of a transaction routing control device according to another embodiment of the present disclosure.
As shown in fig. 8, the transaction routing control device 800 includes a receiving module 810, a filtering module 820, an obtaining module 830, and an adjusting module 840.
The receiving module 810 is configured to receive a transaction request of a client.
The screening module 820 is configured to, for the transaction request, screen a target transaction channel according to the first routing rule and the second routing rule, and push the target transaction channel to the client.
The obtaining module 830 is configured to receive a trigger event for adjusting the routing rule, and obtain a transaction result within a preset time period.
The adjusting module 840 is configured to adjust the first routing rule and the second routing rule according to the transaction result, so that when the current transaction request is received, a target transaction channel corresponding to the current transaction request is screened according to the adjusted routing rule, and the target transaction channel is pushed to the client.
In some embodiments of the present disclosure, the triggering event comprises at least one of: a trigger event automatically triggered within a preset time period; a trigger event that is automatically triggered upon receipt of a transaction request; and a trigger when the client sends the adjustment request.
It should be noted that the implementation, solved technical problems, implemented functions, and achieved technical effects of each module/unit/subunit and the like in the apparatus part embodiment are respectively the same as or similar to the implementation, solved technical problems, implemented functions, and achieved technical effects of each corresponding step in the method part embodiment, and are not described herein again.
According to an embodiment of the present disclosure, any multiple modules of the receiving module 810, the screening module 820, the obtaining module 830 and the adjusting module 840 may be combined into one module to be implemented, or any one of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the disclosure, at least one of the receiving module 810, the screening module 820, the obtaining module 830, and the adjusting module 840 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or may be implemented by any one of three implementations of software, hardware, and firmware, or any suitable combination of any of them. Alternatively, at least one of the receiving module 810, the screening module 820, the obtaining module 830 and the adjusting module 840 may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and do not violate the good custom of the public order.
FIG. 9 schematically illustrates a block diagram of an electronic device adapted to implement a common component testing method in accordance with an embodiment of the present disclosure.
As shown in fig. 9, an electronic apparatus 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM903, various programs and data necessary for the operation of the electronic apparatus 900 are stored. The processor 901, the ROM 902, and the RAM903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 902 and/or the RAM903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 901. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, and downloaded and installed through the communication section 909 and/or installed from the removable medium 911. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.
Claims (15)
1. A transaction routing control method, comprising:
receiving a transaction request of a client;
and aiming at the transaction request, screening a target transaction channel according to a first routing rule and a second routing rule, and pushing the target transaction channel to the client.
2. The transaction routing control method of claim 1, wherein the first routing rule comprises:
and confirming whether the transaction request specifies a routing rule, if so, verifying the specified routing rule, and if the verification is passed, determining the specified routing rule as a transaction channel to be selected.
3. The transaction routing control method of claim 2, wherein the second routing rule comprises:
determining whether the transaction channel to be selected meets a preset condition, if so, selecting the transaction channel to be selected corresponding to the preset condition as the target transaction channel; if not, selecting a preset transaction channel as the target transaction channel, wherein the preset transaction channel is a transaction channel which is configured in advance and meets the preset condition;
the preset conditions include: at least one of the transaction type, the transaction cost, the transaction success rate, the transaction timeliness and the transaction priority supported by the transaction channel to be selected meets a preset threshold value.
4. The transaction routing control method of claim 1, further comprising:
before the target transaction channel is pushed to the client, the target transaction channel is dyed so as to track transaction data corresponding to the transaction request.
5. The transaction routing control method of claim 1, further comprising:
receiving a trigger event for adjusting a routing rule, and acquiring a transaction result in a preset time period;
and adjusting the first routing rule and the second routing rule according to the transaction result, so that when a current transaction request is received, a target transaction channel corresponding to the current transaction request is screened according to the adjusted routing rule, and the target transaction channel is pushed to a client.
6. The transaction routing control method of claim 5, wherein the triggering event comprises at least one of:
a trigger event automatically triggered within the preset time period;
a trigger event that is automatically triggered upon receipt of a transaction request;
triggering when the current transaction channel is abnormal; and
a trigger when the client sends an adjustment request.
7. A transaction routing control device comprising:
the receiving module is used for receiving a transaction request of a client;
and the screening module is used for screening a target transaction channel according to the first routing rule and the second routing rule aiming at the transaction request and pushing the target transaction channel to the client.
8. The transaction routing control device of claim 7, wherein the first routing rule comprises:
and confirming whether the transaction request specifies a routing rule, if so, verifying the specified routing rule, and if the verification is passed, determining the specified routing rule as a transaction channel to be selected.
9. The transaction routing control device of claim 8, wherein the second routing rule comprises:
determining whether the transaction channel to be selected meets a preset condition, if so, selecting the transaction channel to be selected corresponding to the preset condition as the target transaction channel; if not, selecting a preset transaction channel as the target transaction channel, wherein the preset transaction channel is a transaction channel which is configured in advance and meets the preset condition;
the preset conditions include: at least one of the transaction type, the transaction cost, the transaction success rate, the transaction timeliness and the transaction priority supported by the transaction channel to be selected meets a preset threshold value.
10. The transaction routing control device of claim 7, further comprising:
and the dyeing module is used for dyeing the target transaction channel before the target transaction channel is pushed to the client so as to track the transaction data corresponding to the transaction request.
11. The transaction routing control device of claim 7, further comprising:
the acquisition module is used for receiving a trigger event for adjusting the routing rule and acquiring a transaction result in a preset time period; and
and the adjusting module is used for adjusting the first routing rule and the second routing rule according to the transaction result so as to screen a target transaction channel corresponding to the current transaction request according to the adjusted routing rule when the current transaction request is received and push the target transaction channel to the client.
12. The transaction routing control device of claim 11, wherein the triggering event includes at least one of:
a trigger event automatically triggered within the preset time period;
a trigger event that is automatically triggered upon receipt of a transaction request;
triggering when the current transaction channel is abnormal; and
a trigger when the client sends an adjustment request.
13. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-6.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
15. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110944023.8A CN113660166A (en) | 2021-08-17 | 2021-08-17 | Transaction routing control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110944023.8A CN113660166A (en) | 2021-08-17 | 2021-08-17 | Transaction routing control method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113660166A true CN113660166A (en) | 2021-11-16 |
Family
ID=78480471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110944023.8A Pending CN113660166A (en) | 2021-08-17 | 2021-08-17 | Transaction routing control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113660166A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090759A (en) * | 2017-12-26 | 2018-05-29 | 谢奉见 | A kind of channel of disbursement Intelligent routing algorithm |
CN108985731A (en) * | 2018-07-13 | 2018-12-11 | 北京京东金融科技控股有限公司 | Pay method for routing and device |
CN109191109A (en) * | 2018-08-30 | 2019-01-11 | 中国平安人寿保险股份有限公司 | The self-adapting regulation method and device of transaction routing rule |
CN109727122A (en) * | 2019-01-03 | 2019-05-07 | 银联商务股份有限公司 | Fund, which is drawn, pays method, apparatus and server |
CN110264169A (en) * | 2019-06-20 | 2019-09-20 | 中移电子商务有限公司 | A kind of payment method for routing, device, equipment and readable storage medium storing program for executing |
CN110661716A (en) * | 2019-09-16 | 2020-01-07 | 锐捷网络股份有限公司 | Network packet loss notification method, monitoring device, switch and storage medium |
CN111245925A (en) * | 2020-01-09 | 2020-06-05 | 北京理工大学 | Communication method and system for modern distributed micro-service architecture |
AU2020100990A4 (en) * | 2020-06-11 | 2020-07-16 | Split Payments Group Pty Ltd | Automatic payment rails channel switching and bridging system |
CN112751733A (en) * | 2021-02-08 | 2021-05-04 | 北京金山云网络技术有限公司 | Link detection method, device, equipment, system and switch |
CN113032220A (en) * | 2021-03-29 | 2021-06-25 | 中国南方电网有限责任公司 | Method for realizing full link performance safety tracking based on session dyeing |
-
2021
- 2021-08-17 CN CN202110944023.8A patent/CN113660166A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090759A (en) * | 2017-12-26 | 2018-05-29 | 谢奉见 | A kind of channel of disbursement Intelligent routing algorithm |
CN108985731A (en) * | 2018-07-13 | 2018-12-11 | 北京京东金融科技控股有限公司 | Pay method for routing and device |
CN109191109A (en) * | 2018-08-30 | 2019-01-11 | 中国平安人寿保险股份有限公司 | The self-adapting regulation method and device of transaction routing rule |
CN109727122A (en) * | 2019-01-03 | 2019-05-07 | 银联商务股份有限公司 | Fund, which is drawn, pays method, apparatus and server |
CN110264169A (en) * | 2019-06-20 | 2019-09-20 | 中移电子商务有限公司 | A kind of payment method for routing, device, equipment and readable storage medium storing program for executing |
CN110661716A (en) * | 2019-09-16 | 2020-01-07 | 锐捷网络股份有限公司 | Network packet loss notification method, monitoring device, switch and storage medium |
CN111245925A (en) * | 2020-01-09 | 2020-06-05 | 北京理工大学 | Communication method and system for modern distributed micro-service architecture |
AU2020100990A4 (en) * | 2020-06-11 | 2020-07-16 | Split Payments Group Pty Ltd | Automatic payment rails channel switching and bridging system |
CN112751733A (en) * | 2021-02-08 | 2021-05-04 | 北京金山云网络技术有限公司 | Link detection method, device, equipment, system and switch |
CN113032220A (en) * | 2021-03-29 | 2021-06-25 | 中国南方电网有限责任公司 | Method for realizing full link performance safety tracking based on session dyeing |
Non-Patent Citations (2)
Title |
---|
蒲和平 等: ""基于微服务架构的虚拟校园卡支付系统设计与实"", 《现代电子技术》 * |
蒲和平 等: ""基于微服务架构的虚拟校园卡支付系统设计与实"", 《现代电子技术》, vol. 43, no. 18, 15 September 2020 (2020-09-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210081567A1 (en) | Monitoring data sharing and privacy policy compliance | |
US11563674B2 (en) | Content based routing method and apparatus | |
CN110612545A (en) | Self-learning self-adaptive routing system | |
US20150106500A1 (en) | Application provisioning system | |
CN110011875A (en) | Dial testing method, device, equipment and computer readable storage medium | |
CN113411400B (en) | Information calling method and device, electronic equipment and readable storage medium | |
CN115587575A (en) | Data table creation method, target data query method, device and equipment | |
CN113505302A (en) | Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment | |
CN113949639B (en) | Resource allocation method, device, equipment and medium | |
US10885565B1 (en) | Network-based data discovery and consumption coordination service | |
CN112965916B (en) | Page testing method, page testing device, electronic equipment and readable storage medium | |
CN116561013B (en) | Testing method and device based on target service framework, electronic equipment and medium | |
CN113495498A (en) | Simulation method, simulator, device, and medium for hardware device | |
US8719708B2 (en) | Systems and methods for dynamic historical browsing | |
CN116521317A (en) | Mirror image management method and device, electronic equipment and computer readable storage medium | |
US20190347672A1 (en) | Memory augmentation in support of web interactions | |
CN110968497A (en) | Tree-shaped interceptor-based request verification method, device, medium and electronic equipment | |
CN113660166A (en) | Transaction routing control method and device, electronic equipment and storage medium | |
CN115174248A (en) | Network access control method and device | |
CN113448578A (en) | Page data processing method, processing system, electronic device and readable storage medium | |
CN114745316B (en) | Routing method, device, equipment and medium | |
CN114218330A (en) | ES cluster selection method, ES cluster selection device, ES cluster selection apparatus, ES cluster selection medium, and program product | |
CN115185798A (en) | Data acquisition and analysis method and device, electronic equipment and storage medium | |
CN114218160A (en) | Log processing method and device, electronic equipment and medium | |
CN115098391A (en) | Page detection method, device, equipment and medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211116 |