High-dimensional feature storage method and device, storage medium, and electronic device

By establishing a mapping relationship between features and storage areas in high-dimensional feature storage and performing partitioned storage, the problem of computer node storage pressure and low retrieval efficiency caused by high-dimensional feature storage is solved, and more efficient feature retrieval and recognition are achieved.

CN114168081BActive Publication Date: 2024-09-13CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111500602.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2024-09-13
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

In the existing technology, high-dimensional and huge number of features lead to excessive storage pressure and low efficiency of feature retrieval when stored on one computer node.

Method used

By obtaining the features to be stored, determining their corresponding feature space and reference features, calculating feature distances, establishing a mapping relationship between features and storage areas, and performing partitioned storage, this avoids storing all features in one node and improves retrieval efficiency.

Benefits of technology

It reduces the storage pressure of computer nodes, reduces the number of comparisons during feature retrieval or recognition, and improves the efficiency of retrieval or recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114168081B
    Figure CN114168081B
Patent Text Reader

Abstract

The present disclosure belongs to the field of computer technology, and relates to a high-dimensional feature storage method and device, storage medium, and electronic device. The method includes: obtaining the feature to be stored, and determining the feature space corresponding to the feature to be stored; determining the feature value of the feature to be stored in each feature dimension, and determining the reference feature in the feature space according to the feature value; calculating the first feature distance between the feature to be stored and the reference feature, and establishing a mapping relationship between the feature to be stored and the storage area according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship. In the present disclosure, the feature to be stored can be partitioned and stored through the first feature distance between the feature to be stored and the reference feature, which not only reduces the node pressure caused by storing all the features to be stored in one node, but also stores the features to be stored in the form of partitioned storage, thereby improving the efficiency of subsequent feature retrieval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a high-dimensional feature storage method and a high-dimensional feature storage device, a computer-readable storage medium, and an electronic device. Background Art

[0002] With the development of computer technology, in actual application scenarios, the dimension of extracted sample features is usually very high, and the number of extracted sample features is huge. In order to perform feature retrieval, these high-dimensional and huge features need to be stored.

[0003] In the prior art, these high-dimensional and huge features are usually stored in the same computer node, which increases the storage pressure of this computing node. In addition, in the subsequent feature retrieval process, it is necessary to compare with all the features stored in this computing node, which leads to long retrieval time and low retrieval efficiency.

[0004] In view of this, there is an urgent need in the art to develop a new high-dimensional feature storage method and device.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a high-dimensional feature storage method, a high-dimensional feature storage device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent overcoming the problem of excessive storage pressure on computer nodes caused by storing all features in one computer node due to related technologies.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of an embodiment of the present invention, a high-dimensional feature storage method is provided, the method comprising: acquiring features to be stored, and determining a feature space corresponding to the features to be stored; determining feature values ​​of the features to be stored in each feature dimension, and determining a reference feature in the feature space according to the feature values; calculating a first feature distance between the features to be stored and the reference feature, and establishing a mapping relationship between the features to be stored and a storage area according to the first feature distance, so as to partition and store the features to be stored based on the mapping relationship.

[0009] In an exemplary embodiment of the present invention, determining the baseline feature in the feature space according to the feature value includes: calculating the feature value corresponding to the same feature dimension to obtain a feature calculation result, and dividing the feature dimension according to a preset number of baseline features to obtain a dimensional division result of the preset number of baseline features; searching in the feature space to obtain a baseline feature; wherein, in the baseline feature, the feature value corresponding to one of the target feature dimensions is consistent with the feature calculation result; and the target feature dimension corresponds to the dimensional division result.

[0010] In an exemplary embodiment of the present invention, establishing a mapping relationship between the feature to be stored and the storage area based on the first feature distance includes: determining the first feature distance corresponding to the same feature dimension, and calculating the feature distance range under the same feature dimension based on the first feature distance; obtaining a preset division interval, and taking the target reference feature as the starting point, dividing the feature distance range according to the preset division interval to obtain a distance division result; wherein the target reference feature corresponds to the same feature dimension; in the distance division result, determining the target distance division result to which the first feature distance belongs, so as to establish a partition mapping relationship between the partition identifier and the first feature distance under the same feature dimension; wherein the partition identifier corresponds to the target distance division result; determining the partition identifier corresponding to all the feature dimensions as the area identifier corresponding to the feature to be stored, and establishing a mapping relationship between the feature to be stored and the storage area based on the area identifier.

[0011] In an exemplary embodiment of the present invention, establishing a mapping relationship between the feature to be stored and the storage area based on the area identifier includes: searching for an adjacent area identifier that has an identification adjacent relationship with the area identifier; wherein the partition identifier on at least one of the feature dimensions of the adjacent area identifier and the partition identifier on the same feature dimension in the area identifier have an adjacent relationship; determining the feature to be stored corresponding to the area identifier and the feature to be stored corresponding to the adjacent area identifier as target features to be stored, so as to establish a mapping relationship between the target features to be stored and the storage area.

[0012] In an exemplary embodiment of the present invention, partitioning and storing the features to be stored based on the mapping relationship includes: storing the target features to be stored that have the mapping relationship with the same storage area in the same computer node.

[0013] In an exemplary embodiment of the present invention, the method also includes: acquiring an object to be identified and extracting features to be identified corresponding to the object to be identified; calculating a second feature distance between the feature to be identified and the reference feature, and determining a target storage area having an identification mapping relationship with the feature to be identified in all the storage areas based on the second feature distance; determining the features to be stored in the target storage area, and determining a target storage feature similar to the object to be identified among the features to be stored, so as to determine the storage object corresponding to the target storage feature as the identification result.

[0014] In an exemplary embodiment of the present invention, determining a target storage area having an identification mapping relationship with the feature to be identified in all the storage areas includes: determining, in the storage areas, a first storage area to which the second feature distance belongs, and determining an area identifier corresponding to the first storage area; searching for the adjacent area identifier having the identification adjacent relationship with the area identifier, and determining a second storage area corresponding to the adjacent area identifier, so as to determine the first storage area and the second storage area as target storage areas.

[0015] According to a second aspect of an embodiment of the present invention, a high-dimensional feature storage device is provided, the device comprising: a first determination module, configured to obtain features to be stored, and determine a feature space corresponding to the features to be stored; a second determination module, configured to determine feature values ​​of the features to be stored in each feature dimension, and determine a reference feature in the feature space according to the feature values; a storage module, configured to calculate a first feature distance between the features to be stored and the reference feature, and establish a mapping relationship between the features to be stored and a storage area according to the first feature distance, so as to partition and store the features to be stored based on the mapping relationship.

[0016] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the high-dimensional feature storage method of any of the above exemplary embodiments is implemented.

[0017] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the high-dimensional feature storage method in any of the above exemplary embodiments is implemented.

[0018] It can be seen from the above technical solutions that the high-dimensional feature storage method, high-dimensional feature storage device, computer storage medium and electronic device in the exemplary embodiments of the present invention have at least the following advantages and positive effects:

[0019] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the first feature distance is calculated between the feature to be stored and the reference feature to obtain a first feature distance, and based on this, the feature to be stored is partitioned and stored, thereby avoiding the problem of excessive storage pressure on the computer node caused by storing all the features to be stored on the same computer node; on the other hand, since the features to be stored are partitioned and stored, in the subsequent process of retrieving or identifying the features, it is not necessary to compare all the features to be stored, but only the features to be stored in the corresponding storage area need to be compared, which reduces the time to obtain the retrieval result or the identification result and improves the efficiency of the retrieval or identification.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0022] Figure 1 The flowchart of the high-dimensional feature storage method in the embodiment of the present disclosure is schematically shown;

[0023] Figure 2 A schematic diagram of a process for determining a reference feature in a high-dimensional feature storage method in an embodiment of the present disclosure is schematically shown;

[0024] Figure 3 A schematic diagram schematically shows a flow chart of establishing a mapping relationship between features to be stored and storage areas in a high-dimensional feature storage method in an embodiment of the present disclosure;

[0025] Figure 4 A schematic diagram schematically illustrates the distance division result in the high-dimensional feature storage method in an embodiment of the present disclosure;

[0026] Figure 5 A schematic diagram of distance division results when the number of reference features is 3 in the high-dimensional feature storage method in the embodiment of the present disclosure is schematically shown;

[0027] Figure 6 A schematic diagram schematically shows a flow chart of establishing a mapping relationship between features to be stored and storage areas in a high-dimensional feature storage method in an embodiment of the present disclosure;

[0028] Figure 7 A schematic diagram of a process for determining a recognition result in a high-dimensional feature storage method in an embodiment of the present disclosure is schematically shown;

[0029] Figure 8 A schematic diagram of a process for determining a target storage area in a high-dimensional feature storage method in an embodiment of the present disclosure is shown;

[0030] Fig. 9 A schematic diagram schematically shows an area where a feature most similar to a feature to be identified in one feature dimension may be stored in a high-dimensional feature storage method in an embodiment of the present disclosure;

[0031] Fig.10 A schematic diagram of the structure of a high-dimensional feature storage device in an embodiment of the present disclosure is shown;

[0032] Fig.11 An electronic device for a high-dimensional feature storage method in an embodiment of the present disclosure is schematically shown;

[0033] Fig.12 A computer-readable storage medium for a high-dimensional feature storage method in an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0035] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0036] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0037] In view of the problems existing in the related art, the present disclosure proposes a high-dimensional feature storage method. Figure 1 A flow chart of a high-dimensional feature storage method is shown, such as Figure 1 As shown, the high-dimensional feature storage method includes at least the following steps:

[0038] Step S110: Acquire features to be stored, and determine a feature space corresponding to the features to be stored.

[0039] Step S120: Determine the feature value of the feature to be stored in each feature dimension, and determine the reference feature in the feature space according to the feature value.

[0040] Step S130: Calculate the first feature distance between the feature to be stored and the reference feature, and establish a mapping relationship between the feature to be stored and the storage area according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship.

[0041] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the first feature distance is calculated between the feature to be stored and the reference feature, and based on this, the feature to be stored is partitioned and stored, thereby avoiding the problem of excessive storage pressure on the computer node caused by storing all the features to be stored on the same computer node; on the other hand, since the features to be stored are partitioned and stored, in the subsequent retrieval or recognition process of the features, it is not necessary to compare all the features to be stored, but only the features to be stored in the corresponding storage area need to be compared, which reduces the time to obtain the retrieval result or the recognition result and improves the efficiency of the retrieval or recognition.

[0042] The following is a detailed description of each step of the high-dimensional feature storage method.

[0043] In step S110, the features to be stored are acquired, and the feature space corresponding to the features to be stored is determined.

[0044] In the exemplary embodiment of the present disclosure, the feature to be stored refers to a high-dimensional feature, and the feature to be stored is a feature that needs to be partitioned and stored later. Specifically, the feature to be stored can be an image feature, a voiceprint feature, or a feature in a signal, and this exemplary embodiment does not specifically limit this. The feature space is an abstract space corresponding to the feature to be stored, and there are many features to be stored with different feature values ​​in the feature space.

[0045] For example, 10 features to be stored are obtained to determine a feature space A corresponding to the 10 features to be stored.

[0046] In this exemplary embodiment, a feature space corresponding to the feature to be stored is determined, which facilitates the subsequent determination of a reference feature in the feature space.

[0047] In step S120, the feature values ​​of the features to be stored in each feature dimension are determined, and the reference features are determined in the feature space according to the feature values.

[0048] In an exemplary embodiment of the present disclosure, the feature to be stored may be a feature with 3 feature dimensions, or a feature with 4 feature dimensions, or a feature with 5 positive dimensions, or even a feature with higher feature dimensions, and a feature to be stored is composed of feature values ​​on each feature dimension.

[0049] The benchmark eigenvalue refers to the feature used to divide the feature space. The feature space can be divided into multiple partitions by the benchmark feature. There are usually at least two benchmark features, and the distances between them are close. In addition, it is also necessary to ensure that the number of features to be stored in multiple partitions is as equal as possible.

[0050] For example, the feature to be stored is a feature with 6 feature dimensions, and the feature values ​​of the feature to be stored in the first feature dimension, the second feature dimension, the third feature dimension, the fourth feature dimension, the fifth feature dimension and the sixth feature dimension are determined respectively, and three benchmark features are determined in the feature space according to the feature values.

[0051] In an alternative embodiment, Figure 2 A schematic diagram of the process of determining the benchmark features in the high-dimensional feature storage method is shown, such as Figure 2 As shown, the method includes at least the following steps: in step S210, the feature values ​​corresponding to the same feature dimension are calculated to obtain feature calculation results, and the feature dimensions are divided according to a preset number of benchmark features to obtain a dimensional division result of a preset number of benchmark features.

[0052] Among them, the feature calculation result refers to the result of calculating the feature values ​​of all features to be stored in the same feature dimension. Specifically, the feature calculation result can be the result of calculating the average value of the feature values ​​of all features to be stored in the same feature dimension, or it can be the result of calculating the median of the feature values ​​of all features to be stored in the same feature dimension. This exemplary embodiment does not make any special limitation on this.

[0053] The preset number of baseline features is the preset number of baseline features that need to be determined. Usually, the preset number of baseline features can be 3 or 2, and can also be adjusted as the number of feature dimensions of the features to be stored changes. This exemplary embodiment does not make any special limitation on this.

[0054] The dimension division result refers to the result obtained after dividing the feature dimension according to the preset number of benchmark features. For example, the feature dimension of the feature to be stored is 6, and the preset number of benchmark features is 3. Then there are 3 division results after dividing the feature dimension, and the first division result is the first feature dimension of the feature to be stored and the second feature dimension of the feature to be stored, the second division result is the third feature dimension of the feature to be stored and the fourth feature dimension of the feature to be stored, and similarly, the third division result is the fifth feature dimension of the feature to be stored and the sixth feature dimension of the feature to be stored.

[0055] For example, formula (1) is a formula for calculating characteristic calculation results.

[0056]

[0057] Among them, M represents the number of features to be stored, N represents the feature dimension of the features to be stored, and f i,j It represents the j-th dimension feature value of the i-th feature to be stored. Based on this, the feature calculation results of the feature to be stored in the same feature dimension can be calculated respectively.

[0058] Furthermore, assuming that the feature dimension of the feature to be stored is 6 and the preset number of baseline features is 3, there are 3 dimensional division results, and the first division result is the first feature dimension of the feature to be stored and the second feature dimension of the feature to be stored, the second division result is the third feature dimension of the feature to be stored and the fourth feature dimension of the feature to be stored, and similarly, the third division result is the fifth feature dimension of the feature to be stored and the sixth feature dimension of the feature to be stored.

[0059] In step S220, a search is performed in the feature space to obtain a reference feature; wherein, in the reference feature, a feature value corresponding to a target feature dimension is consistent with a feature calculation result; and the target feature dimension corresponds to the dimension division result.

[0060] Among them, the benchmark feature is a feature in the feature space, and in the benchmark feature, there is a feature value that is consistent with the feature statistical result, and the feature value corresponds to the target feature dimension, and the target feature dimension is the feature dimension in the dimension division result.

[0061] For example, assuming that the feature dimension of the feature to be stored is 6 and the preset number of baseline features is 3, there are 3 dimensional division results, and the first division result is the first feature dimension of the feature to be stored and the second feature dimension of the feature to be stored, the second division result is the third feature dimension of the feature to be stored and the fourth feature dimension of the feature to be stored, and similarly, the third division result is the fifth feature dimension of the feature to be stored and the sixth feature dimension of the feature to be stored.

[0062] Furthermore, the feature calculation results under different feature dimensions can be calculated using formula (1). Specifically, the feature calculation result under the first feature dimension is A, the feature calculation result under the second feature dimension is B, the feature calculation result under the third feature dimension is C, the feature calculation result under the fourth feature dimension is D, the feature calculation result under the fifth feature dimension is E, and the feature calculation result under the sixth feature dimension is F.

[0063] Based on this, in the first baseline feature, the eigenvalue in the first feature dimension is consistent with the feature calculation result A, the eigenvalue in the second feature dimension is consistent with the feature calculation result B, and the eigenvalues ​​in the remaining feature dimensions can be 0. In the second baseline feature, the eigenvalue in the third feature dimension is consistent with the feature calculation result C, the eigenvalue in the fourth feature dimension is consistent with the feature calculation result D, and the eigenvalues ​​in the remaining feature dimensions can be 0. In the third baseline feature, the eigenvalue in the fifth feature dimension is consistent with the feature calculation result E, the eigenvalue in the sixth feature dimension is consistent with the feature calculation result F, and the eigenvalues ​​in the remaining feature dimensions can be 0.

[0064] In this exemplary embodiment, a reference feature is determined in the feature space based on the feature value of the feature to be stored, which helps to subsequently determine the storage area that has a mapping relationship with the feature to be stored, realizes partitioned storage of the features to be stored, and avoids storing all the features to be stored in the same computer node. In addition, it also provides a basis for subsequent efficient feature retrieval.

[0065] In step S130, the feature to be stored and the reference feature are calculated to obtain a first feature distance, and a mapping relationship between the feature to be stored and the storage area is established according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship.

[0066] In the exemplary embodiment of the present disclosure, the first feature distance reflects the similarity value between the feature to be stored and the reference feature. Specifically, the first feature distance can be calculated using the Euclidean distance formula, or can be obtained using the Manhattan distance formula, or can be obtained using the cosine distance formula, or can be obtained using the Hamming distance. This exemplary embodiment does not make any special limitation on this.

[0067] After the first characteristic distance is obtained, a mapping relationship between the feature to be stored and the storage area can be established according to the first characteristic distance, so as to store the feature to be stored in the storage area having the mapping relationship.

[0068] For example, formula (2) shows a formula for calculating the first characteristic distance.

[0069]

[0070] Among them, X is the feature to be stored, Y is the reference feature, n represents the feature dimension of the feature to be stored and the reference feature, x i Represents the eigenvalue of the feature to be stored in the i-th feature dimension, y i Represents the eigenvalue of the benchmark feature in the i-th feature dimension.

[0071] After the first characteristic distance is obtained based on formula (2), a mapping relationship between different to-be-stored characteristics and different storage areas can be established according to the size of the first characteristic distance. Assuming that a mapping relationship between the to-be-stored characteristic A and the storage area A1 is established, and a relationship between the to-be-stored characteristic B and the storage area C1 is established, the to-be-stored characteristic A is stored in the storage area A1, and the to-be-stored characteristic B is stored in the storage area C1.

[0072] In an alternative embodiment, Figure 3 The flowchart of establishing the mapping relationship between the features to be stored and the storage area in the high-dimensional feature storage method is shown as follows: Figure 3 As shown, the method includes at least the following steps: in step S310, a first characteristic distance corresponding to the same characteristic dimension is determined, and a characteristic distance range under the same characteristic dimension is calculated based on the first characteristic distance.

[0073] Among them, after calculating the first feature distance, it is necessary to determine the first feature distance of all features to be stored in the same feature dimension, and determine the feature distance range in the same feature dimension based on the first feature dimension distance obtained in the same feature dimension, that is, determine the maximum value of the first feature distance in the same feature dimension and the minimum value of the first feature distance in the same feature dimension.

[0074] For example, the first feature distance includes feature distances calculated of different features to be stored in different feature dimensions. Based on this, assuming that the features to be stored have three feature dimensions, it is necessary to determine the first feature distances of different features to be stored in the first feature dimension, the first feature distances of different features to be stored in the second feature dimension, and the first feature distances of different features to be stored in the third feature dimension.

[0075] Based on this, the first characteristic distance range under three characteristic dimensions can be obtained.

[0076] In step S320, a preset division interval is obtained, and the target reference feature is used as a starting point, and the feature distance range is divided according to the preset division interval to obtain a distance division result; wherein the target reference feature corresponds to the same feature dimension.

[0077] The preset division interval refers to an interval value, which is used to divide the feature distance range to obtain a distance division result. It is worth noting that the starting point for dividing the feature distance range corresponds to the same feature dimension.

[0078] For example, Figure 4 A schematic diagram of the distance division result is schematically shown, wherein the same feature dimension is the first feature dimension of the feature to be stored, such as Figure 4 As shown, feature 410 is the reference feature A corresponding to the first feature dimension, the preset division interval is d1, and coordinate 420 represents the feature distance range. Taking reference feature A as the starting point, the feature distance range is divided to obtain the distance division result 430.

[0079] In step S330, in the distance division results, the target distance division result to which the first characteristic distance belongs is determined to establish a partition mapping relationship between the partition identifier and the first characteristic distance under the same characteristic dimension; wherein the partition identifier corresponds to the target distance division result.

[0080] Among them, the partition identifier refers to an identifier corresponding to the target distance division result. The target distance division result is the result to which the first characteristic distance belongs in the distance division result. Furthermore, a partition mapping relationship between the partition identifier and the first characteristic distance can be established. The so-called partition mapping relationship is the mapping relationship between the first characteristic distance and the distance division result to which it belongs.

[0081] For example, Table 1 schematically shows the partition mapping relationship between the partition identifier and the first feature distance, as shown in Table 1, wherein the first column of Table 1 represents the area identifier, and the second column of Table 1 represents the range to which the first feature distance belongs. Taking the second row as an example, the second row means that when the first feature distance is in the range greater than or equal to 0 and less than d1, a partition mapping relationship is established between the first feature distance and the partition identifier d0. Similarly, the meanings of other rows in Table 1 are similar to those of the second row.

[0082] Area identification The first characteristic distance belongs to the range d0 0≤First characteristic distance<d1 d1 d1≤first characteristic distance<d2 d2 d2≤first characteristic distance<d3 d3 d3≤first characteristic distance<d4 d4 d4≤first characteristic distance<d5 … …

[0083] In step S340, the partition identifiers corresponding to all feature dimensions are determined as region identifiers corresponding to the features to be stored, and a mapping relationship between the features to be stored and the storage region is established according to the region identifiers.

[0084] The region identifier includes partition identifiers under different feature dimensions, and after determining the partition identifier of the feature to be stored, a mapping relationship between the feature to be stored and the storage region can be established, wherein the storage region corresponds to the partition identifier.

[0085] For example, Figure 5 The schematic diagram of the distance division result when there are three reference features is shown as follows: Figure 5 As shown, feature 510 is a reference feature corresponding to the first feature dimension, feature 520 is a reference feature corresponding to the second feature dimension, feature 530 is a reference feature corresponding to the third feature dimension, straight line 540 represents the feature distance range corresponding to the feature dimension, and the information on the straight line 540 represents the partition identifier. Specifically, the first partition identifier corresponding to the reference feature 510 may be a1, the second partition identifier corresponding to the reference feature 510 may be a2, and the other partition identifiers may be deduced by analogy. The first partition identifier corresponding to the reference identifier 520 may be b1, the second partition identifier corresponding to the reference identifier 520 may be b2, and the other partition identifiers may be deduced by analogy. The first partition identifier corresponding to the reference identifier 530 may be c1, the second partition identifier corresponding to the reference identifier 530 may be c2, and the other partition identifiers may be deduced by analogy.

[0086] Based on this, the region identifier corresponding to the feature 550 to be stored is (a5, b7, c4), and then a mapping relationship between the feature 550 to be stored and the region identifier (a5, b7, c4) is established.

[0087] In this exemplary embodiment, a mapping relationship between the features to be stored and the storage area is established based on the area identifier, which helps to subsequently partition the features to be stored, avoids storing all the features to be stored in the same computer node, reduces the storage pressure of the computer node, and also helps to improve the efficiency of subsequent feature retrieval.

[0088] In this exemplary embodiment, Figure 6 A schematic diagram of the process of establishing a mapping relationship between features to be stored and storage areas in high-dimensional feature storage is shown, such as Figure 6 As shown, the method includes at least the following steps: in step S610, searching for an adjacent region identifier having an identifier adjacent relationship with the region identifier; wherein a partition identifier on at least one feature dimension of the adjacent region identifier has an adjacent relationship with a partition identifier on the same feature dimension in the region identifier.

[0089] Among them, the adjacent region identifier refers to one of the region identifiers, but it has an adjacent relationship with the current region identifier. Specifically, the adjacent relationship means that the partition identifier on at least one feature dimension in the adjacent region identifier needs to have an adjacent relationship with the partition identifier on the same dimension in the region identifier.

[0090] For example, Figure 5 As shown, assuming that the region is identified as (a5, b4, c6), where a5 is the partition identifier on the first feature dimension, b4 is the partition identifier on the second feature dimension, and c6 is the partition identifier on the third feature dimension. Obviously, on the first feature dimension, the partition identifiers that are adjacent to a5 are a4 and a6. Similarly, on the second feature dimension, the partition identifiers that are adjacent to b4 are b3 and b5. On the third feature dimension, the partition identifiers that are adjacent to c6 are c5 and c7.

[0091] Based on this, there are 3 Madjacent region identifiers, M is the number of feature dimensions. Specifically, the adjacent region identifiers include (a4, b4, c6), (a6, b4, c6), (a5, b3, c6), (a5, b5, c6), (a5, b4, c5), (a5, b4, c7) where the partition identifiers on only one feature dimension have an adjacent relationship with the partition identifiers on the same feature dimension in the region identifier. It also includes adjacent region identifiers where the partition identifiers on two feature dimensions have an adjacent relationship with the partition identifiers on the same feature dimension in the region identifier, for example (a4, b3, c6), (a4, b5, c6), (a3, b3, c6), (a3, b5, c6), (a5, b4, c6). Similarly, it also includes adjacent region identifiers where the partition identifiers on three feature dimensions have an adjacent relationship with the partition identifiers on the same feature dimension in the region identifier, for example (a4, b3, c5).

[0092] In step S620, the to-be-stored features corresponding to the region identifier and the to-be-stored features corresponding to the adjacent region identifier are determined as target to-be-stored features, so as to establish a mapping relationship between the target to-be-stored features and the storage regions.

[0093] Wherein, a mapping relationship between the target to-be-stored features and the storage area is established, and the target to-be-stored features include the to-be-stored features corresponding to the area identifier and the to-be-stored features corresponding to the adjacent area identifier.

[0094] For example, the features to be stored corresponding to the area identifier include feature A to be stored and feature B to be stored, and the features to be stored corresponding to the adjacent area identifier include feature C to be stored. Based on this, the target features to be stored include feature A to be stored, feature B to be stored, and feature C to be stored, thereby establishing a mapping relationship between the target features to be stored and the storage area.

[0095] In this exemplary embodiment, the target features to be stored include features to be stored corresponding to the area identifier and features to be stored corresponding to the adjacent area identifier. On this basis, a mapping relationship between the target features to be stored and the storage area is established, which avoids the situation where only the features to be stored corresponding to the area identifier are retrieved while the features to be stored corresponding to the adjacent area identifier are ignored, thereby improving the accuracy of subsequent feature retrieval.

[0096] In an optional embodiment, partitioning and storing the features to be stored based on the mapping relationship includes: storing the target features to be stored that have a mapping relationship with the same storage area in the same computer node.

[0097] The computer node is a node storing the area to be stored, and different target features to be stored that have a mapping relationship with different storage areas can be stored in different computer nodes.

[0098] For example, the target features to be stored that have a mapping relationship with storage area A include features to be stored C1 and features to be stored C2, and the target features to be stored that have a mapping relationship with storage area B include features to be stored C3 and features to be stored C4, and then features to be stored C1 and features to be stored C2 are stored in computer node D1, and features to be stored C3 and features to be stored C4 are stored in computer node D2.

[0099] In this exemplary embodiment, different target features to be stored that have mapping relationships with different storage areas are stored in different computer nodes, thereby avoiding excessive storage pressure on the computer node caused by storing all features to be stored in one computer node.

[0100] In an alternative embodiment, Figure 7 A schematic diagram of the process of determining the recognition result in the high-dimensional feature storage method is shown, such as Figure 7 As shown, the method at least includes the following steps: In step S710, an object to be identified is obtained, and features to be identified corresponding to the object to be identified are extracted.

[0101] Among them, the object to be identified refers to the object that needs to be compared with the features to be stored in different storage areas. Specifically, the object to be identified can be a picture, a sound, or a signal. This exemplary embodiment does not specifically limit this. Based on this, the features to be identified refer to the extracted features corresponding to the object to be identified.

[0102] For example, if the object to be identified is a picture A, then the extracted features to be identified are picture features corresponding to picture A.

[0103] In step S720, a second characteristic distance between the feature to be identified and the reference feature is calculated, and based on the second characteristic distance, a target storage area having an identification mapping relationship with the feature to be identified is determined in all storage areas.

[0104] Among them, the second feature distance refers to the similarity between the feature to be identified and the reference feature. Specifically, it can be calculated using the Euclidean distance formula, or it can be obtained using the Manhattan distance formula, or it can be obtained using the cosine distance formula, or it can be obtained using the Hamming distance. This exemplary embodiment does not make any special limitations on this.

[0105] The target storage area refers to a storage area having an identification mapping relationship with the feature to be identified. The identification mapping relationship means that the feature to be stored in the target storage area is a feature used for comparison with the feature to be identified, and an identification result can be obtained based on the comparison result.

[0106] For example, the second characteristic distance is calculated using formula (2). In this case, X in formula (2) is the feature to be identified, and the calculated second characteristic distance includes the second characteristic distance corresponding to the first characteristic dimension, the second characteristic distance corresponding to the second characteristic dimension, and the third characteristic distance corresponding to the third characteristic dimension. Based on this, the second characteristic distance can be (A, B, C), such as Figure 5 As shown, assuming that A belongs to a1, B belongs to b3, and C belongs to c7, the target storage area that can be determined to have an identification mapping relationship with the feature to be identified according to the partition identifier (a1, b3, c7) is storage area D.

[0107] In step S730, the features to be stored in the target storage area are determined, and a target storage feature similar to the object to be identified is determined among the features to be stored, so as to determine the storage object corresponding to the target storage feature as the identification result.

[0108] Among them, the features to be stored stored in the target storage area are features that need to be calculated for similarity with the features to be identified, and the target storage features are the features to be stored in the target storage area that are most similar to the features to be identified. Specifically, the similarity calculation process can be calculated using the Euclidean distance formula, the Manhattan distance formula, the cosine distance formula, or the Hamming distance, and this exemplary embodiment does not make any special limitations on this.

[0109] For example, the feature to be identified is a feature extracted from a picture, and the features to be stored belonging to the target storage area are determined to be feature A to be stored and feature B to be stored. Formula (2) is used to calculate the feature to be stored A and the feature to be identified to obtain a calculation result C. Formula (2) is used to calculate the feature to be stored B and the feature to be identified to obtain a calculation result D. If the calculation result C is less than the calculation result D, the similarity between the feature to be stored A and the feature to be identified is higher. Based on this, it is determined that the storage object corresponding to the feature to be stored A is the recognition result, that is, it is determined that the picture corresponding to the feature to be stored A is the recognition result.

[0110] In this exemplary embodiment, after the features to be stored are partitioned and stored, feature retrieval can also be performed, and the objects of retrieval are the features to be stored stored in the target storage area, thereby avoiding the phenomenon that the objects of retrieval are all the features to be stored, thereby improving the efficiency of feature retrieval.

[0111] In an alternative embodiment, Figure 8 FIG. 4 shows a schematic diagram of a process for determining a target storage area in a high-dimensional feature storage method. Figure 8As shown, the method at least includes the following steps: in step S810, in the storage area, determine the first storage area to which the second characteristic distance belongs, and determine the area identifier corresponding to the first storage area.

[0112] The first storage area is the area to which the second characteristic distance belongs.

[0113] For example, Figure 5 As shown, if the second feature distance belongs to area A in the first feature dimension, and the area identifier corresponding to area A is a4, belongs to area B in the second feature dimension, and the area identifier corresponding to area B is b3, and belongs to area C in the third feature dimension, and the area identifier corresponding to area C is c2, then the area identifier corresponding to the first storage area is (a4, b3, c2).

[0114] In step S820, an adjacent region identifier having an identifier adjacent relationship with the region identifier is searched, and a second storage region corresponding to the adjacent region identifier is determined, so as to determine the first storage region and the second storage region as target storage regions.

[0115] The reason why the adjacent region identifier having an identifier adjacent relationship with the region identifier is to be searched is that the feature to be stored in the region identifier may not be the feature with the highest similarity to the feature to be identified.

[0116] Fig. 9 A schematic diagram schematically shows an area where the features most similar to the feature to be identified under a feature dimension may be stored, such as Fig. 9 As shown, the areas between different circles store the areas of features to be stored. Assuming that feature 910 is the feature to be identified, it is obvious that the feature to be identified is in area 920 at this time, that is, the first storage area to which the second feature distance belongs is determined to be area 920.

[0117] If the feature to be stored is searched only in the first storage area 920, feature 930 can be obtained. However, it is obvious that feature 950 to be stored in area 940 is closer to feature 910 to be identified, that is, the similarity is greater. Therefore, when determining the target storage area, it is not possible to only determine the first storage area 920, but also necessary to determine the second storage area adjacent to the first storage area to ensure the accuracy of the identification result.

[0118] Specifically, to determine the second area, first determine an adjacent area identifier having an identifier adjacent relationship with the area identifier, and then determine the second storage area corresponding to the adjacent area identifier. Based on this, the first storage area and the second storage area are used as target storage areas.

[0119] For example, the area identifier is (a4, b3, c2), based on which, 27 adjacent area identifiers can be determined, such as (a3, b3, c2), (a3, b2, c2) and (a5, b4, c1), and then 27 second storage areas corresponding to the 27 adjacent area identifiers can be determined. Then, the target storage area includes 28, specifically a first storage area corresponding to the area identifier (a4, b3, c2) and second storage areas corresponding to the 27 adjacent area identifiers.

[0120] In this exemplary embodiment, the target storage area includes the first storage area and the second storage area, which avoids the situation where the target area only includes the first storage area, and improves the accuracy of the determined recognition result.

[0121] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the first feature distance is calculated between the feature to be stored and the reference feature, and based on this, the feature to be stored is partitioned and stored, thereby avoiding the problem of excessive storage pressure on the computer node caused by storing all the features to be stored on the same computer node; on the other hand, since the features to be stored are partitioned and stored, in the subsequent retrieval or recognition process of the features, it is not necessary to compare all the features to be stored, but only the features to be stored in the corresponding storage area need to be compared, which reduces the time to obtain the retrieval result or the recognition result and improves the efficiency of the retrieval or recognition.

[0122] The high-dimensional feature storage method in the embodiment of the present disclosure is described in detail below in conjunction with an application scenario.

[0123] Five features to be stored are obtained, and a feature space A corresponding to the five features to be stored is determined. The feature values ​​of the five features to be stored in each feature dimension are determined, and three reference features are determined in the feature space according to the feature values ​​in each feature dimension. The five features to be stored are respectively calculated with the three reference features to obtain a first feature distance.

[0124] A mapping relationship between the five features to be stored and the storage area is established according to the first feature distance, so as to store the features to be stored based on the mapping relationship.

[0125] In this application scenario, on the one hand, the first feature distance is calculated between the feature to be stored and the reference feature to obtain a first feature distance, and based on this, the feature to be stored is partitioned and stored, thereby avoiding the problem of excessive storage pressure on the computer node caused by storing all the features to be stored on the same computer node; on the other hand, since the features to be stored are partitioned and stored, in the subsequent retrieval or recognition process of the features, it is not necessary to compare all the features to be stored, but only the features to be stored in the corresponding storage area need to be compared, which reduces the time to obtain the retrieval result or the recognition result and improves the efficiency of the retrieval or recognition.

[0126] In addition, in an exemplary embodiment of the present disclosure, a high-dimensional feature storage device is also provided. Fig.10 A schematic diagram of the structure of a high-dimensional feature storage device is shown, Fig.10 As shown, the high-dimensional feature storage device 1000 may include: a first determination module 1010, a second determination module 1020 and a storage module 1030. Among them:

[0127] The first determination module 1010 is configured to obtain the feature to be stored and determine the feature space corresponding to the feature to be stored; the second determination module 1020 is configured to determine the feature value of the feature to be stored in each feature dimension, and determine the benchmark feature in the feature space according to the feature value; the storage module 1030 is configured to calculate the first feature distance between the feature to be stored and the benchmark feature, and establish a mapping relationship between the feature to be stored and the storage area according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship.

[0128] The specific details of the high-dimensional feature storage device 1000 have been described in detail in the corresponding high-dimensional feature storage method, so they will not be repeated here.

[0129] It should be noted that, although several modules or units of the high-dimensional feature storage device 1000 are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0130] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0131] Refer to the following Fig.11 1100 according to this embodiment of the present invention will be described. Fig.11 The electronic device 1100 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0132] like Fig.11 As shown, the electronic device 1100 is in the form of a general computing device. The components of the electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one storage unit 1120, a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110), and a display unit 1140.

[0133] The storage unit stores program codes, which can be executed by the processing unit 1110, so that the processing unit 1110 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0134] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1121 and / or a cache memory unit 1122 , and may further include a read-only memory unit (ROM) 1123 .

[0135] The storage unit 1120 may also include a program / utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the reality of a network environment.

[0136] Bus 1130 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0137] The electronic device 1100 may also communicate with one or more external devices 1170 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1100, and / or communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1150. Furthermore, the electronic device 1100 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1160. As shown, the network adapter 1160 communicates with other modules of the electronic device 1100 via a bus 1130. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0138] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0139] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0140] refer to Fig.12 As shown, a program product 1200 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0141] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0142] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0143] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0144] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0145] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A high-dimensional feature storage method, characterized in that: The method comprises: Acquire features to be stored, and determine a feature space corresponding to the features to be stored; Determine the feature value of the feature to be stored in each feature dimension, calculate the feature value corresponding to the same feature dimension to obtain a feature calculation result, and divide the feature dimension according to a preset number of reference features to obtain a dimension division result of the preset number of reference features; Searching in the feature space to obtain a reference feature; wherein, in the reference feature, the feature value corresponding to a target feature dimension is consistent with the feature calculation result; and the target feature dimension corresponds to the dimension division result; A first feature distance is obtained by calculating the feature to be stored and the reference feature, and a mapping relationship between the feature to be stored and a storage area is established according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship.

2. The high-dimensional feature storage method according to claim 1, characterized in that: The establishing a mapping relationship between the feature to be stored and the storage area according to the first feature distance includes: Determine the first characteristic distance corresponding to the same characteristic dimension, and calculate the characteristic distance range under the same characteristic dimension according to the first characteristic distance; Obtaining a preset division interval, and taking the target reference feature as a starting point, dividing the feature distance range according to the preset division interval to obtain a distance division result; wherein the target reference feature corresponds to the same feature dimension; In the distance division result, determine the target distance division result to which the first characteristic distance belongs, so as to establish a partition mapping relationship between a partition identifier and the first characteristic distance under the same characteristic dimension; wherein the partition identifier corresponds to the target distance division result; The partition identifiers corresponding to all the feature dimensions are determined as region identifiers corresponding to the features to be stored, and a mapping relationship between the features to be stored and the storage region is established according to the region identifiers.

3. The high-dimensional feature storage method according to claim 2, characterized in that: The step of establishing a mapping relationship between the feature to be stored and the storage area according to the area identifier includes: Searching for an adjacent region identifier having an identifier adjacent relationship with the region identifier; wherein the partition identifier on at least one of the feature dimensions of the adjacent region identifier has an adjacent relationship with the partition identifier on the same feature dimension in the region identifier; The to-be-stored feature corresponding to the area identifier and the to-be-stored feature corresponding to the adjacent area identifier are determined as target to-be-stored features, so as to establish a mapping relationship between the target to-be-stored feature and the storage area.

4. The high-dimensional feature storage method according to claim 3, characterized in that: The partitioning and storing the features to be stored based on the mapping relationship includes: The target to-be-stored features having the mapping relationship with the same storage area are stored in the same computer node.

5. The high-dimensional feature storage method according to claim 3, characterized in that: The method further comprises: Acquire an object to be identified, and extract features to be identified corresponding to the object to be identified; Calculating a second characteristic distance between the feature to be identified and the reference feature, and determining, in all the storage areas, a target storage area having an identification mapping relationship with the feature to be identified; The to-be-stored features belonging to the target storage area are determined, and a target storage feature similar to the to-be-recognized object is determined among the to-be-stored features, so as to determine the storage object corresponding to the target storage feature as a recognition result.

6. The high-dimensional feature storage method according to claim 5, characterized in that: The step of determining, in all the storage areas, a target storage area having an identification mapping relationship with the feature to be identified comprises: In the storage area, determining a first storage area to which the second characteristic distance belongs, and determining an area identifier corresponding to the first storage area; The adjacent region identifier having the identifier adjacent relationship with the region identifier is searched, and a second storage region corresponding to the adjacent region identifier is determined, so as to determine the first storage region and the second storage region as target storage regions.

7. A high-dimensional feature storage device, characterized in that: include: A first determining module is configured to obtain features to be stored and determine a feature space corresponding to the features to be stored; The second determination module is configured to determine the feature value of the feature to be stored in each feature dimension, and calculate the feature value corresponding to the same feature dimension to obtain a feature calculation result, and divide the feature dimension according to a preset number of reference features to obtain the preset number of reference features. The feature space is searched to obtain a reference feature; wherein, in the reference feature, the feature value corresponding to a target feature dimension is consistent with the feature calculation result; and the target feature dimension corresponds to the dimension division result; The storage module is configured to calculate the first feature distance between the feature to be stored and the reference feature, and establish a mapping relationship between the feature to be stored and the storage area according to the first feature distance, so as to partition and store the feature to be stored based on the mapping relationship.

8. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the high-dimensional feature storage method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the high-dimensional feature storage method according to any one of claims 1 to 6 is implemented.