Two-dimensional code and box code association method and system for marketing and anti-counterfeiting tracing
By adjusting the winning rate in real time during product marketing and optimizing the winning strategy based on regional purchasing patterns, the problem of poor marketing effectiveness in existing technologies has been solved, resulting in more efficient marketing and less marketing risk.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-18
- Publication Date
- 2026-04-07
AI Technical Summary
The existing product marketing prize-winning strategy is fixed and cannot be adjusted according to the purchasing power of different regions, resulting in poor marketing results.
By obtaining the QR code trigger information, determining user permission information, collecting user address and device ID, counting the sales and winning quantities in the sales area, calculating the winning rate, and adjusting the winning rate of the next batch according to the baseline probability range to adapt to the purchasing needs of different areas.
This improved the marketing effectiveness of the product in various regions, reduced the significant adjustments to the winning rate caused by external factors, and avoided complaints about false marketing.
Smart Images

Figure CN121810344A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of product marketing technology, and in particular to a method and system for associating QR code and box code for marketing and anti-counterfeiting traceability. Background Technology
[0002] With the development of the times, in order to increase the sales of various products, marketing methods for products have emerged one after another. Among them, marketing methods with lottery features are widely used.
[0003] In related technologies, when selling some bottled beverages, a QR code for a lucky draw is printed on the bottle according to a predetermined prize-winning strategy. After purchasing the product, users can scan the QR code with their mobile phones to participate in the lucky draw.
[0004] Regarding the aforementioned technologies, the inventors believe that the winning strategy of the lottery method is fixed. Regardless of where the product is placed or when it is launched into the market, the winning strategy is the same for all batches of products launched into the market. However, the purchase levels of different batches of products in the same region are inconsistent, resulting in poor marketing effects and room for improvement. Summary of the Invention
[0005] To improve the marketing effectiveness of products, this application provides a method, system, storage medium, and smart terminal for linking QR code and box code for marketing and anti-counterfeiting traceability.
[0006] Firstly, this application provides a method for associating QR code and box code for marketing and anti-counterfeiting traceability, employing the following technical solution: A method for associating QR code and box code for marketing and anti-counterfeiting traceability includes: Get the QR code trigger information; Determine whether to obtain user permission information based on the information triggered by scanning the QR code; If user permission information is not obtained, a prompt signal will be output; If user permission information is obtained, then continue to obtain user address information and device ID information; The sales area is determined based on the location corresponding to the user's address information; Acquire sales quantity information and winning quantity information in the sales area within a preset collection time period; The winning rate information is calculated based on sales volume information and winning number information. Determine whether the winning rate corresponding to the winning rate information falls within the preset baseline probability range; If the winning rate information falls within the baseline probability range, a normal signal is output. If the winning rate information corresponds to a winning rate greater than the maximum value of the baseline probability range, an adjustment signal will be output. If the winning rate information corresponds to a winning rate less than the minimum value of the benchmark probability range, then a winning rate increase signal is output to ensure that the winning rate of the next batch of products reaches the minimum value of the benchmark probability range.
[0007] By adopting the above technical solution, when a scan trigger information is obtained, it proves that the user is scanning a QR code. At this time, by judging whether the user's permission information exists, it can be determined whether the user has allowed the collection of user address information and device ID information. When the user's address information is collected, the sales area where the user is located can be determined according to the location corresponding to the user's address information. Thus, the sales situation and winning situation in the sales area can be statistically analyzed. After the collection period, the sales quantity information and winning quantity information in the sales area can be obtained by statistics. The winning rate information can be calculated from the sales quantity information and winning quantity information. By judging the winning rate corresponding to the winning rate information, it can be determined whether the winning rate is normal. If the winning rate is too low, the winning rate of the next batch in the sales area can be increased to improve the marketing effect of the product in the area.
[0008] Optionally, when outputting an adjustment signal, the method further includes: Determine whether the quantity corresponding to the sales quantity information is greater than the preset benchmark quantity; If the quantity corresponding to the sales quantity information is not greater than the benchmark quantity, then an abnormal quantity signal will be output. If the quantity corresponding to the sales quantity information is greater than the benchmark quantity, then calculate the difference between the quantity corresponding to the sales quantity information and the benchmark quantity to obtain the difference quantity information; The excess rate information is calculated based on the quantity corresponding to the difference quantity information and the benchmark quantity. The current winning rate adjustment information is determined by matching the excess rate stored in the preset adjustment database with the corresponding winning rate adjustment information and the excess rate corresponding to the excess rate information. The winning rate for the next batch of products will be adjusted based on the adjustment value corresponding to the current winning rate adjustment information.
[0009] By adopting the above technical solution, when an adjustment signal is output, it indicates that the winning rate corresponding to the winning rate information is too high. At this time, the sales volume in the sales area is judged. If the sales volume is greater than the benchmark volume, the sales excess rate is calculated. Based on the excess rate, the appropriate current winning rate adjustment information is determined to adjust the winning rate of the next batch of products. This allows the winning rate to be changed while meeting the purchasing demand in the area, thereby reducing the occurrence of poor sales due to a sharp drop in the winning rate and further improving the marketing effect.
[0010] Optionally, when an abnormal output quantity signal is received, the QR code / box code association method used for marketing and anti-counterfeiting traceability may also include: The maximum temperature information within the preset interval time in the sales area is obtained during the collection period. Determine whether the temperature corresponding to the maximum temperature information within the interval is less than the preset reference temperature; If the temperature corresponding to the maximum temperature information in the interval is not less than the reference temperature, then the interval is defined as a normal time; if the temperature corresponding to the maximum temperature information in the interval is less than the reference temperature, then the interval is defined as a low temperature time; low temperature quantity information is obtained based on the low temperature time count. Determine whether the quantity corresponding to the low temperature data is greater than the preset baseline weather quantity; If the quantity corresponding to the low temperature quantity information is greater than the baseline weather quantity, then output the first winning rate reduction signal so that the winning rate of the next batch of products reaches the maximum value of the baseline probability range; If the quantity corresponding to the low temperature quantity information is not greater than the baseline weather quantity, then a second winning rate reduction signal is output to make the winning rate of the next batch of products reach the minimum value of the baseline probability range.
[0011] By adopting the above technical solution, when an abnormal output signal is received, it indicates that the winning rate in the sales area is too high and the sales volume is insufficient. At this time, the weather conditions in the sales area during the collection period are determined by judging the temperature. If the quantity corresponding to the low temperature information is greater than the benchmark weather quantity, it indicates that the demand for beverage products in the area is not high due to the influence of low temperature. In this case, the winning rate of the next batch of products is made to reach the maximum value of the benchmark probability range, thereby reducing the winning rate without affecting the overall market demand. If the quantity corresponding to the low temperature information is not greater than the benchmark weather quantity, it indicates that the purchasing power in the sales area is insufficient. The winning rate of the next batch of products is made to reach the minimum value of the benchmark probability range, thereby reducing the occurrence of excessively high winning rates.
[0012] Optional, also includes: Within the data collection period, obtain the number of devices based on the device ID information; Calculate the ratio of the quantity corresponding to the equipment quantity information to the quantity corresponding to the sales quantity information to obtain the equipment purchase rate; Determine whether the equipment purchase rate is greater than the preset benchmark purchase rate; If the equipment purchase rate is greater than the benchmark purchase rate, a normal signal will be output. If the equipment purchase rate is not greater than the benchmark purchase rate, the current winning rate adjustment information is determined by matching the purchase rate information stored in the preset purchase database with the corresponding winning rate adjustment information. The winning rate for the next batch of products will be adjusted based on the adjustment range corresponding to the current winning range adjustment information.
[0013] By adopting the above technical solution, during the product sales process, the number of devices can be determined by identifying and statistically analyzing the device ID information. The purchase rate of the devices can be obtained by the ratio of the number of devices to the number of products sold. At this time, the actual number of people who purchased the products can be determined by analyzing the purchase rate. When the purchase rate is not greater than the benchmark purchase rate, it means that the actual number of people who purchased the products is not high. At this time, the appropriate current prize adjustment information can be selected based on the purchase rate information, and then the prize rate of the next batch of products can be adjusted based on the current prize adjustment information, so that more people can purchase the products and improve the marketing effect.
[0014] Optional, also includes: Calculate the sum of the winning rates for the next batch of products in each sales area to obtain the total winning rate information; Determine whether the value corresponding to the total winning rate information is consistent with the value corresponding to the preset winning rate allowable information; If the value corresponding to the total winning rate information is consistent with the value corresponding to the allowed winning rate information, a normal adjustment signal is output; if the value corresponding to the total winning rate information is inconsistent with the value corresponding to the allowed winning rate information, the winning rate of the next batch of products in each sales area is adjusted until a normal adjustment signal is output.
[0015] By adopting the above technical solution, since merchants need to keep the overall winning rate unchanged during the process of adjusting the winning rate, it is necessary to adjust the winning rate after outputting the winning rate of the next batch of products so that the overall winning rate remains unchanged, meets the actual advertising situation, and reduces the occurrence of complaints of false marketing.
[0016] Optionally, methods for adjusting the winning rate of the next batch of products in each sales area include: Calculate the difference between the total winning rate information and the allowed winning rate information to obtain the difference information; The allocation ratio will be determined based on the winning rate of the next batch of products in each sales area. Based on the allocation ratio information, the value corresponding to the difference information is allocated to each sales area to adjust the winning rate of the next batch of products in each sales area, thereby increasing or decreasing the winning rate. The winning rate of the next batch of products in each sales area after adjustment is defined as the final winning rate.
[0017] By adopting the above technical solution, in the process of adjusting the winning rate of the next batch, the winning rate of the next batch of products in each region is increased or decreased proportionally, so that the overall winning rate can meet the actual requirements, while the ratio of winning rates in each region meets the requirements of the actual situation in each region.
[0018] Optional, also includes: Based on the preset sorting rules, determine the final winning rate with the largest and smallest values among all final winning rates, and define the final winning rate with the largest value as the first winning rate and the final winning rate with the smallest value as the second winning rate. Calculate the difference between the first winning rate and the second winning rate to obtain the difference parameter information; Determine whether the value corresponding to the difference parameter information is less than the preset benchmark allowable value; If the value corresponding to the difference parameter information is less than the baseline allowable value, then output the correct adjustment signal; If the value corresponding to the difference parameter information is not less than the baseline allowable value, an adjustment error signal will be output.
[0019] By adopting the above technical solution, it is possible to determine the situation of the two sales areas with the largest difference in winning rates. When the value corresponding to the difference parameter information is not less than the benchmark allowable value, it indicates that there is a situation where the winning rate in the sales area is too high or too low. At this time, an adjustment error signal is output so that the staff can know about the situation and make it easier for the staff to handle the situation.
[0020] Secondly, this application provides a QR code-based box code association management system for marketing and anti-counterfeiting traceability, employing the following technical solution: A QR code-based box code association management system for marketing and anti-counterfeiting traceability includes: The acquisition module is used to obtain the QR code trigger information; The processing module, connected to the acquisition and judgment modules, is used for information storage and processing; The judgment module determines whether to obtain user permission information based on the QR code trigger information. If the judgment module determines that user permission information has not been obtained, the processing module outputs a prompt signal; If the judgment module determines that user permission information has been obtained, the processing module continues to obtain user address information and device ID information; the processing module determines the sales area based on the location corresponding to the user address information. The processing module acquires sales quantity information and winning quantity information in the sales area within a preset collection time period; The processing module calculates and obtains the winning rate information based on the sales volume information and the number of winning tickets; The judgment module is used to determine whether the winning rate corresponding to the winning rate information falls within the preset benchmark probability range; If the judgment module determines that the winning rate corresponding to the winning rate information falls within the benchmark probability range, the processing module outputs a normal signal; If the judgment module determines that the winning rate corresponding to the winning rate information is greater than the maximum value of the benchmark probability range, the processing module outputs an adjustment signal; If the judgment module determines that the winning rate corresponding to the winning rate information is less than the minimum value of the benchmark probability range, the processing module outputs a winning rate increase signal to make the winning rate of the next batch of products reach the minimum value of the benchmark probability range.
[0021] By adopting the above technical solution, when the acquisition module obtains the scanning trigger information, it proves that the user is scanning the QR code. At this time, the judgment module determines whether the user's permission information exists, thus determining whether the user allows the collection of user address information and device ID information. When the judgment module determines that the user's address information has been collected, the processing module can determine the sales area where the user is located based on the location corresponding to the user's address information, thereby statistically analyzing the sales and winning situation in that sales area. After the collection period, the sales quantity information and winning quantity information in the sales area can be obtained through statistics. The processing module can calculate the winning rate information from the sales quantity information and winning quantity information. By judging the winning rate information, it can be determined whether the winning rate is normal. If the judgment module determines that the winning rate is too low, the winning rate of the next batch in that sales area will be increased to improve the marketing effect of the product in that area.
[0022] Thirdly, this application provides a smart terminal, which adopts the following technical solution: A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed any of the above-mentioned QR code box code association methods for marketing and anti-counterfeiting traceability.
[0023] By adopting the above technical solution and using a smart terminal, when a scan trigger information is obtained, it proves that the user is scanning a QR code. At this time, by judging whether the user's permission information exists, it can be determined whether the user has allowed the collection of user address information and device ID information. When the user's address information is collected, the sales area where the user is located can be determined according to the location corresponding to the user's address information. Thus, the sales situation and winning situation in the sales area can be statistically analyzed. After the collection period, the sales quantity information and winning quantity information in the sales area can be obtained by statistics. The winning rate information can be calculated from the sales quantity information and winning quantity information. By judging the winning rate corresponding to the winning rate information, it can be determined whether the winning rate is normal. If the winning rate is too low, the winning rate of the next batch in the sales area can be increased to improve the marketing effect of the product in the area.
[0024] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, which has the characteristic of improving product marketing effectiveness, and adopts the following technical solution: A computer-readable storage medium storing a computer program that can be loaded by a processor and executed any of the above-described QR code / box code association methods for marketing and anti-counterfeiting traceability.
[0025] By adopting the above technical solution, the storage medium contains a computer program for a QR code-box code association method used for marketing and anti-counterfeiting traceability. When a scan trigger information is obtained, it proves that the user is scanning the QR code. At this time, by judging whether the user's permission information exists, it can be determined whether the user has allowed the collection of user address information and device ID information. When the user's address information is collected, the sales area where the user is located can be determined according to the location corresponding to the user's address information. Thus, the sales situation and winning situation in the sales area can be statistically analyzed. After the collection period, the sales quantity information and winning quantity information in the sales area can be obtained by statistics. The winning rate information can be calculated from the sales quantity information and winning quantity information. By judging the winning rate corresponding to the winning rate information, it can be determined whether the winning rate is normal. If the winning rate is too low, the winning rate of the next batch in the sales area can be increased to improve the marketing effect of the product in the area.
[0026] In summary, this application includes at least one of the following beneficial technical effects: 1. By judging the winning rate in each sales area, the winning rate of the next batch of products sold in that sales area can be adjusted to improve the marketing effect of the products in each area; 2. By judging the temperature, we can identify situations where sales are not good, reduce the occurrence of drastic adjustments to the winning rate due to external factors, and improve marketing effectiveness; 3. The overall winning rate remains unchanged to reduce the likelihood of complaints about false marketing. Attached Figure Description
[0027] Figure 1 This is a flowchart of a QR code-box code association method used for marketing and anti-counterfeiting traceability.
[0028] Figure 2 This is a flowchart illustrating the method for adjusting the winning rate after sales exceed the target.
[0029] Figure 3 This is a flowchart illustrating the method for adjusting the winning rate when sales are insufficient.
[0030] Figure 4 This is a flowchart of the method for determining user purchase rate.
[0031] Figure 5 This is a flowchart of the overall winning rate control method.
[0032] Figure 6 This is a flowchart of the proportional allocation method.
[0033] Figure 7 This is a flowchart of the error handling method.
[0034] Figure 8 This is a flowchart of the module for the QR code-box code association method used for marketing and anti-counterfeiting traceability. Detailed Implementation
[0035] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figure 1-8 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0036] The embodiments of the present invention will now be described in further detail with reference to the accompanying drawings.
[0037] This application discloses a QR code box code association method for marketing and anti-counterfeiting traceability. Based on the current sales situation in each region, the winning rate of the next batch of products can be adjusted to achieve better marketing results.
[0038] Reference Figure 1 The marketing lottery management process includes the following steps: Step S100: Obtain QR code trigger information.
[0039] The QR code trigger information is the information output when a user scans the QR code on the product. It is output by the user's device and received by the terminal server. This is a conventional technical means for those skilled in the art and will not be described in detail.
[0040] Step S101: Determine whether to obtain user permission information based on the QR code trigger information.
[0041] When the QR code scanning trigger information is obtained, a request information is sent to the user device. This request information includes the location information of the device and the device's own ID information. The user permission information is that the user allows the server to collect information on the device. This is done by the user touching the permission button that pops up on the screen. This is a conventional technical means for those skilled in the art and will not be described in detail. The purpose of the judgment is to determine whether the server is allowed to collect information on the user device.
[0042] Step S1011: If user permission information is not obtained, output a prompt signal.
[0043] If user permission information is not obtained, it means that the user does not allow the server to obtain information on the device. In this case, the output prompt signal is to inform the user of the situation, and the user will not participate in the lottery.
[0044] Step S1012: If user license information is obtained, continue to obtain user address information and device ID information.
[0045] When user permission information is obtained, it means that the user allows the server to collect information on the device. At this time, the device's location, i.e., the user's address information, can be obtained through the device's built-in positioning function. The device ID information can be obtained by identifying the device. These are conventional technical means for those skilled in the art and will not be elaborated upon.
[0046] Step S102: Determine the sales area based on the location corresponding to the user's address information.
[0047] The sales area is the area that is defined when the product is sold. The location corresponding to the user's address information can be used to determine which sales area the user is in for scanning the code, which is convenient for subsequent statistics on the sales situation in the sales area; for example, the standard for dividing the sales area is the provinces of China, and if the location corresponding to the user's address information is "Hangzhou", then the determined sales area is "Zhejiang".
[0048] Step S103: Obtain sales quantity information and winning quantity information in the sales area within the preset collection time period.
[0049] The data collection period is a pre-set time interval, which is the period from the release of the current batch of products to the release of the next batch of products. This period is set by the staff according to the actual situation and will not be elaborated further. The quantity corresponding to the sales quantity information is the number of products scanned in the sales area, and the quantity corresponding to the prize winning information is the number of products that the user won by scanning the code. Both can be obtained by counting. The initial values of the quantities corresponding to the sales quantity information and the quantities corresponding to the prize winning information are both 0. When the user scans the code and the server obtains the user's permission information, the quantity corresponding to the sales quantity information is incremented by 1. If a prize is won, the quantity corresponding to the prize winning information is incremented by 1.
[0050] Step S104: Calculate and obtain the winning rate information based on the sales quantity information and the number of winnings information.
[0051] The winning rate information corresponds to the winning rate of this batch of products in this sales area, and the calculation formula is as follows: Where N is the quantity corresponding to the winning quantity information, M is the quantity corresponding to the sales quantity information, and K is the winning rate corresponding to the winning rate information.
[0052] Step S105: Determine whether the winning rate corresponding to the winning rate information falls within the preset baseline probability range.
[0053] The baseline probability range is a fixed range set in advance and determined by staff based on the actual required winning probability, which will not be elaborated upon here. The purpose of the judgment is to determine whether the winning rate of the products in the sales area meets the requirements, so as to adjust the winning probability in the future.
[0054] Step S1051: If the winning rate corresponding to the winning rate information falls within the benchmark probability range, then output a normal signal.
[0055] When the winning rate information falls within the baseline probability range, it indicates that the winning rate of the sales area is normal. A normal signal is output to mark the winning rate of the sales area so that the winning rate of the sales area can be identified in the future.
[0056] Step S1052: If the winning rate corresponding to the winning rate information is greater than the maximum value of the benchmark probability range, then output an adjustment signal.
[0057] When the winning rate corresponding to the winning rate information is greater than the maximum value of the benchmark probability range, it indicates that the winning rate is too high. At this time, an adjustment signal is output to record the situation so that the winning rate of the sales area can be adjusted in the future.
[0058] Step S1053: If the winning rate corresponding to the winning rate information is less than the minimum value of the benchmark probability range, then output a winning rate increase signal so that the winning rate of the next batch of products reaches the minimum value of the benchmark probability range.
[0059] When the winning rate corresponding to the winning rate information is less than the minimum value of the benchmark probability range, it indicates that the winning rate of the sales area is low. At this time, a winning rate increase signal is output to record the sales area. When selling the next batch of products, more bottles with winning numbers are allocated to the sales area so that the winning rate of the next batch of products in the sales area can reach the minimum value of the benchmark probability range, making it easier for users in the sales area to win and improving marketing effectiveness.
[0060] Reference Figure 2 When the output adjustment signal is received, the QR code box code association method for marketing and anti-counterfeiting traceability also includes: step S200: determining whether the quantity corresponding to the sales quantity information is greater than the preset benchmark quantity.
[0061] The baseline quantity is a pre-set value. The baseline quantity that needs to be sold in each sales area is set by the staff according to the actual situation, which will not be elaborated here. The purpose of the judgment is to know whether the quantity of products sold in the sales area meets the requirements, so as to facilitate the subsequent processing of the sales area.
[0062] Step S2001: If the quantity corresponding to the sales quantity information is not greater than the baseline quantity, then output a quantity abnormality signal.
[0063] When the quantity corresponding to the sales quantity information is not greater than the benchmark quantity, it indicates that the quantity of products sold in this sales area does not meet the prescribed sales quantity. At this time, an abnormal quantity signal is output to record the situation for subsequent processing.
[0064] Step S2002: If the quantity corresponding to the sales quantity information is greater than the benchmark quantity, calculate the difference between the quantity corresponding to the sales quantity information and the benchmark quantity to obtain the difference quantity information.
[0065] When the quantity corresponding to the sales quantity information is greater than the benchmark quantity, it means that the quantity of products sold in the sales area has reached the prescribed sales quantity. The difference quantity information is the difference between the quantity corresponding to the sales quantity information and the benchmark quantity. The calculation formula is W = YX, where W is the quantity corresponding to the difference quantity information, Y is the quantity corresponding to the sales quantity information, and X is the benchmark quantity.
[0066] Step S201: Calculate and obtain the excess rate information based on the quantity corresponding to the difference quantity information and the benchmark quantity.
[0067] The excess rate information corresponds to the excess rate of product sales in that sales area, which can be expressed by the formula. The calculation is performed, where P is the value corresponding to the excess rate information.
[0068] Step S202: Based on the excess rate stored in the preset adjustment database and the corresponding winning rate adjustment information, match the excess rate corresponding to the excess rate information to determine the current winning rate adjustment information.
[0069] The winning rate adjustment information refers to information that adjusts the winning rate of the next batch of products. The adjustment value corresponding to each winning rate adjustment information is different. The excess rate corresponds one-to-one with the winning rate adjustment information. For example, if the excess rate is 10%, the corresponding adjustment value of the winning rate adjustment information will decrease by 5%; if the excess rate is 20%, the corresponding adjustment value of the winning rate adjustment information will decrease by 4%. That is, the higher the excess rate, the smaller the corresponding adjustment value of the winning rate adjustment information. The specific relationship between the two is set by the staff according to the actual situation. An adjustment database is formed by setting different excess rates and corresponding adjustment values of the winning rate adjustment information. The process of forming the adjustment database is a conventional technical means for those skilled in the art and will not be described in detail. When the excess rate corresponding to the excess rate information is entered into the adjustment database, it can be matched with the excess rate in the adjustment database, thereby obtaining the winning rate adjustment information corresponding to the excess rate information, that is, determining the current winning rate adjustment information.
[0070] Step S203: Adjust the winning rate of the next batch of products according to the adjustment value corresponding to the current winning rate adjustment information.
[0071] The current winning rate adjustment information corresponds to an adjustment value. This adjustment value can be used to adjust the winning rate of the next batch of products so that the winning rate of the next batch of products can meet market demand and achieve better marketing results.
[0072] Reference Figure 3 When an abnormal output signal is received, the method further includes: Step S300: Obtain the maximum temperature information within the preset interval time in the sales area during the collection period.
[0073] The interval time is a pre-set time period, which is set by staff according to the actual situation. For example, the interval time is 24 hours, which means the interval time is one day. The maximum temperature information is the maximum temperature value that occurs in the sales area within the interval time. It can be connected to a specific weather forecast system through the Internet of Things to obtain and determine the temperature of each sales area.
[0074] Step S301: Determine whether the temperature corresponding to the maximum temperature information in the interval is less than the preset reference temperature.
[0075] The baseline temperature is a pre-set value, which is set by staff according to the actual situation, and will not be elaborated further. The purpose of the judgment is to know the temperature of the sales area at each interval, so as to facilitate the subsequent analysis and processing of the winning rate of the next batch of products in the sales area.
[0076] Step S3011: If the temperature corresponding to the maximum temperature information in the interval is not less than the reference temperature, then the interval is defined as the normal time.
[0077] When the temperature corresponding to the maximum temperature information in the interval is not less than the reference temperature, it indicates that the temperature is normal in that interval. At this time, the interval is defined as the normal time and marked for easy identification in the future.
[0078] Step S3012: If the temperature corresponding to the maximum temperature information in the interval is less than the reference temperature, then the interval is defined as a low temperature time.
[0079] When the temperature corresponding to the maximum temperature information in the interval is lower than the reference temperature, it indicates that the temperature is low in that interval. In this case, the interval is defined as a low temperature time for identification, so that it can be easily identified in the future.
[0080] Step S302: Obtain low temperature quantity information based on the low temperature time count.
[0081] The low-temperature quantity information is the number of low-temperature events that occurred within the data collection period. It is obtained by counting. The initial value of the quantity corresponding to the low-temperature quantity information is zero. When a low-temperature event occurs, the quantity corresponding to the low-temperature quantity information is incremented by one.
[0082] Step S303: Determine whether the quantity corresponding to the low temperature quantity information is greater than the preset baseline weather quantity.
[0083] The baseline weather quantity is the number of times low temperatures are allowed to occur, which is set by staff according to the actual situation and will not be elaborated further. The purpose of the judgment is to determine whether the quantity of low temperature information collected in each sales area within a certain time period meets the requirements, so as to facilitate subsequent judgment.
[0084] Step S3031: If the quantity corresponding to the low temperature quantity information is greater than the baseline weather quantity, output the first winning rate reduction signal so that the winning rate of the next batch of products reaches the maximum value of the baseline probability range.
[0085] When the quantity corresponding to the low temperature information is greater than the baseline weather quantity, it indicates that the temperature in the sales area is low. If the quantity of products sold does not meet the requirements, it may be due to low market demand caused by the excessively low temperature. At this time, the first winning rate reduction signal is output to mark the sales area. When selling the next batch of products, the winning rate of the sales area is reduced to adjust it to the maximum value of the baseline probability range, so as to reduce the possibility of the winning rate dropping too much and affecting sales.
[0086] Step S3032: If the quantity corresponding to the low temperature quantity information is not greater than the baseline weather quantity, then output a second winning rate reduction signal so that the winning rate of the next batch of products reaches the minimum value of the baseline probability range.
[0087] When the quantity corresponding to the low temperature information is not greater than the baseline weather number, it indicates that the quantity of products sold in the sales area has not met the requirements, meaning that the purchase rate in the sales area is insufficient. At this time, a second winning rate reduction signal is output to mark the sales area. When selling the next batch of products, the winning rate of the sales area is reduced to adjust it to the minimum value of the baseline probability range, so as to reduce the occurrence of a low purchase rate and a high winning rate.
[0088] Reference Figure 4 The QR code-box code association method used for marketing and anti-counterfeiting traceability also includes: Step S400: Obtain the number of devices based on the device ID information within the data collection period.
[0089] The quantity of devices referred to is the total number of devices that have scanned the QR code on the product and agreed to obtain the device ID information. Each sales area is counted independently, which is a common technical method for those skilled in the art and will not be elaborated further.
[0090] Step S401: Calculate the ratio of the quantity corresponding to the equipment quantity information to the quantity corresponding to the sales quantity information to obtain the equipment purchase rate.
[0091] The device purchase rate reflects the actual number of purchases made for a product. For example, if 100 products are sold, but only 60 devices are actually collected, it means only 60 people made the purchase. By determining the device purchase rate, the number of buyers can be indirectly estimated, allowing for adjustments to the winning rate later. The formula for calculating the device purchase rate is: Where A represents the quantity of equipment and U represents the equipment purchase rate.
[0092] Step S402: Determine whether the equipment purchase rate is greater than the preset benchmark purchase rate.
[0093] The benchmark purchase rate is a fixed value, set by staff based on actual conditions, and will not be elaborated upon here. The purpose of the judgment is to determine whether the equipment purchase rate in each sales area has reached the set benchmark value, so as to adjust the winning rate of the next batch.
[0094] Step S4021: If the equipment purchase rate is greater than the benchmark purchase rate, output a normal signal.
[0095] When the equipment purchase rate is greater than the benchmark purchase rate, it indicates that the product is being sold normally in the sales area. At this time, the correct signal is output to mark the situation.
[0096] Step S4022: If the device purchase rate is not greater than the benchmark purchase rate, then the current winning rate adjustment information is determined by matching the purchase rate information stored in the preset purchase database with the corresponding winning rate adjustment information.
[0097] When the purchase rate of the equipment is not greater than the benchmark purchase rate, it indicates that the product is more in line with the tastes of the people in the sales area. The adjustment value corresponding to the prize adjustment information is set by the staff according to the actual situation. Each prize adjustment information corresponds to a purchase rate information. A purchase database is established by using different prize adjustment information and corresponding purchase rate information. The process of establishing the purchase database is a conventional technical means for those skilled in the art and will not be described in detail. The equipment purchase rate is entered into the purchase database and matched with the value corresponding to the purchase rate information to determine the prize adjustment information corresponding to the equipment purchase rate, that is, to determine the current prize adjustment information.
[0098] Step S403: Adjust the winning rate of the next batch of products according to the adjustment range corresponding to the current winning range adjustment information.
[0099] The adjustment range corresponding to the previous winning range information can be used to adjust the winning rate of the next batch of products, so as to further promote the purchase rate of buyers and improve marketing effectiveness.
[0100] Reference Figure 5 The QR code-box code association method used for marketing and anti-counterfeiting traceability also includes: Step S500: Calculate the sum of the winning rates for the next batch of products in each sales area to obtain the total winning rate information.
[0101] The total winning rate information corresponds to the sum of the winning rates of the next batch of products in each sales area, which is determined by combining the winning rate of the current batch of products and the sales quantity of the current batch. It can be obtained by addition, which is a conventional technical method for those skilled in the art and will not be elaborated upon.
[0102] Step S501: Determine whether the value corresponding to the total winning rate information is consistent with the value corresponding to the preset winning rate allowable information.
[0103] The winning rate information is allowed to be a fixed value, which is the winning rate that can be achieved when the product is advertised. The specific value is set by the staff according to the actual situation, and will not be elaborated here. The purpose of the judgment is to determine whether the value corresponding to the total winning rate information determined after combining the winning rate of the current batch of products, the sales quantity of the current batch, etc., meets the requirements, so as to avoid being complained about for false advertising.
[0104] Step S5011: If the value corresponding to the total winning rate information is consistent with the value corresponding to the allowed winning rate information, then output a normal adjustment signal.
[0105] When the total winning rate information matches the value corresponding to the allowed winning rate information, it indicates that the winning rate of the next batch of products in each sales area meets the requirements after adjustment, and a normal adjustment signal is output to record this situation.
[0106] Step S5012: If the value corresponding to the total winning rate information is inconsistent with the value corresponding to the allowed winning rate information, adjust the winning rate of the next batch of products in each sales area until a normal adjustment signal is output.
[0107] When the total winning rate information does not match the value corresponding to the allowed winning rate information, it indicates that the winning rate of the next batch of products in each sales area does not meet the requirements. At this time, the winning rate of the next batch of products in each sales area will be adjusted until the value corresponding to the total winning rate information matches the value corresponding to the allowed winning rate information to output a normal adjustment signal, so as to achieve consistency between the actual winning rate and the advertised winning rate and avoid false advertising.
[0108] Reference Figure 6 Methods for adjusting the winning rate of the next batch of products in each sales area include: Step S600: Calculate the difference between the value corresponding to the total winning rate information and the value corresponding to the allowed winning rate information to obtain the difference information.
[0109] When adjusting the winning rate of the next batch of products in each sales area, the difference between the total winning rate information and the allowed winning rate information can be calculated. This difference information is recorded as the difference information. The formula for calculating the difference information is R = |QE|, where Q is the value corresponding to the total winning rate information, E is the value corresponding to the allowed winning rate information, and R is the value corresponding to the difference information.
[0110] Step S601: Determine the allocation ratio information based on the winning rate of the next batch of products in each sales area.
[0111] The allocation ratio information corresponds to the winning rate of the next batch of products in each sales area. For example, if there are 3 sales areas with a total winning rate of 10%, the winning rate of sales area A is 2%, the winning rate of sales area B is 3%, and the winning rate of sales area C is 5%, then the ratio corresponding to the allocation ratio information is 2:3:5.
[0112] Step S602: Allocate the value corresponding to the difference information to each sales area according to the proportion corresponding to the allocation ratio information, so as to increase or decrease the winning rate of the next batch of products in each sales area, and define the winning rate of the next batch of products in each sales area after adjustment as the final winning rate.
[0113] Based on the allocation ratio information, the values corresponding to the difference information are allocated to ensure that the winning rate of the next batch of products in each sales area is adjusted proportionally. This ensures that the overall winning rate meets the requirements, and the winning rate in each sales area aligns with the market conditions in each area, thereby achieving better marketing results. The adjusted winning rate for the next batch of products in each sales area is defined as the final winning rate for subsequent use and implementation. An example of determining the final winning rate is as follows: Taking the above 2:3:5 allocation ratio information as an example, if the allowed winning rate information is 8... If the difference is 2%, then the value corresponding to the difference information is 2%. This 2% needs to be divided into 10 equal parts to determine the final allocation amount. Since the allocation ratio is 2:3:5, the share that sales area A can receive is 0.4%, sales area B can receive 0.6%, and sales area C can receive 1%. Because the total winning rate is greater than the allowed winning rate, the winning rates for each sales area need to be adjusted. Therefore, the final winning rates for the three sales areas are as follows: Sales area A 1.6%, Sales area B 2.4%, and Sales area C 4%.
[0114] Reference Figure 7 The QR code-box code association method used for marketing and anti-counterfeiting traceability also includes: Step S700: Determine the final winning rate with the largest and smallest value among all the final winning rates according to the preset sorting rules, and define the final winning rate with the largest value as the first winning rate and the final winning rate with the smallest value as the second winning rate.
[0115] The sorting rules are pre-defined methods that can sort by size, such as bubble sort. The sorting rules can determine the two sets of values with the largest and smallest values among all the final winning rates. The final winning rate with the largest value is defined as the first winning rate, and the final winning rate with the smallest value is defined as the second winning rate, so that these two final winning rates can be called later.
[0116] Step S701: Calculate the difference between the first winning rate and the second winning rate to obtain the difference parameter information.
[0117] The value corresponding to the difference parameter information is the difference between the first winning rate and the second winning rate. The calculation formula is J0 = J1 - J2, where J0 is the value corresponding to the difference parameter information, J1 is the first winning rate, and J2 is the second winning rate.
[0118] Step S702: Determine whether the value corresponding to the difference parameter information is less than the preset benchmark allowable value.
[0119] The baseline allowable value is a fixed value, which is the maximum difference between the final winning rates of the two allowed sales areas. It is set by the staff according to the actual situation and will not be elaborated here. The purpose of the judgment is to know whether the difference between the first winning rate and the second winning rate exceeds the allowed range, so as to facilitate subsequent judgment.
[0120] Step S7021: If the value corresponding to the difference parameter information is less than the baseline allowable value, then output the adjustment correct signal.
[0121] When the value corresponding to the difference parameter information is less than the baseline allowable value, it means that the difference between the first winning rate and the second winning rate is within the allowable range. That is, the difference between all the final winning rates is within the allowable range, and the correct adjustment signal is output to record this situation.
[0122] Step S7022: If the value corresponding to the difference parameter information is not less than the benchmark allowable value, then output an adjustment error signal.
[0123] When the value corresponding to the difference parameter information is not less than the baseline allowable value, it indicates that the difference between the first winning rate and the second winning rate exceeds the allowable range. At this time, an adjustment error signal is output to inform the staff of the situation so that they can handle it manually. This reduces the occurrence of situations where the final winning rate in some sales areas is too high, resulting in the final winning rate in other sales areas being too low, thus ensuring the partial fairness of the lottery in each sales area.
[0124] Reference Figure 8 Based on the same inventive concept, embodiments of the present invention provide a QR code-box code association management system for marketing and anti-counterfeiting traceability, comprising: The acquisition module is used to obtain the QR code trigger information; The processing module, connected to the acquisition and judgment modules, is used for information storage and processing; The judgment module determines whether to obtain user permission information based on the QR code trigger information. If the judgment module determines that user permission information has not been obtained, the processing module outputs a prompt signal; If the judgment module determines that user permission information is required, the processing module continues to obtain user address information and device ID information; The processing module determines the sales area based on the location corresponding to the user's address information; The processing module acquires sales quantity information and winning quantity information in the sales area within a preset collection time period; The processing module calculates and obtains the winning rate information based on the sales volume information and the number of winning tickets; The judgment module is used to determine whether the winning rate corresponding to the winning rate information falls within the preset benchmark probability range; If the judgment module determines that the winning rate corresponding to the winning rate information falls within the benchmark probability range, the processing module outputs a normal signal; If the judgment module determines that the winning rate corresponding to the winning rate information is greater than the maximum value of the benchmark probability range, the processing module outputs an adjustment signal; If the judgment module determines that the winning rate corresponding to the winning rate information is less than the minimum value of the benchmark probability range, the processing module outputs a winning rate increase signal to make the winning rate of the next batch of products reach the minimum value of the benchmark probability range. The sales volume adjustment module is used to adjust the winning rate of the next batch of products based on the sales volume of the product. The weather adjustment module uses the weather conditions in each sales area to assess product sales and reduce the likelihood of incorrect adjustments to the winning rate. Purchase rate processing information is used to adjust the winning rate based on the actual number of devices purchased to improve marketing effectiveness; the total probability control module is used to keep the total winning rate unchanged to improve the authenticity of marketing promotions. The probability adjustment module is used to adjust the winning rate of the next batch of products in each sales area, so that the winning rate of the products can meet the sales situation in each area and improve the marketing effect. The anomaly detection module is used to detect whether the winning rate is abnormal, so as to reduce the possibility of abnormal winning rates in some areas after the winning rate is adjusted.
[0125] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0126] This invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed for a QR code-box code association method for marketing and anti-counterfeiting traceability.
[0127] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0128] Based on the same inventive concept, embodiments of the present invention provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor for a QR code box code association method for marketing and anti-counterfeiting traceability.
[0129] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0130] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A method for associating QR code and box code for marketing and anti-counterfeiting traceability, characterized in that, include: Get the QR code trigger information; Determine whether to obtain user permission information based on the information triggered by scanning the QR code; If user permission information is not obtained, a prompt signal will be output; If user permission information is obtained, then continue to obtain user address information and device ID information; The sales area is determined based on the location corresponding to the user's address information; Acquire sales quantity information and winning quantity information in the sales area within a preset collection time period; The winning rate information is calculated based on sales volume information and winning number information. Determine whether the winning rate corresponding to the winning rate information falls within the preset baseline probability range; If the winning rate information falls within the baseline probability range, a normal signal is output. If the winning rate information corresponds to a winning rate greater than the maximum value of the baseline probability range, an adjustment signal will be output. If the winning rate information corresponds to a winning rate less than the minimum value of the benchmark probability range, then a winning rate increase signal is output to ensure that the winning rate of the next batch of products reaches the minimum value of the benchmark probability range.
2. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 1, characterized in that: When the adjustment signal is output, the method further includes: Determine whether the quantity corresponding to the sales quantity information is greater than the preset benchmark quantity; If the quantity corresponding to the sales quantity information is not greater than the benchmark quantity, then an abnormal quantity signal will be output. If the quantity corresponding to the sales quantity information is greater than the benchmark quantity, then calculate the difference between the quantity corresponding to the sales quantity information and the benchmark quantity to obtain the difference quantity information; The excess rate information is calculated based on the quantity corresponding to the difference quantity information and the benchmark quantity. The current winning rate adjustment information is determined by matching the excess rate stored in the preset adjustment database with the corresponding winning rate adjustment information and the excess rate corresponding to the excess rate information. The winning rate for the next batch of products will be adjusted based on the adjustment value corresponding to the current winning rate adjustment information.
3. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 2, characterized in that: When the output quantity is abnormal, the method further includes: The maximum temperature information within the preset interval time in the sales area is obtained during the collection period. Determine whether the temperature corresponding to the maximum temperature information within the interval is less than the preset reference temperature; If the temperature corresponding to the maximum temperature information in the interval is not less than the reference temperature, then the interval is defined as a normal time. If the temperature corresponding to the maximum temperature information in the interval is lower than the reference temperature, then the interval is defined as a low temperature time. Information on the quantity of low temperatures is obtained by counting the low-temperature time. Determine whether the quantity corresponding to the low temperature data is greater than the preset baseline weather quantity; If the quantity corresponding to the low temperature quantity information is greater than the baseline weather quantity, then output the first winning rate reduction signal so that the winning rate of the next batch of products reaches the maximum value of the baseline probability range; If the quantity corresponding to the low temperature quantity information is not greater than the baseline weather quantity, then a second winning rate reduction signal is output to make the winning rate of the next batch of products reach the minimum value of the baseline probability range.
4. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 3, characterized in that: Also includes: Within the data collection period, obtain the number of devices based on the device ID information; Calculate the ratio of the quantity corresponding to the equipment quantity information to the quantity corresponding to the sales quantity information to obtain the equipment purchase rate; Determine whether the equipment purchase rate is greater than the preset benchmark purchase rate; If the equipment purchase rate is greater than the benchmark purchase rate, a normal signal will be output. If the equipment purchase rate is not greater than the benchmark purchase rate, the current winning rate adjustment information is determined by matching the purchase rate information stored in the preset purchase database with the corresponding winning rate adjustment information. The winning rate for the next batch of products will be adjusted based on the adjustment range corresponding to the current winning range adjustment information.
5. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 4, characterized in that: Also includes: Calculate the sum of the winning rates for the next batch of products in each sales area to obtain the total winning rate information; Determine whether the value corresponding to the total winning rate information is consistent with the value corresponding to the preset winning rate allowable information; If the value corresponding to the total winning rate information is consistent with the value corresponding to the allowed winning rate information, then a normal adjustment signal is output. If the total winning rate information does not match the value corresponding to the allowed winning rate information, the winning rate of the next batch of products in each sales area will be adjusted until a normal adjustment signal is output.
6. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 5, characterized in that: Methods for adjusting the winning rate of the next batch of products in each sales area include: Calculate the difference between the total winning rate information and the allowed winning rate information to obtain the difference information; The allocation ratio will be determined based on the winning rate of the next batch of products in each sales area. Based on the allocation ratio information, the value corresponding to the difference information is allocated to each sales area to adjust the winning rate of the next batch of products in each sales area, thereby increasing or decreasing the winning rate. The winning rate of the next batch of products in each sales area after adjustment is defined as the final winning rate.
7. The QR code-box code association method for marketing and anti-counterfeiting traceability according to claim 6, characterized in that: Also includes: Based on the preset sorting rules, determine the final winning rate with the largest and smallest values among all final winning rates, and define the final winning rate with the largest value as the first winning rate and the final winning rate with the smallest value as the second winning rate. Calculate the difference between the first winning rate and the second winning rate to obtain the difference parameter information; Determine whether the value corresponding to the difference parameter information is less than the preset benchmark allowable value; If the value corresponding to the difference parameter information is less than the baseline allowable value, then output the correct adjustment signal; If the value corresponding to the difference parameter information is not less than the baseline allowable value, an adjustment error signal will be output.
8. A QR code-based box code association management system for marketing and anti-counterfeiting traceability, characterized in that, include: The acquisition module is used to obtain the QR code trigger information; The processing module, connected to the acquisition and judgment modules, is used for information storage and processing; The judgment module determines whether to obtain user permission information based on the QR code trigger information. If the judgment module determines that user permission information has not been obtained, the processing module outputs a prompt signal; If the judgment module determines that user permission information is required, the processing module continues to obtain user address information and device ID information; The processing module determines the sales area based on the location corresponding to the user's address information; The processing module acquires sales quantity information and winning quantity information in the sales area within a preset collection time period; The processing module calculates and obtains the winning rate information based on the sales volume information and the number of winning tickets; The judgment module is used to determine whether the winning rate corresponding to the winning rate information falls within the preset benchmark probability range; If the judgment module determines that the winning rate corresponding to the winning rate information falls within the benchmark probability range, the processing module outputs a normal signal; If the judgment module determines that the winning rate corresponding to the winning rate information is greater than the maximum value of the benchmark probability range, the processing module outputs an adjustment signal; If the judgment module determines that the winning rate corresponding to the winning rate information is less than the minimum value of the benchmark probability range, the processing module outputs a winning rate increase signal to make the winning rate of the next batch of products reach the minimum value of the benchmark probability range.
9. A smart terminal, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and executed according to any one of claims 1 to 7.