A method, device and electronic equipment for realizing efficient positioning and switching of resource channels

By integrating multiple payment channels into a single platform, the system automatically selects and switches payment channels, solving the problems of cumbersome manual channel selection and low success rate in existing payment transactions, and achieving efficient resource transfer and successful transactions.

CN122198967APending Publication Date: 2026-06-12MEETSOCIAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MEETSOCIAL CO LTD
Filing Date
2022-03-31
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

The existing payment transactions lack a pre-selection mechanism based on request attributes. Users need to manually select payment channels, and after a transaction fails, they need to manually retry, which is cumbersome and has a low success rate.

Method used

By integrating multiple channels into a platform, the system automatically identifies candidate channels and selects temporary and backup channels. It utilizes the target channel to transfer resources and automatically switches to backup channels in case of failure, until success is achieved.

Benefits of technology

Simplify user operations, improve transaction success rate, reduce the possibility of switching channels, and improve processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122198967A_ABST
    Figure CN122198967A_ABST
Patent Text Reader

Abstract

The application discloses a method, device and electronic equipment for realizing efficient positioning and switching of resource channels. The method is executed by a docking platform integrating multiple channels, and comprises the following steps: obtaining a resource transfer request for transferring a target resource; determining at least one candidate channel having a function of transferring the target resource; taking the candidate channel currently capable of transferring the target resource as a temporary channel; when the number of temporary channels is multiple, selecting one from the multiple temporary channels as a current target channel, and taking other temporary channels as backup channels; transferring the target resource based on the target channel; and in the case that the target resource fails to be transferred in the current target channel, repeatedly selecting one from all the backup channels as a new target channel until the target resource is successfully transferred or there is no backup channel. The application integrates channels to simplify user operation, effectively narrows the selection range of the target channel, and improves processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of resource transfer technology, and more specifically, to a method, apparatus, electronic device, and computer-readable storage medium for achieving efficient location and switching of resource channels. Background Technology

[0002] Currently, when constructing payment transactions, it is common practice to directly connect to one or more existing payment platforms (such as Alipay, WeChat Pay, UnionPay, etc.) to complete the payment function. However, this approach has significant limitations for different business scenarios (such as cross-border e-commerce) and specific corporate financial needs: First, it lacks a pre-selection mechanism based on request attributes when initiating a transaction, and users usually need to manually select a payment channel, which is cumbersome; second, when a transaction fails, a passive retry strategy is adopted, requiring users to re-initiate the process and try other channels, which is time-consuming and has a low success rate.

[0003] While various qualified payment platforms exist in the market (such as Tonglian, Huifu, and Shouxinyi) to offer more choices, these solutions remain at the level of providing multiple options. In actual transactions, when a user's chosen payment platform cannot complete the transaction due to reasons such as closed channels, insufficient credit limits, or lack of support for that type of business, the user needs to interrupt the current process, reselect and try other platforms. This method, relying on manual judgment and retrying, is not only cumbersome but also makes it difficult to guarantee the success rate of subsequent attempts, resulting in low overall processing efficiency. Summary of the Invention

[0004] The purpose of this invention is to provide a method, apparatus, electronic device, and computer-readable storage medium for achieving efficient location and switching of resource channels, thereby solving the aforementioned problems in the prior art.

[0005] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for achieving efficient location and switching of resource channels, executed by a docking platform integrating multiple channels, comprising: Step 101: Obtain the resource transfer request used to transfer the target resource; Step 102: Determine at least one candidate channel that has the function of transferring the target resource; Step 103: Select the candidate channels that can transfer the target resource as temporary channels. If there are multiple temporary channels, select one of the multiple temporary channels as the current target channel, and use the other temporary channels other than the target channel as backup channels. Step 104: Transfer the target resource based on the target channel; if the current transfer of the target channel fails, repeat the process of selecting one from all the current backup channels as a new target channel, and transfer the target resource again based on the new target channel, until the target resource is successfully transferred or there is no backup channel.

[0006] Furthermore, in step 101, the resource transfer request includes a transfer method.

[0007] Furthermore, step 102 includes: The category to which the target resource belongs is determined, and channels that have the function of transferring resources of the category according to the transfer method are selected as candidate channels.

[0008] Furthermore, in step 103, the step of using the candidate channels currently capable of transferring the target resource as temporary channels includes: Step B11: Determine the candidate channels that are in the open state, wherein the candidate channels are preset with a transfer limit; Step B12: Select candidate channels from the multiple candidate channels that are in the open state, and choose the candidate channels whose target resources do not exceed the transfer limit. Use the selected candidate channels as temporary channels.

[0009] Furthermore, the transfer limits include single transfer limits and single-cycle transfer limits.

[0010] Furthermore, step B12 includes: Step B121: Determine whether the target resource exceeds the single transfer limit of the candidate channel in the open state, and determine whether the total resources transferred by the business party in the current period exceed the single period transfer limit of the candidate channel in the open state. The business party is the party that initiates the resource transfer request, and the total resources include the target resource. Step B122: If the target resource does not exceed the single transfer limit of the candidate channel in the open state, and the total resources transferred by the business party in the current period do not exceed the single period transfer limit of the candidate channel in the open state, the candidate channel in the open state is designated as a temporary channel.

[0011] Furthermore, it also includes: Set at least one of the following: set channel opening time, set single transfer limit, and set single cycle transfer limit.

[0012] Secondly, the present invention also provides an apparatus for achieving efficient positioning and switching of resource channels, including an acquisition module, a candidate module, a processing module, and a transfer module. The acquisition module is used to acquire a resource transfer request for transferring a target resource. The candidate module is used to determine at least one candidate channel with the function of transferring the target resource. The processing module uses the candidate channels currently capable of transferring the target resource as temporary channels. When there are multiple temporary channels, it selects one of the multiple temporary channels as the current target channel and uses other temporary channels besides the target channel as backup channels. The transfer module is used to transfer the target resource based on the target channel. If the current target channel transfer fails, it repeatedly selects one of all the current backup channels as a new target channel and re-transfers the target resource based on the new target channel until the target resource is successfully transferred or no backup channel exists.

[0013] Thirdly, the present invention provides an electronic device including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are connected via the bus. When the computer program is executed by the processor, it implements the steps in the method for achieving efficient location and switching of resource channels.

[0014] Fourthly, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the method for achieving efficient location and switching of resource channels.

[0015] Compared with the prior art, the beneficial technical effects of the present invention are as follows: The present invention provides a method, apparatus, electronic device, and computer-readable storage medium for efficient location and switching of resource channels. It integrates multiple channels, unifies the access standards of different channels, improves access efficiency, and reduces access costs. When it is necessary to transfer a target resource, the target channel that can transfer the target resource can be selected and the target resource can be transferred using the target channel.

[0016] The method for efficient resource channel positioning and switching of the present invention integrates multiple channels, eliminating the need for user channel selection and simplifying user operations; by determining which channels can currently transfer the target resource, it effectively avoids situations where the selected target channel cannot be transferred, reducing the possibility of channel switching; furthermore, by first determining candidate channels and then selecting the target channel from them, the selection range of target channels can be narrowed, thereby improving processing efficiency. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of the method for achieving efficient location and switching of resource channels according to Embodiment 1 of the present invention; Figure 2 This is another flowchart of the method for achieving efficient positioning and switching of resource channels according to Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the device for achieving efficient positioning and switching of resource channels according to Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device used to perform a method for efficient positioning and switching of resource channels, according to Embodiment 3 of the present invention. Detailed Implementation

[0019] The embodiments of the present invention will now be described with reference to the accompanying drawings.

[0020] Example 1 Embodiment 1 of the present invention utilizes a docking platform that integrates multiple channels to realize a method for efficient positioning and switching of resource channels. Using this docking platform, resources are distributed among multiple channels.

[0021] Figure 1 A flowchart illustrating the method for efficient resource channel positioning and switching according to Embodiment 1 of the present invention is shown. Figure 1 As shown, the method for efficient location and switching of resource channels in Embodiment 1 of the present invention includes: Step 101: Obtain the resource transfer request used to transfer the target resource.

[0022] In this embodiment of the invention, when resources need to be transferred from user A to user B, user A or a third party entrusted by user A initiates a resource transfer request to the platform as the business partner. This resource transfer request is used to transfer the resource, which is referred to as the target resource in this embodiment. This resource is a type of resource that the platform can transfer, such as funds or articles. For example, if the target resource is funds, the resource transfer request could specifically be a payment request; if the target resource is an article, the resource transfer request could specifically be a request to submit an article to a journal.

[0023] Step 102: Identify at least one candidate channel that has the function of transferring target resources.

[0024] In this embodiment of the invention, the docking platform integrates multiple channels, which can transfer the same or different resources. When it is necessary to transfer the target resource, it is necessary to determine which channels integrated by the docking platform have the function of transferring the target resource, and the channels with the function of transferring the target resource are selected as candidate channels, with at least one candidate channel. If none of the channels integrated by the docking platform have the function of transferring the target resource, the process ends.

[0025] Optionally, the resource transfer request includes a transfer method; and in step 102 above, determining at least one candidate channel with the function of transferring the target resource includes: Step A1: Determine the category of the target resource and select channels that have the function of transferring resources of the same category according to the transfer method as candidate channels.

[0026] In this embodiment of the invention, when a business initiates a resource transfer request, it can choose its desired transfer method, i.e., which transfer method to use to transfer the target resource. For example, if the resource transfer request is a transaction request, the transfer method can be a bank that supports transfers, or it can be other payment platforms (e.g., Alipay, WeChat Pay, UnionPay, etc.). Generally, the channels integrated by the platform can support at least one transfer method. Furthermore, this embodiment of the invention also categorizes the transferable resources, and the specific categorization method can be determined based on the actual situation. For example, if the resource transferred by the platform is funds, it can be categorized by currency, such as RMB, USD, EUR, etc. Generally, the channels integrated by the platform have the function of transferring at least one type of resource.

[0027] After receiving a resource transfer request, this embodiment determines which channels among the integrated channels have the function of transferring resources of the same category according to the transfer method; if a channel has the function of transferring resources of the same category, and can transfer them according to the transfer method, then the channel can be selected as a candidate channel.

[0028] Step 103: Select one from at least one candidate channel as the target channel. The target channel is the candidate channel that can currently transfer the target resource.

[0029] In this embodiment of the invention, the candidate channel is a channel with the function of transferring the target resource. However, at the current time when the target resource needs to be transferred, the function of the candidate channel may not be enabled; for example, the API of the candidate channel is abnormal, the network condition of the candidate channel is poor, or the function of the candidate channel is manually disabled. Therefore, this embodiment of the invention further determines which candidate channels can transfer the target resource at the current time, that is, which channels can currently transfer the target resource. If a candidate channel can currently transfer the target resource, then the target resource can be transferred based on the candidate channel. For ease of description, this embodiment selects one of the candidate channels that can currently transfer the target resource as the target channel.

[0030] For example, if a platform integrates one channel, and six of these channels have the function of transferring target resources, then all six channels can be called candidate channels. If two of these six candidate channels cannot currently transfer the target resource, while the remaining four can, then one of these four currently capable candidate channels can be selected as the target channel. The target channel can be selected randomly, or other comparison methods can be used to select the most suitable candidate channel as the target channel.

[0031] Step 104: Transfer target resources based on the target channel.

[0032] In this embodiment of the invention, after determining the target channel, the docking platform can transfer the target resource to the recipient, such as user B, based on the target channel, thereby realizing the resource transfer.

[0033] The method for efficient resource channel location and switching in this invention integrates multiple channels and unifies the access standards of different channels, thereby improving access efficiency and reducing access costs. When a target resource needs to be transferred, a target channel capable of transferring the target resource can be selected, and the target resource can be transferred using that target channel. This method integrates multiple channels, eliminating the need for users to select which channel to use, thus simplifying user operations. By determining which channels can currently transfer the target resource, it effectively avoids situations where the selected target channel cannot be transferred, reducing the likelihood of channel switching. Furthermore, by first identifying candidate channels and then selecting the target channel from them, the range of selected target channels can be narrowed, improving processing efficiency.

[0034] Optionally, in step 103 above, selecting one from at least one candidate channel as the target channel includes: Step B1: Use the candidate channels that can currently transfer the target resources as temporary channels.

[0035] Step B2: If there are multiple temporary channels, select one of them as the target channel and use the other temporary channels as backup channels.

[0036] In this embodiment of the invention, although the docking platform can initially determine which candidate channels are currently capable of transferring the target resource, there is still a problem in reality that it is difficult to completely eliminate abnormal candidate channels. For example, if a candidate channel has API anomalies or large network fluctuations, the docking platform may mistakenly believe that the candidate channel is currently capable of transferring the target resource, but in fact, transferring the target resource based on the candidate channel is likely to fail or even be unsuccessful. Therefore, in addition to selecting the target channel, this embodiment also selects a backup channel for unforeseen circumstances.

[0037] Specifically, for ease of description, this embodiment refers to the candidate channel currently capable of transferring the target resource as a temporary channel. If there is only one temporary channel, then that temporary channel is directly used as the target channel; if there are multiple temporary channels, this embodiment selects one of them as the target channel, and uses all other temporary channels as backup channels. This backup channel is used to switch from the target channel to the backup channel when the target channel cannot transfer the target resource, allowing the backup channel to transfer the target resource in place of the target channel.

[0038] Those skilled in the art will understand that the aforementioned candidate channel, temporary channel, target channel, etc., are all types of channels. The different descriptions used in this embodiment, such as candidate channel, temporary channel, and target channel, are merely for ease of distinction.

[0039] Optionally, in step 104 above, transferring the target resource based on the target channel includes: Step C1: If the target channel transfer fails, repeat the process of re-determining the target channel until the target resource is successfully transferred or no alternative channel exists.

[0040] The process of redetermining the target channel includes: Step C11: Select one from all available backup channels as the new target channel, and transfer the target resources based on the new target channel.

[0041] In this embodiment of the invention, if a backup channel exists, and the target channel transfer fails, one of the current backup channels is selected as the new target channel. This new target channel is no longer a backup channel, and the target resource is then transferred again based on this new target channel. If the transfer is successful, the process ends; if the transfer fails, and a backup channel still exists, a new target channel is selected, i.e., the "re-determining the target channel process" continues until the target resource is successfully transferred, or no backup channel exists. If the target resource is successfully transferred, a success message can be sent to the business entity; if the transfer fails and no backup channel exists, it indicates that all channels have failed to transfer, and an alarm message can be sent to the business entity.

[0042] Optionally, in step B1 above, using the candidate channels currently capable of transferring the target resource as temporary channels includes: Step B11: Identify candidate channels that are in the open state. The candidate channels have preset transfer limits.

[0043] Step B12: Select candidate channels from multiple open candidate channels where the target resource does not exceed the transfer limit, and use the selected candidate channels as temporary channels.

[0044] In this embodiment of the invention, after identifying a candidate channel with the function of transferring target resources, it is determined whether the candidate channel is currently open. If the candidate channel is currently open, it can be preliminarily determined that the candidate channel may be able to transfer the target resource. Conversely, if the candidate channel is not currently open (e.g., closed), it can be directly determined that the candidate channel cannot transfer the target resource, and the candidate channel cannot be used as a temporary channel. The integrated channels can be actively opened or closed on the docking platform side. For example, the method may also include setting channel opening times; by actively setting the opening time of each channel, it is possible to actively control which channels to which traffic is distributed.

[0045] Furthermore, this embodiment sets corresponding transfer limits for the channels integrated in the docking platform. These transfer limits represent the upper limit of resources that the channel can transfer. Specifically, an overall transfer limit can be set for the channel, which is shared by all business parties; alternatively, a transfer limit can be set for each business party individually, and this embodiment does not limit this. If a candidate channel is currently open, and transferring the target resource based on the candidate channel will not exceed the transfer limit of the candidate channel, then the candidate channel can be considered to be able to transfer the target resource, and the candidate channel can be used as a temporary channel.

[0046] Optionally, the transfer limit includes a single transfer limit and a single-period transfer limit; the single transfer limit is used to represent the upper limit of resources allowed to be transferred in a single transfer, and the single-period transfer limit represents the upper limit of resources allowed to be transferred within a period (e.g., within a day).

[0047] In step B12 above, candidate channels whose target resources do not exceed the transfer limit are selected from multiple open candidate channels, and these selected candidate channels are used as temporary channels, including: Step B121: Determine whether the target resource exceeds the single transfer limit of the candidate channel in the open state, and determine whether the total resources transferred by the business party in the current period exceed the single transfer limit of the candidate channel in the open state. The business party is the party that initiates the resource transfer request, and the total resources include the target resource.

[0048] Step B122: If the target resource does not exceed the single transfer limit of the candidate channel in the open state, and the total resources transferred by the business party in the current period do not exceed the single period transfer limit of the candidate channel in the open state, the candidate channel in the open state will be used as a temporary channel.

[0049] In this embodiment of the invention, each channel has a single-transfer limit and a single-cycle transfer limit. When a target resource needs to be transferred, the channel's ability to transfer the target resource is determined by whether the target resource exceeds the corresponding limit. The single-transfer limit and single-cycle transfer limit of the channel can be actively set; for example, the method may further include setting a single-transfer limit or setting a single-cycle transfer limit. By actively setting the single-transfer limit and single-cycle transfer limit, the channels to which traffic is diverted can be actively controlled.

[0050] For example, if the target resource is funds, and the single transfer limit for an open candidate channel is 10,000 yuan, and the single-cycle transfer limit (e.g., the single-day transfer limit) is 100,000 yuan; if the target resource is 5,000 yuan, and 80,000 yuan has already been transferred; since 5,000 yuan does not exceed 10,000 yuan, the target resource does not exceed the single transfer limit; and the total resources transferred in the current cycle are 5,000 + 80,000 = 85,000 yuan, which also does not exceed the single-cycle transfer limit, then this candidate channel can be used as a temporary channel.

[0051] The following example details the method and process for achieving efficient location and switching of resource channels.

[0052] In this embodiment of the invention, the docking platform is used for transferring funds; wherein, the docking platform integrates channels provided by multiple payment platforms (e.g., Tonglian, Huifu, Shouxinyi, etc.), and uses these channels to transfer funds to the recipient. See also Figure 2As shown, the method includes: Step 201: Obtain a payment request for transferring the target funds; wherein the payment request includes the payment method and the payment currency.

[0053] In this embodiment of the invention, the resource transfer request is a payment request, and the resource being transferred is funds. The payment method can be a user-favorite method, such as WeChat Pay or Alipay; the payment currency is the currency (or category) of the target funds, such as RMB.

[0054] Step 202: Select the appropriate channel based on the payment currency. If the payment currency is RMB, proceed to step 203; if the payment currency is USD, proceed to step 212.

[0055] Figure 2 The example shows that the payment currencies include both Chinese Yuan (CNY) and US Dollar (USD).

[0056] Step 203: Select the channels that support RMB and the payment method that support this payment method as candidate channels.

[0057] For example, among the channels that support RMB, three channels support Alipay, WeChat Pay, and UnionPay. If the payment method in the payment request is Alipay, then all three channels can be considered as candidate channels.

[0058] Step 204: Determine whether the candidate channel is in the open state. If there are multiple candidate channels in the open state, continue to step 205; if there is only one candidate channel in the open state, continue to step 210.

[0059] If none of the candidate channels are open, the process ends.

[0060] Step 205: Determine whether the target funds exceed the transfer limit of the candidate channels; if the target funds do not exceed the transfer limit of multiple candidate channels, continue to step 206; if the target funds do not exceed the transfer limit of one candidate channel, continue to step 211.

[0061] If the target funds do not exceed the transfer limits of multiple candidate channels, there will be multiple temporary channels; if the target funds do not exceed the transfer limit of one candidate channel, there will be one temporary channel; if the target funds exceed the transfer limits of all candidate channels, there will be no temporary channels and the process will end.

[0062] Step 206: Select one of the multiple temporary channels as the target channel, and use the other temporary channels as backup channels.

[0063] Step 207: Transfer target funds based on the target channel.

[0064] Step 208: Determine whether the target funds have been successfully transferred. If the transfer has not been successful, continue to step 209; otherwise, proceed to step 213.

[0065] Step 209: Select one from all available backup channels as the new target channel, and then continue to step 207.

[0066] Step 210: Select the open candidate channel as the target channel and transfer the target funds based on the target channel. If the transfer is successful, continue to step 213.

[0067] In this embodiment, if there is only one candidate channel that is in the open state, then the candidate channel can be directly used as the target channel to attempt to transfer the target funds.

[0068] Step 211: Select a candidate channel as the target channel and transfer the target funds based on the target channel. If the transfer is successful, proceed to Step 213.

[0069] Step 212: Select the target channel from the candidate channels that support USD, and transfer the target funds based on the target channel. If the transfer is successful, proceed to Step 213.

[0070] If the target funds are in US dollars, the process of selecting a target channel from the candidate channels is similar to steps 203-211 above, and will not be repeated here.

[0071] Step 213: Send a message to the business party indicating that the transfer was successful.

[0072] The method for efficient resource channel location and switching in Embodiment 1 of this invention perfectly solves the problem of payment services being unusable due to anomalies or maintenance issues with different platform channels. Furthermore, it can automatically switch channels in case of anomalies and notify relevant personnel with warnings for timely troubleshooting. Moreover, this method is highly scalable; it is perfectly compatible with newly added channels or channels used to transfer different types of resources (e.g., different currencies). Business users do not need to worry about which channels to use; they can use them directly, making it more flexible and convenient.

[0073] Example 2 Figure 3 A schematic diagram of the device for efficient positioning and switching of resource channels according to Embodiment 2 of the present invention is shown. Figure 3 As shown, the device for efficient positioning and switching of resource channels in Embodiment 2 of the present invention includes: The acquisition module 31 is used to acquire resource transfer requests for transferring target resources; Candidate module 32 is used to determine at least one candidate channel that has the function of transferring the target resource; Processing module 33 is configured to select one from at least one of the candidate channels as a target channel, wherein the target channel is a candidate channel that can currently transfer the target resource; The transfer module 34 is used to transfer the target resource based on the target channel.

[0074] In one possible implementation, the resource transfer request includes a transfer method.

[0075] The candidate module 32 determines at least one candidate channel with the function of transferring the target resource, including: The category to which the target resource belongs is determined, and channels that have the function of transferring resources of the category according to the transfer method are selected as candidate channels.

[0076] In one possible implementation, the processing module 33 selects one of the candidate channels as the target channel from at least one of the candidate channels, including: The candidate channels currently capable of transferring the target resource are used as temporary channels; When there are multiple temporary channels, one of the temporary channels is selected as the target channel, and the other temporary channels besides the target channel are used as backup channels.

[0077] In one possible implementation, the transfer module 34 transfers the target resource based on the target channel, including: If the transfer of the target channel fails, the process of re-determining the target channel is repeated until the target resource is successfully transferred or the backup channel does not exist. The process of redetermining the target channel includes: Select one of the current backup channels as the new target channel, and transfer the target resource based on the new target channel.

[0078] In one possible implementation, the processing module 33 uses the candidate channels currently capable of transferring the target resource as temporary channels, including: Identify candidate channels that are in the open state, wherein the candidate channels are preset with transfer limits; From the multiple candidate channels that are in the open state, select the candidate channel whose target resource does not exceed the transfer limit, and use the selected candidate channel as a temporary channel.

[0079] In one possible implementation, the transfer limit includes a single transfer limit and a single-cycle transfer limit.

[0080] Furthermore, the processing module 33 filters out candidate channels from the multiple candidate channels that are in the open state, selecting those where the target resource does not exceed the transfer limit, and uses the selected candidate channels as temporary channels, including: Determine whether the target resource exceeds the single transfer limit of the candidate channel in the open state, and determine whether the total resources transferred by the business party in the current period exceed the single period transfer limit of the candidate channel in the open state, wherein the business party is the party that initiates the resource transfer request, and the total resources include the target resource; If the target resource does not exceed the single transfer limit of the candidate channel that is in the open state, and the total resources transferred by the business party in the current period do not exceed the single period transfer limit of the candidate channel that is in the open state, the candidate channel that is in the open state will be used as a temporary channel.

[0081] In one possible implementation, the device further includes a setting module for setting at least one of the following: setting a channel opening time, setting a single transfer limit, and setting a single cycle transfer limit.

[0082] Example 3 The electronic device of Embodiment 3 of the present invention includes a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are connected via the bus. When the computer program is executed by the processor, it implements the various processes of the above-described method embodiment for efficient location and switching of resource channels and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0083] For details, see Figure 4 As shown, this embodiment of the invention also provides an electronic device, which includes a bus 1110, a processor 1120, a transceiver 1130, a bus interface 1140, a memory 1150, and a user interface 1160.

[0084] In this embodiment of the invention, the electronic device further includes: a computer program stored in a memory 1150 and executable on a processor 1120, wherein when the computer program is executed by the processor 1120, it implements the various processes of the above-described method embodiment for achieving efficient location and switching of resource channels.

[0085] Transceiver 1130 is used to receive and send data under the control of processor 1120.

[0086] In this embodiment of the invention, a bus architecture (represented by bus 1110) is used. Bus 1110 may include any number of interconnected buses and bridges. Bus 1110 connects various circuits, including one or more processors represented by processor 1120 and memory represented by memory 1150.

[0087] Bus 1110 represents one or more of several types of bus architectures, including memory buses and memory controllers, peripheral buses, Accelerated Graphics Port (AGP), processors, or local buses using any bus architecture from various bus architectures. As an example and not a limitation, such architectures include: Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MCA) buses, Enhanced ISA (EISA) buses, Video Electronics Standards Association (VESA) buses, and Peripheral Component Interconnect (PCI) buses.

[0088] The processor 1120 can be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The processors mentioned above include: general-purpose processors, central processing units (CPUs), network processors (NPs), digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), programmable logic arrays (PLAs), microcontroller units (MCUs) or other programmable logic devices, discrete gates, transistor logic devices, and discrete hardware components. They can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. For example, the processor can be a single-core processor or a multi-core processor, and the processor can be integrated on a single chip or located on multiple different chips.

[0089] Processor 1120 can be a microprocessor or any conventional processor. The method steps disclosed in the embodiments of the present invention can be directly executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in readable storage media known in the art, such as Random Access Memory (RAM), Flash Memory, Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), registers, etc. The readable storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0090] Bus 1110 can also connect various other circuits, such as peripheral devices, voltage regulators, or power management circuits. Bus interface 1140 provides an interface between bus 1110 and transceiver 1130, all of which are well known in the art. Therefore, embodiments of the present invention will not be described further.

[0091] Transceiver 1130 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. For example, transceiver 1130 receives external data from other devices, and transceiver 1130 is used to send data processed by processor 1120 to other devices. Depending on the nature of the computer system, a user interface 1160 may also be provided, such as a touchscreen, physical keyboard, monitor, mouse, speaker, microphone, trackball, joystick, or stylus.

[0092] It should be understood that, in embodiments of the present invention, memory 1150 may further include memory remotely configured relative to processor 1120, and such remotely configured memory can be connected to a server via a network. One or more portions of the aforementioned network may be an ad hoc network, intranet, extranet, virtual private network (VPN), local area network (LAN), wireless local area network (WLAN), wide area network (WAN), wireless wide area network (WWAN), metropolitan area network (MAN), Internet, public switched telephone network (PSTN), ordinary old-style telephone service (POTS), cellular telephone network, wireless network, Wi-Fi network, and combinations of two or more of the aforementioned networks. For example, cellular telephone networks and wireless networks can be Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), WiMAX, General Packet Radio Service (GPRS), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), LTE Frequency Division Duplex (FDD), LTE Time Division Duplex (TDD), Advanced Long Term Evolution (LTE-A), Universal Mobile Telecommunications System (UMTS), Enhanced Mobile Broadband (eMBB), Massive Machine Type Communication (mMTC), Ultra Reliable Low Latency Communications (uRLLC), etc.

[0093] It should be understood that the memory 1150 in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile memory and non-volatile memory. Non-volatile memory includes: read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory.

[0094] Volatile memory includes random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1150 of the electronic device described in this embodiment includes, but is not limited to, the above-described and any other suitable types of memory.

[0095] In this embodiment of the invention, the memory 1150 stores the following elements of the operating system 1151 and the application 1152: executable modules, data structures, or subsets thereof, or extended sets thereof.

[0096] Specifically, the operating system 1151 includes various system programs, such as a framework layer, a core library layer, and a driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 1152 includes various applications, such as a media player and a browser, used to implement various application functions. Programs implementing the methods of this embodiment of the invention can be included in the application program 1152. The application program 1152 includes applets, objects, components, logic, data structures, and other computer system executable instructions that perform specific tasks or implement specific abstract data types.

[0097] Example 4 The computer-readable storage medium of Embodiment 4 of the present invention stores a computer program thereon. When the computer program is executed by a processor, it implements the various processes of the above-described method embodiment for achieving efficient positioning and switching of resource channels, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0098] Computer-readable storage media include: permanent and non-permanent, removable and non-removable media, which are tangible devices capable of retaining and storing instructions for use by an instruction execution device. Computer-readable storage media include: electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, and any suitable combination thereof. Computer-readable storage media include: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, optical disc read-only memory (CD-ROM), digital versatile optical disc (DVD) or other optical storage, magnetic tape storage, magnetic disk storage or other magnetic storage devices, memory sticks, mechanical encoding devices (e.g., punched cards or raised structures in grooves on which instructions are recorded), or any other non-transfer medium that can be used to store information accessible by a computing device. As defined in the embodiments of the present invention, a computer-readable storage medium does not include the temporary signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses passing through optical fiber cables), or electrical signals transmitted through wires.

[0099] In the several embodiments provided in this application, it should be understood that the disclosed apparatus, electronic devices, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.

[0100] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to solve the problems addressed by the embodiments of the present invention, depending on actual needs.

[0101] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (including: a personal computer, a server, a data center, or other network device) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media listed above that can store program code.

[0103] In the description of the embodiments of the present invention, those skilled in the art should understand that the embodiments of the present invention can be implemented as methods, apparatuses, electronic devices, and computer-readable storage media. Therefore, the embodiments of the present invention can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software. Furthermore, in some embodiments, the embodiments of the present invention can also be implemented as a computer program product in one or more computer-readable storage media, the computer-readable storage media containing computer program code.

[0104] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, optical disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any combination thereof. In embodiments of the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0105] The computer program code contained in the aforementioned computer-readable storage medium may be transmitted using any suitable medium, including wireless, wire, optical fiber, radio frequency (RF), or any suitable combination thereof.

[0106] Computer program code for performing the operations of the embodiments of the present invention can be written in assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, integrated circuit configuration data, or in one or more programming languages ​​or combinations thereof. The programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The computer program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer or an external computer via any type of network, including a local area network (LAN) or a wide area network (WAN).

[0107] The embodiments of the present invention describe the provided methods, apparatus, and electronic devices through flowcharts and / or block diagrams.

[0108] It should be understood that each block of a flowchart and / or block diagram, as well as combinations of blocks in a flowchart and / or block diagram, can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine that, when executed by a computer or other programmable data processing apparatus, creates means for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.

[0109] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to function in a particular manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction apparatus product that includes the functions / operations specified in the blocks of a flowchart and / or block diagram.

[0110] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer-implemented process, such that the instructions that execute on the computer or other programmable data processing apparatus provide a process for implementing the functions / operations specified in the blocks of a flowchart and / or block diagram.

[0111] The above description is merely a specific implementation of the embodiments of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of the present invention should be included within the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention should be determined by the protection scope of the claims.

Claims

1. A method for achieving efficient positioning and switching of resource channels, characterized in that, This is executed by a platform that integrates multiple channels, including: Step 101: Obtain the resource transfer request used to transfer the target resource; Step 102: Determine at least one candidate channel that has the function of transferring the target resource; Step 103: Select the candidate channels that can transfer the target resource as temporary channels. If there are multiple temporary channels, select one of the multiple temporary channels as the current target channel, and use the other temporary channels other than the target channel as backup channels. Step 104: Transfer the target resource based on the target channel; if the current transfer of the target channel fails, repeat the process of selecting one from all the current backup channels as a new target channel, and transfer the target resource again based on the new target channel, until the target resource is successfully transferred or there is no backup channel.

2. The method for achieving efficient positioning and switching of resource channels according to claim 1, characterized in that, In step 101, the resource transfer request includes a transfer method.

3. The method for achieving efficient positioning and switching of resource channels according to claim 2, characterized in that, Step 102 includes: The category to which the target resource belongs is determined, and channels that have the function of transferring resources of the category according to the transfer method are selected as candidate channels.

4. The method for achieving efficient positioning and switching of resource channels according to any one of claims 1-3, characterized in that, In step 103, the step of using the candidate channels currently capable of transferring the target resource as temporary channels includes: Step B11: Determine the candidate channels that are in the open state, wherein the candidate channels are preset with a transfer limit; Step B12: Select candidate channels from the multiple candidate channels that are in the open state, and select the candidate channels whose target resources do not exceed the transfer limit. Use the selected candidate channels as temporary channels.

5. The method for achieving efficient positioning and switching of resource channels according to claim 4, characterized in that, The transfer limits include single transfer limits and single-cycle transfer limits.

6. The method for achieving efficient positioning and switching of resource channels according to claim 5, characterized in that, Step B12 includes: Step B121: Determine whether the target resource exceeds the single transfer limit of the candidate channel in the open state, and determine whether the total resources transferred by the business party in the current period exceed the single period transfer limit of the candidate channel in the open state. The business party is the party that initiates the resource transfer request, and the total resources include the target resource. Step B122: If the target resource does not exceed the single transfer limit of the candidate channel in the open state, and the total resources transferred by the business party in the current period do not exceed the single period transfer limit of the candidate channel in the open state, the candidate channel in the open state is designated as a temporary channel.

7. The method for achieving efficient positioning and switching of resource channels according to claim 6, characterized in that, Also includes: Set at least one of the following: set channel opening time, set single transfer limit, and set single cycle transfer limit.

8. A device for achieving efficient positioning and switching of resource channels, characterized in that, The system includes an acquisition module, a candidate module, a processing module, and a transfer module. The acquisition module acquires a resource transfer request for transferring a target resource. The candidate module determines at least one candidate channel with the function of transferring the target resource. The processing module uses the candidate channels currently capable of transferring the target resource as temporary channels. If there are multiple temporary channels, it selects one as the current target channel and uses other temporary channels as backup channels. The transfer module transfers the target resource based on the target channel. If the current target channel transfer fails, it repeatedly selects one from all the backup channels as a new target channel and re-transfers the target resource based on the new target channel until the target resource is successfully transferred or no backup channel exists.

9. An electronic device, characterized in that, The system includes a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are connected via the bus. When the computer program is executed by the processor, it implements the steps of the method for achieving efficient location and switching of resource channels as described in any one of claims 1-7.

10. 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 steps of the method for achieving efficient location and switching of resource channels as described in any one of claims 1-7.