Disclosure of Invention
In order to solve the technical problems in the related field, the invention provides a data analysis system and method for compression uploading balance, which can analyze a compression mode meeting the requirement of a data operator on data acquisition speed for each data file based on the performance of data compression equipment, the network speed of the data uploading equipment and the data volume of the data file, thereby realizing the dynamic balance of the original contradictory compression time length and uploading time length.
According to an aspect of the present invention, there is provided a data analysis system for compressive upload equalization, the system comprising:
the test preparation mechanism is used for acquiring the file data volume of each test file and setting the compression uploading duration, and the value of the set compression uploading duration is obtained by dividing the file data volume by the lowest compression uploading data volume threshold of unit duration;
the type extraction mechanism is connected with the test preparation mechanism and is used for compressing and uploading compressed files by adopting different types of data compression modes aiming at each test file, counting the total time consumed by completing compression operation and uploading operation by adopting each type of compression mode to be used as the reference total time corresponding to the type of compression mode, and using the compression mode of the type corresponding to the reference total time which is less than the set compression uploading time as an effective compression mode and outputting a number corresponding to the effective compression mode;
the model reconstruction mechanism is connected with the type extraction mechanism and is used for executing a learning action on the intelligent analysis model which executes the compression mode analysis by adopting each test file so as to complete the reconstruction of the intelligent analysis model;
the number conversion device is connected with the model reconstruction mechanism and used for taking the file data volume of the current file to be compressed and uploaded, the unit time calculation amount of a processor chip of the compression processing device executing the compression operation and the current uploading rate of the uploading processing device executing the uploading operation as the input of the intelligent analysis model after repeated reconstruction, and operating the intelligent analysis model after repeated reconstruction to obtain the number corresponding to the effective compression mode corresponding to the current file to be compressed and uploaded;
the compression processing device is connected with the number conversion device and is used for executing compression processing on the current file to be compressed and uploaded by adopting an effective compression mode corresponding to the number output by the number conversion device so as to obtain a compressed file corresponding to the current file to be compressed and uploaded;
wherein, the value of the set compressed uploading time length obtained by dividing the file data amount by the lowest compressed uploading data amount threshold value of the unit time length comprises: the minimum compression uploading data volume threshold value per unit time length is the minimum data volume which is allowed by a data operator and is compressed and uploaded per unit time length.
According to another aspect of the present invention, there is also provided a data analysis method for compression upload equalization, the method including:
the device comprises a test preparation mechanism, a compression uploading mechanism and a compression uploading mechanism, wherein the test preparation mechanism is used for acquiring the file data volume of each test file and setting the compression uploading duration, and the value of the set compression uploading duration is obtained by dividing the file data volume by the lowest compression uploading data volume threshold of unit duration;
the usage type extraction mechanism is connected with the test preparation mechanism and used for compressing and uploading compressed files by adopting different types of data compression modes aiming at each test file, counting the total time consumed by completing compression operation and uploading operation by adopting each type of compression mode as the reference total time corresponding to the type of compression mode, and taking the compression mode of the type corresponding to the reference total time which is less than the set compression uploading time as an effective compression mode and outputting a number corresponding to the effective compression mode;
the model reconstruction mechanism is connected with the type extraction mechanism and used for executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file so as to complete the reconstruction of the intelligent analysis model;
the number conversion device is connected with the model reconstruction mechanism and used for taking the file data volume of the current file to be compressed and uploaded, the unit time calculation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of the intelligent analysis model after repeated reconstruction, and the intelligent analysis model after repeated reconstruction is operated to obtain the number corresponding to the effective compression mode corresponding to the current file to be compressed and uploaded;
the number conversion device is used for outputting an effective compression mode corresponding to the number to be compressed to the current file to be uploaded;
wherein, the value of the set compressed uploading time length obtained by dividing the file data amount by the lowest compressed uploading data amount threshold value of the unit time length comprises: the minimum compression uploading data volume threshold value of the unit time length is the minimum data volume which is allowed by a data operator and is compressed and uploaded per unit time length.
Therefore, the invention has at least two prominent substantive characteristics: firstly, intelligently analyzing a compression coding type meeting the speed requirement of the minimum data volume compressed and uploaded in each unit time length allowed by a data operator based on the file data volume of a current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading speed of an uploading processing device executing uploading operation, so as to achieve dynamic balance between the consumed time lengths of data compression and data uploading and further ensure the total compression uploading time; and secondly, executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file to complete one reconstruction of the intelligent analysis model, and realizing multiple reconstruction of the intelligent analysis model to be used, wherein the reconstruction times are reversely associated with the value of the lowest compression uploading data volume threshold value in unit time length, so that the precision of the intelligent analysis result is improved.
Detailed Description
An embodiment of the data analysis method for compression upload equalization of the present invention will be described in detail below with reference to the accompanying drawings.
A compression coding technique of multimedia data is developed on the basis of the c.e. shannon information theory. Coding methods can be divided into three categories: (1) According to the statistical characteristics of the information source, methods (first generation coding methods) such as predictive coding, transform coding, vector quantization coding, subband coding, neural network coding, and the like are employed. (2) According to the visual characteristics of human eyes, methods (second generation coding methods) such as image coding based on directional filtering, image contour-ethic coding based on image contour, coding based on wavelet analysis and the like are adopted. (3) according to the transferred scene features: fractal coding, model-based coding, and the like (second generation coding methods) are employed.
At present, for a data file to be compressed and uploaded to a data operator server, a compression mode directly determines a compression time length and an uploading time length, however, the reduction of the compression time length represents the reduction of a compression ratio, which leads to the rise of uploaded data, and further causes the rise of the uploading time length, therefore, it can be seen that the compression time length and the uploading time length are contradictory, and a data operator only pays attention to the total time length of the two, therefore, a deep data analysis mechanism is needed to realize the relation discussion of the compression time length and the uploading time length so as to analyze the compression mode meeting the requirement of the data operator for obtaining the data speed.
In order to overcome the defects, the invention builds a data analysis system and a data analysis method for compression uploading balance, and can effectively solve the corresponding technical problems.
The invention has at least the following two prominent substantive characteristics:
firstly, intelligently analyzing the compression coding type meeting the speed requirement of minimum data volume compression and uploading per unit time allowed by a data operator based on the file data volume of a current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading speed of an uploading processing device executing uploading operation so as to achieve dynamic balance between the consumed time of data compression and data uploading and further ensure the total compression uploading time;
and secondly, executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file to complete one reconstruction of the intelligent analysis model, and realizing multiple reconstruction of the intelligent analysis model to be used, wherein the reconstruction times are reversely associated with the value of the lowest compression upload data volume threshold value in unit time length, so that the precision of the intelligent analysis result is improved.
Fig. 1 is a block diagram illustrating a data analysis system for compressed upload equalization according to an embodiment of the present invention, the system including:
the test preparation mechanism is used for acquiring the file data volume of each test file and setting the compression uploading time length, and the value of the set compression uploading time length is obtained by dividing the file data volume by the lowest compression uploading data volume threshold of the unit time length;
the type extraction mechanism is connected with the test preparation mechanism and is used for compressing and uploading compressed files by adopting different types of data compression modes aiming at each test file, counting the total time consumed by completing compression operation and uploading operation by adopting each type of compression mode to be used as the reference total time corresponding to the type of compression mode, and using the compression mode of the type corresponding to the reference total time which is less than the set compression uploading time as an effective compression mode and outputting a number corresponding to the effective compression mode;
the model reconstruction mechanism is connected with the type extraction mechanism and is used for executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file so as to complete the reconstruction of the intelligent analysis model;
the number conversion device is connected with the model reconstruction mechanism and used for taking the file data volume of the current file to be compressed and uploaded, the unit time calculation amount of a processor chip of the compression processing device executing the compression operation and the current uploading rate of the uploading processing device executing the uploading operation as the input of the intelligent analysis model after repeated reconstruction, and operating the intelligent analysis model after repeated reconstruction to obtain the number corresponding to the effective compression mode corresponding to the current file to be compressed and uploaded;
the compression processing device is connected with the number conversion device and is used for executing compression processing on the current file to be compressed and uploaded by adopting an effective compression mode corresponding to the number output by the number conversion device so as to obtain a compressed file corresponding to the current file to be compressed and uploaded;
wherein, the value of the set compressed uploading time length obtained by dividing the file data amount by the lowest compressed uploading data amount threshold value of the unit time length comprises: the minimum compression uploading data volume threshold value of the unit time length is the minimum data volume which is allowed by a data operator and is compressed and uploaded per unit time length;
illustratively, the minimum compressed upload data amount threshold per unit time length is 10M per second when the minimum data amount compressed and uploaded per unit time length allowed by the data operator is 10M per second.
Next, a further description will be made of a specific structure of the data analysis system for compressive upload equalization of the present invention.
The data analysis system for compression upload equalization may further include:
the uploading processing device is connected with the compression processing device and is used for uploading the compressed file corresponding to the current file to be compressed to a network storage node occupied by a data operator;
the method comprises the following steps of taking the file data volume of a current file to be compressed and uploaded, the unit time calculation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of an intelligent analysis model which is repeatedly reconstructed, and operating the intelligent analysis model which is repeatedly reconstructed to obtain the number corresponding to an effective compression mode corresponding to the current file to be compressed and uploaded comprises the following steps: the number of times of reconstruction is inversely related to the value of the lowest compression uploading data volume threshold value in unit time length.
In the data analysis system for compressive upload equalization:
the step of executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file to complete a reconstruction of the intelligent analysis model comprises the following steps: taking the file data volume of the test file, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of the intelligent analysis model, taking the number corresponding to the effective compression mode corresponding to the test file as the output of the intelligent analysis model, and executing a learning action on the intelligent analysis model to finish a reconstruction of the intelligent analysis model;
wherein, taking the compression mode of the type corresponding to the reference total duration less than the set compression uploading duration as the effective compression mode and outputting the number corresponding to the effective compression mode comprises: and when more than two reference total time lengths exist, the compression mode of the type corresponding to the reference total time length with the minimum value is taken as an effective compression mode, and a number corresponding to the effective compression mode is output.
In the data analysis system for compression upload equalization:
the test preparation mechanism, the type extraction mechanism, the model reconstruction mechanism, the number conversion device, the compression processing device and the uploading processing device are arranged in the same data processing terminal;
the test preparation mechanism, the type extraction mechanism, the model reconstruction mechanism, the number conversion device, the compression processing device and the uploading processing device share the same power supply in the data processing terminal.
In the data analysis system for compression upload equalization:
the method comprises the following steps of taking the file data volume of a current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of an intelligent analysis model which is reconstructed for multiple times, wherein the method comprises the following steps: and when the file data volume of the current file to be compressed and uploaded exceeds the maximum set threshold, stopping executing the file data volume of the current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing the compression operation and the current uploading rate of the uploading processing device executing the uploading operation as the input of the multi-time reconstructed intelligent analysis model.
Fig. 2 is a flow chart illustrating steps of a data analysis method for compressed upload equalization according to an embodiment of the present invention, the method comprising:
the device comprises a test preparation mechanism, a compression uploading mechanism and a compression uploading mechanism, wherein the test preparation mechanism is used for acquiring the file data volume of each test file and setting the compression uploading duration, and the value of the set compression uploading duration is obtained by dividing the file data volume by the lowest compression uploading data volume threshold of unit duration;
the usage type extraction mechanism is connected with the test preparation mechanism and used for compressing and uploading compressed files by adopting different types of data compression modes aiming at each test file, counting the total time consumed by completing compression operation and uploading operation by adopting each type of compression mode as the reference total time corresponding to the type of compression mode, and taking the compression mode of the type corresponding to the reference total time which is less than the set compression uploading time as an effective compression mode and outputting a number corresponding to the effective compression mode;
the model reconstruction mechanism is connected with the type extraction mechanism and used for executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file so as to complete the reconstruction of the intelligent analysis model;
the number conversion device is connected with the model reconstruction mechanism and used for taking the file data volume of the current file to be compressed and uploaded, the unit time calculation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of the intelligent analysis model after repeated reconstruction, and the intelligent analysis model after repeated reconstruction is operated to obtain the number corresponding to the effective compression mode corresponding to the current file to be compressed and uploaded;
the number conversion device is used for outputting an effective compression mode corresponding to the number to be compressed to the file to be uploaded so as to obtain a compressed file corresponding to the file to be compressed to be uploaded;
wherein, the value of the set compressed uploading time length obtained by dividing the file data amount by the lowest compressed uploading data amount threshold value of the unit time length comprises: the minimum compression uploading data volume threshold value of the unit time length is the minimum data volume which is allowed by a data operator and is compressed and uploaded per unit time length.
Next, the detailed steps of the data analysis method for compression upload equalization according to the present invention will be further described.
The data analysis method for compression upload equalization may further include:
the uploading processing device is connected with the compression processing device and used for uploading the compressed file corresponding to the current file to be compressed to a network storage node occupied by a data operator;
the method comprises the following steps of taking the file data volume of a current file to be compressed and uploaded, the unit time calculation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of an intelligent analysis model which is repeatedly reconstructed, and operating the intelligent analysis model which is repeatedly reconstructed to obtain the number corresponding to an effective compression mode corresponding to the current file to be compressed and uploaded comprises the following steps: the number of times of reconstruction is inversely related to the value of the lowest compression uploading data volume threshold value in unit time length.
The data analysis method for the compression uploading equalization comprises the following steps:
the step of executing a learning action on the intelligent analysis model executing the compression mode analysis by adopting each test file to complete a reconstruction of the intelligent analysis model comprises the following steps: taking the file data volume of the test file, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of the intelligent analysis model, taking the number corresponding to the effective compression mode corresponding to the test file as the output of the intelligent analysis model, and executing a learning action on the intelligent analysis model to finish the reconstruction of the intelligent analysis model;
the step of taking the compression mode of the type corresponding to the reference total duration less than the set compression uploading duration as the effective compression mode and outputting the number corresponding to the effective compression mode comprises the following steps: and when more than two reference total time lengths exist, the compression mode of the type corresponding to the reference total time length with the minimum value is taken as an effective compression mode, and a number corresponding to the effective compression mode is output.
The data analysis method for the compression uploading equalization comprises the following steps:
the test preparation mechanism, the type extraction mechanism, the model reconstruction mechanism, the number conversion device, the compression processing device and the uploading processing device are arranged in the same data processing terminal;
the test preparation mechanism, the type extraction mechanism, the model reconstruction mechanism, the number conversion device, the compression processing device and the uploading processing device share the same power supply in the data processing terminal.
The data analysis method for the compression uploading equalization comprises the following steps:
the method comprises the following steps of taking the file data volume of a current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing compression operation and the current uploading rate of an uploading processing device executing uploading operation as the input of an intelligent analysis model which is reconstructed for multiple times, wherein the method comprises the following steps: and when the file data volume of the current file to be compressed and uploaded exceeds the maximum set threshold, stopping executing the file data volume of the current file to be compressed and uploaded, the unit time operation amount of a processor chip of a compression processing device executing the compression operation and the current uploading rate of the uploading processing device executing the uploading operation as the input of the multi-time reconstructed intelligent analysis model.
In addition, in the data analysis system and method for compression upload equalization, the file data volume of the current file to be compressed and uploaded, the unit time computation of the processor chip of the compression processing device executing the compression operation, and the current upload rate of the upload processing device executing the upload operation are used as the input of the multi-reconstructed intelligent analysis model, and the operation of the multi-reconstructed intelligent analysis model to obtain the number corresponding to the effective compression mode corresponding to the current file to be compressed and uploaded includes: the intelligent analytical model is based on a feedforward neural network.
By adopting the data analysis system and method for compression uploading balance, aiming at the technical problem of contradiction between the requirements of data compression duration and data uploading duration in the prior art, the compression mode meeting the requirement of a data operator for acquiring data speed can be analyzed for each data file based on the performance of the data compression equipment, the network speed of the data uploading equipment and the data volume of the data file, so that the dynamic balance between the original contradictory compression duration and uploading duration is realized.
While the above description refers to a preferred design, the preferred design may be further modified within the spirit and scope of this disclosure. This application is therefore intended to cover any variations, uses, or adaptations of the preferred design using the general principles disclosed herein. Further, this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains and which fall within the limits of the appended claims.