User purchase restriction method and system based on two-dimensional code
Through the user purchase restriction system based on QR codes, we collect and analyze user purchasing behavior data and dynamically adjust the purchase restriction strategy, which solves the problem that the existing purchase restriction strategy cannot respond to market changes in a timely manner, realizes personalized and intelligent purchase restriction management, and prevents hoarding. goods and misuse of resources.
Patent Information
- Application Number
- CN202411133038.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-09-24
AI Technical Summary
Existing purchase restriction strategies lack in-depth analysis and dynamic adjustment capabilities for individual user behaviors, and are unable to respond to market changes and user behavior changes in a timely manner, resulting in the inability to effectively prevent hoarding and resource abuse.
Adopt a user purchase limit system based on QR codes, collect user identity information to establish configuration information files, record the user's purchase quantity, location and time and other detailed information, set cycle purchase indicators, and dynamically adjust the purchase limit strategy based on real-time analysis to achieve Personalized management.
It realizes personalized purchase limit management for different users, effectively prevents hoarding and abuse of resources, improves the flexibility and accuracy of purchase limit management, and can respond to market changes and user needs in a timely manner.
Smart Images

Figure CN118691379A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent management technology, and in particular to a user purchase restriction method and system based on QR codes. Background Art
[0002] With the rapid development of e-commerce and mobile payments, consumers' purchasing behaviors have become more frequent and complex. However, an important issue facing merchants is how to effectively manage purchase limit policies to prevent hoarding and abuse of resources. This problem is particularly prominent in promotional activities and the sale of scarce goods. Traditional purchase limit methods are mainly based on fixed quantity restrictions and lack the ability to flexibly adjust to different user behaviors and specific purchasing patterns.
[0003] Fixed purchase limits cannot adapt to the purchasing needs and behavior patterns of different users, which may easily lead to some users being unable to meet their needs, while other users may take advantage of purchase limit loopholes to make large purchases. Different users have different purchasing habits and needs. The existing purchase limit strategy lacks the ability to deeply analyze and dynamically adjust individual user behaviors, and cannot achieve truly personalized management. The current purchase limit strategy mainly relies on manual settings and post-analysis, lacks the ability to analyze real-time data and dynamically adjust, resulting in merchants being unable to respond to market changes and changes in user behavior in a timely manner.
[0004] Therefore, it is necessary to design a user purchase restriction method and system based on QR code to solve the problems existing in the current technology. Summary of the invention
[0005] In view of this, the present invention proposes a user purchase restriction method system based on QR code, aiming to solve the problem that the current purchase restriction strategy is lagging and lacks a feedback adjustment mechanism, resulting in merchants being unable to respond to market changes and user behavior changes in a timely manner.
[0006] The present invention proposes a user purchase restriction system based on a QR code, comprising: a collection unit configured to collect user identity information and establish a configuration information file according to the user identity information, wherein the collection unit assigns a QR code to the configuration information file, wherein the configuration information file includes the user's historical purchase behavior and a periodic purchase limit indicator, wherein the user's historical purchase behavior includes a purchase quantity, a purchase location, and a purchase time; A judgment unit is configured to collect a configuration information file of the user identified by the QR code, analyze the configuration information file and judge whether the current purchase behavior meets the periodic purchase limit index; when the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file; The judgment unit is further configured to analyze the configuration information file to determine whether to adjust the periodic purchase limit indicator if the current purchase behavior is the final indicator in the periodic purchase limit indicator or reaches a periodic node; an adjustment unit configured to analyze the purchase quantity in each period and determine whether to adjust the period purchase limit indicator when the purchase locations in the configuration information file are consistent; The adjustment unit is further configured to analyze the purchase locations and purchase quantities in each period and determine whether to adjust the period purchase restriction index when the purchase locations in the configuration information file are inconsistent.
[0007] Furthermore, when the collecting unit collects the user identity information and creates a configuration information file according to the user identity information, it includes: The user age is obtained according to the user identity information, and the periodic purchase limit index in the configuration information file is determined according to the user age. The periodic purchase limit index is calculated by the following formula:
[0008] Among them, E represents the periodic purchase restriction index, Qmax represents the maximum value of the periodic purchase restriction index, Qmax corresponds to Amax, A represents the user age, Amax represents the age at which the maximum periodic purchase restriction index is reached, k represents the normal distribution width adjustment parameter, D represents the purchasing power index of the user's location, and Dmax represents the maximum value of the purchasing power index.
[0009] Furthermore, when the judgment unit analyzes the configuration information file to judge whether the current purchase behavior meets the periodic purchase restriction index, it includes: When the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file, and updates the periodic purchase limit index; When the current purchase behavior is not within the periodic purchase limit index, the judgment unit rejects the purchase behavior and closes the payment channel.
[0010] Furthermore, the judgment unit analyzes the purchase quantity in each period and judges whether to adjust the period purchase limit index, including: Select the maximum purchase quantity in each period as the center point, and arrange the purchase quantities in the remaining periods in chronological order into a square matrix of a*a, where a is an odd number; The neighborhood range is determined with the central point as the center and (a-1) / 2 as the radius; Calculate the average number of neighborhoods according to the temperature values of each coordinate point within the neighborhood; Compare the neighborhood average quantity with the purchase quantity corresponding to the center point, and determine whether to adjust the periodic purchase limit indicator according to the comparison result; When the neighborhood average quantity is greater than b% of the purchase quantity corresponding to the center point or less than (1-b%) of the purchase quantity corresponding to the center point, the judgment unit determines to adjust the periodic purchase limit indicator; When the neighborhood average quantity is greater than or equal to (1-b%) of the purchase quantity corresponding to the center point and less than or equal to b% of the purchase quantity corresponding to the center point, the judgment unit determines not to adjust the periodic purchase restriction indicator.
[0011] Furthermore, the average number of neighborhoods is calculated by the following formula:
[0012] in, represents the average number of neighbors, r represents the neighborhood radius, ( , ) represents the coordinates of the center point, Indicates the square The purchase quantity of points.
[0013] Further, when the purchase locations in the configuration information file are consistent and it is determined that the periodic purchase limit index is to be adjusted, the adjustment unit includes: When the neighborhood average quantity is greater than b% of the purchase quantity corresponding to the center point, the adjustment unit selects an increase coefficient according to the excess difference to adjust the periodic purchase limit index, the excess difference is proportional to the increase coefficient, and the excess difference is the difference between the neighborhood average quantity and b% of the purchase quantity corresponding to the center point; When the average quantity in the neighborhood is less than (1-b%) of the purchase quantity corresponding to the center point, the adjustment unit selects a reduction coefficient according to the reduction difference to adjust the periodic purchase limit index, and the reduction coefficient is inversely proportional to the reduction difference, and the reduction difference is the difference between (1-b%) of the purchase quantity corresponding to the center point and the average quantity in the neighborhood.
[0014] Furthermore, the adjustment unit analyzes the purchase location and purchase quantity in each period and determines whether to adjust the period purchase limit index, including: The adjustment unit takes the purchase location corresponding to the maximum purchase quantity as the center and calculates the distances between the remaining purchase locations and the center;
[0015] Where Ln represents the distance from the nth purchase location to the center; (h0, z0) represents the coordinate position of the purchase location corresponding to the maximum purchase quantity; (hn, zn) represents the coordinate position of the nth purchase location; Calculate the impact weight of each purchase location;
[0016] Among them, Pn represents the influence weight of the purchase quantity at the nth purchase location, and w represents the standard deviation; Calculate the overall purchase quantity;
[0017] Among them, m represents the total number of purchase locations, Sn represents the purchase quantity at the nth purchase location, and Z represents the overall purchase quantity.
[0018] Furthermore, when the adjustment unit analyzes the purchase location and purchase quantity in each period and determines whether to adjust the period purchase limit indicator, it also includes: The adjustment unit compares the overall purchase quantity with the periodic purchase limit index, and determines whether to adjust the periodic purchase limit index according to the comparison result; When the total purchase quantity is greater than b% of the periodic purchase limit index, the adjustment unit determines to adjust the periodic purchase limit index; When the total purchase quantity is less than or equal to b% of the periodic purchase limit index, the adjustment unit determines not to adjust the periodic purchase limit index.
[0019] Further, when the purchase locations in the configuration information file are inconsistent and it is determined that the periodic purchase limit indicator is to be adjusted, the adjustment unit includes: A cross-regional excess difference is obtained according to the overall purchase quantity and the periodic purchase limit index, and a cross-regional reduction coefficient is determined according to the cross-regional excess difference to adjust the periodic purchase limit index, the cross-regional reduction coefficient is inversely proportional to the cross-regional excess difference, and the cross-regional excess difference is the difference between the overall purchase quantity and the periodic purchase limit index by b%.
[0020] Compared with the prior art, the beneficial effects of the present invention are: by collecting user identity information through the collection unit and establishing a configuration information file based on this information, a unique QR code is assigned to each configuration information file, which can realize dynamic monitoring and analysis of the user's historical purchase behavior. By recording the user's purchase quantity, location and time and other detailed information, and setting periodic purchase limit indicators based on these data, personalized purchase limit management can be implemented for the purchase behavior of different users. When the user scans the QR code when making a purchase, the judgment unit can judge in real time whether his purchase behavior meets the periodic purchase limit indicators and update the configuration information file in time. It can effectively prevent the phenomenon of hoarding and abuse of resources, and can also dynamically adjust the purchase limit indicators at the periodic nodes, so as to better adapt to market changes and user needs, improve the flexibility and accuracy of purchase limit management, and realize a more personalized and intelligent purchase limit strategy.
[0021] On the other hand, the present application also provides a QR code-based user purchase restriction method, which is applied to the above-mentioned QR code-based user purchase restriction system, including: Collecting user identity information and establishing a configuration information file according to the user identity information, assigning a QR code to the configuration information file, wherein the configuration information file includes the user's historical purchase behavior and a periodic purchase limit indicator, wherein the user's historical purchase behavior includes the purchase quantity, purchase location, and purchase time; Collecting the configuration information file of the user identified by the QR code, analyzing the configuration information file to determine whether the current purchase behavior meets the periodic purchase limit index; when the current purchase behavior is within the periodic purchase limit index, allowing the purchase behavior and adding the current purchase behavior record to the configuration information file; If the current purchase behavior is the final indicator of the periodic purchase limit indicator or reaches a periodic node, the configuration information file is analyzed to determine whether to adjust the periodic purchase limit indicator; When the purchase locations in the configuration information file are consistent, analyzing the purchase quantity in each period and determining whether to adjust the period purchase limit indicator; When the purchase locations in the configuration information file are inconsistent, the purchase locations and purchase quantities in each period are analyzed, and it is determined whether to adjust the period purchase limit index.
[0022] It can be understood that the above-mentioned QR code-based user purchase restriction method and system have the same beneficial effects, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A functional block diagram of a user purchase restriction system based on a QR code provided by an embodiment of the present invention; Figure 2 A flowchart of a QR code-based user purchase restriction method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] With the rapid development of e-commerce and mobile payments, consumers' purchasing behavior has become more frequent and complex. An important problem facing merchants is how to effectively manage purchase restriction strategies to prevent hoarding and abuse of resources. This problem is particularly prominent in promotional activities and the sale of scarce goods. The existing purchase restriction methods are mainly based on fixed quantity restrictions. The fixed purchase limit quantity cannot adapt to the purchasing needs and behavior patterns of different users, resulting in some users being unable to meet their needs. For example, most of the current purchase restriction strategies are one-region-one-policy, that is, different regions formulate different purchase restriction strategies based on economic indicators, and buyers stock up through different regions. In addition, different users have different purchasing habits and needs. The existing purchase restriction strategies lack the ability to deeply analyze and dynamically adjust individual user behaviors, and cannot achieve true personalized management. The lack of real-time data analysis and dynamic adjustment capabilities makes it impossible for merchants to respond to market changes and changes in user behavior in a timely manner. Therefore, it is necessary to design a user purchase restriction method and system based on QR code to solve the problems existing in current technology.
[0026] In some embodiments of the present application, see Figure 1 As shown, a user purchase restriction system based on a QR code includes: a collection unit, a judgment unit and an adjustment unit. Among them: The collection unit is configured to collect user identity information and establish a configuration information file based on the user identity information. The collection unit assigns a QR code to the configuration information file. The configuration information file includes the user's historical purchase behavior and periodic purchase limit indicators. The user's historical purchase behavior includes purchase quantity, purchase location and purchase time.
[0027] The judgment unit is configured to collect the configuration information file of the user identified by the QR code, analyze the configuration information file to determine whether the current purchase behavior meets the periodic purchase limit index. When the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file. The judgment unit is also configured to analyze the configuration information file to determine whether to adjust the periodic purchase limit index if the current purchase behavior is the final index in the periodic purchase limit index or reaches the periodic node.
[0028] The adjustment unit is configured to analyze the purchase quantity in each period and determine whether to adjust the period purchase limit indicator when the purchase locations in the configuration information file are consistent. The adjustment unit is also configured to analyze the purchase location and purchase quantity in each period and determine whether to adjust the period purchase limit indicator when the purchase locations in the configuration information file are inconsistent.
[0029] Specifically, the collection unit collects basic information of the user to create a unique identification of the user. Based on the user identity information, a configuration information file containing the user's historical purchase behavior and the periodic purchase limit index is created. A unique QR code is assigned to each configuration information file as the entry point of the user's purchase behavior. The user's historical purchase behavior records the user's purchase quantity, purchase location, purchase time and other detailed information for analysis and purchase limit management. The periodic purchase limit index sets the purchase limit quantity and conditions of the user in a specific period to ensure the personalization and dynamic adjustment of the purchase limit strategy. When the user scans the QR code when purchasing, the judgment unit identifies the user's configuration information file. The user's current purchase behavior is analyzed to determine whether it meets the preset periodic purchase limit index. If the current purchase behavior is within the periodic purchase limit index, the user is allowed to purchase and the behavior is recorded in the configuration information file to keep the data updated in real time. When the user's current purchase behavior reaches the final index or period node of the periodic purchase limit index, the final index includes the user's final purchase times or purchase quantity. The period node is the time node required in the periodic purchase limit index, and the adjustment unit conducts a comprehensive analysis of the configuration information file. If the user's purchase location is consistent, the purchase quantity in each period will be analyzed to determine whether the purchase limit index needs to be adjusted. If the user's purchase location is inconsistent, the purchase location and purchase quantity in each period will be analyzed to determine whether the purchase limit indicator needs to be adjusted.
[0030] It is understandable that purchase behavior includes the current purchase quantity of the user or the number of purchases within the periodic purchase limit index. By collecting and analyzing the user's purchase data, it is possible to formulate personalized purchase limit strategies for different users to effectively prevent hoarding and abuse of resources. With the ability to analyze data in real time and dynamically adjust, it can respond to market changes and changes in user behavior in a timely manner to ensure the flexibility and effectiveness of the purchase limit strategy. By recording the user's detailed purchase behavior and periodic purchase limit indicators, it is possible to effectively identify and prevent users from taking advantage of purchase limit loopholes to make large purchases. Personalized and dynamically adjusted purchase limit strategies can better meet the user's purchasing needs and improve the user's shopping experience and satisfaction.
[0031] In some embodiments of the present application, when the collection unit collects user identity information and establishes a configuration information file according to the user identity information, it includes: obtaining the user age according to the user identity information, determining the periodic purchase limit index in the configuration information file according to the user age, and the periodic purchase limit index is calculated by the following formula:
[0032] Among them, E represents the periodic purchase restriction index, Qmax represents the maximum value of the periodic purchase restriction index, Qmax corresponds to Amax, A represents the user age, Amax represents the age at which the maximum periodic purchase restriction index is reached, k represents the normal distribution width adjustment parameter, D represents the purchasing power index of the user's location, and Dmax represents the maximum value of the purchasing power index.
[0033] It is understandable that the user's age data is extracted from the user's identity information. The user's age data is used to calculate the periodic purchase restriction index to ensure that the purchase restriction strategy is personalized according to the user's age. The purchase restriction index is determined based on the user's age and the purchasing power of the location, so that the purchase restriction strategy is more in line with the user's actual needs. The purchase restriction index is calculated through normal distribution to ensure that the purchase restriction strategy can flexibly respond to user behavior and market changes.
[0034] In some embodiments of the present application, when the judgment unit analyzes the configuration information file to judge whether the current purchase behavior meets the periodic purchase limit index, it includes: when the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file, and updates the periodic purchase limit index. When the current purchase behavior is not within the periodic purchase limit index, the judgment unit rejects the purchase behavior and closes the payment channel.
[0035] It is understandable that if the current purchase behavior meets the purchase limit index, the user is allowed to make the purchase, and the current purchase behavior record is added to the configuration information file. The update of this record helps to continuously maintain the user's purchase history and behavior data. At the same time, the system will update the periodic purchase limit index so that the analysis and judgment of subsequent purchase behavior can reflect the latest purchase limit strategy. If the current purchase behavior does not meet the purchase limit index, the user's purchase request will be rejected and the payment channel will be closed immediately to ensure that the user cannot complete the transaction. Prevent purchases that exceed the purchase limit index from occurring. By strictly enforcing the purchase limit index, users can be effectively prevented from hoarding and abusing resources, and market order can be maintained. The allowed purchase behavior will be recorded and updated in the configuration information file to ensure the accuracy and real-time nature of the data, which will help adjust the subsequent strategy. Automatic judgment and processing of user purchase requests reduces manual intervention and improves management efficiency and response speed.
[0036] In some embodiments of the present application, when the judgment unit analyzes the purchase quantity in each period and judges whether to adjust the periodic purchase limit indicator, it includes: Select the maximum purchase quantity in each period as the center point, and arrange the purchase quantities in the remaining periods in chronological order into a square matrix of a*a, where a is an odd number.
[0037] The neighborhood range is determined with the center point as the center and (a-1) / 2 as the radius.
[0038] Calculate the average number of neighborhoods based on the temperature values of each coordinate point within the neighborhood.
[0039] Compare the average quantity in the neighborhood with the purchase quantity corresponding to the center point, and determine whether to adjust the periodic purchase limit indicator based on the comparison results.
[0040] When the average quantity of the neighborhood is greater than b% of the purchase quantity corresponding to the center point or less than (1-b%) of the purchase quantity corresponding to the center point, the judgment unit determines to adjust the periodic purchase limit indicator.
[0041] When the average quantity of the neighborhood is greater than or equal to (1-b%) of the purchase quantity corresponding to the center point and less than or equal to b% of the purchase quantity corresponding to the center point, the judgment unit determines not to adjust the periodic purchase limit indicator.
[0042] In some embodiments of the present application, the average number of neighborhoods is calculated by the following formula:
[0043] in, represents the average number of neighbors, r represents the neighborhood radius, ( , ) represents the coordinates of the center point, Indicates the square The purchase quantity of points.
[0044] In some embodiments of the present application, when the purchase location in the configuration information file is consistent, and it is determined that the periodic purchase limit indicator is adjusted, it includes: when the average quantity of the neighborhood is greater than b% of the purchase quantity corresponding to the center point, the periodic purchase limit indicator is adjusted according to the excess difference by selecting an increase coefficient, the excess difference is proportional to the increase coefficient, and the excess difference is the difference between the average quantity of the neighborhood and b% of the purchase quantity corresponding to the center point. When the average quantity of the neighborhood is less than (1-b%) of the purchase quantity corresponding to the center point, the periodic purchase limit indicator is adjusted according to the reduction difference, the reduction coefficient is inversely proportional to the reduction difference, and the reduction difference is the difference between (1-b%) of the purchase quantity corresponding to the center point and the average quantity of the neighborhood.
[0045] Specifically, in each cycle, first find the maximum purchase quantity and use it as the center point of the analysis. This maximum value represents the highest purchase demand in that cycle. Arrange the purchase quantities in the remaining cycles in chronological order into a square matrix, where a is an odd number. This can form a symmetrical square matrix, which is convenient for subsequent neighborhood analysis. If the parameters are not enough to form a square matrix, the interpolation method is used to complete the data. By calculating the average number of neighbors near the center point, the local market demand in the area where the center point is located can be accurately reflected, the fluctuations within a single cycle can be smoothed, and excessive adjustments to the purchase restriction indicators due to abnormal purchase behavior within a single cycle can be prevented. By expanding to purchase data in multiple cycles around the center point, the excessive impact of the maximum purchase quantity in a single cycle on the purchase restriction strategy is effectively reduced.
[0046] Specifically, the increase coefficient is greater than 1, and the decrease coefficient is greater than zero and less than 1. For example, the excess difference is compared with the first preset excess difference and the second preset excess difference respectively, and the increase coefficient is determined to adjust the periodic purchase restriction index according to the comparison result, and the first preset excess difference is less than the second preset excess difference. When the excess difference is less than or equal to the first preset excess difference, the first increase coefficient is determined to adjust the periodic purchase restriction index, when the excess difference is greater than the first preset excess difference and less than or equal to the second preset excess difference, the second increase coefficient is determined to adjust the periodic purchase restriction index, and when the excess difference is greater than the second preset excess difference, the third increase coefficient is determined to adjust the periodic purchase restriction index. The first increase coefficient is less than the second increase coefficient, and the second increase coefficient is less than the third increase coefficient.
[0047] It is understandable that through neighborhood analysis and dynamic adjustment strategies, the periodic purchase restriction indicators can be accurately adjusted according to the distribution of actual purchase quantities, avoiding overly rigid or overly loose purchase restriction strategies. By analyzing the purchase quantity in each cycle in real time, it is possible to quickly respond to changes in market demand and improve the flexibility and adaptability of the purchase restriction strategy.
[0048] In some embodiments of the present application, the adjustment unit analyzes the purchase location and purchase quantity in each period and determines whether to adjust the period purchase limit indicator, including: The adjustment unit takes the purchase location corresponding to the maximum purchase quantity as the center and calculates the distances between the remaining purchase locations and the center.
[0049]
[0050] Where Ln represents the distance from the nth purchase location to the center. (h0, z0) represents the coordinate position of the purchase location corresponding to the maximum purchase quantity, and (hn, zn) represents the coordinate position of the nth purchase location.
[0051] Calculate the impact weight of each purchase location.
[0052]
[0053] Among them, Pn represents the influence weight of the purchase quantity at the nth purchase location, and w represents the standard deviation.
[0054] Calculate the overall purchase quantity.
[0055]
[0056] Among them, m represents the total number of purchase locations, Sn represents the purchase quantity at the nth purchase location, and Z represents the overall purchase quantity.
[0057] In some embodiments of the present application, when the adjustment unit analyzes the purchase location and purchase quantity within each period and determines whether to adjust the periodic purchase limit index, it also includes: the adjustment unit compares the overall purchase quantity with the periodic purchase limit index, and determines whether to adjust the periodic purchase limit index based on the comparison result.
[0058] Specifically, when the total purchase quantity is greater than b% of the periodic purchase limit index, the adjustment unit determines to adjust the periodic purchase limit index. When the total purchase quantity is less than or equal to b% of the periodic purchase limit index, the adjustment unit determines not to adjust the periodic purchase limit index.
[0059] In some embodiments of the present application, when the purchase locations in the configuration information file are inconsistent and it is determined that the periodic purchase limit index is to be adjusted, the adjustment unit includes: obtaining a cross-regional excess difference based on the overall purchase quantity and the periodic purchase limit index, determining a cross-regional reduction coefficient based on the cross-regional excess difference to adjust the periodic purchase limit index, the cross-regional reduction coefficient is inversely proportional to the cross-regional excess difference, and the cross-regional excess difference is the difference between the overall purchase quantity and the periodic purchase limit index by b%.
[0060] Specifically, when the purchase location is in the same location, it means that the user makes repeated purchases at the same location. The adjustment in this case focuses on the relationship between the purchase behavior at a single location and the periodic purchase restriction indicator. The purchase behavior at the same location reflects the market demand and user behavior pattern of the location. The purchase data concentrated on a single location is more consistent and stable, and can more accurately reflect the periodic purchase pattern of the location. Through the analysis of the average number of neighborhoods, the purchase fluctuations and trends of the location in different cycles can be effectively detected. When the purchase locations are in different locations, it means that the user purchases at multiple locations. The adjustment in this case needs to consider the purchase behavior and comprehensive impact between different locations. The purchase behavior at different locations reflects the cross-regional market demand and user behavior pattern. The data at different locations has more variability and complexity, and it is necessary to comprehensively consider the overall purchase quantity and the impact weight of each location. Through the analysis of cross-regional excess difference, the overall purchase restriction strategy can be effectively adjusted to balance the market demand of different regions.
[0061] It is understandable that the way the purchase location is adjusted in the same location accurately reflects the purchase demand and fluctuations in a single location, and makes precise purchase restriction adjustments. Through the dynamic adjustment of the increase and decrease coefficients, ensure that the purchase restriction indicators are closely matched with actual demand. It helps to prevent resource hoarding and overconsumption in a single location and maintain market balance. The way the purchase location is adjusted in different locations comprehensively considers the purchase behavior of multiple locations and reflects the cross-regional market demand. Through the calculation of the impact weight, the purchase contribution of different locations is accurately evaluated, and reasonable purchase restriction adjustments are made. Dynamic adjustment of cross-regional purchase restriction indicators helps to balance resource allocation in different regions.
[0062] It is understandable that through the analysis of the average number of neighborhoods and the overall purchase quantity, dynamic adjustments are made for single-location and cross-regional purchase behaviors to ensure that the purchase restriction indicators match actual demand. Avoid excessive concentration or waste of resources, maintain the balance of single-location and cross-regional markets, and ensure fair competition. According to the characteristics of different purchase locations, different adjustment methods are adopted to make the purchase restriction strategy more flexible and adaptable, and able to respond to market changes in real time.
[0063] It is understandable that the real-time analysis and adjustment capabilities enable the purchase restriction strategy to respond quickly to market changes and maintain the flexibility and adaptability of the strategy. By considering the influence weight of each purchase location and comparing the overall purchase quantity, it is possible to determine the differences in user purchases in different regions and adjust the periodic purchase restriction indicators according to actual conditions, thus avoiding users from stockpiling goods across regions.
[0064] In the above embodiment, the user identity information is collected by the collection unit and a configuration information file is established based on this information. A unique QR code is assigned to each configuration information file, which can realize dynamic monitoring and analysis of the user's historical purchase behavior. By recording the user's purchase quantity, location, time and other detailed information, and setting the periodic purchase limit index based on these data, personalized purchase limit management is realized for the purchase behavior of different users. When the user scans the QR code when making a purchase, the judgment unit can judge in real time whether his purchase behavior meets the periodic purchase limit index and update the configuration information file in time. It can effectively prevent the phenomenon of hoarding and abuse of resources, and can also dynamically adjust the purchase limit index at the periodic node, so as to better adapt to market changes and user needs, improve the flexibility and accuracy of purchase limit management, and realize a more personalized and intelligent purchase limit strategy.
[0065] On the other hand, see Figure 2 As shown, the present application also provides a user purchase restriction method based on a QR code, which is applied to the above-mentioned user purchase restriction system based on a QR code, including: S100: Collecting user identity information and establishing a configuration information file according to the user identity information, assigning a QR code to the configuration information file, the configuration information file including the user's historical purchase behavior and periodic purchase limit indicators, the user's historical purchase behavior including purchase quantity, purchase location and purchase time; S200: Collect the configuration information file of the user identified by the QR code, analyze the configuration information file to determine whether the current purchase behavior meets the periodic purchase limit index; if the current purchase behavior is within the periodic purchase limit index, allow the purchase behavior and add the current purchase behavior record to the configuration information file; S300: If the current purchase behavior is the final indicator in the periodic purchase limit indicator or reaches the periodic node, the configuration information file is analyzed to determine whether to adjust the periodic purchase limit indicator; when the purchase location in the configuration information file is consistent, the purchase quantity in each period is analyzed to determine whether to adjust the periodic purchase limit indicator; when the purchase location in the configuration information file is inconsistent, the purchase location and purchase quantity in each period are analyzed to determine whether to adjust the periodic purchase limit indicator.
[0066] It is understandable that by collecting user identity information and establishing a configuration information file based on this information, and assigning a unique QR code to each configuration information file, it is possible to dynamically monitor and analyze the user's historical purchasing behavior. By recording the user's purchase quantity, location, time and other detailed information, and setting periodic purchase limit indicators based on these data, merchants can conduct personalized purchase limit management for different users' purchase behaviors. When a user scans a QR code to make a purchase, it can be determined in real time whether their purchase behavior meets the periodic purchase limit indicators, and the configuration information file can be updated in a timely manner. It can effectively prevent hoarding and abuse of resources, and can also dynamically adjust the purchase limit indicators at periodic nodes or under specific conditions, so as to better adapt to market changes and user needs, improve the flexibility and accuracy of purchase limit management, and achieve a more personalized and intelligent purchase limit strategy.
[0067] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0068] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0069] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0070] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A user purchase restriction system based on QR code, characterized in that: include: a collection unit configured to collect user identity information and establish a configuration information file according to the user identity information, wherein the collection unit assigns a QR code to the configuration information file, wherein the configuration information file includes the user's historical purchase behavior and a periodic purchase limit indicator, wherein the user's historical purchase behavior includes a purchase quantity, a purchase location, and a purchase time; A judgment unit is configured to collect a configuration information file of the user identified by the QR code, analyze the configuration information file and judge whether the current purchase behavior meets the periodic purchase limit index; when the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file; The judgment unit is further configured to analyze the configuration information file to determine whether to adjust the periodic purchase limit indicator if the current purchase behavior is the final indicator in the periodic purchase limit indicator or reaches a periodic node; an adjustment unit configured to analyze the purchase quantity in each period and determine whether to adjust the period purchase limit indicator when the purchase locations in the configuration information file are consistent; The adjustment unit is further configured to analyze the purchase locations and purchase quantities in each period and determine whether to adjust the period purchase restriction index when the purchase locations in the configuration information file are inconsistent.
2. The user purchase restriction system based on QR code according to claim 1 is characterized in that: When the collecting unit collects the user identity information and creates a configuration information file according to the user identity information, it includes: The user age is obtained according to the user identity information, and the periodic purchase limit index in the configuration information file is determined according to the user age. The periodic purchase limit index is calculated by the following formula: Among them, E represents the periodic purchase restriction index, Qmax represents the maximum value of the periodic purchase restriction index, Qmax corresponds to Amax, A represents the user age, Amax represents the age at which the maximum periodic purchase restriction index is reached, k represents the normal distribution width adjustment parameter, D represents the purchasing power index of the user's location, and Dmax represents the maximum value of the purchasing power index.
3. The user purchase restriction system based on QR code according to claim 1 is characterized in that: When the judgment unit analyzes the configuration information file to judge whether the current purchase behavior meets the periodic purchase restriction index, it includes: When the current purchase behavior is within the periodic purchase limit index, the judgment unit allows the purchase behavior and adds the current purchase behavior record to the configuration information file, and updates the periodic purchase limit index; When the current purchase behavior is not within the periodic purchase limit index, the judgment unit rejects the purchase behavior and closes the payment channel.
4. The user purchase restriction system based on QR code according to claim 1, characterized in that: When the judgment unit analyzes the purchase quantity in each period and judges whether to adjust the period purchase limit index, it includes: Select the maximum purchase quantity in each period as the center point, and arrange the purchase quantities in the remaining periods in chronological order into a square matrix of a*a, where a is an odd number; The neighborhood range is determined with the central point as the center and (a-1) / 2 as the radius; Calculate the average number of neighborhoods according to the temperature values of each coordinate point within the neighborhood; Compare the neighborhood average quantity with the purchase quantity corresponding to the center point, and determine whether to adjust the periodic purchase limit indicator according to the comparison result; When the neighborhood average quantity is greater than b% of the purchase quantity corresponding to the center point or less than (1-b%) of the purchase quantity corresponding to the center point, the judgment unit determines to adjust the periodic purchase limit indicator; When the neighborhood average quantity is greater than or equal to (1-b%) of the purchase quantity corresponding to the center point and less than or equal to b% of the purchase quantity corresponding to the center point, the judgment unit determines not to adjust the periodic purchase restriction indicator.
5. The user purchase restriction system based on QR code according to claim 4 is characterized in that: The average number of neighbors is calculated by the following formula: in, represents the average number of neighbors, r represents the neighborhood radius, ( , ) represents the coordinates of the center point, Indicates the square The purchase quantity of points.
6. The user purchase restriction system based on QR code according to claim 5 is characterized in that: When the purchase locations in the configuration information file are consistent and it is determined that the periodic purchase limit index is to be adjusted, the adjustment unit includes: When the neighborhood average quantity is greater than b% of the purchase quantity corresponding to the center point, the adjustment unit selects an increase coefficient according to the excess difference to adjust the periodic purchase limit index, the excess difference is proportional to the increase coefficient, and the excess difference is the difference between the neighborhood average quantity and b% of the purchase quantity corresponding to the center point; When the average quantity in the neighborhood is less than (1-b%) of the purchase quantity corresponding to the center point, the adjustment unit selects a reduction coefficient according to the reduction difference to adjust the periodic purchase limit index, and the reduction coefficient is inversely proportional to the reduction difference, and the reduction difference is the difference between (1-b%) of the purchase quantity corresponding to the center point and the average quantity in the neighborhood.
7. The user purchase restriction system based on QR code according to claim 1, characterized in that: The adjustment unit analyzes the purchase location and purchase quantity in each period and determines whether to adjust the period purchase limit index, including: The adjustment unit takes the purchase location corresponding to the maximum purchase quantity as the center and calculates the distances between the remaining purchase locations and the center; Where Ln represents the distance from the nth purchase location to the center; (h0, z0) represents the coordinate position of the purchase location corresponding to the maximum purchase quantity; (hn, zn) represents the coordinate position of the nth purchase location; Calculate the impact weight of each purchase location; Among them, Pn represents the influence weight of the purchase quantity at the nth purchase location, and w represents the standard deviation; Calculate the overall purchase quantity; Among them, m represents the total number of purchase locations, Sn represents the purchase quantity at the nth purchase location, and Z represents the overall purchase quantity.
8. The user purchase restriction system based on QR code according to claim 7 is characterized in that: When the adjustment unit analyzes the purchase location and purchase quantity in each period and determines whether to adjust the period purchase limit index, it also includes: The adjustment unit compares the overall purchase quantity with the periodic purchase limit index, and determines whether to adjust the periodic purchase limit index according to the comparison result; When the total purchase quantity is greater than b% of the periodic purchase limit index, the adjustment unit determines to adjust the periodic purchase limit index; When the total purchase quantity is less than or equal to b% of the periodic purchase limit index, the adjustment unit determines not to adjust the periodic purchase limit index.
9. The user purchase restriction system based on QR code according to claim 8, characterized in that: When the purchase locations in the configuration information file are inconsistent and it is determined to adjust the periodic purchase limit index, the adjustment unit includes: A cross-regional excess difference is obtained according to the overall purchase quantity and the periodic purchase limit index, and a cross-regional reduction coefficient is determined according to the cross-regional excess difference to adjust the periodic purchase limit index, the cross-regional reduction coefficient is inversely proportional to the cross-regional excess difference, and the cross-regional excess difference is the difference between the overall purchase quantity and the periodic purchase limit index by b%.
10. A user purchase restriction method based on a QR code, applied to a user purchase restriction system based on a QR code as claimed in any one of claims 1 to 9, characterized in that: include: Collecting user identity information and establishing a configuration information file according to the user identity information, assigning a QR code to the configuration information file, wherein the configuration information file includes the user's historical purchase behavior and a periodic purchase limit indicator, wherein the user's historical purchase behavior includes the purchase quantity, purchase location, and purchase time; Collecting the configuration information file of the user identified by the QR code, analyzing the configuration information file to determine whether the current purchase behavior meets the periodic purchase limit index; when the current purchase behavior is within the periodic purchase limit index, allowing the purchase behavior and adding the current purchase behavior record to the configuration information file; If the current purchase behavior is the final indicator of the periodic purchase limit indicator or reaches a periodic node, the configuration information file is analyzed to determine whether to adjust the periodic purchase limit indicator; When the purchase locations in the configuration information file are consistent, analyzing the purchase quantity in each period and determining whether to adjust the period purchase limit indicator; When the purchase locations in the configuration information file are inconsistent, the purchase locations and purchase quantities in each period are analyzed, and it is determined whether to adjust the period purchase limit index.
Citation Information
Patent Citations
Supervising system, terminal supervising method and center supervising method for product selling
CN104809621A
Product recommendation method based on two-dimensional code, server and storage medium
CN110162722A
Intelligent vending method, device and system
CN112509219A
