Smart sanitation data processing method and system
By dynamically planning the cleaning area and generating dynamic cleaning routes, combined with the flow of people and the cleaning coefficient, the problem of low cleaning efficiency of sweeping equipment in areas with large changes in human flow is solved, and efficient and accurate cleaning results are achieved.
Patent Information
- Application Number
- CN202411017363.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Existing sweeping equipment cannot flexibly adjust the cleaning route during the cleaning process, resulting in low cleaning efficiency in areas with large changes in human traffic, affecting the cleaning effect.
By obtaining the positioning information and regional view of the sweeping equipment, dynamically plan the cleaning area, determine the non-cleaning area and generate dynamic cleaning routes, control the sweeping equipment to perform cleaning operations, and perform re-sweeping planning based on the flow of people and cleaning coefficients.
It improves the cleaning efficiency and quality of sweeping equipment, ensures all-round cleaning coverage in the sanitary area, reduces interference to people queuing, and adapts to changes in the flow of people in different time periods.
Smart Images

Figure CN118537830B
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a smart sanitation data processing method and system. Background Art
[0002] With the development of science and technology, smart sweeping equipment, as a kind of intelligent cleaning appliance, can automatically perform ground cleaning work in areas that need to be cleaned, reducing the user's cleaning labor intensity.
[0003] In the prior art, during the cleaning process of the sweeping device, the sweeping device usually performs the cleaning task according to a preset cleaning route. In this way, the sweeping device may not be able to flexibly adjust according to the actual situation during cleaning. For example, when cleaning in a place where the flow of people often changes, the sweeping device may cause interference to personnel during the cleaning process, which may cause the cleaning efficiency of the sweeping device to be low and affect the cleaning effect of the sweeping device.
[0004] Therefore, how to enable the sweeping equipment to perform adaptive cleaning planning during the cleaning process and improve cleaning efficiency has become an urgent problem to be solved. Summary of the invention
[0005] The present invention provides a smart sanitation data processing method and system, which can enable a sweeping device to perform adaptive cleaning planning during the cleaning process, thereby improving cleaning efficiency.
[0006] A first aspect of the present invention provides a smart sanitation data processing method, characterized by comprising:
[0007] Determine a sanitary area based on positioning information of the sweeping device in an instant cleaning time period, obtain a regional view of the sanitary area, and determine a dynamic planning area in the sanitary area according to the regional view;
[0008] Acquire personnel data corresponding to the dynamic planning area, and determine a non-cleaning area within the dynamic planning area according to the personnel data;
[0009] Generate a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and control the cleaning device to perform a cleaning operation based on the dynamic cleaning route;
[0010] A cleaning coefficient of the dynamic planning area is obtained, and supplementary cleaning data of the sanitary area by the cleaning device during the scheduled cleaning time period is determined according to the cleaning coefficient.
[0011] Optionally, in a possible implementation of the first aspect, determining a sanitary area based on positioning information of a sweeping device in an instant cleaning time period, acquiring a regional view of the sanitary area, and determining a dynamic planning area in the sanitary area according to the regional view include:
[0012] Obtain historical views of the sanitary area taken from a bird's-eye view during multiple historical time periods corresponding to the immediate cleaning time period, and retrieve a queue statistics template to overlay the historical views;
[0013] Determine the historical statistical area in the historical view according to the benchmark statistical area in the queue statistical template, and determine the historical passenger flow corresponding to the benchmark statistical area according to the average number of queue persons in the historical statistical area;
[0014] Based on the historical passenger flow, multiple passenger flow adjustment intervals are traversed to determine the adjustment length corresponding to the passenger flow adjustment interval where the historical passenger flow is located as the target length, and the reference length of the corresponding reference statistical area in the queue direction is adjusted according to the target length to obtain a queue positioning template;
[0015] A regional view of the sanitary area taken from above during the instant cleaning time period is obtained, the queue positioning template is superimposed on the regional view, and a dynamic planning area corresponding to each of the benchmark statistical areas in the regional view is determined.
[0016] Optionally, in a possible implementation manner of the first aspect, obtaining personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data includes:
[0017] Obtaining a device outline corresponding to the sweeping device in the area view, and determining a dynamic planning area that is closest to the device outline and has a personnel outline as a target planning area;
[0018] Parsing the personnel data to obtain multiple personnel profiles in the target planning area, and obtaining the personnel profiles arranged adjacently in the queue direction as the same queue group;
[0019] Generate a single outer contour frame corresponding to the contours of all personnel in each queue group, and determine the direction perpendicular to the queue direction as the cleaning direction;
[0020] Obtaining the interval distance between adjacent edges in the adjacent single outer contour frame in the sweeping direction, and determining the queue group whose interval distance is less than the sweeping distance threshold as a merged group;
[0021] A merged outer contour frame corresponding to all the person contours in the merged group is generated, and the area within the single outer contour frame and / or the merged outer contour frame is determined as a non-cleaning area.
[0022] Optionally, in a possible implementation of the first aspect, generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route, includes:
[0023] Divide the target planning area into regions according to the current flow of people in the target planning area to obtain multiple planning sub-areas;
[0024] Determine the planned sub-area located in the non-cleaning area as an avoidance sub-area, and determine the planned sub-area other than the avoidance sub-area as a cleaning sub-area;
[0025] Sequentially numbering each of the cleaning sub-areas according to the cleaning direction and the queue direction to obtain a cleaning number for each of the cleaning sub-areas;
[0026] The cleaning positioning points of each cleaning sub-area are obtained, and the cleaning positioning points of each cleaning sub-area are sequentially connected according to the cleaning number to obtain a dynamic cleaning route, and the sweeping device is controlled to perform a cleaning operation based on the dynamic cleaning route.
[0027] Optionally, in a possible implementation manner of the first aspect, the target planning area is divided into regions according to the current flow of people in the target planning area to obtain a plurality of planning sub-areas, including:
[0028] Acquire a division specification corresponding to the current human flow, wherein the division specification includes a first division length in the cleaning direction and a second division length in the queue direction;
[0029] In the sweeping direction, a plurality of first dividing lines are sequentially generated, each having a spacing equal to the first dividing length and being perpendicular to the sweeping direction;
[0030] Sequentially generate a plurality of second dividing lines in the queue direction, the second dividing lines having an interval distance equal to the second dividing length and being perpendicular to the queue direction;
[0031] The target planning area is divided into regions according to the first dividing line and the second dividing line to obtain a plurality of planning sub-areas.
[0032] Optionally, in a possible implementation manner of the first aspect, obtaining a division specification corresponding to the current pedestrian flow includes:
[0033] Acquire a cleaning range of the cleaning device, and determine a first cleaning length in the cleaning direction and a second cleaning length in the queue direction according to the cleaning range;
[0034] Traversing multiple range offset intervals according to the current human flow, determining that a range offset value corresponding to the range offset interval where the current human flow is located is a target offset value;
[0035] A first division length is obtained based on a difference between the first sweep length and the target offset value, and a second division length is obtained based on a difference between the second sweep length and the target offset value.
[0036] Optionally, in a possible implementation manner of the first aspect, sequentially numbering each of the cleaning sub-areas according to the cleaning direction and the queue direction to obtain a cleaning number of each of the cleaning sub-areas includes:
[0037] Acquire a plurality of cleaning sub-areas arranged adjacent to each other in the queue direction as the same arrangement group, and sequentially arrange the arrangement groups according to the cleaning direction to obtain an arrangement sequence;
[0038] Determine the first arrangement group in the arrangement sequence as the target group, and sequentially number the target groups according to the queue direction to obtain the cleaning number of each cleaning sub-area in the target group;
[0039] Continue to determine the next arrangement group in the arrangement sequence as the next target group, obtain a relative direction opposite to the queue direction, and continue to sequentially number the next target group according to the relative direction to obtain the cleaning number of each cleaning sub-area in the next target group;
[0040] Repeat the step of cross-sequentially numbering the target groups according to the queue direction and the relative direction until the cleaning numbers corresponding to all cleaning sub-areas are obtained.
[0041] Optionally, in a possible implementation of the first aspect, obtaining a cleaning coefficient of the dynamic planning area, and determining, according to the cleaning coefficient, supplementary cleaning data of the sanitary area by the sweeping device during the scheduled cleaning time period, includes:
[0042] Obtaining the dynamic flow of people in each of the dynamic planning areas during the instant cleaning time period, and obtaining a type of weight coefficient according to the ratio of the dynamic flow of people to the benchmark flow of people;
[0043] Obtaining a second type of weight coefficient according to a ratio of the area of the non-cleaning area to the area of the dynamic programming area, and obtaining a cleaning coefficient of the corresponding dynamic programming area based on the sum of the first type of weight coefficient and the second type of weight coefficient;
[0044] Based on the cleaning coefficient, multiple cleaning coefficient intervals in the cleaning frequency table are traversed to determine the preset frequency corresponding to the cleaning coefficient interval where the cleaning coefficient is located as the supplementary cleaning frequency corresponding to the corresponding dynamic planning area;
[0045] According to the cleaning coefficient, the dynamic planning areas are arranged from large to small to obtain a supplementary cleaning sequence, and the supplementary cleaning frequency is bound to the corresponding dynamic planning area in the supplementary cleaning sequence to obtain the supplementary cleaning data of the sanitary area in the scheduled cleaning time period.
[0046] Optionally, in a possible implementation of the first aspect, a cleaning request from a demand side is received, and a regional space corresponding to the sanitation general area is retrieved and sent to the demand side;
[0047] Acquire a virtual sanitary area selected by the demand side in the regional space as a demand area, and receive a sub-area to be cleaned defined by the demand side in the demand area and a cleaning requirement input for the sub-area to be cleaned;
[0048] Customized cleaning data is generated according to the sub-area to be cleaned and the cleaning requirement, and the cleaning device is controlled to perform a cleaning operation based on the customized cleaning data.
[0049] A second aspect of the present invention provides a smart sanitation data processing system, comprising:
[0050] A determination module, configured to determine a sanitary area based on the positioning information of the sweeping device in the instant cleaning time period, obtain a regional view of the sanitary area, and determine a dynamic planning area in the sanitary area according to the regional view;
[0051] An acquisition module, used for acquiring personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data;
[0052] A generation module, used for generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route;
[0053] The supplementary cleaning module is used to obtain the cleaning coefficient of the dynamic planning area, and determine the supplementary cleaning data of the sanitary area by the sweeping device during the scheduled cleaning time period according to the cleaning coefficient.
[0054] The beneficial effects of the present invention are as follows:
[0055] 1. The present invention can dynamically plan the cleaning path of the sweeping equipment in combination with the flow of people in the hospital during the cleaning time period, which can ensure that the sweeping equipment completes the cleaning task efficiently and accurately, and can make up for the missed cleaning area. The cleaning coverage and cleaning quality of the sweeping equipment can be improved. When the present invention performs cleaning planning for the sweeping equipment, it can perform cleaning planning in different ways in combination with the flow of people in the hospital in different time periods. When performing cleaning planning in the instant cleaning time period with a large flow of people, the area where the sweeping equipment is to clean is first determined as the dynamic planning area. When performing cleaning planning for the dynamic planning area, in order to reduce the interference caused to the queued personnel, the area where the queued personnel are located can be determined as the non-cleaning area. When the sweeping equipment is performing cleaning work, it can avoid the non-cleaning area, and then generate a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area. The sweeping equipment can clean the cleaning area according to the generated dynamic cleaning route, which can improve the cleaning quality and cleaning efficiency of the sweeping equipment.
[0056] 2. When generating a dynamic cleaning route, the present invention first determines the area that is closest to the outline of the sweeping equipment and has a human outline as the target planning area, and then divides the target planning area into multiple planning sub-areas according to the current flow of people in the target planning area, determines the planning sub-areas located in the non-cleaning area as avoidance sub-areas, and determines the planning sub-areas other than the avoidance sub-areas as cleaning sub-areas. The cleaning sub-areas are numbered sequentially, and the cleaning numbers corresponding to all cleaning sub-areas can be obtained. The sweeping equipment can quickly identify and locate each cleaning sub-area that needs to be cleaned according to the cleaning number, thereby improving the cleaning efficiency. According to the cleaning number, the center point in the cleaning sub-area can be connected by path, and a dynamic cleaning route can be obtained. When dividing the target planning area, the present invention can divide it according to the division specifications, and the division specifications can be timely reduced and adjusted according to the current flow of people, and the obtained planning sub-areas will also be reduced, so that the dynamic adjustment of the dynamic cleaning route can be realized in combination with the flow of people, thereby improving the cleaning efficiency and cleaning flexibility of the sweeping equipment.
[0057] 3. The present invention can plan supplementary cleaning of sanitary areas within the scheduled cleaning time period set by the hospital, and can ensure that the sweeping equipment conducts comprehensive cleaning of all sanitary areas in the hospital, thereby improving the cleaning coverage rate of the sweeping equipment. When planning supplementary cleaning, the cleaning coefficient corresponding to the dynamic planning area can be obtained according to the dynamic flow of people in the dynamic planning area during the immediate cleaning time period and the area of the non-cleaning area. The supplementary cleaning frequency corresponding to the dynamic planning area can be determined according to the cleaning coefficient. Supplementary cleaning work is performed on the dynamic planning area according to the supplementary cleaning frequency, which can improve the cleaning quality of the sweeping equipment. The present invention can determine the cleaning area in combination with the needs of the medical staff when the medical staff has an immediate cleaning need, so that the sweeping equipment can be controlled to clean the corresponding area in a timely manner. In order to help the medical staff intuitively understand the layout of the entire sanitary area, the server can retrieve and display to the medical staff a regional space corresponding to the sanitary area of the hospital. The medical staff can select a virtual sanitary area as the demand area to be cleaned in the regional space provided by the server, and the medical staff can further delineate the sub-area to be cleaned that needs to be cleaned in the selected demand area, input specific cleaning requirements for the sub-area to be cleaned, customize the cleaning service according to the actual cleaning needs of the medical staff, carry out targeted cleaning planning for the corresponding sanitary area, and at the same time improve the cleaning efficiency of the sweeping equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 It is a flowchart of a method for processing smart sanitation data provided by an embodiment of the present invention;
[0059] Figure 2 is a schematic diagram of a dynamic cleaning route provided by an embodiment of the present invention;
[0060] Figure 3 is a schematic diagram of a sub-area to be cleaned provided by an embodiment of the present invention;
[0061] Figure 4 It is a structural diagram of a smart sanitation data processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the 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.
[0063] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0064] See also Figure 1 , is a schematic diagram of a smart sanitation data processing method provided by an embodiment of the present invention, Figure 1 The execution subject of the method shown may be a software and / or hardware device. The execution subject of the present application may include but is not limited to at least one of the following: user equipment, network equipment, etc. Among them, user equipment may include but is not limited to computers, smart phones, personal digital assistants (PDA) and the electronic devices mentioned above. Network equipment may include but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of computers or network servers, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. This embodiment does not limit this. It includes steps S1 to S4, as follows:
[0065] S1, determining a sanitary area based on positioning information of a sweeping device in an instant cleaning time period, obtaining a regional view of the sanitary area, and determining a dynamic planning area in the sanitary area according to the regional view.
[0066] The sanitary area in this plan can be the area in the hospital that needs to be cleaned. It is understandable that the hospital, as a place for medical services, has extremely high requirements for cleanliness, especially in areas where people queue up, such as the registration window area, the medicine collection window area, etc. These areas are densely populated and easy to accumulate dirt and germs. In order to maintain the cleanliness of various areas of the hospital and provide a clean and comfortable treatment and working environment for patients and medical staff, this plan can combine different time periods to plan different cleaning methods for the sweeping equipment.
[0067] Specifically, there are multiple sanitary areas in a hospital, such as a hospital outpatient hall, a waiting area, etc. In actual applications, the sweeping device itself can be configured with a positioning system that can perform real-time positioning. Therefore, the positioning information of the sweeping device can be used to determine in which sanitary area the sweeping device is currently located during the immediate cleaning time period. For example, during the immediate cleaning time period, if the positioning information is in the hospital outpatient hall, the sweeping device may be located in the hospital outpatient hall. During time periods with large flow of people, there may be multiple queuing areas in the hospital outpatient hall, such as the registration area, the medicine collection area, etc. There are queues in these areas. If the sweeping device cleans in the queuing area according to a predetermined route, it may interfere with the queuing people. Therefore, in order to reduce the interference of the sweeping device to the queuing people during the cleaning process, this solution can dynamically plan the cleaning path of the sweeping device based on the flow of people in the queuing area in the sanitary area.
[0068] When performing dynamic planning, you first need to obtain the regional view corresponding to the sanitary area. Specifically, you can use the surveillance camera with a bird's-eye view installed inside the hospital to shoot the sanitary area when there are people queuing in the sanitary area, and then obtain the regional view corresponding to the sanitary area. For example, if there are multiple people arranged in an orderly manner along a certain direction in the monitoring screen to form a queue-like shape, you can shoot the regional image. Since there are multiple people queuing in the sanitary area, the queuing area that the sweeping device is currently cleaning can be determined based on the positioning information of the sweeping device, and the cleaning plan can be made for the queuing area that the sweeping device is currently cleaning.
[0069] Among them, the sweeping equipment refers to the equipment that performs cleaning work, which may be a sweeping robot. The immediate cleaning time period refers to the time period for dynamically planning the cleaning process of the sweeping equipment, which may be the peak period for patients to visit the hospital, such as the time period between 9 am and 11 am. The sanitary area refers to the area where the sweeping equipment is located and needs to be cleaned. The area view refers to the overhead view that can display the layout of the sanitary area. The dynamic planning area refers to the queuing area where the planning data is dynamically adjusted according to the flow of people, which may be the queuing area for registration, the queuing area for picking up medicine, and other areas where people are queuing.
[0070] Based on the above embodiment, the specific implementation of step S1 may be:
[0071] S11, obtaining historical views of the sanitary area taken from a bird's-eye view during multiple historical time periods corresponding to the immediate cleaning time period, and retrieving a queue statistics template to overlay the historical views.
[0072] In actual applications, since the flow of people in different queuing areas may change, the size of the queuing areas corresponding to different flow of people may also change. Dynamic planning of the size of the queuing areas with changed flow of people can flexibly adjust the queuing areas according to the actual flow of people, thereby ensuring that the size of the area where the sweeping equipment is performing cleaning work is neither too large nor too small, thereby improving the cleaning effect of the sweeping equipment. Therefore, when determining the dynamic planning area, the flow of people in the sanitary area during the immediate cleaning time period can be obtained, and the size of the queuing area can be dynamically adjusted according to the flow of people.
[0073] When the size of the queuing area is dynamically adjusted, corresponding adjustments can be made based on the flow of people information in multiple historical time periods corresponding to the immediate cleaning time period. Specifically, multiple historical views taken in each historical time period can be obtained. For example, multiple historical views of the sanitary area taken at the same interval of time, such as ten minutes, can be obtained within the historical time period. By calculating the average of the flow of people in multiple historical views, the flow of people in the sanitary area in each historical time period can be obtained. Then, by calculating the average of the flow of people in multiple historical time periods, the flow of people information in the immediate cleaning time period corresponding to the historical time period can be determined.
[0074] It is worth mentioning that the monitoring posture of the monitoring equipment corresponding to the sanitary area will not change. Therefore, the corresponding queue statistical template can be configured in advance according to the area position corresponding to each queuing area in the monitoring screen. There is a one-to-one correspondence between each benchmark statistical area in the queue statistical template and the position of the corresponding queuing area in the sanitary area. The specifications of the queue statistical template can be consistent with the specifications of the monitoring screen of the monitoring equipment, and the specifications of the historical view are also consistent with the specifications of the monitoring screen. Therefore, when the queue statistical template is superimposed on the historical view, the corresponding position of each queuing area in the historical view can be determined.
[0075] Among them, the historical time period refers to the time period corresponding to the immediate cleaning time period within a certain period of time in the past. For example, when the timely cleaning time period is from 9:00 to 11:00, the historical time period can be the time period from 9:00 to 11:00 every day in the past week. The historical view refers to the overhead view of the sanitation area corresponding to the historical time period. The queue statistics template is a template used to determine the corresponding location area of each queuing area in the sanitation area.
[0076] S12, determining a historical statistical area in the historical view according to the benchmark statistical area in the queue statistical template, and determining a historical flow of people corresponding to the benchmark statistical area according to the average number of people in the queue in the historical statistical area.
[0077] It can be understood that the queue statistics template contains multiple benchmark statistical areas, and the historical view can be divided. Specifically, after the queue statistics template is superimposed on the historical view, since the specifications of the queue statistics template are consistent with those of the historical view, the historical statistical area in the historical view can be determined through the benchmark statistical area in the queue statistics template. The server can identify the queue personnel in the historical statistical area, and can record the identified queue personnel, and can obtain the queue personnel in each historical statistical area in the historical view in multiple historical time periods. The queue personnel in multiple historical views are averaged, and the average queue personnel in each historical statistical area can be obtained. The average can be determined as the historical traffic corresponding to the benchmark statistical area. The benchmark statistical area in the queue statistics template can be adjusted according to the historical traffic, and the queue positioning template can be obtained, so that the dynamic planning area can be determined, and the dynamic adjustment of the area size of the queue area can be realized.
[0078] Among them, the benchmark statistical area refers to the benchmark position area corresponding to each queue area in the queue statistics template. This area can be demarcated in advance by the staff based on the positions of each queue area. The historical statistical area refers to the area position corresponding to each queue area in the historical view.
[0079] S13, traversing multiple crowd adjustment intervals based on the historical crowd flow, determining the adjustment length corresponding to the crowd adjustment interval where the historical crowd flow is located as the target length, and adjusting the benchmark length of the corresponding benchmark statistical area in the queue direction according to the target length to obtain a queue positioning template.
[0080] It is understandable that there may be multiple queue windows in the queue area, and the positions of each queue window are fixed. Therefore, in the window arrangement direction, the span of the multiple queue windows is fixed. However, when people queue in front of the queue windows, the queue span in the queue direction may be different due to different flow of people. Therefore, when adjusting the benchmark statistical area, what is adjusted is the benchmark length of the benchmark statistical area in the queue direction.
[0081] Specifically, after obtaining the historical passenger flow corresponding to the benchmark statistical area, multiple passenger flow adjustment intervals are traversed according to the historical passenger flow. Each passenger flow adjustment interval has a corresponding adjustment length. The adjustment length corresponding to the benchmark statistical area can be obtained. The adjustment length can be determined as the target length. According to the target length, the benchmark length of the benchmark statistical area in the queue direction is adjusted to obtain a queue positioning template.
[0082] Among them, the crowd adjustment interval refers to a preset adjustment interval corresponding to the crowd flow, the adjustment length refers to the preset length for adjusting the size of the queuing area, and in some embodiments, the larger the interval value, the larger the adjustment length can be, the target length refers to the adjustment length corresponding to the benchmark statistical area, the queue direction refers to the direction in which people queue, the benchmark length refers to the initial length of the benchmark statistical area, and the queue positioning template refers to the template after adjusting the size of the queuing area according to the crowd flow.
[0083] S14, obtaining a regional view of the sanitary area taken from above during the instant cleaning time period, superimposing the queue positioning template on the regional view, and determining a dynamic planning area in the regional view corresponding to each of the benchmark statistical areas.
[0084] Specifically, after obtaining the queue positioning template, the regional view corresponding to the sanitation area during the immediate cleaning time period from a bird's-eye view can be obtained, and the queue positioning template can be superimposed on the regional view to determine multiple dynamic planning areas in the regional view corresponding to the sanitation area.
[0085] Through the above implementation, the size of the dynamic planning area can be dynamically planned, so that the dynamic planning area can be flexibly adjusted according to the actual flow of people, thereby improving the flexibility of the sweeping device when cleaning.
[0086] S2, obtaining personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data.
[0087] It is understandable that in order to reduce the interference to the queued personnel, the area where the queued personnel are located can be determined as a non-cleaning area, and the subsequent sweeping equipment can avoid the non-cleaning area when performing cleaning work, thereby reducing the interference to the queued personnel. Specifically, the non-cleaning area can be determined by the area where the queued personnel are queuing, wherein the personnel data refers to the data of the personnel queuing in the dynamic planning area, and the non-cleaning area refers to the area where the sweeping equipment does not perform cleaning work.
[0088] Based on the above embodiment, the specific implementation of step S2 may be:
[0089] S21, obtaining a device outline corresponding to the sweeping device in the area view, and determining a dynamic planning area that is closest to the device outline and has a personnel outline as a target planning area.
[0090] It can be understood that the regional view contains multiple dynamic planning areas. You can first determine which dynamic planning area the sweeping device is currently cleaning, and then dynamically plan the cleaning path of the sweeping device based on the actual situation in the corresponding area. Specifically, you can extract the device outline corresponding to the sweeping device in the regional view, and judge the distance between the device outline of the sweeping device and each dynamic planning area. When the distance between the device outline and the dynamic planning area is less than a threshold, it can be considered that the sweeping device is about to go to the dynamic planning area for cleaning, and if there is a personnel outline in the dynamic planning area, the dynamic planning area can be used as the target planning area. If there is no personnel outline in the dynamic planning area, it means that there are no queuing personnel in the area, and the sweeping device does not need to be planned, but only needs to clean the area along a fixed route.
[0091] The device outline refers to the outline corresponding to the sweeping device, and the target planning area refers to the area currently being cleaned by the sweeping device.
[0092] S22, parsing the personnel data to obtain multiple personnel profiles in the target planning area, and obtaining the personnel profiles arranged adjacently in the queue direction as the same queue group.
[0093] Specifically, after obtaining the personnel data of the dynamic planning area, multiple personnel contours in the target planning area can be obtained by extracting the contours of the personnel data. When multiple personnel contours are arranged in an orderly manner along the same direction, that is, the above-mentioned queue direction, it can be considered that the corresponding multiple personnel contours are in the same queue in this direction. Among them, the queue direction refers to the direction in which personnel queue up. For example, in front of a registration window, people will queue up in one direction and wait. This direction can be used as the queue direction. The queue group refers to a group of personnel contours arranged adjacent to each other in the queue direction.
[0094] In some embodiments, the present disclosure takes into account that people do not stand neatly when queuing, and in order to better obtain the above-mentioned queue group, the following steps are also included:
[0095] Acquire a window identifier in the area view and a window outline corresponding to the window identifier;
[0096] Determine a left edge line of the window outline as a first edge line, and determine a right edge line of the window outline as a second edge line;
[0097] Based on the queue direction, the first edge line and the second edge line are extended to obtain a first extended line and a second extended line;
[0098] Generate queue ranges according to the first extension line and the second extension line, obtain personnel contours within each queue range, count the number of contour pixels of the personnel contours, and classify personnel contours with a number of pixels greater than a preset number into the corresponding queue range;
[0099] The personnel outlines within the queue range are taken as an initial queue group, and a secondary adjustment process is performed on the initial queue group to obtain a queue group.
[0100] On the basis of the above embodiment, the initial queue group is subjected to secondary adjustment processing to obtain a queue group, including:
[0101] Obtaining distance information between adjacent personnel contours in the initial queue group, and if the distance information is greater than a preset distance, separating the corresponding two personnel contours into a separate group;
[0102] Determine a person outline in the separation group close to the window mark as a first separation outline, and determine another person outline in the separation group as a second separation outline;
[0103] Obtain a first separation center of the first separation contour and a second separation center of the second separation contour, and obtain a separation middle point according to the middle position of the first separation center and the second separation center;
[0104] The direction perpendicular to the queue direction is used as the construction direction, the separation middle point is used as the reference point, a separation line is generated, and the personnel contours located behind the separation line are deleted to obtain a queue group. S23, a single outer contour box corresponding to all personnel contours in each queue group is generated, and the direction perpendicular to the queue direction is determined as the cleaning direction.
[0105] It can be understood that after obtaining the outlines of the people, in order to facilitate the sweeping device to determine the area where the queueing people are located, the queueing people can be avoided in the subsequent cleaning process, so that the sweeping device can reduce the interference with the queueing people when cleaning. A corresponding single outer contour frame can be generated based on the outlines of all the people in the queue group, and the sweeping device can avoid the area where the single outer contour frame is located when cleaning.
[0106] In actual applications, when the sweeping direction of the sweeping device is perpendicular to the queue direction, the sweeping device can perform sweeping along a path different from the queue direction, thereby avoiding conflicts with the queue personnel during the cleaning process, reducing repeated or missed cleaning caused by personnel movement, and improving cleaning efficiency. The single outer contour frame refers to a rectangular frame that can contain the outlines of the personnel in the entire queue group, and the sweeping direction refers to the direction in which the sweeping device sweeps.
[0107] Based on the above embodiment, the specific implementation of step S23 may be:
[0108] S231, obtaining a plurality of contour points corresponding to the personnel contour, and determining the maximum coordinate values and the minimum coordinate values of the contour points in the queue direction and the cleaning direction.
[0109] Specifically, when generating a single outer contour frame, multiple contour points corresponding to the personnel contour can be obtained, and the contour points can be coordinateized. According to the coordinate values corresponding to the contour points, the maximum coordinate values and minimum coordinate values of the multiple contour points in the queue direction, as well as the maximum coordinate values and minimum coordinate values of the contour points in the sweeping direction can be determined. For example, when the queue direction is consistent with the x-axis direction, the maximum coordinate value and minimum coordinate value corresponding to the contour point in the queue direction can be the maximum x-axis coordinate value and the minimum x-axis coordinate value, and when the sweeping direction is consistent with the y-axis direction, the maximum coordinate value and minimum coordinate value corresponding to the contour point in the sweeping direction can be the maximum y-axis coordinate value and the minimum y-axis coordinate value.
[0110] S232: Obtain a minimum adjustment value based on a difference between the minimum coordinate value and the reference offset distance, and obtain a maximum adjustment value based on a sum of the maximum coordinate value and the reference offset distance.
[0111] It is understandable that in order to keep the sweeping device at a certain distance from the queued personnel during cleaning and reduce interference to the queued personnel, the maximum coordinate value and the minimum coordinate value of the contour point in the queue direction and the cleaning direction can be adjusted to obtain the minimum adjustment value and the maximum adjustment value. The single outer contour frame generated by the minimum adjustment value and the maximum adjustment value allows the area swept by the sweeping device to be separated from the area where the personnel are queuing by a certain distance. Among them, the minimum adjustment value in the queue direction can be the difference between the minimum x-axis coordinate value and the reference offset distance, the maximum adjustment value can be the sum of the maximum x-axis coordinate value and the reference offset distance, the minimum adjustment value in the cleaning direction can be the difference between the minimum y-axis coordinate value and the reference offset distance, and the maximum adjustment value can be the sum of the maximum y-axis coordinate value and the reference offset distance.
[0112] The reference offset distance is a distance that can be used to offset the preset extreme point. The reference offset distance can be used to keep a certain distance between the sweeping device and the queued personnel.
[0113] S233, based on the minimum adjustment value and the maximum adjustment value, mutually perpendicular dividing lines are generated, and a single outer contour frame corresponding to the corresponding queue group is generated according to the dividing lines. Four mutually perpendicular dividing lines can be generated by the obtained minimum adjustment value and maximum adjustment value. For example, when the queue direction is consistent with the x-axis direction, two dividing lines perpendicular to the x-axis can be generated by the minimum adjustment value and the maximum adjustment value, and these two dividing lines are parallel to each other. When the cleaning direction is consistent with the y-axis direction, two dividing lines perpendicular to the y-axis can be generated by the minimum adjustment value and the maximum adjustment value, and these two dividing lines are also parallel to each other. According to these four mutually perpendicular dividing lines, a rectangular outer frame can be generated. The rectangular outer frame is a single outer contour frame, which can determine the area corresponding to the queue group.
[0114] S24, obtaining the spacing distances between adjacent edges in the adjacent single outer contour frames in the cleaning direction, and determining the queue group whose spacing distance is less than the cleaning distance threshold as a merged group.
[0115] Specifically, after generating a single outer contour frame, the interval distance between adjacent edges of adjacent single outer contour frames in the cleaning direction can be obtained. If the interval distance is less than the cleaning interval threshold, it can be considered that the distance between the two adjacent queue groups is too small. The sweeping device may cause interference to the people on both sides when cleaning the gap between the two adjacent areas. Therefore, the areas corresponding to the two adjacent queue groups can be merged so that the sweeping device can avoid the corresponding areas when cleaning, thereby reducing interference to the queued people.
[0116] Among them, the interval distance refers to the distance between adjacent edges of adjacent single outer contour boxes in the cleaning direction. The cleaning interval threshold refers to a preset value used to measure the distance between adjacent queues. If it is less than the threshold, it means that the distance between adjacent queues may be small. The merged group refers to the group formed by merging adjacent queue groups.
[0117] S25, generating a merged outer contour frame corresponding to all the person contours in the merged group, and determining the single outer contour frame and / or the area within the merged outer contour frame as a non-cleaning area.
[0118] When generating a merged outer contour frame corresponding to the contours of all personnel in the merged group, it can be determined based on the multiple single outer contour frames corresponding to the merged group to generate an outer contour that can contain the contours of all personnel in the merged group. Specifically, the frame lines of the corresponding single outer contour frames can be extended to form an outer contour that can contain all single outer contour frames corresponding to the merged group. Since the single outer contour frame can contain the contours of all personnel in the corresponding queue group, the outer contour obtained therefrom can also contain the contours of all personnel in the merged group. Therefore, the non-cleaned areas corresponding to multiple queues with close spacing can be determined through the obtained merged outer contour frame.
[0119] Based on the above embodiment, the specific implementation of step S25 may be:
[0120] S251, determining the extreme outer frame lines in the plurality of single outer contour frames corresponding to the merged group that are located in the queue direction and the sweeping direction.
[0121] Specifically, after obtaining multiple single outer contour frames corresponding to the merged group, the coordinate values corresponding to each frame line can be obtained in the queue direction and the sweeping direction, and then the frame lines corresponding to the maximum coordinate values and the minimum coordinate values in the corresponding directions are obtained as the above-mentioned extreme outer frame lines, so that the outermost contour frame can be determined by the extreme outer frame lines.
[0122] S252, extending each of the extreme value outer frame lines to obtain a merged outer contour frame corresponding to the merged group.
[0123] Specifically, since the extreme value outer frame lines may not intersect each other, in order to generate a rectangular outer frame based on the four extreme value outer frame lines, the extreme value outer frame lines may be extended to obtain a merged outer contour frame that can include the entire merged group.
[0124] Through the above implementation, the non-cleaning area can be dynamically planned in combination with the real-time situation of human flow, thereby reducing the interference caused by the sweeping equipment to personnel during cleaning.
[0125] S3, generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route.
[0126] Specifically, after obtaining the non-cleaning area, the area outside the non-cleaning area in the dynamic planning area is the area that the sweeping device needs to clean. The server can generate a dynamic cleaning route according to the area that the sweeping device needs to clean, so that the sweeping device can clean the cleaning area according to the generated dynamic cleaning route, thereby improving the flexibility of the cleaning process. The dynamic cleaning route refers to the route dynamically planned by the sweeping device when performing cleaning work.
[0127] Based on the above embodiment, the specific implementation of step S3 may be:
[0128] S31, dividing the target planning area into regions according to the current flow of people in the target planning area to obtain a plurality of planning sub-areas.
[0129] It can be understood that in order to ensure that each area within the target planning area can be fully cleaned, when cleaning the target planning area, the target planning area can be divided into multiple small areas, and then the sweeping equipment can be controlled to clean each small area in turn. When dividing the target planning area into areas, the target planning area can be divided according to the flow of people in the target planning area to obtain multiple planning sub-areas. For target planning areas with large flow of people, more stains and bacteria may be generated. Therefore, when dividing the target planning area with large flow of people into sub-areas, the area can be more refined, so that the sweeping equipment can repeatedly clean the corresponding area in the planning sub-area during cleaning, so that the planning sub-area can be fully cleaned. Among them, the planning sub-area refers to the small area after the target planning area is divided.
[0130] Based on the above embodiment, the specific implementation of step S31 may be:
[0131] S311, obtaining a division specification corresponding to the current human flow, wherein the division specification includes a first division length in the cleaning direction and a second division length in the queue direction.
[0132] Among them, the division specification refers to the range size when the target planning area is divided into a certain range. The corresponding division specifications are different for different passenger flow rates. Since the passenger flow rate changes dynamically, the division specifications will be dynamically adjusted according to the current passenger flow rate. The first division length refers to the interval length for dividing the target planning area in the cleaning direction, and the second division length refers to the interval length for dividing the target planning area in the queue direction.
[0133] It is worth mentioning that when determining the division specifications, this solution will be determined based on the cleaning range of the sweeping equipment and the flow of people in the corresponding area, so that the sweeping equipment can fully clean the divided sub-areas and improve the quality of cleaning.
[0134] Based on the above embodiment, the specific implementation method of step S311 can be.
[0135] S3111, obtaining a cleaning range of the cleaning device, and determining a first cleaning length in the cleaning direction and a second cleaning length in the queue direction according to the cleaning range.
[0136] Among them, the cleaning range refers to the range that the sweeping device can effectively clean. In order to make the cleaning range of the sweeping device completely cover the division specifications so that the sweeping device does not omit anything during cleaning, the division specifications can be determined in combination with the cleaning range of the sweeping device. The first cleaning length refers to the cleaning distance of the sweeping device in the cleaning direction, and the second cleaning length refers to the cleaning distance of the sweeping device in the queue direction.
[0137] S3112: traverse multiple range offset intervals according to the current human flow, and determine that the range offset value corresponding to the range offset interval where the current human flow is located is a target offset value.
[0138] In order to make the cleaning range of the sweeping equipment completely cover the planned sub-area, the range of the planned sub-area can be smaller than the cleaning range. Due to the large flow of people, the degree of pollution in the corresponding area may also be higher. Therefore, the range of the planned sub-area can be reduced and adjusted accordingly based on the flow of people. When the flow of people is larger, the range of the planned sub-area can be smaller, and the sweeping equipment will repeat cleaning more areas during the cleaning process, thereby increasing the cleaning intensity of the corresponding area.
[0139] Specifically, the extent of adjustment to the division specifications will be different depending on the flow of people. The greater the flow of people, the greater the extent of adjustment to the division specifications. After obtaining the current flow of people, multiple range offset intervals can be traversed according to the current flow of people to determine that the range offset value corresponding to the current flow of people is the target offset value. Each range offset interval has a corresponding range offset value, and the division specifications can be adjusted subsequently according to the target offset value.
[0140] Among them, the range offset interval refers to the pre-configured pedestrian flow interval, and the range offset value refers to the numerical value of the range offset interval corresponding to the specification offset of the sub-area during cleaning. In actual applications, different pedestrian flow intervals can correspond to different distance offset values. The larger the numerical value corresponding to the pedestrian flow interval, the larger the offset value corresponding to the distance can be. The target offset value refers to the range offset value corresponding to the current pedestrian flow.
[0141] S3113, obtaining a first division length based on a difference between the first sweep length and the target offset value, and obtaining a second division length based on a difference between the second sweep length and the target offset value.
[0142] The first division length refers to the length obtained by subtracting the target offset value from the first cleaning length, and the second division length refers to the length obtained by subtracting the target offset value from the second cleaning length.
[0143] S312, sequentially generate a plurality of first dividing lines in the sweeping direction, the first dividing lines having an interval distance equal to the first dividing length and being perpendicular to the sweeping direction.
[0144] When generating the first dividing line, since the area corresponding to the target planning area is a rectangular area and has a corresponding rectangular outer frame, the rectangular outer frame corresponding to the target planning area can be traversed in the sweeping direction, and the first outer frame line traversed in the sweeping direction is determined as the reference frame line. At the first dividing length from the reference frame line, the first first dividing line perpendicular to the sweeping direction can be generated. At the first dividing length from the first first dividing line, the second first dividing line perpendicular to the sweeping direction can be generated. By analogy, multiple first dividing lines perpendicular to the sweeping direction can be generated. Among them, the reference frame line is the frame line of the first rectangular outer frame traversed.
[0145] S313, sequentially generate a plurality of second dividing lines in the queue direction, the second dividing lines having an interval distance equal to the second dividing length and being perpendicular to the queue direction.
[0146] Specifically, the rectangular outer frame corresponding to the target planning area can be traversed in the queue direction, and the first outer frame line traversed in the queue direction can be determined as the reference frame line. At the second division length from the reference frame line, a first second division line perpendicular to the queue direction can be generated. At the second division length from the first second division line, a second second division line perpendicular to the queue direction can be generated. By analogy, multiple second division lines perpendicular to the queue direction can be generated.
[0147] S314: Divide the target planning area into regions according to the first dividing line and the second dividing line to obtain a plurality of planning sub-areas.
[0148] Specifically, the first dividing line and the second dividing line may intersect in the target planning area, dividing the target planning area into a plurality of small rectangular areas, and the obtained plurality of rectangular areas may be regarded as planning sub-areas.
[0149] Through the above implementation, the area can be dynamically planned in combination with the flow of people, which can improve the flexibility and cleaning efficiency of the sweeping device during cleaning.
[0150] S32, determining the planned sub-area located in the non-cleaning area as an avoidance sub-area, and determining the planned sub-areas other than the avoidance sub-area as cleaning sub-areas.
[0151] It is understandable that during the cleaning process, the sweeping device can choose to avoid the area where the queueing personnel are located in order to reduce interference with the queueing personnel. Specifically, since the queueing personnel are located in the non-cleaning area, the planned sub-area located in the non-cleaning area can be determined as the avoidance sub-area, and the sweeping device may not clean the avoidance sub-area when performing cleaning work, and may perform supplementary cleaning on the avoidance sub-area later, and the planned sub-area other than the avoidance sub-area may be determined as the cleaning sub-area, and the cleaning sub-area may be cleaned.
[0152] S33, sequentially numbering each of the cleaning sub-areas according to the cleaning direction and the queue direction to obtain a cleaning number for each of the cleaning sub-areas.
[0153] It can be understood that in order to enable the sweeping device to clean each cleaning sub-area and improve the cleaning efficiency, the cleaning sub-areas that need to be cleaned can be numbered. Specifically, the sweeping device can be controlled to clean multiple cleaning sub-areas according to an S-shaped cleaning route, so that the cleaning device can cover every corner during the cleaning process and reduce the possibility of omissions. In addition, this method can also improve the cleaning efficiency. Therefore, when numbering, multiple combinations can be determined according to the queue direction, and then the multiple cleaning sub-areas in each combination can be sequentially numbered according to the cleaning direction. The cleaning route of the cleaning device is determined by the sequential numbering.
[0154] In some embodiments, the cleaning number of each cleaning sub-area can be obtained in the following manner:
[0155] S331, acquiring a plurality of cleaning sub-areas adjacently arranged in the queue direction as the same arrangement group, and sequentially arranging the arrangement groups according to the cleaning direction to obtain an arrangement sequence.
[0156] See also Figure 2 A schematic diagram of a dynamic cleaning route provided by an embodiment of the present invention,
[0157] like Figure 2 As shown in , in the queue direction, the four cleaning sub-areas in the first column are adjacently arranged sub-areas, and thus can constitute permutation group 1. Since the two planned sub-areas above the second column are located in the non-cleaning area, the two planned sub-areas above the second column are avoidance sub-areas, and the two cleaning sub-areas below the second column are adjacently arranged in the queue direction, and thus can constitute permutation group 2. Since the two planned sub-areas above the third column are located in the non-cleaning area, the two planned sub-areas above the third column are also avoidance sub-areas, and the two cleaning sub-areas below the third column are adjacently arranged in the queue direction, and thus can constitute permutation group 3. In the cleaning direction, permutation group 1, permutation group 2, and permutation group 3 are arranged sequentially to obtain a permutation sequence containing three permutation groups.
[0158] S332, determining the first arrangement group in the arrangement sequence as the target group, sequentially numbering the target groups according to the queue direction, and obtaining the cleaning number of each cleaning sub-area in the target group.
[0159] like Figure 2As shown in , since arrangement group 1 is located at the first position in the arrangement sequence, arrangement group 1 can be determined as the target group, and the four cleaning sub-areas in arrangement group 1 are numbered sequentially in the queue direction, and the cleaning numbers of the four cleaning sub-areas in arrangement group 1 can be obtained as 1-4.
[0160] S333, continue to determine that the next arrangement group in the arrangement sequence is the next target group, obtain the relative direction opposite to the queue direction, continue to sequentially number the next target group according to the relative direction, and obtain the cleaning number of each cleaning sub-area in the next target group.
[0161] In order to improve the cleaning efficiency of the sweeping equipment, the numbering order between adjacent queue groups is opposite, which can reduce the moving distance of the sweeping equipment during cleaning and improve the cleaning efficiency. Figure 2 After the first permutation group in the permutation sequence is numbered sequentially, the second permutation group in the permutation sequence, that is, permutation group 2, can be determined as the target group. When permutation group 2 is numbered, the numbering order is in the opposite direction of the queue direction, that is, from Figure 2 Starting from the last cleaning sub-area in the second column in the sequential numbering, it can be obtained that the cleaning numbers of the cleaning sub-areas in the arrangement group 2 are 5-6.
[0162] S334, repeating the step of cross-sequentially numbering the target groups according to the queue direction and the relative direction until the cleaning numbers corresponding to all cleaning sub-areas are obtained.
[0163] It is worth noting that when repeating the above steps of obtaining the cleaning number, the numbering directions between adjacent queue groups are opposite, for example, the previous one is the queue direction, the next one is the opposite direction, the next one is the queue direction, and so on, and the numbering is sequential, that is, when numbering the next queue group, the number corresponding to the first cleaning sub-area is the number of the last cleaning sub-area in the previous group, until all cleaning sub-areas obtain the corresponding cleaning numbers, and stop repeating the steps. Figure 3 As shown in , if arrangement group 1 is numbered according to the queue direction, then arrangement group 2 will be numbered in the direction opposite to the queue direction, and arrangement group 3 will be numbered according to the queue direction, and when numbering each cleaning sub-area in each arrangement group, they are numbered sequentially.
[0164] Through the above implementation, during the cleaning process of the sweeping device, each cleaning sub-area that needs to be cleaned can be quickly identified and located, thereby improving the cleaning efficiency of the sweeping device.
[0165] S34, obtaining the cleaning positioning points of each of the cleaning sub-areas, connecting the cleaning positioning points of each of the cleaning sub-areas in sequence according to the cleaning numbers to obtain a dynamic cleaning route, and controlling the sweeping device to perform a cleaning operation based on the dynamic cleaning route.
[0166] The cleaning positioning point refers to the cleaning point in each cleaning sub-area, which can be the center point of the cleaning sub-area. During the cleaning process, the sweeping device needs to reach the cleaning positioning point to clean the cleaning sub-area. Specifically, when determining the moving route of the sweeping device, it can be determined by obtaining the cleaning positioning point. After obtaining the cleaning number of each cleaning sub-area, such as Figure 2 As shown in , the cleaning sub-areas can be connected in sequence according to the cleaning numbers to obtain a dynamic cleaning route. The sweeping device can move from a positioning point of one cleaning sub-area to a positioning point of the next cleaning sub-area according to the dynamic cleaning route to clean the dynamically planned area.
[0167] Through the above implementation, the cleaning quality and cleaning efficiency of the sweeping device can be improved.
[0168] S4, obtaining a cleaning coefficient of the dynamic planning area, and determining supplementary cleaning data of the sanitary area by the sweeping device during the scheduled cleaning time period according to the cleaning coefficient.
[0169] It is understandable that in order to carry out comprehensive cleaning of the sanitary area, this plan will also re-sweep the sanitary area. Since there may be uncleaned areas in the dynamic planning area, when re-sweeping the sanitary area, the cleaning coefficient of the dynamic planning area can be determined in combination with the uncleaned area. Therefore, the re-sweeping frequency of each dynamic planning area can be determined by the cleaning coefficient, and the re-sweeping data of the sanitary area can be determined by the re-sweeping frequency.
[0170] Among them, the cleaning coefficient refers to the value used to evaluate the cleaning frequency of the dynamic planning area. The larger the cleaning coefficient of the dynamic planning area, the greater the cleaning demand of the dynamic planning area may be, and thus the frequency of cleaning of the dynamic planning area may also be greater. The scheduled cleaning time period refers to the fixed cleaning time period formulated by the hospital according to daily cleaning needs, which can be a time period with fewer people such as between 10 pm and 12 pm.
[0171] Based on the above embodiment, the specific implementation of step S4 may be:
[0172] S41, obtaining the dynamic flow of people in each of the dynamic planning areas during the instant cleaning time period, and obtaining a type of weight coefficient according to the ratio of the dynamic flow of people to the reference flow of people.
[0173] The flow of people in different dynamic planning areas will change with time. When obtaining the dynamic flow of people, the number of people queuing in multiple area views corresponding to the dynamic planning area during the immediate cleaning time period can be obtained respectively. The number of people queuing in multiple area views can be averaged to obtain the dynamic flow of people in the dynamic planning area during the immediate cleaning time period. The dynamic flow of people refers to the flow of people in the dynamic planning area during the immediate cleaning time period, and the benchmark flow of people refers to the standard flow of people corresponding to the pre-configured immediate cleaning time period. A type of weight coefficient can reflect the density of people in the dynamic planning area during the timely cleaning time period. Areas with large flow of people may have relatively dense personnel, and may also produce more stains, which may require a higher cleaning frequency. Therefore, its type of weight coefficient will be correspondingly higher, and the number of times the sweeping equipment will subsequently re-sweep the area will also be greater.
[0174] S42, obtaining a second type of weight coefficient according to a ratio of an area of the non-cleaning area to an area of the dynamic programming area, and obtaining a cleaning coefficient corresponding to the dynamic programming area based on a sum of the first type of weight coefficient and the second type of weight coefficient.
[0175] Among them, the second type of weight coefficient refers to the value obtained by calculating the ratio of the area of the non-cleaning area to the area of the dynamic programming area. This coefficient can be used to determine the cleaning frequency, because the larger the area of the non-cleaning area, the larger the uncleaned area in the corresponding area may be, and therefore the more times it can be cleaned.
[0176] S43, traversing a plurality of cleaning coefficient intervals in the cleaning frequency table based on the cleaning coefficient, and determining that a preset frequency corresponding to the cleaning coefficient interval in which the cleaning coefficient is located is a supplementary scanning frequency corresponding to the corresponding dynamic planning area.
[0177] According to the cleaning coefficient, the corresponding preset frequency is searched in the cleaning frequency table. The preset frequency is the supplementary cleaning frequency corresponding to the dynamic planning area. The supplementary cleaning frequency represents the number of times the area should be cleaned during the scheduled cleaning time period. The cleaning frequency table can be a preset table. Each cleaning coefficient interval in the cleaning frequency table corresponds to a preset cleaning frequency, i.e., the preset frequency. The preset frequency represents the number of times the corresponding area is cleaned within the cleaning coefficient interval. In some embodiments, the larger the interval value, the larger the frequency of cleaning the corresponding area.
[0178] The cleaning coefficient is calculated by the following formula,
[0179]
[0180] in, is the cleaning coefficient, For dynamic traffic flow, is the base flow rate, is the weight value of the first flow, is the area of the non-cleaned area, is the area of the dynamic programming region, is the first area weight value. is a type of weight coefficient, is the second-class weight coefficient. The sweeping coefficient calculated by the above formula can calculate the required frequency of supplementary sweeping at the corresponding position in the dynamic programming area.
[0181] If it is determined that the staff actively selects any dynamic planning area and configures the corresponding supplementary scanning frequency, the frequency difference between the configured supplementary scanning frequency and the determined supplementary scanning frequency is calculated.
[0182] If the determined supplementary scanning frequency is less than the configured supplementary scanning frequency, the weight value of the first flow is adjusted based on the frequency difference. and the first area weight value The second flow weight value after the increase adjustment is calculated by the following formula and the second area weight value .
[0183]
[0184] in, To increase the adjusted second flow weight value , To increase the adjusted second area weight value, is the configured rescan frequency, is the determined rescanning frequency, is the first normalized value, is the second normalized value.
[0185] If the determined supplementary scanning frequency is greater than the configured supplementary scanning frequency, the weight value of the first flow is adjusted based on the frequency difference. and the first area weight value The second flow weight value after the increase adjustment is calculated by the following formula and the second area weight value .
[0186]
[0187] in, To reduce the adjusted second flow weight value , To reduce the adjusted second area weight value.
[0188] Through the above strategy, the present invention can update the crowd weight value and area weight value for calculating the cleaning coefficient respectively. The larger it is, the greater the update amplitude will be, so that the subsequent calculation of the cleaning coefficient can be more in line with the user's usage scenario, realizing the continuous updating of the cleaning coefficient model, and improving the intelligence of the technical solution of the present invention.
[0189] S44, arranging the dynamic planning areas from large to small according to the cleaning coefficient to obtain a supplementary cleaning sequence, binding the supplementary cleaning frequency and the corresponding dynamic planning area in the supplementary cleaning sequence, and obtaining supplementary cleaning data of the sanitary area in the scheduled cleaning time period.
[0190] It can be understood that there are multiple dynamic planning areas. According to the size of the cleaning coefficient of each dynamic planning area, the multiple dynamic planning areas are arranged from large to small. The dynamic planning area with a larger cleaning coefficient indicates that it may need to be cleaned more, so it can be arranged in the front and cleaned first. By arranging multiple dynamic planning areas, a supplementary scanning sequence can be obtained, and then the supplementary scanning frequency of each dynamic planning area determined according to the cleaning coefficient interval is bound to the corresponding dynamic planning area in the supplementary scanning sequence, that is, each dynamic planning area will be associated with a specific supplementary scanning frequency. By binding the supplementary scanning sequence and the supplementary scanning frequency, the supplementary scanning data of the sanitary area during the scheduled cleaning time period can be generated. According to the supplementary scanning data, it can be ensured that each area can be effectively cleaned according to the predetermined frequency and order during the scheduled cleaning time period.
[0191] Among them, the supplementary sweep sequence refers to a sequence obtained by arranging multiple dynamic planning areas from large to small according to the cleaning coefficient. The order in the supplementary sweep sequence represents the priority order of each dynamic planning area during supplementary sweeping. The dynamic planning areas at the front of the sequence can be supplemented and swept before the dynamic planning areas at the back. The supplementary sweeping data refers to the cleaning data of the areas that need to be supplemented and swept within the scheduled cleaning time period. The supplementary sweeping data not only includes a list of areas that need to be supplemented and swept, but also includes the supplementary sweeping frequency corresponding to each area, which can be used to guide the cleaning work of the sweeping equipment.
[0192] Through the above implementation, the sanitary area can be cleaned in all directions, the comprehensiveness of the cleaning can be improved, and the cleanliness of the sanitary area can be kept.
[0193] Based on the above steps, this solution also includes the following embodiments:
[0194] A1, receiving the cleaning request from the demand side, retrieving the area space corresponding to the sanitation area and sending it to the demand side.
[0195] In actual applications, medical staff may have immediate cleaning needs. For example, when there are stains in the diagnosis room, medical staff may have cleaning needs. In this case, this solution will also determine the cleaning area based on the needs of the medical staff, so that the sweeping equipment can be controlled to clean the corresponding area in a timely manner.
[0196] Specifically, when the diagnosis room needs to be cleaned, medical staff can send a cleaning request to the server. The server will first retrieve and display to the medical staff an area space corresponding to the health district. The area space can be a virtual space corresponding to the health district, which is used to help medical staff intuitively understand the layout of the entire health district.
[0197] Among them, the demand side refers to the terminal held by medical staff who have cleaning needs, the general health area refers to the total area that needs to be cleaned, and the regional space refers to the virtual space corresponding to the general health area.
[0198] A2, obtaining a virtual sanitary area selected by the demand side in the regional space as a demand area, receiving a sub-area to be cleaned demarcated by the demand side in the demand area and a cleaning requirement input for the sub-area to be cleaned.
[0199] In actual applications, the regional space contains multiple virtual health areas corresponding to various health areas, such as virtual health areas corresponding to health areas such as hospital halls and diagnosis rooms. Medical staff can select the corresponding virtual health area from multiple virtual health areas as the required area to be cleaned, and medical staff can further delineate sub-areas to be cleaned within the selected required area, see Figure 3 , is a schematic diagram of a sub-area to be cleaned provided in an embodiment of the present invention. The sub-area to be cleaned may be an area to be cleaned designated by medical staff, such as a stain area. Figure 3 As shown in , after demarcating the sub-area to be cleaned, the medical staff can also input specific cleaning requirements for the sub-area to be cleaned. The cleaning requirements can be the type of cleaning. For example, when the sub-area to be cleaned is a water stain area, the corresponding type can be a wet cleaning type.
[0200] The virtual sanitary area refers to a virtual area corresponding to each actual sanitary area, the demand area refers to a virtual sanitary area that needs to be cleaned, and the area to be cleaned refers to an area designated by medical staff in the virtual sanitary area that needs to be cleaned.
[0201] A3, generating customized cleaning data according to the sub-area to be cleaned and the cleaning requirement, and controlling the cleaning device to perform a cleaning operation based on the customized cleaning data.
[0202] The server will generate customized cleaning data based on the sub-areas to be cleaned designated by the medical staff and the cleaning requirements input. This data records in detail the areas that need to be cleaned and the specific requirements for cleaning, providing guidance for the subsequent operations of the sweeping device. The server will send this customized cleaning data to the sweeping device. After receiving this data, the sweeping device can perform cleaning operations according to the guidance information. The cleaning operations may include moving to the designated area and adjusting the cleaning mode to adapt to different cleaning requirements.
[0203] The customized cleaning data refers to customized cleaning data generated for the sub-area to be cleaned according to the cleaning requirements of medical staff.
[0204] Through the above implementation mode, the cleaning service can be customized according to the actual cleaning needs of the medical staff, and targeted cleaning planning can be carried out for the corresponding sanitary areas.
[0205] Figure 4 The apparatus of the embodiment shown can be used to perform Figure 1 The implementation principles and technical effects of the steps in the method embodiment shown are similar and will not be repeated here.
[0206] See also Figure 4 , is a schematic diagram of the structure of a smart sanitation data processing system provided by an embodiment of the present invention. The data processing system based on the smart sanitation data processing system includes:
[0207] A determination module, configured to determine a sanitary area based on the positioning information of the sweeping device in the instant cleaning time period, obtain a regional view of the sanitary area, and determine a dynamic planning area in the sanitary area according to the regional view;
[0208] An acquisition module, used for acquiring personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data;
[0209] A generation module, used for generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route;
[0210] The supplementary cleaning module is used to obtain the cleaning coefficient of the dynamic planning area, and determine the supplementary cleaning data of the sanitary area by the sweeping device during the scheduled cleaning time period according to the cleaning coefficient.
[0211] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart sanitation data processing method, It is characterized in that include: Determine a sanitary area based on positioning information of the sweeping device in an instant cleaning time period, obtain a regional view of the sanitary area, and determine a dynamic planning area in the sanitary area according to the regional view; Acquire personnel data corresponding to the dynamic planning area, and determine a non-cleaning area within the dynamic planning area according to the personnel data; Generate a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and control the cleaning device to perform a cleaning operation based on the dynamic cleaning route; Acquire a cleaning coefficient of the dynamic planning area, and determine, according to the cleaning coefficient, supplementary cleaning data of the cleaning device for the sanitary area during the scheduled cleaning period; Determining a sanitary area based on positioning information of a sweeping device in an instant cleaning time period, acquiring a regional view of the sanitary area, and determining a dynamic planning area in the sanitary area according to the regional view, including: Obtain historical views of the sanitary area taken from a bird's-eye view during multiple historical time periods corresponding to the immediate cleaning time period, and retrieve a queue statistics template to overlay the historical views; Determine the historical statistical area in the historical view according to the benchmark statistical area in the queue statistical template, and determine the historical passenger flow corresponding to the benchmark statistical area according to the average number of queue persons in the historical statistical area; Based on the historical passenger flow, multiple passenger flow adjustment intervals are traversed to determine the adjustment length corresponding to the passenger flow adjustment interval where the historical passenger flow is located as the target length, and the reference length of the corresponding reference statistical area in the queue direction is adjusted according to the target length to obtain a queue positioning template; Obtain a regional view of the sanitary area taken from above during the instant cleaning period, superimpose the queue positioning template on the regional view, and determine a dynamic planning area corresponding to each of the benchmark statistical areas in the regional view; Acquiring personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data, including: Obtaining a device outline corresponding to the sweeping device in the area view, and determining a dynamic planning area that is closest to the device outline and has a personnel outline as a target planning area; Parsing the personnel data to obtain multiple personnel profiles in the target planning area, and obtaining the personnel profiles arranged adjacently in the queue direction as the same queue group; Generate a single outer contour frame corresponding to the contours of all personnel in each queue group, and determine the direction perpendicular to the queue direction as the cleaning direction; Obtaining the interval distance between adjacent edges in the adjacent single outer contour frame in the sweeping direction, and determining the queue group whose interval distance is less than the sweeping distance threshold as a merged group; A merged outer contour frame corresponding to all the person contours in the merged group is generated, and the area within the single outer contour frame and / or the merged outer contour frame is determined as a non-cleaning area.
2. The method according to claim 1, It is characterized in that Generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route, including: Divide the target planning area into regions according to the current flow of people in the target planning area to obtain multiple planning sub-areas; Determine the planned sub-area located in the non-cleaning area as an avoidance sub-area, and determine the planned sub-area other than the avoidance sub-area as a cleaning sub-area; Sequentially numbering each of the cleaning sub-areas according to the cleaning direction and the queue direction to obtain a cleaning number for each of the cleaning sub-areas; The cleaning positioning points of each cleaning sub-area are obtained, and the cleaning positioning points of each cleaning sub-area are sequentially connected according to the cleaning number to obtain a dynamic cleaning route, and the sweeping device is controlled to perform a cleaning operation based on the dynamic cleaning route.
3. The method according to claim 2, It is characterized in that The target planning area is divided into regions according to the current flow of people in the target planning area to obtain multiple planning sub-areas, including: Obtaining a division specification corresponding to the current human flow, the division specification comprising a first division length in the cleaning direction and a second division length in the queue direction; In the sweeping direction, a plurality of first dividing lines are sequentially generated, each having a spacing equal to the first dividing length and being perpendicular to the sweeping direction; Sequentially generate a plurality of second dividing lines in the queue direction, the second dividing lines having an interval distance equal to the second dividing length and being perpendicular to the queue direction; The target planning area is divided into regions according to the first dividing line and the second dividing line to obtain a plurality of planning sub-areas.
4. The method according to claim 3, It is characterized in that Obtaining the division specifications corresponding to the current flow of people, including: Acquire a cleaning range of the cleaning device, and determine a first cleaning length in the cleaning direction and a second cleaning length in the queue direction according to the cleaning range; Traversing multiple range offset intervals according to the current human flow, determining that a range offset value corresponding to the range offset interval where the current human flow is located is a target offset value; A first division length is obtained based on a difference between the first sweep length and the target offset value, and a second division length is obtained based on a difference between the second sweep length and the target offset value.
5. The method according to claim 2, It is characterized in that Sequentially numbering each of the cleaning sub-areas according to the cleaning direction and the queue direction to obtain a cleaning number for each of the cleaning sub-areas includes: Acquire a plurality of cleaning sub-areas arranged adjacent to each other in the queue direction as the same arrangement group, and sequentially arrange the arrangement groups according to the cleaning direction to obtain an arrangement sequence; Determine the first arrangement group in the arrangement sequence as the target group, and sequentially number the target groups according to the queue direction to obtain the cleaning number of each cleaning sub-area in the target group; Continue to determine the next arrangement group in the arrangement sequence as the next target group, obtain a relative direction opposite to the queue direction, and continue to sequentially number the next target group according to the relative direction to obtain the cleaning number of each cleaning sub-area in the next target group; Repeat the step of cross-sequentially numbering the target groups according to the queue direction and the relative direction until the cleaning numbers corresponding to all cleaning sub-areas are obtained.
6. The method according to claim 1, It is characterized in that Acquiring a cleaning coefficient of the dynamic planning area, and determining supplementary cleaning data of the sanitary area by the cleaning device during the scheduled cleaning time period according to the cleaning coefficient, including: Obtaining the dynamic flow of people in each of the dynamic planning areas during the instant cleaning time period, and obtaining a type of weight coefficient according to the ratio of the dynamic flow of people to the benchmark flow of people; Obtaining a second type of weight coefficient according to a ratio of the area of the non-cleaning area to the area of the dynamic programming area, and obtaining a cleaning coefficient of the corresponding dynamic programming area based on the sum of the first type of weight coefficient and the second type of weight coefficient; Based on the cleaning coefficient, multiple cleaning coefficient intervals in the cleaning frequency table are traversed to determine the preset frequency corresponding to the cleaning coefficient interval where the cleaning coefficient is located as the supplementary cleaning frequency corresponding to the corresponding dynamic planning area; According to the cleaning coefficient, the dynamic planning areas are arranged from large to small to obtain a supplementary cleaning sequence, and the supplementary cleaning frequency is bound to the corresponding dynamic planning area in the supplementary cleaning sequence to obtain the supplementary cleaning data of the sanitary area in the scheduled cleaning time period.
7. The method according to claim 1, It is characterized in that Also includes: Receive the cleaning request from the demand side, retrieve the area space corresponding to the sanitation general area and send it to the demand side; Acquire a virtual sanitary area selected by the demand side in the regional space as a demand area, and receive a sub-area to be cleaned defined by the demand side in the demand area and a cleaning requirement input for the sub-area to be cleaned; Customized cleaning data is generated according to the sub-area to be cleaned and the cleaning requirement, and the cleaning device is controlled to perform a cleaning operation based on the customized cleaning data.
8. A processing system for the smart sanitation data processing method according to claim 1, It is characterized in that include: A determination module, configured to determine a sanitary area based on the positioning information of the sweeping device in the instant cleaning time period, obtain a regional view of the sanitary area, and determine a dynamic planning area in the sanitary area according to the regional view; An acquisition module, used for acquiring personnel data corresponding to the dynamic planning area, and determining a non-cleaning area within the dynamic planning area according to the personnel data; A generation module, used for generating a dynamic cleaning route corresponding to the dynamic planning area according to the non-cleaning area, and controlling the cleaning device to perform a cleaning operation based on the dynamic cleaning route; The supplementary cleaning module is used to obtain the cleaning coefficient of the dynamic planning area, and determine the supplementary cleaning data of the sanitary area by the sweeping device during the scheduled cleaning time period according to the cleaning coefficient.
Citation Information
Patent Citations
Moving robot and navigation method thereof
CN106813672A
Positioning method of mobile robot, method for constructing map and the mobile robot
CN112041634A
Method and system for electronic route planning and virtual queue handling
US20030010822A1
Robot and obstacle avoidance method therefor, and robot system and storage medium
WO2024113261A1
