Cash register data acquisition system, equipment and medium
The sales data of different cash registers of different models are collected and uniformly formatted through USB-HID, and transmitted to the server through wireless means for analysis and promotional processing, solving the problem of inefficient data acquisition in the existing technology and achieving efficient and unified data acquisition and analysis.
Patent Information
- Application Number
- CN202510042007.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-04-25
AI Technical Summary
The existing technology is difficult to effectively collect sales data of different types of cash registers, resulting in low data collection efficiency and error-proneness, and it is impossible to achieve unified management of new product promotions in different stores and channels.
Connect different models of cash registers through USB-HID, collect product information scanned by the code scan gun and copy it into a unified format, transmit it to the server via wireless, store and analyze data, and generate picture information and/or voice information based on promotional activities.
It realizes fast, unified and efficient collection of sales data of different models of cash registers, improves the flexibility, completeness and efficiency of data collection, and meets the brand and channel's needs for the accuracy of sales data and data analysis.
Smart Images

Figure CN119888937A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a cash register data collection system, equipment and medium. Background Art
[0002] With the rapid development of the retail industry, chain retail stores and dealers have to use a large amount of sales data to conduct detailed analysis of the data of incoming and outgoing goods, and obtain forward-looking data to achieve the goal of reducing inventory costs and increasing sales efficiency.
[0003] At present, all retail stores, big and small, use different types of cash registers. Brands and channels are unable to effectively count the goods in and out of different types of cash registers and different channels. During the delivery period, brands and channels need to make reasonable arrangements based on the needs of the target market and market responsiveness. For example: promoting new product sales, analyzing the sales share of competing products, analyzing the sales ranking of similar products, and other data functions.
[0004] Each retail store or channel has different cash registers for incoming and outgoing goods. When sales data needs to be collected, the traditional collection method is to copy data from cash registers of different models through USB flash drives or clients. Data analysis requires the collection of a large amount of USB flash drive data for summary analysis. Due to the large number of cash register models, different supported methods and protocols, and different encryption methods, the traditional data collection method is not only prone to errors, but also inefficient, and it is impossible to achieve unified management of new product promotions for different stores and channels.
[0005] Therefore, how to quickly collect sales data stored in cash registers of different models is an issue that needs to be solved urgently. Summary of the invention
[0006] The present invention provides a cash register data collection system, equipment and medium to solve the above problems.
[0007] The present invention is achieved through the following technical solutions:
[0008] A cash register data collection system, comprising:
[0009] A cash register connected to the barcode scanner, configured to receive the commodity information scanned by the barcode scanner and generate first data about the commodity information;
[0010] A data receiving end, connected to the cash register via USB-HID, and used for copying the first data into the second data;
[0011] A server, connected to at least one of the data receiving terminals by wireless means, for receiving and storing the second data, and determining whether to generate picture information and / or voice information about the product information based on the promotion activity;
[0012] The data sending end is connected to the cash register via USB-HID and is connected to the server via wireless connection, and is used to display the corresponding picture information and / or voice information.
[0013] As an optimization, the cash register includes a first receiving module and a first storage module, wherein the input end of the first receiving module is connected to the scanning gun, for receiving the product information and generating first data, the first data being text data, the output end of the first receiving module is respectively connected to the first storage module and the data receiving end, the first receiving module transmits the text data to the first storage module and the data receiving end respectively, and the first storage module saves the newly received first data of the product information as historical product information.
[0014] As an optimization, the second data includes the commodity payment code or commodity 69 code corresponding to the commodity information, and an identification code set in the cash register.
[0015] As an optimization, the server includes a second receiving module, a voice picture generating module and an analyzing module, wherein:
[0016] The second receiving module is used to receive the second data and send the second data to the voice picture generating module and the second storage module, and the second storage module is set in the cloud database;
[0017] The second storage module is used to receive the promotion activity rules sent by the client, and store the received new second data as historical data;
[0018] The voice and picture generating module is used to determine whether the second data generates picture information and / or voice information according to the promotion activity rules transmitted by the second storage module, and after determining that the picture information and / or voice information is to be generated, generate corresponding picture information and / or voice information, and send the picture information and / or voice information to the data transmitting terminal correspondingly connected to the cash register based on the identification code;
[0019] The analysis module is used to generate an analysis report based on the historical data, and send the analysis report to the client regularly.
[0020] As an optimization, the analysis module includes a big data analysis submodule and a suggestion submodule, wherein the big data analysis submodule is used to perform consumer portrait analysis, store portrait analysis, store cluster analysis, sales change analysis in regional and commodity dimensions, and commodity sales capacity analysis based on the historical data;
[0021] The prediction submodule is used to predict sales trends based on historical data.
[0022] As an optimization, the suggestion submodule is specifically based on a comprehensive model obtained from training statistical models, gradient boosting machines, and deep learning neural network models. The process of training the comprehensive model is:
[0023] Obtain the sales volume of goods, whether the goods participate in activities, and the average temperature during the collection period collected in multiple periods, and use the sales volume of goods, activity participation, and average temperature of the same period as a training sample, thereby forming a training set consisting of multiple training samples;
[0024] The activity participation in the training set and the average temperature of the period are respectively used as input data and divided into two paths: the first path is input into the time series decomposer and decomposed into three items: trend, season and residual. The trend item is followed by an exponential smoothing prediction model (i.e., ETS model), the season item is followed by an extrapolation predictor, and the residual item is followed by a deep learning neural network; the second path is input into a feature engineering encoder and then connected to a gradient boosting machine; finally, the outputs of the two paths are integrated and learned, and in the training process of the recommendation sub-model, the commodity sales volume in the training sample is used as the actual label, and the predicted commodity sales volume output by the prediction sub-model is used as the predicted label; the loss function is calculated through the actual label and the predicted label, and the parameters of the prediction sub-model are adjusted through the loss function to finally obtain a comprehensive module.
[0025] As an optimization, the activity participation situation is as follows:
[0026] The number of days in the collection period is used as the denominator, and the actual number of days participated in the activity is used as the numerator for calculation, and the three decimal places after the calculation result are taken as the specific value of the activity participation.
[0027] As an optimization, a host device is further arranged between the barcode scanner and the cash register, and the barcode scanner is connected to the cash register via the host device, wherein the host device is provided with a transmission protocol that supports a plurality of different types of barcode scanners.
[0028] The present invention also discloses an electronic device, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method for executing a cash register data collection system as described above.
[0029] The present invention also discloses a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the execution method of the cash register data collection system.
[0030] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0031] The present invention collects the scan code data of different cash register devices through USB-HID, which can be managed in a unified and efficient manner, improves the flexibility, integrity, rigor and efficiency of scan code data collection, meets the needs of brands or channels for sales accuracy and data analysis of goods, and can continuously perform complete and rapid visual configuration of remote areas and goods purchase, sale and inventory and improve goods sales. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0033] Figure 1 It is a schematic diagram of a cash register data collection system according to the present invention;
[0034] Figure 2 A flow chart of one method of using the system described in the present invention;
[0035] Figure 3 Another flow chart for using the system of the present invention;
[0036] Figure 4 It is a structural diagram of the comprehensive module. DETAILED DESCRIPTION
[0037] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0038] This embodiment 1 provides a cash register data collection system, such as Figure 1As shown, the data receiving end and the data sending end are first connected to the devices of different cash register models through USB-HID. Then the data receiving end and the data sending end communicate with the server through WIFI.
[0039] Cash registers of different models obtain the currently scanned product information as the first data through the barcode scanner. The data receiving end will copy the first data to generate second data, and transmit the second data to the server via WIFI.
[0040] Specifically, the cash register is connected to the barcode scanner, and is used to receive the commodity information scanned by the barcode scanner and generate first data about the commodity information;
[0041] In this embodiment, the cash register includes a first receiving module and a first storage module, wherein the input end of the first receiving module is connected to the scanning gun, for receiving the product information and generating first data, the first data being text data, the output end of the first receiving module is respectively connected to the first storage module and the data receiving end, the first receiving module transmits the text data to the first storage module and the data receiving end respectively, and the first storage module saves the newly received first data of the product information as historical product information.
[0042] The first data is the text data of the product. The product information can be understood as the barcode (one-dimensional code and two-dimensional code) on the product, and the first data is the relevant information of the product collected through the barcode, such as the type, name, model, sales unit price, etc. of the product.
[0043] A data receiving end, connected to the cash register via USB-HID, and used for copying the first data into the second data;
[0044] In this embodiment, the second data includes the commodity payment code or commodity 69 code corresponding to the commodity information, and an identification code set in the cash register.
[0045] The first data is copied through the data receiving end for the following purposes:
[0046] First, the original first data is not destroyed. Generally speaking, the existing practice is to directly export the first data from the memory card in the cash register, which may result in the first data being irrecoverable if it is damaged;
[0047] Second, convert the first data of different formats into the second data of unified format. Since the barcode or QR code of the product is the same (same format, different content), the first data is copied to the second data (the content of the first data is displayed in the form of a barcode), which is convenient for the back-end server to recognize, without considering the protocol of the cash register or barcode scanner.
[0048] A server, connected to at least one of the data receiving terminals by wireless means, for receiving and storing the second data, and determining whether to generate picture information and / or voice information about the product information based on the promotion activity;
[0049] In other words, one server can collect data from multiple cash registers, thereby achieving the purpose of quickly collecting data from different cash registers.
[0050] In this embodiment, the server includes a second receiving module, a voice picture generating module and an analyzing module.
[0051] The second receiving module is used to receive the second data and send the second data to the voice picture generating module and the second storage module, and the second storage module is set in the cloud database;
[0052] The second storage module is used to receive the promotion activity rules sent by the client, and store the received new second data as historical data;
[0053] The voice and picture generating module is used to determine whether the second data generates picture information and / or voice information according to the promotion activity rules transmitted by the second storage module, and after determining that the picture information and / or voice information is to be generated, generate corresponding picture information and / or voice information, and send the picture information and / or voice information to the data transmitting terminal correspondingly connected to the cash register based on the identification code;
[0054] When the voice picture generation module generates picture information and / or voice information, it will also receive the identification code of the picture information and / or voice information. When sending the picture information and / or voice information, the identification code is used to identify the destination (data sending end) to be sent.
[0055] At the same time, since the voice and picture generation module may need to process the second data corresponding to multiple cash registers at the same time, the execution inside the voice and picture generation module realizes the generation of picture information and / or voice information through a multi-threaded parallel processing method.
[0056] Specifically, the picture information may be relevant content of the promotional activity, for example, the generated picture information corresponding to product A. The user can enter the promotional activity interface for product A by scanning the code of the picture information (if the promotional activity rules do not include any promotional activity for product A, it will not be displayed).
[0057] For example, if the clerk scans the code of multiple products at one time, the second data of multiple products are input into the voice and picture generation module together, and then it is determined whether these multiple products have promotions based on the promotion rules. If some of the products have promotions, a promotion interface is generated for these products with promotions, and no promotion interface is generated for products without promotions.
[0058] The analysis module is used to generate an analysis report based on the historical data, and send the analysis report to the client regularly.
[0059] In this embodiment, the analysis module includes a big data analysis submodule and a suggestion submodule, wherein the big data analysis submodule is used to perform consumer portrait analysis, store portrait analysis, store clustering analysis, sales change analysis in regional and commodity dimensions, commodity sales capacity analysis, and future market change trend prediction and analysis based on the historical data;
[0060] The suggestion submodule is used to predict sales trends based on historical data, where historical data refers to the historical sales volume of the product and the corresponding weather.
[0061] In some embodiments, the suggestion submodule is specifically based on a comprehensive model obtained from training a statistical model, a gradient boosting machine, and a deep learning neural network model, and the process of training the comprehensive model is:
[0062] Obtain the sales volume of goods, whether the goods participate in activities, and the average temperature during the collection period collected in multiple periods, and use the sales volume of goods, activity participation, and average temperature of the same period as a training sample, thereby forming a training set consisting of multiple training samples;
[0063] The activity participation in the training set and the average temperature of the period are used as input data and divided into two paths: the first path is input into the time series decomposer and decomposed into three items: trend, season and residual. The trend item is followed by an exponential smoothing prediction model, the season item is followed by an extrapolation predictor, and the residual item is followed by a deep learning neural network. The second path is input into the feature engineering encoder and then connected to a gradient boosting machine. Finally, the outputs of the two paths are integrated for learning. In the prediction sub-model training process, the commodity sales volume in the training sample is used as the actual label, and the predicted commodity sales volume output by the prediction sub-model is used as the predicted label. The loss function is calculated through the actual label and the predicted label, and the parameters of the model are adjusted through the loss function to finally obtain a comprehensive module. The specific system architecture diagram is shown in the figure below. Figure 4 shown.
[0064] Compared with other models, this comprehensive model has the following characteristics and advantages:
[0065] 1. The first path uses STL decomposition to hand over the trend items that change slowly in the time series to the traditional statistical model for prediction, while the residual items that change quickly are handed over to the deep neural network model for prediction. In this way, when the time series is short, the overfitting problem caused by directly using the deep learning model can be effectively reduced.
[0066] 2. The second pathway uses feature engineering and gradient boosting machines to capture richer sequence signals, thereby avoiding the underfitting problem caused by traditional models when the time series is long.
[0067] 3. Finally, by integrating the prediction results of the two pathways, an optimal balance is achieved between underfitting and overfitting, and effective prediction of time series of different lengths is achieved.
[0068] The specific participation in the activity is as follows:
[0069] The number of days in the collection period is used as the denominator, and the actual number of days participated in the activity is used as the numerator for calculation, and the three decimal places after the calculation result are taken as the specific value of the activity participation.
[0070] The data transmitting end is connected to the cash register via USB-HID and to the server via wireless connection, and is used to display the corresponding picture information and / or voice information. For example, the data transmitting end can be a QR code display that can display QR codes and has a broadcast function.
[0071] In some embodiments, the data transmitting end and the data receiving end may be integrated into one data end.
[0072] The data sending end is also provided with an identification code of the cash register connected to the data sending end. Through the identification code, the voice and picture generation module can send the generated picture information and / or voice information to the data sending end in a targeted manner. Directed information transmission is an existing technology and will not be described in detail here.
[0073] Example 2
[0074] In this embodiment, different from Embodiment 1, a host device is further arranged between the barcode scanner and the cash register, and the barcode scanner is connected to the cash register via the host device, wherein the host device is provided with a transmission protocol supporting multiple different types of barcode scanners.
[0075] This involves different barcode scanners and different cash registers having different transmission methods.
[0076] The data transmission mode of some barcode scanners on the market is that in a single protocol packet, excluding special characters (such as CTRL, SHIFT, etc.), only one character data is contained (corresponding to mode 0). In other barcode scanners, excluding special characters (such as CTRL, SHIFT, etc.), a single packet contains up to six characters of data (corresponding to mode 1), and some barcode scanners will transmit character data continuously without any key release in the middle of the continuous character data (corresponding to mode 2).
[0077] The above-mentioned method of sending data from the barcode scanner to the host device has achieved compatibility and does not require any configuration of the device, which corresponds to the "standard" configured by SFA; and some barcode scanners have multiple endpoints for data interaction, and the transmission time interval of each endpoint may be different. It is necessary to specifically obtain the endpoint time configuration for the barcode scanner to send data to the host. This problem corresponds to the "scanning delay" on SFA. In some barcode scanners, the host needs to send certain specific data to the barcode scanner before the barcode scanner sends data to the host. This kind of problem requires the device to obtain the server configuration and understand the current abnormal reason of the barcode scanner, that is, configure it to "cannot scan the code" through the background, and then send a specific piece of data to the barcode scanner; through the above-mentioned data analysis and back-end interaction to obtain the "barcode scanner type", the device can quickly and completely obtain the barcode scanning data of the barcode scanner, and then ensure the rapid and complete transmission of subsequent data transmission.
[0078] The host device sends data to the cash register, mainly using the method of sending a single character data and then releasing the key (mode 0), sending a maximum of six characters at a time (mode 1), and sending a single character continuously (mode 2) to transmit data to the cash register. By switching between these three methods, the speed of the device sending character data can be improved, and the cash register can avoid supporting only one or two modes, so that the device can transmit the data obtained from the barcode scanner to the cash register completely and quickly. The above three data transmission methods correspond to the "mode 0", "mode 1", and "mode 2" configured in the background. By configuring the "cash register data transmission mode", the data transmission method of the device to the cash register can be changed.
[0079] By switching in the above manner, the speed at which the device sends character data can be increased, and the cash register can be prevented from supporting only one or two modes, so that the device can be used normally.
[0080] Next, the data transmission process of the system of the present invention is explained through a specific case.
[0081] See also Figure 2 , the following combination Figure 2 A data collection and data analysis management method using the above system is introduced, comprising the following steps:
[0082] Step 0: Any model of cash register device is connected to the data receiving end and the data sending end through USB-HID, and the data receiving end and the data sending end communicate with the server through WIFI.
[0083] Step 1: When the barcode scanner of the cash register device scans the barcode of the product, the first data is generated. The data receiving end generates the second data by copying the first data, and sends the second data to the server through the MQTT message queue via the WIFI network communication method.
[0084] Step 2: Create and configure different and targeted promotional activities for different second data and data receiving terminals.
[0085] Step 3: The server receives the second data through the MQTT message queue and stores the second data in a cloud database.
[0086] Step 4: Perform a promotion activity check on the features of the second data, and determine whether to generate corresponding voice or pictures according to the activity configuration content. If voice or pictures are generated, the message is sent to the data sending end through the MQTT message queue. The above features include feature information of whether the second data is a payment code or a product 69 code.
[0087] Step 5: The data sending end determines whether a message sent by the MQTT message queue is received, and displays and plays the picture or voice according to the message characteristics. The above characteristics include characteristic information that the message is voice or picture.
[0088] Step 6: Read the second data in the database, extract the required data, and generate database integrity reports for different data through the created AI model according to the data analysis needs of different users. The data analysis types generated by the AI model include: consumer portrait analysis, store portrait analysis, store clustering analysis, sales change analysis in regional and commodity dimensions, marketing activity effect prediction analysis, commodity sales capacity analysis, future market trend prediction and analysis, etc.
[0089] Step 7: Display the generated database integrity reports of different data on different clients according to different users.
[0090] See also Figure 3 , the following combination Figure 3 A method for marketing products using the above system is introduced, including the following steps
[0091] Step 0: Any model of cash register device is connected to the data receiving end and the data sending end through USB-HID, and the data receiving end and the data sending end communicate with the server through WIFI.
[0092] Step 1: When the barcode scanner of the cash register device scans the barcode of the product, the first data is generated. The data receiving end generates the second data by copying the first data, and sends the second data to the server through the MQTT message queue via the WIFI network communication method.
[0093] Step 2: Create and configure different and targeted promotional activities for different second data and data receiving terminals.
[0094] Step 3: The server receives the second data through the MQTT message queue and stores the second data in a cloud database.
[0095] Step 4: Perform a promotion activity check on the features of the second data, and determine whether to generate corresponding voice or pictures according to the activity configuration content. If voice or pictures are generated, the message is sent to the data sending end through the MQTT message queue. The above features include feature information of whether the second data is a payment code or a product 69 code.
[0096] Step 5: The data sending end determines whether a message sent by the MQTT message queue is received, and displays and plays the picture or voice according to the message characteristics. The above characteristics include characteristic information that the message is voice or picture.
[0097] Step 6. The user scans the QR code generated by the data sender through WeChat and enters our corresponding marketing activity interface. According to the activity type configured in step 2 and the matching strategy in step 4, the user can participate in any type of promotional activities such as lucky draws, red envelopes, or coupons.
[0098] Embodiment 3 discloses an electronic device, comprising at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method for executing a cash register data collection system as in Embodiment 1 or 2.
[0099] Embodiment 4 discloses a storage medium storing a computer program, which, when executed by a processor, implements a method for executing a cash register data collection system of embodiment 1 or 2.
[0100] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A cash register data collection system, characterized in that: include: A cash register connected to the barcode scanner, configured to receive the commodity information scanned by the barcode scanner and generate first data about the commodity information; A data receiving end, connected to the cash register via USB-HID, and used for copying the first data into the second data; A server, connected to at least one of the data receiving terminals by wireless means, for receiving and storing the second data, and determining whether to generate picture information and / or voice information about the product information based on the promotion activity; The data sending end is connected to the cash register via USB-HID and is connected to the server via wireless connection, and is used to display the corresponding picture information and / or voice information.
2. A cash register data collection system according to claim 1, characterized in that: The cash register includes a first receiving module and a first storage module, wherein the input end of the first receiving module is connected to the scanning gun, and is used to receive the product information and generate first data, the first data is text data, the output end of the first receiving module is respectively connected to the first storage module and the data receiving end, the first receiving module transmits the text data to the first storage module and the data receiving end respectively, and the first storage module saves the newly received first data of the product information as historical product information.
3. A cash register data collection system according to claim 1, characterized in that: The second data includes the commodity payment code or commodity 69 code corresponding to the commodity information, and an identification code set in the cash register.
4. A cash register data collection system according to claim 3, characterized in that: The server includes a second receiving module, a voice picture generating module and an analyzing module, wherein: The second receiving module is used to receive the second data and send the second data to the voice picture generating module and the second storage module, and the second storage module is set in the cloud database; The second storage module is used to receive the promotion activity rules sent by the client, and store the received new second data as historical data; The voice and picture generating module is used to determine whether the second data generates picture information and / or voice information according to the promotion activity rules transmitted by the second storage module, and after determining that the picture information and / or voice information is to be generated, generate corresponding picture information and / or voice information, and send the picture information and / or voice information to the data transmitting terminal correspondingly connected to the cash register based on the identification code; The analysis module is used to generate an analysis report based on the historical data, and send the analysis report to the client regularly.
5. A cash register data collection system according to claim 4, characterized in that: The analysis module includes a big data analysis submodule and a suggestion submodule, wherein the big data analysis submodule is used to perform consumer portrait analysis, store portrait analysis, store cluster analysis, sales change analysis in regional and commodity dimensions, and commodity sales capacity analysis based on the historical data; The prediction submodule is used to predict sales trends based on historical data.
6. A cash register data collection system according to claim 5, characterized in that: The suggestion submodule is specifically based on a comprehensive model obtained by training a statistical model, a gradient boosting machine, and a deep learning neural network model. The process of training the comprehensive model is: Obtain the sales volume of goods, whether the goods participate in activities, and the average temperature during the collection period collected in multiple periods, and use the sales volume of goods, activity participation, and average temperature of the same period as a training sample, thereby forming a training set consisting of multiple training samples; The activity participation in the training set and the average temperature of the period are respectively used as input data and divided into two paths: the first path is input into the time series decomposer and decomposed into three items: trend, season and residual. The trend item is followed by an exponential smoothing prediction model, the season item is followed by an extrapolation predictor, and the residual item is followed by a deep learning neural network; The second path is input to the feature engineering encoder, followed by the gradient boosting machine; finally, the outputs of the two paths are integrated and learned, and during the training process of the suggestion sub-model, the sales volume of the goods in the training sample is used as the actual label, and the predicted sales volume of the goods output by the suggestion sub-model is used as the predicted label; A loss function is calculated using the actual labels and the predicted labels, and the parameters of the proposed sub-model are adjusted using the loss function to finally obtain a comprehensive module.
7. A cash register data collection system according to claim 6, characterized in that: The specific participation in the activity is as follows: The number of days in the collection period is used as the denominator, and the actual number of days participated in the activity is used as the numerator for calculation, and the three decimal places after the calculation result are taken as the specific value of the activity participation.
8. A cash register data collection system according to claim 1, characterized in that: A host device is also arranged between the barcode scanner and the cash register, and the barcode scanner is connected to the cash register via the host device, wherein the host device is provided with a transmission protocol supporting multiple different types of barcode scanners.
9. An electronic device, characterized in that: It includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method for executing a cash register data collection system as described in any one of claims 1 to 8.
10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a method for executing a cash register data collection system according to any one of claims 1 to 8 is implemented.