Disclosure of Invention
The invention aims to provide a market community economic management system based on big data, which solves the technical problems.
The aim of the invention can be achieved by the following technical scheme:
a big data based market community economic management system comprising:
The market information acquisition module is used for monitoring the market according to the monitoring camera so as to acquire the traffic data and the community resident data in real time;
The product supply information module is used for acquiring the types and the quantity of commercial tenant on the market and the product supply information of each commercial tenant;
the demand analysis module is used for inputting the people flow data and the community resident data into a pre-trained neural network model and outputting community demand coefficients; processing according to the types and the number of the merchants and the product supply information of each merchant to obtain market supply coefficients;
The abnormality management module is used for comparing the community demand coefficient with a preset demand threshold value and judging whether the current community purchasing power is abnormal or not according to an analysis result; if the current community purchasing power is abnormal, acquiring a time-dependent change curve of a market supply coefficient in a preset period, and processing according to a preset rule to acquire a market supply state value;
and the regulation and control module compares the market supply state value with a supply threshold value interval preset by the system, and executes a corresponding regulation and control strategy according to a judgment result.
Further, the process of obtaining the market supply coefficient includes:
Acquiring a time-dependent change curve D n (t) of the shopping rate of community users of the nth age group in a preset period, wherein the age group is divided into four age groups below 20 years old, 20-40 years old, 40-60 years old and above 60 years old;
By the formulas (1) - (3):
Calculating to obtain a market supply state value G;
In the method, in the process of the invention, For the preset proportionality coefficient of the ith type of merchant,For the weight coefficient corresponding to the j-th product,For the j-th product supply quantity, N is the total number of merchant types, M is the total number of product types, i epsilon [1, N ], j epsilon [1, M ], and D nc (t) is a historical reference change curve of shopping rate of the community user of the nth age group along with time based on big data; f is a market supply coefficient, F (t) is a time-dependent curve of the market supply coefficient within a preset period of t i~ti+1, t i、ti+1 is a start time and an end time of the preset period, σ is a reference value, ω k is a conversion coefficient, and Q is a demand deviation value.
Further, the shopping rate is obtained by the following steps:
identifying age groups of community users in the market and whether shopping bags are held by hands or not through a monitoring camera;
Acquiring the mankind M n of the handheld shopping bag and the total mankind M nTotal (S) of the corresponding age group of the current market;
by the formula: and calculating to obtain the shopping rate D n of the current age group.
Further, the working process of the regulation and control module is as follows:
comparing the calculated market supply state value G with a supply threshold value interval |G cth,Gdth preset by a system;
If G is more than G dth, judging that the current market supply is more than the demand, and reducing the market product supply due to excessive market supply;
If G is E [ G cth,Gdth ], judging the current market supply and demand balance, and maintaining the current product supply;
if G is smaller than G cth, judging that the current market demand is larger than the supply, and increasing the market product supply due to too little market supply.
Further, the establishment process of the regulation strategy is as follows:
Obtaining a change curve X j (t) of the residual quantity of each type of product with time in one working period; predicting a reference change curve X j0 (t) of the residual quantity of each type of product with time based on the historical data;
by the formula: Calculating to obtain a residual quantity state value Y j of the jth product;
Wherein t 1、t2 is a start time point and an end time point of a working period, and X jm is the residual quantity of the jth product corresponding to the Mth sampling time point; the average value of the residual quantity of the jth product corresponding to the Mth sampling time point is K The total number of time points, a 1、a2, is a preset influence coefficient.
Further, the calculated remaining amount state value Y j is compared with a corresponding remaining amount state value threshold value [ Y j0,Yj1 ];
if Y j≥Yj1 is detected, judging that the current type of product is too much;
if Y j∈[Yj0,Yj1, judging that the product supply amount of the current type is normal;
If Y j<Yj0, it is determined that the product supply amount of the current category is too small.
Further, the working process of the regulation module further comprises:
Acquiring the region of each merchant in the current market, carrying out circular marking on the region of the merchant which meets at least one product Y j≥Yj1 or Y j<Yj0, and carrying out triangular marking on the region of the merchant which meets at least one product Y j≥Yj1 and at least one product Y j<Yj0;
connecting the merchants marked by the adjacent triangles to form a marking area;
Acquiring the number of the marking areas and the distance value of each marking area from each entrance of the market, and determining the distance value L of each marking area from the nearest entrance;
by the formula: Calculating to obtain a recommended value r; l th is a reference distance value obtained based on historical data, and B is the number of merchants contained in the marked area;
and (3) arranging in descending order according to the size of the recommended value r, and selecting a marking area corresponding to the first N recommended values for product supply adjustment.
Further, if the number of the marking areas is 0 and the number of the triangular marked merchants is greater than 1, acquiring the nearest distance values between the triangular marked merchants and each entrance, then arranging the triangular marked merchants in ascending order according to the distance values, and selecting the front N merchants for product supply adjustment;
if the number of the marking areas is 0 and the number of the triangular marks is 0, the product supply adjustment is performed according to the order from more to less according to the number of the circular marks of each merchant.
The invention has the beneficial effects that:
(1) The method comprises the steps that a community demand coefficient and a market supply coefficient of a current market are obtained through a demand analysis module, the community demand coefficient is compared with a demand threshold value, if the community demand coefficient is larger than the demand threshold value, the current community purchasing power is abnormal, and in order to ensure the balance of market supply, the change condition of the market supply coefficient in a preset period is analyzed, and a market supply state value is calculated and obtained; comparing the calculated market supply state value with a supply threshold interval preset by a system; if the market supply state value exceeds the supply threshold interval, the current market supply is larger than the demand, the market supply is excessive, and the market product supply is reduced; if the market supply state value is in the supply threshold value interval, judging the supply and demand balance of the current market, and maintaining the current product supply; if the market supply state value is lower than the supply threshold value interval, judging that the current market demand is greater than supply, and increasing market product supply due to too little market supply; therefore, according to the condition that the market supply state value falls into the supply threshold value interval, the state of the current market supply and demand relationship can be rapidly judged, so that the purpose of timely adjustment is achieved, the situation that merchant products cannot be sold in time, buyers cannot acquire required products, loss caused by unbalanced local supply and demand is caused, and the utilization rate of community markets is improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention is a market community economic management system based on big data, comprising:
The market information acquisition module is used for monitoring the market according to the monitoring camera so as to acquire the traffic data and the community resident data in real time;
The product supply information module is used for acquiring the types and the quantity of commercial tenant on the market and the product supply information of each commercial tenant;
the demand analysis module is used for inputting the people flow data and the community resident data into a pre-trained neural network model and outputting community demand coefficients; processing according to the types and the number of the merchants and the product supply information of each merchant to obtain market supply coefficients;
The abnormality management module is used for comparing the community demand coefficient with a preset demand threshold value and judging whether the current community purchasing power is abnormal or not according to an analysis result; if the current community purchasing power is abnormal, acquiring a time-dependent change curve of a market supply coefficient in a preset period, and processing according to a preset rule to acquire a market supply state value;
and the regulation and control module compares the market supply state value with a supply threshold value interval preset by the system, and executes a corresponding regulation and control strategy according to a judgment result.
The process of obtaining the market supply coefficient includes:
Acquiring a time-dependent change curve D n (t) of the shopping rate of community users of the nth age group in a preset period, wherein the age group is divided into four age groups below 20 years old, 20-40 years old, 40-60 years old and above 60 years old;
By the formulas (1) - (3):
Calculating to obtain a market supply state value G;
In the method, in the process of the invention, For the preset proportionality coefficient (based on the history and experimental data comprehensive drawing) of the ith type of merchant,For the weight coefficient corresponding to the j-th product,For the j-th product supply quantity, N is the total number of merchant types, M is the total number of product types, i epsilon [1, N ], j epsilon [1, M ], and D nc (t) is a historical reference change curve of shopping rate of the community user of the nth age group along with time based on big data; f is a market supply coefficient, F (t) is a time-dependent change curve of the market supply coefficient in a preset period of t i~ti+1, t i、ti+1 is a starting time and an ending time of the preset period, sigma is a reference value, omega k is a conversion coefficient based on comprehensive selection and determination of historical data and experimental data, and Q is a demand deviation value according to combination experience of the historical data.
The shopping rate is obtained by the following steps:
Identifying age groups of community users in the market and whether shopping bags are held by hands or not through a monitoring camera; acquiring the mankind M n of the handheld shopping bag and the total mankind M nTotal (S) of the corresponding age group of the current market; by the formula: and calculating to obtain the shopping rate D n of the current age group.
The working process of the regulation and control module is as follows:
Comparing the calculated market supply state value G with a supply threshold value interval [ G cth,Gdth ] preset by a system; if G is more than G dth, judging that the current market supply is more than the demand, and reducing the market product supply due to excessive market supply; if G is E [ G cth,Gdth ], judging the current market supply and demand balance, and maintaining the current product supply; if G is smaller than G cth, judging that the current market demand is larger than the supply, and increasing the market product supply due to too little market supply.
According to the technical scheme, the community demand coefficient and the market supply coefficient of the current market are obtained through the demand analysis module, the community demand coefficient is compared with the demand threshold value firstly, if the community demand coefficient is larger than the demand threshold value, the current community purchasing power is abnormal, and in order to ensure the balance of the market supply, the change condition of the market supply coefficient in a preset period is analyzed through formulas (1) - (3):
Calculating to obtain a market supply state value G; it is obvious that it is possible to see, The larger the value of the (c) is, the larger the market supply state value G is, the more sufficient the product supply in the period is, the better the product supply condition is, the smaller the value of the (D n(t)-Dnc (t)) is, the smaller the deviation of the purchase rate of residents in each age group is represented, the smaller the value of the Q is, and the larger the market supply state value G is, the more stable the product demand condition in the period is; therefore, under the premise of stable product demand, the overstock condition is easy to occur due to excessive product supply, so that the resource waste is caused; comparing the calculated market supply state value G with a supply threshold value interval [ G cth,Gdth ] preset by a system; if G is more than G dth, judging that the current market supply is more than the demand, and reducing the market product supply due to excessive market supply; if G is E [ G cth,Gdth ], judging the current market supply and demand balance, and maintaining the current product supply; if G is smaller than G cth, judging that the current market demand is larger than supply, and increasing market product supply due to too little market supply; therefore, according to the situation that the market supply state value falls into the supply threshold value interval, the state of the current market supply and demand relationship can be rapidly judged, and the purpose of timely adjustment is achieved.
The establishment process of the regulation strategy comprises the following steps:
Obtaining a change curve X j (t) of the residual quantity of each type of product with time in one working period; predicting a reference change curve X j0 (t) of the residual quantity of each type of product with time based on the historical data;
by the formula: Calculating to obtain a residual quantity state value Y j of the jth product;
Wherein t 1、t2 is a start time point and an end time point of a working period, and X jm is the residual quantity of the jth product corresponding to the Mth sampling time point; the average value of the residual quantity of the jth product corresponding to the Mth sampling time point is K The total number of time points, a 1、a2, is a preset influence coefficient, and is comprehensively drawn according to historical data of big data statistics.
Comparing the calculated residual quantity state value Y j with a corresponding residual quantity state value threshold value [ Y j0,Yj1 ];
if Y j≥Yj1 is detected, judging that the current type of product is too much;
if Y j∈[Yj0,Yj1, judging that the product supply amount of the current type is normal;
If Y j<Yj0, it is determined that the product supply amount of the current category is too small.
Through the technical scheme, the establishment method of the regulation strategy is provided, and a change curve X j (t) of the residual quantity of each type of product along with time in one working period is obtained; predicting a reference change curve X j0 (t) of the residual quantity of each type of product with time based on the historical data; then the formula is passed: Calculating to obtain a residual quantity state value Y j of the jth product; obviously, the smaller the residual quantity state value of which product is, the larger the purchasing demand of which product is reflected under the condition of the same supply quantity, so the supply quantity of various types of products can be adjusted in real time according to the residual quantity state value, thereby preventing the situation of unbalanced local supply and demand of which the demand is large, the demand is small and the supply is large, and/> The smaller the value of the product is, the smaller the fluctuation of the residual quantity of the product is, so that the supply adjustment of the product can be preferentially carried out, the product with large fluctuation of the residual quantity of the product can be prevented from being adjusted in real time, and the large-time and small-time change of the product can not be met; comparing the calculated residual quantity state value Y j with a corresponding residual quantity state value threshold value [ Y j0,Yj1 ]; if Y j≥Yj1 is detected, judging that the current type of product is too much; if Y j∈[Yj0,Yj1, judging that the product supply amount of the current type is normal; if Y j<Yj0 is not enough, the current type of product supply is judged to be too small, dynamic adjustment is realized, and resources are saved.
The working process of the regulation and control module further comprises the following steps:
Acquiring the region of each merchant in the current market, carrying out circular marking on the region of the merchant which meets at least one product Y j≥Yj1 or Y j<Yj0, and carrying out triangular marking on the region of the merchant which meets at least one product Y j≥Yj1 and at least one product Y j<Yj0;
connecting the merchants marked by the adjacent triangles to form a marking area;
Acquiring the number of the marking areas and the distance value of each marking area from each entrance of the market, and determining the distance value L of each marking area from the nearest entrance;
by the formula: Calculating to obtain a recommended value r; l th is a reference distance value obtained based on historical data, and B is the number of merchants contained in the marked area;
and (3) arranging in descending order according to the size of the recommended value r, and selecting a marking area corresponding to the first N recommended values for product supply adjustment.
If the number of the marking areas is 0 and the number of the triangular marked merchants is greater than 1, acquiring the nearest distance values between the triangular marked merchants and each entrance, then arranging the triangular marked merchants in ascending order according to the distance values, and selecting the front N merchants for product supply adjustment;
if the number of the marking areas is 0 and the number of the triangular marks is 0, the product supply adjustment is performed according to the order from more to less according to the number of the circular marks of each merchant.
Through the technical scheme, the area where each merchant is located in the current market is firstly obtained, the area where the merchant is located, which meets at least one product Y j≥Yj1 or Y j<Yj0, is marked circularly, and the area where the merchant is located, which meets at least one product Y j≥Yj1 and at least one product Y j<Yj0, is marked in a triangle; connecting the merchants marked by adjacent triangles to form a marking area; acquiring the number of the marking areas and the distance value of each marking area from each entrance of the market, and determining the distance value L of each marking area from the nearest entrance; by the formula: Calculating to obtain a recommended value r; l th is a reference distance value obtained based on historical data, and B is the number of merchants contained in the marked area; finally, descending order arrangement is carried out according to the size of the recommended value r, and a marking area corresponding to the first N recommended values is selected for product supply adjustment; obviously, if the merchant closest to the entrance is in the condition of insufficient product supply and excessive product supply, the problem of the strategy of providing products by the merchant is described, so that the merchant needs to be preferentially adjusted, and professionals can be assigned to conduct timely guidance so as to improve the economic benefit of the merchant, and meanwhile, the product really needed by the resident of the community is brought, so that win-win is realized; the purpose of forming the marking area is to preferentially conduct unified guidance on adjacent merchants, so that the guidance efficiency and accuracy of professionals are improved.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.