Method for determining abnormality degree of target area, electronic device and storage medium
By obtaining the ID, factor level and priority list of the target area, and using computer equipment and storage media to automatically judge the abnormality level of the target area, the problems of resource waste and inaccurate judgment in the existing technology are solved, and efficient and accurate abnormality level assessment is achieved.
Patent Information
- Application Number
- CN202410513884.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2044-04-26
AI Technical Summary
In the existing technology, the determination of the degree of abnormality in the target area relies on manual field investigation and qualitative methods, which leads to waste of resources and inaccurate judgment, making it difficult to efficiently and accurately reflect the abnormal situation in the target area.
By obtaining the target area ID list, target factor level list, target priority list and target information volume list, the abnormality degree of the target area is calculated, and automated judgment is achieved using computer equipment and storage media.
The efficiency and accuracy of obtaining the abnormality level of the target area are improved, the cost is reduced, and the abnormality level assessment can be updated in time to avoid risks.
Smart Images

Figure CN118379630B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method for determining the abnormality degree of a target area, an electronic device, and a storage medium. Background Art
[0002] At present, some target areas with the same purpose cover a large area, which may be as large as a township or as small as a field, and each target area corresponds to a different geographical location. In the existing technology, when judging the degree of abnormality of these target areas, it is usually necessary to manually inspect the conditions of each target area on the spot or use qualitative methods, such as regional division and management according to relevant systems, and judge whether the target area is abnormal based on the results of the inspection. However, the characteristic information corresponding to the target area is complex and the area is not uniform. At the same time, the environment of the target area will change greatly with the change of time. Manual inspection leads to the consumption of a lot of resources, greatly increases the cost, and cannot make a relatively accurate judgment on the degree of abnormality of the target area. Therefore, how to efficiently and accurately judge the degree of abnormality corresponding to the target area is a problem that needs to be solved urgently by technical personnel in this field. Summary of the Invention
[0003] In response to the above technical problems, the present invention adopts a technical solution: a method for determining the abnormality degree of a target area, comprising the following steps:
[0004] S100, obtain the target area ID list A={A1, ……, A i ,……,A n}, A i is the i-th target area ID, i=1...n, and n is the number of target area IDs.
[0005] S200, obtain the target factor level list set D = {D1, ..., D r ,……,D s}, D r ={D r1 ,……,D rg ,……,D rh(r)}, D rg is the gth target factor level in the target factor level list corresponding to the rth target factor, g = 1...h(r), h(r) is the number of target factor levels in the target factor level list corresponding to the rth target factor, r = 1...s, s is the number of target factors.
[0006] S300, obtain the target priority list set F corresponding to A = {F1, ..., F i ,……,F n}, F i ={F i1 ,……,Fir ,……,F is}, F ir A i The rth target priority in the corresponding target priority list, wherein the target priority is a value obtained based on the target factor for the target area corresponding to the target area ID.
[0007] S400, according to A and F, obtain the target information volume list set B corresponding to D = {B1, ..., B r ,……,B s}, B r ={B r1 ,……,B rg ,……,B rh(r)}, B rg D rg The corresponding target information volume.
[0008] S500, according to B, obtain the final information list E corresponding to A = {E1, ..., E i ,……,E n} to determine the abnormality degree of the target area corresponding to the target area ID, E i A i The corresponding final information volume, wherein E is obtained by the following steps in S500 i :
[0009] S501, according to F i , get A i The corresponding list of specified factor levels R i ={R i1 ,……,R ir ,……,R is}, R ir A i The corresponding rth specified factor level, where F ir With D rg When the values in the corresponding ranges are consistent, determine R ir D rg .
[0010] S503, according to R i , get A i The corresponding specified information list R 0 i ={R 0 i1 ,……,R 0 ir ,……,R 0 is}, R 0 ir R irThe corresponding specified information volume, where when F ir With D rg When the values in the corresponding value range are consistent, get R 0 ir =B rg .
[0011] S505, according to R 0 i , get E i , where E i Meet the following conditions:
[0012]
[0013] The present invention protects a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for determining the abnormality degree of a target area is implemented.
[0014] The present invention protects a computer-readable storage medium storing a computer program, which implements the above-mentioned method for determining the abnormality degree of a target area when executed by a processor.
[0015] The present invention has at least the following beneficial effects: a method for determining the degree of abnormality of a target area, comprising the following steps: obtaining a target area ID list, obtaining a target factor level list set, obtaining a target priority list set corresponding to the target area ID list, obtaining a target information quantity list set corresponding to the target factor level list set based on the target area ID list and the target priority list set, obtaining a final information quantity list set corresponding to the target factor level list set based on the target information quantity list set to determine the degree of abnormality of the target area corresponding to the target area ID, the present invention can ignore the area occupied by the area, obtain the priority corresponding to the target area according to the characteristic information corresponding to each target area, improve the efficiency of obtaining the degree of abnormality of the target area, thereby reducing the cost, obtain the characteristic information of the target area from different dimensions to determine the amount of information, enrich the amount of information of the target area, and make the accuracy of the obtained degree of abnormality of the target area higher, when the characteristic information of the target area is updated, the amount of information of the target area will also change, so that the obtained degree of abnormality of the target area is also updated synchronously, thereby avoiding the risks brought by using the target area, thereby improving the demand for use. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 This is a flowchart of a method for determining the abnormality degree of a target area provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments 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 those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0019] Example
[0020] This embodiment provides a method for determining the abnormality degree of a target area, the method comprising the following steps: Figure 1 As shown:
[0021] S100, obtain the target area ID list A={A1, ……, A i ,……,A n}, A i is the i-th target area ID, i=1...n, and n is the number of target area IDs.
[0022] Specifically, the target area ID is a unique identifier that characterizes the target area. Those skilled in the art know that any method of numbering areas to obtain identifiers in the prior art falls within the scope of protection of the present invention and will not be described in detail here.
[0023] Furthermore, the target area is a tobacco field area whose abnormality degree is to be determined, wherein the tobacco field is a field used for growing tobacco leaves.
[0024] S200, obtain the target factor level list set D = {D1, ..., D r ,……,D s}, D r ={D r1 ,……,D rg ,……,D rh(r)}, D rgis the gth target factor level in the target factor level list corresponding to the rth target factor, g = 1...h(r), h(r) is the number of target factor levels in the target factor level list corresponding to the rth target factor, r = 1...s, s is the number of target factors.
[0025] Specifically, the target factor is a related factor that affects the abnormal state of the target area corresponding to the target area ID.
[0026] Specifically, the target factor level is a level divided based on the different corresponding values of the target factor, wherein the corresponding value of the target factor is a value calculated based on the target factor. It can be understood that: when the target factor is nitrogen content, the corresponding value of the target factor is the value of the nitrogen content corresponding to the target area. According to the corresponding value of the target factor, it can be determined to which level of the target factor the target area belongs.
[0027] Furthermore, those skilled in the art know that grading standards can be selected according to actual needs to divide the factor levels, which all fall within the scope of protection of the present invention and will not be repeated here. For example: when the nitrogen content corresponding to the target area is lower than 0.15%, the level of this target area under the nitrogen content target factor is determined to be low; when the nitrogen content is between 0.15% and 0.3%, the level of this target area under the nitrogen content target factor is determined to be medium; when the nitrogen content is higher than 0.3%, the level of this target area under the nitrogen content target factor is determined to be high.
[0028] S300, obtain the target priority list set F corresponding to A = {F1, ..., F i ,……,F n}, F i ={F i1 ,……,F ir ,……,F is}, F ir A i The rth target priority in the corresponding target priority list, wherein the target priority is a value obtained based on the target factor for the target area corresponding to the target area ID.
[0029] Preferably, s=8.
[0030] Furthermore, when r=1, F i1 A i The corresponding elevation value of the target area, wherein the elevation value of the target area is obtained by calculating the average elevation value of each point in the target area.
[0031] Specifically, those skilled in the art know that any method for obtaining the elevation value of a geographic area in the prior art falls within the scope of protection of the present invention and will not be described in detail here, for example: GIS system and other methods.
[0032] Furthermore, when r=2, F i2 A i The value corresponding to the type of target object in the corresponding target area, wherein the target object is the crop planted in the target area closest to the current moment. It can be understood that: in the same target area, the crop planted in the previous season or year is the target object.
[0033] Specifically, when A i When the target object in the corresponding target area is the first target object, F i2 =0, wherein the first target object is a crop that has a favorable impact on tobacco planting in the target area, such as green manure crops, legume crops, cereal crops and other first target objects.
[0034] Specifically, when A i When the target object in the corresponding target area is the second target object, F i2 =1, wherein the second target object is a crop that has an adverse effect on tobacco planting in the target area, such as Solanaceae crops, pumpkins and other second target objects.
[0035] Furthermore, when r=3, F i3 A i The nitrogen content in the corresponding target area, where F i3 Meet the following conditions:
[0036] F i3 =F 0 i -F 1 i , F 0 i The content of nitrogen fertilizer applied to the target, F 1 i is the average consumed nitrogen content of the target.
[0037] Specifically, those skilled in the art know that any method for obtaining F in the prior art 0 i and F 1 i All platforms fall within the scope of protection of the present invention and will not be described in detail here, such as the National Agricultural Science Data Center and other platforms.
[0038] Furthermore, when r=4, F i4 A i The corresponding residues of all pesticides in the target area, where F i4Meet the following conditions:
[0039] Among them, θ αi =K αi ×T αi , K αi A i The corresponding degradation rate of the αth type of pesticide in the target area, T αi is the current moment and A i The time span between the application of the αth type of pesticide in the corresponding target area, λ αi A is the current moment i The corresponding residue amount of the αth type of pesticide in the target area, α i =1……β i , β i A i The number of pesticide types in the corresponding target area.
[0040] Specifically, those skilled in the art know that a platform for obtaining the pesticide degradation rate can be selected according to actual needs, all of which fall within the scope of protection of the present invention and will not be described in detail here, such as a pesticide database platform.
[0041] Furthermore, when r=5, F i5 A i The number of years of continuous tobacco cultivation in the corresponding target area.
[0042] Furthermore, when r=6, F i6 A i The probability of disease occurring in the corresponding target area, where F i6 Meet the following conditions:
[0043] F i6 =W 0 i ×W 1 i / W 2 i , W 0 i A i The average disease index corresponding to the target area, W 1 i A i The number of diseases that occurred in the corresponding target area during tobacco planting, W 2 i A i The number of times tobacco leaves are planted in the corresponding target area.
[0044] Specifically, the average disease index is a value obtained by averaging the disease index corresponding to each tobacco planting. Those skilled in the art know that any method of obtaining the disease index in the prior art falls within the scope of protection of the present invention and will not be described in detail here.
[0045] Furthermore, when r=7, F i7 A i The probability of pests occurring in the corresponding target area, where F i7 Meet the following conditions:
[0046] F i7 =η 0 i ×η 1 i / W 2 i , η 0 i A i The average pest index corresponding to the target area, η 1 i A i The number of insect pests that occurred in the corresponding target area during tobacco cultivation.
[0047] Specifically, the average pest index is a value obtained by averaging the pest index corresponding to each tobacco planting. Those skilled in the art know that any method of obtaining the pest index in the prior art falls within the scope of protection of the present invention and will not be described in detail here.
[0048] Furthermore, when r=8, F i8 A i The probability of natural disasters occurring in the corresponding target area, where F i8 Meet the following conditions:
[0049] F i8 =ρ 0 i ×ρ 1 i / W 2 i , where ρ 0 i A i The average tobacco yield reduction rate corresponding to the target area, ρ 1 i A i The number of natural disasters that occurred in the corresponding target area during the tobacco planting period.
[0050] Specifically, ρ 0 i Meet the following conditions:
[0051] J bi A i The tobacco production in the corresponding target area during the bth tobacco planting period, J (b+1)i A i The tobacco production in the corresponding target area during the bth tobacco planting, bi = 1...z i , z i A i The number of times tobacco leaves are planted in the corresponding target area.
[0052] As mentioned above, by selecting target factors of different dimensions and obtaining the priority corresponding to the target area under each target factor, the characteristics of the target area can be evaluated from different dimensions, and the amount of information obtained based on the different characteristics of the target area can be enriched, thereby improving the accuracy of obtaining the degree of abnormality of the target area.
[0053] S400, according to A and F, obtain the target information volume list set B corresponding to D = {B1, ..., B r ,……,B s}, B r ={B r1 ,……,B rg ,……,B rh(r)}, B rg D rg The corresponding target information volume.
[0054] In a specific embodiment, in S400, B is obtained by the following steps: rg :
[0055] S1, obtain the candidate quantity list P corresponding to A = {P1, ..., P i ,……,P n}, P i A i The corresponding number of candidates.
[0056] Specifically, the candidate quantity is the average per-acre yield corresponding to the target area, wherein the average per-acre yield refers to the average yield of crops per acre in the target area over the years.
[0057] Furthermore, the crops grown in each acre of area over the years may be tobacco leaves or other crops planted.
[0058] Furthermore, those skilled in the art know that any method for obtaining field crop yield in the prior art falls within the scope of protection of the present invention and will not be described in detail here.
[0059] S2, according to F, obtain the target priority list EF corresponding to the rth target factorr ={F 1r ,……,F ir ,……,F nr}, F 1r is the target priority corresponding to the rth target factor corresponding to the first target area ID, F nr The target priority corresponding to the rth target factor corresponding to the nth target area ID.
[0060] S3, according to P, obtain the candidate area ID list Q = {Q1, ..., Q d ,……,Q f}, Q d is the dth candidate region ID, d=1...f, f is the number of candidate region IDs, where When P i The corresponding target region ID is inserted into Q.
[0061] S4, according to EF r , get the candidate priority list Q corresponding to Q 0 ={Q 0 1r ,……,Q 0 dr ,……,Q 0 fr}, Q 0 dr Q d The corresponding r-th candidate priority, wherein the candidate priority is from EF r The target priority corresponding to the rth target factor corresponding to each candidate region ID obtained in .
[0062] S5, according to EF r , Q and Q 0 , get B rg , where B rg Meet the following conditions:
[0063] V 1 rg D rg The number of corresponding first target area IDs, where Q 0 dr With D rg When the values in the corresponding ranges are consistent, determine Q 0 dr The corresponding candidate area ID is the first target area ID, V 2 rg D rg The number of corresponding second target area IDs, where F ir With Drg When the values in the corresponding ranges are consistent, determine F ir The corresponding target area ID is the second target area ID.
[0064] In another specific embodiment, in S400, B can be obtained by the following steps: rg :
[0065] S401, obtain the candidate quantity list P corresponding to A = {P1, ..., P i ,……,P n}, P i A i The corresponding number of candidates.
[0066] Specifically, the method for obtaining the number of candidates in this embodiment is consistent with the method for obtaining the number of candidates in the above embodiment.
[0067] S402, according to P, obtain the first key priority list M corresponding to P = {M1, ..., M i ,……,M n}, M i P i The corresponding first key priority is a value obtained after normalizing the number of candidates.
[0068] Specifically, those skilled in the art know that any normalization method in the prior art falls within the protection scope of the present invention and will not be described in detail here.
[0069] S403, according to M, obtain the second key priority list N={N1, ..., N i ,……,N n}, N i is the second critical priority of the ith order, where N i Meet the following conditions:
[0070] N i =1-M i .
[0071] S404, obtain D rg Corresponding second target area ID list Y rg ={Y rg 1, ..., Y rg j ,……,Y rg m(rg)}, Y rg j D rg The corresponding j-th second target area ID, j=1...m(rg), m(rg) is D rgThe number of corresponding second target area IDs.
[0072] Specifically, the method for obtaining the second target area ID in this embodiment is consistent with the method for obtaining the second target area ID in the above embodiment.
[0073] Furthermore, m(rg)=V 2 rg .
[0074] S405, according to N, obtain Y rg The corresponding third key priority list T rg ={T rg 1, ..., T rg j ,……,T rg m}, T rg j Y rg j The corresponding third critical priority level is the second critical priority level corresponding to the second target area ID obtained from N.
[0075] S406, according to N, Y rg and T rg , get B rg , where B rg Meet the following conditions:
[0076]
[0077] As described above, the abnormality degree of the target area can be determined according to the characteristics of each target area, so that the amount of information corresponding to the target area is more accurate, thereby improving the accuracy of obtaining the abnormality degree of the target area. When the characteristic information of the target area is updated, the amount of information of the target area will also change, so that the abnormality degree of the target area obtained will also be updated synchronously, thereby avoiding the risks brought by using the target area.
[0078] S500, according to B, obtain the final information list E corresponding to A = {E1, ..., E i ,……,E n} to determine the abnormality degree of the target area corresponding to the target area ID, E i A i The corresponding final information volume, wherein E is obtained by the following steps in S500 i :
[0079] S501, according to F i , get A i The corresponding list of specified factor levels R i ={Ri1 ,……,R ir ,……,R is}, R ir A i The corresponding rth specified factor level, where F ir With D rg When the values in the corresponding ranges are consistent, determine R ir D rg .
[0080] Specifically, the designated factor level is a target factor level obtained by matching the target priority corresponding to the target area ID with the value range corresponding to the target factor level corresponding to each target factor in D.
[0081] S503, according to R i , get A i The corresponding specified information list R 0 i ={R 0 i1 ,……,R 0 ir ,……,R 0 is}, R 0 ir R ir The corresponding specified information volume, where when F ir With D rg When the values in the corresponding value range are consistent, get R 0 ir =B rg .
[0082] Specifically, the designated information amount is the target information amount corresponding to the designated factor level obtained from the target information amount list set B.
[0083] S505, according to R 0 i , get E i , where E i Meet the following conditions:
[0084]
[0085] Specifically, the greater the final amount of information, the lower the abnormality level corresponding to the target area. Those skilled in the art know that the abnormality level can be divided according to actual needs, which falls within the scope of protection of the present invention and will not be repeated here.
[0086] As described above, by obtaining the factor level corresponding to each target area and the amount of information corresponding to the target area, the area occupied by the area can be ignored, and the priority corresponding to the target area is obtained according to the characteristic information corresponding to each target area, thereby improving the efficiency of obtaining the abnormality degree of the target area, thereby reducing the cost, obtaining the characteristic information of the target area from different dimensions to determine the amount of information, enriching the amount of information of the target area, and making the obtained abnormality degree of the target area more accurate. When the characteristic information of the target area is updated, the amount of information of the target area will also change, so that the obtained abnormality degree of the target area will also be updated synchronously, thereby avoiding the risks brought by the use of the target area, thereby increasing the demand for use.
[0087] An embodiment of the present invention provides a method for determining the degree of abnormality of a target area, comprising the following steps: obtaining a target area ID list, obtaining a target factor level list set, obtaining a target priority list set corresponding to the target area ID list, obtaining a target information quantity list set corresponding to the target factor level list set based on the target area ID list and the target priority list set, and obtaining a final information quantity list set corresponding to the target factor level list set based on the target information quantity list set to determine the degree of abnormality of the target area corresponding to the target area ID. The present invention can ignore the area occupied by the area, obtain the priority corresponding to the target area based on the characteristic information corresponding to each target area, improve the efficiency of obtaining the degree of abnormality of the target area, thereby reducing the cost, obtain the characteristic information of the target area from different dimensions to determine the amount of information, enrich the amount of information of the target area, and make the accuracy of the obtained degree of abnormality of the target area higher. When the characteristic information of the target area is updated, the amount of information of the target area will also change, so that the obtained degree of abnormality of the target area is also updated synchronously, thereby avoiding the risks brought by using the target area, thereby improving the use demand.
[0088] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiment.
[0089] An embodiment of the present invention further provides an electronic device including a processor and the aforementioned non-transitory computer-readable storage medium.
[0090] Although some specific embodiments of the present invention have been described in detail by way of example, it will be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A method for determining the degree of abnormality of a target area, characterized in that: The method comprises the following steps: S100, obtain the target area ID list A={A1, ……, A i ,……,A n }, A i is the i-th target area ID, i=1...n, n is the number of target area IDs, the target area ID is a unique identifier that characterizes the target area, and the target area is the tobacco field area whose abnormality degree is to be determined; S200, obtain the target factor level list set D = {D1, ..., D r ,……,D s }, D r ={D r1 ,……,D rg ,……,D rh(r) }, D rg is the g-th target factor level in the target factor level list corresponding to the r-th target factor, g=1…h(r), h(r) is the number of target factor levels in the target factor level list corresponding to the r-th target factor, r=1…s, s is the number of target factors, wherein the target factor is a related factor affecting the abnormal state of the target area corresponding to the target area ID; S300, obtain the target priority list set F corresponding to A = {F1, ..., F i ,……,F n }, F i ={F i1 ,……,F ir ,……,F is }, F ir A i The rth target priority in the corresponding target priority list, wherein the target priority is a value obtained based on the target factor for the target area corresponding to the target area ID; S400, according to A and F, obtain the target information volume list set B corresponding to D = {B1, ..., B r ,……,B s }, B r ={B r1 ,……,B rg ,……,B rh(r) }, B rg D rg The corresponding target information volume; S500, according to B, obtain the final information list E corresponding to A = {E1, ..., E i ,……,E n } to determine the abnormality degree of the target area corresponding to the target area ID, E i A i The corresponding final information volume, wherein E is obtained by the following steps in S500 i : S501, according to F i , get A i The corresponding list of specified factor levels R i ={R i1 ,……,R ir ,……,R is }, R ir A i The corresponding rth specified factor level, where F ir With D rg When the values in the corresponding ranges are consistent, determine R ir D rg ; S503, according to R i , get A i The corresponding specified information list R 0 i ={R 0 i1 ,……,R 0 ir ,……,R 0 is }, R 0 ir R ir The corresponding specified information volume, where when F ir With D rg When the values in the corresponding value range are consistent, get R 0 ir =B rg ; S505, according to R 0 i , get E i , where E i Meet the following conditions:
2. The method for determining the abnormality degree of a target area according to claim 1, characterized in that: The target factor levels are levels divided based on the different corresponding values of the target factors.
3. The method for determining the abnormality degree of a target area according to claim 1, characterized in that: In S400, B is obtained by the following steps: rg : S1, obtain the candidate quantity list P corresponding to A = {P1, ..., P i ,……,P n }, P i A i The corresponding candidate quantity, wherein the candidate quantity is the average per-acre yield corresponding to the target area, wherein the average per-acre yield refers to the average yield of crops per acre in the target area over the years; S2, according to F, obtain the target priority list EF corresponding to the rth target factor r ={F 1r ,……,F ir ,……,F nr }, F 1r is the target priority corresponding to the rth target factor corresponding to the first target area ID, F nr The target priority corresponding to the rth target factor corresponding to the nth target area ID; S3, according to P, obtain the candidate area ID list Q = {Q1, ..., Q d ,……,Q f }, Q d is the dth candidate region ID, d=1...f, f is the number of candidate region IDs, where When P i The corresponding target area ID is inserted into Q; S4, according to EF r , get the candidate priority list Q corresponding to Q 0 ={Q 0 1r ,……,Q 0 dr ,……,Q 0 fr }, Q 0 dr Q d The corresponding r-th candidate priority, wherein the candidate priority is from EF r The target priority corresponding to the rth target factor corresponding to each candidate region ID obtained in ; S5, according to EF r , Q and Q 0 , get B rg , where B rg Meet the following conditions: V 1 rg D rg The number of corresponding first target area IDs, where Q 0 dr With D rg When the values in the corresponding ranges are consistent, determine Q 0 dr The corresponding candidate area ID is the first target area ID, V 2 rg D rg The number of corresponding second target area IDs, where F ir With D rg When the values in the corresponding ranges are consistent, determine F ir The corresponding target area ID is the second target area ID.
4. The method for determining the abnormality degree of a target area according to claim 1, characterized in that: In S400, you can also obtain B by the following steps rg : S401, obtain the candidate quantity list P corresponding to A = {P1, ..., P i ,……,P n }, P i A i The corresponding number of candidates; S402, according to P, obtain the first key priority list M corresponding to P = {M1, ..., M i ,……,M n }, M i P i a corresponding first key priority, wherein the first key priority is a value obtained by normalizing the number of candidates; S403, according to M, obtain the second key priority list N={N1, ..., N i ,……,N n }, N i is the second critical priority of the ith order, where N i Meet the following conditions: N i =1-M i ; S404, obtain D rg Corresponding second target area ID list Y rg ={Y rg 1, ..., Y rg j ,……,Y rg m(rg) }, Y rg j D rg The corresponding j-th second target area ID, j=1...m(rg), m(rg) is D rg the number of corresponding second target area IDs; S405, according to N, obtain Y rg The corresponding third key priority list T rg ={T rg 1, ..., T rg j ,……,T rg m }, T rg j Y rg j A corresponding third critical priority, wherein the third critical priority is the second critical priority corresponding to the second target area ID obtained from N; S406, according to N, Y rg and T rg , get B rg , where B rg Meet the following conditions:
5. A non-transitory computer-readable storage medium, characterized in that The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 4.
6. An electronic device, characterized in that: The device comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 5.
Citation Information
Patent Citations
Civil air defense smart community alarm control method and related device
CN116913032A
Processing method for judging abnormity of sub-region
CN117494020A