Tobacco supply system and data analysis method thereof
By collecting and analyzing tobacco order data in real time in the tobacco supply system, and using the cigarette analysis model to build a variety of data models, it solves the problems of untimely data updates and low analysis accuracy in the traditional system, and achieves efficient and accurate tobacco market data analysis. .
Patent Information
- Application Number
- CN202410630571.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The tobacco sales data collection method in the traditional tobacco supply system suffers from information communication lag, resulting in untimely data updates, sparse data sample points, and difficulty in applying analysis algorithms to diverse tobacco data types, resulting in low analysis accuracy.
Provide a tobacco supply system that collects and uploads tobacco order data in real time through the client. The cloud platform receives and analyzes the data, uses the preset cigarette analysis model for data analysis, and builds relational, non-relational and columnar data models to carry out data analysis. Market status indicator prediction is used for market status regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis.
It achieves timely updating and efficient analysis of tobacco order data, improves data analysis accuracy, is suitable for diverse tobacco data types, solves the problems of information communication lag and sparse sample points, and improves analysis efficiency and accuracy.
Smart Images

Figure CN118569486A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of tobacco data analysis, and in particular to a tobacco supply system and a data analysis method thereof. Background Art
[0002] The traditional tobacco system includes production system, circulation system and supply system. Among them, the supply system mainly includes the management of sales channels such as tobacco stores and tobacco retail stores.
[0003] At present, tobacco sales data of the tobacco supply system are generally collected offline and then manually entered into the system by staff. There is a problem of information communication lag, which leads to untimely data updates. At the same time, the data sample points used for analysis are sparse, and the analysis algorithm is difficult to apply to a variety of tobacco data types, resulting in low analysis accuracy of tobacco data. Summary of the invention
[0004] In order to timely update tobacco order data of a tobacco supply system, improve the accuracy of prediction results of tobacco data, and better adapt to various tobacco data types, the present application provides a tobacco supply system and a data analysis method thereof.
[0005] In a first aspect, the present application provides a tobacco supply system.
[0006] This application is achieved through the following technical solutions:
[0007] A tobacco supply system comprising:
[0008] Client, used to collect tobacco order data from target channels in real time and upload it;
[0009] The cloud platform is used to receive the tobacco order data, extract the target tobacco data of the previous day under the current time from the tobacco order data, and perform data analysis on the target tobacco data using a preset cigarette analysis model to obtain the target data;
[0010] A management backend for conducting regional analysis of the tobacco market status, brand analysis, dynamic sales analysis, supply and demand analysis, and consumer analysis based on the target data;
[0011] Wherein, the tobacco order data is analyzed by using a preset cigarette analysis model to obtain target data, including:
[0012] Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model;
[0013] Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model;
[0014] Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model;
[0015] According to the relational tobacco data model, the non-relational tobacco data model and the column-based tobacco data model, the cigarette analysis model is used to predict the market status index used to characterize the overall overview of the tobacco market as the target data.
[0016] In a preferred example, the present application can be further configured as follows: the cloud platform includes:
[0017] The single product specification extraction dictionary module is used to extract the product specification sales situation based on the target customer product specification on a daily basis and create a customer product specification extraction dictionary;
[0018] The full product specification extraction dictionary module is used to accumulate the sales and purchase status of the target merchant product specifications on a daily basis based on the customer product specification extraction dictionary, and create a merchant product specification extraction dictionary;
[0019] A single product specification cumulative dictionary module is used to accumulate the target customer product specification cigarette sales and purchase status on a daily basis based on the customer product specification extraction dictionary, and create a customer product specification cumulative extraction dictionary;
[0020] The full product specification cumulative dictionary module is used to accumulate the target merchant product specification cigarette sales and purchase status on a daily basis based on the merchant product specification extraction dictionary, and create a merchant product specification cumulative extraction dictionary;
[0021] A single product specification sales-to-income ratio module is used to use the customer product specification cumulative extraction dictionary to predict the sales-to-income ratio used to characterize the total number of orders for the single product specification;
[0022] The module for the sales-to-earnings ratio of all product specifications is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications by using the cumulative extraction dictionary of the merchant product specifications.
[0023] In a preferred example, the present application can be further configured as follows: the cloud platform also includes:
[0024] A single product specification price index module is used to extract a dictionary based on the customer product specification, obtain a comprehensive guide price and a guide retail price of the target product specification, and divide the comprehensive guide price by the guide retail price to predict the single product specification price index;
[0025] The full-product price index module is used to extract a dictionary based on the merchant product specifications, obtain the guide price of each product specification, accumulate the price index of the full product specification, and take the average value of the price index of the full product specification to predict the price index of the full product specification.
[0026] In a preferred example, the present application can be further configured as follows: the cloud platform also includes:
[0027] A single product specification gross profit margin module is used to extract a dictionary based on the customer product specification, and to count the total sales amount of each single product specification, the total purchase amount of each single product specification, and the total recommended retail price amount of each single product specification; according to the total sales amount of each single product specification, the total purchase amount of each single product specification, and the total recommended retail price amount of each single product specification, the total sales amount of each single product specification minus the total purchase amount of each single product specification is subtracted to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of each single product specification to predict the single product specification gross profit margin;
[0028] The gross profit margin module for all product specifications is used to extract the dictionary based on the merchant product specifications, and count the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications; according to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications, the total sales amount of all product specifications minus the total purchase amount of all product specifications is subtracted to obtain a second difference, and then the second difference is divided by the total recommended retail price amount of all product specifications to predict the gross profit margin of all product specifications.
[0029] In a preferred example, the present application can be further configured as follows: the cloud platform also includes:
[0030] A single product specification market status module is used to obtain a single product specification market status value by calculating the target single product specification price index*the target single product specification total number of orders sold to the target single product specification +the single product specification gross profit margin based on the sales-to-purchase ratio of the total number of orders of the target single product specification, the target single product specification price index and the single product specification gross profit margin;
[0031] The full-product specification market status module is used to obtain the full-product specification market status value by calculating the full-product specification price index*the full-product specification total order number sales-to-purchase ratio+the full-product specification gross profit margin based on the full-product specification total order number sales-to-purchase ratio, the full-product specification price index and the full-product specification gross profit margin.
[0032] In a preferred example, the present application can be further configured as follows: the cloud platform also includes:
[0033] The single product specification risk module is used to compare the sales-to-purchase ratio that represents the total number of orders for a single product specification with a preset threshold to predict the single product specification inflow risk or single product specification outflow risk;
[0034] The full-product risk module is used to predict the full-product inflow risk or full-product outflow risk based on the sales-to-purchase ratio that represents the total number of orders for all products, compared with the preset threshold.
[0035] In a preferred example, the present application can be further configured as follows: the client includes:
[0036] A barcode scanning gun used for tobacco scanning sales, tobacco inventory management, and collection of payment ID and member information, the barcode scanning gun is connected to the cloud platform and the management background for communication.
[0037] In a preferred example, the present application can be further configured as follows: the management backend includes:
[0038] Consumer client, used for tobacco order inquiry, pre-booking order data, points management, member code payment and group purchase pickup;
[0039] Retail client, used for tobacco business data query, tobacco policy publicity, marketing activity push and setting up retail academy;
[0040] Data management module, used to set the management authority of tobacco internal data;
[0041] External query module, used for other tobacco companies to query the purchase order sales situation;
[0042] Partner module, used for bank channels, equipment issuance and after-sales service, tobacco retailers and non-tobacco retailers cooperation.
[0043] In a second aspect, the present application provides a tobacco supply system data analysis method.
[0044] This application is achieved through the following technical solutions:
[0045] A tobacco supply system data analysis method comprises the following steps:
[0046] Extract target tobacco data of transactions completed on the previous day at the current time from tobacco order data from the target channel;
[0047] The target tobacco data is analyzed using a preset cigarette analysis model, including:
[0048] Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model;
[0049] Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model;
[0050] Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model;
[0051] According to the relational tobacco data model, the non-relational tobacco data model and the columnar tobacco data model, the cigarette analysis model is used to predict market status indicators for characterizing the overall profile of the tobacco market as target data, wherein the target data is used to conduct market status regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis of the tobacco supply system.
[0052] In a preferred example, the present application may be further configured as follows: the step of using the cigarette analysis model to predict and obtain a market status index for characterizing the overall overview of the tobacco market includes:
[0053] Extract the sales situation of target customer specifications on a daily basis and create a customer specification extraction dictionary;
[0054] Based on the customer product specification extraction dictionary, the sales and purchase status of the target merchant product specifications are accumulated on a daily basis to create a merchant product specification extraction dictionary;
[0055] Based on the customer product specification extraction dictionary, cumulatively storing the target customer product specification cigarette sales and purchase status on a daily basis, and creating a customer product specification cumulative extraction dictionary;
[0056] Based on the merchant product specification extraction dictionary, the target merchant product specification cigarette sales and purchase conditions are accumulated on a daily basis to create a merchant product specification cumulative extraction dictionary;
[0057] The customer product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for a single product specification, or the merchant product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications.
[0058] In a preferred example, the present application may be further configured as follows: the step of using the cigarette analysis model to predict the market status index used to characterize the overall overview of the tobacco market also includes:
[0059] Based on the customer product specification extraction dictionary, the comprehensive guidance price and the guidance retail price of the target product specification are obtained, and the comprehensive guidance price is divided by the guidance retail price to predict the price index of the single product specification;
[0060] Based on the merchant product specification extraction dictionary, the guide price of each product specification is obtained, accumulated to obtain the price index of all product specifications, and the average value of the price index of all product specifications is taken to predict the price index of all product specifications.
[0061] In a preferred example, the present application may be further configured as follows: the step of using the cigarette analysis model to predict the market status index used to characterize the overall overview of the tobacco market also includes:
[0062] Based on the cumulative extraction dictionary of the customer product specifications, the total sales amount of the target single product specifications, the total purchase amount of the target single product specifications, and the total recommended retail price amount of the target single product specifications are counted;
[0063] According to the total sales amount of the target single product specification, the total purchase amount of the target single product specification and the total recommended retail price amount of the target single product specification, the total sales amount of the target single product specification minus the total purchase amount of the target single product specification is calculated to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of the target single product specification to predict the gross profit margin of the single product specification;
[0064] Alternatively, based on the merchant product specification cumulative extraction dictionary, the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications are counted;
[0065] According to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total suggested retail price of all product specifications, the total sales amount of all product specifications is subtracted from the total purchase amount of all product specifications to obtain the second difference, and then the second difference is divided by the total suggested retail price of all product specifications to predict the gross profit margin of all product specifications.
[0066] In a preferred example, the present application may be further configured as follows: the step of using the cigarette analysis model to predict the market status index used to characterize the overall overview of the tobacco market includes:
[0067] Based on the sales-to-earnings ratio of the total number of orders for the target single product specification, the target single product specification price index, and the single product specification gross profit margin, the target single product specification price index*the sales-to-earnings ratio of the total number of orders for the target single product specification+the single product specification gross profit margin is calculated to obtain the single product specification market status value;
[0068] Based on the sales-to-purchase ratio of the total number of orders for all product specifications, the price index of all product specifications and the gross profit margin of all product specifications, the price index of all product specifications*the sales-to-purchase ratio of the total number of orders for all product specifications+the gross profit margin of all product specifications are calculated to obtain the market status value of all product specifications.
[0069] In a preferred example, the present application may be further configured as follows: the step of using the cigarette analysis model to predict the market status index used to characterize the overall overview of the tobacco market also includes:
[0070] Based on the sales-to-increase ratio that represents the total number of orders for a single product specification, the ratio is compared with the preset threshold to predict the risk of inflow or outflow of the single product specification.
[0071] Or based on the sales-to-purchase ratio that represents the total number of orders for all product specifications, it is compared with the preset threshold to predict the inflow risk or outflow risk of all product specifications.
[0072] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0073] Taking the preset target area as the unit, the sales-to-purchase ratio of the total number of orders for the target single product specification, the target single product specification price index, the target single product specification gross profit margin and the target single product specification market status value are calculated as the granularity of the market status regional analysis of the target area.
[0074] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0075] Taking the preset brand as the unit, the price index of the target single product specification, the sales-to-purchase ratio of the total number of orders of the target single product specification, and the gross profit margin of the target single product specification are calculated;
[0076] Calculate the target single product specification market status value corresponding to each brand according to the target single product specification price index, the sales-to-purchase ratio of the total number of orders for the target single product specification, and the target single product specification gross profit margin;
[0077] The market status values of the target single product specification are sorted, and the target single product specification price index, the sales-to-purchase ratio of the total number of orders of the target single product specification, the gross profit margin of the target single product specification and the market status value of the target single product specification corresponding to the brands in the first preset digits are selected as the brand analysis granularity of the tobacco market.
[0078] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0079] Based on the market status value of the target single product in the preset target area, the daily and monthly markings under the preset period are screened, and the market status index trend chart, delivery trend chart, order trend chart and sales trend chart are drawn as the sales trend granularity of the tobacco market.
[0080] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0081] Based on the price index of all product specifications, the comprehensive prices of all product specifications are calculated and the average is taken to obtain the comprehensive price;
[0082] The sales-to-earnings ratio of the total number of orders for all product specifications is used as the comprehensive sales-to-earnings ratio;
[0083] Based on the sales-to-purchase ratio of the total number of orders for each single product specification, the row sales ratio is calculated and the average is taken to obtain the comprehensive row sales ratio;
[0084] Based on the average price index of each single product specification, the comprehensive price is obtained.
[0085] The comprehensive price, the comprehensive sales-to-purchase ratio, the comprehensive stick-to-sale ratio and the comprehensive stick-to-sale price are used to obtain the granularity of dynamic sales analysis in the tobacco market.
[0086] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0087] Taking product specifications as units, calculate the sales-to-purchase ratio of the total number of orders for each single product specification;
[0088] Based on the calculated sales-to-increase ratio of the total number of orders for each single product specification, determine the inflow risk and outflow risk corresponding to each single product specification;
[0089] The inflow trend is obtained by taking the average value of the inflow risk of each single product specification, and the outflow trend is obtained by taking the average value of the outflow risk of each single product specification, thereby obtaining the granularity of supply and demand analysis of the tobacco market.
[0090] In a preferred example, the present application may be further configured as follows: after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the application may further include the following steps:
[0091] According to the target consumers’ gender, age and consumption frequency, the product specification flow of the target consumers is calculated to obtain the granularity of consumer analysis in the tobacco market.
[0092] In summary, compared with the prior art, the technical solution provided by this application has at least the following beneficial effects:
[0093] Collect and upload tobacco order data from target channels in real time through the client; receive tobacco order data with the help of the cloud platform, and then extract the target tobacco data of the previous day's completed transactions at the current time from the tobacco order data for tobacco order analysis; use the preset cigarette analysis model to analyze the target tobacco data, including building a table based on the structured data in the tobacco order data, any table matches the primary key used to uniquely identify each tobacco order data, and obtains a relational tobacco data model, which is easy to understand and use tobacco order data and perform structured and accurate description, and supports standardized SQL query language, and has higher analysis efficiency; based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model, which is conducive to ensuring the high scalability and flexibility of tobacco order data, so as to more accurately describe diversified tobacco data; based on the data set that meets the preset order magnitude requirements in the tobacco order data , each column is stored as an independent data structure to obtain a column-based tobacco data model, so as to further optimize the storage and query of large-scale data sets in tobacco order data, and more efficiently perform column-level query and aggregation operations to further improve the analysis efficiency of tobacco data; then the relational tobacco data model, the non-relational tobacco data model and the column-based tobacco data model are used as metadata descriptions of tobacco order data to comprehensively and accurately reflect the actual situation of tobacco order data, and the data sample points used for analysis are more dense, and the cigarette analysis model is used to predict the market status indicators used to characterize the overall profile of the tobacco market. As the target data, they are pushed to the management background for regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis of the tobacco market, which are used to assist tobacco supply marketing; the tobacco order data of the tobacco supply system can be updated in a timely manner, which is better suitable for a variety of tobacco data types and improves the analysis accuracy of tobacco order data in the tobacco supply system. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] Figure 1 A business architecture diagram of a tobacco supply system provided as an exemplary embodiment of the present application.
[0095] Figure 2 A technical architecture diagram of a tobacco supply system provided for yet another exemplary embodiment of the present application.
[0096] Figure 3 A schematic diagram of overall overview indicators of tobacco market status of a tobacco supply system data analysis method provided as another exemplary embodiment of the present application.
[0097] Figure 4 A product specification calculation logic and inflow and outflow risk logic diagram of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0098] Figure 5 A schematic diagram of cigarette placement screening results of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0099] Figure 6 A schematic diagram of the granularity results of regional analysis of tobacco market status in a target area of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0100] Figure 7 A schematic diagram of the granularity results of brand analysis in the tobacco market of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0101] Figure 8 A schematic diagram of the granularity results of sales trends in the tobacco market of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0102] Fig. 9 A schematic diagram of the granularity results of dynamic sales analysis of the tobacco market according to a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0103] Fig.10 A schematic diagram of the granularity results of supply and demand analysis in the tobacco market of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0104] Fig.11 A cigarette flow trend chart of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application.
[0105] Fig.12 A schematic diagram of product specification flow difference of a tobacco supply system data analysis method provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0106] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.
[0107] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0108] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0109] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0110] The embodiment of the present application provides a tobacco supply system, comprising:
[0111] Client, used to collect tobacco order data from target channels and upload it;
[0112] The cloud platform is used to receive the tobacco order data, extract the target tobacco data of the previous day under the current time from the tobacco order data, and perform data analysis on the target tobacco data using a preset cigarette analysis model to obtain the target data;
[0113] A management backend for conducting regional analysis of the tobacco market status, brand analysis, dynamic sales analysis, supply and demand analysis, and consumer analysis based on the target data;
[0114] Wherein, the tobacco order data is analyzed by using a preset cigarette analysis model to obtain target data, including:
[0115] Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model;
[0116] Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model;
[0117] Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model;
[0118] According to the relational tobacco data model, the non-relational tobacco data model and the column-based tobacco data model, the cigarette analysis model is used to predict the market status index used to characterize the overall overview of the tobacco market as the target data.
[0119] In one embodiment, the client comprises:
[0120] A barcode scanning gun used for tobacco scanning sales, tobacco inventory management, and collection of payment ID and member information, the barcode scanning gun is connected to the cloud platform and the management background for communication.
[0121] In one embodiment, the management backend includes:
[0122] Consumer client, used for tobacco order inquiry, pre-booking order data, points management, member code payment and group purchase pickup;
[0123] Retail client, used for tobacco business data query, tobacco policy publicity, marketing activity push and setting up retail academy;
[0124] Data management module, used to set the management authority of tobacco internal data;
[0125] External query module, used for other tobacco companies to query the purchase order sales situation;
[0126] Partner module, used for bank channels, equipment issuance and after-sales service, tobacco retailers and non-tobacco retailers cooperation.
[0127] Reference Figure 1 Specifically, a tobacco supply system, such as a tobacco company's smart new retail business architecture, includes:
[0128] Client, cloud platform (i.e. data analysis) and management backend. The collected data of the client is uploaded to the cloud platform for big data analysis, and then the analysis results are pushed to the management backend.
[0129] The client includes a handheld terminal (i.e., a barcode scanner), which is used for tobacco scanning sales, tobacco inventory management (i.e., product management), collection of payment ID and member information, device management, message notification, order module, inventory inspection, merchant location and other tobacco order data. For example, tobacco inventory, tobacco product price, payment, membership, sales data, etc.
[0130] The reservation order data in the consumer client includes tobacco shop operations, tobacco types, tobacco inventory, reservations (advance stocking), smoker group age, gender, brand preference data, points redemption data, etc.
[0131] The client also includes a consumer system, which has functions such as login / registration, member authentication, shopping cart, product search, nearby stores, order list, logout, and system instructions.
[0132] The client also includes a retail backend system that runs with the help of WeChat for Business. The retail backend system has functions such as login / registration, activity management, store management, help center, integrity group, product management, sales analysis, customer star rating, business suggestions, video module, store positioning and message notification.
[0133] The cloud platform includes data processing, data cleaning, data reporting, big data middle platform synchronization functions, big data middle platform and data big screen. The data big screen displays basic data, real-time order trends, sales heat maps, market carton pack ratio, real-time cigarette carton price, the top 10 provincial-produced cigarettes and the top 10 out-of-province cigarettes in real time.
[0134] The cloud platform adopts real-name verification to receive tobacco order data from the client in real time, solving the problem of lagging information communication in traditional tobacco system management methods. It also realizes data integration of the front-end, back-end and terminal by collecting and analyzing data from consumers, retailers, suppliers and partners.
[0135] The management backend includes a consumer client for tobacco order inquiries, pre-booked order data, points management, member code payment, and group purchase pickup;
[0136] Retail client, used for tobacco business data query, tobacco policy publicity, marketing activity push and setting up retail academy;
[0137] Data management module, used to set the management authority of tobacco internal data;
[0138] External query module, used for other tobacco companies to query the purchase order sales situation;
[0139] Partner module, used for bank channels, equipment issuance and after-sales service, tobacco retailers and non-tobacco retailers cooperation.
[0140] The management backend is used to set up functions such as permission management, carousel management, merchant management, product management, data monitoring, member management, order management, system updates and message management.
[0141] The tobacco company's smart new retail business architecture also includes:
[0142] On the management side, jump to the tobacco mobile backend through the office system.
[0143] A data panel is set up on the tobacco mobile background, which includes functions such as terminal digitization, business overview, member analysis, data overview, brand analysis, sales ranking, market status and brand details.
[0144] The tobacco mobile background is equipped with a working platform, which has functions such as login / registration, merchant management, equipment management, illegal merchants, business management, sales monitoring, early warning management, member analysis and video module.
[0145] The management end also has a bank end and a research and development end. The bank end includes customer lists, warning lists, merchant passwords, and warning operation functions. The research and development end includes maintenance lists, maintenance operations, system monitoring, performance monitoring, and daily inspections.
[0146] In one embodiment, the cloud platform includes:
[0147] The single product specification extraction dictionary module is used to extract the product specification sales situation based on the target customer product specification on a daily basis and create a customer product specification extraction dictionary;
[0148] The full product specification extraction dictionary module is used to accumulate the sales and purchase status of the target merchant product specifications on a daily basis based on the customer product specification extraction dictionary, and create a merchant product specification extraction dictionary;
[0149] A single product specification cumulative dictionary module is used to accumulate the target customer product specification cigarette sales and purchase status on a daily basis based on the customer product specification extraction dictionary, and create a customer product specification cumulative extraction dictionary;
[0150] The full product specification cumulative dictionary module is used to accumulate the target merchant product specification cigarette sales and purchase status on a daily basis based on the merchant product specification extraction dictionary, and create a merchant product specification cumulative extraction dictionary;
[0151] A single product specification sales-to-income ratio module is used to use the customer product specification cumulative extraction dictionary to predict the sales-to-income ratio used to characterize the total number of orders for the single product specification;
[0152] The module for the sales-to-earnings ratio of all product specifications is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications by using the cumulative extraction dictionary of the merchant product specifications.
[0153] In one embodiment, the cloud platform further includes:
[0154] A single product specification price index module is used to extract a dictionary based on the customer product specification, obtain a comprehensive guide price and a guide retail price of the target product specification, and divide the comprehensive guide price by the guide retail price to predict the single product specification price index;
[0155] The full-product price index module is used to extract a dictionary based on the merchant product specifications, obtain the guide price of each product specification, accumulate the price index of the full product specification, and take the average value of the price index of the full product specification to predict the price index of the full product specification.
[0156] In one embodiment, the cloud platform further includes:
[0157] A single product specification gross profit margin module is used to extract a dictionary based on the customer product specification, and to count the total sales amount of each single product specification, the total purchase amount of each single product specification, and the total recommended retail price amount of each single product specification; according to the total sales amount of each single product specification, the total purchase amount of each single product specification, and the total recommended retail price amount of each single product specification, the total sales amount of each single product specification minus the total purchase amount of each single product specification is subtracted to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of each single product specification to predict the single product specification gross profit margin;
[0158] The gross profit margin module for all product specifications is used to extract the dictionary based on the merchant product specifications, and count the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications; according to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications, the total sales amount of all product specifications minus the total purchase amount of all product specifications is subtracted to obtain a second difference, and then the second difference is divided by the total recommended retail price amount of all product specifications to predict the gross profit margin of all product specifications.
[0159] In one embodiment, the cloud platform further includes:
[0160] A single product specification market status module is used to obtain a single product specification market status value by calculating the target single product specification price index*the target single product specification total number of orders sold to the target single product specification +the single product specification gross profit margin based on the sales-to-purchase ratio of the total number of orders of the target single product specification, the target single product specification price index and the single product specification gross profit margin;
[0161] The full-product specification market status module is used to obtain the full-product specification market status value by calculating the full-product specification price index*the full-product specification total order number sales-to-purchase ratio+the full-product specification gross profit margin based on the full-product specification total order number sales-to-purchase ratio, the full-product specification price index and the full-product specification gross profit margin.
[0162] In one embodiment, the cloud platform further includes:
[0163] The single product specification risk module is used to compare the sales-to-purchase ratio that represents the total number of orders for a single product specification with a preset threshold to predict the single product specification inflow risk or single product specification outflow risk;
[0164] The full-product risk module is used to predict the full-product inflow risk or full-product outflow risk based on the sales-to-purchase ratio that represents the total number of orders for all products, compared with the preset threshold.
[0165] Reference Figure 2 , a tobacco supply system technical architecture includes target applet, enterprise WeChat, cash register terminal, firewall, computer network security facility IPS, website application-level intrusion prevention system WAF and application middleware, and application server clusters A, B, C, D, E...communication connection.
[0166] The service area is connected to the above firewall through another firewall and another computer network security facility IPS.
[0167] The service area includes data cache cluster A, data cache cluster B, data cache cluster C, etc., data processing middleware, big data cluster and distributed database cluster. Data cache cluster A, data cache cluster B, data cache cluster C, etc. are connected to the big data cluster or distributed database cluster through data processing middleware.
[0168] By adopting the above technical architecture, a client, management terminal, cloud platform for tobacco order data analysis and management background are built to realize the integrated platform operation and platform security management of a new retail system of a tobacco supply system.
[0169] A tobacco supply system first collects tobacco order data through a barcode scanner, then uploads it to a cloud platform for data processing and cleaning, and then uses an optimized cigarette analysis model algorithm to analyze the tobacco order data, and finally outputs the prediction results to a backend system or terminal.
[0170] For the specific definition of a tobacco supply system data analysis method, please refer to the above definition of a tobacco supply system, which will not be repeated here.
[0171] Each module in the above-mentioned tobacco supply system data analysis method can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0172] The present application also provides a tobacco supply system data analysis method, which is applied to any tobacco supply system in the above embodiments. The tobacco supply system data analysis method includes:
[0173] Extract target tobacco data of transactions completed on the previous day at the current time from tobacco order data from the target channel;
[0174] The target tobacco data is analyzed using a preset cigarette analysis model, including:
[0175] Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model;
[0176] Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model;
[0177] Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model;
[0178] According to the relational tobacco data model, the non-relational tobacco data model and the columnar tobacco data model, the cigarette analysis model is used to predict market status indicators for characterizing the overall profile of the tobacco market as target data, wherein the target data is used to conduct market status regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis of the tobacco supply system.
[0179] Specifically, tobacco order data from target channels such as barcode scanners or retailers is collected in real time.
[0180] After the tobacco order data is processed and cleaned, it is uploaded to the cloud platform.
[0181] The cloud platform uses data extraction middleware to extract the received tobacco order data at dawn every day and send it to the preset big data node for data governance. The extraction logic is to extract the order data of yesterday's transaction completed at dawn every day and obtain all information on the business boundary.
[0182] In the process of extracting tobacco order data through the data extraction middleware, junk order data, order data with a single order transaction amount exceeding a threshold, order data with irregular product codes, and order data with a single transaction discount amount exceeding a preset transaction amount are pre-filtered to pre-filter order data that does not meet the conditions and obtain more accurate tobacco order data.
[0183] Next, according to the data model required by the big data architecture, this embodiment adopts a relational tobacco data model, a non-relational tobacco data model and a columnar tobacco data model to manage the relevant cigarette and non-tobacco order data into the cache nodes, data nodes and computing nodes of the big data to form basic data archiving and management.
[0184] The core modules of data governance include: cigarette order forms, cigarette order form details, merchant data, cloud platform cigarette specification data, handheld terminal tobacco order data and handheld terminal tobacco order details data.
[0185] Data governance steps include:
[0186] Clarify data governance goals and scope: Determine the goals, scope, and key business needs of data governance, and clarify the importance and value of data governance to provide guidance for subsequent steps;
[0187] Define data governance policies and specifications: Develop data governance policies and specifications, including data quality standards, data security policies, data classification and grading, data retention period, etc., to ensure that data is managed and used in accordance with specifications and standards;
[0188] Establish data governance organization and framework: Establish data governance organization and framework, clarify the responsibilities and authority of data governance, formulate data governance processes and decision-making mechanisms, and ensure the effective implementation and continuous improvement of data governance;
[0189] Ensure data quality and consistency: Establish standards and metrics for data quality and consistency, and develop processes and methods for data cleaning, verification, and error correction to ensure data quality and consistency;
[0190] Manage data security and compliance: Establish data security and compliance standards and processes, including data access control, data backup and recovery, data encryption, and data loss prevention, to ensure data security and compliance;
[0191] Ensure data availability and credibility: Establish standards and processes for data availability and credibility, including data backup and recovery, data redundancy and fault recovery mechanisms, data access and sharing mechanisms, etc., to ensure data availability and credibility;
[0192] Monitor and evaluate data governance effectiveness: Establish a monitoring and evaluation mechanism for data governance effectiveness, including monitoring of data quality and consistency, auditing of data security and compliance, assessment of data availability and credibility, and timely identification and resolution of problems.
[0193] Among them, the relational tobacco data model is a data model used to describe the structured data in tobacco order data. It organizes the data into a table consisting of rows and columns. Each table has a primary key that uniquely identifies each tobacco order record. The advantage of the relational data model is that it is easy to understand and use, and supports the standardized SQL query language.
[0194] The NoSQL data model is a non-relational data model used to process unstructured data and large-scale data in tobacco order data. NoSQL data models can be divided into many types, including key-value storage, document storage, column family storage, and graph databases. The advantages of the NoSQL data model are high scalability and flexibility.
[0195] The columnar data model is a data model optimized for the storage and query of large-scale data sets. Unlike the traditional row-based data model, the columnar data model stores each column as an independent data structure, which allows for more efficient column-level query and aggregation operations. The advantage of the columnar data model is efficient query and analysis performance, but the disadvantage is that it is not suitable for frequent update operations.
[0196] Through the above data governance solution, the quality of tobacco order data to be analyzed is improved.
[0197] Data governance can improve the accuracy, completeness and consistency of data by establishing data quality standards and processes, cleaning, verifying and correcting data.
[0198] Data governance can ensure data security: Data governance can establish data security policies and processes, encrypt, back up and restore data, and ensure that data is not affected by unauthorized access, data leakage and data loss.
[0199] Data governance can enhance the value of data: Data governance can enable enterprises to better manage and utilize data, thereby enhancing the value of data, helping enterprises to better understand customer needs, optimize business processes, improve product quality and reduce costs.
[0200] Data governance can ensure compliance: Data governance can establish specifications such as data classification and grading, data retention period and data access control to ensure data compliance and avoid violations of laws, regulations and internal corporate regulations.
[0201] Data governance can improve decision-making efficiency: Data governance can improve the availability and credibility of data, help enterprises obtain and analyze data faster, thereby improving decision-making efficiency and accuracy and accelerating business innovation and development.
[0202] In one embodiment, the step of using the cigarette analysis model to predict and obtain a market status index for characterizing the overall overview of the tobacco market includes:
[0203] Extract the sales situation of target customer specifications on a daily basis and create a customer specification extraction dictionary;
[0204] Based on the customer product specification extraction dictionary, the sales and purchase status of the target merchant product specifications are accumulated on a daily basis to create a merchant product specification extraction dictionary;
[0205] Based on the customer product specification extraction dictionary, cumulatively storing the target customer product specification cigarette sales and purchase status on a daily basis, and creating a customer product specification cumulative extraction dictionary;
[0206] Based on the merchant product specification extraction dictionary, the target merchant product specification cigarette sales and purchase conditions are accumulated on a daily basis to create a merchant product specification cumulative extraction dictionary;
[0207] The customer product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for a single product specification, or the merchant product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications.
[0208] Reference Figure 3 , where market status indicators include market status, inflow risk, outflow risk, price index, sales-to-purchase ratio and gross profit margin.
[0209] Specifically, the tobacco market status and product specification granularity are enlarged to tobacco brands, tobacco industries, tobacco price categories and target areas. The enlarged product specification granularity means that the product specifications contain various characteristic indicators. It is necessary to establish an underlying cigarette analysis model during data analysis for subsequent analysis operations of tobacco order data.
[0210] The relational tobacco data model, the non-relational tobacco data model and the columnar tobacco data model are input into the preset cigarette analysis model, and the market status indicators used to characterize the overall profile of the tobacco market are predicted and output to obtain an overall profile of the tobacco market status.
[0211] For example, when creating a data model, the tobacco order data from 0:00 on January 1, 2021 to the present is extracted, and the statistical date of the analyzed data starts from January 1, 2022.
[0212] The creation result of the merchant product specification extraction dictionary is as follows:
[0213] Extract the sales situation of product specifications based on customer specifications on a daily basis;
[0214]
[0215]
[0216] The creation result of the merchant product specification extraction dictionary is as follows, where the merchant product specification extraction dictionary is obtained by combining the merchant product specification extraction dictionary:
[0217] Collect statistics on the sales and purchase of merchant products on a daily basis;
[0218]
[0219]
[0220] The creation results of the merchant cumulative extraction dictionary are as follows:
[0221] Cumulative statistics of merchants' cigarette sales and purchases on a daily basis;
[0222]
[0223]
[0224] The creation results of the cigarette delivery ordering and customer extraction dictionary are as follows: the delivery situation of single product specifications within the statistical period, and the forecast delivery ordering trend;
[0225]
[0226]
[0227] Specific screening conditions can be:
[0228] 1. Regional screening: Quanzhou, Benji, Longshan, Yongshun, Huayuan, Fenghuang
[0229] 2. Indicator screening: price index, gross profit margin, sales-to-earnings ratio, market status
[0230] Filter results such as Figure 5 The trend chart drawing logic is to filter by day for a period of less than two months and by month for a period of more than two months.
[0231] In one embodiment, the data model is divided into cache nodes, data nodes and computing nodes, and the specific division basis and effect are as follows:
[0232] Access pattern and frequency: Data with high access frequency and fixed access pattern can be divided into cache nodes to speed up data access; data with low access frequency and uncertain access pattern can be divided into data nodes to save cache resources while ensuring data reliability and security; data that requires complex calculations, analysis and mining can be divided into computing nodes to make full use of computing resources and improve computing efficiency;
[0233] Data type and size: Grouping data of the same data type and similar size into the same node can improve data access efficiency and processing efficiency and avoid frequent data transmission and conversion between nodes;
[0234] System architecture and topology: According to the system architecture and topology, data can be divided into appropriate nodes to fully utilize system resources and improve system performance and scalability. For example, sharding data and storing it on multiple data nodes can avoid single point failures and centralized data storage, and improve system fault tolerance and reliability;
[0235] Optimization strategy for data access and processing: According to the optimization strategy for data access and processing, data can be divided into appropriate nodes to improve data access efficiency and processing efficiency. For example, frequently queried data can be divided into cache nodes, and complex calculation and analysis tasks can be divided into computing nodes, which can make full use of system resources and improve system performance and efficiency.
[0236] Then optimize the management of relevant cigarette and non-cigarette order data to the big data cache nodes, data nodes, and computing nodes to form basic data archiving and management.
[0237] In one embodiment, the step of using the cigarette analysis model to predict a market status index for characterizing the overall overview of the tobacco market further includes:
[0238] Based on the customer product specification extraction dictionary, the comprehensive guidance price and the guidance retail price of the target product specification are obtained, and the comprehensive guidance price is divided by the guidance retail price to predict the price index of the single product specification;
[0239] Based on the merchant product specification extraction dictionary, the guide price of each product specification is obtained, accumulated to obtain the price index of all product specifications, and the average value of the price index of all product specifications is taken to predict the price index of all product specifications.
[0240] In one embodiment, the step of using the cigarette analysis model to predict a market status index for characterizing the overall overview of the tobacco market further includes:
[0241] Based on the cumulative extraction dictionary of the customer product specifications, the total sales amount of the target single product specifications, the total purchase amount of the target single product specifications, and the total recommended retail price amount of the target single product specifications are counted;
[0242] According to the total sales amount of the target single product specification, the total purchase amount of the target single product specification and the total recommended retail price amount of the target single product specification, the total sales amount of the target single product specification minus the total purchase amount of the target single product specification is calculated to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of the target single product specification to predict the gross profit margin of the single product specification;
[0243] Alternatively, based on the merchant product specification cumulative extraction dictionary, the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications are counted;
[0244] According to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total suggested retail price of all product specifications, the total sales amount of all product specifications is subtracted from the total purchase amount of all product specifications to obtain the second difference, and then the second difference is divided by the total suggested retail price of all product specifications to predict the gross profit margin of all product specifications.
[0245] In one embodiment, the step of using the cigarette analysis model to predict a market status indicator for characterizing the overall overview of the tobacco market includes:
[0246] Based on the sales-to-earnings ratio of the total number of orders for the target single product specification, the target single product specification price index, and the single product specification gross profit margin, the target single product specification price index*the sales-to-earnings ratio of the total number of orders for the target single product specification+the single product specification gross profit margin is calculated to obtain the single product specification market status value;
[0247] Based on the sales-to-purchase ratio of the total number of orders for all product specifications, the price index of all product specifications and the gross profit margin of all product specifications, the price index of all product specifications*the sales-to-purchase ratio of the total number of orders for all product specifications+the gross profit margin of all product specifications are calculated to obtain the market status value of all product specifications.
[0248] In one embodiment, the step of using the cigarette analysis model to predict a market status index for characterizing the overall overview of the tobacco market further includes:
[0249] Based on the sales-to-increase ratio that represents the total number of orders for a single product specification, the ratio is compared with the preset threshold to predict the risk of inflow or outflow of the single product specification.
[0250] Or based on the sales-to-purchase ratio that represents the total number of orders for all product specifications, it is compared with the preset threshold to predict the inflow risk or outflow risk of all product specifications.
[0251] For example, sales-to-purchase ratio = sales quantity / purchase quantity. The sales-to-purchase ratio is calculated based on the filtered date, total product specifications, total number of items, and total number of order items. That is, the sales-to-purchase ratio is calculated based on the order quantity and sales quantity.
[0252] Single product price index = comprehensive guidance price / guidance retail price.
[0253] Price index = (Specification A + Specification B + Specification C + ... + Specification N) / N, obtain the calculated price index with specification as the smallest granularity within the screening period, and then take the average of the price index of each specification as the final result.
[0254] Gross profit margin = (total retail price - total purchase price) / total suggested retail price. Obtain the total sales amount, total purchase amount, and total suggested retail price amount of customers within the screening period, and obtain the final result based on the gross profit margin calculation method.
[0255] Market status = price index * sales-to-purchase ratio + gross profit margin.
[0256] Reference Figure 4 In this application, the sales-to-earnings ratio of the total number of orders for all product specifications is calculated using the calculation logic for all categories, and the sales-to-earnings ratio of the total number of orders for a single product specification is calculated using the calculation logic for a single product specification.
[0257] The inflow risk or outflow risk of a product specification is determined based on the sales-to-input ratio. If the sales-to-input ratio is greater than 100%, it is determined to be an inflow risk; if the sales-to-input ratio is less than 100%, it is determined to be an outflow risk.
[0258] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0259] Taking the preset target area as the unit, the sales-to-purchase ratio of the total number of orders for the target single product specification, the target single product specification price index, the target single product specification gross profit margin and the target single product specification market status value are calculated as the granularity of the market status regional analysis of the target area.
[0260] Among them, the market status regional analysis granularity results of the target area of the tobacco market are as follows: Figure 6 shown.
[0261] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0262] Taking the preset brand as the unit, the price index of the target single product specification, the sales-to-purchase ratio of the total number of orders of the target single product specification, and the gross profit margin of the target single product specification are calculated;
[0263] Calculate the target single product specification market status value corresponding to each brand according to the target single product specification price index, the sales-to-purchase ratio of the total number of orders for the target single product specification, and the target single product specification gross profit margin;
[0264] The market status values of the target single product specification are sorted, and the target single product specification price index, the sales-to-purchase ratio of the total number of orders of the target single product specification, the gross profit margin of the target single product specification and the market status value of the target single product specification corresponding to the brands in the first preset digits are selected as the brand analysis granularity of the tobacco market.
[0265] Among them, the granularity results of brand analysis in the tobacco market are as follows: Figure 7 shown.
[0266] 1. Obtain the price index, sales-to-purchase ratio, and gross profit margin based on the brand as the basic unit according to the date screening conditions;
[0267] 2. Calculate the market status based on price index, sales-to-purchase ratio and gross profit margin and select the top 10 brands.
[0268] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0269] Based on the market status value of the target single product in the preset target area, the daily and monthly markings under the preset period are screened, and the market status index trend chart, delivery trend chart, order trend chart and sales trend chart are drawn as the sales trend granularity of the tobacco market.
[0270] Among them, the sales trend granularity results of the tobacco market are as follows: Figure 8 As shown, the calculation method is as follows:
[0271] 1. Market status index trend: same as the above market status trend algorithm;
[0272] 2. Delivery trend: Delivery trend is collected according to the period (the unit of collection is box);
[0273] 3. Order trend: Order trend is calculated based on the delivery cycle (the unit of measurement is box);
[0274] 4. Sales trend: Calculate sales trend based on sales situation.
[0275] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0276] Based on the price index of all product specifications, the comprehensive prices of all product specifications are calculated and the average is taken to obtain the comprehensive price;
[0277] The sales-to-earnings ratio of the total number of orders for all product specifications is used as the comprehensive sales-to-earnings ratio;
[0278] Based on the sales-to-purchase ratio of the total number of orders for each single product specification, the row sales ratio is calculated and the average is taken to obtain the comprehensive row sales ratio;
[0279] Based on the average price index of each single product specification, the comprehensive price is obtained.
[0280] The comprehensive price, the comprehensive sales-to-purchase ratio, the comprehensive stick-to-sale ratio and the comprehensive stick-to-sale price are used to obtain the granularity of dynamic sales analysis in the tobacco market.
[0281] Among them, the granularity results of the dynamic sales analysis of the tobacco market are as follows: Fig. 9 As shown, the calculation method is as follows:
[0282] Comprehensive price:
[0283] 1. Calculate the comprehensive price of all specifications; 2. Take the average value to get the result;
[0284] Sales to Profit Ratio:
[0285] Same as the above sales-to-earnings ratio calculation method;
[0286] Sales ratio:
[0287] 1. Calculate the sales ratio of each product according to the product specifications; 2. Take the average value to get the result;
[0288] Price per piece:
[0289] 1. Get the price of each product. 2. Take the average to get the result.
[0290] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0291] Taking product specifications as units, calculate the sales-to-purchase ratio of the total number of orders for each single product specification;
[0292] Based on the calculated sales-to-increase ratio of the total number of orders for each single product specification, determine the inflow risk and outflow risk corresponding to each single product specification;
[0293] The inflow trend is obtained by taking the average value of the inflow risk of each single product specification, and the outflow trend is obtained by taking the average value of the outflow risk of each single product specification, thereby obtaining the granularity of supply and demand analysis of the tobacco market.
[0294] Among them, the granularity results of supply and demand analysis of the tobacco market are as follows: Fig.10 As shown, the calculation method is as follows:
[0295] 1. Calculate the sales-to-purchase ratio of each product specification based on product specifications;
[0296] 2. Split the data of inflow and outflow according to the sales-to-income ratio;
[0297] 3. Take the average value to get the inflow and outflow trend.
[0298] In one embodiment, after the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, the following steps are also included:
[0299] According to the target consumers’ gender, age and consumption frequency, the product specification flow of the target consumers is calculated to obtain the granularity of consumer analysis in the tobacco market.
[0300] Draw corresponding data icons based on gender, age, and number of consumption times, and enter the outflow product ranking: calculate the product flow of consumers.
[0301] In one embodiment, customer trend information is obtained based on the periodic order table to obtain the ordering customer trend.
[0302] In one embodiment, brand comparison indicators are used to analyze the details of the same brand and compare tobacco brands.
[0303] In one embodiment, the trend diagram of cigarette flow is as follows Fig.11As shown, the specific algorithm is as follows:
[0304] 1. The rule for selecting trend nodes is to use monthly nodes for more than 3 months and daily nodes for less than 2 months;
[0305] 2. The overall abnormal flow situation is calculated according to the normal sales-to-earnings ratio calculation logic. A sales-to-earnings ratio greater than 1 is an inflow, and a sales-to-earnings ratio less than 1 is an outflow;
[0306] 3. Calculation of product specification flow differences:
[0307] – Calculate the inflow and outflow of each product cycle node;
[0308] – Take the average value of the inflow specifications to calculate the inflow ratio;
[0309] – Take the average value of the outflow product specifications to calculate the outflow ratio.
[0310] In one embodiment, the schematic diagram of product specification flow is as follows Fig.12 As shown, the specific algorithm is as follows:
[0311] 1. Count the brand sales-to-earnings ratio by brand according to the screening period;
[0312] 2. Calculate the top 20 product specifications in terms of inflow and outflow based on the sales-to-in ratio.
[0313] In summary, tobacco order data of target channels are collected and uploaded in real time through the client; tobacco order data is received with the help of the cloud platform, and then the target tobacco data of the previous day's transaction completed at the current time is extracted from the tobacco order data for tobacco order analysis; the target tobacco data is analyzed using a preset cigarette analysis model, including: constructing a table based on the structured data in the tobacco order data, any table matches a primary key that is used to uniquely identify each tobacco order data, and a relational tobacco data model is obtained, which is easy to understand and use tobacco order data and to perform structured and accurate description, and supports standardized SQL query language, and the analysis efficiency is higher; based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model, which is conducive to ensuring the high scalability and flexibility of tobacco order data, so as to more accurately describe diversified tobacco data; based on the data in the tobacco order data that meets the preset order magnitude requirements The data set is stored in a separate data structure to obtain a column-based tobacco data model, which is used to further optimize the storage and query of large-scale data sets in tobacco order data. Column-level query and aggregation operations can be performed more efficiently to further improve the analysis efficiency of tobacco data. The relational tobacco data model, non-relational tobacco data model and column-based tobacco data model are used as metadata descriptions of tobacco order data to comprehensively and accurately reflect the actual situation of tobacco order data. The data sample points used for analysis are denser, and the cigarette analysis model is used to predict the market status indicators used to characterize the overall profile of the tobacco market. The indicators are used as target data and pushed to the management background for regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis of the tobacco market to assist tobacco supply marketing. The tobacco order data of the tobacco supply system can be updated in a timely manner, which is better suitable for a variety of tobacco data types and improves the analysis accuracy of tobacco order data in the tobacco supply system.
[0314] Real-time push of tobacco order data solves the problem of information communication lag in traditional tobacco system management methods, enables more accurate data prediction, improves the problems of sparse sample points and poor fault tolerance of analysis algorithms in traditional analysis methods, and makes the analysis results of tobacco order data more accurate, which is conducive to better guiding the actual operation of the tobacco supply system.
[0315] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0316] In one embodiment, a computer device is provided, which may be a server. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, any of the above-mentioned tobacco supply system data analysis methods is implemented.
[0317] In one embodiment, a computer-readable storage medium is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any one of the above-mentioned tobacco supply system data analysis methods is implemented.
[0318] In one embodiment, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, any one of the above tobacco supply system data analysis methods is implemented.
[0319] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. When the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0320] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.
Claims
1. A tobacco supply system, characterized in that: include, Client, used to collect tobacco order data from target channels in real time and upload it; The cloud platform is used to receive the tobacco order data, extract the target tobacco data of the previous day under the current time from the tobacco order data, and perform data analysis on the target tobacco data using a preset cigarette analysis model to obtain the target data; A management backend for conducting regional analysis of the tobacco market status, brand analysis, dynamic sales analysis, supply and demand analysis, and consumer analysis based on the target data; Wherein, the tobacco order data is analyzed by using a preset cigarette analysis model to obtain target data, including: Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model; Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model; Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model; According to the relational tobacco data model, the non-relational tobacco data model and the column-based tobacco data model, the cigarette analysis model is used to predict the market status index used to characterize the overall overview of the tobacco market as the target data.
2. The tobacco supply system according to claim 1, characterized in that: The cloud platform includes: The single product specification extraction dictionary module is used to extract the product specification sales situation based on the target customer product specification on a daily basis and create a customer product specification extraction dictionary; The full product specification extraction dictionary module is used to accumulate the sales and purchase status of the target merchant product specifications on a daily basis based on the customer product specification extraction dictionary, and create a merchant product specification extraction dictionary; A single product specification cumulative dictionary module is used to accumulate the target customer product specification cigarette sales and purchase status on a daily basis based on the customer product specification extraction dictionary, and create a customer product specification cumulative extraction dictionary; The full product specification cumulative dictionary module is used to accumulate the target merchant product specification cigarette sales and purchase status on a daily basis based on the merchant product specification extraction dictionary, and create a merchant product specification cumulative extraction dictionary; A single product specification sales-to-income ratio module is used to use the customer product specification cumulative extraction dictionary to predict the sales-to-income ratio used to characterize the total number of orders for the single product specification; The module for the sales-to-earnings ratio of all product specifications is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications by using the cumulative extraction dictionary of the merchant product specifications.
3. The tobacco supply system according to claim 2, characterized in that: The cloud platform also includes: A single product specification price index module is used to extract a dictionary based on the customer product specification, obtain a comprehensive guide price and a guide retail price of the target product specification, and divide the comprehensive guide price by the guide retail price to predict the single product specification price index; The full-product price index module is used to extract a dictionary based on the merchant product specifications, obtain the guide price of each product specification, accumulate the price index of the full product specification, and take the average value of the price index of the full product specification to predict the price index of the full product specification.
4. The tobacco supply system according to claim 3, characterized in that: The cloud platform also includes: A single product specification gross profit margin module is used to extract a dictionary based on the customer product specifications, and to calculate the total sales amount of each single product specification, the total purchase amount of each single product specification, and the total recommended retail price amount of each single product specification; According to the total sales amount of each single product specification, the total purchase amount of each single product specification and the total recommended retail price amount of each single product specification, the total sales amount of each single product specification minus the total purchase amount of each single product specification is calculated to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of each single product specification to predict the gross profit margin of the single product specification; The gross profit margin module for all product specifications is used to extract dictionaries based on the merchant product specifications, and to calculate the total sales amount of all product specifications, the total purchase amount of all product specifications, and the total recommended retail price amount of all product specifications; According to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total suggested retail price of all product specifications, the total sales amount of all product specifications is subtracted from the total purchase amount of all product specifications to obtain the second difference, and then the second difference is divided by the total suggested retail price of all product specifications to predict the gross profit margin of all product specifications.
5. The tobacco supply system according to claim 4, characterized in that: The cloud platform also includes: A single product specification market status module is used to obtain a single product specification market status value by calculating the target single product specification price index*the target single product specification total number of orders sold to the target single product specification +the single product specification gross profit margin based on the sales-to-purchase ratio of the total number of orders of the target single product specification, the target single product specification price index and the single product specification gross profit margin; The full-product specification market status module is used to obtain the full-product specification market status value by calculating the full-product specification price index*the full-product specification total order number sales-to-purchase ratio+the full-product specification gross profit margin based on the full-product specification total order number sales-to-purchase ratio, the full-product specification price index and the full-product specification gross profit margin.
6. The tobacco supply system according to claim 5, characterized in that: The cloud platform also includes: The single product specification risk module is used to compare the sales-to-purchase ratio that represents the total number of orders for a single product specification with a preset threshold to predict the single product specification inflow risk or single product specification outflow risk; The full-product risk module is used to predict the full-product inflow risk or full-product outflow risk based on the sales-to-purchase ratio that represents the total number of orders for all products, compared with the preset threshold.
7. The tobacco supply system according to claim 1, characterized in that: The client comprises: A barcode scanning gun used for tobacco scanning sales, tobacco inventory management, and collection of payment ID and member information, the barcode scanning gun is connected to the cloud platform and the management background for communication.
8. The tobacco supply system according to claim 1, characterized in that: The management backend includes: Consumer client, used for tobacco order inquiry, pre-booking order data, points management, member code payment and group purchase pickup; Retail client, used for tobacco business data query, tobacco policy publicity, marketing activity push and setting up retail academy; Data management module, used to set the management authority of tobacco internal data; External query module, used for other tobacco companies to query the purchase order sales situation; Partner module, used for bank channels, equipment issuance and after-sales service, tobacco retailers and non-tobacco retailers cooperation.
9. A tobacco supply system data analysis method, characterized in that: The following steps are included: Extract target tobacco data of transactions completed on the previous day at the current time from tobacco order data from the target channel; The target tobacco data is analyzed using a preset cigarette analysis model, including: Using big data technology, constructing a table based on the structured data in the tobacco order data, any of the tables matching a primary key for uniquely identifying each tobacco order data, to obtain a relational tobacco data model; Using big data technology, based on the unstructured data and large-scale data in the tobacco order data, key-value storage, document storage, column family storage and graph database storage are performed to obtain a non-relational tobacco data model; Using big data technology, based on the data set that meets the preset order of magnitude requirement in the tobacco order data, each column is stored as an independent data structure to obtain a column-based tobacco data model; According to the relational tobacco data model, the non-relational tobacco data model and the columnar tobacco data model, the cigarette analysis model is used to predict market status indicators for characterizing the overall profile of the tobacco market as target data, wherein the target data is used to conduct market status regional analysis, brand analysis, dynamic sales analysis, supply and demand analysis and consumer analysis of the tobacco supply system.
10. The tobacco supply system data analysis method according to claim 9, characterized in that: The steps of using the cigarette analysis model to predict and obtain market status indicators for characterizing the overall overview of the tobacco market include: Extract the sales situation of target customer specifications on a daily basis and create a customer specification extraction dictionary; Based on the customer product specification extraction dictionary, the sales and purchase status of the target merchant product specifications are accumulated on a daily basis to create a merchant product specification extraction dictionary; Based on the customer product specification extraction dictionary, cumulatively storing the target customer product specification cigarette sales and purchase status on a daily basis, and creating a customer product specification cumulative extraction dictionary; Based on the merchant product specification extraction dictionary, the target merchant product specification cigarette sales and purchase conditions are accumulated on a daily basis to create a merchant product specification cumulative extraction dictionary; The customer product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for a single product specification, or the merchant product specification cumulative extraction dictionary is used to predict the sales-to-earnings ratio used to characterize the total number of orders for all product specifications.
11. The tobacco supply system data analysis method according to claim 10, characterized in that: The step of using the cigarette analysis model to predict market status indicators for characterizing the overall overview of the tobacco market also includes: Based on the customer product specification extraction dictionary, the comprehensive guidance price and the guidance retail price of the target product specification are obtained, and the comprehensive guidance price is divided by the guidance retail price to predict the price index of the single product specification; Based on the merchant product specification extraction dictionary, the guide price of each product specification is obtained, accumulated to obtain the price index of all product specifications, and the average value of the price index of all product specifications is taken to predict the price index of all product specifications.
12. The tobacco supply system data analysis method according to claim 11, characterized in that: The step of using the cigarette analysis model to predict market status indicators for characterizing the overall overview of the tobacco market also includes: Based on the cumulative extraction dictionary of the customer product specifications, the total sales amount of the target single product specifications, the total purchase amount of the target single product specifications, and the total recommended retail price amount of the target single product specifications are counted; According to the total sales amount of the target single product specification, the total purchase amount of the target single product specification and the total recommended retail price amount of the target single product specification, the total sales amount of the target single product specification minus the total purchase amount of the target single product specification is calculated to obtain a first difference, and then the first difference is divided by the total recommended retail price amount of the target single product specification to predict the gross profit margin of the single product specification; Alternatively, based on the merchant product specification cumulative extraction dictionary, the total sales amount of all product specifications, the total purchase amount of all product specifications and the total recommended retail price amount of all product specifications are counted; According to the total sales amount of all product specifications, the total purchase amount of all product specifications and the total suggested retail price of all product specifications, the total sales amount of all product specifications is subtracted from the total purchase amount of all product specifications to obtain the second difference, and then the second difference is divided by the total suggested retail price of all product specifications to predict the gross profit margin of all product specifications.
13. The tobacco supply system data analysis method according to claim 12, characterized in that: The steps of using the cigarette analysis model to predict market status indicators for characterizing the overall overview of the tobacco market include: Based on the sales-to-earnings ratio of the total number of orders for the target single product specification, the target single product specification price index, and the single product specification gross profit margin, the target single product specification price index*the sales-to-earnings ratio of the total number of orders for the target single product specification+the single product specification gross profit margin is calculated to obtain the single product specification market status value; Based on the sales-to-purchase ratio of the total number of orders for all product specifications, the price index of all product specifications and the gross profit margin of all product specifications, the price index of all product specifications*the sales-to-purchase ratio of the total number of orders for all product specifications+the gross profit margin of all product specifications are calculated to obtain the market status value of all product specifications.
14. The tobacco supply system data analysis method according to claim 13, characterized in that: The step of using the cigarette analysis model to predict market status indicators for characterizing the overall overview of the tobacco market also includes: Based on the sales-to-increase ratio that represents the total number of orders for a single product specification, the ratio is compared with the preset threshold to predict the risk of inflow or outflow of the single product specification. Or based on the sales-to-purchase ratio that represents the total number of orders for all product specifications, it is compared with the preset threshold to predict the inflow risk or outflow risk of all product specifications.
15. The tobacco supply system data analysis method according to claim 14, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: Taking the preset target area as the unit, the sales-to-purchase ratio of the total number of orders for the target single product specification, the target single product specification price index, the target single product specification gross profit margin and the target single product specification market status value are calculated as the granularity of the market status regional analysis of the target area.
16. The tobacco supply system data analysis method according to claim 15, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: Taking the preset brand as the unit, the price index of the target single product specification, the sales-to-purchase ratio of the total number of orders of the target single product specification, and the gross profit margin of the target single product specification are calculated; Calculate the target single product specification market status value corresponding to each brand according to the target single product specification price index, the sales-to-purchase ratio of the total number of orders for the target single product specification, and the target single product specification gross profit margin; The market status values of the target single product specification are sorted, and the target single product specification price index, the sales-to-purchase ratio of the total number of orders of the target single product specification, the gross profit margin of the target single product specification and the market status value of the target single product specification corresponding to the brands in the first preset digits are selected as the brand analysis granularity of the tobacco market.
17. The tobacco supply system data analysis method according to claim 15, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: Based on the market status value of the target single product in the preset target area, the daily and monthly markings under the preset period are screened, and the market status index trend chart, delivery trend chart, order trend chart and sales trend chart are drawn as the sales trend granularity of the tobacco market.
18. The tobacco supply system data analysis method according to claim 15, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: Based on the price index of all product specifications, the comprehensive prices of all product specifications are calculated and the average is taken to obtain the comprehensive price; The sales-to-earnings ratio of the total number of orders for all product specifications is used as the comprehensive sales-to-earnings ratio; Based on the sales-to-purchase ratio of the total number of orders for each single product specification, the row sales ratio is calculated and the average is taken to obtain the comprehensive row sales ratio; Based on the average price index of each single product specification, the comprehensive price is obtained. The comprehensive price, the comprehensive sales-to-purchase ratio, the comprehensive stick-to-sale ratio and the comprehensive stick-to-sale price are used to obtain the granularity of dynamic sales analysis in the tobacco market.
19. The tobacco supply system data analysis method according to claim 15, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: Taking product specifications as units, calculate the sales-to-purchase ratio of the total number of orders for each single product specification; Based on the calculated sales-to-increase ratio of the total number of orders for each single product specification, determine the inflow risk and outflow risk corresponding to each single product specification; The inflow trend is obtained by taking the average value of the inflow risk of each single product specification, and the outflow trend is obtained by taking the average value of the outflow risk of each single product specification, thereby obtaining the granularity of supply and demand analysis of the tobacco market.
20. The tobacco supply system data analysis method according to claim 15, characterized in that: After the step of using the cigarette analysis model to predict and obtain the market status index for characterizing the overall overview of the tobacco market, The following steps are included: According to the target consumers’ gender, age and consumption frequency, the product specification flow of the target consumers is calculated to obtain the granularity of consumer analysis in the tobacco market.
Citation Information
Patent Citations
Six-in-one independent B2C retail mall system and method
CN107451829A
Cloud supply and marketing comprehensive integrated O2O e-commerce platform
CN111047390A
Intelligent operation and maintenance big data management system and method for urban rail transit
CN111930835A
Ordering management platform and ordering method based on Internet of Things and data analysis
CN113780732A
Visual analysis processing method and system based on wind power data and computer equipment
CN115827922A
Cited By
Internal supervision system of tobacco unified monopoly supervision platform
CN119721583A
