A community target crowd patrol path generation method and device and a storage medium
By generating scientific patrol routes, the problem of slow patrol speed in the community was solved, patrol efficiency was improved, the risk of germ transmission was reduced, and efficient patrol of the target population was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2026-03-20
AI Technical Summary
The unscientific planning of patrol routes within the community resulted in slow patrol speeds and posed a risk of disease transmission.
By obtaining the home addresses and key categories of the target population, combined with road condition information obtained from surveillance cameras and the location information of patrol personnel, the optimal patrol route is generated. Taking into account the location and traffic conditions of the target population, high-risk individuals are prioritized for handling.
This improved patrol efficiency, reduced patrol time, and lowered the risk of pathogen transmission.
Smart Images

Figure CN116090684B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of mobile Internet technology, and in particular to a community target population patrol path generation method and device and storage medium. BACKGROUND
[0002] The current community has limitations in the statistics of the basic information of the personnel in the community. For the personnel in the community during the period of high incidence of influenza or smallpox, especially the condition of the target personnel (already ill), it is necessary to rely on the data of the grassroots system itself and to conduct door-to-door patrol by patrol personnel. Moreover, there is no relatively scientific planning for the patrol route of the personnel to be patrolled during the patrol process, so the patrol speed is slow, and the bacteria of the ill personnel are easily transmitted to the non-ill personnel through the patrol personnel. SUMMARY
[0003] In view of the above problems of the prior art, the purpose of the present application is to provide a community target population patrol path generation method and device and storage medium to solve the problem that the patrol route of the personnel to be patrolled is not relatively scientifically planned during the patrol process in the prior art, so the patrol speed is slow.
[0004] In order to solve the above technical problems, the specific technical solutions of the present application are as follows:
[0005] On the one hand, the present application provides a community target population patrol path generation method, comprising:
[0006] obtaining the home address and the key type of the target population living in the community;
[0007] obtaining the road condition information of the community through a monitoring camera, and generating the path state of the community according to the road condition information;
[0008] receiving a patrol instruction configured by a management personnel of the community, and obtaining the position information of the patrol personnel of the community according to the patrol instruction;
[0009] generating a patrol path according to the home address, the key type of the target population, the traffic path of the community, the patrol instruction and the position information.
[0010] As an embodiment of the present application, the generation of the patrol path according to the home address, the key type of the target population, the path state of the community, the patrol instruction and the position information further comprises:
[0011] when the patrol instruction is a patrol optimization strategy;
[0012] calculating the route score from the position of the current patrol personnel to the remaining target personnel in the target population;
[0013] The target person with the highest route score is taken as a first patrol target, and the corresponding route is taken as a first patrol route in the patrol path;
[0014] When it is determined that the first patrol route is completed, the target person is deleted from the target person group, the position information of the patrol personnel is updated to the position corresponding to the first patrol target, and the step of calculating the route score of the current patrol personnel to the remaining target persons in the target person group is returned;
[0015] When all the patrol routes are obtained, all the patrol routes are combined according to the sequence numbers of the patrol routes to form the patrol path and sent to the patrol personnel.
[0016] As an embodiment herein, the step of calculating the route score of the current patrol personnel to the remaining target persons in the target person group further comprises:
[0017] According to the key type of the target person and the corresponding type weight, a crowd feature score of each target person is determined;
[0018] According to the current position information of the patrol personnel and the home address of each target person, a plurality of patrol routes of the patrol personnel to each target person are generated;
[0019] According to the plurality of patrol routes and the path state of the community, a route jam level of each patrol route is determined;
[0020] According to the crowd feature score, the route jam level and an additional weight, a route score of the patrol route of the current position of the patrol personnel to each target person is determined.
[0021] As an embodiment herein, the step of determining the route score of the patrol route of the current position of the patrol personnel to each target person according to the crowd feature score, the route jam level and the additional weight further comprises:
[0022] According to the formula P=d*m+k+n;
[0023] The route score P of the patrol route of the patrol personnel to each target person is calculated, wherein d*m is the crowd feature score, k is the route jam level of the current position of the patrol personnel to the home address corresponding to each target person, and n is the additional weight.
[0024] As an embodiment herein, after the step of calculating the route score of the current patrol personnel to the remaining target persons in the target person group, the step of:
[0025] The medical information of the target person whose ranking of the route score is at least in the top two is determined;
[0026] Based on the medical information, determine whether the target person poses a risk of infection;
[0027] The route score of target individuals who pose a risk of infection will be lowered.
[0028] As an embodiment of this document, after generating the patrol route based on the target population's home address, priority type, community traffic routes, patrol instructions, and location information, the process includes:
[0029] The patrol route is sent to the patrol personnel, and the patrol route is used to instruct the patrol personnel to patrol the target group.
[0030] As one embodiment of this document, after the patrol route is sent to the patrol personnel, the following steps are included:
[0031] After the patrol personnel have completed their patrol of the target individuals along the patrol route, they will report the patrol completion information to the community management personnel.
[0032] As one embodiment of this document, after the patrol personnel have completed their patrol of the target person along the patrol route, the process further includes:
[0033] The patrol personnel use a check-in terminal to scan the personal identification document issued by the target person.
[0034] When the personal identification provided by the target person matches the pre-saved personal identification, the patrol personnel complete the patrol of the target person in that patrol route.
[0035] As one embodiment of this document, after the patrol personnel have completed their patrol of the target person along the patrol route, the process further includes:
[0036] Obtain the current location reported by the patrol personnel;
[0037] When the current location of the patrol personnel matches the home address of the target person, the patrol personnel complete the patrol of the target person along the patrol route.
[0038] As one embodiment of this document, after the patrol personnel have completed their patrol of the target person along the patrol route, the process further includes:
[0039] The patrol personnel use a check-in terminal to scan the personal identification document issued by the target person.
[0040] Obtain the current location reported by the patrol personnel;
[0041] When the personal sign presented by the target person is consistent with the pre-stored personal sign, and the current position of the patrol personnel is consistent with the home address of the target person, the patrol personnel completes the patrol of the target person in the patrol path.
[0042] As an embodiment herein, after the sending of the patrol path to the patrol personnel, the method further comprises:
[0043] When the patrol personnel does not complete the patrol of the target person in the patrol path, abnormal information is sent to the patrol personnel and the management personnel.
[0044] As an embodiment herein, the sending of the patrol path to the patrol personnel, the patrol path being used for instructing the patrol personnel to patrol the target person group, further comprises:
[0045] The patrol path and a patrol completion time length are both sent to the patrol personnel, the patrol completion time length being used for defining the time length of the patrol of the target person group by the patrol personnel.
[0046] In another aspect, the present disclosure also provides a community target person group patrol path generation device, comprising:
[0047] An information acquisition unit is configured to acquire home addresses of a target person group living in a community and a key type;
[0048] A path state unit is configured to acquire road condition information of the community by a monitoring camera, and generate a path state of the community according to the road condition information;
[0049] A position sending unit is configured to receive a patrol instruction configured by a management personnel of the community, and acquire position information of a patrol personnel of the community according to the patrol instruction;
[0050] A path generation unit is configured to generate a patrol path according to the home addresses of the target person group, the key type, a traffic path of the community, the patrol instruction and the position information.
[0051] In another aspect, the present disclosure also provides a computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the community target person group patrol path generation method when executing the computer program.
[0052] In another aspect, the present disclosure also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executable on a processor to implement the community target person group patrol path generation method.
[0053] In another aspect, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the community target population patrol path generation method.
[0054] With the above technical solution, by obtaining the home address of the target population living in the community and the key type, the specific location of the target population and the end type of the target population can be determined; by obtaining the road condition information of the community through a monitoring camera and generating the path state of the community according to the road condition information, the congestion state of all traffic roads in the community can be determined; by receiving the patrol instruction configured by the management personnel of the community and obtaining the location information of the patrol personnel of the community according to the patrol instruction, the current location of the patrol can be obtained, so as to allocate a more appropriate patrol path to the patrol personnel; by generating the patrol path according to the home address of the target population, the key type, the traffic path of the community, the patrol instruction and the location information, the position of different target persons can be considered, so that the patrol path with the shortest patrol distance for the patrol personnel can be generated, and the patrol time of the patrol personnel can be saved and the patrol efficiency can be improved by using the patrol path generated in the present disclosure.
[0055] In order to make the above and other objects, features and advantages of the present disclosure more apparent and understandable, the following will describe a preferred embodiment in detail, and the accompanying drawings will be described as follows. BRIEF DESCRIPTION OF DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0057] Figure 1 The overall system diagram of the community target population patrol path generation method of the embodiment of the present disclosure is shown;
[0058] Figure 2 The step schematic diagram of the community target population patrol path generation method of the embodiment of the present disclosure is shown;
[0059] Figure 3 The detailed schematic diagram of the patrol path generation method of the embodiment of the present disclosure is shown;
[0060] Figure 4 The route score determination schematic diagram of the embodiment of the present disclosure is shown;
[0061] Figure 5A community target crowd patrol path generation device schematic diagram is shown in an embodiment herein;
[0062] Figure 6 A computer device schematic diagram is shown in an embodiment herein.
[0063] Explanation of the drawing symbols:
[0064] 101, registration module;
[0065] 102, configuration device;
[0066] 103, monitoring device;
[0067] 104, terminal device;
[0068] 105, computing server;
[0069] 501, information acquisition unit;
[0070] 502, path state unit;
[0071] 503, location sending unit;
[0072] 504, path generation unit;
[0073] 602, computer device;
[0074] 604, processor;
[0075] 606, memory;
[0076] 608, drive mechanism;
[0077] 610, input / output module;
[0078] 612, input device;
[0079] 614, output device;
[0080] 616, presentation device;
[0081] 618, graphical user interface;
[0082] 620, network interface;
[0083] 622, communication link;
[0084] 624, communication bus. DETAILED DESCRIPTION
[0085] The technical solutions in the embodiments described below will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments described herein, and not all of the embodiments. Based on the embodiments described herein, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this document.
[0086] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings herein are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0087] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0088] like Figure 1 The diagram shows an overall system diagram of a method for generating patrol routes for target groups in a community, which includes: a registration module 101, a configuration device 102, a monitoring device 103, a terminal device 104, and a computing server 105.
[0089] Registration module 101 is used to record the home addresses and key categories of the target population residing in the community. In this article, the target population includes several target individuals, who are those identified by the community management personnel.
[0090] Device 102 is configured to receive patrol instructions from community management personnel. These instructions include unordered, custom, random, and optimized patrol strategies, and are then sent to the computing server. In this paper, the unordered strategy allows patrol personnel to select the order in which they patrol the designated points after viewing the information on their mobile devices; the system does not restrict the route. The custom strategy allows management personnel to set patrol routes based on fixed patrol points. The random strategy generates patrol routes randomly based on the patrol points. The optimized patrol strategy automatically generates the optimal patrol route based on patrol point information, other data, and weight settings. In this paper, patrol points refer to the residential locations of the target population.
[0091] The monitoring device 103 is configured to monitor the real-time traffic information in the community and send the traffic information to the computing server. In this embodiment, the monitoring device can be a monitoring camera, and a traffic broadcast. For example, if a traffic broadcast reports that a branch road is congested, the information can be crawled and sent to the computing server. Similarly, the computing server can receive continuous current scenes of each street from the camera, determine the congestion of each street according to the traffic condition scenes, and record the congestion of each street. For example, the computing server can determine that the first street is congested, the second street is very congested, the third street is smooth, the fourth street is smooth, and the fifth street is very congested.
[0092] The terminal device 104 is configured to receive the patrol instruction of the management personnel and send the current position information. Since each patrol personnel is configured with a terminal device, the position information of the terminal device is equal to the position information of the patrol personnel. The terminal device is also configured to scan the personal mark presented by each target person and send the personal mark to the computing server. The terminal device is also configured to display the patrol path generated by the computing server.
[0093] The computing server 105 is configured to periodically call the scenes of each street sent by the monitoring device, determine the congestion of each road, and record the congestion of each road. The computing server is also configured to call the recorded congestion of each road when receiving the patrol instruction, receive the current position information of the patrol personnel, and generate the patrol path according to the home address of the target person, the key type, the traffic path of the community, the patrol instruction, and the position information. For example, there are many paths from the position of the patrol personnel to a target person, but some of the paths may include congested roads. In order to improve the patrol efficiency of the patrol personnel, the congested roads are not recommended to the patrol personnel.
[0094] The current community has limitations in the statistics of the basic information of the personnel in the community. For the personnel in the community in a special period, especially the target personnel, the data of the basic system and the door-to-door patrol of the patrol personnel are needed. In addition, the patrol route of the to-be-patrolled personnel is not scientifically planned in the patrol process, and therefore the patrol speed is slow.
[0095] To solve the above problems, the embodiment of the present application provides a community target person patrol path generation method, which can solve the problem of slow patrol speed caused by the unreasonable patrol route. Figure 2is a step schematic diagram of a community target population patrol path generation method provided by an embodiment of the present embodiment, the specification provides the method operation steps as described in the embodiment or flowchart, but more or less operation steps can be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of the many step execution orders, and does not represent the only execution order. In actual system or device product execution, it can be executed in sequence or in parallel according to the method shown in the embodiment or the drawing. Specifically as shown in Figure 2 The method can include:
[0096] Step 201, obtaining the home address of the target population living in the community and the key type.
[0097] Step 202, obtaining the road condition information of the community through the monitoring camera, and generating the path state of the community according to the road condition information.
[0098] Step 203, receiving the patrol instruction configured by the management personnel of the community, and obtaining the position information of the patrol personnel of the community according to the patrol instruction.
[0099] Step 204, generating a patrol path according to the home address of the target population, the key type, the traffic path of the community, the patrol instruction and the position information.
[0100] With the above technical solution, by obtaining the home address of the target population living in the community and the key type, the specific position of the target population and the end type of the target population can be determined; by obtaining the road condition information of the community through the monitoring camera, and generating the path state of the community according to the road condition information, the congestion state of all traffic roads in the community can be determined; receiving the patrol instruction configured by the management personnel of the community, and obtaining the position information of the patrol personnel of the community according to the patrol instruction, the current position of the patrol can be obtained, so as to allocate a more appropriate patrol path to the patrol personnel; by generating a patrol path according to the home address of the target population, the key type, the traffic path of the community, the patrol instruction and the position information, the position of different target persons can be considered, so that the shortest patrol path for the patrol personnel can be generated. The patrol path generated in this paper can save the patrol time and improve the patrol efficiency.
[0101] As an embodiment of the present embodiment, step 201, obtaining the home address of the target population living in the community and the key type.
[0102] In this step, the target person is marked by the administrator, the grassroots system and the medical system. In this article, the target person has a fixed home address after entering the community, so the target person can be patrolled through the home address. In this article, the acquisition method includes two ways:
[0103] The first way is that the administrator of the community actively imports the resident information data collected in the jurisdiction, including a series of basic information such as name, age, ID number, nationality and address. Then, the relevant information of the resident is obtained by networking with the grassroots system and the medical system. If the resident is marked in the grassroots system and the medical system, the resident is regarded as the target population. In this way, the target population can be determined without invading the grassroots system and the medical system.
[0104] The second way is that the target population actively reports to the community. When a resident is not marked by the grassroots system and the medical system, when it is suspected that the resident may have certain conditions that need to be patrolled, the resident can report to the community and be listed as the target population.
[0105] In this article, the focus type can be divided into first level, second level or third level, etc. The first level can be the population that needs to be focused on, such as the population with smallpox or cholera. The second level can be the population with influenza. The third level can be the population that reports itself or does not involve infectious diseases. Of course, those skilled in the art can design the level division according to the needs, which is not limited in this article.
[0106] As an embodiment of this article, step 202, the road condition information of the current community is obtained through a monitoring camera, and the path state of the community is generated according to the road condition information.
[0107] In this step, the street image of several frames can be cut through the monitoring camera, and then it is identified whether there is a vehicle in the street and the number of vehicles. If it is determined that the number of vehicles between adjacent two frames increases after a period of time, it is determined that the street is congested. If it is determined that the number of vehicles between adjacent two frames decreases after a period of time, it is determined that the street is not congested.
[0108] Specifically, several frames of street images of A street, B street and C street of the community are obtained. Taking A street as an example, the number of vehicles is identified in adjacent several frames. In the first frame of a street image in a period of time, there are 4 vehicles in the first frame and 8 vehicles in the tail frame, so it can be judged that A street is congested.
[0109] Taking B street as an example, the number of vehicles is identified in adjacent several frames. In the first frame of a street image in a period of time, there are 4 vehicles in the first frame and 2 vehicles in the tail frame, so it can be judged that B street is not congested.
[0110] Taking Street C as an example, the number of vehicles is identified in several adjacent frames. In the first frame of a street image over a period of time, there are 4 vehicles in the first frame and 4 vehicles in the last frame. Therefore, it can be determined that there is no congestion on Street C.
[0111] Based on the above, the congestion status of a street can also be determined. For example, if the number of vehicles in the last frame is less than 50% of the number of vehicles in the first frame, the street is considered very smooth; if the number of vehicles in the last frame is equal to the number of vehicles in the first frame, the street is considered smooth. If the number of vehicles in the last frame is greater than 150% but less than 300% of the number of vehicles in the first frame, the street is considered congested. If the number of vehicles in the last frame is greater than 300% of the number of vehicles in the first frame, the street is considered very congested. This method allows for a simple quantification of the path status within a community.
[0112] Of course, this article only presents one feasible method, and those skilled in the art can design their own road condition recognition algorithms as needed.
[0113] As an embodiment of this article, step 203 involves receiving a patrol instruction configured by the community management personnel and obtaining the location information of the community's patrol personnel based on the patrol instruction.
[0114] In this step, all patrol instructions configured by the administrator include at least one location acquisition instruction, which is sent to the patrol personnel through the patrol personnel's identification number configured by the administrator.
[0115] In this article, each patrol officer is equipped with a terminal that can display routes, perform check-ins, and be configured with a positioning system. When the terminal receives a location acquisition command, it can report its own location.
[0116] like Figure 3 The detailed schematic diagram shown is an embodiment of the patrol route generation method. The step of generating a patrol route based on the target population's home address, key type, community route status, patrol instructions, and location information further includes:
[0117] Step 301: When the patrol instruction is a patrol optimization strategy.
[0118] In this step, the patrol optimization strategy is a strategy that minimizes the patrol path, which means calculating the strategy that allows patrol personnel to complete the patrol in the shortest amount of time.
[0119] Step 302: Calculate the route score from the current patrol personnel's location to the remaining target people in the target group.
[0120] likeFigure 4 As shown in the schematic diagram of determining the route score, in this step, step 401, according to the focus type of the target person and the corresponding type weight, the crowd feature score of each target person is determined.
[0121] In this step, the focus type is determined according to the annotation of the basic system and the medical system. The focus type can be divided into first grade, second grade or third grade, etc. The first grade can be the crowd that needs to be focused on, such as the crowd with smallpox or cholera. The second grade can be the crowd with influenza. The third grade can be the crowd that reports themselves or does not involve infectious diseases.
[0122] In this paper, each grade of focus type has a certain score, for example, the first grade is 50 points, the second grade is 60 points, and the third grade is 70 points. This paper does not limit it.
[0123] In this paper, the type weight can be adjusted as needed, such as 0.8, 0.7 or 0.6, etc. This paper does not limit it.
[0124] When the focus type and the corresponding type weight are calculated, the score corresponding to the focus type is multiplied by the type weight to obtain the final crowd feature score.
[0125] Step 402, according to the current position information of the patrol personnel and the home address of each target person, a plurality of patrol routes of the patrol personnel to each target person are generated.
[0126] In this step, there are many routes from the patrol personnel to the target person, so all the routes that can be patrolled to the target person are generated, for example, the patrol route of the patrol personnel to target person A has the first patrol route, the second patrol route and the third patrol route. The patrol route of the patrol personnel to target person B has the fourth patrol route, the fifth patrol route and the sixth patrol route. The patrol route of the patrol personnel to target person C has the seventh patrol route, the eighth patrol route and the ninth patrol route.
[0127] Step 403, according to the plurality of patrol routes and the path state of the community, the route congestion level of each patrol route is determined.
[0128] In this step, not all patrol routes can be smoothly passed, in some cases, the patrol routes with shorter distance are more congested, so the patrol personnel may use more time to patrol, and the patrol routes with longer distance are more smooth, so the patrol personnel may use less time to patrol. This paper considers this point, and needs to determine the route congestion level of each patrol route. When the route congestion level is high, the score of the patrol route can be reduced, so that its recommended level is later. In this paper, the route congestion level includes first congestion level, second congestion level, third congestion level and fourth congestion level. Corresponding to very smooth, smooth, congested and very congested respectively.
[0129] Step 404, according to the crowd feature score, the route congestion level and the additional weight, determining the route score of the patrol route from the current position of the patrol personnel to each target person.
[0130] In this step, according to the key type of the target person and the corresponding type weight, the crowd feature score of each target person is determined;
[0131] According to the current position information of the patrol personnel and the home address of each target person, a plurality of patrol routes from the patrol personnel to each target person are generated;
[0132] According to the plurality of patrol routes and the path state of the community, the route congestion level of each patrol route is determined;
[0133] According to the crowd feature score, the route congestion level and the additional weight, the route score of the patrol route from the current position of the patrol personnel to each target person is determined.
[0134] In this paper, according to the formula P=d*m+k+n;
[0135] The route score P of the patrol route from the patrol personnel to each target person is calculated, wherein d*m is the crowd feature score, k is the route congestion level from the current position of the patrol personnel to the corresponding home address of each target person, and n is the additional weight.
[0136] The additional weight can be designed according to actual needs, for example, the identification issued by the medical system can be associated with the additional weight. For example, when a target person has no infectious disease, the additional weight of the target person can be increased to more, so that the target person can be prioritized to be patrolled. When a target person has infectious disease, the additional weight of the target person can be increased to less, so that the target person is later patrolled.
[0137] In this paper, in order to determine which of the two target persons with close route scores (one of which has an infectious disease and the other does not) is the first to be patrolled, a special route determination method is given. Specifically, since the patrol personnel may come into contact with the target person, and some bacteria in nature can survive on the surface of objects for 24 hours, in order to protect the target person from being infected by the bacteria on the patrol personnel's clothes, the route of the target person without the infectious disease needs to be recommended first among at least two target persons with close route scores and the route of the target person with the infectious disease needs to be recommended later.
[0138] Specifically, in the medical system, the medical information of the target person whose route score ranks at least in the top two is determined;
[0139] According to the medical information, it is determined whether the target person has an infectious risk;
[0140] The route score of the target person with an infectious risk is reduced. In this step, the route score of the target person with an infectious disease risk can be reduced to 50%-90%, which is not limited herein.
[0141] Step 303, the target person with the highest route score is taken as the first patrol target, and the corresponding route is taken as the first patrol route in the patrol path.
[0142] In this step, the above method is used to obtain the patrol route of the patrol personnel to target person A, which has a first patrol route, a second patrol route and a third patrol route. The patrol route of the patrol personnel to target person B has a fourth patrol route, a fifth patrol route and a sixth patrol route. The patrol route of the patrol personnel to target person C has a seventh patrol route, an eighth patrol route and a ninth patrol route.
[0143] By the above method, the route score of the first patrol route is 70, the route score of the second patrol route is 72 and the route score of the third patrol route is 80. The route score of the fourth patrol route is 60, the route score of the fifth patrol route is 81 and the route score of the sixth patrol route is 90. The route score of the seventh patrol route is 91, the route score of the eighth patrol route is 85 and the route score of the ninth patrol route is 80.
[0144] After sorting, the seventh patrol route, the sixth patrol route, the eighth patrol route, the fifth patrol route, the ninth patrol route, the third patrol route, the second patrol route, the first patrol route and the fourth patrol route are obtained in descending order of route scores. In the sorting result, the seventh patrol route and the sixth patrol route are the top two patrol routes, and then the medical information of the target person A is accessed through the medical system, and it is known that the target person A has an infectious disease, so the scores of all patrol routes of the target person A are reduced to 50%, and the final patrol route score of the seventh patrol route is 45.5. Therefore, the sixth patrol route is taken as the patrol route when the patrol personnel performs the first patrol, and then the target person B corresponding to the sixth patrol route is deleted from the target person group and no longer participates in the calculation of subsequent patrol routes.
[0145] In step 304, when it is determined that the first patrol route is completed, the target person is deleted from the target person group, the position information of the patrol personnel is updated to the position corresponding to the first patrol target, and the step of calculating the route score of the remaining target person in the target person group is returned to the position of the current patrol personnel.
[0146] In this step, the second patrol route is calculated, and in the subsequent calculation process, the position information of the patrol personnel is updated to the home address of the target person in the last time. For example, when it is determined that the patrol personnel is in the first patrol target person B, the home address of the target person B is taken as the position information of the patrol personnel when the second patrol route is calculated, and then the current position information is used to calculate the second patrol route.
[0147] In step 305, when all the patrol routes are obtained, all the patrol routes are combined as the patrol path according to the sequence number of the patrol route and sent to the patrol personnel.
[0148] In this step, the patrol routes of all the target persons in the target person group are finally calculated in sequence. The patrol routes corresponding to the number of target persons are obtained, and the patrol path is obtained by concatenating all the patrol routes.
[0149] As an embodiment of the present disclosure, after the patrol path is obtained, the patrol path is sent to the patrol personnel, and the patrol path is used to instruct the patrol personnel to patrol the target person group.
[0150] After the patrol personnel completes the patrol of a target person in the patrol path, the state is reported to the management personnel, so that the management personnel can master the patrol state in real time.
[0151] As an embodiment of the present disclosure, when the patrol personnel completes the patrol of the target person in the patrol path, the patrol completion information is reported to the management personnel of the community.
[0152] Specifically, the determination manner of the patrol state comprises:
[0153] acquiring the personal mark presented by the target person scanned by the patrol personnel using the recording terminal;
[0154] when the personal mark presented by the target person is consistent with the pre-stored personal mark, the patrol personnel complete the patrol of the target person in the patrol path.
[0155] The determination manner of the patrol state further comprises:
[0156] acquiring the current position of the patrol personnel;
[0157] when the current position of the patrol personnel is consistent with the home address of the target person, the patrol personnel complete the patrol of the target person in the patrol path.
[0158] The determination manner of the patrol state further comprises:
[0159] acquiring the personal mark presented by the target person scanned by the patrol personnel using the recording terminal;
[0160] acquiring the current position of the patrol personnel;
[0161] when the personal mark presented by the target person is consistent with the pre-stored personal mark, and the current position of the patrol personnel is consistent with the home address of the target person, the patrol personnel complete the patrol of the target person in the patrol path.
[0162] As an embodiment herein, the sending of the patrol path to the patrol personnel, the patrol path being used for instructing the patrol personnel to patrol the target group, further comprises:
[0163] sending the patrol path and the patrol completion time length to the patrol personnel, the patrol completion time length being used for defining the time length of the patrol of the target group by the patrol personnel.
[0164] In this step, the patrol time length can be set by the management personnel, or can be automatically generated according to the mileage.
[0165] As shown in a community target group patrol path generation device schematic view, comprising: Figure 5
[0166] An information acquisition unit 501 is configured to acquire the home address and the key type of the target group living in the community.
[0167] A path state unit 502 is configured to acquire the road condition information of the community by a monitoring camera, and generate the path state of the community according to the road condition information.
[0168] The position reporting unit 503 is configured to receive a patrol instruction configured by a manager of the community, and acquire position information of a patrol personnel of the community according to the patrol instruction.
[0169] The path generating unit 504 is configured to generate a patrol path according to the home address of the target population, the key type, the traffic path of the community, the patrol instruction and the position information.
[0170] By using the above technical solution, the specific position of the target population and the end point type of the target population can be determined by the information acquiring unit; the congestion state of all traffic roads in the community can be determined by the path state unit; the current position of the patrol can be acquired by the position reporting unit, so as to allocate a more appropriate patrol path to the patrol personnel; and the patrol path with the shortest patrol distance for the patrol personnel can be generated by the path generating unit by considering the positions of different target persons, so that the patrol time of the patrol personnel can be saved and the patrol efficiency can be improved.
[0171] As shown in Figure 6 A computer device provided by the embodiment of the present application is shown in the figure, the computer device runs the community target population patrol path generating method of the present application, and the computer device 602 can include one or more processors 604, such as one or more central processing units (CPUs), each of which can implement one or more hardware threads. The computer device 602 can also include any memory 606 for storing any kind of information such as code, settings, data, etc. Without limitation, for example, the memory 606 can include any one or a combination of the following: any type of RAM, any type of ROM, a flash memory device, a hard disk, an optical disk, etc. More generally, any memory can store information using any technology. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory can represent a fixed or removable component of the computer device 602. In one case, the computer device 602 can perform any operation of the associated instructions when the processor 604 executes the associated instructions stored in any memory or combination of memories. The computer device 602 also includes one or more drive mechanisms 608 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0172] The computer device 602 can also include an input / output module 610 (I / O) for receiving input (via input device 612) and for providing output (via output device 614). One specific output mechanism can include a presentation device 616 and associated graphical user interface (GUI) 618. In other embodiments, the input / output module 610 (I / O), the input device 612, and the output device 614 can not be included, and the computer device 602 can be a standalone computer device in a networked environment. The computer device 602 can also include one or more network interfaces 620 for exchanging data with other devices via one or more communication links 622. The one or more communication buses 624 couple the various components in the computer device 602.
[0173] The communication links 622 can be implemented in any manner, such as through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication links 622 can include any combination of hardwired links, wireless links, routers, gateway functionality, name servers, etc., governed by any protocol or combination of protocols.
[0174] Corresponding to the method in Figures 2-4 The embodiments herein also provide a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, performs the steps of the above-mentioned method.
[0175] The embodiments herein also provide a computer readable instruction, wherein the program in the computer readable instruction, when executed by a processor, causes the processor to perform the method as shown in Figures 2-4
[0176] It should be understood that the size of the serial number of the above-mentioned processes in the various embodiments herein does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments herein.
[0177] It should also be understood that in the embodiments herein, the term "and / or" is only a description of the association relationship of the associated objects, which means that there can be three relationships. For example, A and / or B can represent three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are in an "or" relationship.
[0178] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0179] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0180] In several embodiments provided herein, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are merely schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can also be electrical, mechanical or other form of connection.
[0181] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments provided herein.
[0182] In addition, each functional unit in each embodiment herein can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0183] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions herein or the entire or part of the technical solutions that essentially contribute to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments herein. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0184] The principles and implementation manners of the present application are described in the embodiments herein, and the above descriptions of the embodiments are only used to help understand the methods and core ideas thereof; meanwhile, for those skilled in the art, the specific implementation manners and application ranges can be changed according to the ideas herein, and the above descriptions should not be understood as limitations on the present application.
Claims
1. A method for generating patrol routes for target groups within a community, characterized in that, include: Obtain the home addresses and key demographics of the target population residing in the community; The current road condition information of the community is obtained through surveillance cameras, and the path status of the community is generated based on the road condition information; Receive patrol instructions configured by the community management personnel, and obtain the location information of the community patrol personnel according to the patrol instructions; A patrol route is generated based on the target population's home address, priority type, community route status, patrol instructions, and location information; The step of generating a patrol route based on the target population's home address, priority type, community route status, patrol instructions, and location information further includes: When the inspection instruction is an optimal inspection strategy; Calculate the route score from the current patrol personnel's location to the remaining target individuals in the target group; The person with the highest route score is selected as the first patrol target, and the corresponding route is selected as the first patrol route in the patrol path. Once the first patrol route is determined to be completed, the target person is removed from the target population, the location information of the patrol personnel is updated to the location corresponding to the first patrol target, and the process of calculating the route score from the current patrol personnel's location to the remaining target person in the target population is returned. Once all patrol routes are obtained, they are merged into a single patrol path according to their sequence numbers and sent to the patrol personnel. The calculation of the route score from the current patrol personnel's location to the remaining target individuals in the target group further includes: Based on the target person's key type and corresponding type weight, determine the population characteristic score for each target person; Based on the current location information of the patrol personnel and the home address of each target person, several patrol routes from the patrol personnel to each target person are generated; Based on the patrol routes and the path status of the community, determine the congestion level of each patrol route; Based on the crowd characteristic score, the route congestion level, and additional weights, determine the route score of the patrol route from the patrol personnel at the current location to each target person. The step of determining the route score for the patrol route from the patrol personnel at the current location to each target person based on the crowd characteristic score, the route congestion level, and additional weights further includes: According to the formula ; The route score of the patrol route from the patrol personnel to each target person is calculated. ,in The population characteristic score, The congestion level is the route from the patrol personnel at the current location to the corresponding home address of each target person. Additional weights are added.
2. The method for generating patrol routes for target populations within a community according to claim 1, characterized in that, After calculating the route score from the current patrol personnel's location to the remaining target individuals in the target group, the following steps are included: Determine the medical information of the target individuals whose route scores rank at least in the top two; Based on the medical information, determine whether the target person poses a risk of infection; The route score of target individuals who pose a risk of infection will be lowered.
3. The method for generating patrol routes for target populations within a community according to claim 1, characterized in that, After generating the patrol route based on the target population's home address, priority type, community route status, patrol instructions, and location information, the process includes: The patrol route is sent to the patrol personnel, and the patrol route is used to instruct the patrol personnel to patrol the target group.
4. The method for generating patrol routes for target populations within a community according to claim 3, characterized in that, After the patrol route is sent to the patrol personnel, the following steps are included: After the patrol personnel have completed their patrol of the target individuals along the patrol route, they will report the patrol completion information to the community management personnel.
5. The method for generating patrol routes for target populations within a community according to claim 4, characterized in that, After the patrol personnel have completed their patrol of the target individuals along the patrol route, the process further includes: The patrol personnel use a check-in terminal to scan the personal identification document issued by the target person. When the personal identification provided by the target person matches the pre-saved personal identification, the patrol personnel complete the patrol of the target person in that patrol route.
6. The method for generating patrol routes for target populations within a community according to claim 4, characterized in that, After the patrol personnel have completed their patrol of the target individuals along the patrol route, the process further includes: Obtain the current location reported by the patrol personnel; When the current location of the patrol personnel matches the home address of the target person, the patrol personnel complete the patrol of the target person along the patrol route.
7. The method for generating patrol routes for target populations within a community according to claim 4, characterized in that, After the patrol personnel have completed their patrol of the target individuals along the patrol route, the process further includes: The patrol personnel use a check-in terminal to scan the personal identification document issued by the target person. Obtain the current location reported by the patrol personnel; When the personal identification provided by the target person matches the pre-saved personal identification, and the current location of the patrol personnel matches the home address of the target person, the patrol personnel complete the patrol of the target person in the patrol route.
8. The method for generating patrol routes for target populations within a community according to claim 3, characterized in that, After the patrol route is sent to the patrol personnel, the following steps are included: If the patrol personnel fail to complete the patrol of the target person in the patrol route, an abnormality information will be sent to both the patrol personnel and the management personnel.
9. The method for generating patrol routes for target populations within a community according to claim 3, characterized in that, Sending the patrol route to the patrol personnel, wherein the patrol route is used to instruct the patrol personnel to patrol the target population, further includes: The patrol route and patrol completion time are both sent to the patrol personnel. The patrol completion time is used to specify the duration for the patrol personnel to patrol the target group.
10. A device for generating patrol routes for target groups within a community, characterized in that, include: The information acquisition unit is used to obtain the home addresses and key categories of the target population residing in the community. The path status unit is used to acquire the current road condition information of the community through the monitoring camera, and generate the path status of the community based on the road condition information. The location transmission unit is used to receive patrol instructions configured by the community management personnel and obtain the location information of the community patrol personnel according to the patrol instructions. The route generation unit is used to generate a patrol route based on the target population's home address, priority type, the community's route status, the patrol instructions, and the location information. The path generation unit is further configured to, when the inspection instruction is an optimal inspection strategy; Calculate the route score from the current patrol personnel's location to the remaining target individuals in the target group; The person with the highest route score is selected as the first patrol target, and the corresponding route is selected as the first patrol route in the patrol path. Once the first patrol route is determined to be completed, the target person is removed from the target population, the location information of the patrol personnel is updated to the location corresponding to the first patrol target, and the process of calculating the route score from the current patrol personnel's location to the remaining target person in the target population is returned. Once all patrol routes are obtained, they are merged into a single patrol path according to their sequence numbers and sent to the patrol personnel. The calculation of the route score from the current patrol personnel's location to the remaining target individuals in the target group further includes: Based on the target person's key type and corresponding type weight, determine the population characteristic score for each target person; Based on the current location information of the patrol personnel and the home address of each target person, several patrol routes from the patrol personnel to each target person are generated; Based on the patrol routes and the path status of the community, determine the congestion level of each patrol route; Based on the crowd characteristic score, the route congestion level, and additional weights, determine the route score of the patrol route from the patrol personnel at the current location to each target person. The step of determining the route score for the patrol route from the patrol personnel at the current location to each target person based on the crowd characteristic score, the route congestion level, and additional weights further includes: According to the formula ; The route score of the patrol route from the patrol personnel to each target person is calculated. ,in The population characteristic score, The congestion level is the route from the patrol personnel at the current location to the corresponding home address of each target person. Additional weights are added.
11. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for generating patrol routes for target populations within a community as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method for generating patrol routes for target populations within a community as described in any one of claims 1-9.
13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method for generating patrol routes for target populations within a community as described in any one of claims 1-9.
Citation Information
Patent Citations
Patrol inspection route making method and device
CN108898183A
Apparatus inspection patrol method and device
WO2020233155A1