Environmental sanitation post regulation and control method and system based on grid distribution and storage medium

By subdividing the city map and grid allocation, combined with sanitation rating analysis, the problem of unreasonable division of sanitation job scheduling and responsibility area in the existing technology is solved, and the responsibility area area balance of grid leaders and sanitation work is achieved. Equality.

CN118966623AInactive Publication Date: 2024-11-15NANTONG RUNDO COMPUTER TECH DEV CO LTD

Patent Information

Application Number
CN202410956590.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing sanitation grid allocation technology lacks the rationality of scheduling sanitation positions and the division of responsibility areas, resulting in uneven responsibilities of grid responsible persons and uneven allocation of sanitation work.

Method used

By dividing the city map area, subdividing public areas, and grid allocation and merging are performed according to the area area and distance, ensuring that the area error of each secondary area is within a certain range, a sanitation rating database is established, and historical ratings are analyzed to regulate post.

Benefits of technology

The reasonable scheduling of sanitation positions and the reasonable division of responsible areas have been achieved, ensuring that the area of ​​responsibility of each grid leader is similar, and improving the balance of sanitation work and urban cleanliness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118966623A_ABST
    Figure CN118966623A_ABST
Patent Text Reader

Abstract

The invention discloses an environmental sanitation post regulation and control method and system based on grid distribution and a storage medium, and relates to the technical field of environmental sanitation grid distribution, and the method comprises the following steps: obtaining a city map, and carrying out the regional division of a city; subdividing the public area; performing grid distribution on the divided areas; merging the common sub-regions; an environmental sanitation rating database is established, and historical environmental sanitation rating of the responsibility area is recorded according to time; the historical environmental sanitation rating is analyzed, and environmental sanitation posts are regulated and controlled according to the analysis result; the method is used for solving the problems that according to an existing environmental sanitation grid distribution technology, reasonability is lacked in division of responsibility areas, scheduling of environmental sanitation posts is lacked, the responsibility weights of grid responsibilities are uneven, and allocation of environmental sanitation work is imbalanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sanitation grid allocation, and in particular to a sanitation post control method, system and storage medium based on grid allocation. Background Art

[0002] The sanitation grid allocation technology refers to a management model that achieves full coverage of sanitation work, that is, full coverage of management areas and full coverage of management personnel, so that regional personnel are clear, system standards are specific, operating procedures are standardized, and performance appraisals are quantified. By establishing grid leaders at different levels to clarify responsibility areas and responsibilities, each specific work in the grid has a dedicated person in charge, effectively achieving the integration of positions, personnel and responsibilities.

[0003] The existing sanitation grid allocation technology usually assigns a fixed grid person in charge to the responsibility area to manage and clean the responsibility area. There is a lack of scheduling of sanitation posts, which makes it easy for the grid person in charge to neglect and be careless. At the same time, there is a lack of rationality in the division of responsibility areas, and it is difficult to ensure that the areas of each responsibility area are similar, so as to ensure that the responsibility weight of the grid person in charge is relatively even. In the existing methods for scheduling sanitation posts, the number of people is usually adjusted accordingly based on the cleaning volume. For example, in the Chinese patent application publication number CN105787676A, a cleaning staff control method based on a control box is disclosed. In this method, the number of pedestrians is first obtained through a sensor, and the corresponding cleaning staff is deployed based on the pedestrian data. There is a lack of integrated control of sanitation posts in the entire area. The existing sanitation grid allocation technology also lacks rationality in the division of responsibility areas and lacks scheduling of sanitation posts, resulting in uneven responsibility weights of grid persons in charge and unbalanced deployment of sanitation work. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, by dividing the city map into regions to obtain divided regions, then subdividing the public areas to obtain public sub-regions, and then allocating grids to the divided regions and the public sub-regions, assigning different first-level grid leaders and third-level grid leaders, merging the public sub-regions to obtain second-level regions, ensuring that the error between the areas of each second-level region does not exceed the error ratio, so as to ensure that the responsibility areas responsible for each second-level grid leader can be evenly distributed, and then detecting the historical sanitation ratings of the responsibility areas, analyzing the historical sanitation ratings to determine whether the grid leaders of the responsibility areas need to be adjusted, so as to solve the problem that the existing sanitation grid allocation technology still lacks rationality in the division of responsibility areas and lacks scheduling of sanitation posts, resulting in uneven responsibility weights of grid responsible persons and unbalanced allocation of sanitation work.

[0005] To achieve the above objectives, in a first aspect, the present application provides a sanitation post control method based on grid allocation, comprising the following steps:

[0006] Obtain a city map, divide the city into regions, and obtain divided regions, wherein the divided regions include public areas, housing areas, and building areas;

[0007] Subdivide the common area to obtain common sub-areas;

[0008] Grids are allocated to the divided areas, and housing grid lengths, building grid lengths and first-level grid lengths are allocated to different divided areas;

[0009] Merge the common sub-areas, divide them into secondary areas and assign secondary grid lengths;

[0010] The housing area, construction area and secondary area are collectively referred to as the responsibility area, and a sanitation rating database is established to record the historical sanitation ratings of the responsibility area according to time;

[0011] Analyze historical sanitation ratings and adjust sanitation positions based on the analysis results.

[0012] Further, obtaining a city map, dividing the city into grids, and obtaining grid division areas includes the following sub-steps:

[0013] Get a city map and find housing estates on the city map;

[0014] The housing estate is divided into housing areas based on the boundaries of the housing estate;

[0015] Obtain the construction sites marked on the city map, and divide the construction sites into building areas based on the construction scope of the construction sites;

[0016] After the division of housing areas and building areas is completed, the remaining undivided areas in the city map are divided into public areas;

[0017] Public areas, housing areas and building areas are collectively referred to as divided areas.

[0018] Furthermore, the public area is subdivided to obtain public sub-areas by dividing the streets and squares in the public area according to their names, and each street or square is divided into a public sub-area.

[0019] Furthermore, the grid allocation for the divided area includes the following sub-steps:

[0020] Get any housing area and mark the community property corresponding to the housing area as the housing grid length;

[0021] Get any building area and mark the construction company corresponding to the building area as the building grid leader;

[0022] The sanitation department is marked as the first-level grid leader; the housing grid leader and the building grid leader are collectively referred to as the third-level grid leader;

[0023] The grid responsible persons within the divided areas are designated by the third-level grid leaders;

[0024] The first-level grid leader, second-level grid leader, third-level grid leader and grid responsible persons are collectively referred to as grid leaders.

[0025] Furthermore, merging the common sub-areas, dividing the secondary areas and allocating the secondary grid lengths includes the following sub-steps:

[0026] Get the area of ​​each common sub-region and mark it as region area;

[0027] The area of ​​the regions is sorted in descending order, and the area of ​​the regions is numbered and marked as region number, which is represented by the symbol Sn, where n is a non-zero natural number;

[0028] Obtain the distance between any common sub-region and other common sub-regions, marked as region distance, where the region distance is the shortest straight-line distance between two common sub-regions;

[0029] The regional distances are numbered and named as distance numbers, which are represented by the symbol Lnm, where m is a non-zero natural number, Lnm represents the distance between Sn and Sm, and Sm is Sn when n is equal to m;

[0030] Get the maximum value of the area, mark it as the maximum area, set the error ratio, calculate the maximum area × the error ratio, and mark the calculation result as the standard area;

[0031] Determine whether Sn reaches the standard area. If so, output the secondary area signal; if not, output the area merging signal;

[0032] If the output area merge signal is output, Sn is marked as the area to be merged;

[0033] Merge the areas to be merged.

[0034] Furthermore, merging the regions to be merged includes the following sub-steps:

[0035] Obtain the area to be merged, number the area to be merged, mark it as the number to be merged, represented by the symbol Di, where i is a non-zero natural number;

[0036] Starting from D1, calculate the merging priority of Di and Dj, where j is a non-zero natural number and Dj is the number of other numbers to be merged except Di;

[0037] Calculate all merge priorities of Di relative to Dj, find the maximum value among the merge priorities, and mark it as the maximum priority;

[0038] Merge Di with Dj corresponding to the maximum priority to obtain the merged area, and remove Di and Dj from the numbers to be merged. After the numbers to be merged are removed, they will no longer participate in the calculation of the merge priority;

[0039] Mark the area of ​​the merged region as the merged area, and determine whether the merged area is greater than or equal to the standard area. If so, output a secondary area signal; if not, output an additional merge signal;

[0040] If an additional merge signal is output, the merged area is re-marked as the area to be merged and the number to be merged is increased by 1. The area of ​​the merged area is the merged area. The area distance of the merged area is the minimum value of Di and Dj corresponding to the merged area and the area distances of other areas to be merged. The merge priority of the merged area is recalculated and the maximum priority is found. The area to be merged corresponding to the maximum priority is merged into the merged area and it is judged again whether the merged area is greater than or equal to the standard area, until the secondary area signal is output;

[0041] Analyze all areas to be merged until all of them become merged areas;

[0042] The common sub-region or the region to be merged that outputs the secondary region signal is marked as the secondary region, and the secondary grid length is allocated to the secondary region; the secondary region is included in the divided region.

[0043] Furthermore, the housing area, the building area and the secondary area are collectively referred to as the responsibility area, and a sanitation rating database is established to record the historical sanitation ratings of the responsibility area according to time, including the following sub-steps:

[0044] Housing areas, building areas and secondary areas are collectively referred to as responsibility areas;

[0045] Establishing a sanitation rating database;

[0046] Taking the rating cycle as a cycle, the historical sanitation rating of the responsible area is included. The historical sanitation rating is the rating of the sanitation work of the responsible area within the rating cycle by the sanitation department. The historical sanitation rating includes qualified and unqualified.

[0047] Furthermore, the historical sanitation ratings are analyzed, and the sanitation positions are regulated according to the analysis results, including the following sub-steps:

[0048] Get the latest historical sanitation rating of the responsible area and mark it as real-time sanitation rating;

[0049] Get the historical sanitation rating before the real-time sanitation rating and mark it as the previous sanitation rating;

[0050] Check whether the real-time sanitation rating and the previous sanitation rating are both unqualified. If so, output a job adjustment signal; if not, output a job stability signal;

[0051] If a post control signal is output, post control will be performed on the second-level grid leader or third-level grid leader corresponding to the responsible area, and the post control will be specifically performed by the first-level grid leader.

[0052] In a second aspect, the present application provides a sanitation post control system based on grid allocation, including a region division module, a grid allocation module, a region merging module, a rating storage module and a post control module; the region division module, the grid allocation module, the region merging module, the rating storage module and the post control module are connected to each other through data;

[0053] The area division module is used to obtain a city map, divide the city into regions, and obtain divided regions, wherein the divided regions include public areas, housing areas, and building areas; and subdivide the public areas to obtain public sub-areas;

[0054] The grid allocation module is used to allocate grids to the divided areas, and allocate housing grid lengths, building grid lengths and primary grid lengths to different divided areas;

[0055] The region merging module is used to merge the common sub-regions, divide them into secondary regions and allocate secondary grid lengths;

[0056] The rating storage module is used to collectively refer to housing areas, building areas and secondary areas as responsibility areas, establish an environmental sanitation rating database, and record historical environmental sanitation ratings of the responsibility areas according to time;

[0057] The post control module is used to analyze historical sanitation ratings and control sanitation posts according to the analysis results.

[0058] In a third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are executed.

[0059] Beneficial effects of the present invention: The present invention searches for housing areas and construction areas through a city map, demarcates housing areas and construction areas as responsibility areas, and identifies community property and construction companies as three-level grid responsible persons. The advantage is that the sanitation grid management can be accurate to the community, which is easy to divide responsibilities. At the same time, the housing areas and construction areas are included in the grid management of the sanitation department, providing certain supervision for the city's sanitation work, and providing the rationality and comprehensiveness of the sanitation grid management.

[0060] The present invention divides the public area into public sub-areas based on streets, and then merges the public sub-areas to divide the secondary areas. The advantage is that dividing the public sub-areas based on streets can ensure the convenience of grid responsible persons in cleaning the responsible areas. At the same time, dividing the secondary areas can reduce the allocation of grid responsible persons and ensure that the area error of the responsible area of ​​each grid responsible person is small, avoiding the phenomenon of uneven responsibility allocation, and improving the rationality of grid allocation and the convenience of sanitation work.

[0061] The present invention finds out the area to be merged based on the area and standard area of ​​the grid sub-area, calculates the merging priority of two areas to be merged based on the distance between different areas to be merged, and merges the two areas to be merged based on the maximum priority. The advantage is that the merging priority is calculated based on the area and the distance, which can ensure that a secondary area is obtained by merging the least areas to be merged, and the distance between the two areas to be merged is the shortest, which is convenient for the grid person in charge to manage and the grid responsible person to clean, and improves the rationality of grid allocation and the rationality of responsibility area division.

[0062] The present invention collects the sanitation ratings of the responsible areas, analyzes the sanitation ratings, and determines whether it is necessary to replace the grid leader. The advantage is that if the sanitation work in the responsible area is not continuous, it proves that the grid leader has not fulfilled the relevant responsibilities and has not paid enough attention to the environmental sanitation of the responsible area. Therefore, a replacement is needed to ensure the environmental sanitation of the responsible area, thereby improving the cleanliness of the city and the rationality of the appointment of the grid leader.

[0063] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 is a flow chart of the method of the present invention;

[0065] Figure 2 It is a schematic diagram of the division area of ​​the present invention;

[0066] Figure 3 is a schematic diagram of a common sub-region of the present invention;

[0067] Figure 4 A flow chart of the steps of merging common sub-regions according to the present invention;

[0068] Figure 5 It is a functional block diagram of the system of the present invention. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] Example 1, please refer to Figure 1 As shown, the present application provides a method for regulating sanitation posts based on grid allocation, including step S1, obtaining a city map and dividing the city into regions; step S2, subdividing the public area; step S3, grid allocation of the divided areas; step S4, merging the public sub-areas; step S5, establishing a sanitation rating database, and collecting the historical sanitation ratings of the responsible area according to time; step S6, analyzing the historical sanitation ratings, and regulating the sanitation posts according to the analysis results; specifically:

[0071] See also Figure 2 As shown, step S1, obtains a city map, divides the city into regions, and obtains divided regions, wherein the divided regions include public areas, housing areas, and construction areas; in practical applications, environmental sanitation of housing communities and construction sites is generally contracted by property companies or construction companies, but the lack of unified management by sanitation departments leads to the inability to ensure environmental sanitation of housing communities and construction sites, so it is necessary to divide the housing areas and construction areas and hand them over to the sanitation departments for unified management; step S1 includes the following sub-steps:

[0072] Step S101, obtaining a city map, and searching for housing communities in the city map;

[0073] Step S102, dividing the housing district into housing areas based on the boundary of the housing district;

[0074] Step S103, obtaining the construction site marked in the city map, and dividing the construction site into building areas based on the construction scope of the construction site;

[0075] Step S104, after the residential area and the building area are divided, the remaining undivided area in the city map is divided into public areas;

[0076] Step S105, the public area, the housing area and the building area are collectively referred to as the divided area;

[0077] In a specific implementation, housing communities and construction sites are pre-marked on a city map. The city map in this embodiment is a detailed planning map of a city, such as a city planning map; the division of housing areas, construction areas, and public areas is as follows: Figure 2 shown.

[0078] See also Figure 3 As shown, step S2, subdividing the public area to obtain public sub-areas; subdividing the public area to obtain public sub-areas is to divide the streets and squares in the public area according to their names, and each street or square is divided into a public sub-area; in practical applications, the division of sanitation work is generally based on streets or squares, which can facilitate sanitation workers to clean and sanitation departments to conduct inspections;

[0079] In the specific implementation, the public area includes Road A, Road B, Road C, Road D, Road E, Road F, Road G, Road H, Road I, Road J, Road K and L Square. The distribution of Road A, Road B, Road C, Road D, Road E, Road F, Road G, Road H, Road I, Road J, Road K and L Square is as follows: Figure 3 As shown, the subdivision results in A common sub-region, B common sub-region, ..., K common sub-region and L common sub-region; Figure 3 The dotted line in the figure is the intersection of the two streets.

[0080] Step S3, assigning grids to the divided areas, assigning housing grid lengths, building grid lengths and primary grid lengths to different divided areas; Step S3 includes the following sub-steps:

[0081] Step S301, obtaining any housing area, and marking the community property corresponding to the housing area as the housing grid length;

[0082] Step S302, obtaining any building area, and marking the construction company corresponding to the building area as the building grid leader;

[0083] Step S303, marking the sanitation department as the first-level grid leader; the housing grid leader and the building grid leader are collectively referred to as the third-level grid leader;

[0084] Step S304: the grid responsible person in the divided area is designated by the third-level grid leader;

[0085] Step S305: The first-level grid leader, the second-level grid leader, the third-level grid leader and the grid responsible person are collectively referred to as the grid responsible person;

[0086] In the specific implementation, if it is obtained that the community property of the ABB housing area and the CBB housing area is AW property company, then the AW property company will be marked as the housing grid leader of the ABB housing area and the CBB housing area; if there is only one building area in the city map, and the construction company to which the building area belongs is AR construction company, then AR construction company will be marked as the building grid leader of the building area; the sanitation department is marked as the first-level grid leader, and the grid management of sanitation work is specifically that the first-level grid leader is responsible for supervising the second-level grid leader and the third-level grid leader, and the second-level grid leader and the third-level grid leader are responsible for supervising the grid responsible persons; the grid responsible persons for the housing area and the building area are designated by the third-level grid leader, and the grid responsible persons for the public area are designated by the sanitation department, and the grid responsible persons are responsible for cleaning the city.

[0087] Step S4, merging the common sub-areas, dividing the secondary areas and assigning the secondary grid leaders; in practical applications, since different streets have different area sizes, direct assignment will lead to uneven workload distribution, which will further lead to negative emotions in the secondary grid leaders, thereby affecting work efficiency. Therefore, it is necessary to merge some common sub-areas with small area; Step S4 includes the following sub-steps:

[0088] Step S401, obtaining the area of ​​each common sub-region, marked as region area;

[0089] In specific implementation, the area of ​​the region can be calculated by multiplying the length and width of the street to obtain an approximate value of the area, and an absolutely accurate value is not required; the area of ​​the A public sub-area to the L public sub-area is obtained as 41538㎡, 32056㎡, 8241㎡, 33056㎡, 41208㎡, ​​56703㎡, 54065㎡, 50769㎡, 49450㎡, 37252㎡, 5274㎡ and 20773㎡ respectively; the values ​​of the area are all integers;

[0090] Step S402, sorting the area of ​​the regions in descending order, and numbering the area of ​​the regions, marking them as region numbers, represented by the symbol Sn, where n is a non-zero natural number;

[0091] In a specific implementation, there are 12 common sub-regions, that is, the regions are numbered S1 to S12, 1≤n≤12, and they are sorted in order from large to small, and S1 to S12 are F common sub-region, G common sub-region, H common sub-region, I common sub-region, A common sub-region, E common sub-region, J common sub-region, D common sub-region, B common sub-region, L common sub-region, C common sub-region and K common sub-region, respectively;

[0092] Step S403, obtaining the distance between any common sub-region and other common sub-regions, marked as region distance, where the region distance is the shortest straight-line distance between two common sub-regions;

[0093] Step S404, numbering the area distances, named as distance numbers, represented by the symbol Lnm, m is a non-zero natural number, Lnm represents the distance between Sn and Sm, Sm is Sn when n is equal to m;

[0094] In a specific implementation, the regional distance is the shortest straight-line distance between two common sub-regions. If the two common sub-regions intersect or are adjacent, the regional distance is 0m. This embodiment takes the regional distance of the A common sub-region as an example to explain the meaning of the distance number. The distance number does not have Lnn, i.e., L11 or L22. The regional area of ​​the A common sub-region is S5, n=5, and L52 is 0m, S2 is the regional area of ​​the G common sub-region, i.e., the regional distance between the A common sub-region and the G common sub-region is 0m. L57 is 1373m, S7 is the J common sub-region, i.e., the regional distance between the A common sub-region and the J common sub-region is 1373m. For the meaning of other distance numbers, please refer to the meaning of L52. The values ​​of the regional distances are all integers.

[0095] Step S405, obtaining the maximum value of the area of ​​the region, marking it as the maximum area, setting the error ratio, calculating the maximum area × the error ratio, and marking the calculation result as the standard area;

[0096] In the specific implementation, since the same secondary area can only be assigned one secondary grid length, and a common sub-area cannot be divided into two secondary areas, in order to prevent the problem of shirking responsibility, the secondary area is selected based on the maximum area as a standard. It is impossible for all common sub-areas or combined areas to accurately reach the maximum area. Therefore, the error ratio is set to ensure that the area of ​​the secondary area is not all greater than the maximum area, but there is a certain fluctuation; the maximum area is obtained as S1, that is, 56703 square meters. Through a large amount of data analysis, it is found that when the error ratio is set to 0.8 to 0.9, the area distribution of the secondary area is more balanced. In this embodiment, the error ratio is set to 0.85; the standard area is calculated to be 48198 square meters, and the calculation result retains an integer;

[0097] Step S406, determining whether Sn reaches the standard area, if so, outputting a secondary area signal; if not, outputting an area merging signal;

[0098] Step S407, if a region merging signal is output, Sn is marked as a region to be merged;

[0099] In a specific implementation, if S1 and S2 reach the standard area through comparison, a secondary area signal is output; if S3 to S12 do not reach the standard area through comparison, an area merging signal is output, and S3 to S12 are marked as areas to be merged;

[0100] Step S408, merging the areas to be merged;

[0101] Step S408 includes the following sub-steps:

[0102] See also Figure 4 As shown, in step S4081, the regions to be merged are obtained, and the regions to be merged are numbered and marked as the numbers to be merged, which are represented by the symbol Di, and i is a non-zero natural number;

[0103] Step S4082, starting from D1, calculating the merging priority of Di and Dj, where j is a non-zero natural number and Dj is the number of other numbers to be merged except Di;

[0104] In a specific implementation, the areas to be merged include S3 to S12, a total of 10 areas, and the areas to be merged are numbered D1 to D10, 1≤i≤10; the calculation of the merging priority is calculated by the priority calculation formula;

[0105] The priority calculation formula is configured as:

[0106] Ynm=[10×(Lnm+1)+|Sn+Sm-Smax|] -1 ×10 6 ; Wherein, Ynm is the merging priority of Sn and Sm, Lnm is the regional distance between Sn and Sm, and Smax is the maximum area; the constant 10 is set to not affect the merging priority of regional distance 0, but can greatly increase the merging priority of regional distance not 0, to avoid the merging priority being much greater than other merging priorities due to regional distance 0. At the same time, setting it to 10 can make the calculation of merging priority focus on regional area when the regional distance is less than 1km, and focus on regional distance when it is greater than 1km, ensuring that the regional distance between the two areas to be merged that constitute the secondary area is within the order of 100 meters, that is, within 1km. The value of 10 here is obtained through a large amount of data calculation to meet the above conditions; the constant 1 is set to avoid the situation where the denominator is 0 when Lnm=0, and the constant 10 6 The purpose is to enlarge the value of Ynm for comparison without affecting the final result. The priority calculation formula is only a calculation formula for removing the outline and taking the quantity, which aims to calculate that the area of ​​the merged area formed by merging the two areas to be merged should be as close to the maximum area as possible, and the area distance between the two areas to be merged should be as short as possible.

[0107] Calculate the merge priority of D3 and D5. D3 is S5, D5 is S7, that is, calculate the merge priority of S5 and S7, where n=5, m=7; calculate Y57 to be 28.2, and keep one decimal place in the calculation result;

[0108] Step S4083, calculate all merge priorities of Di relative to Dj, find the maximum value among the merge priorities, and mark it as the maximum priority;

[0109] In the specific implementation, the merge priority of D3 relative to D1 to D2 and D4 to D10 is calculated, that is, the merge priority of S5 relative to S3 to S4 and S6 to S12 is calculated, and the merge priorities are calculated to be 28.3, 29.4, 38.9, 28.2, 37.6, 60.3, 78.4, 85.8 and 54.2 respectively; the maximum priority is 85.8, that is, Y511, n=5, m=11, that is, S5 and S11, corresponding to D3 and D5;

[0110] Step S4084, merging Di and Dj corresponding to the maximum priority to obtain a merged region, and removing Di and Dj from the to-be-merged numbers. After the to-be-merged numbers are removed, they are no longer involved in the calculation of the merging priority;

[0111] Step S4085, marking the area of ​​the merged region as the merged area, and determining whether the merged area is greater than or equal to the standard area, if so, outputting a secondary region signal; if not, outputting an additional merge signal;

[0112] In the specific implementation, D3 and D5 are merged, and D3 and D5 are removed from the numbers to be merged. The remaining numbers to be merged are D1, D2, D4, D6, D7, D8, D9 and D10; the merged area is S5 and S11, then the merged area is S5+S11=49779㎡. By comparison, it is found that the merged area is larger than the standard area, and the secondary area signal is output;

[0113] Step S4086, if an additional merge signal is output, the merged area is re-marked as the area to be merged and the number to be merged is increased by 1, the area of ​​the merged area is the merged area, the area distance of the merged area is the minimum value of Di and Dj corresponding to the merged area and the area distances of other areas to be merged, the merge priority of the merged area is recalculated and the maximum priority is found, the area to be merged corresponding to the maximum priority is merged into the merged area, and it is judged again whether the merged area is greater than or equal to the standard area, until the secondary area signal is output;

[0114] Step S4087, analyzing all the regions to be merged until all of them become merged regions;

[0115] Step S4088, marking the common sub-region or the region to be merged that outputs the secondary region signal as the secondary region, allocating a secondary grid length to the secondary region; and incorporating the secondary region into the divided region;

[0116] In the specific implementation, the additional merge signal is not output in this embodiment, so the specific explanation of outputting the additional merge signal refers to Example 2; the specific analysis process of the merged area refers to the analysis process of D3; the F common sub-area, the G common sub-area and the merged area all output secondary area signals, then the F common sub-area, the G common sub-area and the merged area are marked as secondary areas, and a secondary grid length is assigned to the secondary area. The selection of the secondary grid length is designated by the sanitation department.

[0117] Step S5, collectively refer to the housing area, the building area and the secondary area as the responsibility area, establish an environmental sanitation rating database, and record the historical environmental sanitation ratings of the responsibility area according to time; Step S5 includes the following sub-steps:

[0118] Step S501, housing area, building area and secondary area are collectively referred to as responsibility areas;

[0119] Step S502, establishing an environmental sanitation rating database;

[0120] Step S503, taking the rating period as one period, collecting the historical sanitation rating of the responsible area, the historical sanitation rating is the rating of the sanitation work of the responsible area within the rating period by the sanitation department, and the historical sanitation rating includes qualified and unqualified;

[0121] In the specific implementation, the rating cycle is set to 7 days. The rating cycle is the environmental sanitation decision of the street by the sanitation department, which is used to examine the environmental sanitation conditions of the streets during the rating period and evaluate the work attitude of the grid leaders; the historical environmental sanitation rating is based on the street environmental sanitation index evaluated by the existing sanitation department; some data of the environmental sanitation rating database are shown in the following table:

[0122] July 10, 2023 - July 16, 2023

[0123] Serial number Area of ​​responsibility Historical sanitation rating 1 First area of ​​responsibility qualified 2 Second area of ​​responsibility qualified 3 Third Responsibility Area Failure

[0124] The first responsibility area is specifically the F public sub-area, the second responsibility area is specifically the G public sub-area, and the third responsibility area is specifically the merged area consisting of the A public sub-area and the C public sub-area.

[0125] Step S6, analyzing the historical sanitation ratings, and regulating the sanitation posts according to the analysis results; in practical applications, in order to ensure good environmental sanitation in the city, it is necessary to rate the environmental sanitation of the responsible area, and there are some responsible areas with continuously unqualified sanitation ratings, which means that the second-level grid leader or the third-level grid leader of this responsible area has not played a supervisory role in the environmental sanitation of the responsible area, so it is necessary to consider regulating his post; Step S6 includes the following sub-steps:

[0126] Step S601, obtaining the latest historical sanitation rating of the responsible area and marking it as real-time sanitation rating;

[0127] Step S602, obtaining the historical environmental sanitation rating before the real-time environmental sanitation rating, and marking it as the previous environmental sanitation rating;

[0128] Step S603, detecting whether the real-time sanitation rating and the previous sanitation rating are both unqualified, if so, outputting a post control signal; if not, outputting a post stability signal;

[0129] Step S604: If a post control signal is output, post control is performed on the second-level grid leader or the third-level grid leader corresponding to the responsible area, and the post control is specifically regulated by the first-level grid leader;

[0130] In the specific implementation, if the sanitation rating of the third responsibility area is unqualified, that is, the historical sanitation rating from July 10, 2023 to July 16, 2023 is unqualified, and the previous sanitation rating is obtained, that is, the historical sanitation rating from July 3, 2023 to July 9, 2023, and the previous sanitation rating is qualified, then a job stability signal is output, and no job adjustment is made to the second-level grid leader of the third responsibility area; the specific job adjustment is decided by the sanitation department, which can generally be divided into demotion or replacement.

[0131] Embodiment 2: This embodiment differs from Embodiment 1 in that this embodiment is used to further explain the specific analysis process after outputting the additional merge signal, and does not affect the analysis process of Embodiment 1; in this embodiment, the merged region composed of D4 and D10 outputs an additional merge signal, and in this embodiment, the merged region composed of D4 and D10 is named as the first merged region, and the area of ​​the first merged region is 46482 m2;

[0132] Step S4086, if an additional merge signal is output, the merged area is re-marked as the area to be merged and the number to be merged is increased by 1, the area of ​​the merged area is the merged area, the area distance of the merged area is the minimum value of Di and Dj corresponding to the merged area and the area distances of other areas to be merged, the merge priority of the merged area is recalculated and the maximum priority is found, the area to be merged corresponding to the maximum priority is merged into the merged area, and it is judged again whether the merged area is greater than or equal to the standard area, until the secondary area signal is output;

[0133] In the specific implementation, the merged first region is remarked as the to-be-merged region D11, and the region area Sn is 46482. At this time, the values ​​of n and m are not considered. The merged first region is composed of D4 and D10, that is, S6 and S12. When m is the same, the region distance Lnm is the minimum value between L6m and L12m. For example, if the region distance between the merged first region and S8 is calculated, that is, L68 and L128 are obtained, L68 is 0, and L128 is 373, then the region distance between the merged first region and S8 is 0.

[0134] Example 3

[0135] See also Figure 5 As shown, the present application provides a sanitation post control system based on grid allocation, including a region division module, a grid allocation module, a region merging module, a rating storage module and a post control module; the region division module, the grid allocation module, the region merging module, the rating storage module and the post control module are connected to each other through data;

[0136] The area division module is used to obtain a city map, divide the city into regions, and obtain divided regions, which include public areas, housing areas, and building areas; subdivide the public areas to obtain public sub-areas; the area division module includes a total division unit and a sub-division unit;

[0137] The total division unit is used to obtain a city map, divide the city into regions, and obtain divided regions, which include public areas, housing areas, and building areas;

[0138] The total partitioning unit is configured with a total partitioning strategy, which includes:

[0139] Get a city map and find housing estates on the city map;

[0140] The housing estate is divided into housing areas based on the boundaries of the housing estate;

[0141] Obtain the construction sites marked on the city map, and divide the construction sites into building areas based on the construction scope of the construction sites;

[0142] After the division of housing areas and building areas is completed, the remaining undivided areas in the city map are divided into public areas;

[0143] Public areas, housing areas, and building areas are collectively referred to as zoned areas;

[0144] The subdivision unit is used to subdivide the common area to obtain a common sub-area;

[0145] The sub-division unit is configured with a sub-division strategy, which includes:

[0146] The public area is subdivided to obtain public sub-areas by dividing the streets and squares in the public area according to their names, and each street or square is divided into a public sub-area;

[0147] The grid allocation module is used to allocate grids to the divided areas, and allocate housing grid lengths, building grid lengths and first-level grid lengths to different divided areas;

[0148] The grid allocation module is configured with a grid allocation strategy, which includes:

[0149] Get any housing area and mark the community property corresponding to the housing area as the housing grid length;

[0150] Get any building area and mark the construction company corresponding to the building area as the building grid leader;

[0151] The sanitation department is marked as the first-level grid leader; the housing grid leader and the building grid leader are collectively referred to as the third-level grid leader;

[0152] The grid responsible persons within the divided areas are designated by the third-level grid leaders;

[0153] First-level grid leaders, second-level grid leaders, third-level grid leaders, and grid responsible persons are collectively referred to as grid leaders;

[0154] The region merging module is used to merge the common sub-regions, divide the secondary regions and allocate the secondary grid lengths; the region merging module includes a region search unit to be merged and a region merging unit;

[0155] The to-be-merged area search unit is configured with a to-be-merged area search strategy, which includes:

[0156] Get the area of ​​each common sub-region and mark it as region area;

[0157] The area of ​​the regions is sorted in descending order, and the area of ​​the regions is numbered and marked as region number, which is represented by the symbol Sn, where n is a non-zero natural number;

[0158] Get the distance between any common sub-region and other common sub-regions, marked as region distance, which is the shortest straight-line distance between two common sub-regions;

[0159] The regional distances are numbered and named as distance numbers, which are represented by the symbol Lnm, where m is a non-zero natural number, Lnm represents the distance between Sn and Sm, and Sm is Sn when n is equal to m;

[0160] Get the maximum value of the area, mark it as the maximum area, set the error ratio, calculate the maximum area × the error ratio, and mark the calculation result as the standard area;

[0161] Determine whether Sn reaches the standard area. If so, output the secondary area signal; if not, output the area merging signal;

[0162] If the output area merge signal is output, Sn is marked as the area to be merged;

[0163] Merge the areas to be merged;

[0164] The region merging unit is configured with a region merging strategy, which includes:

[0165] Obtain the area to be merged, number the area to be merged, mark it as the number to be merged, represented by the symbol Di, where i is a non-zero natural number;

[0166] Starting from D1, calculate the merging priority of Di and Dj, where j is a non-zero natural number and Dj is the number of other numbers to be merged except Di;

[0167] Calculate all merge priorities of Di relative to Dj, find the maximum value among the merge priorities, and mark it as the maximum priority;

[0168] Merge Di with Dj corresponding to the maximum priority to obtain the merged area, and remove Di and Dj from the numbers to be merged. After the numbers to be merged are removed, they will no longer participate in the calculation of the merge priority;

[0169] Mark the area of ​​the merged region as the merged area, and determine whether the merged area is greater than or equal to the standard area. If so, output a secondary area signal; if not, output an additional merge signal;

[0170] If an additional merge signal is output, the merged area is re-marked as the area to be merged and the number to be merged is increased by 1. The area of ​​the merged area is the merged area. The area distance of the merged area is the minimum value of Di and Dj corresponding to the merged area and the area distances of other areas to be merged. The merge priority of the merged area is recalculated and the maximum priority is found. The area to be merged corresponding to the maximum priority is merged into the merged area and it is judged again whether the merged area is greater than or equal to the standard area, until the secondary area signal is output;

[0171] Analyze all areas to be merged until all of them become merged areas;

[0172] Mark the common sub-regions or the regions to be merged that output the secondary region signals as secondary regions, assign the secondary grid length to the secondary regions; and include the secondary regions in the divided regions;

[0173] The rating storage module is used to collectively refer to housing areas, building areas and secondary areas as responsibility areas, establish an environmental sanitation rating database, and record historical environmental sanitation ratings of the responsibility areas according to time;

[0174] The rating storage module is configured with a rating storage strategy, which includes:

[0175] Housing areas, building areas and secondary areas are collectively referred to as responsibility areas;

[0176] Establishing a sanitation rating database;

[0177] The rating cycle is taken as one cycle, and the historical sanitation rating of the responsible area is included. The historical sanitation rating is the rating of the sanitation work of the responsible area within the rating cycle by the sanitation department. The historical sanitation rating includes qualified and unqualified.

[0178] The post control module is used to analyze historical sanitation ratings and control sanitation posts based on the analysis results;

[0179] The post control module is configured with post control strategies, which include:

[0180] Get the latest historical sanitation rating of the responsible area and mark it as real-time sanitation rating;

[0181] Get the historical sanitation rating before the real-time sanitation rating and mark it as the previous sanitation rating;

[0182] Check whether the real-time sanitation rating and the previous sanitation rating are both unqualified. If so, output a job adjustment signal; if not, output a job stability signal;

[0183] If a post control signal is output, post control will be carried out on the second-level grid leader or third-level grid leader corresponding to the responsible area, and the post control will be specifically carried out by the first-level grid leader.

[0184] Embodiment 4, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in any of the above methods are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: obtain a city map, divide the city into regions; subdivide the public areas; allocate grids to the divided areas; merge the public sub-areas; establish a sanitation rating database, and collect the historical sanitation ratings of the responsible areas according to time; analyze the historical sanitation ratings, and adjust the sanitation posts according to the analysis results.

[0185] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0186] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0187] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely 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 communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

Claims

1. A sanitation post control method based on grid allocation, characterized in that: The steps include: Obtain a city map, divide the city into regions, and obtain divided regions, wherein the divided regions include public areas, housing areas, and building areas; Subdivide the common area to obtain common sub-areas; Grids are allocated to the divided areas, and housing grid lengths, building grid lengths and first-level grid lengths are allocated to different divided areas; Merge the common sub-areas, divide them into secondary areas and assign secondary grid lengths; The housing area, construction area and secondary area are collectively referred to as the responsibility area, and a sanitation rating database is established to record the historical sanitation ratings of the responsibility area according to time; Analyze historical sanitation ratings and adjust sanitation positions based on the analysis results.

2. The sanitation post control method based on grid allocation according to claim 1 is characterized in that: Obtaining a city map, dividing the city into grids, and obtaining the grid division area includes the following sub-steps: Get a city map and find housing estates on the city map; The housing estate is divided into housing areas based on the boundaries of the housing estate; Obtain the construction sites marked on the city map, and divide the construction sites into building areas based on the construction scope of the construction sites; After the division of housing areas and building areas is completed, the remaining undivided areas in the city map are divided into public areas; Public areas, housing areas and building areas are collectively referred to as divided areas.

3. The sanitation post control method based on grid allocation according to claim 2 is characterized in that: The public area is subdivided to obtain public sub-areas by dividing the streets and squares in the public area according to their names, and each street or square is divided into a public sub-area.

4. The sanitation post control method based on grid allocation according to claim 3 is characterized in that: The grid allocation for the partitioned area includes the following sub-steps: Get any housing area and mark the community property corresponding to the housing area as the housing grid length; Get any building area and mark the construction company corresponding to the building area as the building grid leader; Mark the sanitation department as the first-level grid leader; The housing grid leaders and building grid leaders are collectively referred to as third-level grid leaders; The grid responsible persons within the divided areas are designated by the third-level grid leaders; The first-level grid leader, second-level grid leader, third-level grid leader and grid responsible persons are collectively referred to as grid leaders.

5. The sanitation post control method based on grid allocation according to claim 4 is characterized in that: Merging common sub-areas, dividing them into secondary areas and allocating secondary grid lengths includes the following sub-steps: Get the area of ​​each common sub-region and mark it as region area; The area of ​​the regions is sorted in descending order, and the area of ​​the regions is numbered and marked as region number, which is represented by the symbol Sn, where n is a non-zero natural number; Obtain the distance between any common sub-region and other common sub-regions, marked as region distance, where the region distance is the shortest straight-line distance between two common sub-regions; The regional distances are numbered and named as distance numbers, which are represented by the symbol Lnm, where m is a non-zero natural number, Lnm represents the distance between Sn and Sm, and Sm is Sn when n is equal to m; Get the maximum value of the area, mark it as the maximum area, set the error ratio, calculate the maximum area × the error ratio, and mark the calculation result as the standard area; Determine whether Sn reaches the standard area. If so, output the secondary area signal; If it is not reached, the regional merging signal is output; If the output area merge signal is output, Sn is marked as the area to be merged; Merge the areas to be merged.

6. The sanitation post control method based on grid allocation according to claim 5 is characterized in that: The merging of the regions to be merged includes the following sub-steps: Obtain the area to be merged, number the area to be merged, mark it as the number to be merged, represented by the symbol Di, where i is a non-zero natural number; Starting from D1, calculate the merging priority of Di and Dj, where j is a non-zero natural number and Dj is the number of other numbers to be merged except Di; Calculate all merge priorities of Di relative to Dj, find the maximum value among the merge priorities, and mark it as the maximum priority; Merge Di with Dj corresponding to the maximum priority to obtain the merged area, and remove Di and Dj from the numbers to be merged. After the numbers to be merged are removed, they will no longer participate in the calculation of the merge priority; Mark the area of ​​the merged region as the merged area, determine whether the merged area is greater than or equal to the standard area, and if so, output a secondary area signal; If not, then output an additional merge signal; If an additional merge signal is output, the merged area is re-marked as the area to be merged and the number to be merged is increased by 1. The area of ​​the merged area is the merged area. The area distance of the merged area is the minimum value of Di and Dj corresponding to the merged area and the area distances of other areas to be merged. The merge priority of the merged area is recalculated and the maximum priority is found. The area to be merged corresponding to the maximum priority is merged into the merged area and it is judged again whether the merged area is greater than or equal to the standard area, until the secondary area signal is output; Analyze all areas to be merged until all of them become merged areas; Mark the common sub-regions or the regions to be merged that output the secondary region signals as secondary regions, and assign a secondary grid length to the secondary regions; Include secondary areas into the divided areas.

7. The sanitation post control method based on grid allocation according to claim 6 is characterized in that: The housing area, building area and secondary area are collectively referred to as the responsibility area. Establishing a sanitation rating database and recording the historical sanitation ratings of the responsibility area by time includes the following sub-steps: Housing areas, building areas and secondary areas are collectively referred to as responsibility areas; Establishing a sanitation rating database; Taking the rating cycle as a cycle, the historical sanitation rating of the responsible area is included. The historical sanitation rating is the rating of the sanitation work of the responsible area within the rating cycle by the sanitation department. The historical sanitation rating includes qualified and unqualified.

8. The sanitation post control method based on grid allocation according to claim 7 is characterized in that: Analyze the historical sanitation ratings and adjust the sanitation positions according to the analysis results, including the following sub-steps: Get the latest historical sanitation rating of the responsible area and mark it as real-time sanitation rating; Get the historical sanitation rating before the real-time sanitation rating and mark it as the previous sanitation rating; Check whether the real-time sanitation rating and the previous sanitation rating are both unqualified. If so, output a job adjustment signal; if not, output a job stability signal; If a post control signal is output, post control will be performed on the second-level grid leader or the third-level grid leader corresponding to the responsible area, and the post control will be performed by the first-level grid leader.

9. A system applicable to the sanitation post control method based on grid allocation according to any one of claims 1 to 8, characterized in that: It includes a region division module, a grid allocation module, a region merging module, a rating storage module and a position control module; the region division module, the grid allocation module, the region merging module, the rating storage module and the position control module are connected to each other through data; The area division module is used to obtain a city map, divide the city into regions, and obtain divided regions, wherein the divided regions include public areas, housing areas, and building areas; Subdivide the common area to obtain common sub-areas; The grid allocation module is used to allocate grids to the divided areas, and allocate housing grid lengths, building grid lengths and primary grid lengths to different divided areas; The region merging module is used to merge the common sub-regions, divide them into secondary regions and allocate secondary grid lengths; The rating storage module is used to collectively refer to housing areas, building areas and secondary areas as responsibility areas, establish an environmental sanitation rating database, and record historical environmental sanitation ratings of the responsibility areas according to time; The post control module is used to analyze historical sanitation ratings and control sanitation posts according to the analysis results.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are executed.

Citation Information

Patent Citations

  • Urban environmental protection partition maintenance auxiliary system based on big data

    CN112668896A

  • Method for judging overflow of garbage in different urban areas based on analytic hierarchy process and application thereof

    CN115564279A

  • Regional density-based virtual reality redirection walking method

    CN117008729A

  • Cellular automaton-based environmental sanitation management method and storage medium

    CN117077987A

  • Sanitation vehicle remote regulation and control method based on data analysis

    CN118313626A

Cited By

  • Road area unit division method and system for digital management and control of highway engineering supervision

    CN120893798A