A data updating method for vaccination system

By dividing the data in the vaccination system into regions and setting weight values, we create an inverted index with data integrity verification scores, which solves the problems of data coverage and errors during the data update process and achieves higher data update accuracy. and retrieval efficiency.

CN118093608BActive Publication Date: 2024-09-03SHEN SU AUTOMATION TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410247848.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2024-09-03
Estimated Expiration
2044-03-05

AI Technical Summary

Technical Problem

The existing vaccination system can easily lead to data coverage and errors during the data update process, resulting in low accuracy of data update.

Method used

By dividing the fields in the data into regions, determining the weight values, obtaining data fingerprints, creating an inverted index with data integrity verification scores, and updating the data based on the data integrity verification scores and version information to ensure the accuracy and completeness of the data. sex.

Benefits of technology

It improves the accuracy of data updates, reduces errors during data migration and update processes, and improves data retrieval efficiency and accuracy of integrity assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118093608B
    Figure CN118093608B
Patent Text Reader

Abstract

The present invention relates to a data updating method for a vaccination system, and belongs to the field of data processing. The method includes: dividing fields in the data into regions and determining the weight value of each region; obtaining the data fingerprint of the input data based on the Hash value of each field of each input data and the weight value of its corresponding region; creating a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data; creating a data integrity check score inverted index according to the data integrity check score of each input data, and updating the input data with missing values ​​of the fields in the weighted feature region and the input data with a data integrity check score less than a threshold. The method updates the data through weighted data fingerprints, version information, and data integrity check scores, thereby improving the accuracy of data updates and reducing errors generated during data migration and updating.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a data updating method for a vaccination system. Background Art

[0002] Vaccination is an important public health measure, so vaccination information needs to be managed vertically, that is, data exchange (including data upload and download) needs to be carried out between vaccination systems at different levels (such as provincial, municipal, etc.), resulting in frequent data updates in the system. Therefore, there is a need for an efficient method that can meet the needs of vaccination business to improve the accuracy of data updates and reduce errors in data migration and update processes.

[0003] The existing vaccination system does not pay attention to the above problem, which easily leads to the situation that the new version data from client B is overwritten by the old version data of client A. Therefore, providing a method to improve the accuracy of data update has become an urgent problem to be solved. Summary of the invention

[0004] In view of the above analysis, the present invention aims to provide a data updating method for a vaccination system, so as to solve the problem that the data updating accuracy of the existing vaccination system is low and errors are easily generated during data migration and updating.

[0005] The present invention provides a data updating method for a vaccination system, the method comprising the following steps:

[0006] Divide the fields in the data into regions and determine the weight value of each region;

[0007] For each input data, obtain the Hash value of each field of the input data, and obtain the data fingerprint of the input data based on the Hash value of each field and the weight value of its corresponding area;

[0008] Create a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data;

[0009] An inverted index of data integrity verification scores is created according to the data integrity verification scores of each input data; input data with missing values ​​in the field in the weighted feature area is updated based on the data integrity verification score, data version information, data fingerprint, and the inverted index of data integrity verification scores, and input data with a data integrity verification score less than a threshold is updated based on the data integrity verification score, data version information, data fingerprint, and the inverted index of data integrity verification scores.

[0010] Further, the updating of the input data of the missing values ​​of the fields in the weighted feature area based on the data integrity check score, the data version information and the data fingerprint includes:

[0011] Finding other input data whose similarity with the input data is greater than a threshold value as similar data based on the data fingerprint of the input data;

[0012] Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them;

[0013] Update the corresponding value of the selected data into the field of the missing value of the input data and update its version information.

[0014] Furthermore, similarity calculation is performed by the following method:

[0015] similarity=1-(hamm_dist(A,B) / k),

[0016] Among them, similarity is the similarity, A and B are two input data, hamm_dist(A,B) is the Hamming distance between A and B, and k is the number of bits of the data fingerprint.

[0017] Further, the updating of input data having a data integrity check score less than a threshold value based on the data integrity check score, data version information, data fingerprint and data integrity check score inverted index includes:

[0018] Filter out all input data whose data integrity check scores are less than a threshold based on the integrity check score inverted index;

[0019] For each input data whose data integrity check score is less than the threshold:

[0020] If the value of a missing field in the data can be inferred from the values ​​of other fields in the data, the missing value is automatically inferred and updated, and the version information of the data is updated;

[0021] Based on the data fingerprint of the data, find other input data with a similarity greater than a threshold as its similar data;

[0022] Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them;

[0023] If there is a value corresponding to the field where the input data is missing in the selected data, the corresponding value of the selected data is updated to the field where the input data is missing and its version information is updated.

[0024] Furthermore, the creation of a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data includes:

[0025] Create a storage structure, where each record corresponds to an input data, and each record contains three fields: key, type, and value;

[0026] The field key is the data fingerprint of the corresponding input data, which is used to uniquely identify each record;

[0027] The field type is the type of the record, including "data", "integrity", and "version";

[0028] The field value is the value of the field type corresponding to this record, including the field value of the corresponding input data, the data integrity check score, and version information.

[0029] Furthermore, the step of creating an inverted index of data integrity check scores includes:

[0030] Create a data integrity check score inverted index structure for indexing according to the data integrity check score;

[0031] Divide the data integrity check score according to the preset intervals to establish corresponding index intervals, and each index interval corresponds to a score segment;

[0032] Each index interval corresponds to a list, which contains data fingerprints of the corresponding segmented data.

[0033] Furthermore, the region division of the fields in the input data includes:

[0034] Based on business experience, the important fields in the vaccine industry input data are divided into weighted feature areas, and the remaining fields are divided into other feature areas;

[0035] The weighted feature area includes vaccine traceability code, vaccine batch number, vaccination type, vaccine attribute code, and vaccination unit internal code;

[0036] The other characteristic areas include vaccination record number, vaccination site code, manufacturer code, and vaccine price.

[0037] Furthermore, obtaining the data fingerprint of the input data based on the Hash value of each field and the weight value of its corresponding area includes:

[0038] After encoding the Hash value of each field, multiply each bit of the Hash value by the weight value of its corresponding area to obtain a weighted Hash value;

[0039] Accumulate the weighted Hash value of each field according to the corresponding bit to obtain the SimHash value of the input data merger;

[0040] The combined SimHash value is converted into binary to obtain the data fingerprint of the input data.

[0041] Furthermore, the data integrity check score is obtained by the following method:

[0042] Set the initial value of the data integrity check score of the input data;

[0043] Calculate an N value, where the N value is the product of 2 and the sum of the number of weighted feature area fields of the data and the number of other feature area fields;

[0044] Traverse each field in the weighted feature area and other feature areas to obtain the number of fields n1 and n2 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​cannot be inferred from the values ​​of other fields, and the number of fields n3 and n4 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​can be inferred from the values ​​of other fields;

[0045] The sum of 2*n1 / N, 1*n2 / N, 1*n3 / N, and 0.5*n4 / N is subtracted from the initial value to obtain a data integrity check score for the input data.

[0046] Furthermore, the weight value of the weighted feature region is set to 3, and the weight values ​​of other feature regions are set to 1.

[0047] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0048] 1. The present invention updates the input data through the data integrity check score, data version information, data fingerprint and data integrity check score inverted index, thereby improving the accuracy of data update and reducing the errors generated during data migration and update.

[0049] 2. The present invention improves the efficiency of data retrieval by creating an inverted index of data integrity verification scores.

[0050] 3. The present invention improves the accuracy of data integrity assessment by obtaining a data integrity verification score.

[0051] 4. The present invention obtains the data fingerprint of the input data by weighting the important fields in the input data, so that the data fingerprint is more in line with the characteristics of the vaccine industry.

[0052] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0054] Figure 1 The present invention is a flowchart of a data updating method for a vaccination system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0056] A specific embodiment of the present invention discloses a data updating method for a vaccination system. Figure 1 As shown, the method comprises the following steps:

[0057] Step S1, dividing the fields in the data into regions and determining the weight value of each region;

[0058] Step S2: for each input data, obtain the Hash value of each field of the input data, and obtain the data fingerprint of the input data based on the Hash value of each field and the weight value of its corresponding area;

[0059] Step S3: Create a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data;

[0060] Step S4: create an inverted index of data integrity verification scores according to the data integrity verification scores of each input data; update the input data with missing values ​​in the field in the weighted feature area based on the data integrity verification scores, the data version information and the data fingerprint; and update the input data with a data integrity verification score less than a threshold based on the data integrity verification score, the data version information, the data fingerprint and the inverted index of the data integrity verification score.

[0061] Specifically, in step S1, the region division of the fields in the input data includes:

[0062] Based on business experience, the important fields in the vaccine industry input data are divided into weighted feature areas, and the remaining fields are divided into other feature areas;

[0063] The weighted feature area includes vaccine traceability code, vaccine batch number, vaccination type, vaccine attribute code, and vaccination unit internal code;

[0064] The other characteristic areas include vaccination record number, vaccination site code, manufacturer code, and vaccine price.

[0065] Furthermore, the weight value of the weighted feature region is set to 3, and the weight values ​​of other feature regions are set to 1.

[0066] It is understandable that in the vaccine industry, errors in the values ​​of certain fields in the input data may cause serious problems such as missed vaccinations and repeated vaccinations. Therefore, it is necessary to identify these important fields that may have serious impacts based on business experience and weight them.

[0067] Specifically, in step S2, the Hash value of each field can be obtained by the MD5 function, and the data fingerprint of the input data based on the Hash value of each field and the weight value of its corresponding area is obtained, including:

[0068] After encoding the Hash value of each field, multiply each bit of the Hash value by the weight value of its corresponding area to obtain a weighted Hash value;

[0069] Accumulate the weighted Hash value of each field according to the corresponding bit to obtain the SimHash value of the input data merger;

[0070] The combined SimHash value is converted into binary to obtain the data fingerprint of the input data.

[0071] For example, the input data includes two fields with numerical values: vaccination type and vaccination record number, and their corresponding numerical values ​​are "04" and "370214DD0EEA24-C5119DFA0" respectively; the 64-bit binary Hash values ​​of the above two fields can be obtained by the MD5 function, among which the Hash value of the vaccination type is: 8E81D8ECEB98C1E3, which is converted into binary as:

[0072] [1000111010000001110110001110110011101011100110001100000111100011], the hash value of the vaccination record number is: 2859DA17463C5E2, converted to binary: [1111001010000101100111011010000101110100011000111 100010111100010]; Encode the above two hash values, that is, encode 0 as -1, and the encoded hash values ​​are: [1-1-1-1111-11-1-1-1-1-1111-1-1-1111-1-1-1111-1-1-1111-1-1-1111-1-1-1-1111-1-1-1-1111-1-1-111],

[0073] [1111-1-11-11-1-1-1-11-11-111-111-11-11-1-11-11-11-11-1111-1-1-11-11111-1-1-11-11-11-1]; From the regional division, we can see that the vaccination type belongs to the weighted feature area, and its corresponding weight value is 3, and the vaccination record number belongs to the other feature area, and its corresponding weight value is 1; multiplying each digit of the vaccination type hash value by 3 to obtain its weighted hash value is: [3-3-3-3333......-3-333], multiplying each digit of the vaccination record number hash value by 1 to obtain its weighted hash value: [1111-1-11......-1-11-1] (that is, the fields in other feature areas have no weighted influence). The above two weighted Hash values ​​are accumulated according to the corresponding bits to obtain the combined SimHash value: [4-2-22242......-4-442]. According to the rule that if the value is greater than zero, it is set to 1, otherwise it is set to 0, the combined SimHash value is converted to binary bit by bit, and the 64-bit data vector obtained is: [1001111.......0011], which is the data fingerprint of the input data.

[0074] It can be understood that the present invention obtains the data fingerprint of the input data by weighting the important fields in the input data, so that the data fingerprint is more in line with the characteristics of the vaccine industry.

[0075] Specifically, in step S3, the creation of a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data includes:

[0076] Create a storage structure, where each record corresponds to an input data, and each record contains three fields: key, type, and value;

[0077] The field key is the data fingerprint of the corresponding input data, which is used to uniquely identify each record;

[0078] The field type is the type of the record, including "data", "integrity", and "version";

[0079] The field value is the value of the field type corresponding to this record, including the field value of the corresponding input data, the data integrity check score, and version information.

[0080] Specifically, the storage structure may be a database table, a list or a key-value pair. "Data" represents the name of each field of the input data. When the field type is "data", the field value is the numerical value corresponding to each field of the input data.

[0081] Furthermore, the data integrity check score is obtained by the following method:

[0082] Set the initial value of the data integrity check score of the input data;

[0083] Calculate an N value, where the N value is the product of 2 and the sum of the number of weighted feature area fields of the data and the number of other feature area fields;

[0084] Traverse each field in the weighted feature area and other feature areas to obtain the number of fields n1 and n2 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​cannot be inferred from the values ​​of other fields, and the number of fields n3 and n4 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​can be inferred from the values ​​of other fields;

[0085] The sum of 2*n1 / N, 1*n2 / N, 1*n3 / N, and 0.5*n4 / N is subtracted from the initial value to obtain a data integrity check score for the input data.

[0086] Exemplarily, the initial value of the data integrity check score of the input data is set to 1, the number of weighted feature area fields is 5, and the number of other feature area fields is 4, so the N value is 18; assuming that n1, n2, n3, and n4 are 2, 0, 1, and 1 respectively, the data integrity check score is: 1-4 / 18-1 / 18-0.5 / 18=0.69 (2 decimal places are retained).

[0087] It can be understood that the present invention improves the accuracy of data integrity assessment by obtaining a data integrity verification score.

[0088] Specifically, in step S4, creating a data integrity check score inverted index includes:

[0089] Create a data integrity check score inverted index structure for indexing according to the data integrity check score;

[0090] Divide the data integrity check score according to the preset intervals to establish corresponding index intervals, and each index interval corresponds to a score segment;

[0091] Each index interval corresponds to a list, which contains data fingerprints of the corresponding segmented data.

[0092] Exemplarily, the preset interval is set to 0.1, and the data integrity check score is divided into 11 score segments, namely [0.0, 0.1), [0.1, 0.2) ... [0.9, 1.0) and [1.0, 1.0]. The index interval corresponding to the score segment [0.0, 0.1) stores the data fingerprints of a series of data whose data integrity check scores are greater than or equal to 0 and less than 0.1.

[0093] During implementation, the preset interval can be flexibly set according to actual needs.

[0094] Further, the updating of the input data of the missing values ​​of the fields in the weighted feature area based on the data integrity check score, the data version information and the data fingerprint includes:

[0095] Finding other input data whose similarity with the input data is greater than a threshold value as similar data based on the data fingerprint of the input data;

[0096] Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them;

[0097] Update the corresponding value of the selected data into the field of the missing value of the input data and update its version information.

[0098] Furthermore, similarity calculation is performed by the following method:

[0099] similarity=1-(hamm_dist(A,B) / k),

[0100] Among them, similarity is the similarity, A and B are two input data, hamm_dist(A,B) is the Hamming distance between A and B, and k is the number of bits of the data fingerprint.

[0101] It is understandable that when multiple clients and servers need to communicate and synchronize data with each other, data from different sources and different versions of the same data can be quickly screened out by calculating similarity for further comparison.

[0102] Further, the updating of input data having a data integrity check score less than a threshold value based on the data integrity check score, data version information, data fingerprint and data integrity check score inverted index includes:

[0103] Filter out all input data whose data integrity check scores are less than a threshold based on the integrity check score inverted index;

[0104] For each input data whose data integrity check score is less than the threshold:

[0105] If the value of a missing field in the data can be inferred from the values ​​of other fields in the data, the missing value is automatically inferred and updated, and the version information of the data is updated;

[0106] Based on the data fingerprint of the data, find other input data with a similarity greater than a threshold as its similar data;

[0107] Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them;

[0108] If there is a value corresponding to the field where the input data is missing in the selected data, the corresponding value of the selected data is updated to the field where the input data is missing and its version information is updated.

[0109] It can be understood that the present invention improves the efficiency of data retrieval by creating an inverted index of data integrity verification scores, and provides a basis for rapid synchronization and updating of data between multiple clients and servers; the input data is updated through the data integrity verification score, data version information, data fingerprint and data integrity verification score inverted index, which improves the accuracy of data update and reduces the errors generated during data migration and updating.

[0110] Compared with the prior art, the data updating method for the vaccination system provided by the present invention has the following beneficial effects:

[0111] 1. The present invention updates the input data through the data integrity check score, data version information, data fingerprint and data integrity check score inverted index, thereby improving the accuracy of data update and reducing the errors generated during data migration and update.

[0112] 2. The present invention improves the efficiency of data retrieval by creating an inverted index of data integrity verification scores.

[0113] 3. The present invention improves the accuracy of data integrity assessment by obtaining a data integrity verification score.

[0114] 4. The present invention obtains the data fingerprint of the input data by weighting the important fields in the input data, so that the data fingerprint is more in line with the characteristics of the vaccine industry.

[0115] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0116] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A data updating method for a vaccination system, characterized in that: The method comprises the following steps: Divide the fields in the input data into regions and determine the weight value of each region; For each input data, obtain the Hash value of each field of the input data, and obtain the data fingerprint of the input data based on the Hash value of each field and the weight value of its corresponding area; Create a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data; Create a data integrity check score inverted index according to the data integrity check score of each input data, update the input data with missing values ​​in the field in the weighted feature area based on the data integrity check score, data version information, data fingerprint, and data integrity check score inverted index for input data with a data integrity check score less than a threshold based on the data integrity check score, data version information, data fingerprint, and data integrity check score inverted index; The region division of the fields in the input data includes: Based on business experience, the important fields in the vaccine industry input data are divided into weighted feature areas, and the remaining fields are divided into other feature areas; The weighted feature area includes vaccine traceability code, vaccine batch number, vaccination type, vaccine attribute code, and vaccination unit internal code; The other characteristic areas include vaccination record number, vaccination site code, manufacturer code, and vaccine price.

2. The data updating method for a vaccination system according to claim 1, characterized in that: The updating of the input data of the missing value of the field in the weighted feature area based on the data integrity check score, the data version information and the data fingerprint comprises: Based on the data fingerprint of the input data, find other input data with a similarity greater than a threshold as its similar data; Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them; Update the corresponding value of the selected data into the field of the missing value of the input data and update its version information.

3. The data updating method for a vaccination system according to claim 2, characterized in that: The similarity is calculated by the following method: similarity=1-(hamm_dist(A,B) / k), Among them, similarity is the similarity, A and B are two input data, hamm_dist(A,B) is the Hamming distance between A and B, and k is the number of bits of the data fingerprint.

4. The data updating method for a vaccination system according to claim 1, characterized in that: The updating of input data having a data integrity check score less than a threshold value based on the data integrity check score, data version information, data fingerprint and data integrity check score inverted index comprises: Filter out all input data whose data integrity check scores are less than a threshold based on the integrity check score inverted index; For each input data whose data integrity check score is less than the threshold: If the value of a missing field in the data can be inferred from the values ​​of other fields in the data, the missing value is automatically inferred and updated, and the version information of the data is updated; Based on the data fingerprint of the data, find other input data with a similarity greater than a threshold as its similar data; Select the data with the highest data integrity check score from the similar data, and if there are multiple data with the highest data integrity check scores, select the data with the latest version from them; If there is a value corresponding to the field where the input data is missing in the selected data, the corresponding value of the selected data is updated to the field where the input data is missing and its version information is updated.

5. The data updating method for vaccination system according to claim 1, characterized in that: The creation of a data storage structure to store the data fingerprint, field name and value, version information, and data integrity check score of each input data includes: Create a storage structure, where each record corresponds to an input data, and each record contains three fields: key, type, and value; The field key is the data fingerprint of the corresponding input data, which is used to uniquely identify each record; The field type is the type of the record, including "data", "integrity", and "version"; The field value is the value of the field type corresponding to this record, including the field value of the corresponding input data, the data integrity check score, and version information.

6. The data updating method for a vaccination system according to claim 1, characterized in that: The step of creating a data integrity check score inverted index comprises: Create a data integrity check score inverted index structure for indexing according to the data integrity check score; Divide the data integrity check score according to the preset intervals to establish corresponding index intervals, and each index interval corresponds to a score segment; Each index interval corresponds to a list, which contains data fingerprints of the corresponding segmented data.

7. The data updating method for a vaccination system according to claim 1, characterized in that: The data fingerprint of the input data obtained based on the Hash value of each field and the weight value of its corresponding area includes: After encoding the Hash value of each field, multiply each bit of the Hash value by the weight value of its corresponding area to obtain a weighted Hash value; Accumulate the weighted Hash value of each field according to the corresponding bit to obtain the SimHash value of the input data merger; The combined SimHash value is converted into binary to obtain the data fingerprint of the input data.

8. The data updating method for a vaccination system according to claim 1, characterized in that: The data integrity check score is obtained by the following method: Set the initial value of the data integrity check score of the input data; Calculate an N value, where the N value is the product of 2 and the sum of the number of weighted feature area fields of the data and the number of other feature area fields; Traverse each field in the weighted feature area and other feature areas to obtain the number of fields n1 and n2 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​cannot be inferred from the values ​​of other fields, and the number of fields n3 and n4 in which the values ​​of the fields in the weighted feature area and other feature areas are missing and the values ​​can be inferred from the values ​​of other fields; The sum of 2*n1 / N, 1*n2 / N, 1*n3 / N, and 0.5*n4 / N is subtracted from the initial value to obtain a data integrity check score for the input data.

9. The data updating method for a vaccination system according to claim 1, characterized in that: The weight value of the weighted feature area is set to 3, and the weight values ​​of other feature areas are set to 1.