Disclosure of Invention
In view of the foregoing, there is a need to provide a power grid-oriented regulation and control data caching method, device, computer device and storage medium capable of quickly and accurately finding target data.
A regulation and control data caching method facing a power grid comprises the following steps:
acquiring regulation and control data to be stored;
extracting semantic features of the regulation and control data by using a trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and calculating the reading frequency of the regulation and control data by using the trained frequency prediction network, and storing the regulation and control data into a second cache space or a database according to the reading frequency.
Optionally, the first cache space is configured to store hash values corresponding to the stored regulatory data, and use the hash values as an index directory;
and the second cache space is used for storing the regulation and control data with the reading frequency within the preset ranking.
Optionally, the regulation data caching method further includes querying the stored regulation data, and the querying method includes:
acquiring regulation and control data to be inquired;
calculating the reading frequency of the regulation and control data by using the frequency prediction network, and if the reading frequency is within the preset ranking, inquiring the corresponding regulation and control data in the second cache;
if the reading frequency is not within the preset ranking, extracting semantic features of the regulation and control data by using the feature extraction network, and calculating corresponding hash values according to the semantic features;
and after finding the corresponding hash value in the index directory in the first cache space according to the hash value, acquiring corresponding regulation and control data from the database or in real time according to the hash value, and reading the regulation and control data into a third cache space.
Optionally, when the third cache space already stores the same regulation and control data as the newly read data, the newly read regulation and control data will replace the existing regulation and control data.
Optionally, the type of the regulation data includes text, image, and time series data;
the feature extraction network projects the different types of regulation and control data to the same semantic space, so that the extracted semantic features have uniformity.
Optionally, when the acquired to-be-stored regulation and control data is a plurality of data of different types, after extracting semantic features corresponding to the regulation and control data by using the feature extraction network, fusing the semantic features and calculating corresponding hash values.
Optionally, the frequency prediction network includes a plurality of sub-network models and a converged network model, and the sub-network models include:
the time sequence long-short term memory network model is used for identifying the regulation and control data of the time sequence type;
the image processing and identifying network model is used for identifying the regulation and control data of the image type; and
and the long-short term network model is used for identifying the regulation data of the text type.
The present application further provides a regulation and control data cache device for a power grid, including:
the data acquisition module is used for acquiring the regulation and control data to be stored;
the semantic feature extraction module is used for extracting semantic features of the regulation and control data by using the trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and the data storage module is used for calculating the reading frequency of the regulation and control data by utilizing the trained frequency prediction network and storing the regulation and control data into a second cache space or a database according to the reading frequency.
The present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring regulation and control data to be stored;
extracting semantic features of the regulation and control data by using a trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and calculating the reading frequency of the regulation and control data by using the trained frequency prediction network, and storing the regulation and control data into a second cache space or a database according to the reading frequency.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring regulation and control data to be stored;
extracting semantic features of the regulation and control data by using a trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and calculating the reading frequency of the regulation and control data by using the trained frequency prediction network, and storing the regulation and control data into a second cache space or a database according to the reading frequency.
According to the power grid-oriented regulation and control data cache method, the device, the computer equipment and the storage medium, the semantic features of the regulation and control data to be stored are extracted, the hash values of the semantic features are calculated and stored in the first cache space, the regulation and control data are placed in the corresponding second cache space or the corresponding database after the reading frequency is predicted through the deep learning model, so that when the subsequent query is carried out, the hash values can be searched in the first cache space to determine whether the data to be queried is stored, and if more data can be queried in the second cache space, the target data can be accurately and quickly extracted from mass data.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
By analyzing the request for the control data, that is, the access and query history data and the correlation of the requested data, it is found that there is a great difference in the requested data, that is, some types of data or some locations of data are frequently called, and other data are frequently called rarely, that is, the calling frequency is very different. The relevant conditions of the regulation and control data comprise the power grid position where the requested data is located, the requested data type, the time interval of the requested data, where the data comes from, the power grid service type expressed by the data and the like.
The access characteristics of such data can make some caching strategies perform poorly, such as first-in-first-out (FIFO) based on historical data access order and Least Recently Used (LRU) based on locality time. Since many power grid regulation data are acquired in real time, statistics on historical various power grid regulation data shows that many real-time acquired data have relatively constant values, that is, they do not change all the time. The characteristic can provide convenience for a cache strategy, and the cache node can be sent to a database or power grid regulation hardware to collect data in real time at a certain time interval, so that the cache strategy can greatly save resource consumption caused by reading the data and reduce the pressure of storage bandwidth.
Based on the characteristics of the power grid, as shown in fig. 1, a power grid-oriented regulation and control data caching method is provided, which includes the following steps:
step S101, acquiring regulation and control data to be stored;
step S102, extracting semantic features of the regulation and control data by using the trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
step S103, calculating the reading frequency of the regulation data by using the trained frequency prediction network, and storing the regulation data into a second cache space or a database according to the reading frequency.
In this embodiment, when storing the regulation and control data, the data needs to be simultaneously input into two trained deep neural networks, and corresponding semantic features and predicted reading frequencies are respectively extracted. After the semantic features are extracted, the hash value is calculated according to the semantic features and then stored in the first cache space as an index, so that the corresponding hash value can be searched in the first cache space to determine whether the data exists and the storage position. More or less of the reading frequency determines the position of regulating data storage, so that the data can be accessed quickly in the following process.
In one embodiment, the first cache space is used for storing hash values corresponding to the regulatory data, and each hash value is used as an index directory, so as to facilitate statistics and query on the stored data.
In one embodiment, the second buffer space is used for storing the regulation and control data with the reading frequency within the preset ranking. That is, the second cache space is used to store data with the highest access frequency. For example, when the preset rank is 100, the regulation data with the reading frequency within the rank of 100 is stored in the second cache space. And the data ranked beyond 100 is stored in a database, or sensor.
Specifically, the data stored in the second cache space is determined according to historical data, and needs to be dynamically updated according to the running of time.
A timing dynamic updating method can be adopted, and the time interval can be set. For example, the frequency prediction network is set to update once a week or a few days, the network parameters are updated by the frequency prediction network according to the data reading condition from a recent period of time, the updated network recalculates the data reading frequency, then gives a ranking, and updates the regulation and control data in the second cache space according to the ranking.
As shown in fig. 2, the regulation data caching method further includes querying the stored regulation data, and the querying method includes the following steps:
step S201, acquiring regulation and control data to be inquired;
step S202, calculating the reading frequency of the regulation and control data by using a frequency prediction network, and if the reading frequency is within a preset rank, inquiring the corresponding regulation and control data in a second cache;
step S203, if the reading frequency is not within the preset rank, extracting semantic features of the regulation and control data by using a feature extraction network, and calculating corresponding hash values according to the semantic features;
step S204, after finding the corresponding hash value in the index directory in the first cache space according to the hash value, acquiring corresponding regulation and control data from the database or in real time according to the hash value, and reading the regulation and control data into a third cache space.
In this embodiment, when querying data stored in the power grid, it may be first queried whether the regulatory data to be queried is data that is read frequently, and if the regulatory data is within a preset rank, the regulatory data may be directly searched in the second cache space, as in the step described in step S202. If not, semantic feature extraction is carried out on the data to be queried, then the hash value is calculated, the hash value obtained through calculation is searched in the first cache space, then the corresponding regulation and control data are obtained from the database or in a real-time acquisition mode, and the regulation and control data are read into the third cache space for access.
In one embodiment, the regulatory data to be queried is already stored in the database in advance, or can be obtained through a timely reading function. However, since some real-time read data may not change within a certain time, the data can be directly read from the last read value, and then the steps from S202 to S204 are performed.
In one embodiment, the third buffer space is used for storing the pre-read regulation and control data. The regulation and control data in the power grid comprise statistical information and data which need to be collected in real time. And when the regulation data are stored, the regulation data of the statistical information class are stored into a second cache space or a database according to the reading frequency. And the data which needs to be collected in real time cannot be put into the database and cannot be put into the second cache space, and the data which needs to be collected in real time and the data in the database are read in and stored in the third cache space only when the data are inquired.
In one embodiment, when the third cache space stores the same regulation and control data as the newly read data, the newly read regulation and control data replaces the existing regulation and control data.
Once the data is read in the third cache space, the original data needs to be replaced, and the replacement is performed according to a replacement strategy of the power grid regulation data. Specifically, a first-in-first-out strategy may be employed to perform the updating of the data. The pre-reading strategy is mainly based on the continuity of data, and once a certain block of data is read, the adjacent data can be pre-read.
In the above power grid-oriented regulation data storage method and query method, both a frequency prediction network and a feature extraction network are utilized, and the architectures and training methods of the two networks are further described below.
In this embodiment, it is important to predict the reading frequency of the regulation and control data, and it is found that the request frequency of the power grid regulation and control data is related to time and is different with time when the data request frequency of the power grid regulation and control data is analyzed. The data time required by different services in different regions is different mainly determined by the service characteristics of power grid regulation. To better represent the frequency of such data requests, in one embodiment, a poisson equation expressed by a plurality of different parameters is constructed, as follows:
Xq(t)={M(t1),M(t2),M(t3),M(t4),M(t5)}
wherein Xq(t) is the data read frequency, M (t)1) Is the Poisson equation, and t1Are parameters in the poisson equation.
In one embodiment, in order to better predict the request frequency of the power grid regulation data, a deep neural network of multi-modal data, namely a frequency prediction network, is provided.
In this embodiment, the types of the control data include text, image, and time series data.
Aiming at different types of regulation and control data, the frequency prediction network can perform frequency prediction of data requests on text data, image data and time sequence data.
In one embodiment, the frequency prediction network includes a plurality of sub-network models and a converged network model, and the sub-network models include: the time sequence long-short term memory network model is used for identifying the regulation and control data of the time sequence type; the image processing and identifying network model is used for identifying the regulation and control data of the image type; and the long-short term network model is used for identifying the regulation data of the text type.
According to the characteristics of power grid regulation and control data, the time sequence long-term and short-term memory network and the text long-term and short-term memory network models all comprise attention mechanisms, the attention mechanisms learn to integrate data information and the like of power grid regulation and control services together into important attention, and reweigh the important attention to emphasize the attention, so that the data reading frequency is accurately predicted.
Specifically, in the time sequence long-term and short-term memory model, the data characteristics of the power grid regulation and control service are input to learn attention weights, and the attention weights are reweighed to identify.
Specifically, in the text long-short term memory network model, the relationship between texts is learned according to the attention characteristics of text data, and the characteristics are weighted again for prediction.
In one embodiment, the power grid regulation and control data passes through the corresponding sub-network model and then is input into the fusion network model. And the converged network model comprises a sharing layer, a first full connection layer, a pooling layer and a second full connection layer which are connected once, and the predicted reading frequency is finally output.
After the frequency prediction network is constructed, in one embodiment, it can be trained in an off-line manner. The frequency prediction network is trained by using the historical request data of the power grid regulation and control to establish the reading frequency prediction of the power grid regulation and control data, and the trained frequency prediction network is very small.
In the training process, the sub-network models corresponding to different data types in the frequency prediction network can be trained together or separately. And putting the trained frequency prediction network into a cache module to perform reading frequency prediction of the request data. When the trained frequency prediction network is used for reading frequency prediction of single request data, only very little memory space is needed, meanwhile, little time is spent, and the requirement on hardware resources is very low.
In order to improve the speed of inquiring and accessing the regulation and control data in the power grid, the unified data expression and storage of the regulation and control data of the power grid are needed, a semantic feature unified expression deep neural network model, namely a feature extraction model, needs to be constructed, and the feature extraction network is utilized to project the regulation and control data of different types to the same semantic space, so that the extracted semantic features have uniformity. Then, the semantic features of the data are subjected to Hash semantic cataloging, and unified semantic cataloging combined with a Hash table is adopted.
The semantic cataloging is to form a catalog by utilizing a semantic relation, and is favorable for classified storage cataloging and retrieval of the power grid regulation and control service data on the semantic level.
In one embodiment, the feature extraction model includes a plurality of different sub-network models for different types of regulatory data.
In one embodiment, for the power grid regulation and control data in the image type mode, in view of the fact that the number of images regulated and controlled by the power grid cannot meet the distribution requirement of independent and same distribution of a deep neural network model, a data-driven deep learning model is difficult to support to extract semantic features, a technical route that sub-network model parameters are pre-trained on an ImageNet large data set and then the sub-network model parameters are fine-tuned on a data set of power grid regulation and control service data is proposed.
In one embodiment, aiming at the power grid regulation and control data in the text type mode, a word2vect method is adopted to project the text data to a semantic space to form a one-dimensional vector.
In one embodiment, the semantic features of the power grid regulation data in the time sequence type mode are extracted through a long-term and short-term memory network.
In one embodiment, when the acquired regulation and control data to be stored is a plurality of data of different types, after semantic features corresponding to the regulation and control data are extracted by using a feature extraction network, the semantic features are fused, and then corresponding hash values are calculated.
It should be noted that the above-mentioned modalities refer to one type of regulation data, the single modality refers to a single type, and the multi-modality refers to having multiple types of regulation data.
In order to support the retrieval and query of multi-type data, after the extracted time sequence, image and text type data characteristics are extracted, the data are linked together to form a one-dimensional vector with fixed length, and then the fused characteristics are subjected to semantic cataloguing by adopting a multi-level hash algorithm.
Aiming at multi-type data, a shared space projection method is adopted, the characteristics extracted from text, images and time sequence type data are uniformly projected to a shared space, then the vector of the space is utilized to carry out semantic cataloguing, namely, the vector of the common space is input to a Hash calculation module, and the Hash value is calculated, and the value can be used as the basis of cataloguing.
The method is similar to a single mode when the power grid regulation and control data are retrieved. In the single mode, the regulation and control data to be retrieved is a single data type such as a text or an image, when retrieval is performed, semantic conversion is performed on the single mode data for retrieval at first (because our catalog is catalogued on a semantic level, semantic conversion is performed on the searched single mode data in advance for searching), once conversion is performed on the semantic level, the semantic feature can be projected, the semantic feature of the shared space is calculated, and finally the hash value is calculated on the feature, so that retrieval can be performed according to the hash value.
The multi-modal data retrieval is similar to a single modality, for example, a user adds an image to a section of text to retrieve the text or the image similar to the section of text or the image, namely, the multi-modal data to be retrieved is projected in a shared space, then the hash value of the multi-modal data is calculated according to the projected vector, the multi-modal data is retrieved in a three-level cache space according to the hash value, and if the retrieval speed is required to be improved, the semantic ratio cataloguing can be carried out by utilizing a multi-level hash method.
In one embodiment, for the problems of complicated kinds of power grid regulation data and various modes, a cross-modal binary code learning technique based on fusion similarity hash is adopted, as shown in fig. 3.
Firstly, the multi-modal power grid regulation data characteristics are mapped to a public Hamming (Hamming) space, so that the similarity between the cross-modal power grid regulation service data characteristics can be represented by Hamming distance. Then, an asymmetric graph model is constructed to represent the fusion similarity between different modes, and finally, the similarity relation between the intra-mode and the inter-mode is learned through learning a binary code.
Fused similarities may be used to better measure similarities across modality data because of the complementary relationship between different similarities. While intra-modal and inter-modal similarity noise may be more robust through binary learning that fuses similarities. Therefore, an efficient objective function is designed to learn the accurate binary code and the corresponding hash function.
Specifically, a similarity matrix is first constructed within each modality, and then they are combined to construct a matrix that can map the fused similarities. According to the similarity matrixes, an asymmetric graph is constructed to learn the hash function. Thereby finding the best fused graph to generate a more identifiable hash code.
When multi-mode data of power grid regulation and control services are stored, similar data can be expected to be stored in similar positions, the multi-mode data are matched firstly, and the data are similar, and the matching and the sequencing are similar.
In one embodiment, aiming at the problem of power grid regulation and control data matching, a template matching measurement technology based on the diversity of feature matching between a target feature window and a template is adopted. The method mainly adopts a feature-based optimal partner similarity parameter-free matching method, and provides a powerful clue for template matching based on two attributes of a 'nearest neighbor' field of a matching item between a point of a target window and a template.
Specifically, to measure the similarity between the target window and the template, its Nearest Neighbors (NN) are first found in appearance for each target patch. The key idea is that the similarity between the target and the template is captured by two properties that imply the NN field. When the target and template correspond, most target patches have a unique NN match in the template. This means that the NN field is highly diverse, pointing to many different patches in the template. Conversely, if the target and template do not correspond, then for any target most patches do not have a good match and the NN converges to a small number of template points that are just similar to the target patch.
Further, arbitrary matching usually means large deformation, so two methods are proposed to quantify the diversity and the deformation of the NN field, that is, the diversity similarity and the deformation diversity similarity, so that the matching accuracy of the deformed power grid regulation image data can be greatly increased.
In one embodiment, the present application further provides a power grid-oriented regulatory data cache system, which includes a trained feature extraction network, a trained frequency prediction network, a hash value calculation module, a first cache space, a second cache space, and a third cache space;
the trained frequency prediction network is used for calculating the reading frequency of the regulation and control data and storing the regulation and control data into the second cache space or the database according to the reading frequency;
the trained feature extraction network is used for extracting semantic features of the regulation and control data and sending the semantic features to the hash value calculation module;
the hash value calculation module is used for calculating a hash value corresponding to the semantic features and storing the hash value into a first cache space;
and the third cache space is used for storing the regulation and control data which is read in advance.
For specific limitations of the regulation data cache system facing the power grid, reference may be made to the above limitations of the regulation data cache method facing the power grid, and details thereof are not repeated here.
In the power grid-oriented regulation and control data caching method, characteristic analysis is performed on power grid regulation and control service data, the rule of data request of regulation and control service users, the requirements of special data on a caching strategy and a replacement strategy and the like. The method comprises the steps of designing a data reading frequency prediction algorithm according to rules and characteristics of power grid regulation and control service user requests, carrying out cache pre-reading, cache strategies and replacement strategies according to predicted reading frequency ranking, and designing a cache architecture model based on a three-level cache space, wherein a first-level cache is used for storing semantic cataloging information of various types of data requested by the power grid regulation and control service, a second-level cache is used for storing data with the highest frequency which is frequently accessed, and a third-level cache is mainly used for storing some pre-read power grid regulation and control data. In order to match with a data request and cache model, uniform data expression and storage of power grid regulation and control data are required, a semantic feature uniform expression deep neural network model is firstly constructed, then hash semantic features of the data are subjected to semantic cataloging, and the unified semantic cataloging combined with a hash table is adopted and is mainly used for statistical data access and query. The data access and query process firstly extracts and analyzes the query data according to semantics, and finds data similar to the query or similar to the query by the proposed semantic features through a hash table. The power grid regulation and control data caching method greatly improves the speed of query and range.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a regulation data cache device facing a power grid, including: a data acquisition module 301, a semantic feature extraction module 302, and a data storage module 303, wherein:
the data acquisition module 301 is configured to acquire regulation and control data to be stored;
a semantic feature extraction module 302, configured to extract a semantic feature of the regulation and control data by using a trained feature extraction network, calculate a corresponding hash value according to the semantic feature, and store the hash value in a first cache space;
the data storage module 303 is configured to calculate a reading frequency of the control data by using the trained frequency prediction network, and store the control data in a second cache space or a database according to the reading frequency.
For specific limitations of the regulation data cache device facing the power grid, reference may be made to the above limitations of the regulation data cache method facing the power grid, and details thereof are not repeated here. All or part of each module in the regulation and control data cache device facing the power grid can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing part of the regulation data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a grid-oriented regulation data caching method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring regulation and control data to be stored;
extracting semantic features of the regulation and control data by using a trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and calculating the reading frequency of the regulation and control data by using the trained frequency prediction network, and storing the regulation and control data into a second cache space or a database according to the reading frequency.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the first cache space is used for storing hash values corresponding to the stored regulation and control data and taking the hash values as an index directory;
and the second cache space is used for storing the regulation and control data with the reading frequency within the preset ranking.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the regulation data caching method further comprises the step of inquiring the stored regulation data, and the inquiring method comprises the following steps:
acquiring regulation and control data to be inquired;
calculating the reading frequency of the regulation and control data by using the frequency prediction network, and if the reading frequency is within the preset ranking, inquiring the corresponding regulation and control data in the second cache;
if the reading frequency is not within the preset ranking, extracting semantic features of the regulation and control data by using the feature extraction network, and calculating corresponding hash values according to the semantic features;
and after finding the corresponding hash value in the index directory in the first cache space according to the hash value, acquiring corresponding regulation and control data from the database or in real time according to the hash value, and reading the regulation and control data into a third cache space.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring regulation and control data to be stored;
extracting semantic features of the regulation and control data by using a trained feature extraction network, calculating corresponding hash values according to the semantic features, and storing the hash values into a first cache space;
and calculating the reading frequency of the regulation and control data by using the trained frequency prediction network, and storing the regulation and control data into a second cache space or a database according to the reading frequency.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the first cache space is used for storing hash values corresponding to the stored regulation and control data and taking the hash values as an index directory;
and the second cache space is used for storing the regulation and control data with the reading frequency within the preset ranking.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the regulation data caching method further comprises the step of inquiring the stored regulation data, and the inquiring method comprises the following steps:
acquiring regulation and control data to be inquired;
calculating the reading frequency of the regulation and control data by using the frequency prediction network, and if the reading frequency is within the preset ranking, inquiring the corresponding regulation and control data in the second cache;
if the reading frequency is not within the preset ranking, extracting semantic features of the regulation and control data by using the feature extraction network, and calculating corresponding hash values according to the semantic features;
and after finding the corresponding hash value in the index directory in the first cache space according to the hash value, acquiring corresponding regulation and control data from the database or in real time according to the hash value, and reading the regulation and control data into a third cache space.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.