A commodity sales credit payment method and control system based on blockchain
By building a pre-selected list of associated users and responding to payment requests through a blockchain-based credit payment method, the problem of low applicability and efficiency of associated payment forms in the existing technology is solved, and more efficient payment processing is achieved.
Patent Information
- Application Number
- CN202310796573.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In the existing technology, the associated payment form requires manual input when binding the relationship, has poor applicability and low acquisition efficiency, and is difficult to meet the user's quick shopping needs.
Adopting a blockchain-based credit payment method, the applicability and efficiency of payment are improved by obtaining the user's ID data, querying credit information, building a pre-selected list of associated users, and responding to payment requests based on user selection.
It improves the acquisition efficiency of associated users and the applicability of payment, reduces manual intervention, and improves the automation and accuracy of the payment process.
Smart Images

Figure CN116777468B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a commodity sales credit payment method and control system based on blockchain. Background Art
[0002] At present, when users make payments on shopping platforms and do not have enough money to pay for the purchased items, the platform will open a certain amount of credit to the user based on the user's credit level. At the same time, some groups (such as the elderly, children and relatives of the user's family, and employees using the company's public account) also have shopping needs. Therefore, the payment method of associated payment is also widely used (for example, a certain amount of credit is also opened to the associated users of the user with the most sufficient credit). However, when binding a relationship, it is necessary to manually enter the associated users you want to bind, which is less applicable and the efficiency of obtaining associated users is also low.
[0003] Therefore, a solution is urgently needed. Summary of the invention
[0004] The present invention provides a commodity sales credit payment method and control system based on blockchain, which constructs a pre-selected list of associated users for selection by a first user, determines the associated users selected by the first user, and responds to the second payment request of the associated users, thereby improving applicability and the efficiency of obtaining associated users.
[0005] The present invention provides a commodity selling credit payment method based on blockchain, comprising:
[0006] Step S1: Obtaining ID data of a first user who inputs a first payment request;
[0007] Step S2: Based on the ID data, query the preset blockchain to determine the credit information of the first user;
[0008] Step S3: determining the credit score of the first user according to the credit information;
[0009] Step S4: Based on the credit score, determining whether to respond to the first payment request of the first user;
[0010] Step S5: constructing a pre-selected list of associated users, and obtaining the associated users selected by the first user from the pre-selected list of associated users;
[0011] Step S6: Determine whether to respond to the second payment request of the associated user of the first user.
[0012] Preferably, the step S1: obtaining the ID data of the first user who inputs the first payment request includes:
[0013] Based on face recognition technology, obtaining the face information of the first user;
[0014] Query a preset face information database to determine the ID data corresponding to the face information.
[0015] Preferably, the step S3: determining the credit score of the first user according to the credit information includes:
[0016] Based on a preset credit value determination rule, determining the credit value of the first user according to the credit information;
[0017] Obtaining a preset time axis, and at the same time, obtaining the time at which the credit value corresponds to the credit information;
[0018] Based on the generation time, marking the credit value on the time axis;
[0019] Obtain the time distance between the generation time corresponding to the credit value and the current time;
[0020] Obtaining a preset adjustment factor corresponding to the time distance;
[0021] The adjustment factor corresponding to the credit value is assigned to obtain a credit degree, and the credit degree corresponding to the first user is accumulated and calculated to obtain the credit score.
[0022] Preferably, the step S4: judging whether to respond to the first payment request of the first user based on the credit score includes:
[0023] Querying a preset credit score-total payment limit database to determine the total payment limit corresponding to the credit score, and at the same time, obtaining the spending limit of the first user;
[0024] Calculate the difference between the total payment amount and the corresponding expenditure amount, and use it as the remaining payment amount of the first user;
[0025] Obtaining a first commodity price of the commodity purchased by the first user, and if the remaining payment amount is greater than or equal to the first commodity price, responding to the first payment request to complete the payment;
[0026] Otherwise, no response.
[0027] Preferably, the step S5: constructing a pre-selected list of associated users, and obtaining the associated users selected by the first user in the pre-selected list of associated users, comprises:
[0028] Acquire pre-selected associated users who have an interactive relationship with the first user;
[0029] Obtaining logistics information of multiple historical purchase records of the first user;
[0030] Parsing the logistics information to obtain the number of times the pre-selected associated user received the goods;
[0031] Querying a preset delivery number-recommended value comparison list, determining a first recommended value corresponding to the delivery number of the pre-selected associated user, and associating with the corresponding pre-selected associated user;
[0032] Obtaining sharing records of the first user and the pre-selected associated users;
[0033] Acquire the sharing type of the sharing record, where the sharing type includes: active sharing and passive sharing;
[0034] When the sharing type is passive sharing, parsing the corresponding sharing record to obtain at least one shared product and the sharing time of the shared product;
[0035] Extracting a plurality of historically purchased commodities and the purchase time of the historically purchased commodities from the historical purchase records;
[0036] According to the sharing time and the purchase time, it is determined in turn whether there is a shared commodity shared at the corresponding sharing time in the historical purchase commodities within a preset time length after each sharing time, and if so, the count value of the preset counter is increased by 1;
[0037] Obtaining the count value of the counter after all judgments are completed;
[0038] Based on a preset count value-recommended value library, determine a second recommended value corresponding to the count value of the counter after all judgments are completed, and associate it with the corresponding pre-selected associated user;
[0039] Accumulating and calculating the first recommendation value and the second recommendation value associated with the pre-selected associated user to obtain a recommendation index;
[0040] The pre-selected associated users are stored in a preset blank list in order from high to low according to the corresponding recommendation indexes, to obtain the pre-selected list of associated users;
[0041] The associated user pre-selected list is displayed to the first user. When displaying, selection information of the first user is obtained, and the associated user is determined according to the selection information.
[0042] Preferably, the step S6: determining whether to respond to the second payment request of the associated user of the first user includes:
[0043] Obtaining the remaining associated amount of the associated user;
[0044] Determine whether to respond to the second payment request based on the remaining associated amount.
[0045] Preferably, judging whether to respond to the second payment request according to the remaining associated amount includes:
[0046] Obtaining a booking order that the associated user is ready to pay for;
[0047] Parsing the pre-order to obtain the price of the second product;
[0048] If the second commodity price is less than or equal to the remaining associated amount, responding to the second payment request corresponding to the associated user;
[0049] If the price of the second commodity is greater than the remaining associated amount, obtaining the first user associated with the associated user and using the first user as the second user;
[0050] sending the corresponding reservation order to the second user;
[0051] When the reservation order is transmitted to the smart terminal device of the second user, the second user is reminded to check the reservation order based on a preset reminder rule.
[0052] Preferably, the reminding the second user to check the reservation order includes:
[0053] Continuously acquiring the sight point of the second user projected on the corresponding smart terminal device, and at the same time, acquiring the display partitions corresponding to the multiple purchase items in the reservation order displayed by the smart terminal device;
[0054] Calculate the fixation time when the sight point falls within each of the display partitions;
[0055] If the gaze time of at least one of the display partitions is less than a preset third threshold, the corresponding display partition is highlighted to remind the corresponding second user to check;
[0056] During the viewing process by the second user, continuously acquiring the facial image of the second user;
[0057] Extracting facial features from the facial image to obtain multiple facial features;
[0058] matching the facial feature with a rejection feature in a preset rejection feature library, and if there is a match, not responding to the second payment request corresponding to the associated user;
[0059] Otherwise, respond to the second payment request corresponding to the associated user.
[0060] The present invention provides a commodity sales credit payment control system based on blockchain, comprising:
[0061] An ID data acquisition module, used to acquire ID data of a first user who inputs a first payment request;
[0062] A credit information determination module, configured to query a preset blockchain based on the ID data to determine the credit information of the first user;
[0063] a credit score determination module, configured to determine the credit score of the first user according to the credit information;
[0064] A first response determination module, configured to determine whether to respond to the first payment request of the first user based on the credit score;
[0065] A construction module, configured to construct a pre-selected list of associated users, and obtain the associated users selected by the first user in the pre-selected list of associated users;
[0066] The second response judgment module is used to judge whether to respond to the second payment request of the associated user of the first user.
[0067] Preferably, the ID data acquisition module acquires the ID data of the first user who inputs the first payment request, including:
[0068] A face information acquisition module, used to acquire the face information of the first user based on face recognition technology;
[0069] The ID data determination module is used to query a preset face information database to determine the ID data corresponding to the face information.
[0070] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0072] Figure 1 This is a flowchart of a blockchain-based commodity sales credit payment method in an embodiment of the present invention;
[0073] Figure 2 This is a schematic diagram of a commodity sales credit payment control system based on blockchain in an embodiment of the present invention. DETAILED DESCRIPTION
[0074] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0075] The present invention provides a commodity selling credit payment method based on blockchain, such as Figure 1 As shown, including:
[0076] Step S1: Obtaining ID data of a first user who inputs a first payment request;
[0077] Step S2: Based on the ID data, query the preset blockchain to determine the credit information of the first user;
[0078] Step S3: determining the credit score of the first user according to the credit information;
[0079] Step S4: Based on the credit score, determining whether to respond to the first payment request of the first user;
[0080] Step S5: constructing a pre-selected list of associated users, and obtaining the associated users selected by the first user from the pre-selected list of associated users;
[0081] Step S6: Determine whether to respond to the second payment request of the associated user of the first user.
[0082] The working principle and beneficial effects of the above technical solution are:
[0083] Obtain the ID data of the first user who purchases the product (for example, a face obtained through the monitoring device of the smart terminal). Obtain the credit information of the first user from the preset blockchain based on the ID data (for example, the fulfillment record of the first user purchasing different products at different times). Obtain the credit score of the first user based on the credit information. Determine whether to respond to the first payment request corresponding to the first user based on the credit score; the first payment request is, for example, to purchase a keyboard. Determine whether to respond to the second payment request of the associated user of the first user. Construct an associated user pre-selection list, and obtain the associated users selected by the first user in the associated user pre-selection list; the associated user pre-selection list includes: associated users that the first user may be bound to; associated users are, for example: "Intimate Payment" users; the second payment request is: buying a mouse on behalf of others.
[0084] The embodiment of the present invention constructs a pre-selected list of associated users for the first user to select, determines the associated users selected by the first user, and responds to the second payment request of the associated users, thereby improving applicability and efficiency in obtaining associated users.
[0085] The embodiment of the present invention provides a blockchain-based commodity sales credit payment method, step S1: obtaining the ID data of the first user who purchases the commodity, including:
[0086] Based on face recognition technology, obtaining the face information of the first user;
[0087] Query a preset face information database to determine the ID data corresponding to the face information.
[0088] The working principle and beneficial effects of the above technical solution are:
[0089] Based on face recognition technology (face recognition technology refers to the technology of recognizing faces by using computer technology of analysis and comparison, which can be realized), the face information of the first user is obtained through the camera configured by the mobile terminal. The ID data of the first user is determined from the preset face information database (database, storing the correspondence between multiple face IDs and ID data). The identity of the first user is directly verified by face recognition technology, which improves the accuracy of ID data acquisition.
[0090] The embodiment of the present invention provides a blockchain-based commodity sales credit payment method, wherein the step S3: determining the credit score of the first user according to the credit information includes:
[0091] Based on a preset credit value determination rule, determining the credit value of the first user according to the credit information;
[0092] Obtaining a preset time axis, and at the same time, obtaining the time at which the credit value corresponds to the credit information;
[0093] Based on the generation time, marking the credit value on the time axis;
[0094] Obtain the time distance between the generation time corresponding to the credit value and the current time;
[0095] Obtaining a preset adjustment factor corresponding to the time distance;
[0096] The adjustment factor corresponding to the credit value is assigned to obtain a credit degree, and the credit degree corresponding to the first user is accumulated and calculated to obtain the credit score.
[0097] The working principle and beneficial effects of the above technical solution are:
[0098] The preset credit value determination rules are: artificially preset rules for determining credit value based on credit information. Obtain the time when the credit information is generated (the time when the credit information is generated) and mark it on the preset time axis; the time axis is: through the Internet technology, one or more events are connected in series according to the time sequence to form a relatively complete record system, and then presented to the user in the form of pictures and texts. Based on the time distance between the credit value and the current moment on the time axis (the time length from the current moment to the moment when the credit value is generated), obtain the preset adjustment factor of the credit value; the adjustment factor is: a preset constant for adjusting the credit value according to the time distance. Assign the adjustment factor corresponding to the credit value to obtain the credit degree, accumulate and calculate the credit degree corresponding to the first user, and obtain the credit score. The calculation formula of the credit score is as follows:
[0099]
[0100] Wherein, α is the credit score of the i-th first user, θ t is the tth credit value of the i-th first user, μ t is the adjustment factor corresponding to the t-th credit value of the i-th first user, and T is the total number of credit values of the i-th first user.
[0101] The embodiment of the present invention determines the adjustment factor of the credit information based on the time when the credit information is generated, and determines the credit score according to the sum of the adjustment factor and the corresponding credit value, thereby improving the accuracy of obtaining the credit score.
[0102] The embodiment of the present invention provides a blockchain-based commodity sales credit payment method, step S4: based on the credit score, judging whether to respond to the first payment request of the first user, including:
[0103] Querying a preset credit score-total payment limit database to determine the total payment limit corresponding to the credit score, and at the same time, obtaining the spending limit of the first user;
[0104] Calculate the difference between the total payment amount and the corresponding expenditure amount, and use it as the remaining payment amount of the first user;
[0105] Obtaining a first commodity price of the commodity purchased by the first user, and if the remaining payment amount is greater than or equal to the first commodity price, responding to the first payment request to complete the payment;
[0106] Otherwise, no response.
[0107] The working principle and beneficial effects of the above technical solution are:
[0108] Query the preset credit score-payment limit database (a database that stores the correspondence between credit scores and payment limits) to determine the payment limit of the first user's credit score; the payment limit is: the first user's available credit limit. Obtain the first user's spending limit (the first user's already used credit limit). Calculate the first user's remaining payment limit; when calculating, subtract the total payment limit from the corresponding spending limit. Obtain the price of the first commodity purchased. If the remaining payment limit is greater than or equal to the first commodity price, respond to the corresponding first payment request and complete the payment; otherwise, do not respond.
[0109] The embodiment of the present invention introduces a credit score-total payment limit database, determines the total payment limit of the first user according to the credit score of the first user, and improves the accuracy of obtaining the total payment limit; determines the remaining payment limit of the first user based on the total payment limit and the corresponding expenditure limit, and compares the remaining payment limit with the price of the first commodity to determine whether to respond to the first payment request of the first user, which is more reasonable.
[0110] The embodiment of the present invention provides a commodity sale credit payment method based on blockchain, wherein the step S5: constructing a pre-selected list of associated users, and obtaining the associated user selected by the first user in the pre-selected list of associated users, comprises:
[0111] Acquire pre-selected associated users who have an interactive relationship with the first user;
[0112] Obtaining logistics information of multiple historical purchase records of the first user;
[0113] Parsing the logistics information to obtain the number of times the pre-selected associated user received the goods;
[0114] Querying a preset delivery number-recommended value comparison list, determining a first recommended value corresponding to the delivery number of the pre-selected associated user, and associating with the corresponding pre-selected associated user;
[0115] Obtaining sharing records of the first user and the pre-selected associated users;
[0116] Acquire the sharing type of the sharing record, where the sharing type includes: active sharing and passive sharing;
[0117] When the sharing type is passive sharing, parsing the corresponding sharing record to obtain at least one shared product and the sharing time of the shared product;
[0118] Extracting a plurality of historically purchased commodities and the purchase time of the historically purchased commodities from the historical purchase records;
[0119] According to the sharing time and the purchase time, it is determined in turn whether there is a shared commodity shared at the corresponding sharing time in the historical purchase commodities within a preset time length after each sharing time, and if so, the count value of the preset counter is increased by 1;
[0120] Obtaining the count value of the counter after all judgments are completed;
[0121] Based on a preset count value-recommended value library, determine a second recommended value corresponding to the count value of the counter after all judgments are completed, and associate it with the corresponding pre-selected associated user;
[0122] Accumulating and calculating the first recommendation value and the second recommendation value associated with the pre-selected associated user to obtain a recommendation index;
[0123] The pre-selected associated users are stored in a preset blank list in order from high to low according to the corresponding recommendation indexes, to obtain the pre-selected list of associated users;
[0124] The associated user pre-selected list is displayed to the first user. When displaying, selection information of the first user is obtained, and the associated user is determined according to the selection information.
[0125] The working principle and beneficial effects of the above technical solution are:
[0126] When the first user is binding an associated user, the probability of possible binding of each user to be bound is different. Therefore, a pre-selected list of associated users is constructed, and when the first user is ready to input an associated user, associated users with a high probability of possible binding are preferentially pushed to the first user. The process of constructing the pre-selected list of associated users is as follows:
[0127] Pre-selected associated users who have an interactive relationship with the first user are obtained; the interactive relationship is, for example, a purchasing agent relationship, or a record of mutual chat on a sales platform; the pre-selected associated users are users who are to be recommended to the first user for association binding. Since the first user has different interaction depths with different users, users who are more likely to be bound are recommended more preferentially.
[0128] Obtain logistics information of multiple historical purchase records of the first user; historical purchase records are records of the first user purchasing goods on the goods sales platform, and historical purchase records include: types of goods purchased, quantity of goods, and logistics information, etc.; logistics information is: transportation information of goods, for example: to whom the goods are delivered. Parse the logistics information to obtain the number of receipts of the pre-selected associated user (for example: 5 times). The preset number of receipts-recommended value comparison list includes: multiple one-to-one corresponding numbers of receipts and first recommended values. The higher the number of receipts, the larger the first recommended value, and associate the first recommended value with the pre-selected associated user.
[0129] Get the sharing record of the first user and the pre-selected associated user; the sharing record is: the product link sharing record of the first user and the pre-selected associated user on the product sales platform. When sharing, there are two types of sharing: active sharing (the first user shares with the pre-selected associated user) and passive sharing (the pre-selected associated user shares with the first user). Get the shared products and sharing time of the corresponding analysis record when passive sharing (for example: the first user shares shoe B with A, and the sharing time is 10:00 on March 8, 2023). Extract multiple historical purchases and the purchase time of historical purchases from the historical purchase records (for example: the first user purchases shoe B, and the purchase time is 12:00 on March 8, 2023). According to the sharing time and the purchase time, determine in turn whether there is a shared product shared at the corresponding sharing time in the historical purchase products within the preset time length (for example: 24 hours) after each sharing time. If so, the count value of the preset counter is increased by 1. The preset counter is preset by hand, and the initial count value is 0. Get the count value of the counter after all judgments are completed (for example: 10). The preset count value-recommendation value library includes: multiple one-to-one corresponding count values and second recommended values. After all judgments are completed, the second recommended value corresponding to the count value of the counter is determined. The larger the count value, the larger the corresponding second recommended value. The second recommended value is associated with the pre-selected associated user.
[0130] The first recommendation value and the second recommendation value associated with the pre-selected associated user are cumulatively calculated to obtain a recommendation index; the larger the recommendation index, the more likely the corresponding pre-selected associated user is to be bound to the first user, and the pre-selected associated users are stored in a preset blank list in order of recommendation index from high to low to obtain a pre-selected list of associated users; the blank list is an empty data table with one column and multiple rows. The pre-selected list of associated users is displayed to the first user, and when displaying, the selection information of the first user (for example, which pre-selected associated user in the pre-selected associated list is selected) is obtained, and the associated user is determined according to the selection information.
[0131] The present application determines the first recommendation value for pre-selected associated users based on the number of receipts of associated users determined by logistics information and the introduced number of receipts-recommendation value comparison list, thereby improving the rationality of determining the first recommendation value; determines the second recommendation value based on the count value of the number of purchases of the shared product corresponding to the sharing record and the introduced count value-recommendation value library, thereby improving the suitability of determining the second recommendation value; constructs a pre-selected list of associated users in descending order according to the recommendation index jointly determined by the first recommendation value and the second recommendation value, thereby further improving the standardization of table construction and the efficiency of acquiring associated users.
[0132] The embodiment of the present invention provides a blockchain-based commodity sales credit payment method, wherein the step S6: determining whether to respond to a second payment request of an associated user of the first user comprises:
[0133] Obtaining the remaining associated amount of the associated user;
[0134] Determine whether to respond to the second payment request based on the remaining associated amount.
[0135] The working principle and beneficial effects of the above technical solution are:
[0136] The remaining associated credit of the associated user is obtained; the remaining associated credit is: the currently available credit of the associated user corresponding to the first user. It is more reasonable to determine whether to respond to the second payment request based on the remaining associated credit.
[0137] An embodiment of the present invention provides a blockchain-based commodity sales credit payment method, wherein judging whether to respond to the second payment request based on the remaining associated amount includes:
[0138] Obtaining a booking order that the associated user is ready to pay for;
[0139] Parsing the pre-order to obtain the price of the second product;
[0140] If the second commodity price is less than or equal to the remaining associated amount, responding to the second payment request corresponding to the associated user;
[0141] If the price of the second commodity is greater than the remaining associated amount, obtaining a first user associated with the associated user and using the first user as the second user;
[0142] sending the corresponding reservation order to the second user;
[0143] When the reservation order is transmitted to the smart terminal device of the second user, the second user is reminded to check the reservation order based on a preset reminder rule.
[0144] The working principle and beneficial effects of the above technical solution are:
[0145] While the associated payment has been widely used and provided convenience to everyone, there are also some unreasonable payment requests (for example, payments exceeding the associated amount), so not all second payment requests should be responded to. However, it is inconvenient to verify all second payment requests. Therefore, obtain the pre-order that the associated user is ready to pay (for example, a summary table containing multiple purchased items and corresponding prices) and obtain the price of the second product. If the price of the second product does not exceed the corresponding remaining associated amount, directly respond to the corresponding second payment request, otherwise, send the corresponding pre-order to the second user associated with the corresponding associated user. Remind the second user to check.
[0146] This application introduces a remaining associated credit limit. When an associated user exceeds the credit limit, the corresponding associated first user is reminded to check the corresponding reservation order. This avoids the associated user from making payments at will and can also respond to a reasonable second payment request in a timely manner.
[0147] The embodiment of the present invention provides a blockchain-based commodity sales credit payment method, wherein the reminding the second user to check the pre-order includes:
[0148] Continuously acquiring the sight point of the second user projected on the corresponding smart terminal device, and at the same time, acquiring the display partitions corresponding to the multiple purchase items in the reservation order displayed by the smart terminal device;
[0149] Calculate the fixation time when the sight point falls within each of the display partitions;
[0150] If the gaze time of at least one of the display partitions is less than a preset third threshold, the corresponding display partition is highlighted to remind the corresponding second user to check;
[0151] During the viewing process by the second user, continuously acquiring the facial image of the second user;
[0152] Extracting facial features from the facial image to obtain multiple facial features;
[0153] matching the facial feature with a rejection feature in a preset rejection feature library, and if there is a match, not responding to the second payment request corresponding to the associated user;
[0154] Otherwise, respond to the second payment request corresponding to the associated user.
[0155] The working principle and beneficial effects of the above technical solution are:
[0156] After the second user receives the pre-order, the sight points of the second user projected on the corresponding smart terminal device (for example, a smart phone) are continuously obtained; the sight points are obtained based on the sight tracking technology, which belongs to the prior art and can be implemented. The display partitions corresponding to multiple purchase items are obtained; the display partitions are: the display areas of each product in the pre-order on the smart terminal. Determine whether the gaze time of the acquired second user in each display partition is greater than a preset third threshold; the third threshold is preset manually, for example, 3 seconds. If not, the areas that the second user may ignore are highlighted; the highlighted display is: pre-set rules for highlighting the ignored areas to remind the second user to check.
[0157] During the second user's viewing process, facial images are continuously acquired and feature extraction is performed (based on feature extraction technology) to obtain the facial features of the second user. The facial features are matched with the rejection features in the preset rejection feature library (database, storing multiple facial rejection features). If there is a match, it means that the second user does not agree to the corresponding second payment request and does not respond. If the rejection features of the second user are not extracted, then the corresponding second payment request is responded to.
[0158] The present invention obtains the line of sight of the second user when viewing the pre-order of the associated user to remind the second user to view the missed goods, thereby avoiding omission of goods when viewing excess pre-orders, which is more reasonable; facial features and rejection feature libraries are introduced to intelligently judge the payment willingness of the second user, which is more appropriate.
[0159] The present invention provides a commodity sales credit payment control system based on blockchain, such as Figure 2 As shown, including:
[0160] ID data acquisition module 1, used to acquire ID data of a first user who inputs a first payment request;
[0161] A credit information determination module 2, configured to query a preset blockchain based on the ID data to determine the credit information of the first user;
[0162] A credit score determination module 3, used to determine the credit score of the first user according to the credit information;
[0163] A first response determination module 4, configured to determine whether to respond to the first payment request of the first user based on the credit score;
[0164] A construction module 5 is used to construct a pre-selected list of associated users, and obtain the associated users selected by the first user in the pre-selected list of associated users;
[0165] The second response judgment module 6 is used to judge whether to respond to the second payment request of the associated user of the first user.
[0166] The embodiment of the present invention provides a commodity sales credit payment control system based on blockchain, wherein the ID data acquisition module acquires the ID data of the first user who inputs the first payment request, including:
[0167] A face information acquisition module, used to acquire the face information of the first user based on face recognition technology;
[0168] The ID data determination module is used to query a preset face information database to determine the ID data corresponding to the face information.
[0169] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A commodity sales credit payment method based on blockchain, characterized in that: include: Step S1: Obtaining ID data of a first user who inputs a first payment request; Step S2: Based on the ID data, query the preset blockchain to determine the credit information of the first user; Step S3: determining the credit score of the first user according to the credit information; Step S4: Based on the credit score, determining whether to respond to the first payment request of the first user; Step S5: constructing a pre-selected list of associated users, and obtaining the associated users selected by the first user from the pre-selected list of associated users; Step S6: Determine whether to respond to the second payment request of the associated user of the first user; The step S3: determining the credit score of the first user according to the credit information, comprises: Based on a preset credit value determination rule, determining the credit value of the first user according to the credit information; Obtaining a preset time axis, and at the same time, obtaining the time at which the credit value corresponds to the credit information; Based on the generation time, marking the credit value on the time axis; Obtain the time distance between the generation time corresponding to the credit value and the current time; Obtaining a preset adjustment factor corresponding to the time distance; Assigning the adjustment factor corresponding to the credit value to obtain a credit degree, and accumulating and calculating the credit degree corresponding to the first user to obtain the credit score; The step S5: constructing a pre-selected list of associated users, and obtaining the associated users selected by the first user in the pre-selected list of associated users, comprises: Acquire pre-selected associated users who have an interactive relationship with the first user; Obtaining logistics information of multiple historical purchase records of the first user; Parsing the logistics information to obtain the number of times the pre-selected associated user received the goods; Querying a preset delivery number-recommended value comparison list, determining a first recommended value corresponding to the delivery number of the pre-selected associated user, and associating with the corresponding pre-selected associated user; Obtaining sharing records of the first user and the pre-selected associated users; Acquire the sharing type of the sharing record, where the sharing type includes: active sharing and passive sharing; When the sharing type is passive sharing, parsing the corresponding sharing record to obtain at least one shared product and the sharing time of the shared product; Extracting a plurality of historically purchased commodities and the purchase time of the historically purchased commodities from the historical purchase records; According to the sharing time and the purchase time, it is determined in turn whether there is a shared commodity shared at the corresponding sharing time in the historical purchase commodities within a preset time length after each sharing time, and if so, the count value of the preset counter is increased by 1; Obtaining the count value of the counter after all judgments are completed; Based on a preset count value-recommended value library, determine a second recommended value corresponding to the count value of the counter after all judgments are completed, and associate it with the corresponding pre-selected associated user; Accumulating and calculating the first recommendation value and the second recommendation value associated with the pre-selected associated user to obtain a recommendation index; The pre-selected associated users are stored in a preset blank list in order from high to low according to the corresponding recommendation indexes, to obtain the pre-selected list of associated users; Displaying the associated user pre-selected list to the first user, obtaining selection information of the first user during the display, and determining the associated user according to the selection information; The step S6: determining whether to respond to the second payment request of the associated user of the first user, comprises: Obtaining the remaining associated amount of the associated user; determining whether to respond to the second payment request according to the remaining associated amount; The determining, according to the remaining associated amount, whether to respond to the second payment request includes: Obtaining a booking order that the associated user is ready to pay for; Parsing the pre-order to obtain the price of the second product; If the second commodity price is less than or equal to the remaining associated amount, responding to the second payment request corresponding to the associated user; If the price of the second commodity is greater than the remaining associated amount, obtaining the first user associated with the associated user and using the first user as the second user; sending the corresponding reservation order to the second user; When the reservation order is transmitted to the smart terminal device of the second user, the second user is reminded to check the reservation order based on a preset reminder rule; The reminding the second user to check the reservation order includes: Continuously acquiring the sight point of the second user projected on the corresponding smart terminal device, and at the same time, acquiring the display partitions corresponding to the multiple purchase items in the pre-order displayed by the smart terminal device; Calculate the fixation time when the sight point falls within each of the display partitions; If the gaze time of at least one of the display partitions is less than a preset third threshold, the corresponding display partition is highlighted to remind the corresponding second user to check; During the viewing process by the second user, continuously acquiring the facial image of the second user; Extracting facial features from the facial image to obtain multiple facial features; matching the facial feature with a rejection feature in a preset rejection feature library, and if there is a match, not responding to the second payment request corresponding to the associated user; Otherwise, respond to the second payment request corresponding to the associated user.
2. A blockchain-based commodity sales credit payment method as claimed in claim 1, characterized in that: The step S1: obtaining the ID data of the first user who inputs the first payment request, comprises: Based on face recognition technology, obtaining the face information of the first user; Query a preset face information database to determine the ID data corresponding to the face information.
3. A blockchain-based commodity sales credit payment method as claimed in claim 1, characterized in that: The step S4: judging whether to respond to the first payment request of the first user based on the credit score, comprises: Querying a preset credit score-total payment limit database to determine the total payment limit corresponding to the credit score, and at the same time, obtaining the spending limit of the first user; Calculate the difference between the total payment amount and the corresponding expenditure amount, and use it as the remaining payment amount of the first user; Obtaining a first commodity price of the commodity purchased by the first user, and if the remaining payment amount is greater than or equal to the first commodity price, responding to the first payment request to complete the payment; Otherwise, no response.
4. A commodity sales credit payment control system based on blockchain, characterized in that: include: An ID data acquisition module, used to acquire ID data of a first user who inputs a first payment request; A credit information determination module, configured to query a preset blockchain based on the ID data to determine the credit information of the first user; a credit score determination module, configured to determine the credit score of the first user according to the credit information; A first response determination module, configured to determine whether to respond to the first payment request of the first user based on the credit score; A construction module, configured to construct a pre-selected list of associated users, and obtain the associated users selected by the first user in the pre-selected list of associated users; A second response determination module, used to determine whether to respond to a second payment request of an associated user of the first user; The credit score determination module performs the following operations: Based on a preset credit value determination rule, determining the credit value of the first user according to the credit information; Obtaining a preset time axis, and at the same time, obtaining the time at which the credit value corresponds to the credit information; Based on the generation time, marking the credit value on the time axis; Obtain the time distance between the generation time corresponding to the credit value and the current time; Obtaining a preset adjustment factor corresponding to the time distance; Assigning the adjustment factor corresponding to the credit value to obtain a credit degree, and accumulating and calculating the credit degree corresponding to the first user to obtain the credit score; The build module performs the following operations: Acquire pre-selected associated users who have an interactive relationship with the first user; Obtaining logistics information of multiple historical purchase records of the first user; Parsing the logistics information to obtain the number of times the pre-selected associated user received the goods; Querying a preset delivery number-recommended value comparison list, determining a first recommended value corresponding to the delivery number of the pre-selected associated user, and associating with the corresponding pre-selected associated user; Obtaining sharing records of the first user and the pre-selected associated users; Acquire the sharing type of the sharing record, where the sharing type includes: active sharing and passive sharing; When the sharing type is passive sharing, parsing the corresponding sharing record to obtain at least one shared product and the sharing time of the shared product; Extracting a plurality of historically purchased commodities and the purchase time of the historically purchased commodities from the historical purchase records; According to the sharing time and the purchase time, it is determined in turn whether there is a shared commodity shared at the corresponding sharing time in the historical purchase commodities within a preset time length after each sharing time, and if so, the count value of the preset counter is increased by 1; Obtaining the count value of the counter after all judgments are completed; Based on a preset count value-recommended value library, determine a second recommended value corresponding to the count value of the counter after all judgments are completed, and associate it with the corresponding pre-selected associated user; Accumulating and calculating the first recommendation value and the second recommendation value associated with the pre-selected associated user to obtain a recommendation index; The pre-selected associated users are stored in a preset blank list in order from high to low according to the corresponding recommendation indexes, to obtain the pre-selected list of associated users; Displaying the associated user pre-selected list to the first user, obtaining selection information of the first user during the display, and determining the associated user according to the selection information; The second response judgment module performs the following operations: Obtaining the remaining associated amount of the associated user; determining whether to respond to the second payment request according to the remaining associated amount; The determining, according to the remaining associated amount, whether to respond to the second payment request includes: Obtaining a booking order that the associated user is ready to pay for; Parsing the pre-order to obtain the price of the second product; If the price of the second commodity is less than or equal to the remaining associated amount, responding to the second payment request corresponding to the associated user; If the price of the second commodity is greater than the remaining associated amount, obtaining the first user associated with the associated user and using the first user as the second user; sending the corresponding reservation order to the second user; When the reservation order is transmitted to the smart terminal device of the second user, the second user is reminded to check the reservation order based on a preset reminder rule; The reminding the second user to check the reservation order includes: Continuously acquiring the sight point of the second user projected on the corresponding smart terminal device, and at the same time, acquiring the display partitions corresponding to the multiple purchase items in the pre-order displayed by the smart terminal device; Calculate the fixation time when the sight point falls within each of the display partitions; If the gaze time of at least one of the display partitions is less than a preset third threshold, the corresponding display partition is highlighted to remind the corresponding second user to check; During the viewing process by the second user, continuously acquiring the facial image of the second user; Extracting facial features from the facial image to obtain multiple facial features; matching the facial feature with a rejection feature in a preset rejection feature library, and if there is a match, not responding to the second payment request corresponding to the associated user; Otherwise, respond to the second payment request corresponding to the associated user.
5. A commodity sales credit payment control system based on blockchain as claimed in claim 4, characterized in that: The ID data acquisition module acquires the ID data of the first user who inputs the first payment request, including: A face information acquisition module, used to acquire the face information of the first user based on face recognition technology; The ID data determination module is used to query a preset face information database to determine the ID data corresponding to the face information.
