CN113590869A - Data storage management method and system - Google Patents

Data storage management method and system Download PDF

Info

Publication number
CN113590869A
CN113590869A CN202110851644.1A CN202110851644A CN113590869A CN 113590869 A CN113590869 A CN 113590869A CN 202110851644 A CN202110851644 A CN 202110851644A CN 113590869 A CN113590869 A CN 113590869A
Authority
CN
China
Prior art keywords
audio data
data storage
representative audio
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110851644.1A
Other languages
Chinese (zh)
Inventor
王博文
杨慧
王甜甜
谭子奕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202110851644.1A priority Critical patent/CN113590869A/en
Publication of CN113590869A publication Critical patent/CN113590869A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/61Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data

Abstract

The application provides a data storage management method and system, and relates to the technical field of data storage. In the method, at least one piece of audio data is determined from a plurality of pieces of obtained audio data, and the at least one piece of audio data is used as representative audio data obtained by data acquisition of a target environment, wherein the plurality of pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals; secondly, determining target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment; then, each piece of representative audio data is sent to the corresponding target data storage device for storage. Based on the method, the problem of storage resource waste in the existing data storage technology can be solved.

Description

Data storage management method and system
Technical Field
The present application relates to the field of data storage technologies, and in particular, to a data storage management method and system.
Background
After the data is obtained, it is an important step to store the data efficiently so that it can be utilized later when certain requirements are met. However, the inventors have found that the conventional data storage technology has a problem of wasting storage resources.
Disclosure of Invention
In view of the above, an object of the present application is to provide a data storage management method and system, so as to solve the problem of storage resource waste in the existing data storage technology.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
a data storage management method is applied to a data storage management device, and comprises the following steps:
determining at least one piece of audio data in the obtained pieces of audio data, and taking the at least one piece of audio data as representative audio data obtained by performing data acquisition on a target environment, wherein the pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals;
determining target data storage equipment corresponding to each piece of representative audio data in a plurality of data storage equipment, wherein one piece of representative audio data corresponds to one target data storage equipment, and each data storage equipment is in communication connection with the data storage management equipment;
and sending each piece of representative audio data to the corresponding target data storage equipment, wherein each target data storage equipment is used for storing the received representative audio data.
In a possible embodiment, in the data storage management method, the step of determining, in the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data includes:
acquiring the data volume of each representative audio data to obtain first data volume information corresponding to each representative audio data;
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining the residual storage space information of each data storage device in a plurality of data storage devices, and determining the safety performance information of each data storage device;
for each piece of representative audio data, matching first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device;
for each piece of representative audio data, matching first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device;
and determining the target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
In a possible embodiment, in the data storage management method, the step of determining, in the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data based on the first matching degree information and the second matching degree information includes:
for each piece of representative audio data, respectively calculating first matching degree information and second matching degree information between the representative audio data and each data storage device to obtain matching degree weighted sum value information between the representative audio data and each data storage device;
calculating the average value of the matching degree weighted sum value information between the representative audio data and each data storage device aiming at each representative audio data to obtain the matching degree average value information corresponding to the representative audio data;
and determining target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment in sequence based on the magnitude relation between the matching degree mean value information corresponding to each piece of representative audio data.
In a possible embodiment, in the data storage management method, the step of sequentially determining, based on a magnitude relationship between the matching degree mean information corresponding to each piece of the representative audio data, a target data storage device corresponding to each piece of the representative audio data in the plurality of data storage devices includes:
traversing each piece of representative audio data according to the sequence of the corresponding matching degree mean information from small to large, and executing target operation on the currently traversed representative audio data:
wherein the target operation comprises:
and for the representative audio data which is traversed currently, determining the data storage device which has the weighted sum value information of the maximum matching degree with the representative audio data as the target data storage device corresponding to the representative audio data which is traversed currently, in each data storage device which is not determined as the target data storage device corresponding to other representative audio data in the plurality of data storage devices.
In a possible embodiment, in the data storage management method, the step of determining, in the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data based on the first matching degree information and the second matching degree information includes:
for each piece of representative audio data, respectively calculating first matching degree information and second matching degree information between the representative audio data and each data storage device to obtain matching degree weighted sum value information between the representative audio data and each data storage device;
matching each piece of representative audio data with a corresponding data storage device in the plurality of data storage devices at random, and performing dispersion calculation based on the matching degree weighting sum value information between each piece of representative audio data and the corresponding data storage device to obtain corresponding dispersion;
executing the step of matching one corresponding data storage device for each piece of representative audio data randomly in the plurality of data storage devices for multiple times, and calculating the dispersion based on the matching degree weighting sum value information between each piece of representative audio data and the corresponding data storage device to obtain the corresponding dispersion so as to obtain a plurality of dispersions;
and determining the minimum dispersion in the plurality of dispersions, and determining each data storage device corresponding to the representative audio data as the target data storage device corresponding to the representative audio data when the minimum dispersion exists.
In a possible embodiment, in the data storage management method, the step of sending each piece of representative audio data to the corresponding target data storage device includes:
determining target encryption information corresponding to each piece of representative audio data;
respectively encrypting each representative audio data based on the target encryption information corresponding to each representative audio data to obtain corresponding encrypted representative audio data;
and sending each piece of the encrypted representative audio data to the corresponding target data storage device.
In a possible embodiment, in the data storage management method, the step of determining target encryption information corresponding to each piece of the representative audio data includes:
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining safety degree information corresponding to each encrypted information in a plurality of encrypted information;
and determining target encryption information corresponding to each piece of representative audio data in the multiple pieces of encryption information based on the first sound source quantity information and the safety degree information.
The present application further provides a data storage management system, which is applied to a data storage management device, the data storage management system includes:
the representative audio data determining module is used for determining at least one piece of audio data in the obtained pieces of audio data, and taking the at least one piece of audio data as representative audio data obtained by performing data acquisition on a target environment, wherein the pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals;
a target data storage device determining module, configured to determine, from among multiple data storage devices, a target data storage device corresponding to each piece of the representative audio data, where one piece of the representative audio data corresponds to one target data storage device, and each of the data storage devices is in communication connection with the data storage management device;
and the target data storage device sending module is used for sending each piece of representative audio data to the corresponding target data storage device, wherein each target data storage device is used for storing the received representative audio data.
In a possible embodiment, in the data storage management system, the target data storage device determining module is specifically configured to:
acquiring the data volume of each representative audio data to obtain first data volume information corresponding to each representative audio data;
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining the residual storage space information of each data storage device in a plurality of data storage devices, and determining the safety performance information of each data storage device;
for each piece of representative audio data, matching first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device;
for each piece of representative audio data, matching first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device;
and determining the target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
In a possible embodiment, in the data storage management system, the target data storage device sending module is specifically configured to:
determining target encryption information corresponding to each piece of representative audio data;
respectively encrypting each representative audio data based on the target encryption information corresponding to each representative audio data to obtain corresponding encrypted representative audio data;
and sending each piece of the encrypted representative audio data to the corresponding target data storage device.
According to the data storage management method and system, the representative audio data are obtained by screening the obtained pieces of audio data, so that the representative audio data can be stored on the basis of the determined target data storage device. Based on this, because the determined representative audio data is obtained by screening, compared with the conventional technical scheme of directly storing a plurality of pieces of audio data, the technical scheme provided by the application can reduce the occupation of the target data storage device to a greater extent, thereby improving the problem of storage resource waste in the existing data storage technology.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a block diagram of a data storage management device according to an embodiment of the present application.
Fig. 2 is a schematic flowchart illustrating steps included in a data storage management method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, an embodiment of the present application provides a data storage management device. Wherein the data storage management device may include a memory and a processor.
In detail, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, they may be electrically connected to each other via one or more communication buses or signal lines. The memory can have stored therein at least one software function (computer program) which can be present in the form of software or firmware. The processor may be configured to execute the executable computer program stored in the memory, so as to implement the data storage management method provided by the embodiment of the present application (described later).
Alternatively, the Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Moreover, the structure shown in fig. 1 is only an illustration, and the data storage management device may further include more or fewer components than those shown in fig. 1, or have a different configuration from that shown in fig. 1, for example, may include a communication unit for information interaction with other devices (such as a target internet of things device).
In an alternative example, the data storage management device may be a server with data processing capabilities.
With reference to fig. 2, an embodiment of the present application further provides a data storage management method, which is applicable to the data storage management device. Wherein, the method steps defined by the flow related to the data storage management method can be implemented by the data storage management device.
The specific process shown in FIG. 2 will be described in detail below.
Step S110, determining at least one piece of audio data from the obtained pieces of audio data, and using the at least one piece of audio data as representative audio data obtained by performing data acquisition on the target environment.
In this embodiment, the data storage management device may determine at least one piece of audio data from the obtained pieces of audio data, and use the at least one piece of audio data as representative audio data obtained by performing data acquisition on the target environment.
The audio data are obtained from a plurality of target Internet of things devices which are in communication connection, and the target Internet of things devices are deployed in the target environment at intervals to acquire audio.
Step S120, determining a target data storage device corresponding to each piece of the representative audio data in the plurality of data storage devices.
In this embodiment, after obtaining the representative audio data based on step S110, the data storage management device may determine, from the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data.
And one piece of representative audio data corresponds to one target data storage device, and each data storage device is in communication connection with the data storage management device.
Step S130, sending each piece of the representative audio data to the corresponding target data storage device.
In this embodiment, after determining the target data storage device corresponding to each piece of the representative audio data based on step S120, the data storage management device may send each piece of the representative audio data to the corresponding target data storage device. Wherein each of the target data storage devices is configured to store the received representative audio data.
Based on the method, the representative audio data can be stored based on the determined target data storage device by screening the obtained pieces of audio data to obtain the representative audio data. Based on this, because the determined representative audio data is obtained by screening, compared with the conventional technical scheme of directly storing a plurality of pieces of audio data, the technical scheme provided by the application can reduce the occupation of the target data storage device to a greater extent, thereby improving the problem of storage resource waste in the existing data storage technology.
It is understood that in an alternative example, the representative audio data may be obtained based on step S111, step S112 and step S113, and the specific content is as follows.
Step S111, obtaining a plurality of pieces of audio data sent by a plurality of target Internet of things devices in communication connection.
In this embodiment, the data storage management device may first obtain a plurality of pieces of audio data sent by a plurality of target internet of things devices in communication connection.
The target internet of things devices (such as audio acquisition devices) can be deployed in a target environment and can be spaced apart from each other by a certain distance. The plurality of pieces of audio data may be obtained by respectively performing audio acquisition on the target environment based on the plurality of target internet of things devices, and each piece of audio data includes audio duration information (duration length of the audio data), audio energy information (an energy value of the audio data, for example, an average value of energy values of a plurality of frames of audio frames included in the audio data, the energy value of each frame of audio frame may be calculated based on a related prior art, which is not specifically limited herein) and audio source number information (the number of people or objects making a sound, which is calculated based on a related prior art, and is not specifically limited herein).
Step S112, clustering the plurality of pieces of audio data based on the audio duration information, the audio energy information and the sound source quantity information to obtain at least one audio data cluster.
In this embodiment, after obtaining the pieces of audio data based on step S111, the data storage management device may perform clustering processing on the pieces of audio data based on the audio duration information, the audio energy information, and the sound source number information (for example, a three-dimensional clustering space may be formed based on the audio duration information, the audio energy information, and the sound source number information, and then clustering may be performed based on a proximity algorithm or other algorithms), so that at least one audio data cluster may be obtained.
Wherein each of the audio data clusters may include at least one piece of the audio data.
And S113, screening out at least one piece of audio data based on the at least one audio data cluster as the representative audio data of the target environment.
In this embodiment, after obtaining the at least one audio data cluster based on step S112, the data storage management device may filter out at least one piece of audio data based on the at least one audio data cluster as the representative audio data of the target environment.
It will be appreciated that in an alternative example, the plurality of pieces of audio data may be obtained based on the following steps:
first, a plurality of candidate audio data sent by a plurality of internet of things devices in communication connection can be obtained. The target environment may deploy the plurality of internet of things devices, and each internet of things device may be in communication connection with the data storage management device to send acquired data, such as candidate audio data, to the data storage management device;
secondly, can be based on preset audio frequency screening rule right many candidate audio data carry out screening process, obtain many audio data that a plurality of target thing networking devices sent, wherein, target thing networking devices are screened for sending the thing networking devices of audio data, that is to say, can regard as the candidate audio data that the rule was screened based on preset audio frequency screening as audio data, correspondingly, the thing networking devices that send audio data can be for target thing networking devices.
It is understood that, in a first alternative example, the pieces of audio data may be obtained based on the preset audio filtering rule based on the following steps:
firstly, determining audio duration information corresponding to each candidate audio data;
secondly, screening the plurality of candidate audio data based on a preset audio screening rule and the audio duration information corresponding to each candidate audio data to obtain a plurality of audio data sent by the target Internet of things equipment.
For example, in an alternative example, the pieces of audio data may be determined based on the audio duration information based on the following steps:
determining minimum audio time length information and maximum audio time length information in audio time length information corresponding to the candidate audio data;
secondly, determining a target audio time interval based on the minimum audio time information and the maximum audio time information, wherein a lower limit value of the target audio time interval is determined based on the minimum audio time information, if the minimum audio time information is used as a lower limit value, an upper limit value of the target audio time interval is determined based on the maximum audio time information, if the maximum audio time information is used as an upper limit value;
performing equal-interval segmentation processing on the target audio time duration interval to obtain a plurality of continuous target audio time duration sub-intervals, and assigning values to each target audio time duration sub-interval according to the sequence of time duration from small to large to obtain time duration sub-interval assignment information corresponding to each target audio time duration sub-interval, wherein the length of the equal-interval segmentation can be determined based on configuration operation performed by a user corresponding to the data storage management equipment in response to the actual application requirement, and in the assignment processing, the assignment corresponding to a smaller time duration is smaller than the assignment corresponding to a larger time duration, for example, a positive correlation can be formed between the time duration and the corresponding assignment;
fourthly, counting the number of the candidate audio data of the audio duration information belonging to the target audio duration subinterval aiming at each target audio duration subinterval to obtain a third audio number corresponding to the target audio duration subinterval;
fifthly, respectively forming corresponding time length sub-interval assignment-audio number combinations based on the time length sub-interval assignment information and the third audio number corresponding to each target audio time length sub-interval to obtain a plurality of time length sub-interval assignment-audio number combinations;
sixthly, determining the time length subinterval assignment-audio number change trend information of the time length subinterval assignment-audio number combination, and obtaining the change trend information if curve fitting processing is carried out;
seventhly, determining each time length subinterval assignment-audio number combination which accords with the time length subinterval assignment-audio number change trend information in the time length subinterval assignment-audio number combinations as a target time length subinterval assignment-audio number combination;
and eighthly, taking the candidate audio data included in each target duration subinterval assignment-audio quantity combination as the screened audio data.
For another example, in another alternative example, the pieces of audio data may also be determined based on the audio duration information based on the following steps:
determining minimum audio time length information and maximum audio time length information in audio time length information corresponding to the candidate audio data;
secondly, determining a target audio time interval based on the minimum audio time information and the maximum audio time information, wherein the lower limit value of the target audio time interval is determined based on the minimum audio time information, and the upper limit value of the target audio time interval is determined based on the maximum audio time information;
thirdly, performing equal-interval segmentation processing on the target audio time duration intervals to obtain a plurality of continuous target audio time duration sub-intervals, and assigning values to each target audio time duration sub-interval according to the sequence of time duration from small to large to obtain time duration sub-interval assignment information corresponding to each target audio time duration sub-interval;
fourthly, counting the number of the candidate audio data of the audio duration information belonging to the target audio duration subinterval aiming at each target audio duration subinterval to obtain a third audio number corresponding to the target audio duration subinterval;
fifthly, respectively forming corresponding time length sub-interval assignment-audio number combinations based on the time length sub-interval assignment information and the third audio number corresponding to each target audio time length sub-interval to obtain a plurality of time length sub-interval assignment-audio number combinations;
sixthly, determining the time length subinterval assignment-audio number change trend information of the time length subinterval assignment-audio number combination;
seventhly, calculating a trend deviation degree between the combination of the assignment of the duration subinterval and the audio quantity and the trend information of the assignment of the duration subinterval and the audio quantity change (in a two-dimensional space of the assignment of the duration subinterval and the audio quantity, calculating a distance between fitted curves corresponding to the combination of the assignment of the duration subinterval and the combination of the audio quantity and the trend information of the assignment of the duration subinterval and the audio quantity change, wherein the distance can be used as the trend deviation degree), and judging whether the trend deviation degree is smaller than a preset trend deviation degree or not, wherein the preset trend deviation degree can be determined based on configuration operation of a corresponding user according to actual application requirements responded by the data storage management equipment;
eighthly, determining a time length sub-interval assignment-audio number combination corresponding to each trend deviation degree smaller than the preset trend deviation degree as a target time length sub-interval assignment-audio number combination;
and ninthly, assigning the candidate audio data included in the audio number combination to each target duration subinterval as the screened audio data.
It is understood that, in a second alternative example, the pieces of audio data may be obtained based on the preset audio filtering rule based on the following steps:
firstly, audio energy information corresponding to each candidate audio data can be determined;
secondly, screening the plurality of candidate audio data based on a preset audio screening rule and the audio energy information corresponding to each candidate audio data to obtain a plurality of audio data sent by a plurality of target internet of things devices.
For example, in an alternative example, the pieces of audio data may be derived based on the audio energy information based on the following steps:
determining minimum audio energy information and maximum audio energy information in audio energy information corresponding to the candidate audio data;
a second step of determining a target audio energy interval based on the minimum audio energy information and the maximum audio energy information, wherein a lower limit value of the target audio energy interval is determined based on the minimum audio energy information, and an upper limit value of the target audio energy interval is determined based on the maximum audio energy information;
thirdly, performing equal-interval segmentation processing on the target audio energy interval to obtain a plurality of continuous target audio energy subintervals, and assigning values to each target audio energy subinterval according to the sequence of audio energy from small to large to obtain energy subinterval assignment information corresponding to each target audio energy subinterval, wherein the assignment corresponding to smaller audio energy is smaller than the assignment corresponding to larger audio energy;
fourthly, counting the number of the candidate audio data of the audio energy information belonging to the target audio energy subinterval aiming at each target audio energy subinterval to obtain a fourth audio number corresponding to the target audio energy subinterval;
fifthly, respectively forming corresponding energy subinterval assignment-audio number combinations based on the energy subinterval assignment information and the fourth audio number corresponding to each target audio energy subinterval to obtain a plurality of energy subinterval assignment-audio number combinations;
sixthly, determining energy subinterval assignment-audio quantity change trend information of the plurality of energy subinterval assignment-audio quantity combinations, as described above;
seventhly, determining each energy subinterval assignment-audio number combination which accords with the energy subinterval assignment-audio number change trend information in the plurality of energy subinterval assignment-audio number combinations as a target energy subinterval assignment-audio number combination;
and eighthly, taking the candidate audio data included in each target energy subinterval assignment-audio quantity combination as the screened audio data.
It is understood that, in a third alternative example, the pieces of audio data may be obtained based on the following steps based on the preset audio filtering rule:
firstly, the sound source quantity information corresponding to each candidate audio data can be determined;
secondly, screening the candidate audio data based on a preset audio screening rule and the sound source quantity information corresponding to each candidate audio data to obtain multiple audio data sent by multiple target internet of things devices.
For example, in an alternative example, the pieces of audio data may be obtained based on the sound source number information based on the following steps:
the method comprises the steps of firstly, determining minimum sound source quantity information and maximum sound source quantity information in sound source quantity information corresponding to a plurality of candidate audio data;
a second step of determining a target sound source number interval based on the minimum sound source number information and the maximum sound source number information, wherein a lower limit value of the target sound source number interval is determined based on the minimum sound source number information, and an upper limit value of the target sound source number interval is determined based on the maximum sound source number information;
thirdly, performing equal-interval segmentation processing on the target sound source number interval to obtain a plurality of continuous target sound source number subintervals, and assigning values to each target sound source number subinterval according to the sequence from small sound source number to large sound source number to obtain sound source number subinterval assignment information corresponding to each target sound source number subinterval, wherein the assignment corresponding to the smaller sound source number is smaller than the assignment corresponding to the larger sound source number;
fourthly, counting the number of the candidate audio data of the sound source number information belonging to the target sound source number subinterval aiming at each target sound source number subinterval to obtain a fifth audio number corresponding to the target sound source number subinterval;
fifthly, respectively forming corresponding sound source number subinterval assignment-audio number combinations based on the sound source number subinterval assignment information and the fifth audio number corresponding to each target sound source number subinterval to obtain a plurality of sound source number subinterval assignment-audio number combinations;
sixthly, determining sound source quantity subinterval assignment-audio quantity change trend information of the plurality of sound source quantity subinterval assignment-audio quantity combinations, as described above;
seventhly, determining each sound source quantity subinterval assignment-audio quantity combination which accords with the sound source quantity subinterval assignment-audio quantity change trend information in the plurality of sound source quantity subinterval assignment-audio quantity combinations as a target sound source quantity subinterval assignment-audio quantity combination;
and eighthly, assigning the candidate audio data included in the audio quantity combination to each target audio source quantity subinterval to serve as the screened audio data.
It will be appreciated that in an alternative example, the representative audio data of the target environment may be determined based on the at least one audio data cluster based on the following steps:
firstly, counting the number of audio data included in each audio data cluster to obtain a first audio number corresponding to the audio data cluster, wherein the number of the audio data clusters is multiple to obtain a plurality of corresponding first audio numbers;
secondly, calculating a quantity ratio among a plurality of first audio quantities, and determining a target quantity corresponding to each first audio quantity based on the quantity ratio and a predetermined target total quantity (for example, multiplying the quantity ratio by the target total quantity, so that the target quantity corresponding to each first audio quantity can be obtained), wherein the target total quantity is generated based on quantity configuration operation performed by a management user corresponding to the data storage management device response according to an actual application scenario;
then, for each piece of the first audio quantity, determining a target quantity of pieces of audio data corresponding to the first audio quantity in at least one piece of audio data included in the audio data cluster corresponding to the first audio quantity, wherein the target quantity of pieces of audio data is used as target audio data corresponding to the first audio quantity, and using each determined piece of the target audio data as representative audio data of the target environment.
It will be appreciated that in an alternative example, the target number of pieces of audio data may be determined in the audio data cluster as representative audio data of the target environment based on the following steps:
firstly, aiming at each first audio frequency quantity, determining at least one piece of sound source quantity information corresponding to at least one piece of audio data included in an audio data cluster corresponding to the first audio frequency quantity, wherein one piece of audio data corresponds to one piece of sound source quantity information;
secondly, for each audio data cluster, determining the number of audio data corresponding to each piece of sound source number information corresponding to the audio data cluster in the audio data cluster, and obtaining a second audio number corresponding to each piece of sound source number information, for example, determining the number of audio data with the sound source number of 1 and the number of audio data with the sound source number of 2 in one audio data cluster;
then, for each audio data cluster, determining a corresponding target number of pieces of audio data in the audio data cluster based on a size relation between each second audio number corresponding to the audio data cluster, and taking the target number of pieces of audio data as target audio data corresponding to the audio data cluster;
and finally, taking each piece of determined target audio data as representative audio data of a target environment.
It is understood that, in an alternative example, a target number of pieces of target audio data may be determined based on the magnitude relationship between the second audio numbers based on the following steps:
and sequentially traversing the second audio quantity corresponding to each audio data cluster according to the sequence from large to small for each audio data cluster, wherein for the traversed second audio quantity, each piece of audio data corresponding to the second audio quantity can be used as the target audio data corresponding to the audio data cluster until the quantity of the obtained target audio data reaches the target quantity.
It will be appreciated that in an alternative example, the target data storage device to which each of the representative audio data corresponds may be determined based on the following steps:
the method comprises the steps of firstly, obtaining the data volume (the size of a storage space required to be occupied) of each piece of representative audio data to obtain first data volume information corresponding to each piece of representative audio data;
secondly, acquiring the number of sound sources (as described above) included in each piece of representative audio data to obtain first sound source number information corresponding to each piece of representative audio data;
thirdly, determining the remaining storage space information (namely the size of the space which can also be used for storing data) of each data storage device in a plurality of data storage devices, and determining the security performance information (such as the possibility of data loss and the like) of each data storage device;
fourthly, for each piece of the representative audio data, matching the first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device (firstly, calculating a difference value between the first data size information and the remaining storage space information, if the difference value is a positive value, the difference value and the first matching degree information have a negative correlation, and if the difference value is a negative value, the first matching degree information is determined to be 0, that is, the first matching degree information has the minimum matching degree);
fifthly, aiming at each piece of representative audio data, matching the first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device, for example, the information of the number of first sound sources having a larger value and the information of the security performance having a higher value have higher second matching degree information, the information of the number of first sound sources having a smaller value and the information of the security performance having a lower value have higher second matching degree information, the information of the number of first sound sources having a larger value and the information of the security performance having a lower value have lower second matching degree information, and the information of the number of first sound sources having a smaller value and the information of the security performance having a higher value have lower second matching degree information;
sixthly, determining target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
It is understood that, in an alternative example, the target data storage device corresponding to each piece of the representative audio data may be determined based on the first matching degree information and the second matching degree information based on the following steps:
first, for each piece of representative audio data, respectively calculating (for example, performing weighted sum calculation, where weighting coefficients corresponding to the first matching degree information and the second matching degree information may be generated based on configuration operations performed by a corresponding user according to an actual application scenario) first matching degree information and second matching degree information between the representative audio data and each data storage device, so as to obtain matching degree weighted sum value information between the representative audio data and each data storage device;
secondly, matching a corresponding data storage device for each piece of representative audio data randomly in the plurality of data storage devices, and performing dispersion calculation based on the matching degree weighting sum value information between each piece of representative audio data and the corresponding data storage device (referring to the related prior art, for example, calculating an average value first, and then calculating corresponding dispersion based on the average value and each piece of matching degree weighting sum value information), so as to obtain corresponding dispersion;
then, the step of matching a corresponding data storage device for each piece of representative audio data randomly in the plurality of data storage devices, and calculating the dispersion based on the matching degree weighting and value information between each piece of representative audio data and the corresponding data storage device to obtain a corresponding dispersion is performed for a plurality of times to obtain a plurality of dispersions (the number of times of performing the step is not specifically limited, for example, when considering an efficient requirement, the number of times may be small, when considering an accuracy requirement, the number of times may be large, and the number of times may be configured according to an actual requirement);
and finally, determining the minimum dispersion in the plurality of dispersions, and determining each data storage device corresponding to the representative audio data as the target data storage device corresponding to the representative audio data when the minimum dispersion exists.
It is understood that, in another alternative example, the target data storage device corresponding to each piece of the representative audio data may also be determined based on the first matching degree information and the second matching degree information based on the following steps:
firstly, for each piece of representative audio data, respectively calculating first matching degree information and second matching degree information between the representative audio data and each data storage device to obtain matching degree weighted sum value information between the representative audio data and each data storage device (as mentioned above);
secondly, calculating the average value of the weighted sum value information of the matching degree between the representative audio data and each data storage device aiming at each representative audio data to obtain the average value information of the matching degree corresponding to the representative audio data;
then, based on the magnitude relation between the matching degree mean value information corresponding to each piece of representative audio data, sequentially determining a target data storage device corresponding to each piece of representative audio data from the plurality of data storage devices.
It will be appreciated that in an alternative example, the target data storage device may be determined based on the magnitude relationship between the match mean information based on the following steps:
firstly, each piece of representative audio data may be traversed according to the sequence of the corresponding matching degree mean information from small to large, and target operation is performed on the currently traversed representative audio data, where the target operation includes:
and for the representative audio data which is traversed currently, determining the data storage device which has the weighted sum value information of the maximum matching degree with the representative audio data as the target data storage device corresponding to the representative audio data which is traversed currently, in each data storage device which is not determined as the target data storage device corresponding to other representative audio data in the plurality of data storage devices.
The embodiment of the application also provides a data storage management system which can be applied to the data storage management equipment. Wherein the data storage management system may include:
the representative audio data determining module is used for determining at least one piece of audio data in the obtained pieces of audio data, and taking the at least one piece of audio data as representative audio data obtained by performing data acquisition on a target environment, wherein the pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals;
a target data storage device determining module, configured to determine, from among multiple data storage devices, a target data storage device corresponding to each piece of the representative audio data, where one piece of the representative audio data corresponds to one target data storage device, and each of the data storage devices is in communication connection with the data storage management device;
and the target data storage device sending module is used for sending each piece of representative audio data to the corresponding target data storage device, wherein each target data storage device is used for storing the received representative audio data.
It is understood that the representative audio data determining module, the target data storage device determining module and the target data storage device transmitting module may be a software functional module, and specific functions may be referred to the foregoing description of step S110, step S1120 and step S130.
For example, in an alternative example, the target data storage device determining module may be specifically configured to:
acquiring the data volume of each representative audio data to obtain first data volume information corresponding to each representative audio data; acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data; determining the residual storage space information of each data storage device in a plurality of data storage devices, and determining the safety performance information of each data storage device; for each piece of representative audio data, matching first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device; for each piece of representative audio data, matching first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device; and determining the target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
For another example, in an alternative example, the target data storage device sending module may be specifically configured to:
determining target encryption information corresponding to each piece of representative audio data; respectively encrypting each representative audio data based on the target encryption information corresponding to each representative audio data to obtain corresponding encrypted representative audio data; and sending each piece of the encrypted representative audio data to the corresponding target data storage device.
In summary, the data storage management method and system provided by the application obtain the representative audio data by screening the obtained multiple pieces of audio data, so that the representative audio data can be stored based on the determined target data storage device. Based on this, because the determined representative audio data is obtained by screening, compared with the conventional technical scheme of directly storing a plurality of pieces of audio data, the technical scheme provided by the application can reduce the occupation of the target data storage device to a greater extent, thereby improving the problem of storage resource waste in the existing data storage technology.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A data storage management method is applied to a data storage management device, and comprises the following steps:
determining at least one piece of audio data in the obtained pieces of audio data, and taking the at least one piece of audio data as representative audio data obtained by performing data acquisition on a target environment, wherein the pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals;
determining target data storage equipment corresponding to each piece of representative audio data in a plurality of data storage equipment, wherein one piece of representative audio data corresponds to one target data storage equipment, and each data storage equipment is in communication connection with the data storage management equipment;
and sending each piece of representative audio data to the corresponding target data storage equipment, wherein each target data storage equipment is used for storing the received representative audio data.
2. The data storage management method of claim 1, wherein the step of determining a target data storage device corresponding to each piece of the representative audio data among the plurality of data storage devices comprises:
acquiring the data volume of each representative audio data to obtain first data volume information corresponding to each representative audio data;
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining the residual storage space information of each data storage device in a plurality of data storage devices, and determining the safety performance information of each data storage device;
for each piece of representative audio data, matching first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device;
for each piece of representative audio data, matching first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device;
and determining the target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
3. The data storage management method according to claim 2, wherein the step of determining, among the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data based on the first matching degree information and the second matching degree information includes:
for each piece of representative audio data, respectively calculating first matching degree information and second matching degree information between the representative audio data and each data storage device to obtain matching degree weighted sum value information between the representative audio data and each data storage device;
calculating the average value of the matching degree weighted sum value information between the representative audio data and each data storage device aiming at each representative audio data to obtain the matching degree average value information corresponding to the representative audio data;
and determining target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment in sequence based on the magnitude relation between the matching degree mean value information corresponding to each piece of representative audio data.
4. The data storage management method according to claim 3, wherein the step of sequentially determining, from the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data based on a magnitude relationship between the matching degree mean information corresponding to each piece of the representative audio data includes:
traversing each piece of representative audio data according to the sequence of the corresponding matching degree mean information from small to large, and executing target operation on the currently traversed representative audio data:
wherein the target operation comprises:
and for the representative audio data which is traversed currently, determining the data storage device which has the weighted sum value information of the maximum matching degree with the representative audio data as the target data storage device corresponding to the representative audio data which is traversed currently, in each data storage device which is not determined as the target data storage device corresponding to other representative audio data in the plurality of data storage devices.
5. The data storage management method according to claim 2, wherein the step of determining, in the plurality of data storage devices, a target data storage device corresponding to each piece of the representative audio data based on the first matching degree information and the second matching degree information includes:
for each piece of representative audio data, respectively calculating first matching degree information and second matching degree information between the representative audio data and each data storage device to obtain matching degree weighted sum value information between the representative audio data and each data storage device;
matching each piece of representative audio data with a corresponding data storage device in the plurality of data storage devices at random, and performing dispersion calculation based on the matching degree weighting sum value information between each piece of representative audio data and the corresponding data storage device to obtain corresponding dispersion;
executing the step of matching one corresponding data storage device for each piece of representative audio data randomly in the plurality of data storage devices for multiple times, and calculating the dispersion based on the matching degree weighting sum value information between each piece of representative audio data and the corresponding data storage device to obtain the corresponding dispersion so as to obtain a plurality of dispersions;
and determining the minimum dispersion in the plurality of dispersions, and determining each data storage device corresponding to the representative audio data as the target data storage device corresponding to the representative audio data when the minimum dispersion exists.
6. The data storage management method according to any one of claims 1 to 5, wherein the step of sending each piece of the representative audio data to the corresponding target data storage device includes:
determining target encryption information corresponding to each piece of representative audio data;
respectively encrypting each representative audio data based on the target encryption information corresponding to each representative audio data to obtain corresponding encrypted representative audio data;
and sending each piece of the encrypted representative audio data to the corresponding target data storage device.
7. The data storage management method according to claim 6, wherein the step of determining the target encryption information corresponding to each piece of the representative audio data includes:
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining safety degree information corresponding to each encrypted information in a plurality of encrypted information;
and determining target encryption information corresponding to each piece of representative audio data in the multiple pieces of encryption information based on the first sound source quantity information and the safety degree information.
8. A data storage management system, for use in a data storage management device, the data storage management system comprising:
the representative audio data determining module is used for determining at least one piece of audio data in the obtained pieces of audio data, and taking the at least one piece of audio data as representative audio data obtained by performing data acquisition on a target environment, wherein the pieces of audio data are obtained from a plurality of target internet of things devices in communication connection, and the plurality of target internet of things devices are deployed in the target environment at intervals;
a target data storage device determining module, configured to determine, from among multiple data storage devices, a target data storage device corresponding to each piece of the representative audio data, where one piece of the representative audio data corresponds to one target data storage device, and each of the data storage devices is in communication connection with the data storage management device;
and the target data storage device sending module is used for sending each piece of representative audio data to the corresponding target data storage device, wherein each target data storage device is used for storing the received representative audio data.
9. The data storage management system of claim 8, wherein the target data storage device determination module is specifically configured to:
acquiring the data volume of each representative audio data to obtain first data volume information corresponding to each representative audio data;
acquiring the number of sound sources included in each representative audio data to obtain first sound source number information corresponding to each representative audio data;
determining the residual storage space information of each data storage device in a plurality of data storage devices, and determining the safety performance information of each data storage device;
for each piece of representative audio data, matching first data size information corresponding to the representative audio data with the remaining storage space information of each data storage device to obtain first matching degree information between the representative audio data and each data storage device;
for each piece of representative audio data, matching first sound source quantity information corresponding to the representative audio data with the safety performance information of each data storage device to obtain second matching degree information between the representative audio data and each data storage device;
and determining the target data storage equipment corresponding to each piece of representative audio data in the plurality of data storage equipment based on the first matching degree information and the second matching degree information.
10. The data storage management system of claim 8, wherein the target data storage device sending module is specifically configured to:
determining target encryption information corresponding to each piece of representative audio data;
respectively encrypting each representative audio data based on the target encryption information corresponding to each representative audio data to obtain corresponding encrypted representative audio data;
and sending each piece of the encrypted representative audio data to the corresponding target data storage device.
CN202110851644.1A 2021-07-27 2021-07-27 Data storage management method and system Withdrawn CN113590869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110851644.1A CN113590869A (en) 2021-07-27 2021-07-27 Data storage management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110851644.1A CN113590869A (en) 2021-07-27 2021-07-27 Data storage management method and system

Publications (1)

Publication Number Publication Date
CN113590869A true CN113590869A (en) 2021-11-02

Family

ID=78250514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110851644.1A Withdrawn CN113590869A (en) 2021-07-27 2021-07-27 Data storage management method and system

Country Status (1)

Country Link
CN (1) CN113590869A (en)

Similar Documents

Publication Publication Date Title
US8341742B2 (en) Network attack detection devices and methods
CN106649831B (en) Data filtering method and device
CN107305611B (en) Method and device for establishing model corresponding to malicious account and method and device for identifying malicious account
CN111178380B (en) Data classification method and device and electronic equipment
CN113726783B (en) Abnormal IP address identification method and device, electronic equipment and readable storage medium
CN113114703B (en) Data encryption method and system for networking communication
Li et al. A fast source-oriented image clustering method for digital forensics
CN114780606B (en) Big data mining method and system
CN111064719B (en) Method and device for detecting abnormal downloading behavior of file
CN113609389A (en) Community platform information pushing method and system
CN113569965A (en) User behavior analysis method and system based on Internet of things
CN113645279A (en) Audio transmission processing method based on Internet of things
CN113590869A (en) Data storage management method and system
CN112669163B (en) Financial business management method and system based on big data and cloud computing
CN113256366A (en) Order data processing method and system based on big data and cloud computing
CN113609111A (en) Big data testing method and system
CN113132162A (en) Method, device, equipment and medium for configuring Internet of things card
CN113568952A (en) Internet of things resource data analysis method
CN113486342A (en) Information security processing method and system based on user behavior analysis
CN113381891A (en) Internet of things configuration information processing method
Benssalah et al. A cooperative Bayesian and lower bound estimation in dynamic framed slotted ALOHA algorithm for RFID systems
CN113407750A (en) Image distributed storage method and system
CN112686760B (en) Financial business processing method and platform based on big data
Robert On the asymptotic behavior of some algorithms
CN113472804A (en) Method for verifying digital signature

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20211102

WW01 Invention patent application withdrawn after publication