WO2019019651A1 - 流量转移方法、装置、计算机设备及存储介质 - Google Patents

流量转移方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2019019651A1
WO2019019651A1 PCT/CN2018/078326 CN2018078326W WO2019019651A1 WO 2019019651 A1 WO2019019651 A1 WO 2019019651A1 CN 2018078326 W CN2018078326 W CN 2018078326W WO 2019019651 A1 WO2019019651 A1 WO 2019019651A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
account
target
effective
product
Prior art date
Application number
PCT/CN2018/078326
Other languages
English (en)
French (fr)
Inventor
许宣林
卞展
罗汉彬
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2019019651A1 publication Critical patent/WO2019019651A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a traffic transfer method, apparatus, computer device, and storage medium.
  • the current account management platform can support multiple accounts of the same user to perform resource transfer operations.
  • Current account management platforms manage resources in the dimensions of product orders.
  • the account management platform is a wealth management product management platform, and the platform needs to separately record the flow of each order for the wealth management user to subscribe for the product.
  • the platform needs to find the order data according to the product order number, find the account corresponding to the order according to the order data, and then find the product traffic corresponding to the account, and finally transfer the found product traffic to the corresponding account. Therefore, the resources are managed in the dimension of the product order, the management work is scattered and complicated, and the process of processing the user resource transfer operation by the platform is complicated and the work efficiency is low.
  • a method for traffic transfer includes the following steps: receiving a product traffic transfer request sent by a terminal, where the product traffic transfer request carries a product identifier, a user identifier, a target traffic, and a target account; according to the user identifier and the The product identifier finds the effective traffic of the product; searches for the effective traffic of the account corresponding to the target account in the effective traffic of the product; and when the effective traffic of the account is greater than or equal to the target traffic, the valid traffic of the account is The traffic of the target traffic is frozen; the traffic forwarding instruction carrying the target account identifier is generated according to the target traffic, and sent to the traffic server, so that the traffic server transfers the target traffic to the target account; Receiving a transfer success result returned by the traffic server, and deducting the frozen traffic from the account effective traffic.
  • a traffic transfer device includes: a transfer request receiving module, configured to receive a product flow transfer request sent by the terminal, where the product flow transfer request carries a product identifier, a user identifier, a target traffic, and a target account; a module, configured to search for valid product traffic according to the user identifier and the product identifier; an account traffic searching module, configured to search for an effective account flow corresponding to the target account in the effective traffic of the product; and a traffic freezing module, configured to: When the effective traffic of the account is greater than or equal to the target traffic, the traffic of the account effective traffic and the target traffic is frozen; and the transfer instruction sending module generates the target according to the target traffic.
  • a transfer request receiving module configured to receive a product flow transfer request sent by the terminal, where the product flow transfer request carries a product identifier, a user identifier, a target traffic, and a target account
  • a module configured to search for valid product traffic according to the user identifier and the product identifier
  • the traffic transfer instruction of the account identifier is sent to the traffic server, so that the traffic server transfers the target traffic to the target account; and the transfer result receiving module is configured to receive the transfer success result returned by the traffic server, and the The frozen traffic is deducted from the account effective traffic.
  • a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program, the step of: receiving a product flow transfer request sent by the terminal,
  • the product traffic transfer request carries the product identifier, the user identifier, the target traffic, and the target account; searches for the effective traffic of the product according to the user identifier and the product identifier; and searches for the effective traffic of the account corresponding to the target account in the effective traffic of the product.
  • the effective traffic of the account is greater than or equal to the target traffic, the traffic of the account effective traffic and the target traffic is frozen; and the traffic carrying the target account identifier is generated according to the target traffic.
  • Transferring the instruction to the traffic server so that the traffic server transfers the target traffic to the target account; receiving the transfer success result returned by the traffic server, and the frozen traffic from the account effective traffic deduction.
  • a computer readable storage medium having stored thereon a computer program, the program being executed by the processor to: receive a product flow transfer request sent by the terminal, where the product flow transfer request carries a product identifier, a user identifier, and a target And the target account; searching for the effective traffic of the product according to the user identifier and the product identifier; searching for effective account traffic corresponding to the target account in the effective traffic of the product; and when the effective traffic of the account is greater than or equal to the target
  • the traffic is sent, the traffic of the account effective traffic and the target traffic is frozen; the traffic forwarding command carrying the target account identifier is generated according to the target traffic, and sent to the traffic server, so that the traffic is sent.
  • the server transfers the target traffic to the target account; receives a transfer success result returned by the traffic server, and deducts the frozen traffic from the account effective traffic.
  • the above-mentioned traffic transfer method, device, computer device and storage medium are managed by the dimension of the account for the product traffic, and when the user sends the traffic transfer request, the traffic can be directly searched according to the account in the request, thereby simplifying the processing and optimizing the processing. Process, improve work efficiency and reduce user waiting time.
  • 1 is an application environment diagram of a traffic transfer method in an embodiment
  • FIG. 2 is a flow chart of a method for traffic transfer in an embodiment
  • FIG. 3 is a schematic structural view of a flow transfer device in an embodiment
  • FIG. 4 is a schematic structural view of a flow transfer device in another embodiment
  • Figure 5 is a schematic structural view of a flow transfer device in still another embodiment
  • FIG. 6 is a schematic diagram showing the internal structure of a computer device in an embodiment.
  • the application testing method provided in the embodiment of the present application can be applied to an application environment as shown in FIG. 1.
  • the server 102 of the transaction system is connected to the terminal 104 and the traffic server 106 via a network, respectively.
  • the user sends a product traffic transfer request to the server 102 through the terminal 104.
  • the server 102 After receiving the product traffic transfer request sent by the terminal 104, the server 102 searches for the effective product traffic of the user according to the user identifier and the product identifier in the request, and searches for the effective traffic of the product.
  • the effective traffic of the account corresponding to the target account in the request.
  • the server 102 compares the effective account traffic with the target traffic that the user wants to transfer in the request, and determines that the effective traffic of the account is greater than or equal to the target traffic, and performs traffic freezing on the target traffic portion in the effective traffic of the account, and the server 102 generates after the freeze.
  • the traffic transfer command is sent to the traffic server 106.
  • the traffic server 106 transfers the target traffic to the target account according to the target account identifier in the request.
  • the server 102 receives the transfer result.
  • the frozen traffic is released after the successful result is transferred.
  • a method for traffic transfer is provided.
  • the method is applicable to a terminal or a server, and the method is applied to the server as an example.
  • the method includes the following steps:
  • Step 210 Receive a product traffic transfer request sent by the terminal, where the product traffic transfer request carries the product identifier, the user identifier, the target traffic, and the target account.
  • the terminal includes, but is not limited to, a mobile device such as a personal computer, a smart phone, a tablet computer, a palmtop computer, and a mobile internet device.
  • Products include, but are not limited to, fund products, gold products and other wealth management products.
  • Product flow refers to the share or amount of wealth management products that users subscribe, hold or redeem.
  • the server is used to manage user account opening, replacement or revocation operations, and is also used to manage specific product traffic and product traffic transfer operations.
  • the account number refers to the user's bank card account or product management platform account. Users can purchase multiple wealth management products using multiple accounts.
  • Step 220 Find product effective traffic according to the user identifier and the product identifier.
  • the server records the traffic operations such as purchase, transfer, and redemption of the product traffic by the user, and the server searches for the traffic record corresponding to the user from the stored traffic record according to the user identifier, and obtains the current actual hold of the user from the traffic record. For effective traffic, the server finds the effective traffic of the product corresponding to the user's target redemption product from the effective traffic according to the product identifier.
  • Step 230 Find an effective account flow corresponding to the target account in the effective traffic of the product.
  • the user can purchase the same product using multiple accounts, and the server manages the traffic of the products held by the user according to the account.
  • the server records the user's payment account and the product flow subscribed by the user.
  • the server records the transfer and freeze operations of each product traffic associated with each account. The server finds the effective traffic corresponding to the target account from the effective traffic of the product.
  • Step 240 When the effective traffic of the account is greater than or equal to the target traffic, the traffic of the account effective traffic and the target traffic is frozen.
  • the effective traffic of the account found by the server is compared with the target traffic.
  • the effective traffic of the account is greater than or equal to the target traffic, it indicates that the effective traffic corresponding to the target account can meet the user's outgoing demand, and the server can perform the traffic transfer operation.
  • the server freezes the traffic of the account effective traffic equal to the target traffic value quota. Traffic that has been frozen is no longer considered valid traffic for the account. Therefore, the user can continuously limit the operation behavior of the traffic transfer, avoid the repeated transfer of the traffic, and avoid the loss caused by the total traffic that is transferred to the target account is greater than the actual effective traffic of the target account.
  • Step 250 Generate a traffic transfer instruction carrying the target account identifier according to the target traffic, and send the traffic transfer command to the traffic server, so that the traffic server transfers the target traffic to the target account.
  • the server generates a traffic transfer instruction according to the target traffic.
  • the traffic transfer instruction includes the quota information of the target traffic and the identifier of the target account, and the server sends the generated traffic transfer instruction to the traffic server.
  • the traffic server is compared with the total account of the wealth management product platform.
  • the user purchases the product traffic, if the subscription is successful, the traffic is transferred from the traffic used by the user to the traffic server.
  • the redemption request passes, and the traffic is transferred from the traffic server to the target account that the user wants to redeem.
  • the traffic server After receiving the traffic transfer command sent by the server, the traffic server searches for the target account according to the target account identifier carried by the traffic transfer command, and transfers the traffic with the same amount of the target traffic to the target account, so that the user obtains the target traffic.
  • Step 260 Receive a successful transfer result returned by the traffic server, and deduct the frozen traffic from the account effective traffic.
  • the traffic server After completing the transfer operation to the target account, the traffic server generates a successful traffic transfer result and returns the successful transfer result to the server. After receiving the successful transfer result returned by the traffic server, the server thaws the frozen traffic in the account effective traffic, and deducts the thawed traffic from the account effective traffic.
  • the serial number of the product traffic transfer request is obtained, and the frozen traffic is associated with the serial number of the product traffic transfer request.
  • the serial number must also be carried in the process of sending the traffic transfer command to the traffic server and the traffic server returning the successful transfer result. After the server receives the successful transfer result, the traffic corresponding to the serial number is thawed and deducted. This is because the traffic server has different processing time for different products and services, and multiple requests of the same target account may overlap each other during the processing period, and there are multiple traffic freezes. Therefore, it is necessary to distinguish the frozen traffic of different requests to avoid the situation of multiple buckles or wrong buckles.
  • the user when the user performs the product flow transfer request, the user can arbitrarily select the traffic quota of the product that needs to be transferred and the target account that is to be transferred, and the traffic transfer operation is more flexible.
  • the above method is to manage the product traffic in the dimension of the account.
  • the server can directly search for the traffic according to the account in the request, and does not need to find the target account by searching for the traffic order. This simplifies the process and optimizes the process.
  • the method further includes: when the effective traffic of the account is less than the target traffic and the target account is a security account, calculating a difference traffic between the target traffic and the effective traffic of the account; searching for the product value-added traffic according to the user identifier and the product identifier; When the value-added traffic is greater than the difference traffic, the traffic transfer command carrying the target account identifier is generated according to the target traffic and sent to the traffic server. When the product value-added traffic is smaller than the difference traffic, the result of the request failure is returned to the terminal.
  • the server compares the effective account traffic with the target account, when the effective traffic of the account is less than the target traffic, it indicates that the current effective traffic in the target account cannot satisfy the user's transfer request.
  • the server obtains a list of security accounts and searches for the user's security account based on the user ID.
  • the server compares the security account with the target account to determine whether the target account is a security account of the user.
  • the server When the target account is not a secure account, the server generates a request failure result and sends the result to the user terminal, and the user terminal receives the request failure result sent by the server. It is displayed.
  • the server calculates the difference traffic between the target traffic and the account effective traffic.
  • the server searches for the value-added traffic associated with the user identifier and corresponding to the product identifier from the user product traffic record according to the user identifier and the product identifier.
  • Value-added traffic is the added value added by the traffic that the user inputs. For example, when a user puts traffic in an account into a wealth management product, as time passes, the input product traffic generates revenue, that is, value-added traffic, and the daily income of different products may also be different, and the longer the user inputs the traffic, the product The more revenue generated by traffic.
  • the value-added traffic generated by the traffic of the same product held by the user is associated with the security account record, which can simplify the management process of the value-added traffic and facilitate the server to find the value-added traffic.
  • the security account is the account used by the user for the first time to purchase the product. In other embodiments, the security account may also be a user-specified account.
  • the server compares the found product value-added traffic with the calculated difference traffic. When the product value-added traffic is greater than the difference traffic, it indicates that the sum of the effective traffic of the target account and the product value-added traffic is greater than the target traffic, and the server determines that the traffic can be transferred. operating.
  • the server generates a traffic transfer carrying the target traffic quota information and the target account identifier according to the target traffic, and sends the traffic to the traffic server. After receiving the traffic transfer instruction, the traffic server searches for the target account according to the target account identifier, and transits the found target account. Enter the traffic equal to the target traffic quota.
  • the server When the value-added traffic of the product is less than the difference traffic, it indicates that the sum of the effective traffic of the target account and the value-added traffic of the product is still less than the target traffic, and the traffic transfer request of the user cannot be satisfied.
  • the server generates a request failure result and sends it to the user terminal, and the user terminal displays the result of the request failure sent by the server.
  • the user identifier and the product identifier are used to search for the user identifier associated with the user identifier according to the user identifier and the product identifier.
  • the value-added traffic corresponding to the product identifier calculates the sum of the traffic of the value-added traffic and the account effective traffic, and compares the calculated traffic sum with the target traffic.
  • the terminal When the sum of the traffic is greater than the target traffic, the terminal generates a traffic transfer carrying the target traffic quota information and the target account identifier according to the target traffic, and sends the traffic to the traffic server.
  • the traffic server After receiving the traffic transfer command, the traffic server searches for the target account according to the target account identifier. Transfer the traffic equal to the target traffic quota to the found target account. When the sum of the traffic is smaller than the target traffic, the server generates a request failure result and sends it to the user terminal, and the user terminal displays the result of the request failure sent by the server.
  • the server when the effective traffic of the account is less than the target traffic, the server first determines the security account. When the target account is a security account and the value-added traffic associated with the security account is greater than the difference traffic between the target traffic and the effective traffic of the account, the server flows to the server. The server sends a traffic transfer instruction, and the traffic server transfers the target traffic to the target account, thereby satisfying the user's traffic transfer demand as much as possible, and improving the satisfaction of the customer experience.
  • the traffic transfer method further includes: when the product value-added traffic is less than the difference traffic, calculating a maximum threshold of the transferable traffic according to the product value-added traffic and the account effective traffic; searching for an account associated with the user identifier, respectively acquiring the associated The effective traffic corresponding to the account is filtered out to obtain an account whose effective traffic is greater than or equal to the target traffic; the traffic transition recommendation result is generated according to the maximum threshold and the filtered account, and the traffic transfer recommendation result is sent to the terminal.
  • the server When the value-added traffic of the product found by the server is less than the difference traffic, the server generates a proposed modification scheme of the traffic request according to the difference traffic. Specifically, the server calculates the sum of the traffic of the product value-added traffic and the account effective traffic, and sets the sum of the traffic to the maximum threshold of the user-transferable traffic. A requestable transfer traffic recommendation for the target account is generated based on the maximum threshold.
  • the server summarizes the generated traffic transfer suggestions and generates the traffic transfer recommendation result, and sends the generated traffic transfer recommendation result to the user terminal. After receiving the user, the user terminal displays the traffic transfer recommendation result.
  • the account with the effective traffic outside the target account is larger than the target traffic, and the traffic transfer recommendation result is generated according to the calculation result and the screening result, which may be Users provide different and most popular traffic transfer schemes, which are convenient for modifying traffic transfer requests.
  • the step of searching for valid account traffic corresponding to the target account in the effective traffic of the product includes: searching for valid traffic corresponding to the target account in the effective traffic of the product; and obtaining the change corresponding to the target account when the target account is the changed account Pre- account; find the effective traffic corresponding to the account before the change in the effective traffic of the product; calculate the sum of the effective traffic corresponding to the target account and the effective traffic corresponding to the account before the change, and use the sum of the traffic as the effective traffic of the account of the target account.
  • the server root finds the effective traffic corresponding to the target account from the valid traffic.
  • the server determines whether the target account is a change account, and the method for determining whether the account is a change account is whether the account has an associated record with other accounts.
  • the user is allowed to perform an account attribution change operation on the held product traffic.
  • the user can send an account change request to the server at the user terminal, and the account change request carries the account before the change and the account after the change.
  • the server before the step of receiving the product flow transfer request sent by the terminal, the server further includes: receiving an account change request sent by the terminal, where the account change request carries the account information of the first account and the account information of the second account; Taking the account attribute in the account information of the first account and the account attribute of the account information of the second account; when the two account attributes are the same, recording the account information of the second account, and associating the second account with the first account And change the first account number.
  • the first account is a target account that the user requests to change
  • the second account is a changed account.
  • the server After receiving the account change request, the server obtains the account information of the first account in the request and the account information of the second account, and respectively reads the account attributes in the two account information.
  • the account attribute represents the type of account.
  • the server records the information of the second account, and associates the second account with the first account.
  • the server changes the mark of the first account, and performs the change of the marked account.
  • the effective traffic is attributed to the changed account.
  • the server after receiving the account change request sent by the terminal, the server generates a change audit result acquisition request according to the user identifier in the account change request, the account information of the first account, and the account information of the second account, and sends the request to the audit.
  • the terminal the auditing terminal returns the audit result to the server according to the user ID in the result obtaining request, the account information of the first account, and the second account to find the audit result of the user's account change certificate file.
  • the audit result received by the server is passed, the step of reading the account attribute in the account information of the first account and the account attribute of the account information of the second account is continued.
  • the server returns information such as "the change certificate file has not passed the audit and the account change cannot be performed" to the user terminal.
  • the server only supports the operation of changing the product traffic for the account with the same account attribute.
  • the account records, settlement, and clearing rules of accounts with different attributes are different. Therefore, before the account change is made, the account attribute is judged to avoid the risk of invalid account changes and subsequent transfer of traffic. Improve the security of traffic transfer operations.
  • a flow forwarding device includes: a transfer request receiving module 310, configured to receive a product flow transfer request sent by the terminal, and the product flow transfer request carries the product identifier, User ID, target traffic, and target account.
  • the product traffic search module 320 is configured to find the effective traffic of the product according to the user identifier and the product identifier.
  • the account traffic search module 330 is configured to search for effective account traffic corresponding to the target account in the effective traffic of the product.
  • the traffic freezing module 340 is configured to freeze the traffic of the account effective traffic and the target traffic equivalent when the account effective traffic is greater than or equal to the target traffic.
  • the transfer instruction sending module 350 generates a flow transfer instruction carrying the target account identifier according to the target traffic and sends the traffic transfer command to the traffic server, so that the traffic server transfers the target traffic to the target account.
  • the transfer result receiving module 360 is configured to receive a transfer success result returned by the traffic server, and deduct the frozen traffic from the account effective traffic.
  • the device further includes: a difference traffic calculation module 332, configured to calculate a difference between the target traffic and the effective traffic of the account when the effective traffic of the account is less than the target traffic and the target account is a security account. flow.
  • the value-added traffic searching module 334 is configured to search for product value-added traffic according to the user identifier and the product identifier.
  • the second transfer request sending module 336 is configured to: when the product value-added traffic is greater than the difference traffic, generate a traffic transfer instruction carrying the target account identifier according to the target traffic, and send the traffic transfer command to the traffic server.
  • the failure result sending module 338 is configured to: when the product value-added traffic is less than the difference traffic, generate a request failure result and return the result to the terminal.
  • the apparatus further includes: a threshold calculation module, configured to calculate a maximum threshold of the transferable traffic according to the product value-added traffic and the account effective traffic when the product value-added traffic is less than the difference traffic.
  • the account screening module is configured to search for an account associated with the user identifier, obtain valid traffic corresponding to each associated account, and filter out the obtained account whose effective traffic is greater than or equal to the target traffic.
  • the result generating module is configured to generate a traffic transfer recommendation result according to the maximum threshold and the filtered account, and send the traffic transfer recommendation result to the terminal.
  • the account traffic lookup module 330 further includes: a first traffic lookup module, configured to search for valid traffic corresponding to the target account in the effective traffic of the product.
  • the account obtaining module is configured to obtain a pre-change account corresponding to the target account when the target account is a changed account.
  • the second traffic search module is configured to find the effective traffic corresponding to the account before the change in the effective traffic of the product.
  • the traffic calculation module is configured to calculate the sum of the effective traffic corresponding to the target account and the effective traffic corresponding to the account before the change, and use the sum of the traffic as the effective traffic of the account of the target account.
  • the device further includes: a change request receiving module 302, configured to receive an account change request sent by the terminal, where the account change request carries account information of the first account and The account information of the second account; the account attribute reading module 304 is configured to respectively read the account attribute in the account information of the first account and the account attribute of the account information of the second account.
  • the account association module 306 is configured to record the account information of the second account when the two account attributes are consistent, associate the second account with the first account, and perform the first account Change the tag.
  • FIG. 6 is a schematic diagram of the internal structure of a computer device.
  • the computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the memory stores an operating system and a database, and also includes a flow transfer device.
  • the database is used to store data required by a computer device to perform specific functions and operations, such as product traffic records, product flow operation records, etc. for each user required to implement traffic transfer.
  • the flow transfer device includes at least one computer readable instruction executable by the processor to cause the computer device to implement a flow transfer method.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the above operating system, database, and traffic transfer device are stored in a non-volatile storage medium.
  • the internal memory provides an environment for the operation of the flow transfer device in the non-volatile storage medium.
  • the product traffic transfer request carries the product identifier, the user identifier, the target traffic, and the target account; the effective traffic of the product is found according to the user identifier and the product identifier; and the account corresponding to the target account in the effective traffic of the product is found to be valid.
  • Traffic flow when the effective traffic of the account is greater than or equal to the target traffic, the traffic of the account effective traffic and the target traffic is frozen; the traffic transfer command carrying the target account identifier is generated according to the target traffic and sent to the traffic server. So that the traffic server transfers the target traffic to the target account; receives the transfer success result returned by the traffic server, and deducts the frozen traffic from the account effective traffic.
  • the target account When the effective traffic of the account is less than the target traffic and the target account is a secure account, calculate the difference traffic between the target traffic and the effective traffic of the account; find the product value-added traffic according to the user identifier and the product identifier; when the product value-added traffic is greater than the difference traffic, according to the target
  • the traffic generation command carries the traffic transfer command with the target account identifier and sends it to the traffic server.
  • the product value-added traffic is smaller than the difference traffic, the result of the request failure is returned to the terminal.
  • the maximum threshold of the transferable traffic is calculated according to the product value-added traffic and the account effective traffic; the account associated with the user identifier is searched, and the effective traffic corresponding to each account is obtained, and the obtained valid is filtered out.
  • the account whose traffic is greater than or equal to the target traffic is generated according to the maximum threshold and the filtered account, and the traffic transfer recommendation result is sent to the terminal.
  • the account change request carrying the account information of the first account and the account information of the second account; respectively reading the account attribute in the account information of the first account and the account attribute of the account information of the second account
  • the account information of the second account is recorded, the second account is associated with the first account, and the first account is marked with a change.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the product traffic transfer request carries the product identifier, the user identifier, the target traffic, and the target account; the effective traffic of the product is found according to the user identifier and the product identifier; and the account corresponding to the target account in the effective traffic of the product is found to be valid.
  • Traffic flow when the effective traffic of the account is greater than or equal to the target traffic, the traffic of the account effective traffic and the target traffic is frozen; the traffic transfer command carrying the target account identifier is generated according to the target traffic and sent to the traffic server. So that the traffic server transfers the target traffic to the target account; receives the transfer success result returned by the traffic server, and deducts the frozen traffic from the account effective traffic.
  • the program is also executed by the processor to implement the following steps:
  • the target account When the effective traffic of the account is less than the target traffic and the target account is a secure account, calculate the difference traffic between the target traffic and the effective traffic of the account; find the product value-added traffic according to the user identifier and the product identifier; when the product value-added traffic is greater than the difference traffic, according to the target
  • the traffic generation command carries the traffic transfer command with the target account identifier and sends it to the traffic server.
  • the product value-added traffic is smaller than the difference traffic, the result of the request failure is returned to the terminal.
  • the program is also executed by the processor to implement the following steps:
  • the maximum threshold of the transferable traffic is calculated according to the product value-added traffic and the account effective traffic; the account associated with the user identifier is searched, and the effective traffic corresponding to each account is obtained, and the obtained valid is filtered out.
  • the account whose traffic is greater than or equal to the target traffic is generated according to the maximum threshold and the filtered account, and the traffic transfer recommendation result is sent to the terminal.
  • the program is also executed by the processor to implement the following steps:
  • the program is also executed by the processor to implement the following steps:
  • the account change request carrying the account information of the first account and the account information of the second account; respectively reading the account attribute in the account information of the first account and the account attribute of the account information of the second account
  • the account information of the second account is recorded, the second account is associated with the first account, and the first account is marked with a change.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一种流量转移方法、装置、计算机设备及存储介质,能够简化对流量转移请求的处理步骤,提高工作效率。其中,流量转移方法包括:接收终端发送的产品流量转移请求(210),产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据用户标识和产品标识查找产品有效流量(220);查找产品有效流量中与目标账号对应的账号有效流量(230);当账号有效流量大于或等于目标流量时,将账号有效流量中与目标流量等值的流量进行冻结(240);根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器(250),以使流量服务器向目标账号中转移目标流量;接收流量服务器返回的转移成功结果,将冻结的流量从账号有效流量中扣除(260)。

Description

流量转移方法、装置、计算机设备及存储介质
本申请申明享有2017年7月25日递交的申请号为201710613848.5、名称为“流量转移方法、装置、计算机设备及存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请涉及互联网技术领域,特别是涉及一种流量转移方法、装置、计算机设备及存储介质。
背景技术
目前的账户管理平台,能够支持同一用户的多个账号进行资源的转移操作。目前的账户管理平台都是以产品订单的维度对资源进行管理。
例如,账户管理平台为理财产品管理平台,平台需要对理财用户认购产品的每笔订单的流量分别进行记录。理财用户在进行理财产品赎回操作时,平台需要根据产品订单号查找订单数据,根据订单数据查找订单对应的账号,再查找账号对应的产品流量,最后将查找到的产品流量转移给对应账号。因此,以产品订单的维度对资源进行管理,管理工作分散冗杂,并导致平台处理用户资源转移操作的过程复杂,工作效率低。
发明内容
基于此,有必要针对上述流量转移过程中存在的过程复杂,工作效率低的问题,提供一种流量转移方法、装置、计算机设备及存储介质。
一种流量转移方法,所述方法包括以下步骤:接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述 产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
一种流量转移装置,所述装置包括:转移请求接收模块,用于接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;产品流量查找模块,用于根据所述用户标识和所述产品标识查找产品有效流量;账号流量查找模块,用于查找所述产品有效流量中与所述目标账号对应的账号有效流量;流量冻结模块,用于当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;转移指令发送模块,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;转移结果接收模块,用于接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所 述冻结的流量从所述账号有效流量中扣除。
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
上述流量转移方法、装置、计算机设备及存储介质,通过对产品流量以账号的维度进行管理,在用户发送流量转移请求时可以直接根据请求中的账号进行流量查找,从而能够简化处理过程,优化处理流程,提高工作效率且减少用户等待时间。
附图说明
图1为一个实施例中流量转移方法的应用环境图;
图2为一个实施例中流量转移方法的流程图;
图3为一个实施例中流量转移装置的结构示意图;
图4为另一个实施例中流量转移装置的结构示意图;
图5为又一个实施例中流量转移装置的结构示意图;
图6为一个实施例中计算机设备的内部结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例 仅仅用以解释本申请,并不用于限定本申请。
本申请实施例中所提供的应用程序测试方法可以应用于如图1所示的应用环境中。交易系统的服务器102分别与终端104和流量服务器106通过网络进行连接。用户通过终端104向服务器102发送产品流量转移请求,服务器102接收终端104发送的产品流量转移请求后,根据请求中的用户标识和产品标识查找用户的产品有效流量,并在产品有效流量中查找与请求中目标账号相对应的账号有效流量。服务器102将账号有效流量与请求中的用户想要转移的目标流量进行比较,判断出账号有效流量大于或等于目标流量时,对账号有效流量中的目标流量部分进行流量冻结,冻结之后服务器102生成流量转移指令并发送给流量服务器106,流量服务器106接收流量转移请求后,根据请求中的目标账号标识向目标账号中转移目标流量,转以后流量服务器106向服务器102返回转移成功结果,服务器102接收转移成功结果后解除所冻结的流量。
在一个实施例中,如图2所示,提供了一种流量转移方法,该方法可应用于终端或服务器,以该方法应用于服务器为例进行说明,所述方法包括以下步骤:
步骤210,接收终端发送的产品流量转移请求,产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号。
在本实施例中,终端包括但不限于个人电脑、智能手机、平板电脑、掌上电脑以及移动互联网设备等移动设备。产品包括但不限于基金产品、黄金产品等理财产品。产品流量是指用户认购、持有或赎回的理财产品的份额或金额。
服务器用来管理用户的账号开户、更换或撤销操作,也用来管理具体的产品流量和产品流量转移操作。账号是指用户的银行卡账号或是产品管理平台账号等。用户可以使用多个账号申购多种理财产品。
步骤220,根据用户标识和产品标识查找产品有效流量。
服务器对用户进行的对产品流量的申购、转移、赎回等流量操作均进行记录,服务器根据用户标识从存储的流量记录中查找用户对应的流量记录,从流量记录中获取用户目前实际持有的有效流量,服务器根据产品标识从有效流量中查找与用户目标赎回产品所对应的产品有效流量。
步骤230,查找产品有效流量中与目标账号对应的账号有效流量。
用户可以使用多个账号申购同一产品,服务器根据账号对用户所持有产品的流量进行管理。用户进行产品流量申购操作时,在使用账号完成支付操作后,服务器会将用户的支付账号与用户所申购的产品流量进行关联记录。此外,服务器也会对每个账号所关联的各产品流量的转移、冻结操作进行记录。服务器从产品有效流量中查找与目标账号相对应的有效流量。
步骤240,当账号有效流量大于或等于目标流量时,将账号有效流量中与目标流量等值的流量进行冻结。
服务器查找到的账号有效流量与目标流量进行比较,当账号有效流量大于或者等于目标流量时,表明目标账号对应的有效流量能够满足用户的转出需求,服务器可以进行流量的转移操作。服务器对账号有效流量中与目标流量数值额度相等的流量进行冻结。对于已经进行冻结的流量不再视为账号的有效流量。由此,即可以对用户连续进行流量转移的操作行为进行额度限制,避免流量的重复转移情况,也避免转出给目标账号的总流量大于目标账号的实际有效流量而造成的损失。
步骤250,根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器,以使流量服务器向目标账号中转移目标流量。
服务器根据目标流量生成流量转移指令,流量转移指令中包含目标流量的额度信息和目标账号的标识,服务器将生成的流量转移指令发送给流量服务器。流量服务器相对于理财产品平台的总账户,用户对产品的流量进行申购操作时,若申购成功,流量会从用户申购所使用的流量转入流量服务器中。同时,用户对产品流量进行赎回操作时,赎回请求通过,流量会从流量服务 器转入用户想要赎回的目标账号中。
流量服务器接收到服务器发送的流量转移指令后,根据流量转移指令所携带的目标账号标识查找目标账号,并将于目标流量相等额度的流量转出至目标账号中,从而使得用户获得目标流量。
步骤260,接收流量服务器返回的转移成功结果,将冻结的流量从账号有效流量中扣除。
流量服务器在完成向目标账号的转移操作后,生成流量转移成功结果,并将转移成功结果返回给服务器。服务器接收流量服务器返回的转移成功结果后,将账号有效流量中冻结的流量解冻,并将解冻的流量从账号有效流量中扣除。
在一个实施例中,在对账号有效流量中的部分流量进行冻结时,需获取产品流量转移请求的流水号,并将进行冻结的流量与产品流量转移请求的流水号进行关联记录。在将流量转移指令发送给流量服务器以及流量服务器返回转移成功结果的过程中也需携带流水号。服务器接收转移成功结果后,将与流水号相对应的流量进行解冻并扣除。这是因为,流量服务器对于不同产品和业务的处理时间不同,可能出现同一目标账号的多笔请求的处理期间相互覆盖,同时存在多笔流量冻结的情况。因此,需要对不同请求的冻结流量进行区分,避免出现多扣或错扣的情况。
在本实施例中,用户在进行产品流量转移请求时,可以对想要进行转移的产品的流量额度、想要转入的目标账号进行任意选择,流量转移操作更加灵活。上述方法是对产品流量以账号的维度进行管理,服务器在用户发送流量转移请求时可以直接根据请求中的账号进行流量查找,不需要再通过查找流量订单来查找目标账号。从而简化处理过程,优化处理流程。
在一个实施例中,方法还包括:当账号有效流量小于目标流量且目标账号为安全账号时,计算目标流量与账号有效流量的差值流量;根据用户标识和产品标识查找产品增值流量;当产品增值流量大于差值流量时,根据目标 流量生成携带有目标账号标识的流量转移指令并发送给流量服务器;当产品增值流量小于差值流量时,生成请求失败结果返回给终端。
服务器将账号有效流量与目标账号进行比较之后,当账号有效流量小于目标流量时,表明目前目标账号中的有效流量不能满足用户的转移请求。服务器获取安全账号列表,并根据用户标识查找用户的安全账号。服务器将安全账号与目标账号进行比较,判断目标账号是否为用户的安全账号,当目标账号不是安全账号时,服务器生成请求失败结果并发送给用户终端,用户终端接收服务器发送的请求失败结果后将其进行显示。
当服务器判断目标账号为安全账号时,服务器计算目标流量与账号有效流量的差值流量。服务器根据用户标识和产品标识,从用户产品流量记录中查找与用户标识相关联的且与产品标识相对应的增值流量。增值流量为用户所投入的流量所产生的附加增值。例如,用户将账号中的流量投入理财产品时,随着时间的推移,投入的产品流量会产生收益即增值流量,不同的产品每日的收益也可能不同,用户投入流量的时间越长,产品流量产生的收益也就越多。在本实施例中,用户所持有的同一产品的流量所产生的增值流量都与安全账号关联记录,能够简化增值流量的管理过程,也方便服务器查找增值流量。
在一个实施例中,安全账号为用户首次进行产品流量申购时所使用的账号,在其他实施例中,安全账号也可以是用户指定的账号。
服务器将查找到的产品增值流量与计算出的差值流量进行比较,当产品增值流量大于差值流量时,表明目标账号的有效流量与产品增值流量的总和大于目标流量,服务器判定可以进行流量转移操作。服务器根据目标流量,生成携带有目标流量额度信息和目标账号标识的流量转移并发送给流量服务器,流量服务器接收到流量转移指令后,根据目标账号标识查找目标账号,向查找到的目标账号中转入与目标流量额度相等的流量。
当产品增值流量小于差值流量时,表明目标账号的有效流量与产品增值 流量的总和任然小于目标流量,无法满足用户的流量转移请求。服务器生成请求失败结果并发送给用户终端,用户终端接收服务器发送的请求失败结果后将其进行显示。具体的请求失败结果的生成和显示方法可以参照上述实施方式,在此不再赘述。
在另一个实施例中,当目标账号的账号有效流量小于目标流量,并且目标账号为安全账号时,根据用户标识和服务器根据用户标识和产品标识,从用户产品流量记录中查找与用户标识相关联的且与产品标识相对应的增值流量,计算增值流量与账号有效流量的流量总和,将计算出的流量总和与目标流量进行比较。当流量总和大于目标流量时,终端根据目标流量生成生成携带有目标流量额度信息和目标账号标识的流量转移并发送给流量服务器,流量服务器接收到流量转移指令后,根据目标账号标识查找目标账号,向查找到的目标账号中转入与目标流量额度相等的流量。当流量总和小于目标流量时,服务器生成请求失败结果并发送给用户终端,用户终端接收服务器发送的请求失败结果后将其进行显示。
在本实施例中,通过设置安全账号,可以将用户持有的同一产品流量的所有增值流量均归属至安全账号,便于对增值流量进行统一管理,简化减少操作过程。此外,当账号有效流量小于目标流量时,服务器先进行安全账号的判断,当目标账号是安全账号且安全账号所关联的产品增值流量大于目标流量与账号有效流量的差值流量时,服务器向流量服务器发送流量转移指令,流量服务器向目标账号转入目标流量,从而可以尽可能地满足用户的流量转移需求,提高客户体验的满意度。
在一个实施例中,流量转移方法还包括:当产品增值流量小于差值流量时,根据产品增值流量和账号有效流量计算可转移流量的最大阈值;查找用户标识关联的账号,分别获取关联的各账号所对应的有效流量,筛选出获取的有效流量大于或等于目标流量的账号;根据最大阈值和筛选出的账号生成流量转移建议结果,将流量转移建议结果发送给终端。
当服务器查找到的产品增值流量小于差值流量时,服务器根据差值流量生成流量请求的建议修改方案。具体地,服务器计算产品增值流量与账号有效流量的流量总和,将流量总和设定为用户可转移流量的最大阈值。根据最大阈值生成目标账号的可请求转移流量建议。
服务器根据对生成的上述流量转移建议进行汇总并生成流量转移建议结果,并将生成的流量转移建议结果发送给用户终端,用户终端接收后将流量转移建议结果进行展示。
在本实施例中,通过计算目标账号的最大可转出流量的阈值,筛选出用户的出目标账号之外有效流量大于目标流量的账号,根据计算结果和筛选结果生成流量转移建议结果,可以为用户提供不同的且最有的流量转移方案,方便用于对流量转移请求进行修改。
在一个实施例中,查找产品有效流量中与目标账号对应的账号有效流量的步骤包括:查找产品有效流量中目标账号对应的有效流量;当目标账号为变更账号时,获取目标账号所对应的变更前账号;查找产品有效流量中变更前账号对应的有效流量;计算目标账号对应的有效流量与变更前账号对应的有效流量的流量总和,将流量总和作为目标账号的账号有效流量。
服务器根从产有效流量中查找与目标账号相对应的有效流量。服务器判断目标账号是否为变更账号,判断账号是否为变更账号的方法为账号是否存在与其他账号的关联记录。
在本实施例中,支持用户对持有的产品流量进行账号归属变更操作。用户可以在用户终端向服务器发送账号变更请求,账号变更请求中携带变更前账号和变更后账号。
在一个实施例中,服务器接收终端发送的产品流量转移请求的步骤之前还包括:接收终端发送的账号变更请求,账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取第一账号的账号信息中的账号属性和第二账号的账号信息的账号属性;当两个账号属性一致时,对第二账号的 账号信息进行记录,将第二账号与第一账号进行关联,并对第一账号进行变更标记。
其中,第一账号为用户请求变更的目标账号,第二账号为变更后账号。服务器接收账号变更请求后,获取请求中的第一账号的账号信息和第二账号的账号信息,并分别读取两个账号信息中的账号属性。账号属性代表账号的类型。当两个账号属性一致时,服务器对第二账号的信息进行记录,并将第二账号与第一账号进关联,进行账号关联后,服务器对第一账号进行变更标记,进行变更标记的账号的有效流量均归属于变更后的账号。
在一个实施例中,服务器在接收到终端发送的账号变更请求后,根据账号变更请求中的用户标识、第一账号的账号信息和第二账号的账号信息生成变更审核结果获取请求并发送给审核终端,审核终端根据结果获取请求中的用户标识、第一账号的账号信息和第二账号查找用户的账号变更证明文件的审核结果,将审核结果返回给服务器。当服务器接收到的审核结果为通过时,继续进行读取第一账号的账号信息中的账号属性和第二账号的账号信息的账号属性的步骤。当审核结果为不通过时,服务器向用户终端返回如“变更证明文件未通过审核,不能进行账号变更”的信息。
在本实施例中,服务器只支持对相同账号属性的账号进行产品流量的变更操作。不同属性的账号的流量记录、结算和清算规则都不相同,因此,在进行账号变更之前,对账号属性进行判断,能够避免无效的账号变更以及后期的流量无法进行转移的风险。提高流量转移操作的安全性。
在一个实施例中,如图3所示,提供了一种流量转移装置,该装置包括:转移请求接收模块310,用于接收终端发送的产品流量转移请求,产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号。产品流量查找模块320,用于根据用户标识和产品标识查找产品有效流量。账号流量查找模块330,用于查找产品有效流量中与目标账号对应的账号有效流量。流量冻结模块340,用于当账号有效流量大于或等于目标流量时,将所述账号有 效流量中与所述目标流量等值的流量进行冻结。转移指令发送模块350,根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器,以使流量服务器向目标账号中转移目标流量。转移结果接收模块360,用于接收流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
在一个实施例中,如图4所示,装置还包括:差值流量计算模块332,用于当账号有效流量小于目标流量且目标账号为安全账号时,计算目标流量与账号有效流量的差值流量。增值流量查找模块334,用于根据用户标识和产品标识查找产品增值流量。第二转移请求发送模块336,用于当产品增值流量大于差值流量时,根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器。失败结果发送模块338,用于当产品增值流量小于差值流量时,生成请求失败结果返回给终端。
在一个实施例中,装置还包括:阈值计算模块,用于当所述产品增值流量小于所述差值流量时,根据所述产品增值流量和所述账号有效流量计算可转移流量的最大阈值。账号筛选模块,用于查找所述用户标识关联的账号,分别获取所述关联的各账号所对应的有效流量,筛选出所述获取的有效流量大于或等于所述目标流量的账号。建议结果生成模块,用于根据所述最大阈值和所述筛选出的账号生成流量转移建议结果,将所述流量转移建议结果发送给所述终端。
在一个实施例中,账号流量查找模块330还包括:第一流量查找模块,用于查找产品有效流量中目标账号对应的有效流量。账号获取模块,用于当目标账号为变更账号时,获取目标账号所对应的变更前账号。第二流量查找模块,用于查找产品有效流量中变更前账号对应的有效流量。流量计算模块,用于计算目标账号对应的有效流量与变更前账号对应的有效流量的流量总和,将流量总和作为目标账号的账号有效流量。
在一个实施例中,如图5所示,所述装置还包括:变更请求接收模块302, 用于接收所述终端发送的账号变更请求,所述账号变更请求中携带第一账号的账号信息和第二账号的账号信息;账号属性读取模块304,用于分别读取所述第一账号的账号信息中的账号属性和所述第二账号的账号信息的账号属性。账号关联模块306,用于当两个账号属性一致时,对所述第二账号的账号信息进行记录,将所述第二账号与所述第一账号进行关联,并对所述第一账号进行变更标记。
在一个实施例中,如图6所示,为一个计算机设备的内部结构示意图。该计算机设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。存储器存储有操作系统和数据库,还包括一种流量转移装置。数据库用于存储于计算机设备实现特定功能和操作所需的数据,例如,为实现流量转移所需的各用户的产品流量记录、产品流量操作记录等。流量转移装置包括至少一个计算机可读指令,该至少一个计算机可读指令可被处理器执行,以使计算机设备实现一种流量转移方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。
在一个实施例中,计算机设备的存储器包括非易失性存储介质和内存储器。上述操作系统、数据库及流量转移装置存储于非易失性存储介质。内存储器为非易失性存储介质中的流量转移装置的运行提供环境。本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,处理器执行存储器中的流量转移装置的计算机可读程序时,实现以下步骤:
接收终端发送的产品流量转移请求,产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据用户标识和产品标识查找产品有效流量;查找产品有效流量中与目标账号对应的账号有效流量;当账号有效 流量大于或等于目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器,以使流量服务器向目标账号中转移目标流量;接收流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
在一个实施例中,处理器执行存储器中的流量转移装置的计算机可读程序时,实现以下步骤:
当账号有效流量小于目标流量且目标账号为安全账号时,计算目标流量与账号有效流量的差值流量;根据用户标识和产品标识查找产品增值流量;当产品增值流量大于差值流量时,根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器;当产品增值流量小于差值流量时,生成请求失败结果返回给终端。
在一个实施例中,处理器执行存储器中的流量转移装置的计算机可读程序时,实现以下步骤:
当产品增值流量小于差值流量时,根据产品增值流量和账号有效流量计算可转移流量的最大阈值;查找用户标识关联的账号,分别获取关联的各账号所对应的有效流量,筛选出获取的有效流量大于或等于目标流量的账号;根据最大阈值和筛选出的账号生成流量转移建议结果,将流量转移建议结果发送给终端。
在一个实施例中,处理器执行存储器中的流量转移装置的计算机可读程序时,实现以下步骤:
查找产品有效流量中目标账号对应的有效流量;当目标账号为变更账号时,获取目标账号所对应的变更前账号;查找产品有效流量中变更前账号对应的有效流量;计算目标账号对应的有效流量与变更前账号对应的有效流量的流量总和,将流量总和作为目标账号的账号有效流量。
在一个实施例中,处理器执行存储器中的流量转移装置的计算机可读程序时,实现以下步骤:
接收终端发送的账号变更请求,账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取第一账号的账号信息中的账号属性和第二账号的账号信息的账号属性;当两个账号属性一致时,对第二账号的账号信息进行记录,将第二账号与第一账号进行关联,并对第一账号进行变更标记。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:
接收终端发送的产品流量转移请求,产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据用户标识和产品标识查找产品有效流量;查找产品有效流量中与目标账号对应的账号有效流量;当账号有效流量大于或等于目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器,以使流量服务器向目标账号中转移目标流量;接收流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
在一个实施例中,该程序被处理器执行时还用以实现以下步骤:
当账号有效流量小于目标流量且目标账号为安全账号时,计算目标流量与账号有效流量的差值流量;根据用户标识和产品标识查找产品增值流量;当产品增值流量大于差值流量时,根据目标流量生成携带有目标账号标识的流量转移指令并发送给流量服务器;当产品增值流量小于差值流量时,生成请求失败结果返回给终端。
在一个实施例中,该程序被处理器执行时还用以实现以下步骤:
当产品增值流量小于差值流量时,根据产品增值流量和账号有效流量计算可转移流量的最大阈值;查找用户标识关联的账号,分别获取关联的各账号所对应的有效流量,筛选出获取的有效流量大于或等于目标流量的账号;根据最大阈值和筛选出的账号生成流量转移建议结果,将流量转移建议结果发送给终端。
在一个实施例中,该程序被处理器执行时还用以实现以下步骤:
查找产品有效流量中目标账号对应的有效流量;当目标账号为变更账号时,获取目标账号所对应的变更前账号;查找产品有效流量中变更前账号对应的有效流量;计算目标账号对应的有效流量与变更前账号对应的有效流量的流量总和,将流量总和作为目标账号的账号有效流量。
在一个实施例中,该程序被处理器执行时还用以实现以下步骤:
接收终端发送的账号变更请求,账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取第一账号的账号信息中的账号属性和第二账号的账号信息的账号属性;当两个账号属性一致时,对第二账号的账号信息进行记录,将第二账号与第一账号进行关联,并对第一账号进行变更标记。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (18)

  1. 一种流量转移方法,其特征在于,所述方法包括以下步骤:
    接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
  2. 根据权利要求1所述的流量转移方法,其特征在于,所述方法还包括:当所述账号有效流量小于所述目标流量且所述目标账号为安全账号时,计算所述目标流量与所述账号有效流量的差值流量;根据所述用户标识和所述产品标识查找产品增值流量;当所述产品增值流量大于所述差值流量时,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器;当所述产品增值流量小于所述差值流量时,生成请求失败结果返回给所述终端。
  3. 根据权利要求2所述的流量转移方法,其特征在于,所述方法还包括:当所述产品增值流量小于所述差值流量时,根据所述产品增值流量和所述账号有效流量计算可转移流量的最大阈值;查找所述用户标识关联的账号,分别获取所述关联的各账号所对应的有效流量,筛选出所述获取的有效流量大于或等于所述目标流量的账号;根据所述最大阈值和所述筛选出的账号生成流量转移建议结果,将所述流量转移建议结果发送给所述终端。
  4. 根据权利要求1所述的流量转移方法,其特征在于,所述查找所述产品有效流量中与所述目标账号对应的账号有效流量的步骤,包括:查找所 述产品有效流量中所述目标账号对应的有效流量;当所述目标账号为变更账号时,获取所述目标账号所对应的变更前账号;查找所述产品有效流量中所述变更前账号对应的有效流量;计算所述目标账号对应的有效流量与所述变更前账号对应的有效流量的流量总和,将所述流量总和作为所述目标账号的账号有效流量。
  5. 根据权利要求4所述的流量转移方法,其特征在于,所述接收终端发送的产品流量转移请求的步骤之前,还包括:接收所述终端发送的账号变更请求,所述账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取所述第一账号的账号信息中的账号属性和所述第二账号的账号信息的账号属性;当两个账号属性一致时,对所述第二账号的账号信息进行记录,将所述第二账号与所述第一账号进行关联,并对所述第一账号进行变更标记。
  6. 一种流量转移装置,其特征在于,所述装置包括:
    转移请求接收模块,用于接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;产品流量查找模块,用于根据所述用户标识和所述产品标识查找产品有效流量;账号流量查找模块,用于查找所述产品有效流量中与所述目标账号对应的账号有效流量;流量冻结模块,用于当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;转移指令发送模块,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;转移结果接收模块,用于接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
  7. 根据权利要求6所述的流量转移装置,其特征在于,所述装置还包括:差值流量计算模块,用于当所述账号有效流量小于所述目标流量且所述目标账号为安全账号时,计算所述目标流量与所述账号有效流量的差值流 量;增值流量查找模块,用于根据所述用户标识和所述产品标识查找产品增值流量;第二转移请求发送模块,用于当所述产品增值流量大于所述差值流量时,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器;失败结果发送模块,用于当所述产品增值流量小于所述差值流量时,生成请求失败结果返回给所述终端。
  8. 根据权利要求6所述的流量转移装置,其特征在于,所述账号流量查找模块还包括:第一流量查找模块,用于查找所述产品有效流量中所述目标账号对应的有效流量;账号获取模块,用于当所述目标账号为变更账号时,获取所述目标账号所对应的变更前账号;第二流量查找模块,用于查找所述产品有效流量中所述变更前账号对应的有效流量;流量计算模块,用于计算所述目标账号对应的有效流量与所述变更前账号对应的有效流量的流量总和,将所述流量总和作为所述目标账号的账号有效流量。
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:
    接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
  10. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述程序时还实现以下步骤:当所述账号有效流量小于所述目标流量且所述目标账号为安全账号时,计算所述目标流量与所述账号有效流量的差值流 量;根据所述用户标识和所述产品标识查找产品增值流量;当所述产品增值流量大于所述差值流量时,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器;当所述产品增值流量小于所述差值流量时,生成请求失败结果返回给所述终端。
  11. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述程序时还实现以下步骤:当所述产品增值流量小于所述差值流量时,根据所述产品增值流量和所述账号有效流量计算可转移流量的最大阈值;查找所述用户标识关联的账号,分别获取所述关联的各账号所对应的有效流量,筛选出所述获取的有效流量大于或等于所述目标流量的账号;根据所述最大阈值和所述筛选出的账号生成流量转移建议结果,将所述流量转移建议结果发送给所述终端。
  12. 根据权利要求9所述的计算机设备,其特征在于,所述查找所述产品有效流量中与所述目标账号对应的账号有效流量的步骤,包括:查找所述产品有效流量中所述目标账号对应的有效流量;当所述目标账号为变更账号时,获取所述目标账号所对应的变更前账号;查找所述产品有效流量中所述变更前账号对应的有效流量;计算所述目标账号对应的有效流量与所述变更前账号对应的有效流量的流量总和,将所述流量总和作为所述目标账号的账号有效流量。
  13. 根据权利要求12所述的流量转移方法,其特征在于,所述接收终端发送的产品流量转移请求的步骤之前,还包括:接收所述终端发送的账号变更请求,所述账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取所述第一账号的账号信息中的账号属性和所述第二账号的账号信息的账号属性;当两个账号属性一致时,对所述第二账号的账号信息进行记录,将所述第二账号与所述第一账号进行关联,并对所述第一账号进行变更标记。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于, 该程序被处理器执行时实现以下步骤:
    接收终端发送的产品流量转移请求,所述产品流量转移请求中携带产品标识、用户标识、目标流量和目标账号;根据所述用户标识和所述产品标识查找产品有效流量;查找所述产品有效流量中与所述目标账号对应的账号有效流量;当所述账号有效流量大于或等于所述目标流量时,将所述账号有效流量中与所述目标流量等值的流量进行冻结;根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器,以使所述流量服务器向所述目标账号中转移所述目标流量;接收所述流量服务器返回的转移成功结果,将所述冻结的流量从所述账号有效流量中扣除。
  15. 根据权利要求14所述的存储介质,其特征在于,所述处理器执行所述程序时还实现以下步骤:当所述账号有效流量小于所述目标流量且所述目标账号为安全账号时,计算所述目标流量与所述账号有效流量的差值流量;根据所述用户标识和所述产品标识查找产品增值流量;当所述产品增值流量大于所述差值流量时,根据所述目标流量生成携带有所述目标账号标识的流量转移指令并发送给流量服务器;当所述产品增值流量小于所述差值流量时,生成请求失败结果返回给所述终端。
  16. 根据权利要求15所述的存储介质,其特征在于,所述处理器执行所述程序时还实现以下步骤:当所述产品增值流量小于所述差值流量时,根据所述产品增值流量和所述账号有效流量计算可转移流量的最大阈值;查找所述用户标识关联的账号,分别获取所述关联的各账号所对应的有效流量,筛选出所述获取的有效流量大于或等于所述目标流量的账号;根据所述最大阈值和所述筛选出的账号生成流量转移建议结果,将所述流量转移建议结果发送给所述终端。
  17. 根据权利要求14所述的存储介质,其特征在于,所述查找所述产品有效流量中与所述目标账号对应的账号有效流量的步骤,包括:查找所述产品有效流量中所述目标账号对应的有效流量;当所述目标账号为变更账号 时,获取所述目标账号所对应的变更前账号;查找所述产品有效流量中所述变更前账号对应的有效流量;计算所述目标账号对应的有效流量与所述变更前账号对应的有效流量的流量总和,将所述流量总和作为所述目标账号的账号有效流量。
  18. 根据权利要求17所述的存储介质,其特征在于,所述接收终端发送的产品流量转移请求的步骤之前,还包括:接收所述终端发送的账号变更请求,所述账号变更请求中携带第一账号的账号信息和第二账号的账号信息;分别读取所述第一账号的账号信息中的账号属性和所述第二账号的账号信息的账号属性;当两个账号属性一致时,对所述第二账号的账号信息进行记录,将所述第二账号与所述第一账号进行关联,并对所述第一账号进行变更标记。
PCT/CN2018/078326 2017-07-25 2018-03-07 流量转移方法、装置、计算机设备及存储介质 WO2019019651A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710613848.5A CN107784586A (zh) 2017-07-25 2017-07-25 流量转移方法、装置、计算机设备及存储介质
CN201710613848.5 2017-07-25

Publications (1)

Publication Number Publication Date
WO2019019651A1 true WO2019019651A1 (zh) 2019-01-31

Family

ID=61437751

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078326 WO2019019651A1 (zh) 2017-07-25 2018-03-07 流量转移方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN107784586A (zh)
WO (1) WO2019019651A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110876123A (zh) * 2018-08-30 2020-03-10 北京三星通信技术研究有限公司 流量获取、提供、共享、校准、转移方法以及设备
CN112529587B (zh) * 2020-12-16 2023-08-11 中国联合网络通信集团有限公司 资源担保方法、资源担保方节点和资源供应方节点
CN114268462B (zh) * 2021-11-26 2023-10-13 中国联合网络通信集团有限公司 资产信息变更方法、服务器、客户端及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499913A (zh) * 2009-03-06 2009-08-05 腾讯科技(深圳)有限公司 一种业务处理的方法、系统和设备
CN105389657A (zh) * 2015-11-10 2016-03-09 中国建设银行股份有限公司 一种账户资金监管方法和系统
CN106056443A (zh) * 2016-05-23 2016-10-26 中国银行股份有限公司 一种银行账户支付处理方法及装置
CN106327169A (zh) * 2015-07-08 2017-01-11 阿里巴巴集团控股有限公司 电子转账的方法及装置
CN106372885A (zh) * 2015-07-21 2017-02-01 深圳市银信网银科技有限公司 资金冻结内容修改方法、数据处理方法、装置和系统
CN106462851A (zh) * 2015-07-21 2017-02-22 深圳市银信网银科技有限公司 资金冻结内容修改方法、数据处理方法、装置和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090182664A1 (en) * 2008-01-15 2009-07-16 Trombley Austin D Integrating social networking with financial services
CN104753894B (zh) * 2013-12-31 2019-09-13 腾讯科技(深圳)有限公司 一种数据处理方法、装置及系统
CN104852966B (zh) * 2015-04-21 2019-04-12 小米科技有限责任公司 数值转移方法、终端及云端服务器
CN105354742A (zh) * 2015-12-03 2016-02-24 中国建设银行股份有限公司 一种用于综合账簿现金池的现金管理系统和方法
CN106302122B (zh) * 2016-08-16 2019-07-30 腾讯科技(深圳)有限公司 虚拟物品管理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499913A (zh) * 2009-03-06 2009-08-05 腾讯科技(深圳)有限公司 一种业务处理的方法、系统和设备
CN106327169A (zh) * 2015-07-08 2017-01-11 阿里巴巴集团控股有限公司 电子转账的方法及装置
CN106372885A (zh) * 2015-07-21 2017-02-01 深圳市银信网银科技有限公司 资金冻结内容修改方法、数据处理方法、装置和系统
CN106462851A (zh) * 2015-07-21 2017-02-22 深圳市银信网银科技有限公司 资金冻结内容修改方法、数据处理方法、装置和系统
CN105389657A (zh) * 2015-11-10 2016-03-09 中国建设银行股份有限公司 一种账户资金监管方法和系统
CN106056443A (zh) * 2016-05-23 2016-10-26 中国银行股份有限公司 一种银行账户支付处理方法及装置

Also Published As

Publication number Publication date
CN107784586A (zh) 2018-03-09

Similar Documents

Publication Publication Date Title
US10853847B2 (en) Methods and systems for near real-time lookalike audience expansion in ads targeting
US20190012683A1 (en) Method for predicting purchase probability based on behavior sequence of user and apparatus for the same
CN108446975B (zh) 一种额度管理方法及装置
CN112241506B (zh) 用户行为的回溯方法、装置、设备及系统
CN103502899B (zh) 动态预测建模平台
WO2019019651A1 (zh) 流量转移方法、装置、计算机设备及存储介质
CN112100204B (zh) 虚拟资源调控方法、装置、计算机设备和存储介质
US20210103921A1 (en) Redemption and Settlement Transactions Via Smart Contracts
JP6990163B2 (ja) 予測装置、予測方法、及び予測プログラム
WO2019024497A1 (zh) 客户回访事件的生成方法、装置、终端设备及介质
CN110503435A (zh) 基于区块链的交易预警方法、装置及设备
US20240126908A1 (en) Systems and methods for hard deletion of data across systems
JP6721724B2 (ja) 支払い主体の拡張を促進する方法およびデバイス
US20140067498A1 (en) Management of Personalized Advertisements Through the Mass Media
RU2714583C1 (ru) Способ и система для подбора блоков многомерных данных в электронной информационной системе
CN112241396A (zh) 基于Spark的对Delta进行小文件合并的方法及系统
CN116401270A (zh) 数据查询方法、装置、计算机设备和存储介质
CN116860541A (zh) 业务数据采集方法、装置、计算机设备和存储介质
CN109447777B (zh) 财务数据处理方法、装置、电子设备及可读介质
CN115345635A (zh) 推荐内容的处理方法、装置、计算机设备和存储介质
US12045262B2 (en) Reconciliation systems and methods for unbounded streams
US20240053999A1 (en) Reconciliation systems and methods for unbounded streams
CN113971007B (zh) 信息处理方法、装置、电子设备及介质
KR100846551B1 (ko) 네트워크를 이용한 개인문서 통합 관리 시스템 및 그 방법
CN113744102B (zh) 政务服务事项场景颗粒化梳理方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18837252

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18837252

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18837252

Country of ref document: EP

Kind code of ref document: A1