WO2021022711A1 - Multi-person joint payment method and apparatus, computer device and storage medium - Google Patents

Multi-person joint payment method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2021022711A1
WO2021022711A1 PCT/CN2019/117693 CN2019117693W WO2021022711A1 WO 2021022711 A1 WO2021022711 A1 WO 2021022711A1 CN 2019117693 W CN2019117693 W CN 2019117693W WO 2021022711 A1 WO2021022711 A1 WO 2021022711A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment account
payment
paid
amount
user
Prior art date
Application number
PCT/CN2019/117693
Other languages
French (fr)
Chinese (zh)
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 WO2021022711A1 publication Critical patent/WO2021022711A1/en

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments

Definitions

  • This application relates to the field of data analysis technology, and in particular to a multi-person payment method, device, computing device, and computer non-volatile readable storage medium.
  • the way that multiple people pay the bill together is generally as follows: first, select one person to pay the entire bill; then, calculate the amount that each person who wants to pay the bill together should share; finally, Each person pays the user who paid the entire bill according to the calculated apportionment amount.
  • the inventor of the present application realizes that when multiple people jointly pay a bill, the payment process is complicated, resulting in low payment efficiency; in addition, the AA system does not mean absolute fairness, because users who jointly pay a bill do not It is not necessarily recognized that the payment is completely equal. Some users want to bear or have the ability to bear more shares. Therefore, when multiple people pay, the payment is completely equalized to some extent. There are also unfair factors.
  • the purpose of this application is to provide a multi-person payment method, device, computing device, and computer non-volatile readable storage medium.
  • the first aspect provides a multi-person payment method, including:
  • the payment account in the payment account set is deducted according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  • a multi-person co-payment device including:
  • the obtaining module is configured to obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
  • the receiving module is configured to receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account The set contains at least one payment account;
  • a payment amount determination module configured to determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
  • a sending module configured to send a payment instruction to a terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
  • the deduction module is configured to deduct the payment account in the payment account set according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  • a computing device including a memory and a processor, the memory is configured to store a program of the multi-person co-payment method of the processor, and the processor is configured to execute the multi-person co-payment
  • the procedure of the method is to perform the following processing: obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to a payment account; receive the payment task request from the merchant terminal, and determine the payment task request according to the payment task request.
  • the payment account set corresponding to the payment task request wherein the payment task request includes the total amount to be paid, the payment account set includes at least one payment account; based on the payment account associated information of the payment account in the payment account set and the payment to be paid The total amount determines the amount to be paid by each payment account in the payment account set; sends a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set; according to the received from the payment account
  • the payment confirmation instruction of the corresponding terminal deducts the payment account in the payment account set.
  • a computer non-volatile readable storage medium storing computer readable instructions
  • a program of a multi-person payment method is stored thereon, and the program of the multi-person payment method is executed by a processor
  • the following processing is implemented: acquiring the payment account associated information of multiple users, and each user’s payment account associated information corresponds to a payment account; receiving a payment task request from a merchant terminal, and determining the payment task request according to the payment task request Corresponding payment account sets, wherein the payment task request includes the total amount to be paid, and the payment account set includes at least one payment account; determined based on the payment account associated information of the payment accounts in the payment account set and the total amount to be paid The amount to be paid by each payment account in the payment account set; send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set; and according to the received from the terminal corresponding to the payment account The payment confirmation instruction of the payment account is deducted from the payment account set.
  • the aforementioned multi-person payment method, device, computing device, and computer non-volatile readable storage medium realize multi-person payment based on a collection of payment accounts. At the same time, users can complete multi-person payment without inputting the amount. , Which improves the efficiency when multiple people pay together.
  • the amount to be paid for each payment account participating in the joint payment is generated based on the associated information of the payment account. The share shared by each user in the joint payment is not fixed and can be improved Fairness when multiple people pay.
  • Fig. 1 is a schematic diagram showing an application scenario of a multi-person payment method according to an exemplary embodiment
  • Fig. 2 is a flow chart showing a method for multi-person payment according to an exemplary embodiment
  • Fig. 3 is a flow chart showing a method for multi-person joint payment according to an exemplary embodiment
  • FIG. 5 is a detailed flowchart of step 230 in another embodiment according to the embodiment corresponding to FIG. 2;
  • FIG. 6 is a detailed flowchart of step 235 of an embodiment shown according to the embodiment corresponding to FIG. 5;
  • Fig. 7 is a block diagram showing a multi-person payment device according to an exemplary embodiment
  • Fig. 8 is an exemplary block diagram of a computing device that implements the aforementioned multi-person payment method according to an exemplary embodiment
  • Fig. 9 is a computer non-volatile readable storage medium for realizing the aforementioned multi-person payment method according to an exemplary embodiment.
  • Multi-person payment means that at least two people jointly complete the payment of a bill.
  • the implementation terminal of this application can be any device with computing and processing functions.
  • the device can be connected to an external device to receive or send information.
  • It can be a portable mobile device, such as a smart phone, a tablet computer, a notebook computer, or a PDA (Personal Digital Assistant), etc., can also be fixed devices, such as computer equipment, field terminals, desktop computers, servers, workstations, etc., or a collection of multiple devices, such as the physical infrastructure of cloud computing.
  • the implementation terminal of this application may be a server or a physical infrastructure of cloud computing.
  • Fig. 1 is a schematic diagram showing an application scenario of a multi-person payment method according to an exemplary embodiment. As shown in FIG. 1, it includes a server 110, a merchant terminal 120 and a user terminal 130. Two of the three can be connected through a communication link. After the user spends in the physical store of the merchant, he needs to pay electronically. The merchant terminal 120 and the user terminal 130 are respectively installed with an application for payment. The background of the application is running on the server 110, and the applications of the merchant terminal 120 and the user terminal 130 are registered on the server.
  • the mobile payment method can be as follows: the user terminal 130 shows the payment code, and then the merchant terminal 120 scans the payment code, and submits the user account identification obtained by scanning the payment code and the amount that the user needs to pay to the server 110 , And finally complete the payment; in addition, the mobile payment method can also be like this: the merchant directly presents the payment code that can identify the business information for the payment, the user uses the user terminal to scan the payment code, and then enter the amount to be paid , And then submit the amount and the merchant's payment account information obtained by scanning the merchant's payment code to the server to complete the payment.
  • the inventor of this application sees that the existing payment method includes at least the following defects: As shown in Figure 1, when multiple people want to pay together, one person needs to pay the full amount first, and then the person who wants to pay together needs to calculate their own needs. The paid share is then paid to the party who has paid the full amount in advance, and the payment efficiency is low; in addition, when multiple users pay together, it is impossible to fairly set the share that each person should share when the bill is paid.
  • Fig. 2 is a flowchart showing a method for multiple persons to pay together according to an exemplary embodiment. As shown in Figure 2, it includes the following steps:
  • Step 210 Obtain payment account associated information of multiple users.
  • the payment account associated information is information related to the payment account.
  • the payment account associated information of each user corresponds to a payment account. It can be understood that the user is the owner of the payment account, so the payment account associated information, payment account, and user have a one-to-one correspondence.
  • a payment account is an account corresponding to an application that can make payments. For example, it can be an account similar to an Alipay account or a WeChat account.
  • a piece of payment account related information is not necessarily only one piece of information, but can also be a collection of multiple pieces of information.
  • payment account related information when each user's payment account is registered and used, payment account related information will be generated and stored locally.
  • the payment account associated information includes the user's occupation, age, gender, and other information.
  • Step 220 Receive a payment task request from the merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request.
  • the payment task request includes the total amount to be paid
  • the payment account set includes at least one payment account
  • the payment account included in the payment account set is the account that needs to complete this payment.
  • the merchant terminal can be a desktop computer, a smart phone, a server, a workstation, etc., which can communicate with the outside world and can perform calculations or processing tasks.
  • the payment task request can be any form of network request that can transmit information or data, for example, it can be an HTTP/HTTPS type request.
  • the payment task request sent by the merchant terminal includes a payment account set composed of multiple payment accounts, and the multiple payment accounts constituting the payment account set can be obtained in the following manner:
  • the merchant's terminal can install specific hardware that can collect multiple payment codes or the device collected by the merchant terminal has multiple modes, including direct scan code deduction mode and scan code read account mode , When the device collected by the merchant terminal switches to the mode of scanning the code to read the account, each user is allowed to show the digital ID on his mobile terminal that can identify his account, and can obtain multiple payment accounts to be paid together.
  • determining the set of payment accounts corresponding to the payment task request according to the payment task request specifically includes: the payment task request includes the account of the merchant, and the terminal for implementing this application has previously generated a merchant account that can uniquely identify the merchant account
  • the digital identity (such as a QR code); the merchant provides the digital identity to the user, and multiple users who need to pay together use their terminal to scan the merchant’s digital identity and send it to the local end.
  • the implementation terminal of the present application is a server, and the user enters the payment group password at the terminal to enable the local terminal to determine the payment account set corresponding to the payment task request according to the payment task request.
  • the group password can be provided by the merchant, allowing users to choose freely.
  • the merchant terminal automatically generates the payment group password.
  • the payment group password can be sent by the server to the merchant terminal according to the merchant account, and it can be independently generated by the merchant terminal.
  • the payment group password and the merchant account are sent to the server for corresponding storage.
  • the merchant informs the payment group password to the user who needs to pay together.
  • the user enters the payment group password at the specific payment entry on his terminal, and can associate his payment account with the total amount to be paid Binding, when multiple users confirm on the terminal, the payment accounts of multiple users, the corresponding payment group password, and the total amount to be paid will be uploaded to the server, so that when the merchant’s payment task request is received, the payment will be sent according to The account of the merchant requested by the task determines the corresponding payment group password. Based on the total amount to be paid and the payment group password submitted by the user before, the multiple user accounts who want to pay the bill together can be uniquely determined; when the payment group password is arbitrary by the user When selecting, the merchant’s account is sent from the merchant terminal to the server in advance.
  • the interface where the merchant account can be selected is loaded.
  • the merchant account displayed in the interface is determined by the network location of the user terminal.
  • the user selects the same merchant account at the same time, he binds multiple user accounts for co-payment with the merchant account and submits them to the server.
  • the server receives a payment task request from the merchant, the merchant account can be determined according to the payment task request , And then determine the multiple payment accounts bound to the merchant account to pay together.
  • Step 230 Determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid.
  • the payment account associated information includes the amount that the user wants to bear in the order for the multi-person co-payment order submitted by each user to the local terminal. Determine the amount to be paid by each payment account in the payment account set by: obtaining the amount submitted by all payment accounts to be borne in the order; determining the sum of the amounts; obtaining all payment accounts for each payment account The ratio of the amount to the sum; the product of the ratio of each payment account and the total amount to be paid is used as the amount to be paid in the payment account.
  • the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information.
  • the payment is based on the payment account set
  • the payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately linking each payment account associated information in the payment account associated information of the multiple users Numericalize the proportion of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid to obtain the characteristic value; normalize each characteristic value obtained to [0, 1] to obtain Normalized feature value; for each payment account related information, convert the normalized feature value corresponding to the payment account related information into a vector to obtain the feature vector; according to the feature vector corresponding to the payment account related information, Cluster all payment accounts to obtain multiple clusters; obtain the payment ratio corresponding to each cluster; determine the cluster to which each payment account in the payment account set belongs; according to the payment ratio corresponding to the cluster and the payment The cluster to which each payment account
  • the product of the payment amount accounted for by the payment account and the total amount to be paid is used as the amount to be paid for the payment account.
  • a correspondence table between the average range of the payment amount and the payment ratio is preset. First, determine the average payment amount of users in each cluster, and then look up the correspondence table to obtain the average payment amount range to which the average payment amount belongs, and then determine the payment ratio of each cluster.
  • all payment accounts are clustered by the K-means algorithm.
  • the average value of the normalized characteristic values of the payment amounts corresponding to all payment accounts in each cluster is obtained, and then the payment ratio of each cluster can be determined according to the average value. For example, a total of 5 clusters are obtained by clustering, and the average values obtained for each cluster are 0.20, 0.35, 0.50, 0.75 and 0.80 respectively; the sum of all the average values is 2.6; then the value of each cluster can be The ratio of the average value to 2.6 is used as the payout ratio of the cluster.
  • Step 240 Send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set.
  • each payment account terminal is installed with an application, and a payment instruction is sent to the terminal corresponding to the payment account by triggering the terminal corresponding to the payment account to pop up a payment page.
  • Step 250 Debit the payment account in the payment account set according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  • the terminal corresponding to the payment account obtains the local payment instruction by displaying the payment page. There is also a button control for confirming the payment. When the user clicks the button control, the application will be sent The implementation terminal sends payment instructions.
  • the method of deducting payment accounts in the payment account set may be: subtracting the corresponding amount to be paid from the account balance of each payment account; in the same way, the merchant account balance is increased by The same amount as the total amount to be paid.
  • payment is based on a collection of payment accounts, which realizes multi-person co-payment.
  • the user can complete multi-person co-payment without inputting the amount, which improves the time when multiple people co-pay.
  • the amount paid by each person is determined based on the account-related information, so that the amount to be paid for each person is more suitable for the user, and the fairness of multiple payments is improved Sex.
  • Fig. 3 is a flowchart showing a method for multiple persons to pay together according to an exemplary embodiment. As shown in Figure 3, it includes a server, a merchant terminal, and 3 user terminals. After the three user terminals register with the server through the installed applications, the server will allocate a payment account for each user terminal user. The payment account can transfer in or out a certain amount; when each user uses the payment account, Various data will be generated. The information submitted during registration and the corresponding data of the payment account can be used as the payment account associated information; the merchant terminal sends a payment request to the server, and then the server will determine the payment account set according to the payment request. The payment account request contains pending information.
  • the server will determine the amount to be paid for each payment account according to the payment account associated information of the payment account in the payment account set and the total amount to be paid; after the server obtains the amount to be paid for each payment account, it will pay
  • the terminal corresponding to each payment account in the account set sends a payment instruction; after the user terminal sends a payment confirmation instruction to the server, the server deducts the payment account of each user according to the amount to be paid for each payment account.
  • the payment task request also includes the average payment base of the total amount to be paid.
  • FIG. 4 is a detailed flowchart of step 230 of an embodiment shown according to the embodiment corresponding to FIG. 2. As shown in Figure 4, it includes the following steps:
  • Step 230' Determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid.
  • the average payment base is the minimum amount paid by payment accounts in the payment account collection.
  • determining the amount to be paid by a payment account first obtain the number of payment accounts in the payment account set; obtain the product of the number and the average payment base; determine the difference between the total amount to be paid and the product; The difference and the payment account associated information are used to obtain the supplementary amount of each payment account.
  • the supplementary amount is an unfixed part of the amount to be paid by each payment account; for each payment account, the supplementary amount is combined with the average payment base As the amount to be paid by the payment account.
  • the advantage of this embodiment is that the determined amount to be paid by each payment account in the set of payment accounts does not differ too much, which improves the fairness of payment.
  • the user's payment account associated information includes seven characteristic information of the user's age, occupation, gender, assets, payment amount, number of payments, and proportion of payment bill types.
  • FIG. 5 is a detailed flowchart of step 230 in another embodiment shown according to the embodiment corresponding to FIG. 2. As shown in Figure 5, it includes the following steps:
  • step 231 the age, occupation, gender, assets, payment amount, the number of payments, and the proportion of payment bill types of the user corresponding to each payment account in the payment account set are digitized to obtain characteristic values.
  • the value of each item of feature information is obtained by looking up a table.
  • the proportion of payment bills may be the proportion of luxury goods payment bills in the total consumption amount, or the proportion of daily necessities payment bills in the total consumption amount. For example, if a person’s luxury goods payment bill accounts for 0.5 in the total consumption amount, he can set the characteristic value of the payment account ratio to 5, if the daily necessities payment bill accounts for the total consumption amount as 0.8, set the characteristic value of the proportion of payment bills to 2.
  • the characteristic value of age is obtained according to rules or experience. For example, set according to the wealth accumulation of each age group. For example, if a person’s age is 40-60 years old, because people in this age group generally accumulate the most wealth in their lifetime, and are generally the parents of the family or the management of the company, you can set the age for him The characteristic value is 9. In the same way, if a person is 30-40 years old, the characteristic value of age can be set to 8 for him, and the characteristic value of age can be set to 2 for people in the age group of 0-18. .
  • the characteristic value of gender is set according to the division of labor in society and the disadvantage that women occupy in the job market. It is understandable that in daily life, the proportion of men paying bills is much higher than that of women. Therefore, the gender characteristic value of men is higher than that of women. For example, you can set a gender characteristic value of 4 for women and a gender characteristic value for men. For 6.
  • the characteristic value of the asset can be judged according to the asset situation. For example, if a person has a car and a house, the characteristic value of the asset can be set to 8. If a person has a house but no car, he can be set The asset characteristic value is 6, a person has a car but no house, and the asset characteristic value can be set to 4 for him, and so on.
  • the feature value of the occupation can be set in advance according to the average salary of each occupation in the current society. For example, the feature value for gold-collar workers is 9, the value for white-collar workers is 7, and the value for blue-collar workers is 5. Set the occupational feature value for housewives to 2, and so on.
  • Step 232 Normalize the characteristic values of the user’s age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types corresponding to each payment account in the payment account set to [0, 1] , Get the normalized feature value.
  • a reference feature value is set for each feature information, and each feature value is normalized by obtaining the ratio of the feature value to the reference feature value.
  • Step 233 Obtain the weight of each feature information of age, occupation, gender, assets, payment amount, number of payments, and payment type of bills.
  • the weight of each item of feature information is set in advance based on experience.
  • Step 234 Determine a weighted sum of normalized feature values for each user according to the weight.
  • Step 235 Determine the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid.
  • the amount to be paid by the payment account of each user in the payment account set is determined by: obtaining the sum of the weighted sums determined for each user; determining the weighted sum of each user and all The ratio of the sum is used as the first ratio; the product of the first ratio of each user and the total amount to be paid is taken as the amount to be paid for the payment account of each user in the payment account set.
  • the advantage of this embodiment is that the determined amount to be paid for each payment account is directly related to the characteristic value corresponding to the characteristic information, which ensures that the amount to be paid is consistent with the user.
  • FIG. 6 is a detailed flowchart of step 235 in an embodiment shown according to the embodiment corresponding to FIG. 5. As shown in Figure 6, it includes the following steps:
  • Step 2351 Sort the weighted sums determined for each user in descending order.
  • the weighting and ranking determined for each user is performed by a bubble ranking algorithm.
  • Step 2352 Divide all weighted sums into a predetermined number of intervals in the order described.
  • the weighted sum determined for each user belongs to only one interval.
  • Step 2353 Determine the proportion of the weight within the interval and the payment amount of the corresponding user's payment account according to the divided interval.
  • the weighting in each interval and the proportion of the payment amount of the corresponding user’s payment account are determined by the following method: the sum of the weighted sums determined for all users is obtained as the first value, and the The sum of the weighted sums determined by all users is used as the second value; the number of weighted sums in each interval is determined as the third value; for each interval, the ratio of the second value to the first value of the interval is obtained; according to The ratio of each interval determines the proportion of the weight in the interval and the payment amount of the corresponding user's payment account.
  • the ratio between the weighted value of each payment account in the payment account set and the interval to which it belongs is obtained as the first ratio; the sum of all the first ratios is obtained; and then the ratio of each first ratio to the sum is obtained, As the second ratio; the second ratio corresponding to each payment account is used as the proportion of the payment amount of the payment account.
  • Step 2354 Regarding the payment account of each user in the payment account set, the product of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
  • the advantage of this embodiment is that by setting the payment ratio according to the weighted sum range, the difference in the payment ratio of each payment account in the same weighted sum range is made smaller, and the weighted sum determined is not sufficient to accurately indicate the payment of the bill. The ability to cause users to bear amounts that do not meet their own capabilities.
  • This application also provides a multi-person payment device.
  • the following is an example of the device in this application.
  • Fig. 7 is a block diagram showing a multi-person payment device according to an exemplary embodiment. As shown in FIG. 7, the multi-person payment device 700 includes:
  • the obtaining module 710 is configured to obtain payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
  • the receiving module 720 is configured to receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment The account set contains at least one payment account;
  • the amount to be paid determining module 730 is configured to determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
  • the sending module 740 is configured to send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
  • the deduction module 750 is configured to deduct the payment account in the payment account set according to the received confirmation payment instruction from the terminal corresponding to the payment account.
  • the payment task request further includes an average payment base of the total amount to be paid
  • the payment account set is determined based on the payment account associated information of the payment accounts in the payment account set and the total amount to be paid
  • the amount to be paid by each payment account in the payment account set includes: determining each payment in the payment account set based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid The amount to be paid in the account.
  • the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information.
  • the payment is based on the payment account set
  • the payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately identifying the age and occupation of the user corresponding to each payment account in the payment account set.
  • Gender assets, payment amount, the number of payments, and the proportion of payment bill types are digitized to obtain characteristic values; the age, occupation, gender, assets, and payment amount of the user corresponding to each payment account in the payment account set
  • the characteristic values of, the number of payments and the proportion of payment types of bills are normalized to [0,1] to obtain the normalized characteristic values; obtain age, occupation, gender, assets, payment amount, and number of payments respectively
  • the type of bill payment accounts for the weight of each feature information; according to the weight, for each user, determine the weighted sum of the normalized feature values; determine the weighted sum based on the weighted sum and the total amount to be paid The amount to be paid in the payment account of each user in the payment account set.
  • the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid includes: obtaining the weight determined for each user The sum of sum; determine the ratio of the weighted sum of each user to the sum as the first ratio; take the product of the first ratio of each user and the total amount to be paid as the payment account set The amount to be paid in each user's payment account.
  • the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid includes: determining the weighted amount for each user The sums are sorted in descending order; all the weighted sums are divided into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval; the interval is determined according to the divided interval
  • the weighted sum of the corresponding user’s payment account’s payment amount ratio; for each user’s payment account in the payment account set, the product of the user’s payment account’s payment amount ratio and the total amount to be paid is taken as the The amount to be paid in the user's payment account.
  • the determining the weighting in the interval and the proportion of the payment amount corresponding to the user's payment account according to the interval divided into includes: obtaining the sum of the weighted sums determined for all users as the first value, Obtain the sum of the weighted sums determined for all users in each interval as the second value; determine the number of weighted sums in each interval as the third value; for each interval, obtain the second value and the first value of the interval A ratio of a numerical value; according to the ratio of each interval, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account.
  • the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information.
  • the payment is based on the payment account set
  • the payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately linking each payment account associated information in the payment account associated information of the multiple users Numericalize the proportion of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid to obtain the characteristic value; normalize each characteristic value obtained to [0, 1] to obtain Normalized feature value; for each payment account related information, convert the normalized feature value corresponding to the payment account related information into a vector to obtain the feature vector; according to the feature vector corresponding to the payment account related information, Cluster all payment accounts to obtain multiple clusters; obtain the payment ratio corresponding to each cluster; determine the cluster to which each payment account in the payment account set belongs; according to the payment ratio corresponding to the cluster and the payment The cluster to which each payment account
  • the computing equipment includes:
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute as shown in any one of the above exemplary embodiments. Multi-person payment method.
  • the computing device 800 according to this embodiment of the present application will be described below with reference to FIG. 8.
  • the computing device 800 shown in FIG. 8 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
  • the computing device 800 is represented in the form of a general-purpose computing device.
  • the components of the computing device 800 may include, but are not limited to: the aforementioned at least one processing unit 810, the aforementioned at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
  • the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 executes the various exemplary methods described in the "Methods of Embodiments" section of this specification. Implementation steps.
  • the storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 820 may also include a program/utility tool 824 having a set (at least one) program module 825.
  • program module 825 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 830 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the computing device 800 may also communicate with one or more external devices 1000 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable users to interact with the computing device 800, and/or communicate with Any device (eg, router, modem, etc.) that enables the computing device 800 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 850.
  • the computing device 800 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 860. As shown in the figure, the network adapter 860 communicates with other modules of the computing device 800 through the bus 830.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • computing device 800 includes hardware and/or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
  • each aspect of the present application can also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
  • a computer non-volatile readable storage medium 900 for implementing the above method according to an embodiment of the present application is described, which may adopt a portable compact disk read-only memory (CD-ROM) and includes program code , And can run on terminal devices, such as personal computers.
  • CD-ROM portable compact disk read-only memory
  • the program product of this application is not limited to this.
  • the computer non-volatile readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device. In conjunction with.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of this application can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages-such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers Internet service providers

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A multi-person joint payment method and apparatus, a computer device and a storage medium. The method comprises: acquiring payment account associated information of a plurality of users (210); receiving a payment task request from a merchant terminal, and according to the payment task request, determining a payment account set corresponding to the payment task request (220); on the basis of the payment account associated information of payment accounts in the payment account set and a total amount to be paid, determining an amount to be paid by each payment account in the payment account set (230); in accordance with the amount to be paid by each payment account in the payment account set, sending a payment instruction to terminals corresponding to the payment accounts (240); and according to a received confirmation payment instruction from the terminals corresponding to the payment accounts, deducting money from the payment accounts in the payment account set (250). In the described method, multiple people are allowed to pay a bill together, which improves efficiency and fairness when multiple people pay together.

Description

多人共同支付方法、装置、计算设备和存储介质Multi-person payment method, device, computing device and storage medium 技术领域Technical field
本申请基于并要求2019年8月2日申请的、申请号为CN 201910713840.5、名称为“多人共同支付方法、装置、介质及电子设备”的中国专利申请的优先权,其全部内容在此并入作为参考。This application is based on and claims the priority of the Chinese patent application filed on August 2, 2019 with the application number CN 201910713840.5 and titled "Multi-person payment method, device, medium and electronic equipment". The entire content is hereby incorporated. Enter as a reference.
本申请涉及数据分析技术领域,特别是涉及一种多人共同支付方法、装置、计算设备和计算机非易失性可读存储介质。This application relates to the field of data analysis technology, and in particular to a multi-person payment method, device, computing device, and computer non-volatile readable storage medium.
背景技术Background technique
随着互联网特别是移动互联网时代的到来,移动支付蓬勃发展,目前已经进入了无现金时代。当一个用户在进行移动支付时,只需要出示付款码或者扫描商家的收款码即可完成支付。With the advent of the Internet, especially the mobile Internet era, mobile payment is booming, and now it has entered a cashless era. When a user is making a mobile payment, he only needs to show the payment code or scan the merchant's payment code to complete the payment.
然而,在现实场景下,经常需要多人来共同支付一笔账单,即所谓的AA制。在这种情景下,多人共同来支付这笔账单的方式一般是这样的:首先,选出一人支付整笔账单;然后,计算要共同支付该笔账单的每一人应当分摊的金额;最后,每一人按照计算出的分摊的金额向支付整笔账单的用户进行支付。However, in reality, multiple people are often required to pay a bill together, the so-called AA system. In this scenario, the way that multiple people pay the bill together is generally as follows: first, select one person to pay the entire bill; then, calculate the amount that each person who wants to pay the bill together should share; finally, Each person pays the user who paid the entire bill according to the calculated apportionment amount.
发明概述Summary of the invention
技术问题technical problem
本申请发明人意识到,当多人共同进行一笔账单的支付时,支付流程复杂,导致了支付效率低下;此外,AA制并不意味着绝对的公平,由于共同支付一笔账单的用户并不一定认可完全平均支付,有的用户想要承担或者有能力承担更多的份额,因此多人支付时完全平均化进行支付在某种程度上也有不公平的因素存在。The inventor of the present application realizes that when multiple people jointly pay a bill, the payment process is complicated, resulting in low payment efficiency; in addition, the AA system does not mean absolute fairness, because users who jointly pay a bill do not It is not necessarily recognized that the payment is completely equal. Some users want to bear or have the ability to bear more shares. Therefore, when multiple people pay, the payment is completely equalized to some extent. There are also unfair factors.
问题的解决方案The solution to the problem
技术解决方案Technical solutions
在数据分析技术领域,为了解决上述技术问题,本申请的目的在于提供一种多人共同支付方法、装置、计算设备和计算机非易失性可读存储介质。In the field of data analysis technology, in order to solve the above technical problems, the purpose of this application is to provide a multi-person payment method, device, computing device, and computer non-volatile readable storage medium.
第一方面,提供了一种多人共同支付方法,包括:The first aspect provides a multi-person payment method, including:
获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;Obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;Receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account set includes at least one payment account ;
基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;Determining the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;Sending a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The payment account in the payment account set is deducted according to the received payment confirmation instruction from the terminal corresponding to the payment account.
第二方面,提供了一种多人共同支付装置,包括:In the second aspect, a multi-person co-payment device is provided, including:
获取模块,被配置为获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;The obtaining module is configured to obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
接收模块,被配置为接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;The receiving module is configured to receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account The set contains at least one payment account;
待支付金额确定模块,被配置为基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;A payment amount determination module configured to determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
发送模块,被配置为按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;A sending module configured to send a payment instruction to a terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
扣款模块,被配置为根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The deduction module is configured to deduct the payment account in the payment account set according to the received payment confirmation instruction from the terminal corresponding to the payment account.
第三方面,提供了一种计算设备,包括存储器和处理器,所述存储器用于存储所述处理器的多人共同支付方法的程序,所述处理器配置为经由执行所述多人共同支付方法的程序来执行以下处理:获取多个用户的支付账户关联信息,每 一用户的支付账户关联信息与一个支付账户对应;接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。In a third aspect, a computing device is provided, including a memory and a processor, the memory is configured to store a program of the multi-person co-payment method of the processor, and the processor is configured to execute the multi-person co-payment The procedure of the method is to perform the following processing: obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to a payment account; receive the payment task request from the merchant terminal, and determine the payment task request according to the payment task request. The payment account set corresponding to the payment task request, wherein the payment task request includes the total amount to be paid, the payment account set includes at least one payment account; based on the payment account associated information of the payment account in the payment account set and the payment to be paid The total amount determines the amount to be paid by each payment account in the payment account set; sends a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set; according to the received from the payment account The payment confirmation instruction of the corresponding terminal deducts the payment account in the payment account set.
第四方面,提供了一种存储有计算机可读指令的计算机非易失性可读存储介质,其上存储有多人共同支付方法的程序,所述多人共同支付方法的程序被处理器执行时实现以下处理:获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。In a fourth aspect, a computer non-volatile readable storage medium storing computer readable instructions is provided, and a program of a multi-person payment method is stored thereon, and the program of the multi-person payment method is executed by a processor The following processing is implemented: acquiring the payment account associated information of multiple users, and each user’s payment account associated information corresponds to a payment account; receiving a payment task request from a merchant terminal, and determining the payment task request according to the payment task request Corresponding payment account sets, wherein the payment task request includes the total amount to be paid, and the payment account set includes at least one payment account; determined based on the payment account associated information of the payment accounts in the payment account set and the total amount to be paid The amount to be paid by each payment account in the payment account set; send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set; and according to the received from the terminal corresponding to the payment account The payment confirmation instruction of the payment account is deducted from the payment account set.
上述多人共同支付方法、装置、计算设备和计算机非易失性可读存储介质,通过基于支付账户集合进行支付,实现了多人共同支付,同时,用户无需输入金额就可以完成多人共同支付,提高了多人共同支付时的效率,此外,参加共同支付的每个支付账户待支付的金额是根据支付账户关联信息产生的,每个用户在共同支付时分担的份额不是固定的,可以提高多人支付时的公平性。The aforementioned multi-person payment method, device, computing device, and computer non-volatile readable storage medium realize multi-person payment based on a collection of payment accounts. At the same time, users can complete multi-person payment without inputting the amount. , Which improves the efficiency when multiple people pay together. In addition, the amount to be paid for each payment account participating in the joint payment is generated based on the associated information of the payment account. The share shared by each user in the joint payment is not fixed and can be improved Fairness when multiple people pay.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and cannot limit the application.
发明的有益效果The beneficial effects of the invention
对附图的简要说明Brief description of the drawings
附图说明Description of the drawings
图1是根据一示例性实施例示出的一种多人共同支付方法的应用场景示意图;Fig. 1 is a schematic diagram showing an application scenario of a multi-person payment method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种多人共同支付方法的流程图;Fig. 2 is a flow chart showing a method for multi-person payment according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种多人共同支付方法的流程图;Fig. 3 is a flow chart showing a method for multi-person joint payment according to an exemplary embodiment;
图4是根据图2对应实施例示出的一实施例的步骤230的细节流程图;4 is a detailed flowchart of step 230 of an embodiment shown according to the embodiment corresponding to FIG. 2;
图5是根据图2对应实施例示出的另一实施例的步骤230的细节流程图;FIG. 5 is a detailed flowchart of step 230 in another embodiment according to the embodiment corresponding to FIG. 2;
图6是根据图5对应实施例示出的一实施例的步骤235的细节流程图;FIG. 6 is a detailed flowchart of step 235 of an embodiment shown according to the embodiment corresponding to FIG. 5;
图7是根据一示例性实施例示出的一种多人共同支付装置的框图;Fig. 7 is a block diagram showing a multi-person payment device according to an exemplary embodiment;
图8是根据一示例性实施例示出的一种实现上述多人共同支付方法的计算设备的示例框图;Fig. 8 is an exemplary block diagram of a computing device that implements the aforementioned multi-person payment method according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种实现上述多人共同支付方法的计算机非易失性可读存储介质。Fig. 9 is a computer non-volatile readable storage medium for realizing the aforementioned multi-person payment method according to an exemplary embodiment.
发明实施例Invention embodiment
本发明的实施方式Embodiments of the invention
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
此外,附图仅为本申请的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。In addition, the drawings are only schematic illustrations of the application, and are not necessarily drawn to scale. The same reference numerals in the figures denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
本申请首先提供了一种多人共同支付方法。多人共同支付是指至少两个人共同完成一笔账单的付款。This application first provides a multi-person payment method. Multi-person payment means that at least two people jointly complete the payment of a bill.
本申请的实施终端可以是任何具有计算和处理功能的设备,该设备可与外部设备相连,用于接收或者发出信息,可以是便携移动设备,例如智能手机、平板电脑、笔记本电脑、PDA(Personal Digital Assistant)等,也可以是固定式设备,例如,计算机设备、现场终端、台式电脑、服务器、工作站等,还可以是多 个设备的集合,比如云计算的物理基础设施。The implementation terminal of this application can be any device with computing and processing functions. The device can be connected to an external device to receive or send information. It can be a portable mobile device, such as a smart phone, a tablet computer, a notebook computer, or a PDA (Personal Digital Assistant), etc., can also be fixed devices, such as computer equipment, field terminals, desktop computers, servers, workstations, etc., or a collection of multiple devices, such as the physical infrastructure of cloud computing.
可选地,本申请的实施终端可以为服务器或者云计算的物理基础设施。Optionally, the implementation terminal of this application may be a server or a physical infrastructure of cloud computing.
图1是根据一示例性实施例示出的一种多人共同支付方法的应用场景示意图。如图1所示,包括服务器110,商家终端120和用户终端130。三者中两两之间可以通过通信链路进行连接。当用户在商家的实体店铺进行消费后,需要通过电子方式进行支付。商家终端120和用户终端130分别安装有用于支付的应用,该应用的后台是运行在服务器110上的,商家终端120和用户终端130的应用都在服务器上进行了注册。目前,在一般情况下,移动支付方式可以是这样的:用户终端130出示付款码,然后商家终端120扫描付款码,并将扫描付款码得到的用户账户标识以及用户需要付款的金额提交到服务器110,最终完成支付;此外,移动支付方式还可以是这样的:商家直接出示用于收款的能标识该商家信息的收款码,用户使用用户终端扫描该收款码,然后输入要付款的金额,随后将该金额以及扫描商家收款码得到的商家收款账户信息提交到服务器,即可完成支付。本申请的发明人看到,现有的支付方式至少包括以下缺陷:如图1所示,当多人要共同支付时,需要有一个人先行支付全款,随后要共同支付的人需要算出自身要支付的份额,然后再向事先垫付全款一方进行支付,支付效率低下;另外,多个用户在共同支付时,无法公平设定每一人应当在该笔账单支付时分担的份额。Fig. 1 is a schematic diagram showing an application scenario of a multi-person payment method according to an exemplary embodiment. As shown in FIG. 1, it includes a server 110, a merchant terminal 120 and a user terminal 130. Two of the three can be connected through a communication link. After the user spends in the physical store of the merchant, he needs to pay electronically. The merchant terminal 120 and the user terminal 130 are respectively installed with an application for payment. The background of the application is running on the server 110, and the applications of the merchant terminal 120 and the user terminal 130 are registered on the server. At present, in general, the mobile payment method can be as follows: the user terminal 130 shows the payment code, and then the merchant terminal 120 scans the payment code, and submits the user account identification obtained by scanning the payment code and the amount that the user needs to pay to the server 110 , And finally complete the payment; in addition, the mobile payment method can also be like this: the merchant directly presents the payment code that can identify the business information for the payment, the user uses the user terminal to scan the payment code, and then enter the amount to be paid , And then submit the amount and the merchant's payment account information obtained by scanning the merchant's payment code to the server to complete the payment. The inventor of this application sees that the existing payment method includes at least the following defects: As shown in Figure 1, when multiple people want to pay together, one person needs to pay the full amount first, and then the person who wants to pay together needs to calculate their own needs. The paid share is then paid to the party who has paid the full amount in advance, and the payment efficiency is low; in addition, when multiple users pay together, it is impossible to fairly set the share that each person should share when the bill is paid.
图2是根据一示例性实施例示出的一种多人共同支付方法的流程图。如图2所示,包括以下步骤:Fig. 2 is a flowchart showing a method for multiple persons to pay together according to an exemplary embodiment. As shown in Figure 2, it includes the following steps:
步骤210,获取多个用户的支付账户关联信息。Step 210: Obtain payment account associated information of multiple users.
支付账户关联信息是与支付账户有关的信息。每一用户的支付账户关联信息与一个支付账户对应,可以理解,用户是支付账户的拥有者,所以支付账户关联信息、支付账户和用户是一一对应的。支付账户是能进行支付的应用对应的账户。比如可以是类似支付宝账户、微信账户形式的账户。The payment account associated information is information related to the payment account. The payment account associated information of each user corresponds to a payment account. It can be understood that the user is the owner of the payment account, so the payment account associated information, payment account, and user have a one-to-one correspondence. A payment account is an account corresponding to an application that can make payments. For example, it can be an account similar to an Alipay account or a WeChat account.
另外,一项支付账户关联信息并不一定是仅仅一项信息,还可以是多项信息的集合。In addition, a piece of payment account related information is not necessarily only one piece of information, but can also be a collection of multiple pieces of information.
在一个实施例中,每一用户的支付账户在注册以及使用时,会产生支付账户关 联信息,并会存储在本端。In one embodiment, when each user's payment account is registered and used, payment account related information will be generated and stored locally.
在一个实施例中,支付账户关联信息包括用户的职业、年龄、性别等信息。In an embodiment, the payment account associated information includes the user's occupation, age, gender, and other information.
步骤220,接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合。Step 220: Receive a payment task request from the merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request.
其中,支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户,支付账户集合中包含的支付账户是需要完成本次支付的账户。Wherein, the payment task request includes the total amount to be paid, the payment account set includes at least one payment account, and the payment account included in the payment account set is the account that needs to complete this payment.
商家终端可以是台式计算机、智能手机、服务器、工作站等能够与外界进行通信并可以执行计算或者处理任务的终端。支付任务请求可以是能够传输信息或者数据的任何形式的网络请求,比如可以是HTTP/HTTPS类型的请求。The merchant terminal can be a desktop computer, a smart phone, a server, a workstation, etc., which can communicate with the outside world and can perform calculations or processing tasks. The payment task request can be any form of network request that can transmit information or data, for example, it can be an HTTP/HTTPS type request.
在一个实施例中,商家终端发送的支付任务请求中包含了由多个支付账户组成的支付账户集合,构成支付账户集合的多个支付账户可以通过如下方式获得:In an embodiment, the payment task request sent by the merchant terminal includes a payment account set composed of multiple payment accounts, and the multiple payment accounts constituting the payment account set can be obtained in the following manner:
对于商家终端扫描采集付款码的方式,商家的终端可以安装特定的可以采集多个付款码的硬件或者商家终端采集的设备有多种模式,包括直接扫码扣款模式和扫码读取账号模式,当商家终端采集的设备切换到扫码读取账号的模式,让每个用户出示其移动终端上的可以标识其账户的数字标识,可以分别获取要共同支付的多个支付账户。Regarding the way that the merchant terminal scans and collects the payment code, the merchant's terminal can install specific hardware that can collect multiple payment codes or the device collected by the merchant terminal has multiple modes, including direct scan code deduction mode and scan code read account mode , When the device collected by the merchant terminal switches to the mode of scanning the code to read the account, each user is allowed to show the digital ID on his mobile terminal that can identify his account, and can obtain multiple payment accounts to be paid together.
在一个实施例中,根据支付任务请求确定与所述支付任务请求对应的支付账户集合具体包括:支付任务请求中包含商家的账户,本申请实施终端事先为商家账户生成了能唯一标识该商家账户的数字标识(例如二维码);商家将该数字标识提供给用户,需要共同支付的多个用户通过使用其终端扫描商家的数字标识向本端发送,在本端建立数字标识以及共同支付的多个用户的账户的对应关系;然后由于数字标识与商家账户对应,而数字标识还与共同支付的多个用户的账户对应,所以可以得到商家账户与共同支付的多个用户账户的唯一对应关系,进而定与所述支付任务请求对应的支付账户集合。In one embodiment, determining the set of payment accounts corresponding to the payment task request according to the payment task request specifically includes: the payment task request includes the account of the merchant, and the terminal for implementing this application has previously generated a merchant account that can uniquely identify the merchant account The digital identity (such as a QR code); the merchant provides the digital identity to the user, and multiple users who need to pay together use their terminal to scan the merchant’s digital identity and send it to the local end. Correspondence between the accounts of multiple users; then since the digital ID corresponds to the merchant account, and the digital ID also corresponds to the accounts of multiple users who are paying together, the unique correspondence between the merchant account and the multiple user accounts that are paying together can be obtained , And then determine the payment account set corresponding to the payment task request.
在一个实施例中,本申请的实施终端为服务器,用户通过在其终端输入付款群密码的方式,使本端根据支付任务请求确定与所述支付任务请求对应的支付账户集合。In one embodiment, the implementation terminal of the present application is a server, and the user enters the payment group password at the terminal to enable the local terminal to determine the payment account set corresponding to the payment task request according to the payment task request.
群密码可以由商家提供,可以让用户自由任意选择。当群密码由商家提供时, 商家输入付款金额时,商家终端自动生成付款群密码,此时付款群密码可以由服务器根据商家账户发送给商家终端,可以由商家终端自主生成,生成后会将该付款群密码以及商家账户发送到服务器对应存储,商家将付款群密码告知需要共同支付的用户,用户在自己的终端上的特定支付入口输入付款群密码,可以将自己的支付账户与待支付总金额绑定,当多个用户在终端上确认后,多个用户的支付账户、对应的付款群密码、待支付总金额就会上传到服务器,这样当接收到商家的支付任务请求后,根据发送支付任务请求的商家的账户确定对应的付款群密码,根据之前用户提交的待支付总金额和付款群密码,可以唯一地确定要共同支付这笔账单的多个用户账户;当付款群密码由用户任意选择时,商家的账户提前从商家终端发送到服务器,当多个用户输入付款群密码后,加载可以选择商家账户的界面,该界面内显示的商家账户由用户终端的网络位置确定,当多个用户同时选择了同一个商家账户后,就将共同支付的多个用户账户与商家账户绑定,并提交到服务器,当服务器接收到来自商家的支付任务请求,可以根据该支付任务请求确定商家账户,进而确定与商家账户绑定的要共同支付的多个支付账户。The group password can be provided by the merchant, allowing users to choose freely. When the group password is provided by the merchant and the merchant enters the payment amount, the merchant terminal automatically generates the payment group password. At this time, the payment group password can be sent by the server to the merchant terminal according to the merchant account, and it can be independently generated by the merchant terminal. The payment group password and the merchant account are sent to the server for corresponding storage. The merchant informs the payment group password to the user who needs to pay together. The user enters the payment group password at the specific payment entry on his terminal, and can associate his payment account with the total amount to be paid Binding, when multiple users confirm on the terminal, the payment accounts of multiple users, the corresponding payment group password, and the total amount to be paid will be uploaded to the server, so that when the merchant’s payment task request is received, the payment will be sent according to The account of the merchant requested by the task determines the corresponding payment group password. Based on the total amount to be paid and the payment group password submitted by the user before, the multiple user accounts who want to pay the bill together can be uniquely determined; when the payment group password is arbitrary by the user When selecting, the merchant’s account is sent from the merchant terminal to the server in advance. After multiple users enter the payment group password, the interface where the merchant account can be selected is loaded. The merchant account displayed in the interface is determined by the network location of the user terminal. After the user selects the same merchant account at the same time, he binds multiple user accounts for co-payment with the merchant account and submits them to the server. When the server receives a payment task request from the merchant, the merchant account can be determined according to the payment task request , And then determine the multiple payment accounts bound to the merchant account to pay together.
步骤230,基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。Step 230: Determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid.
在一个实施例中,支付账户关联信息包括每一用户向本端提交的本次多人共同支付时,该用户针对该笔多人共同支付的订单,想要在该笔订单中承担的金额,通过如下方式确定所述支付账户集合中每个支付账户待支付的金额:获取所有支付账户提交的要在该笔订单中承担的金额;确定所述金额之和;针对每一支付账户,获取所述金额与所述和的比值;将每一支付账户的所述比值与所述待支付总金额的乘积作为该支付账户待支付的金额。In one embodiment, the payment account associated information includes the amount that the user wants to bear in the order for the multi-person co-payment order submitted by each user to the local terminal. Determine the amount to be paid by each payment account in the payment account set by: obtaining the amount submitted by all payment accounts to be borne in the order; determining the sum of the amounts; obtaining all payment accounts for each payment account The ratio of the amount to the sum; the product of the ratio of each payment account and the total amount to be paid is used as the amount to be paid in the payment account.
在一个实施例中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:分别将所述多个用户的支付账户关联信息中每一支付账户关联信息包括的年龄、职业、性别、资产、支付 金额、支付笔数、支付账单类型占比数值化,以得到特征数值;将获取的每一特征数值归一化到[0,1]之间,得到归一化后的特征数值;针对每一支付账户关联信息,将该支付账户关联信息对应的归一化后的特征数值转化为向量,以得到特征向量;根据支付账户关联信息对应的特征向量,对所有支付账户进行聚类,以得到多个簇;获取每一簇对应的支付比例;确定所述支付账户集合中每一支付账户所属的簇;根据所述簇对应的支付比例以及所述支付账户集合中每一支付账户所属的簇获取支付账户集合中每一支付账户的支付金额占比;In one embodiment, the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information. The payment is based on the payment account set The payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately linking each payment account associated information in the payment account associated information of the multiple users Numericalize the proportion of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid to obtain the characteristic value; normalize each characteristic value obtained to [0, 1] to obtain Normalized feature value; for each payment account related information, convert the normalized feature value corresponding to the payment account related information into a vector to obtain the feature vector; according to the feature vector corresponding to the payment account related information, Cluster all payment accounts to obtain multiple clusters; obtain the payment ratio corresponding to each cluster; determine the cluster to which each payment account in the payment account set belongs; according to the payment ratio corresponding to the cluster and the payment The cluster to which each payment account in the account set belongs obtains the proportion of the payment amount of each payment account in the payment account set;
针对每一支付账户,将该支付账户的支付金额占比与待支付总金额的乘积,作为该支付账户的待支付的金额。For each payment account, the product of the payment amount accounted for by the payment account and the total amount to be paid is used as the amount to be paid for the payment account.
在一个实施例中,预先设有一个支付金额平均值范围与支付比例的对应关系表。首先确定每一簇中用户的支付金额的平均值,然后查找该对应关系表获取支付金额的平均值所属的支付金额平均值范围,即可确定每一簇的支付比例。In an embodiment, a correspondence table between the average range of the payment amount and the payment ratio is preset. First, determine the average payment amount of users in each cluster, and then look up the correspondence table to obtain the average payment amount range to which the average payment amount belongs, and then determine the payment ratio of each cluster.
在一个实施例中,通过K-means算法对所有支付账户进行聚类。In one embodiment, all payment accounts are clustered by the K-means algorithm.
在一个实施例中,获取每一簇中的所有支付账户对应的支付金额的归一化后的特征数值的平均值,然后可以按照所述平均值来确定每一簇的支付比例。例如,一共聚类得到了5个簇,针对每一簇得到的平均值分别是0.20,0.35,0.50,0.75和0.80;获取所有平均值之和,为2.6;则可以将每一簇的所述平均值与2.6的比值作为该簇的支付比例。In one embodiment, the average value of the normalized characteristic values of the payment amounts corresponding to all payment accounts in each cluster is obtained, and then the payment ratio of each cluster can be determined according to the average value. For example, a total of 5 clusters are obtained by clustering, and the average values obtained for each cluster are 0.20, 0.35, 0.50, 0.75 and 0.80 respectively; the sum of all the average values is 2.6; then the value of each cluster can be The ratio of the average value to 2.6 is used as the payout ratio of the cluster.
步骤240,按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令。Step 240: Send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set.
在一个实施例中,每一支付账户终端安装有应用,通过触发支付账户对应的终端弹出支付页面的方式向支付账户对应的终端发送支付指令。In one embodiment, each payment account terminal is installed with an application, and a payment instruction is sent to the terminal corresponding to the payment account by triggering the terminal corresponding to the payment account to pop up a payment page.
步骤250,根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。Step 250: Debit the payment account in the payment account set according to the received payment confirmation instruction from the terminal corresponding to the payment account.
在一个实施例中,支付账户对应的终端获得本端的支付指令是通过显示支付页面的方式进行的,该页面上还有用于确认支付的按钮控件,当用户点击该按钮控件后,会向本申请的实施终端发送支付指令。In one embodiment, the terminal corresponding to the payment account obtains the local payment instruction by displaying the payment page. There is also a button control for confirming the payment. When the user clicks the button control, the application will be sent The implementation terminal sends payment instructions.
在一个实施例中,对所述支付账户集合中的支付账户进行扣款的方式可以为, 将每个支付账户的账户余额减去对应的待支付的金额;同理,为商家账户余额增加与待支付总金额相同的数额。In one embodiment, the method of deducting payment accounts in the payment account set may be: subtracting the corresponding amount to be paid from the account balance of each payment account; in the same way, the merchant account balance is increased by The same amount as the total amount to be paid.
综上所述,在图2所示出的实施例中,基于支付账户集合进行支付,实现了多人共同支付,同时,用户无需输入金额可以完成多人共同支付,提高了多人共同支付时的效率;另外,多人共同支付时每人支付的金额是根据账户关联信息来确定出的,使得为每个人设定的需支付的金额更为切合用户本身,提高了多人支付时的公平性。In summary, in the embodiment shown in Figure 2, payment is based on a collection of payment accounts, which realizes multi-person co-payment. At the same time, the user can complete multi-person co-payment without inputting the amount, which improves the time when multiple people co-pay. In addition, when multiple people pay together, the amount paid by each person is determined based on the account-related information, so that the amount to be paid for each person is more suitable for the user, and the fairness of multiple payments is improved Sex.
图3是根据一示例性实施例示出的一种多人共同支付方法的流程图。如图3所示,包括服务器、商家终端以及3个用户终端。3个用户终端通过安装的应用分别在服务器进行注册后,服务器会为每一用户终端的用户分配一个支付账户,支付账户可以转入或转出一定的金额;每一用户在使用支付账户时,会产生各种数据,注册时提交的信息以及支付账户的对应数据可以作为支付账户关联信息;商家终端向服务器发送支付请求,然后服务器会根据该支付请求确定支付账户集合,支付账户请求中包含待支付总金额;然后服务器会根据支付账户集合中支付账户的支付账户关联信息和待支付总金额来确定每个支付账户待支付的金额;服务器得到每一支付账户的待支付金额后,会向支付账户集合中每个支付账户对应的终端发送支付指令;等用户终端向服务器发送确认支付指令后,服务器按照每个支付账户待支付金额对每个用户的支付账户进行扣款。Fig. 3 is a flowchart showing a method for multiple persons to pay together according to an exemplary embodiment. As shown in Figure 3, it includes a server, a merchant terminal, and 3 user terminals. After the three user terminals register with the server through the installed applications, the server will allocate a payment account for each user terminal user. The payment account can transfer in or out a certain amount; when each user uses the payment account, Various data will be generated. The information submitted during registration and the corresponding data of the payment account can be used as the payment account associated information; the merchant terminal sends a payment request to the server, and then the server will determine the payment account set according to the payment request. The payment account request contains pending information. The total amount of payment; then the server will determine the amount to be paid for each payment account according to the payment account associated information of the payment account in the payment account set and the total amount to be paid; after the server obtains the amount to be paid for each payment account, it will pay The terminal corresponding to each payment account in the account set sends a payment instruction; after the user terminal sends a payment confirmation instruction to the server, the server deducts the payment account of each user according to the amount to be paid for each payment account.
在一个实施例中,支付任务请求中还包含待支付总金额的平均支付基数。图4是根据图2对应实施例示出的一实施例的步骤230的细节流程图。如图4所示,包括以下步骤:In one embodiment, the payment task request also includes the average payment base of the total amount to be paid. FIG. 4 is a detailed flowchart of step 230 of an embodiment shown according to the embodiment corresponding to FIG. 2. As shown in Figure 4, it includes the following steps:
步骤230′,基于支付账户集合中支付账户的支付账户关联信息、待支付总金额的平均支付基数以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。Step 230': Determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid.
平均支付基数是支付账户集合中支付账户支付的最低数额。在确定个支付账户待支付的金额时,首先获取支付账户集合中支付账户的数目;获取所述数目与平均支付基数的乘积;确定所述待支付总金额与所述乘积的差值;然后根据所述差值和支付账户关联信息来获取每个支付账户的补充金额,补充金额是每一 支付账户待支付的金额中的不固定的部分;针对每一支付账户,将补充金额与平均支付基数作为该支付账户待支付的金额。本实施例的好处在于,使得确定出的所述支付账户集合中每个支付账户待支付的金额不至于相差过大,提高了支付的公平性。The average payment base is the minimum amount paid by payment accounts in the payment account collection. When determining the amount to be paid by a payment account, first obtain the number of payment accounts in the payment account set; obtain the product of the number and the average payment base; determine the difference between the total amount to be paid and the product; The difference and the payment account associated information are used to obtain the supplementary amount of each payment account. The supplementary amount is an unfixed part of the amount to be paid by each payment account; for each payment account, the supplementary amount is combined with the average payment base As the amount to be paid by the payment account. The advantage of this embodiment is that the determined amount to be paid by each payment account in the set of payment accounts does not differ too much, which improves the fairness of payment.
在一个实施例中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息。图5是根据图2对应实施例示出的另一实施例的步骤230的细节流程图。如图5所示,包括以下步骤:In an embodiment, the user's payment account associated information includes seven characteristic information of the user's age, occupation, gender, assets, payment amount, number of payments, and proportion of payment bill types. FIG. 5 is a detailed flowchart of step 230 in another embodiment shown according to the embodiment corresponding to FIG. 2. As shown in Figure 5, it includes the following steps:
步骤231,分别将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值。In step 231, the age, occupation, gender, assets, payment amount, the number of payments, and the proportion of payment bill types of the user corresponding to each payment account in the payment account set are digitized to obtain characteristic values.
在一个实施例中,通过查表的方式获取每一项特征信息的数值。In one embodiment, the value of each item of feature information is obtained by looking up a table.
在一个实施例中,支付账单占比可以是奢侈品支付账单金额在总消费金额中的占比,还可以是生活必需品支付账单在总消费金额中的占比。比如如果一个人的奢侈品支付账单金额在总消费金额中的占比为0.5,则可以为他设置支付账单占比的特征数值为5,如果生活必需品支付账单在总消费金额中的占比为0.8,则为他设置支付账单占比的特征数值为2。In one embodiment, the proportion of payment bills may be the proportion of luxury goods payment bills in the total consumption amount, or the proportion of daily necessities payment bills in the total consumption amount. For example, if a person’s luxury goods payment bill accounts for 0.5 in the total consumption amount, he can set the characteristic value of the payment account ratio to 5, if the daily necessities payment bill accounts for the total consumption amount as 0.8, set the characteristic value of the proportion of payment bills to 2.
在一个实施例中,年龄的特征数值根据规则或者经验来获取。比如根据每个年龄段的财富积累情况进行设定。比如,如果一个人的年龄为40-60岁,由于这个年龄段的人一般是人一生财富积累最多的,而且一般是家庭里的家长或者公司里的管理层,则可以为他设定年龄的特征数值为9,同理,如果一个人年龄为30-40岁,则可以为他设定年龄的特征数值为8,可以为0-18岁这个年龄段的人设定年龄的特征数值为2。In one embodiment, the characteristic value of age is obtained according to rules or experience. For example, set according to the wealth accumulation of each age group. For example, if a person’s age is 40-60 years old, because people in this age group generally accumulate the most wealth in their lifetime, and are generally the parents of the family or the management of the company, you can set the age for him The characteristic value is 9. In the same way, if a person is 30-40 years old, the characteristic value of age can be set to 8 for him, and the characteristic value of age can be set to 2 for people in the age group of 0-18. .
在一个实施例中,性别的特征数值是根据社会的分工情况以及女性在就业市场占据了劣势来设定的。可以理解的是,在日常生活中,男性付账单的比例远远高于女性,所以,男性的性别特征数值要比女性高,比如可以为女性设置性别特征数值为4,为男性设置性别特征数值为6。In one embodiment, the characteristic value of gender is set according to the division of labor in society and the disadvantage that women occupy in the job market. It is understandable that in daily life, the proportion of men paying bills is much higher than that of women. Therefore, the gender characteristic value of men is higher than that of women. For example, you can set a gender characteristic value of 4 for women and a gender characteristic value for men. For 6.
在一个实施例中,资产的特征数值可以根据资产情况来判断,比如一个人有车 有房,则可以为他设置资产的特征数值为8,如果一个人有房没车,则可以为他设置资产特征数值为6,一个人有车没房,可以为他设置资产特征数值为4,以此类推。In one embodiment, the characteristic value of the asset can be judged according to the asset situation. For example, if a person has a car and a house, the characteristic value of the asset can be set to 8. If a person has a house but no car, he can be set The asset characteristic value is 6, a person has a car but no house, and the asset characteristic value can be set to 4 for him, and so on.
在一个实施例中,职业的特征数值可以事先根据当前社会各职业的平均工资来设置,比如为金领设置职业的特征数值为9,为白领设置职业特征数值为7,为蓝领设置职业特征数值为5,为家庭主妇设置职业特征数值为2,等等。In one embodiment, the feature value of the occupation can be set in advance according to the average salary of each occupation in the current society. For example, the feature value for gold-collar workers is 9, the value for white-collar workers is 7, and the value for blue-collar workers is 5. Set the occupational feature value for housewives to 2, and so on.
步骤232,将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比的特征数值归一化到[0,1]之间,得到归一化后的特征数值。Step 232: Normalize the characteristic values of the user’s age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types corresponding to each payment account in the payment account set to [0, 1] , Get the normalized feature value.
在一个实施例中,为每一特征信息的设置基准特征数值,通过获取特征数值与基准特征数值的比值来将每一特征数值归一化。In one embodiment, a reference feature value is set for each feature information, and each feature value is normalized by obtaining the ratio of the feature value to the reference feature value.
步骤233,分别获取年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比每一项特征信息的权重。Step 233: Obtain the weight of each feature information of age, occupation, gender, assets, payment amount, number of payments, and payment type of bills.
在一个实施例中,每一项特征信息的权重是事先根据经验设定的。In one embodiment, the weight of each item of feature information is set in advance based on experience.
步骤234,根据所述权重,针对每一用户,确定归一化后的特征数值的加权和。Step 234: Determine a weighted sum of normalized feature values for each user according to the weight.
步骤235,基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额。Step 235: Determine the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid.
在一个实施例中,通过如下方式确定所述支付账户集合中每个用户的支付账户待支付的金额:获取针对每一用户确定的所述加权和之和;确定每一用户的加权和与所述和的比值,作为第一比值;将每一用户的所述第一比值与所述待支付总金额的乘积作为为所述支付账户集合中每个用户的支付账户待支付的金额。In one embodiment, the amount to be paid by the payment account of each user in the payment account set is determined by: obtaining the sum of the weighted sums determined for each user; determining the weighted sum of each user and all The ratio of the sum is used as the first ratio; the product of the first ratio of each user and the total amount to be paid is taken as the amount to be paid for the payment account of each user in the payment account set.
本实施例的好处在于,使得确定出的每一支付账户待支付的金额都与特征信息对应的特征数值直接相关,保证了待支付金额与用户的切合程度。The advantage of this embodiment is that the determined amount to be paid for each payment account is directly related to the characteristic value corresponding to the characteristic information, which ensures that the amount to be paid is consistent with the user.
图6是根据图5对应实施例示出的一实施例的步骤235的细节流程图。如图6所示,包括以下步骤:FIG. 6 is a detailed flowchart of step 235 in an embodiment shown according to the embodiment corresponding to FIG. 5. As shown in Figure 6, it includes the following steps:
步骤2351,对针对每一用户确定的所述加权和按照从大到小的顺序排序。Step 2351: Sort the weighted sums determined for each user in descending order.
在一个实施例中,通过冒泡排序算法对针对每一用户确定的加权和排序。In one embodiment, the weighting and ranking determined for each user is performed by a bubble ranking algorithm.
步骤2352,将所有加权和按照所述顺序划分为预定数目个区间。Step 2352: Divide all weighted sums into a predetermined number of intervals in the order described.
其中,针对每一用户确定的加权和仅属于一个区间。Among them, the weighted sum determined for each user belongs to only one interval.
在一个实施例中,首先获取所述加权和的数目;然后确定所述预定数目与1的差值;获取所述加权和的数目与所述差值的比值;最后从排序在第一个的所述加权和开始,每次获取数目为所述比值的加权和,将该次获取的所述加权和划分为一个区间;当剩余的加权和的数目不足所述比值时,将所有加权和划分为最后一个区间。In one embodiment, first obtain the number of weighted sums; then determine the difference between the predetermined number and 1; obtain the ratio of the number of weighted sums to the difference; At the beginning of the weighted sum, the number obtained each time is the weighted sum of the ratio, and the weighted sum obtained this time is divided into an interval; when the number of remaining weighted sums is less than the ratio, all weighted sums are divided Is the last interval.
步骤2353,根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比。Step 2353: Determine the proportion of the weight within the interval and the payment amount of the corresponding user's payment account according to the divided interval.
在一个实施例中,通过如下方式确定每一区间内的加权和对应用户的支付账户的支付金额占比:获取针对所有用户确定的加权和之和,作为第一数值,获取每一区间内针对所有用户确定的加权和之和,作为第二数值;确定每一区间内的加权和的数目,作为第三数值;针对每一区间,获取该区间的第二数值与第一数值的比值;根据每一区间的所述比值,确定该区间内的加权和对应用户的支付账户的支付金额占比。In one embodiment, the weighting in each interval and the proportion of the payment amount of the corresponding user’s payment account are determined by the following method: the sum of the weighted sums determined for all users is obtained as the first value, and the The sum of the weighted sums determined by all users is used as the second value; the number of weighted sums in each interval is determined as the third value; for each interval, the ratio of the second value to the first value of the interval is obtained; according to The ratio of each interval determines the proportion of the weight in the interval and the payment amount of the corresponding user's payment account.
在一个实施例中,获取支付账户集合中每一支付账户的加权和所属区间的比值,作为第一比值;获取所有第一比值之和;然后获取每一第一比值与所述和的比值,作为第二比值;将每一支付账户对应的所述第二比值作为该支付账户的支付金额占比。In one embodiment, the ratio between the weighted value of each payment account in the payment account set and the interval to which it belongs is obtained as the first ratio; the sum of all the first ratios is obtained; and then the ratio of each first ratio to the sum is obtained, As the second ratio; the second ratio corresponding to each payment account is used as the proportion of the payment amount of the payment account.
步骤2354,针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。Step 2354: Regarding the payment account of each user in the payment account set, the product of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
本实施例的好处在于,通过根据加权和所属区间来设置支付比例,使同一加权和区间内的各支付账户的支付比例的差异更小,避免了由于确定出的加权和不足以准确表明支付账单的能力导致用户承担不符合其自身能力的金额。The advantage of this embodiment is that by setting the payment ratio according to the weighted sum range, the difference in the payment ratio of each payment account in the same weighted sum range is made smaller, and the weighted sum determined is not sufficient to accurately indicate the payment of the bill. The ability to cause users to bear amounts that do not meet their own capabilities.
本申请还提供了一种多人共同支付装置,以下是本申请的装置实施例。This application also provides a multi-person payment device. The following is an example of the device in this application.
图7是根据一示例性实施例示出的一种多人共同支付装置的框图。如图7所示, 多人共同支付装置700包括:Fig. 7 is a block diagram showing a multi-person payment device according to an exemplary embodiment. As shown in FIG. 7, the multi-person payment device 700 includes:
获取模块710,被配置为获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;The obtaining module 710 is configured to obtain payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
接收模块720,被配置为接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;The receiving module 720 is configured to receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment The account set contains at least one payment account;
待支付金额确定模块730,被配置为基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;The amount to be paid determining module 730 is configured to determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
发送模块740,被配置为按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;The sending module 740 is configured to send a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
扣款模块750,被配置为根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The deduction module 750 is configured to deduct the payment account in the payment account set according to the received confirmation payment instruction from the terminal corresponding to the payment account.
在一个实施例中,所述支付任务请求中还包含待支付总金额的平均支付基数,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:基于支付账户集合中支付账户的支付账户关联信息、待支付总金额的平均支付基数以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。In an embodiment, the payment task request further includes an average payment base of the total amount to be paid, and the payment account set is determined based on the payment account associated information of the payment accounts in the payment account set and the total amount to be paid The amount to be paid by each payment account in the payment account set includes: determining each payment in the payment account set based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid The amount to be paid in the account.
在一个实施例中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:分别将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比的特征数值归一化到[0,1]之间,得到归一化后的特征数值;分别获取年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比每一项特征信息的权重;根据所述权重,针对每一用户,确定归一化后的特征数值的加 权和;基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额。In one embodiment, the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information. The payment is based on the payment account set The payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately identifying the age and occupation of the user corresponding to each payment account in the payment account set. , Gender, assets, payment amount, the number of payments, and the proportion of payment bill types are digitized to obtain characteristic values; the age, occupation, gender, assets, and payment amount of the user corresponding to each payment account in the payment account set The characteristic values of, the number of payments and the proportion of payment types of bills are normalized to [0,1] to obtain the normalized characteristic values; obtain age, occupation, gender, assets, payment amount, and number of payments respectively , The type of bill payment accounts for the weight of each feature information; according to the weight, for each user, determine the weighted sum of the normalized feature values; determine the weighted sum based on the weighted sum and the total amount to be paid The amount to be paid in the payment account of each user in the payment account set.
在一个实施例中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:获取针对每一用户确定的所述加权和之和;确定每一用户的加权和与所述和的比值,作为第一比值;将每一用户的所述第一比值与所述待支付总金额的乘积作为为所述支付账户集合中每个用户的支付账户待支付的金额。In an embodiment, the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid includes: obtaining the weight determined for each user The sum of sum; determine the ratio of the weighted sum of each user to the sum as the first ratio; take the product of the first ratio of each user and the total amount to be paid as the payment account set The amount to be paid in each user's payment account.
在一个实施例中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:对针对每一用户确定的所述加权和按照从大到小的顺序排序;将所有加权和按照所述顺序划分为预定数目个区间,其中,针对每一用户确定的加权和仅属于一个区间;根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比;针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。In an embodiment, the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid includes: determining the weighted amount for each user The sums are sorted in descending order; all the weighted sums are divided into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval; the interval is determined according to the divided interval The weighted sum of the corresponding user’s payment account’s payment amount ratio; for each user’s payment account in the payment account set, the product of the user’s payment account’s payment amount ratio and the total amount to be paid is taken as the The amount to be paid in the user's payment account.
在一个实施例中,所述根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比,包括:获取针对所有用户确定的加权和之和,作为第一数值,获取每一区间内针对所有用户确定的加权和之和,作为第二数值;确定每一区间内的加权和的数目,作为第三数值;针对每一区间,获取该区间的第二数值与第一数值的比值;根据每一区间的所述比值,确定该区间内的加权和对应用户的支付账户的支付金额占比。In an embodiment, the determining the weighting in the interval and the proportion of the payment amount corresponding to the user's payment account according to the interval divided into includes: obtaining the sum of the weighted sums determined for all users as the first value, Obtain the sum of the weighted sums determined for all users in each interval as the second value; determine the number of weighted sums in each interval as the third value; for each interval, obtain the second value and the first value of the interval A ratio of a numerical value; according to the ratio of each interval, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account.
在一个实施例中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:分别将所述多个用户的支付账户关联信息中每一支付账户关联信息包括的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;将获取的每一特征数值归一化到[0,1]之间,得到归一化后的特征数值;针对每一支付账户关联信息,将该支付账户关联信息对应的归一化后的特征数值转化为向量,以得 到特征向量;根据支付账户关联信息对应的特征向量,对所有支付账户进行聚类,以得到多个簇;获取每一簇对应的支付比例;确定所述支付账户集合中每一支付账户所属的簇;根据所述簇对应的支付比例以及所述支付账户集合中每一支付账户所属的簇获取支付账户集合中每一支付账户的支付金额占比;针对每一支付账户,将该支付账户的支付金额占比与待支付总金额的乘积,作为该支付账户的待支付的金额。In one embodiment, the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type accounting for seven characteristic information. The payment is based on the payment account set The payment account associated information of the account and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including: separately linking each payment account associated information in the payment account associated information of the multiple users Numericalize the proportion of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid to obtain the characteristic value; normalize each characteristic value obtained to [0, 1] to obtain Normalized feature value; for each payment account related information, convert the normalized feature value corresponding to the payment account related information into a vector to obtain the feature vector; according to the feature vector corresponding to the payment account related information, Cluster all payment accounts to obtain multiple clusters; obtain the payment ratio corresponding to each cluster; determine the cluster to which each payment account in the payment account set belongs; according to the payment ratio corresponding to the cluster and the payment The cluster to which each payment account in the account set belongs obtains the proportion of the payment amount of each payment account in the payment account set; for each payment account, the product of the payment proportion of the payment account and the total amount to be paid is taken as the The amount to be paid for the payment account.
根据本申请的第三方面,还提供了一种计算设备,执行上述任一所示的多人共同支付方法的全部或者部分步骤。该计算设备包括:According to the third aspect of the present application, there is also provided a computing device that executes all or part of the steps of any one of the above-mentioned multi-person payment methods. The computing equipment includes:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上述任一个示例性实施例所示出的多人共同支付方法。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute as shown in any one of the above exemplary embodiments. Multi-person payment method.
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present application can be implemented as a system, method, or program product. Therefore, each aspect of the present application can be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which can be collectively referred to herein as "Circuit", "Module" or "System".
下面参照图8来描述根据本申请的这种实施方式的计算设备800。图8显示的计算设备800仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The computing device 800 according to this embodiment of the present application will be described below with reference to FIG. 8. The computing device 800 shown in FIG. 8 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
如图8所示,计算设备800以通用计算设备的形式表现。计算设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830。As shown in FIG. 8, the computing device 800 is represented in the form of a general-purpose computing device. The components of the computing device 800 may include, but are not limited to: the aforementioned at least one processing unit 810, the aforementioned at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“实施例方法”部分中描述的根据本申请各种示例性实施方式的步骤。Wherein, the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 executes the various exemplary methods described in the "Methods of Embodiments" section of this specification. Implementation steps.
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)821和/或高速缓存存储单元822,还可以进一步包括只读存储单元( ROM)823。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
存储单元820还可以包括具有一组(至少一个)程序模块825的程序/实用工具824,这样的程序模块825包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 820 may also include a program/utility tool 824 having a set (at least one) program module 825. Such program module 825 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 830 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
计算设备800也可以与一个或多个外部设备1000(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该计算设备800交互的设备通信,和/或与使得该计算设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,计算设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与计算设备800的其它模块通信。应当明白,尽管图中未示出,可以结合计算设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computing device 800 may also communicate with one or more external devices 1000 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable users to interact with the computing device 800, and/or communicate with Any device (eg, router, modem, etc.) that enables the computing device 800 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 850. In addition, the computing device 800 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 860. As shown in the figure, the network adapter 860 communicates with other modules of the computing device 800 through the bus 830. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the computing device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实施方式的方法。Through the description of the foregoing embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
根据本申请的第四方面,还提供了一种计算机非易失性可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书 上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。According to the fourth aspect of the present application, there is also provided a computer non-volatile readable storage medium on which is stored a program product capable of implementing the above-mentioned method in this specification. In some possible implementation manners, each aspect of the present application can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
参考图9所示,描述了根据本申请的实施方式的用于实现上述方法的计算机非易失性可读存储介质900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,计算机非易失性可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。With reference to FIG. 9, a computer non-volatile readable storage medium 900 for implementing the above method according to an embodiment of the present application is described, which may adopt a portable compact disk read-only memory (CD-ROM) and includes program code , And can run on terminal devices, such as personal computers. However, the program product of this application is not limited to this. In this document, the computer non-volatile readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device. In conjunction with.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product can use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、C++等,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接 到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。The program code used to perform the operations of this application can be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages-such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on. In the case of a remote computing device, the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are only schematic illustrations of the processing included in the method according to the exemplary embodiments of the present application, and are not intended for limitation. It is easy to understand that the processing shown in the above drawings does not indicate or limit the time sequence of these processings. In addition, it is easy to understand that these processes can be executed synchronously or asynchronously in multiple modules, for example.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be performed without departing from its scope. The scope of the application is only limited by the appended claims.

Claims (22)

  1. 一种多人共同支付方法,包括:A multi-person payment method, including:
    获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;Obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
    接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;Receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account set includes at least one payment account ;
    基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;Determining the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
    按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;Sending a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
    根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The payment account in the payment account set is deducted according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  2. 根据权利要求1所述的方法,其中,所述支付任务请求中还包含待支付总金额的平均支付基数,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The method according to claim 1, wherein the payment task request further includes an average payment base of the total amount to be paid, and the determination is based on the payment account associated information of the payment account in the payment account set and the total amount to be paid The amount to be paid by each payment account in the payment account set includes:
    基于支付账户集合中支付账户的支付账户关联信息、待支付总金额的平均支付基数以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。The amount to be paid by each payment account in the payment account set is determined based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid.
  3. 根据权利要求1所述的方法,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The method according to claim 1, wherein the user’s payment account-related information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type. The payment account associated information of the payment account in the payment account set and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including:
    分别将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值 化,以得到特征数值;Respectively quantify the age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types of users corresponding to each payment account in the payment account set to obtain characteristic values;
    将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比的特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize the characteristic values of the user's age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types in the payment account set corresponding to each payment account in the set of payment accounts to [0, 1], Obtain the normalized feature value;
    分别获取年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比每一项特征信息的权重;Obtain the weight of each feature information of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid separately;
    根据所述权重,针对每一用户,确定归一化后的特征数值的加权和;According to the weight, determine the weighted sum of the normalized feature values for each user;
    基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额。The amount to be paid by the payment account of each user in the payment account set is determined based on the weighted sum and the total amount to be paid.
  4. 根据权利要求3所述的方法,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The method according to claim 3, wherein the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid comprises:
    获取针对每一用户确定的所述加权和之和;Obtaining the sum of the weighted sums determined for each user;
    确定每一用户的加权和与所述和的比值,作为第一比值;Determine the ratio of the weighted sum of each user to the sum as the first ratio;
    将每一用户的所述第一比值与所述待支付总金额的乘积作为为所述支付账户集合中每个用户的支付账户待支付的金额。The product of the first ratio of each user and the total amount to be paid is taken as the amount to be paid for the payment account of each user in the payment account set.
  5. 根据权利要求3所述的方法,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The method according to claim 3, wherein the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid comprises:
    对针对每一用户确定的所述加权和按照从大到小的顺序排序;Sort the weighted sums determined for each user in descending order;
    将所有加权和按照所述顺序划分为预定数目个区间,其中,针对每一用户确定的加权和仅属于一个区间;Dividing all weighted sums into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval;
    根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比;According to the interval divided into, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account;
    针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。For the payment account of each user in the payment account set, the product of the proportion of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
  6. 根据权利要求5所述的方法,其中,所述根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比,包括:The method according to claim 5, wherein the determining the weight in the interval and the proportion of the payment amount corresponding to the user's payment account according to the interval divided into includes:
    获取针对所有用户确定的加权和之和,作为第一数值,获取每一区间内针对所有用户确定的加权和之和,作为第二数值;Obtain the sum of weighted sums determined for all users as the first value, and obtain the sum of weighted sums determined for all users in each interval as the second value;
    确定每一区间内的加权和的数目,作为第三数值;Determine the number of weighted sums in each interval as the third value;
    针对每一区间,获取该区间的第二数值与第一数值的比值;For each interval, obtain the ratio of the second value to the first value of the interval;
    根据每一区间的所述比值,确定该区间内的加权和对应用户的支付账户的支付金额占比。According to the ratio of each interval, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account.
  7. 根据权利要求1所述的方法,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The method according to claim 1, wherein the user’s payment account-related information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type. The payment account associated information of the payment account in the payment account set and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including:
    分别将所述多个用户的支付账户关联信息中每一支付账户关联信息包括的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;Respectively quantify the proportion of age, occupation, gender, assets, payment amount, number of payments, and payment bill type included in each payment account associated information of the payment account associated information of the multiple users to obtain the characteristic value;
    将获取的每一特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize each obtained feature value to [0, 1] to obtain the normalized feature value;
    针对每一支付账户关联信息,将该支付账户关联信息对应的归一化后的特征数值转化为向量,以得到特征向量;For each payment account associated information, convert the normalized feature value corresponding to the payment account associated information into a vector to obtain a feature vector;
    根据支付账户关联信息对应的特征向量,对所有支付账户进行聚类,以得到多个簇;According to the feature vector corresponding to the related information of the payment account, cluster all the payment accounts to obtain multiple clusters;
    获取每一簇对应的支付比例;Obtain the payment ratio corresponding to each cluster;
    确定所述支付账户集合中每一支付账户所属的簇;Determining the cluster to which each payment account in the payment account set belongs;
    根据所述簇对应的支付比例以及所述支付账户集合中每一支付账户所属的簇获取支付账户集合中每一支付账户的支付金额占比;Obtaining the proportion of the payment amount of each payment account in the payment account set according to the payment proportion corresponding to the cluster and the cluster to which each payment account in the payment account set belongs;
    针对每一支付账户,将该支付账户的支付金额占比与待支付总金额的乘积,作为该支付账户的待支付的金额。For each payment account, the product of the payment amount accounted for by the payment account and the total amount to be paid is used as the amount to be paid for the payment account.
  8. 一种多人共同支付装置,包括:A multi-person payment device including:
    获取模块,被配置为获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;The obtaining module is configured to obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
    接收模块,被配置为接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;The receiving module is configured to receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account The set contains at least one payment account;
    待支付金额确定模块,被配置为基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;A payment amount determination module configured to determine the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
    发送模块,被配置为按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;A sending module configured to send a payment instruction to a terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
    扣款模块,被配置为根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The deduction module is configured to deduct the payment account in the payment account set according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  9. 根据权利要求8所述的装置,其中,所述支付任务请求中还包含待支付总金额的平均支付基数,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The device according to claim 8, wherein the payment task request further includes an average payment base of the total amount to be paid, and the determination is based on the payment account associated information of the payment accounts in the payment account set and the total amount to be paid The amount to be paid by each payment account in the payment account set includes:
    基于支付账户集合中支付账户的支付账户关联信息、待支付总金额的平均支付基数以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。The amount to be paid by each payment account in the payment account set is determined based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid.
  10. 根据权利要求8所述的装置,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:8. The device according to claim 8, wherein the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type. The payment account associated information of the payment account in the payment account set and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including:
    分别将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值 化,以得到特征数值;Respectively quantify the age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types of users corresponding to each payment account in the payment account set to obtain characteristic values;
    将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比的特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize the characteristic values of the user's age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types in the payment account set corresponding to each payment account in the set of payment accounts to [0, 1], Obtain the normalized feature value;
    分别获取年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比每一项特征信息的权重;Obtain the weight of each feature information of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid separately;
    根据所述权重,针对每一用户,确定归一化后的特征数值的加权和;According to the weight, determine the weighted sum of the normalized feature values for each user;
    基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额。The amount to be paid by the payment account of each user in the payment account set is determined based on the weighted sum and the total amount to be paid.
  11. 根据权利要求10所述的装置,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The device according to claim 10, wherein the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid comprises:
    获取针对每一用户确定的所述加权和之和;Obtaining the sum of the weighted sums determined for each user;
    确定每一用户的加权和与所述和的比值,作为第一比值;Determine the ratio of the weighted sum of each user to the sum as the first ratio;
    将每一用户的所述第一比值与所述待支付总金额的乘积作为为所述支付账户集合中每个用户的支付账户待支付的金额。The product of the first ratio of each user and the total amount to be paid is taken as the amount to be paid for the payment account of each user in the payment account set.
  12. 根据权利要求10所述的装置,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The device according to claim 10, wherein the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid comprises:
    对针对每一用户确定的所述加权和按照从大到小的顺序排序;Sort the weighted sums determined for each user in descending order;
    将所有加权和按照所述顺序划分为预定数目个区间,其中,针对每一用户确定的加权和仅属于一个区间;Dividing all weighted sums into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval;
    根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比;According to the interval divided into, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account;
    针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。For the payment account of each user in the payment account set, the product of the proportion of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
  13. 根据权利要求10所述的装置,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The device according to claim 10, wherein the determining the amount to be paid by the payment account of each user in the payment account set based on the weighted sum and the total amount to be paid comprises:
    对针对每一用户确定的所述加权和按照从大到小的顺序排序;Sort the weighted sums determined for each user in descending order;
    将所有加权和按照所述顺序划分为预定数目个区间,其中,针对每一用户确定的加权和仅属于一个区间;Dividing all weighted sums into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval;
    根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比;According to the interval divided into, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account;
    针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。For the payment account of each user in the payment account set, the product of the proportion of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
  14. 根据权利要求8所述的装置,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:8. The device according to claim 8, wherein the user’s payment account associated information includes the user’s age, occupation, gender, assets, payment amount, number of payments, and payment account type. The payment account associated information of the payment account in the payment account set and the total amount to be paid determine the amount to be paid by each payment account in the payment account set, including:
    分别将所述多个用户的支付账户关联信息中每一支付账户关联信息包括的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;Respectively quantify the proportion of age, occupation, gender, assets, payment amount, number of payments, and payment bill type included in each payment account associated information of the payment account associated information of the multiple users to obtain the characteristic value;
    将获取的每一特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize each obtained feature value to [0, 1] to obtain the normalized feature value;
    针对每一支付账户关联信息,将该支付账户关联信息对应的归一化后的特征数值转化为向量,以得到特征向量;For each payment account associated information, convert the normalized feature value corresponding to the payment account associated information into a vector to obtain a feature vector;
    根据支付账户关联信息对应的特征向量,对所有支付账户进行聚类,以得到多个簇;According to the feature vector corresponding to the related information of the payment account, cluster all the payment accounts to obtain multiple clusters;
    获取每一簇对应的支付比例;Obtain the payment ratio corresponding to each cluster;
    确定所述支付账户集合中每一支付账户所属的簇;Determining the cluster to which each payment account in the payment account set belongs;
    根据所述簇对应的支付比例以及所述支付账户集合中每一支付账 户所属的簇获取支付账户集合中每一支付账户的支付金额占比;Obtaining the proportion of the payment amount of each payment account in the payment account set according to the payment proportion corresponding to the cluster and the cluster to which each payment account in the payment account set belongs;
    针对每一支付账户,将该支付账户的支付金额占比与待支付总金额的乘积,作为该支付账户的待支付的金额。For each payment account, the product of the payment amount accounted for by the payment account and the total amount to be paid is used as the amount to be paid for the payment account.
  15. 一种计算设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行:A computing device includes a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes:
    获取多个用户的支付账户关联信息,每一用户的支付账户关联信息与一个支付账户对应;Obtain the payment account associated information of multiple users, and the payment account associated information of each user corresponds to one payment account;
    接收来自商家终端的支付任务请求,并根据支付任务请求确定与所述支付任务请求对应的支付账户集合,其中,所述支付任务请求包含待支付总金额,所述支付账户集合包含至少一个支付账户;Receive a payment task request from a merchant terminal, and determine a payment account set corresponding to the payment task request according to the payment task request, wherein the payment task request includes the total amount to be paid, and the payment account set includes at least one payment account ;
    基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额;Determining the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid;
    按照所述支付账户集合中每个支付账户待支付的金额向支付账户对应的终端发送支付指令;Sending a payment instruction to the terminal corresponding to the payment account according to the amount to be paid by each payment account in the payment account set;
    根据接收到的来自支付账户对应的终端的确认支付指令对所述支付账户集合中的支付账户进行扣款。The payment account in the payment account set is deducted according to the received payment confirmation instruction from the terminal corresponding to the payment account.
  16. 根据权利要求15所述的计算设备,其中,所述支付任务请求中还包含待支付总金额的平均支付基数,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The computing device according to claim 15, wherein the payment task request further includes an average payment base of the total amount to be paid, and the payment account-related information based on the payment account in the payment account set and the total amount to be paid Determining the amount to be paid by each payment account in the payment account set includes:
    基于支付账户集合中支付账户的支付账户关联信息、待支付总金额的平均支付基数以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额。The amount to be paid by each payment account in the payment account set is determined based on the payment account associated information of the payment account in the payment account set, the average payment base of the total amount to be paid, and the total amount to be paid.
  17. 根据权利要求15所述的计算设备,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中 支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The computing device according to claim 15, wherein the user’s payment account associated information includes seven characteristic information of the user’s age, occupation, gender, assets, payment amount, number of payments, and proportion of payment bill types. The determination of the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid includes:
    分别将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;Respectively quantify the age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types of the user corresponding to each payment account in the payment account set to obtain characteristic values;
    将所述支付账户集合中每个支付账户对应的用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比的特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize the characteristic values of the user's age, occupation, gender, assets, payment amount, number of payments, and the proportion of payment bill types in the payment account set corresponding to each payment account in the set of payment accounts to [0, 1], Obtain the normalized feature value;
    分别获取年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比每一项特征信息的权重;Obtain the weight of each feature information of age, occupation, gender, assets, payment amount, number of payments, and type of bills paid separately;
    根据所述权重,针对每一用户,确定归一化后的特征数值的加权和;According to the weight, determine the weighted sum of the normalized feature values for each user;
    基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额。The amount to be paid by the payment account of each user in the payment account set is determined based on the weighted sum and the total amount to be paid.
  18. 根据权利要求17所述的计算设备,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The computing device according to claim 17, wherein the determining the amount to be paid by the payment account of each user in the set of payment accounts based on the weighted sum and the total amount to be paid comprises:
    获取针对每一用户确定的所述加权和之和;Obtaining the sum of the weighted sums determined for each user;
    确定每一用户的加权和与所述和的比值,作为第一比值;Determine the ratio of the weighted sum of each user to the sum as the first ratio;
    将每一用户的所述第一比值与所述待支付总金额的乘积作为为所述支付账户集合中每个用户的支付账户待支付的金额。The product of the first ratio of each user and the total amount to be paid is taken as the amount to be paid for the payment account of each user in the payment account set.
  19. 根据权利要求17所述的计算设备,其中,所述基于所述加权和以及所述待支付总金额确定所述支付账户集合中每个用户的支付账户待支付的金额,包括:The computing device according to claim 17, wherein the determining the amount to be paid by the payment account of each user in the set of payment accounts based on the weighted sum and the total amount to be paid comprises:
    对针对每一用户确定的所述加权和按照从大到小的顺序排序;Sort the weighted sums determined for each user in descending order;
    将所有加权和按照所述顺序划分为预定数目个区间,其中,针对每一用户确定的加权和仅属于一个区间;Dividing all weighted sums into a predetermined number of intervals according to the stated order, wherein the weighted sum determined for each user belongs to only one interval;
    根据划分为的区间,确定该区间内的加权和对应用户的支付账户 的支付金额占比;According to the interval divided into, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account;
    针对所述支付账户集合中每个用户的支付账户,将该用户的支付账户的支付金额占比与所述待支付总金额的乘积作为该用户的支付账户待支付的金额。For the payment account of each user in the payment account set, the product of the proportion of the payment amount of the user's payment account and the total amount to be paid is used as the amount to be paid by the user's payment account.
  20. 根据权利要求19所述的计算设备,其中,所述根据划分为的区间,确定该区间内的加权和对应用户的支付账户的支付金额占比,包括:The computing device according to claim 19, wherein the determining the weight in the interval and the proportion of the payment amount corresponding to the user's payment account according to the interval divided into includes:
    获取针对所有用户确定的加权和之和,作为第一数值,获取每一区间内针对所有用户确定的加权和之和,作为第二数值;Obtain the sum of weighted sums determined for all users as the first value, and obtain the sum of weighted sums determined for all users in each interval as the second value;
    确定每一区间内的加权和的数目,作为第三数值;Determine the number of weighted sums in each interval as the third value;
    针对每一区间,获取该区间的第二数值与第一数值的比值;For each interval, obtain the ratio of the second value to the first value of the interval;
    根据每一区间的所述比值,确定该区间内的加权和对应用户的支付账户的支付金额占比。According to the ratio of each interval, determine the weight in the interval and the proportion of the payment amount of the corresponding user's payment account.
  21. 根据权利要求15所述的计算设备,其中,所述用户的支付账户关联信息包括用户的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比七项特征信息,所述基于支付账户集合中支付账户的支付账户关联信息以及所述待支付总金额确定所述支付账户集合中每个支付账户待支付的金额,包括:The computing device according to claim 15, wherein the user’s payment account associated information includes seven characteristic information of the user’s age, occupation, gender, assets, payment amount, number of payments, and proportion of payment bill types. The determination of the amount to be paid by each payment account in the payment account set based on the payment account associated information of the payment account in the payment account set and the total amount to be paid includes:
    分别将所述多个用户的支付账户关联信息中每一支付账户关联信息包括的年龄、职业、性别、资产、支付金额、支付笔数、支付账单类型占比数值化,以得到特征数值;Respectively quantify the proportion of age, occupation, gender, assets, payment amount, number of payments, and payment bill type included in each payment account associated information of the payment account associated information of the multiple users to obtain the characteristic value;
    将获取的每一特征数值归一化到[0,1]之间,得到归一化后的特征数值;Normalize each obtained feature value to [0, 1] to obtain the normalized feature value;
    针对每一支付账户关联信息,将该支付账户关联信息对应的归一化后的特征数值转化为向量,以得到特征向量;For each payment account associated information, convert the normalized feature value corresponding to the payment account associated information into a vector to obtain a feature vector;
    根据支付账户关联信息对应的特征向量,对所有支付账户进行聚类,以得到多个簇;According to the feature vector corresponding to the related information of the payment account, cluster all the payment accounts to obtain multiple clusters;
    获取每一簇对应的支付比例;Obtain the payment ratio corresponding to each cluster;
    确定所述支付账户集合中每一支付账户所属的簇;Determining the cluster to which each payment account in the payment account set belongs;
    根据所述簇对应的支付比例以及所述支付账户集合中每一支付账户所属的簇获取支付账户集合中每一支付账户的支付金额占比;Obtaining the proportion of the payment amount of each payment account in the payment account set according to the payment proportion corresponding to the cluster and the cluster to which each payment account in the payment account set belongs;
    针对每一支付账户,将该支付账户的支付金额占比与待支付总金额的乘积,作为该支付账户的待支付的金额。For each payment account, the product of the payment amount accounted for by the payment account and the total amount to be paid is used as the amount to be paid for the payment account.
  22. 一种存储有计算机可读指令的计算机非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行权利要求1至7任一项所述的方法。A computer non-volatile readable storage medium storing computer readable instructions, which when executed by one or more processors, cause one or more processors to execute any one of claims 1 to 7 The method described in the item.
PCT/CN2019/117693 2019-08-02 2019-11-12 Multi-person joint payment method and apparatus, computer device and storage medium WO2021022711A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910713840.5 2019-08-02
CN201910713840.5A CN110675135B (en) 2019-08-02 2019-08-02 Multi-person common payment method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021022711A1 true WO2021022711A1 (en) 2021-02-11

Family

ID=69068700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117693 WO2021022711A1 (en) 2019-08-02 2019-11-12 Multi-person joint payment method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110675135B (en)
WO (1) WO2021022711A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615349A (en) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 A kind of payment unions method and apparatus authorized in advance
CN113837738A (en) * 2021-09-28 2021-12-24 维沃移动通信有限公司 Payment method, payment device, electronic equipment and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369241B (en) * 2020-02-20 2021-08-13 支付宝(杭州)信息技术有限公司 Group payment method, device and equipment
CN113313494A (en) * 2020-02-26 2021-08-27 上海依图信息技术有限公司 Offline payment method and device based on face recognition and electronic equipment
CN112581117A (en) * 2020-12-10 2021-03-30 中国银联股份有限公司 Payment method, collection device, payment device and storage medium
CN112579572B (en) * 2020-12-18 2022-12-13 建信金融科技有限责任公司 Associated account maintenance method and device and electronic equipment
CN113012370A (en) * 2021-02-09 2021-06-22 中国建设银行股份有限公司 Face payment method and device, electronic equipment and readable storage medium
CN112819455A (en) * 2021-02-24 2021-05-18 拉扎斯网络科技(上海)有限公司 Data processing method, data processing apparatus, electronic device, storage medium, and program product
CN113298507B (en) * 2021-06-15 2023-08-22 英华达(上海)科技有限公司 Payment verification method, system, electronic device and storage medium
CN114445068A (en) * 2022-01-28 2022-05-06 中国建设银行股份有限公司 Numerical resource processing method, system, computer device, and storage medium
CN116308324B (en) * 2023-05-23 2023-07-21 云账户技术(天津)有限公司 Multi-merchant payment method, system, electronic device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631653A (en) * 2015-05-06 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Payment request processing method, payment request processing device and terminal
CN106096940A (en) * 2016-06-03 2016-11-09 乐视控股(北京)有限公司 A kind of method of payment and device
CN107248070A (en) * 2017-05-23 2017-10-13 北京小米移动软件有限公司 The method and device for group's pre-paid of chatting
CN108269074A (en) * 2016-12-30 2018-07-10 K11集团有限公司 A kind of method of payment, device and equipment
CN109426951A (en) * 2017-08-31 2019-03-05 广州涌智信息科技有限公司 A kind of online payment method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8538874B2 (en) * 2004-02-06 2013-09-17 Propulsion Remote Holdings, Llc Pay yourself first with auto bill pay system and method
US8463650B2 (en) * 2009-03-05 2013-06-11 Barclays Bank Delaware Systems and methods to initiate payments from electronic devices
US8700527B2 (en) * 2011-07-14 2014-04-15 Bank Of America Corporation Merchant bill pay
US20130325706A1 (en) * 2012-06-01 2013-12-05 Dadesystems, Llp System, method, apparatus, and computer program product for improved payment processing
CN105654293B (en) * 2014-12-03 2020-01-17 阿里巴巴集团控股有限公司 Payment method and device
CN108335098B (en) * 2018-01-24 2023-03-14 创新先进技术有限公司 Multi-person payment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631653A (en) * 2015-05-06 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Payment request processing method, payment request processing device and terminal
CN106096940A (en) * 2016-06-03 2016-11-09 乐视控股(北京)有限公司 A kind of method of payment and device
CN108269074A (en) * 2016-12-30 2018-07-10 K11集团有限公司 A kind of method of payment, device and equipment
CN107248070A (en) * 2017-05-23 2017-10-13 北京小米移动软件有限公司 The method and device for group's pre-paid of chatting
CN109426951A (en) * 2017-08-31 2019-03-05 广州涌智信息科技有限公司 A kind of online payment method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615349A (en) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 A kind of payment unions method and apparatus authorized in advance
CN113837738A (en) * 2021-09-28 2021-12-24 维沃移动通信有限公司 Payment method, payment device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110675135B (en) 2024-03-08
CN110675135A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
WO2021022711A1 (en) Multi-person joint payment method and apparatus, computer device and storage medium
US11348086B2 (en) Information processing device and information processing method
US20200349590A1 (en) System and method for transaction learning
KR102002111B1 (en) Information processing systems, apparatuses, and methods
US10354245B2 (en) N to N money transfers
WO2015101301A1 (en) Resource reallocation method and server
US20150006374A1 (en) Information processing apparatus and recording medium
JP2019074983A (en) Information processing system
CN109152061A (en) Channel agility method, apparatus, server and storage medium
JP5130469B2 (en) Information processing apparatus, information processing method, and information processing program
US20210026687A1 (en) Computer-implemented system and methods for computing valuation
JP2021189861A (en) Wallet server, wallet system, and program
BR112019017372A2 (en) CORRESPONDENCE OF SERVICE REQUEST BASED ON PROVIDER'S COMPLIANCE STATUS
CN111429251A (en) Method and device for processing data under multiple modes
US20210065164A1 (en) Global account consolidation
CN109785107A (en) Method and Related product based on fund accounting flexible configuration
CN113781247B (en) Protocol data recommendation method, device, computer equipment and storage medium
US20210374711A1 (en) Information processing system, server, and computer readable recording medium
US11928235B2 (en) System and method for controlling access to account transaction information
JP7093379B2 (en) Data provider, program and information processing method
KR20160097956A (en) Method of Group account provide service to prevent embezzlement, and apparatus thereof
JP6993475B1 (en) Account management system, account management method and account management program
JP7214164B2 (en) program, method, information processing device
JP7331745B2 (en) Mobile terminals, wallet programs and wallet systems
JP7153818B2 (en) Program, information processing device and information processing method

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: 19940635

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: 19940635

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 16/08/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19940635

Country of ref document: EP

Kind code of ref document: A1