A kind of commercial data analysis system based on big data
Technical field
The invention belongs to analysis fields, are related to the big data utilization technology of commercial data, specifically a kind of to be based on big data
Commercial data analysis system.
Background technique
Trade refers to the general name of dealing or trading activity, is often referred to all exchange activities or behavior using currency as medium,
Its scope of activities not only includes the exchange of commodities activity that business is engaged in, further includes commodity producers or the quotient that other people are organized
Product business activities include not only domestic trade, further include inter-State international trade, commercial data just refers in trade
The various information produced in journey, commercial data analysis system are exactly to be to what the data generated during trade were analyzed and processed
System, effect are that user is allowed to recognize trade trend etc..
Existing commercial data analysis system is easy including counting invalid data during analyzing commercial data, makes
There is biggish deviations for the data that must be analyzed, and analysis commercial data be cannot for user recommend out can be with emphasis
The client of cooperation, while function is more single, only carries out data analysis, user cannot be allowed to get information about in data and stored
The information content, in order to solve these defects, it is proposed that a solution.
Summary of the invention
The commercial data analysis system based on big data that the purpose of the present invention is to provide a kind of.
The technical problems to be solved by the invention are as follows:
(1) how to get rid of and obtain invalid data in data;
(2) how preferably to recommend for user out can be with the trade side of intensification cooperation;
(3) system how is allowed to have more functions;
The purpose of the present invention can be achieved through the following technical solutions:
A kind of commercial data analysis system based on big data, including registration and login module, top control module, display mould
Block, data acquisition module, data analysis module, data preparation module, drawing module, data comparison module, data transmission blocks
Module is transferred with big data;
The registration is communicated to connect with login module and top control module, and the display module and top control module communicate to connect,
The data acquisition module and top control module communicate to connect, and the data analysis module and data acquisition module communicate to connect, institute
It states data preparation module and data analysis module communicates to connect, the drawing module and data preparation module communicate to connect, described
Data comparison module and data preparation module communicate to connect, and the data transmission blocks and data comparison module communicate to connect, institute
It states big data and transfers module and the communication connection of data comparison module;
The registration with login module is used to that user to be allowed to register and logs in the system, the specific process registered and logged in
It is as follows:
Step 1: user registers when first time is using the system;
Step 2: user needs to be arranged the login account and password of oneself in Accreditation System, needs when password is arranged
It repeatedly inputs and is verified when facilitating subsequent login three times, specific verification process when login is as follows:
S1: user continuously inputs X password in login module, and X is preset value, X=1 ... n;
S2: registration will record the time Qi, i=1 ... n that lower user's input inputs password every time with login module;
S3: by formula Q1+Q2+Q2 ...+Qi=C, available input password obtains total time C;
S4: the average S of password is inputted every time by the available user of formula C/X=S;
S5: the time that password is inputted when user's subsequent login system is labeled as V;
S6: pass through the available time difference R of formula S-V=R;
S7: when the numerical value of R is greater than preset value, as long as user inputs password and can normally log in the system;
S8: when R is less than preset value, user is without needing to input login password, it is also necessary to by say smart phone into
It just can normally be logged in after row short-message verification;
Step 3: user needs to fill in personal name, identification card number, corporate licence's content and legal person in registration
Identification card number;
Step 4: the account and the password login system that user can be arranged by step 2 after having registered;
The top control module is for controlling data acquisition module, and the display module is for showing stepping on for user
Information is recorded, the data acquisition module is used to acquire company's information that user registers income, while the data acquisition module
Collected information can be filtered, it is as follows specifically to filter out information process:
Step 1: data acquisition module is filled in company and is handed in the year of each trade side when can acquire acquisition user's registration
The annual turnover of the said firm and each trade side is labeled as Fi, i=1 ... n by easy volume;
Step 2: Fi is subjected to arrangement from big to small according to numerical values recited;
Step 3: the smallest top n Fi, by formula F imin+1-Fimin=K, the difference of the available volume of trade are extracted
Value K;
Step 4: when K is less than preset value, top n Fi be can be filtered;
Step 5: when K is greater than preset value, top n Fi not can be filtered;
The data analysis module is chosen for analyzing the information that data collecting module collected arrives, and according to the information of analysis
It is as follows specifically to choose process by the Party B that next year can further cooperate out:
Step 1: data acquisition module can acquire annual total trade, the trade number formulary that company is filled in when user's registration
Amount;
Step 2: annual total trade is labeled as S labeled as Z, by trade number formulary amount;
Step 3: pass through the annual volume of trade M of the available average per company of formula Z/S=M;
Step 4: pass through formula | M-Fi | difference Pi, i between the available single volume of trade of=P and the average volume of trade
=1 ... n;
Step 5: Pi is subjected to arrangement from big to small according to numerical value, selection numerical value is near n preceding Party B as under
One year can be with the object of emphasis cooperation;
Step 6: data analysis module can extract the maximum company Fimax of Fi numerical value, and the corresponding Party B of Fimax also can
Pushed away that do next year can be with the object of emphasis cooperation;
Step 7: data analysis module can extract the trade number of each trade side and our company, by the trade number
Labeled as Gi, i=1 ... n;
Step 8: Gi is arranged according to numerical values recited, is extracted near the preceding corresponding Party B of n Gi numerical value and is made
For next year can be with the object of emphasis cooperation;
The data preparation module is for arranging the data that data analysis module is analyzed, and the drawing module will be for that will count
Table is made according to the content that sorting module is put in order, the big data transfers the commercial data that module is used to transfer former years, described
Data comparison module can be transferred in module to transfer from big data and be compared and analyzed toward annual data, to judge that the trade of next year is walked
Gesture, specific comparative analysis process are as follows:
Step 1: the turnover total amount in year each of within extraction n marks it according to the far and near of time from as far as close
It is denoted as Ti, i=1 ... n;
Step 2: the quantity of the trade side in year each of within extraction n, by it according to the distance of annual fee from as far as close
Labeled as Di, i=1 ... n;
Step 3: pass through formula Ti- TI-1=Q1, TI-1- TI-2Total volume of trade between=Q2 available 2 years is poor
Value Q1 and Q2;
Step 4: pass through the difference q between the available total volume of trade difference of formula Q1-Q2=q;
Step 5: pass through formula Di- DI-1=M1, DI-1- DI-2The difference of trade side between=M2 available 2 years
M1 and M2;
Step 6: pass through the difference m of the difference of the available trade side formula M1-M2=m;
Step 7: when q is positive value, when m is also positive value, that is, the trade tendency for sentencing next year is not good enough, and user needs careful
It is careful to carry on trade;
Step 8: when q is negative value, when m is also negative value, that is, the trade tendency for sentencing next year is good, and user can be appropriate
Increase volume of trade;
Step 9: when q is negative value, when m is positive value and when q is positive value, and m is negative value, user needs according to current year row
Feelings consider to control volume of trade;
The data transmission blocks are used to send the good data of analysis and arrangement to the intelligent mobile terminal of user.
Further, the top control module is also used to control data analysis module and carries out data analysis, control data preparation
Module arranges data, control data comparison module carries out data comparison, control data transmission blocks send the communication information.
Further, it is described drawing module making chart type include column diagram, line chart, pie chart, bar chart and
Radar map, the display module can show the chart that the drawing module making goes out.
Further, the big data storage module is connect with internet, and what is stored in the big data storage module is interior
Appearance automatically updates once every preset time.
Beneficial effects of the present invention:
(1) by the data acquisition module of setting, data acquisition module fills in company when can acquire acquisition user's registration
With the annual turnover of each trade side, and the annual turnover of the said firm and each trade side is labeled as Fi, i=1 ...
N extracts the smallest top n Fi, by formula F imin+1-Fimin=K, the difference K of the available volume of trade;When K is less than in advance
If when value, top n Fi be can be filtered, when K is greater than preset value, top n Fi not can be filtered, this kind of filter type
Setting, can effectively reduce too small data on conceptual data bring influence, avoided small data and be mixed into sum
In, causes this conceptual data relatively large deviation be in the presence of, make the analysis precision of the system higher;
(2) by setting data comparison module, data analysis module can all can the data that arrive of data collecting module collected
It is analyzed, by the difference q between the available total volume of trade difference of formula Q1-Q2=q, then passes through formula M1-M2=m
The difference m of the difference of available trade side, data analysis module can be estimated next year according to the variation of q value and m value
Trade trend, thus allow company can benefit, this setting for estimating mode allows the system that can analyze data
It is assessed simultaneously, so that the system has more functions, can satisfy the different use demands of user.
Detailed description of the invention
In order to facilitate the understanding of those skilled in the art, the present invention will be further described below with reference to the drawings.
Fig. 1 is system block diagram of the invention.
Specific embodiment
As shown in Figure 1, a kind of commercial data analysis system based on big data, including registration and login module, master control mould
Block, display module, data acquisition module, data analysis module, data preparation module, drawing module, data comparison module, data
Sending module and big data transfer module;
The registration is communicated to connect with login module and top control module, and the display module and top control module communicate to connect,
The data acquisition module and top control module communicate to connect, and the data analysis module and data acquisition module communicate to connect, institute
It states data preparation module and data analysis module communicates to connect, the drawing module and data preparation module communicate to connect, described
Data comparison module and data preparation module communicate to connect, and the data transmission blocks and data comparison module communicate to connect, institute
It states big data and transfers module and the communication connection of data comparison module;
The registration with login module is used to that user to be allowed to register and logs in the system, the specific process registered and logged in
It is as follows:
Step 1: user registers when first time is using the system;
Step 2: user needs to be arranged the login account and password of oneself in Accreditation System, needs when password is arranged
It repeatedly inputs and is verified when facilitating subsequent login three times, specific verification process when login is as follows:
S1: user continuously inputs X password in login module, and X is preset value, X=1 ... n;
S2: registration will record the time Qi, i=1 ... n that lower user's input inputs password every time with login module;
S3: by formula Q1+Q2+Q2 ...+Qi=C, available input password obtains total time C;
S4: the average S of password is inputted every time by the available user of formula C/X=S;
S5: the time that password is inputted when user's subsequent login system is labeled as V;
S6: pass through the available time difference R of formula S-V=R;
S7: when the numerical value of R is greater than preset value, as long as user inputs password and can normally log in the system;
S8: when R is less than preset value, user is without needing to input login password, it is also necessary to by say smart phone into
It just can normally be logged in after row short-message verification;
Step 3: user needs to fill in personal name, identification card number, corporate licence's content and legal person in registration
Identification card number;
Step 4: the account and the password login system that user can be arranged by step 2 after having registered;
The top control module is for controlling data acquisition module, and the display module is for showing stepping on for user
Information is recorded, the data acquisition module is used to acquire company's information that user registers income, while the data acquisition module
Collected information can be filtered, it is as follows specifically to filter out information process:
Step 1: data acquisition module is filled in company and is handed in the year of each trade side when can acquire acquisition user's registration
The annual turnover of the said firm and each trade side is labeled as Fi, i=1 ... n by easy volume;
Step 2: Fi is subjected to arrangement from big to small according to numerical values recited;
Step 3: the smallest top n Fi, by formula F imin+1-Fimin=K, the difference of the available volume of trade are extracted
Value K;
Step 4: when K is less than preset value, top n Fi be can be filtered;
Step 5: when K is greater than preset value, top n Fi not can be filtered;
The data analysis module is chosen for analyzing the information that data collecting module collected arrives, and according to the information of analysis
It is as follows specifically to choose process by the Party B that next year can further cooperate out:
Step 1: data acquisition module can acquire annual total trade, the trade number formulary that company is filled in when user's registration
Amount;
Step 2: annual total trade is labeled as S labeled as Z, by trade number formulary amount;
Step 3: pass through the annual volume of trade M of the available average per company of formula Z/S=M;
Step 4: pass through formula | M-Fi | difference Pi, i between the available single volume of trade of=P and the average volume of trade
=1 ... n;
Step 5: Pi is subjected to arrangement from big to small according to numerical value, selection numerical value is near n preceding Party B as under
One year can be with the object of emphasis cooperation;
Step 6: data analysis module can extract the maximum company Fimax of Fi numerical value, and the corresponding Party B of Fimax also can
Pushed away that do next year can be with the object of emphasis cooperation;
Step 7: data analysis module can extract the trade number of each trade side and our company, by the trade number
Labeled as Gi, i=1 ... n;
Step 8: Gi is arranged according to numerical values recited, is extracted near the preceding corresponding Party B of n Gi numerical value and is made
For next year can be with the object of emphasis cooperation;
The data preparation module is for arranging the data that data analysis module is analyzed, and the drawing module will be for that will count
Table is made according to the content that sorting module is put in order, the big data transfers the commercial data that module is used to transfer former years, described
Data comparison module can be transferred in module to transfer from big data and be compared and analyzed toward annual data, to judge that the trade of next year is walked
Gesture, specific comparative analysis process are as follows:
Step 1: the turnover total amount in year each of within extraction n marks it according to the far and near of time from as far as close
It is denoted as Ti, i=1 ... n;
Step 2: the quantity of the trade side in year each of within extraction n, by it according to the distance of annual fee from as far as close
Labeled as Di, i=1 ... n;
Step 3: pass through formula Ti- TI-1=Q1, TI-1- TI-2Total volume of trade between=Q2 available 2 years is poor
Value Q1 and Q2;
Step 4: pass through the difference q between the available total volume of trade difference of formula Q1-Q2=q;
Step 5: pass through formula Di- DI-1=M1, DI-1- DI-2The difference of trade side between=M2 available 2 years
M1 and M2;
Step 6: pass through the difference m of the difference of the available trade side formula M1-M2=m;
Step 7: when q is positive value, when m is also positive value, that is, the trade tendency for sentencing next year is not good enough, and user needs careful
It is careful to carry on trade;
Step 8: when q is negative value, when m is also negative value, that is, the trade tendency for sentencing next year is good, and user can be appropriate
Increase volume of trade;
Step 9: when q is negative value, when m is positive value and when q is positive value, and m is negative value, user needs according to current year row
Feelings consider to control volume of trade;
The data transmission blocks are used to send the good data of analysis and arrangement to the intelligent mobile terminal of user.
The top control module is also used to control data analysis module and carries out data analysis, control data preparation module arrangement number
According to, control data comparison module carry out data comparison, control data transmission blocks send the communication information;The drawing module making
The type of chart include column diagram, line chart, pie chart, bar chart and radar map, the display module can show the drawing
The chart that module making goes out;The big data storage module is connect with internet, and what is stored in the big data storage module is interior
Appearance automatically updates once every preset time.
A kind of commercial data analysis system based on big data, at work, user first passes through registration and login module
Log on to the upper system, the identity of user can be verified with login module by registering during login, pass through formula
S-V=R obtains time difference R, determines the authenticity of user's identity according to the numerical values recited of R, after being verified, uses
Person can begin to use the system, which begins to use rear top control module that can first control data collection system to acquire user
The corresponding data of company can pass through formula F i during acquiring datamin+1- Fimin=K, to obtain the difference of the volume of trade
K, and the size of more K value filters out invalid data, can be sent in data analysis module and carries out by filtered data
Data analysis, data are after having analyzed, and data analysis module can feed back commercial data whole out, to recommend out more to user
The value added trade side that must deepen cooperation, the data analyzed can be sent in drawing module and make chart, and user can root
Corresponding chart is made according to the demand selection of oneself, the chart made can be shown on the display module, the number analyzed
According to can also be sent in data comparison module, data comparison module, which can be transferred, stores data in big data storage module, and ties
Available data is closed to be analyzed, to analyze following trade tendency, all feedback informations can be all aggregated, and pass through number
It is sent on the intelligent mobile terminal of user according to sending module.
Beneficial effects of the present invention are as follows:
(1) by the data acquisition module of setting, data acquisition module fills in company when can acquire acquisition user's registration
With the annual turnover of each trade side, and the annual turnover of the said firm and each trade side is labeled as Fi, i=1 ...
N extracts the smallest top n Fi, by formula F imin+1-Fimin=K, the difference K of the available volume of trade, when K is less than in advance
If when value, top n Fi be can be filtered, when K is greater than preset value, top n Fi not can be filtered, this kind of filter type
Setting, can effectively reduce too small data on conceptual data bring influence, avoided small data and be mixed into sum
In, causes this conceptual data relatively large deviation be in the presence of, make the analysis precision of the system higher;
(2) by setting data comparison module, data analysis module can all can the data that arrive of data collecting module collected
It is analyzed, by the difference q between the available total volume of trade difference of formula Q1-Q2=q, then passes through formula M1-M2=m
The difference m of the difference of available trade side, data analysis module can be estimated next year according to the variation of q value and m value
Trade trend, thus allow company can benefit, this setting for estimating mode allows the system that can analyze data
It is assessed simultaneously, so that the system has more functions, can satisfy the different use demands of user.
Above content is only to structure of the invention example and explanation, affiliated those skilled in the art couple
Described specific embodiment does various modifications or additions or is substituted in a similar manner, without departing from invention
Structure or beyond the scope defined by this claim, is within the scope of protection of the invention.