A grid generation method and device based on gradient fuzzy set distance measurement
Through the method based on gradient fuzzy set distance measurement, the problems of heavy workload, complex steps and strong subjectivity in the grid generation process are solved, achieving more efficient and objective grid information generation, and reducing the burden on staff. Dependence on experience.
Patent Information
- Application Number
- CN202111052363.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-09-08
AI Technical Summary
Due to the large workload and complex steps, the existing grid generation method is highly subjective and inefficient in the generation process. Moreover, the drawing layouts of different workers vary greatly, making modification or update cumbersome.
The method based on gradient fuzzy set distance measurement is used to obtain the characteristic data of the target area for gradient fuzzification processing, calculate the distance between features, and generate grid information to reduce human intervention and improve efficiency.
It reduces the complexity of grid generation, reduces the workload, and reduces the dependence on the experience of the staff. The generated grid information is more objective and efficient, and avoids the problem of features being missed or repeated drawing.
Smart Images

Figure CN113763564B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of grid generation, and in particular to a grid generation method and device based on gradient fuzzy set distance measurement. Background Art
[0002] The definition of a grid is to divide a certain area into several grid-like units according to certain rules, so as to facilitate more refined management of the area. Grid generation can be understood as decomposing a complex area into several meta-grids according to needs and connecting these meta-grids according to needs. These simple meta-grids are closely connected to each other in an orderly manner to form a grid with a reasonable structure.
[0003] At present, grid generation is mostly done by staff using their own work experience and proficiency to roughly draw grids on relevant plane maps using a mechanized working method. This generation method is prone to subjectivity and low efficiency due to the large workload and complex steps. Summary of the invention
[0004] The present invention provides a grid generation method and device based on gradient fuzzy set distance measurement, which are used to solve the problems of large workload and complex steps in the existing grid generation method, and the generation process is prone to strong subjectivity and low efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a grid generation method based on gradient fuzzy set distance measurement, comprising:
[0006] Obtain all features and feature data of the target area;
[0007] Performing gradient fuzzification processing on all the feature data to obtain corresponding fuzzy feature data;
[0008] Inputting the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the feature data;
[0009] Based on the feature data, the feature distances between the features are calculated in sequence by using a gradient fuzzy distance measurement method;
[0010] Target gridding information is generated based on the feature weights and all the feature distances.
[0011] Optionally, after inputting the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the feature data, the method further includes:
[0012] Based on the numerical relationship of the feature weights, determining a feature center point from feature points corresponding to the features;
[0013] The step of calculating the feature distances between the features in sequence based on the feature data by using a gradient fuzzy distance measurement method is specifically as follows:
[0014] The distances between the feature points and the feature center points are calculated in sequence by using the gradient fuzzy distance measurement method to obtain the feature distance.
[0015] Optionally, generating target gridding information based on the feature weight and all the feature distances includes:
[0016] According to the magnitude relationship of the feature weights, the feature points other than the feature center point are sorted around the feature center point;
[0017] According to the feature distance, the distance between the corresponding feature point and the feature center point is adjusted, and the features except the feature center point are connected in sequence to obtain the target gridding information.
[0018] Optionally, the feature weight model is specifically:
[0019]
[0020] Among them, M J is the feature weight model, m is the total number of features in the non-target area, n is the total number of features in the target area, i is the i-th feature, and i≤m, j is the j-th feature, and j≤n, w j is the feature weight, and w j ∈[0,1], For r ij and The square of the distance between ij is the fuzzy distance measure between the i-th feature and the j-th feature, and r ij ∈(0,1), For function The calculated value, where l j For calculation The number of features contained in the region.
[0021] In a second aspect, an embodiment of the present invention provides a grid generation device based on gradient fuzzy set distance measurement, comprising:
[0022] An acquisition module is used to acquire all features and feature data of a target area;
[0023] A fuzzy processing module, used for performing gradient fuzzy processing on all the feature data to obtain corresponding fuzzy feature data;
[0024] An input module, used for inputting the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the feature data;
[0025] A feature distance calculation module, used to calculate the feature distances between the features in sequence based on the feature data by using a gradient fuzzy distance measurement method;
[0026] The target gridding information generating module is used to generate the target gridding information based on the feature weight and all the feature distances.
[0027] Optionally, it also includes:
[0028] A feature center point characteristic module, used to determine a feature center point from feature points corresponding to the feature based on the numerical relationship of the feature weights;
[0029] The feature distance calculation module is specifically used to calculate the distance between the feature point and the feature center point in sequence through the gradient fuzzy distance measurement method to obtain the feature distance.
[0030] Optionally, the target gridding information generating module includes:
[0031] A feature arrangement submodule, used for sorting the feature points other than the feature center point around the feature center point according to the magnitude relationship of the feature weights;
[0032] The adjustment submodule is used to adjust the distance between the corresponding feature point and the feature center point according to the feature distance, and sequentially connect the features except the feature center point to obtain the target gridding information.
[0033] Optionally, the feature weight model is specifically:
[0034]
[0035] Among them, M J is the feature weight model, m is the total number of features in the non-target area, n is the total number of features in the target area, i is the i-th feature, and i≤m, j is the j-th feature, and j≤n, w j is the feature weight, and w j ∈[0,1], For r ij and The square of the distance between ij is the fuzzy distance measure between the i-th feature and the j-th feature, and r ij ∈(0,1), For function The calculated value, where l j For calculation The number of features contained in the region.
[0036] In a third aspect, the present invention provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0037] In a fourth aspect, the present invention provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0038] It can be seen from the above technical solutions that the present invention has the following advantages:
[0039] The present invention obtains all the features and feature data of the target area; performs gradient fuzzification processing on all the feature data to obtain corresponding fuzzy feature data; the fuzzy feature data includes: inputting the fuzzy feature data into a pre-built feature weight model to obtain feature weights corresponding to the feature data; based on the feature data, sequentially calculating the feature distances between the features by a gradient fuzzy distance measurement method; and generating target gridding information based on the feature weights and all the feature distances. The present invention solves the problems of existing gridding generation methods, such as large workload and complex steps, and the generation process is prone to strong subjectivity and low efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 A flowchart of a step of a grid generation method embodiment based on gradient fuzzy set distance measurement of the present invention;
[0042] Figure 2 A schematic diagram for generating target gridding information of the present invention;
[0043] Figure 3 It is a structural block diagram of an embodiment of a grid generation device based on gradient fuzzy set distance measurement of the present invention. DETAILED DESCRIPTION
[0044] The embodiment of the present invention provides a grid generation method and device based on gradient fuzzy set distance measurement, which is used to solve the problems of existing grid generation methods, such as large workload and complex steps, strong subjectivity and low efficiency in the generation process.
[0045] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] At present, grid generation is mostly done by staff who use their work experience and proficiency to roughly draw grids manually on relevant plane maps using a mechanized working method. Due to possible errors in the drawing process and differences in the perspectives or ways of dealing with problems among different staff, even when drawing grids in the same area, the overall layout differences can be quite large. That is, the process of generating grid information is prone to strong subjectivity and low efficiency, which is very cumbersome if the grid needs to be modified or updated later.
[0047] To solve the above problems, the present invention provides a grid generation method based on gradient fuzzy set distance measurement, see Figure 1 ,like Figure 1 The present invention is a flowchart of a step of a grid generation method embodiment based on gradient fuzzy set distance measurement, comprising:
[0048] S1, obtain all features and feature data of the target area;
[0049] It should be noted that the definition of a grid is to divide an area into several grid-like units according to certain rules to facilitate more refined management of the area.
[0050] The grid generation method is based on the distance relationship between all feature data in the region. The distance between different features is the basis for grid generation. Therefore, it is necessary to obtain feature data within the relevant area to generate the spatial relationship between grids for easy management and control. In future grid management, it is necessary to re-generate the grid (add or delete regional features), which is also very convenient to operate, greatly reducing the reliance on staff experience.
[0051] In addition, grid generation can be understood as decomposing a complex area into several meta-grids according to needs and connecting these meta-grids according to needs. These simple meta-grids are closely connected to each other in an orderly manner to form a grid with a reasonable structure.
[0052] S2, performing gradient fuzzification processing on all the feature data to obtain corresponding fuzzy feature data;
[0053] In the embodiment of the present invention, all feature data are subjected to gradient fuzzification processing, that is, the features (people, land, objects, organizations, etc.) in the target area are subjected to equivalent fuzzification processing, so that the features in the target area are regarded as a point in space, such as the feature with D i =(x i ,y i ...z i ). When the features in the target area are processed by gradient fuzzy processing, as long as the distance between different features is determined, the size and shape of the target gridding information are basically determined. By fuzzifying the features in the distance measurement environment, the complexity of the grid generation process is greatly reduced, and the workload of generating the grid is reduced.
[0054] S3, inputting the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the feature data; the feature weight model is specifically:
[0055]
[0056] Among them, M J is the feature weight model, m is the total number of features in the non-target area, n is the total number of features in the target area, i is the i-th feature, and i≤m, j is the j-th feature, and j≤n, w j is the feature weight, and w j ∈[0,1], For r ij and The square of the distance between ij For the
[0057] J(w,λ), where λ is a real number, and J(w,λ) is:
[0058]
[0059] Taking partial derivative of J(w,λ), we get:
[0060]
[0061] Then we get:
[0062]
[0063] w j Substituting into the partial derivative function of J(w,λ), we get:
[0064]
[0065] Substitute the algebraic expression of λ into the partial derivative function of J(w,λ) to obtain w j The algebraic expression is:
[0066]
[0067] Thus, through w j The algebraic formula can determine the feature weights corresponding to all feature data in the weight model.
[0068] In an optional embodiment, after inputting the fuzzy feature data into a pre-built feature weight model to obtain the feature weight corresponding to the feature data, the method further includes:
[0069] Based on the numerical relationship of the feature weights, a feature center point is determined from the feature points corresponding to the features.
[0070] In the embodiment of the present invention, the feature point corresponding to the feature with the largest feature weight value is selected as the feature center point.
[0071] S4, based on the feature data, sequentially calculating the feature distances between the features by using a gradient fuzzy distance measurement method;
[0072] In an optional embodiment, the step of sequentially calculating the feature distances between the features based on the feature data by a gradient fuzzy distance measurement method is specifically:
[0073] The distances between the feature points and the feature center points are calculated in sequence by using the gradient fuzzy distance measurement method to obtain the feature distance.
[0074] The gradient fuzzy distance measurement method can express the uncertainty of staff members' understanding of objective things in a quantitative way, and can also describe the differences in the importance of evaluation opinions, so it has important theoretical value and wide use. Specifically, the gradient fuzzy set distance measurement can be used to calculate the true distance between two points in n-dimensional space, or the (natural length) distance from the vector point to the origin. Points in two-dimensional and three-dimensional space can be calculated using the calculation method of the gradient fuzzy set distance measurement.
[0075] In the embodiment of the present invention, the data relationship between features after feature weight calculation is mined through the gradient fuzzy distance measurement method, and the distance between features is calculated.
[0076] In the specific implementation, it is assumed that the regional feature D i =(x i ,y i ) corresponds to the weight w j (j=1,2,3…n), and w j ∈[0,1], And the weight value of regional feature D1 is the largest, and D2 is the second largest.
[0077] If there are two points D1 = (x1, y1) and D2 = (x2, y2) in two-dimensional space, the distance between them is calculated as:
[0078]
[0079] If there are two points D1 = (x1, y1, z1) and D2 = (x2, y2, z2) in three-dimensional space, the distance between them is calculated as:
[0080]
[0081] The same applies to the calculation of the distance between two points in four-dimensional space, five-dimensional space...n-dimensional space.
[0082] It should be noted that D1 and D2 satisfy the three axiomatic conditions under the gradient fuzzy set distance measure:
[0083] (1) Non-negativity: d(D1,D2) ≥ 0;
[0084] (2) Commutativity: d(D1,D2) = d(D2,D1);
[0085] (3) Reflexivity:
[0086] S5, generating target gridding information based on the feature weights and all the feature distances.
[0087] In an optional embodiment, generating target gridding information based on the feature weight and all the feature distances includes:
[0088] According to the magnitude relationship of the feature weights, the feature points other than the feature center point are sorted around the feature center point;
[0089] According to the feature distance, the distance between the corresponding feature point and the feature center point is adjusted, and the features except the feature center point are connected in sequence to obtain the target gridding information.
[0090] In the embodiment of the present invention, after gradient fuzzy processing and gradient fuzzy distance measurement calculation, the feature center points are arranged according to the size relationship of the feature weights, and then the feature distances between the feature center points and other features are calculated, and then the features are connected in sequence to generate the following: Figure 2 The schematic diagram of target gridding information generation is shown. The order of features is sorted according to the weight, which can avoid the problem of regional features being drawn multiple times when solving gridding generation and can also prevent the problem of regional features being omitted during grid generation.
[0091] In the embodiment of the present invention, all features and feature data of the target area are obtained; all the feature data are subjected to gradient fuzzification processing to obtain corresponding fuzzy feature data; the fuzzy feature data includes: inputting the fuzzy feature data into a pre-constructed feature weight model to obtain feature weights corresponding to the feature data; based on the feature data, the feature distances between the features are calculated in sequence by a gradient fuzzy distance measurement method; based on the feature weights and all the feature distances, target gridding information is generated. The existing gridding generation method solves the problems of high workload and complex steps, and the generation process is prone to strong subjectivity and low efficiency.
[0092] See also Figure 3 , shows a structural block diagram of an embodiment of a grid generation device based on gradient fuzzy set distance measurement of the present invention, the device comprising:
[0093] An acquisition module 401 is used to acquire all features and feature data of a target area;
[0094] A fuzzy processing module 402 is used to perform gradient fuzzy processing on all the feature data to obtain corresponding fuzzy feature data;
[0095] An input module 403 is used to input the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the feature data;
[0096] A feature distance calculation module 404 is used to calculate the feature distances between the features in sequence based on the feature data by using a gradient fuzzy distance measurement method;
[0097] The target gridding information generating module 405 is used to generate target gridding information based on the feature weights and all the feature distances.
[0098] In an optional embodiment, it also includes:
[0099] A feature center point characteristic module, used to determine a feature center point from feature points corresponding to the feature based on the numerical relationship of the feature weights;
[0100] The feature distance calculation module 404 is specifically used to calculate the distance between the feature point and the feature center point in sequence by using the gradient fuzzy distance measurement method to obtain the feature distance.
[0101] In an optional embodiment, the target gridding information generating module 405 includes:
[0102] A feature arrangement submodule, used to evenly arrange the feature points except the feature center point around the feature center point according to the size relationship of the feature weights;
[0103] The adjustment submodule is used to adjust the distance between the corresponding feature point and the feature center point according to the feature distance, and sequentially connect the features except the feature center point to obtain the target gridding information.
[0104] In an optional embodiment, the feature weight model is specifically:
[0105]
[0106] Among them, M J is the feature weight model, m is the total number of features in the non-target area, n is the total number of features in the target area, i is the i-th feature, and i≤m, j is the j-th feature, and j≤n, w j is the feature weight, and w j ∈[0,1], For r ij and The square of the distance between ij is the fuzzy distance measure between the i-th feature and the j-th feature, and r ij ∈(0,1), For function The calculated value, where l j For calculation The number of features contained in the region.
[0107] An embodiment of the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores an analysis machine program, and when the analysis machine program is executed by the processor, the processor executes the steps of the grid generation method based on gradient fuzzy set distance measure as described in any of the above embodiments.
[0108] An embodiment of the present invention further provides an analysis machine readable storage medium on which an analysis machine program is stored. When the analysis machine program is executed by the processor, the control method for gridding generation based on gradient fuzzy set distance measure as described in any of the above embodiments is implemented.
[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0110] In the several embodiments provided in the present application, it should be understood that the methods, devices, electronic devices and storage media disclosed in the present invention can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium that can be read by an analyzer. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The analyzer software product is stored in a readable storage medium, including several instructions to enable an analyzer device (which can be a personal analyzer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0114] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A grid generation method based on gradient fuzzy set distance measure, characterized in that: include: Obtain all features and feature data of the target area; Performing gradient fuzzification processing on all the feature data, performing equivalent fuzzification processing on the features in the target area, so that the features in the target area are regarded as feature points in space, and obtaining fuzzy feature data corresponding to each feature point; Input the fuzzy feature data into a pre-constructed feature weight model to obtain a feature weight corresponding to the fuzzy feature data; based on the numerical relationship of the feature weights, take the feature point corresponding to the feature with the largest feature weight value as the feature center point; Based on the feature data, under the condition that the feature points corresponding to the fuzzy feature data and the feature center point satisfy non-negativity, exchangeability, and reflexivity, the distances between the feature points and the feature center point are calculated in sequence by a gradient fuzzy distance measurement method to obtain a feature distance; According to the magnitude relationship of the feature weights, the feature points other than the feature center point are sorted around the feature center point; According to the feature distance, the distance between the corresponding feature point and the feature center point is adjusted, and the feature points other than the feature center point are sequentially connected to obtain the gridded information; the feature weight model is specifically: ; in, is the feature weight model, is the total number of features in the non-target area, is the total number of features in the target area, ≤ ,and ≤ , is the feature weight, and , , for and The square of the distance between For the Features and The fuzzy distance measure between features, and , For function The calculated value is For calculation The number of features contained in the region.
2. A grid generation device based on gradient fuzzy set distance measurement, characterized in that: include: An acquisition module is used to acquire all features and feature data of a target area; A fuzzification processing module is used to perform gradient fuzzification processing on all the feature data, perform equivalent fuzzification processing on the features in the target area, so as to regard the features in the target area as feature points in space and obtain fuzzy feature data corresponding to each feature point; An input module, used for inputting the fuzzy feature data into a pre-built feature weight model to obtain a feature weight corresponding to the fuzzy feature data; A feature center determination module, configured to take a feature point corresponding to a feature with a maximum feature weight value as a feature center point based on the numerical relationship of the feature weights; A feature distance calculation module is used to calculate the distance between the feature point and the feature center point in turn based on the feature data, under the condition that the feature point corresponding to the fuzzy feature data and the feature center satisfy non-negativity, exchangeability and reflexivity, by using a gradient fuzzy distance measurement method to obtain a feature distance; A target gridding information generating module, used for sorting the feature points except the feature center point around the feature center point according to the magnitude relationship of the feature weights; According to the characteristic distance, adjusting the distance between the corresponding characteristic point and the characteristic center point, and sequentially connecting the characteristic points except the characteristic center point to obtain the gridded information; The feature weight model is specifically: ; in, is the feature weight model, is the total number of features in the non-target area, is the total number of features in the target area, ≤ ,and ≤ , is the feature weight, and , , for and The square of the distance between For the Features and The fuzzy distance measure between features, and , For function The calculated value is For calculation The number of features contained in the region.
3. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores instructions readable by an analysis machine, and when the instructions readable by the analysis machine are executed by the processor, the method according to claim 1 is executed.
4. A storage medium having an analysis machine program stored thereon, characterized in that: When the analysis machine program is executed by a processor, the method according to any one of claims 1 is executed.
Citation Information
Patent Citations
Meshing local watershed-based fuzzy clustering method
CN107808384A
Air traffic region partition method based on fuzzy C-means clustering
CN109508867A
Efficient intelligent air traffic zoning system
CN109508868A
Urban traffic control area division method and device
CN110322694A
Cellular automaton-based grid division method for distribution network line inspection area
CN112434957A
