Data analysis system and analysis method based on tree structure dimension
Through the data analysis method based on the tree structure dimension, the problem that traditional methods are difficult to process complex hierarchical data is solved, in-depth analysis of product sales and timely discovery and optimization of slow-selling problems are achieved, and the efficiency and accuracy of data analysis are improved. .
Patent Information
- Application Number
- CN202411016922.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Traditional data analysis methods are difficult to effectively process complex hierarchical data. In particular, they lack effective methods for in-depth analysis of product sales trends and unsaleable issues, and cannot fully reveal the inherent laws and trends of the data.
Using a data analysis method based on tree structure dimensions, by obtaining attribute data of commodity materials, constructing feature sets and conducting comparative analysis, we can screen out unsaleable products, calculate unsaleable performance values and impact correlation values, and generate slow-selling signals and impact correlation signals. Optimize promotion costs to improve slow sales.
It has realized in-depth analysis of the sales of commodity materials, timely discovered slow-selling problems, and improved the slow-selling situation by optimizing promotion costs, improving the efficiency and accuracy of data analysis.
Smart Images

Figure CN118552240B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data analysis, and in particular to a data analysis system and an analysis method thereof based on a tree structure dimension. Background Art
[0002] With the advent of the big data era, the amount of data has exploded, and the hierarchical and classification relationships between data are becoming increasingly complex. Traditional data analysis methods are often inefficient in processing such data and it is difficult to fully reveal the inherent laws and trends of the data. Therefore, a data analysis method and system that can efficiently process complex hierarchical data is needed.
[0003] A Chinese patent application with announcement number CN110780261B discloses a data analysis method, system and storage medium based on tree structure dimension, the method comprising: establishing a tree dimension structure diagram based on the statistical attributes of commodities; creating a rule configuration table covering leaf node information according to the tree dimension structure diagram; creating a tree dimension table covering all node information according to the rule configuration table and the tree structure diagram; generating a tree dimension bridge table and a tree dimension filter table covering parent node information according to the tree dimension table; and performing different types of data summary analysis based on the created rule configuration table and / or tree dimension filter table.
[0004] In the prior art, the data analysis method of the tree structure dimension is applicable to the sales of commodity materials and buying and selling transactions, but in general analysis, such as the above-mentioned prior art, this method is mostly used to analyze the transaction trend of commodity materials or to intuitively reflect the quantity changes of commodity materials through the data summary distribution of the tree structure dimension. There is a lack of in-depth analysis of its commodity sales through the tree structure dimension, that is, analyzing the problems of unsalable commodities through the ranking trend of commodity sales volume in the tree structure, and analyzing the potential reasons for the changing trend of commodity sales through structural data at different levels.
[0005] To this end, the present invention provides a data analysis system and an analysis method based on a tree structure dimension. Summary of the invention
[0006] In order to make up for the deficiencies of the prior art, at least one technical problem raised in the background technology is solved.
[0007] The technical solution adopted by the present invention to solve the technical problem is: a data analysis method based on tree structure dimension, including:
[0008] Acquire the attribute data of commodity materials within the sales task cycle, and build a feature set of commodity materials based on the attribute data of commodity materials. The feature set includes a three-level tree structure.
[0009] Compare and analyze the feature sets of commodity materials to obtain sales performance values of commodity materials and screen and mark the commodity materials to obtain unsalable commodity materials, obtain the percentage data of unsalable commodity materials, and obtain the unsalable performance value by processing the percentage data;
[0010] Among them, the screening and marking methods for slow-moving goods are as follows:
[0011] Obtain the sales ranking performance value and sales volume performance value of the commodity material and sum them up to obtain the sales performance value, compare the sales performance value with the sales performance threshold, and if the sales performance value of the commodity material is greater than the sales performance threshold of the commodity material, mark the commodity material as a slow-moving commodity material;
[0012] Compare the unsalable performance value with the unsalable performance threshold, and if the unsalable performance value is greater than the unsalable performance threshold, generate an unsalable high signal;
[0013] Based on the slow-moving high signal, the sales volume of the commodity material and the promotion cost of the commodity material are combined and analyzed to obtain the impact association value, and the impact association value is compared with the impact association threshold. If the impact association value is greater than or equal to the impact association threshold, an impact association signal is generated;
[0014] Based on the impact correlation signal, the promotion cost optimization coefficient is obtained, and the promotion cost of slow-moving commodity materials is optimized according to the promotion cost optimization coefficient;
[0015] Among them, the promotion cost optimization coefficient includes the promotion cost control value.
[0016] As a further technical solution of the present invention, the attribute data includes the name, sales volume and promotion cost of the product;
[0017] The tree structure is as follows from top to bottom: product - product name - product promotion cost;
[0018] The construction of the three-level tree structure includes: the construction of the second-level commodity names is carried out according to the sales volume of the corresponding commodity materials within the sales task cycle, wherein the sorting of the second-level commodity names is arranged in order from large to small according to their sales volume.
[0019] As a further technical solution of the present invention, the sales ranking performance value is obtained by:
[0020] Acquire the feature sets of commodity materials constructed during multiple sales task cycles, compare and analyze the tree structures included in the feature sets, obtain the rankings of the commodity materials' product names in the second level of each tree structure, sum and average the values, and perform ratio processing to obtain the average ranking ratio of the commodity materials, integrate the rankings of the commodity materials' product names in the second level of each tree structure into ranking groups, obtain the variance values of the ranking groups, perform ratio processing on the average ranking ratio of the commodity materials and the variance values of the ranking groups, and obtain the sales ranking performance values of the commodity materials.
[0021] As a further technical solution of the present invention, the average ranking ratio of commodity materials is obtained as follows:
[0022] Sum and average the rankings of the product names of the commodity materials in the second level of each tree structure to obtain the average ranking of the commodity materials in the second level of the tree structure, obtain the total number of rankings of the product names of the commodity materials in the tree structure, and perform ratio processing on the average ranking of the commodity materials in the second level of the tree structure and the total number of rankings of the product names of the commodity materials in the tree structure to obtain the average ranking ratio of the commodity materials.
[0023] As a further technical solution of the present invention, the sales performance value is obtained by:
[0024] Obtain the sales volume of the commodity material within the sales task cycle, and compare it with the sales reference volume of the commodity material within the sales task cycle. If the sales volume is less than the sales reference volume, perform difference processing on the sales reference volume and the sales volume to obtain the sales deviation of the commodity material within the sales task cycle.
[0025] Obtain the sales deviation of commodity materials in different sales task cycles, sum and average them to obtain the sales mean deviation, perform ratio processing on the sales mean deviation and the sales reference volume in the sales task cycle to obtain the sales mean deviation ratio of commodity materials;
[0026] The sales reference volume of a commodity material within the sales task cycle is equal to the total sales volume of all commodity materials within the sales task cycle divided by the number of commodity names corresponding to the commodity materials in the tree structure;
[0027] The sales deviation of commodity materials in different sales task cycles are integrated into a sales deviation data group, and the variance value of the sales deviation data group is obtained. The sales mean deviation ratio of the commodity materials is processed with the variance value of the sales deviation data group to obtain the sales volume performance value of the commodity materials.
[0028] As a further technical solution of the present invention, the proportion data includes a quantity proportion performance value SL and a degree proportion performance value CD, and the quantity proportion performance value SL and the degree proportion performance value CD are processed to obtain a slow-moving performance value through the formula: ZX=s1*SL+s2*CD, wherein s1 and s2 are both preset proportion coefficients;
[0029] The method for obtaining the quantity percentage performance value SL is as follows:
[0030] Count the number of slow-moving goods in the commodity materials, and perform ratio processing on the number of slow-moving goods and the number of commodity materials to obtain the quantity percentage performance value SL;
[0031] The method of obtaining the degree ratio performance value CD is as follows:
[0032] Obtain the sales performance value of the slow-moving commodity material, perform difference processing on the sales performance value of the slow-moving commodity material and the sales performance threshold value to obtain the sales performance deviation value of the slow-moving commodity material, obtain the sales performance deviation values of all the slow-moving commodity materials, sum and average them, and obtain the sales performance deviation mean;
[0033] The sales performance deviation mean is compared with the sales performance deviation threshold to obtain the degree ratio performance value CD.
[0034] As a further technical solution of the present invention, the method for obtaining the influence association value is:
[0035] Mark and connect the sales volume of commodity materials and the promotion cost of commodity materials in the XY two-dimensional coordinate system to obtain the sales performance change line;
[0036] Mark the line between every two adjacent sales volume mark points in the sales performance change line as a change sub-line, measure the slope value of the change sub-line, and if the slope value of the change sub-line is greater than 0, mark it as a normal change sub-line;
[0037] The quantity ratio and change ratio of the normal change sub-broken lines are obtained, and the change correlation value is obtained by outputting and processing, and the sales task cycle is marked based on the change correlation value to obtain the correlated sales task cycle;
[0038] The number of all associated sales task cycles is counted, and the number of associated sales task cycles is ratioed to the number of sales task cycles to obtain an impact association value.
[0039] As a further technical solution of the present invention, the number ratio and the change ratio of the normal change sub-fold lines are obtained as follows:
[0040] Count the number of normal change sub-fold lines, and perform ratio processing on the number of normal change sub-fold lines and the number of change sub-fold lines to obtain the number ratio of normal change sub-fold lines;
[0041] Among all the normal change sub-fold lines, measure the lengths of the normal change sub-fold lines in the horizontal direction and the vertical direction, mark them as the horizontal extension length and the vertical extension length, perform ratio processing on the vertical extension length and the horizontal extension length, and obtain the change ratio of the normal change sub-fold line;
[0042] Among them, the horizontal direction is consistent with the direction of the X axis, and the vertical direction is consistent with the direction of the Y axis;
[0043] The way to obtain the change associated value is:
[0044] Integrate the change ratios of all normal change sub-broken lines into a change ratio data group, obtain the variance value of the change ratio data group, perform ratio processing on the number ratio of the normal change sub-broken lines and the variance value of the change ratio data group, and obtain the change correlation value within the sales task cycle;
[0045] comparing the change association value to a change association threshold;
[0046] If the change correlation value is greater than the change correlation threshold, the sales task cycle corresponding to the change correlation value is marked as a correlated sales task cycle.
[0047] As a further technical solution of the present invention, the promotion cost optimization coefficient includes a promotion cost control value;
[0048] The method for obtaining the promotion cost control value is as follows:
[0049] Obtain the change ratios of all normal change sub-broken lines, sum them up and take the average, obtain the target optimization ratio, and obtain the sales mean deviation of slow-moving goods;
[0050] The sales mean deviation of slow-moving goods is processed with the target optimization ratio to obtain the promotion cost control value.
[0051] The data analysis system based on tree structure dimension includes:
[0052] Structure construction module: obtains the attribute data of commodity materials within the sales task cycle, and constructs a feature set of commodity materials based on the attribute data of commodity materials, wherein the feature set includes a three-level tree structure;
[0053] Slow-selling data acquisition module: compares and analyzes the feature sets of commodity materials to obtain the sales performance values of commodity materials, and screens and marks the commodity materials to obtain slow-selling commodity materials, obtains the proportion data of slow-selling commodity materials, and obtains the slow-selling performance value by processing the proportion data;
[0054] Slow-selling analysis module: compares the slow-selling performance value with the slow-selling performance threshold. If the slow-selling performance value is greater than the slow-selling performance threshold, a slow-selling high signal is generated;
[0055] Influence data acquisition module: Based on the high signal of unsalable products, the sales volume of commodity materials and the promotion cost of commodity materials are combined and analyzed to obtain the influence correlation value;
[0056] Impact analysis module: compares the impact correlation value with the impact correlation threshold to determine whether the promotion cost of the commodity material affects the unsalability of the commodity material. If the impact correlation value is greater than or equal to the impact correlation threshold, an impact correlation signal is generated;
[0057] Slow-selling optimization module: Based on the impact correlation signal, the promotion cost optimization coefficient is obtained, and the promotion cost of slow-selling commodity materials is optimized according to the promotion cost optimization coefficient.
[0058] The beneficial effects of the present invention are as follows:
[0059] 1. The present invention obtains attribute data of commodity materials within a sales task cycle, and constructs a feature set of commodity materials based on the attribute data of the commodity materials, wherein the feature set includes a three-level tree structure, wherein the tree structure is from top to bottom: commodity-commodity name-commodity sales area, compares and analyzes the feature set of the commodity materials, obtains the sales performance value of the commodity materials, and screens and marks the commodity materials to obtain unsalable commodity materials, obtains the proportion data of the unsalable commodity materials, and obtains the unsalable performance value by processing the proportion data. Based on the unsalable performance value, it is determined whether there is a general abnormal unsalable phenomenon and the abnormal degree of unsalableness of the commodity materials, and generates an unsalable signal, wherein the unsalable signal includes an unsalable high signal and an unsalable low signal. The present invention constructs a tree structure through the attribute data of the commodity materials and in order of sales volume, and determines whether there is a general unsalable phenomenon in the sales of the commodity by combining and analyzing the ranking distribution position of the commodity name information in the tree structure and the sales volume of the commodity materials, which is conducive to timely discovering the unsalable problem in the sales of commodity materials.
[0060] 2. Based on the high slow-selling signal, the sales volume of commodity materials and the promotion cost of commodity materials are combined and analyzed to obtain the impact correlation value, and the impact correlation value is compared with the impact correlation threshold to determine whether the promotion cost of commodity materials affects the slow-selling of commodity materials. If the impact correlation value is greater than or equal to the impact correlation threshold, an impact correlation signal is generated, and based on the impact correlation signal, a promotion cost optimization coefficient is obtained. The promotion cost of slow-selling commodity materials is optimized according to the promotion cost optimization coefficient. When the slow-selling of commodity materials is high, the present invention analyzes whether there is an influence relationship between the sales volume of commodity materials and the promotion cost, thereby regulating the promotion cost of slow-selling commodity materials by adjusting the degree of influence change, thereby improving the slow-selling of commodity materials. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The present invention will be further described below in conjunction with the accompanying drawings.
[0062] Figure 1 is a flow chart of the data analysis method based on tree structure dimension according to Embodiment 1 of the present invention;
[0063] Figure 2 is a flow chart of the data analysis method based on tree structure dimension according to Embodiment 2 of the present invention;
[0064] Figure 3 It is a flowchart of the data analysis system based on the tree structure dimension described in Example 3 of the present invention. DETAILED DESCRIPTION
[0065] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.
[0066] Example 1
[0067] like Figure 1 As shown, the data analysis method based on the tree structure dimension according to the embodiment of the present invention includes:
[0068] Step 1: Obtain the attribute data of the commodity materials within the sales task cycle, and build a feature set of the commodity materials based on the attribute data of the commodity materials. The feature set includes a three-level tree structure, where the tree structure is from top to bottom: commodity - commodity name - commodity promotion cost;
[0069] Among them, the attribute data of commodity materials include the name of the commodity, sales volume and promotion cost;
[0070] It should be noted that the sales task cycle represents the target duration for selling commodity materials according to sales demand regulations;
[0071] It should also be noted that the commodity materials are commodity materials of the same category;
[0072] In some embodiments, when constructing a three-level tree structure, the second-level commodity names are constructed according to the sales volume of the corresponding commodity materials within the sales task cycle, wherein the second-level commodity names are arranged in order from large to small according to their sales volume;
[0073] Step 2: Compare and analyze the feature sets of commodity materials to obtain the sales performance values of commodity materials and screen and mark the commodity materials to obtain slow-moving commodity materials, obtain the percentage data of slow-moving commodity materials, and obtain the slow-moving performance values by processing the percentage data;
[0074] In some embodiments, feature sets of commodity materials constructed in multiple sales task cycles are obtained, and tree structures included in the feature sets are compared and analyzed, specifically:
[0075] Obtain the ranking of the commodity names of the commodity materials in the second level of each tree structure, and sum and average them to obtain the average ranking of the commodity materials in the second level of the tree structure, obtain the total number of commodity name rankings of the commodity materials in the tree structure, and perform ratio processing on the average ranking of the commodity materials in the second level of the tree structure and the total number of commodity name rankings of the commodity materials in the tree structure to obtain the average ranking ratio of the commodity materials;
[0076] The rankings of the commodity names of the commodity materials in the second level of each tree structure are integrated into a ranking group, the variance value of the ranking group is obtained, and the average ranking ratio of the commodity materials is processed with the variance value of the ranking group to obtain the sales ranking performance value of the commodity materials;
[0077] It should be noted that the acquisition of the sales ranking performance value is specifically illustrated: for example, for a specific commodity name of a commodity material, the ranking of the commodity name of the commodity material in different second levels of the tree structure is obtained respectively, and it is marked as PMi, where PM represents the ranking and i represents the tree structure number. Then the average ranking of the commodity material in the second level of the tree structure is: , where PJ represents the average ranking. The rankings of the commodity names of the commodity materials in the second level of each tree structure are integrated into ranking groups, and the variance values of the ranking groups are obtained. The variance values are:
[0078] , where FC represents the variance value; the average ranking PJ is compared with the total number of product name rankings to obtain the average ranking ratio, where the total number of rankings is the number of product names; the average ranking PJ is compared with the variance value FC to obtain the sales ranking performance value;
[0079] Get the sales volume of the commodity material within the sales task cycle, and compare it with the sales reference volume of the commodity material within the sales task cycle. If the sales volume is less than the sales reference volume, perform difference processing on the sales reference volume and the sales volume to obtain the sales deviation of the commodity material within the sales task cycle. If the sales volume is greater than or equal to the sales reference volume, no operation is performed.
[0080] Obtain the sales deviation of commodity materials in different sales task cycles, sum and average them to obtain the sales mean deviation, perform ratio processing on the sales mean deviation and the sales reference volume in the sales task cycle to obtain the sales mean deviation ratio of commodity materials;
[0081] The sales reference volume of a commodity material within the sales task cycle is equal to the total sales volume of all commodity materials within the sales task cycle divided by the number of commodity names corresponding to the commodity materials in the tree structure;
[0082] The sales deviation of commodity materials in different sales task cycles is integrated into a sales deviation data group, the variance value of the sales deviation data group is obtained, and the sales mean deviation ratio of the commodity materials is processed with the variance value of the sales deviation data group to obtain the sales volume performance value of the commodity materials;
[0083] The sales ranking performance value of the commodity material is summed with the sales volume performance value of the commodity material to obtain the sales performance value of the commodity material;
[0084] Compare the sales performance value of the commodity material with the sales performance threshold of the commodity material, and filter and mark the commodity material according to the comparison result, specifically:
[0085] If the sales performance value of a commodity material is greater than the sales performance threshold of the commodity material, the commodity material is marked as a slow-moving commodity material;
[0086] If the sales performance value of a commodity material is less than or equal to the sales performance threshold of the commodity material, the commodity material is marked as a non-slow-selling commodity material;
[0087] It should be noted that slow-moving commodity materials mean that in multiple sales task cycles, the sales volume of the commodity materials ranks low, and the sales volume ranking does not change much each time. In addition, the sales volume of the commodity materials each time is far from the average sales volume of all commodity materials, indicating that the commodity materials are slow to sell, and they are marked as slow-moving commodity materials;
[0088] Obtain the proportion data of slow-moving goods, where the proportion data includes quantity proportion performance value and degree proportion performance value, mark the quantity proportion performance value as SL, and mark the degree proportion performance value as CD;
[0089] The quantity proportion performance value SL and the degree proportion performance value CD are processed, and the unsalable performance value is obtained by the formula: ZX=s1*SL+s2*CD, where s1 and s2 are both preset proportion coefficients;
[0090] It should be noted that a technician in this field collects multiple groups of sample data and sets a corresponding preset proportional coefficient for each group of sample data; substitutes the preset proportional coefficient and the collected sample data into the formula, any two formulas form a binary linear equation system, and the calculated coefficients are screened and averaged to obtain s1 and s2;
[0091] Exemplarily, the method for obtaining the quantity percentage performance value SL is as follows:
[0092] Count the number of slow-moving goods in the commodity materials, and perform ratio processing on the number of slow-moving goods and the number of commodity materials to obtain the quantity percentage performance value SL;
[0093] Exemplarily, the degree proportion performance value CD is obtained as follows:
[0094] Obtain the sales performance value of the slow-moving commodity material, perform difference processing on the sales performance value of the slow-moving commodity material and the sales performance threshold value to obtain the sales performance deviation value of the slow-moving commodity material, obtain the sales performance deviation values of all the slow-moving commodity materials, sum and average them, and obtain the sales performance deviation mean;
[0095] The sales performance deviation mean is compared with the sales performance deviation threshold to obtain the degree ratio performance value CD;
[0096] Step 3: Based on the unsalable performance value, determine whether there is a general abnormal unsalable phenomenon and the degree of abnormal unsalability of the commodity material, and generate an unsalable signal, wherein the unsalable signal includes an unsalable high signal and an unsalable low signal;
[0097] In some embodiments, the unsalable performance value is compared to an unsalable performance threshold;
[0098] If the unsalable performance value is greater than the unsalable performance threshold, it means that the commodity material is generally unsalable and the degree of unsalability is high, and a high unsalable signal is generated;
[0099] If the slow-moving performance value is less than or equal to the slow-moving performance threshold, it means that there is no widespread abnormal slow-moving phenomenon of the commodity material and the abnormal degree of slow-moving is low, and a slow-moving low signal is generated.
[0100] The technical solution of the embodiment of the present invention is: obtaining attribute data of commodity materials within a sales task cycle, constructing a feature set of commodity materials based on the attribute data of commodity materials, wherein the feature set includes a three-level tree structure, wherein the tree structure is from top to bottom: commodity-commodity name-commodity sales area, comparing and analyzing the feature set of commodity materials, obtaining the sales performance value of commodity materials and screening and marking the commodity materials, obtaining unsalable commodity materials, obtaining the proportion data of unsalable commodity materials, and obtaining the unsalable performance value by processing the proportion data. Based on the unsalable performance value, it is judged whether there is a general abnormal unsalable phenomenon and the abnormal degree of unsalableness of the commodity materials, and generating an unsalable signal, wherein the unsalable signal includes an unsalable high signal and an unsalable low signal. The present invention constructs a tree structure through the attribute data of commodity materials and in order of sales volume, and judges whether there is a general unsalable phenomenon in the sales of commodities by combining and analyzing the ranking distribution position of commodity name information in the tree structure and the sales volume of commodity materials, which is conducive to timely discovering unsalable problems in the sales of commodity materials.
[0101] Example 2
[0102] like Figure 2 As shown, based on Example 1, the data analysis method based on the tree structure dimension described in the embodiment of the present invention includes:
[0103] Step 4: Based on the high signal of unsalable products, analyze the sales volume of commodity materials and the promotion cost of commodity materials to obtain the impact correlation value;
[0104] Specifically, the sales volume of commodity materials and the promotion cost of commodity materials are marked and connected in the XY two-dimensional coordinate system to obtain a sales performance change line, where the X-axis represents the promotion cost of commodity materials and the Y-axis represents the sales volume;
[0105] Mark the line between every two adjacent sales volume mark points in the sales performance change line as a change sub-line, measure the slope value of the change sub-line, if the slope value of the change sub-line is greater than 0, mark it as a normal change sub-line, if the slope value of the change sub-line is less than or equal to 0, mark it as an abnormal change sub-line;
[0106] Count the number of normal change sub-fold lines, and perform ratio processing on the number of normal change sub-fold lines and the number of change sub-fold lines to obtain the number ratio of normal change sub-fold lines;
[0107] Among all the normal change sub-fold lines, measure the lengths of the normal change sub-fold lines in the horizontal direction and the vertical direction, mark them as the horizontal extension length and the vertical extension length, perform ratio processing on the vertical extension length and the horizontal extension length, and obtain the change ratio of the normal change sub-fold line;
[0108] Among them, the horizontal direction is consistent with the direction of the X axis, and the vertical direction is consistent with the direction of the Y axis;
[0109] Integrate the change ratios of all normal change sub-broken lines into a change ratio data group, obtain the variance value of the change ratio data group, perform ratio processing on the number ratio of the normal change sub-broken lines and the variance value of the change ratio data group, and obtain the change correlation value within the sales task cycle;
[0110] In some embodiments, the change association value is compared to a change association threshold;
[0111] If the change correlation value is greater than the change correlation threshold, the sales task cycle corresponding to the change correlation value is marked as a correlated sales task cycle;
[0112] If the change correlation value is less than or equal to the change correlation threshold, the sales task cycle corresponding to the change correlation value is marked as a non-correlated sales task cycle;
[0113] Count the number of all associated sales task cycles, and perform ratio processing on the number of associated sales task cycles and the number of sales task cycles to obtain an impact association value;
[0114] Step 5: Compare the impact correlation value with the impact correlation threshold to determine whether the promotion cost of the commodity material affects the unsalable commodity material. If the impact correlation value is greater than or equal to the impact correlation threshold, generate an impact correlation signal;
[0115] In some embodiments, the impact correlation value is compared with the impact correlation threshold, and an impact signal is generated according to the result, wherein the impact signal includes an impact correlation signal and an impact non-correlation signal;
[0116] Specifically, if the impact association value is greater than or equal to the impact association threshold, an impact association signal is generated;
[0117] If the impact correlation value is less than the impact correlation threshold, an impact non-correlation signal is generated;
[0118] Among them, the influence correlation signal indicates that within the sales task cycle, there is a change correlation between the promotion cost of commodity materials and the sales volume of commodity materials. As the promotion cost increases, the sales volume of commodity materials also increases. Conversely, the influence non-correlation signal indicates that within the sales task cycle, there is no obvious change correlation between the promotion cost of commodity materials and the sales volume of commodity materials.
[0119] Step 6: Based on the influence correlation signal, obtain the promotion cost optimization coefficient, and optimize the promotion cost of slow-moving commodity materials according to the promotion cost optimization coefficient;
[0120] Among them, the promotion cost optimization coefficient includes the promotion cost control value;
[0121] Specifically, the change ratios of all normal change sub-broken lines are obtained, and the sum is averaged to obtain the target optimization ratio, and the sales mean deviation of the slow-moving commodity materials is obtained;
[0122] It should be noted that the sales mean deviation of slow-moving goods is obtained by summing up the sales deviations of slow-moving goods in different sales task cycles and taking the average value. The sales deviation of slow-moving goods in the sales task cycle is obtained by performing difference processing between the sales reference volume and the sales volume of slow-moving goods.
[0123] The sales mean deviation of slow-moving goods and materials is processed with the target optimization ratio to obtain the promotion cost control value;
[0124] The promotion cost of slow-moving merchandise materials is regulated based on the promotion cost control value to improve the slow-moving nature of the merchandise materials.
[0125] The technical solution of the embodiment of the present invention is: based on a high slow-moving signal, the sales volume of commodity materials and the promotion cost of commodity materials are combined and analyzed to obtain an impact association value, the impact association value is compared with the impact association threshold, and it is determined whether the promotion cost of commodity materials affects the slow-moving of commodity materials; if the impact association value is greater than or equal to the impact association threshold, an impact association signal is generated, and based on the impact association signal, a promotion cost optimization coefficient is obtained; the promotion cost of slow-moving commodity materials is optimized according to the promotion cost optimization coefficient. In the case of a high slow-moving commodity material, the present invention analyzes whether there is an influence relationship between the sales volume of commodity materials and the promotion cost, thereby regulating the promotion cost of slow-moving commodity materials by adjusting the degree of change in their influence, thereby improving the slow-moving of commodity materials.
[0126] Example 3
[0127] like Figure 3 As shown, the data analysis system based on tree structure dimension according to the embodiment of the present invention includes:
[0128] Structure construction module: obtains the attribute data of commodity materials within the sales task cycle, and constructs a feature set of commodity materials based on the attribute data of commodity materials. The feature set includes a three-level tree structure, in which the tree structure is from top to bottom: commodity - commodity name - commodity promotion cost;
[0129] Slow-selling data acquisition module: compares and analyzes the feature sets of commodity materials to obtain the sales performance values of commodity materials, and screens and marks the commodity materials to obtain slow-selling commodity materials, obtains the proportion data of slow-selling commodity materials, and obtains the slow-selling performance value by processing the proportion data;
[0130] Slow-selling analysis module: Based on the slow-selling performance value, it determines whether there is a common abnormal slow-selling phenomenon and the abnormal degree of slow-selling of commodity materials, and generates slow-selling signals, where the slow-selling signals include slow-selling high signals and slow-selling low signals;
[0131] Influence data acquisition module: Based on the high signal of unsalable products, the sales volume of commodity materials and the promotion cost of commodity materials are combined and analyzed to obtain the influence correlation value;
[0132] Impact analysis module: compares the impact correlation value with the impact correlation threshold to determine whether the promotion cost of the commodity material affects the unsalability of the commodity material. If the impact correlation value is greater than or equal to the impact correlation threshold, an impact correlation signal is generated;
[0133] Slow-selling optimization module: Based on the impact correlation signal, the promotion cost optimization coefficient is obtained, and the promotion cost of slow-selling commodity materials is optimized according to the promotion cost optimization coefficient.
[0134] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A data analysis method based on tree structure dimension, characterized by: include: Acquire the attribute data of commodity materials within the sales task cycle, and build a feature set of commodity materials based on the attribute data of commodity materials. The feature set includes a three-level tree structure. Compare and analyze the feature sets of commodity materials to obtain sales performance values of commodity materials and screen and mark the commodity materials to obtain unsalable commodity materials, obtain the percentage data of unsalable commodity materials, and obtain the unsalable performance value by processing the percentage data; Among them, the screening and marking methods for slow-moving goods are as follows: Obtain the sales ranking performance value and sales volume performance value of the commodity material and sum them up to obtain the sales performance value, compare the sales performance value with the sales performance threshold, and if the sales performance value of the commodity material is greater than the sales performance threshold of the commodity material, mark the commodity material as a slow-moving commodity material; Compare the unsalable performance value with the unsalable performance threshold, and if the unsalable performance value is greater than the unsalable performance threshold, generate an unsalable high signal; Based on the slow-moving high signal, the sales volume of the commodity material and the promotion cost of the commodity material are combined and analyzed to obtain the impact association value, and the impact association value is compared with the impact association threshold. If the impact association value is greater than or equal to the impact association threshold, an impact association signal is generated; Based on the impact correlation signal, the promotion cost optimization coefficient is obtained, and the promotion cost of slow-moving commodity materials is optimized according to the promotion cost optimization coefficient; Among them, the promotion cost optimization coefficient includes the promotion cost control value; The proportion data includes a quantity proportion performance value SL and a degree proportion performance value CD. The quantity proportion performance value SL and the degree proportion performance value CD are processed to obtain a slow-moving performance value through the formula: ZX=s1*SL+s2*CD, where s1 and s2 are both preset proportion coefficients; The method for obtaining the quantity percentage performance value SL is as follows: Count the number of slow-moving goods in the commodity materials, and perform ratio processing on the number of slow-moving goods and the number of commodity materials to obtain the quantity percentage performance value SL; The method of obtaining the degree ratio performance value CD is as follows: Obtain the sales performance value of the slow-moving commodity material, perform difference processing on the sales performance value of the slow-moving commodity material and the sales performance threshold value to obtain the sales performance deviation value of the slow-moving commodity material, obtain the sales performance deviation values of all the slow-moving commodity materials, sum and average them, and obtain the sales performance deviation mean; The sales performance deviation mean is compared with the sales performance deviation threshold to obtain the degree ratio performance value CD; The way to obtain the associated value is as follows: Mark and connect the sales volume of commodity materials and the promotion cost of commodity materials in the XY two-dimensional coordinate system to obtain the sales performance change line; Mark the line between every two adjacent sales volume mark points in the sales performance change line as a change sub-line, measure the slope value of the change sub-line, and if the slope value of the change sub-line is greater than 0, mark it as a normal change sub-line; The quantity ratio and change ratio of the normal change sub-broken lines are obtained, and the change correlation value is obtained by outputting and processing, and the sales task cycle is marked based on the change correlation value to obtain the correlated sales task cycle; The number of all associated sales task cycles is counted, and the number of associated sales task cycles is ratioed to the number of sales task cycles to obtain an impact association value.
2. The data analysis method based on tree structure dimension according to claim 1 is characterized in that: The attribute data includes the name of the product, sales volume and promotion cost; The tree structure is as follows from top to bottom: product - product name - product promotion cost; The construction of the three-level tree structure includes: the construction of the second-level commodity names is carried out according to the sales volume of the corresponding commodity materials within the sales task cycle, wherein the sorting of the second-level commodity names is arranged in order from large to small according to their sales volume.
3. The data analysis method based on tree structure dimension according to claim 1 is characterized in that: The sales ranking performance value is obtained as follows: Acquire the feature sets of commodity materials constructed during multiple sales task cycles, compare and analyze the tree structures included in the feature sets, obtain the rankings of the commodity materials' product names in the second level of each tree structure, sum and average the values, and perform ratio processing to obtain the average ranking ratio of the commodity materials, integrate the rankings of the commodity materials' product names in the second level of each tree structure into ranking groups, obtain the variance values of the ranking groups, perform ratio processing on the average ranking ratio of the commodity materials and the variance values of the ranking groups, and obtain the sales ranking performance values of the commodity materials.
4. The data analysis method based on tree structure dimension according to claim 3 is characterized in that: The average ranking ratio of commodity materials is obtained as follows: Sum and average the rankings of the product names of the commodity materials in the second level of each tree structure to obtain the average ranking of the commodity materials in the second level of the tree structure, obtain the total number of rankings of the product names of the commodity materials in the tree structure, and perform ratio processing on the average ranking of the commodity materials in the second level of the tree structure and the total number of rankings of the product names of the commodity materials in the tree structure to obtain the average ranking ratio of the commodity materials.
5. The data analysis method based on tree structure dimension according to claim 1, characterized in that: The sales performance value is obtained as follows: Obtain the sales volume of the commodity material within the sales task cycle, and compare it with the sales reference volume of the commodity material within the sales task cycle. If the sales volume is less than the sales reference volume, perform difference processing on the sales reference volume and the sales volume to obtain the sales deviation of the commodity material within the sales task cycle. Obtain the sales deviation of commodity materials in different sales task cycles, sum and average them to obtain the sales mean deviation, perform ratio processing on the sales mean deviation and the sales reference volume in the sales task cycle to obtain the sales mean deviation ratio of commodity materials; The sales reference volume of a commodity material within the sales task cycle is equal to the total sales volume of all commodity materials within the sales task cycle divided by the number of commodity names corresponding to the commodity materials in the tree structure; The sales deviation of commodity materials in different sales task cycles are integrated into a sales deviation data group, and the variance value of the sales deviation data group is obtained. The sales mean deviation ratio of the commodity materials is processed with the variance value of the sales deviation data group to obtain the sales volume performance value of the commodity materials.
6. The data analysis method based on tree structure dimension according to claim 1, characterized in that: The number ratio and change ratio of normal change sub-polylines are obtained as follows: Count the number of normal change sub-fold lines, and perform ratio processing on the number of normal change sub-fold lines and the number of change sub-fold lines to obtain the number ratio of normal change sub-fold lines; Among all the normal change sub-fold lines, measure the lengths of the normal change sub-fold lines in the horizontal direction and the vertical direction, mark them as the horizontal extension length and the vertical extension length, perform ratio processing on the vertical extension length and the horizontal extension length, and obtain the change ratio of the normal change sub-fold line; Among them, the horizontal direction is consistent with the direction of the X axis, and the vertical direction is consistent with the direction of the Y axis; The way to obtain the change associated value is: Integrate the change ratios of all normal change sub-broken lines into a change ratio data group, obtain the variance value of the change ratio data group, perform ratio processing on the number ratio of the normal change sub-broken lines and the variance value of the change ratio data group, and obtain the change correlation value within the sales task cycle; comparing the change association value to a change association threshold; If the change correlation value is greater than the change correlation threshold, the sales task cycle corresponding to the change correlation value is marked as a correlated sales task cycle.
7. The data analysis method based on tree structure dimension according to claim 1 is characterized in that: The promotion cost optimization coefficient includes the promotion cost control value; The method for obtaining the promotion cost control value is as follows: Obtain the change ratios of all normal change sub-broken lines, sum them up and take the average, obtain the target optimization ratio, and obtain the sales mean deviation of slow-moving goods; The sales mean deviation of slow-moving goods is processed with the target optimization ratio to obtain the promotion cost control value.
8. A data analysis system based on a tree structure dimension, the system being used to implement the data analysis method according to any one of claims 1 to 7, comprising: Structure construction module: obtains the attribute data of commodity materials within the sales task cycle, and constructs a feature set of commodity materials based on the attribute data of commodity materials, wherein the feature set includes a three-level tree structure; Slow-selling data acquisition module: compares and analyzes the feature sets of commodity materials to obtain the sales performance values of commodity materials, and screens and marks the commodity materials to obtain slow-selling commodity materials, obtains the proportion data of slow-selling commodity materials, and obtains the slow-selling performance value by processing the proportion data; Slow-selling analysis module: compares the slow-selling performance value with the slow-selling performance threshold. If the slow-selling performance value is greater than the slow-selling performance threshold, a slow-selling high signal is generated; Influence data acquisition module: Based on the high signal of unsalable products, the sales volume of commodity materials and the promotion cost of commodity materials are combined and analyzed to obtain the influence correlation value; Impact analysis module: compares the impact correlation value with the impact correlation threshold to determine whether the promotion cost of the commodity material affects the unsalability of the commodity material. If the impact correlation value is greater than or equal to the impact correlation threshold, an impact correlation signal is generated; Slow-selling optimization module: Based on the impact correlation signal, the promotion cost optimization coefficient is obtained, and the promotion cost of slow-selling commodity materials is optimized according to the promotion cost optimization coefficient.
Citation Information
Patent Citations
A method and system for verifying electricity collection data
CN110780261B
Deep learning based retail commodity sales forecasting method
CN107180362A
A sales prediction correction method based on a commodity category tree
CN109727078A
Commodity sales prediction and model training method and device, and equipment
CN110782266A
Commodity sales seasonality analysis method and device and electronic equipment
CN111833084A
