Personnel attendance detection methods and devices, computer-readable storage media, terminals
Patent Information
- Application Number
- CN202311463026.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-11-03
AI Technical Summary
[0004]本发明实施例解决的技术问题是在一些非规范路线的场景中,难以定位巡查人员的位置,从而无法检测巡查人员的实际到岗情况
[0019]获取巡查人员绑定的终端在上报点上报的巡查数据,采用预设的转换模型将巡查数据中的巡查路段的实际描述信息转换成标准描述信息,从所述标准描述信息中提取所述巡查路段的标识信息,并根据该标识信息获得所述巡查路段的拟合区域,所述巡查路段的拟合区域是基于历史上上报的巡查数据拟合得到的,根据所述上报点的位置信息与所述巡查路段的拟合区域的相对位置关系,判断所述巡查人员是否到岗,其中,上报点的位置信息是从图像和/或标准描述信息提取得到的。如此,即便是在一些非规范路线的场景,由于可以根据历史上上报的巡查数据拟合得到的巡查路段的拟合区域,进而基于巡查路段的实际描述信息转换得到的标准描述信息,根据标准描述信息提取的上报点的位置信息与巡查路段的拟合区域的相对位置关系,即可实现对所述巡查人员的到岗情况进行检测。
Smart Images

Figure CN117475527B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of personnel attendance detection technology, and in particular to a method and apparatus for personnel attendance detection, a computer-readable storage medium, and a terminal. Background Technology
[0002] In some patrol sections (such as railways or highways), in order to ensure the safe operation of the patrol section, patrol personnel usually need to patrol the section they are responsible for every day and report the patrol results during the patrol process.
[0003] However, in some non-standard routes, it is difficult to locate the patrol personnel, making it impossible to detect their actual presence on duty. Summary of the Invention
[0004] The technical problem solved by the embodiments of the present invention is that in some non-standard route scenarios, it is difficult to locate the position of patrol personnel, thus making it impossible to detect the actual attendance of patrol personnel.
[0005] To address the aforementioned technical problems, this invention provides a method for detecting personnel presence, comprising: acquiring patrol data, wherein the patrol data is reported by a terminal bound to a patrol personnel at a reporting point, and the patrol data includes images and actual descriptive information of the patrol section; using a preset conversion model to convert the actual descriptive information of the patrol section into standard descriptive information; extracting the identification information of the patrol section from the standard descriptive information, and obtaining a fitting region of the patrol section based on the identification information; determining whether the patrol personnel are present based on the relative positional relationship between the location information of the reporting point and the fitting region of the patrol section, wherein the location information of the reporting point is extracted from the images and / or standard descriptive information; wherein the fitting region of the patrol section is obtained based on historically reported patrol data.
[0006] Optionally, determining whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section includes: obtaining the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel; determining whether the reported point is within the effective patrol area based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section; if it is within the effective patrol area, then the patrol personnel are determined to be on duty; if it is not within the effective patrol area, then the patrol personnel are determined to be off duty.
[0007] Optionally, the personnel attendance detection method further includes: if it is determined that the patrol personnel are not at their posts, determining whether the reporting point is located in a designated area based on the location information of the reporting point; if the reporting point is located in the designated area, expanding the effective patrol range of the fitted area of the patrol section; based on the expanded effective patrol range of the fitted area of the patrol section, determining again whether the patrol personnel are at their posts based on the relative positional relationship between the location information of the reporting point and the fitted area of the patrol section.
[0008] Optionally, the personnel attendance detection method further includes: based on the effective patrol range of the expanded fitting area of the patrol section, determining that the number of times the patrol personnel have been on duty has reached a set number, and then using the effective patrol range of the expanded fitting area of the patrol section as the effective patrol range of the fitting area of the patrol section.
[0009] Optionally, obtaining the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel includes: obtaining a preset patrol area of the fitted area of the patrol section; obtaining the attribute information of the patrol personnel, including the location information of the patrol personnel's residence or office; if the minimum distance between the location information of the patrol personnel's residence or office and the fitted area of the patrol section is less than a preset distance, then the preset patrol area of the fitted area of the patrol section is reduced, and the reduced preset patrol area is taken as the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel.
[0010] Optionally, the personnel attendance detection method further includes: if it is determined that the patrol personnel are not at their posts, outputting an absence reminder.
[0011] Optionally, the step of using a preset conversion model to convert the actual description information of the patrol section into standard description information includes: comparing the actual description information of the patrol section with each reference description information in a preset knowledge base, and using the standard description information corresponding to the reference description information with the highest similarity as the standard description information of the patrol section. The preset knowledge base stores multiple standard description information, and each standard description information corresponds to one or more reference description information.
[0012] Optionally, the fitting region of the patrol section can be obtained by fitting based on historically reported patrol data in the following manner: using the preset conversion model, the actual description information in the historically reported patrol data is converted into standard description information; standard description information of each patrol section is extracted from the standard description information corresponding to the actual description information of the historically reported patrol data; for the standard description information of each patrol section, the fitting region of each patrol section is obtained by fitting based on the location information of the reporting point extracted from the standard description information of each patrol section.
[0013] Optionally, the step of fitting the fitting region of each patrol section based on the location information of the reporting points extracted from the standard description information of each patrol section includes: fitting the initial region of each patrol section based on the location information of the reporting points extracted from the standard description information of each patrol section; using a standard map as the base map and the route corresponding to each patrol section in the standard map as a reference, correcting the initial region so that the corrected region deviates from the route within a set range, thereby obtaining the fitting region of each patrol section.
[0014] Optionally, the step of fitting the initial area of each patrol segment based on the location information of the reporting points extracted from the standard description information of each patrol segment includes: acquiring reference patrol data for each patrol segment; fitting a reference area for each patrol segment based on the location information of the reporting points extracted from the reference patrol data; filtering out the location information of valid reporting points based on the positional relationship between the location information of the reporting points extracted from the standard description information of each patrol segment and the reference area; and fitting the initial area of each patrol segment based on the location information of the valid reporting points.
[0015] This invention also provides a personnel attendance detection device, comprising: an acquisition unit for acquiring patrol data, wherein the patrol data is reported by a terminal bound to a patrol personnel at a reporting point, and the patrol data includes images and actual descriptive information of the patrol section; a conversion unit for converting the actual descriptive information of the patrol section into standard descriptive information using a preset conversion model; an extraction unit for extracting the identification information of the patrol section from the standard descriptive information and obtaining a fitting region of the patrol section based on the identification information; and an attendance detection unit for determining whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reporting point and the fitting region of the patrol section, wherein the location information of the reporting point is extracted from the images and / or standard descriptive information; wherein the fitting region of the patrol section is obtained based on historically reported patrol data.
[0016] This invention also provides a terminal, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the steps of any of the above-described personnel arrival methods when running the computer program.
[0017] This invention also provides a computer-readable storage medium, which is a non-volatile or non-transient storage medium, storing a computer program thereon. When the computer program is run by a processor, it executes the steps of any of the above-described personnel arrival methods.
[0018] Compared with the prior art, the technical solution of the embodiments of the present invention has the following beneficial effects:
[0019] The system acquires patrol data reported by the terminals bound to patrol personnel at reporting points. A preset conversion model is used to convert the actual description information of the patrol sections in the patrol data into standard description information. Identification information of the patrol sections is extracted from the standard description information, and a fitted region of the patrol section is obtained based on this identification information. This fitted region is obtained by fitting historically reported patrol data. The relative positional relationship between the location information of the reporting point and the fitted region of the patrol section is used to determine whether the patrol personnel are on duty. The location information of the reporting point is extracted from images and / or standard description information. Thus, even in scenarios involving non-standard routes, the on-duty status of patrol personnel can be detected by using the fitted region of the patrol section obtained from historically reported patrol data, the standard description information converted from the actual description information of the patrol section, and the relative positional relationship between the location information of the reporting point extracted from the standard description information and the fitted region of the patrol section. Attached Figure Description
[0020] Figure 1 This is a flowchart of a personnel attendance detection method according to an embodiment of the present invention;
[0021] Figure 2 This is a flowchart of a fitting method for fitting the fitting area of a patrol section in an embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram of the structure of a personnel attendance detection device according to an embodiment of the present invention. Detailed Implementation
[0023] To make the above-mentioned objectives, features and beneficial effects of the embodiments of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0024] This invention provides a method for detecting personnel attendance, referring to... Figure 1The flowchart of a personnel attendance detection method in an embodiment of the present invention is provided. The personnel attendance detection method may specifically include the following steps.
[0025] Step 11: Obtain patrol data. The patrol data is reported by the terminal bound to the patrol personnel at the reporting point. The patrol data includes images of the patrol section and actual descriptive information.
[0026] Step 12: Using a preset conversion model, the actual description information of the patrolled road section is converted into standard description information.
[0027] Step 13: Extract the identification information of the patrol section from the standard description information, and obtain the fitting area of the patrol section based on the identification information.
[0028] Step 14: Based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section, determine whether the patrol personnel are on duty. The location information of the reported point is extracted from the image and / or standard description information.
[0029] The fitted area of the patrol section is obtained by fitting historically reported patrol data.
[0030] As described above, the process involves acquiring patrol data reported by the terminal bound to the patrol personnel at reporting points. A preset conversion model is used to convert the actual description information of the patrol sections in the patrol data into standard description information. Identification information of the patrol sections is extracted from the standard description information, and a fitting region for the patrol sections is obtained based on this identification information. This fitting region is obtained by fitting historically reported patrol data. The relative positional relationship between the location information of the reporting point and the fitting region of the patrol sections is used to determine whether the patrol personnel are on duty. The location information of the reporting point is extracted from images and / or standard description information. Thus, even in scenarios involving non-standard routes, the on-duty status of patrol personnel can be detected by using the fitting region of the patrol sections obtained from historically reported patrol data, the standard description information converted from the actual description information of the patrol sections, and the relative positional relationship between the location information of the reporting point extracted from the standard description information and the fitting region of the patrol sections.
[0031] In practice, patrol personnel can configure and bind corresponding terminals.
[0032] The binding of patrol personnel to the terminal can be achieved as follows: the terminal has an application (APP) installed for reporting patrol information. Each patrol personnel has a unique login account. Logging into the patrol information reporting application is considered binding the patrol personnel to the terminal. Subsequent reports of patrol data via the terminal can include the patrol personnel's login account, allowing the system to determine which patrol personnel reported the data.
[0033] The binding of patrol personnel to terminals can also be achieved by having each terminal have a unique terminal identifier, establishing a link between the patrol personnel and the terminal identifier, and thus binding the patrol personnel to the terminal. When patrol data is subsequently reported through the terminal, the terminal identifier can be included, allowing the system to determine which patrol personnel reported the data.
[0034] It is understandable that other methods can be used to bind patrol personnel to the terminal, which will not be elaborated here.
[0035] The terminal can be an instrument specifically designed for reporting patrol information, or it can be a portable device such as a mobile phone or tablet.
[0036] In some embodiments, the patrol data acquired in step 11 can be patrol data reported periodically by patrol personnel using a bound terminal at a reporting point during the patrol process, according to a preset reporting frequency. The reporting frequency can be half an hour, one hour, or other set durations. In this case, the reporting point can be the location of the patrol personnel when the reporting frequency is reached. Depending on the patrol personnel's patrol speed and the different abnormal situations that occur during the patrol, the reporting point for the same patrol section can be different each day.
[0037] In other embodiments, reporting points can be pre-set. The patrol data obtained in step 11 can be reported by the patrolman using a bound terminal each time he reaches a pre-set reporting point. Thus, the reporting points for the same patrol section can be the same every day.
[0038] In some non-limiting embodiments, the images of the patrol section can be pre-captured and stored. In this case, when capturing images of the patrol section, the image capture time and location at the time of capture are included as supplementary information, and this supplementary information cannot be modified. The supplementary information of the patrol section images will be included as part of the patrol section images and reported along with the actual description information when the patrol data is reported. Thus, for areas with poor or no signal, the terminals bound to patrol personnel may not be able to report patrol data in real time. In such cases, patrol personnel can pre-capture images of the patrol section and report the patrol data only after reaching an area with better signal, which helps to improve the accuracy of personnel attendance detection while also increasing the flexibility of patrol data reporting.
[0039] In some other non-limiting embodiments, the patrol data is acquired in real time. Images of the patrol sections within the patrol data are acquired in real time. Thus, patrol personnel need to reach the reporting point to obtain images of the patrol sections that can be used for reporting. Since the images of the patrol sections are acquired in real time, there is no need to verify the acquisition time of the images, which helps to improve the accuracy of personnel attendance detection while simplifying the attendance detection process.
[0040] Furthermore, the patrol data is acquired in real time, and the images of the patrolled road sections acquired in real time can include the image capture time and the location at the time of image capture.
[0041] Images of the patrolled road sections can be used to verify the validity of the patrol data. Specifically, before step 12 is executed, the validity of the patrol data can be verified based on the images of the patrolled road sections. If the verification result indicates that the patrol data is valid, step 12 is executed. If the verified data is invalid, a message indicating that the patrol data is invalid is output.
[0042] The validity of patrol data can be verified using images of the patrolled road segment. Specifically, image recognition is performed on the images of the patrolled road segment to extract key object information. If the extracted key object information matches the preset verification information, the patrol data is considered valid. Key object information can be images of the patrolled road segment; it can also be images of specified road signs, rivers, tunnels, etc.
[0043] The patrol route can be a railway section or a highway section. The highway section can be an expressway, a national highway, a provincial highway, or a rural road, etc.
[0044] Furthermore, when the verification data is invalid, a prompt to resubmit the patrol data can also be output.
[0045] Furthermore, after the prompt to resubmit the patrol data is displayed, you can also jump to the patrol data resubmission interface.
[0046] In practice, the actual description information may include the identification of the patrolled section, the reporting time, the reporting location, and any abnormal information. The actual description information can be text-based, filled in by patrol personnel through the terminal's user interface, or it can be voice-based.
[0047] Taking a railway as an example, let's explain the inspection data. For instance, the inspection data includes images of the railway and its actual description, such as: "On May 5, 2023, a crack appeared in the railway track near Lake S." Or, the inspection data includes images of the railway and its actual description, such as: "On May 5, 2023, the railway passing through village A was normal."
[0048] In one specific implementation of step 12, the actual description information of the patrol section can be compared with the similarity of each reference description information in the preset knowledge base. The standard description information corresponding to the reference description information with the highest similarity is used as the standard description information of the patrol section. The preset knowledge base stores multiple standard description information, and each standard description information corresponds to one or more reference description information.
[0049] In practice, corresponding reference description information can be pre-configured for each standard description information, and a pre-defined knowledge base can be built. After the mapping between each standard description information and the reference description information is completed, the corresponding standard description information can be found based on the reference description information.
[0050] In some embodiments, the standard description information may include identification information of the patrol section and offset distance. The offset distance can be the distance between each location point in the patrol section and the starting point, or the distance between each location point in the patrol section and the ending point. The identification information of the patrol section typically uses industry-specific descriptions. For specialized roads such as railways or highways, dedicated industry-specific descriptions are usually required to represent the location, but existing map software cannot provide such dedicated industry-specific descriptions. Thus, the standard description information obtained through the conversion model of this invention can establish a correlation between industry-specific descriptions and positioning (such as positioning via the Global Positioning System, GPS).
[0051] For example, if the patrol section is a railway, the standard descriptive information can include railway identification information and the distance of each location point on the railway from the starting point. For instance, Chengdu-Guiyang High-Speed Railway K289+300, where K289 is the railway identification information and 300 indicates that K289 is 300 kilometers from the starting point.
[0052] Furthermore, the standard description information stored in the preset knowledge base and the corresponding reference description information can be updated according to actual needs to adapt to changes in the patrol section.
[0053] In practice, a mapping relationship between the identification information of the patrol section and the fitting area of the patrol section can be established in advance. In subsequent step 13, the fitting area of the patrol section can be obtained based on the identification information of the patrol section.
[0054] Each reported patrol data can be used to fit the actual area of the patrol section. As the number of patrol data points from the terminals linked to the patrol personnel increases, more patrol data can be used to fit the patrol section, and the better the fit of the patrol route's area to the actual area of the patrol section becomes.
[0055] It should be noted that the fitting region in this embodiment of the invention refers to a polygonal region with a certain width. The polygonal shape of the fitting region can be different within different sections of the patrolled road segment, and correspondingly, the width of the fitting region can also be different. The fitting region can be a multi-polygonal region with different widths. Here, the extension direction of the patrolled road segment is denoted as the length direction, the direction perpendicular to the length direction is denoted as the width direction, and the width of the fitting region refers to the dimension along the width direction.
[0056] In practice, a fitted route for the patrol section can be periodically derived by fitting historically reported patrol data. Alternatively, after initially deriving a fitted route based on historically reported patrol data, the fitted route can be periodically updated based on newly reported patrol data. This allows for the accurate determination of patrol personnel attendance in scenarios involving non-standard routes, such as those accessible only on foot and not by vehicle.
[0057] In some embodiments, the fitting area of the patrol section can be obtained by fitting historically reported patrol data in the following manner, as described below. Figure 2 The flowchart of a fitting method for fitting the fitting area of a patrol section is given in an embodiment of the present invention.
[0058] Step 21: Using the preset conversion model, the actual descriptive information in the historically reported patrol data is converted into standard descriptive information.
[0059] Step 22: Extract the standard description information of each patrol section from the standard description information corresponding to the actual description information of the historically reported patrol data.
[0060] Step 23: For each patrol section, based on the standard description information, and using the location information of the reported points extracted from the standard description information of each patrol section, fit the fitting area of each patrol section.
[0061] In one specific implementation of step 21, the actual description information of the historically reported patrol data can be compared with the reference description information in each preset knowledge base. The reference description information with the highest similarity is used as the reference description information corresponding to the actual description information of each historically reported patrol data, and the standard description information corresponding to the reference description information is used as the standard description information corresponding to the actual description information of each historically reported patrol data.
[0062] In one specific implementation of step 22, the standard description information of each patrol segment can be extracted from the standard description information corresponding to the actual description information of the historically reported patrol data in the following manner. Specifically, the identification information of the patrol segment can be extracted from the standard description information of each patrol segment, and then all standard description information belonging to the same patrol segment can be obtained based on the identification information of the patrol segment.
[0063] In one specific implementation of step 23, the fitting area of each patrol section can be obtained by fitting the location information of the reporting points extracted from the standard description information of each patrol section in the following way: Specifically, the initial area of each patrol section is fitted based on the location information of the reporting points extracted from the standard description information of each patrol section; the standard map is used as the base map, and the route corresponding to each patrol section in the standard map is used as a reference to correct the initial area so that the corrected area deviates from the route within a set range, thereby obtaining the fitting area of each patrol section.
[0064] For example, correcting the initial area can mean: using the route corresponding to each patrol section as a reference, dragging the initial area so that the initial area is centered on the route corresponding to the patrol section, thus ensuring that the corrected area deviates from the route within a set range.
[0065] In some embodiments, the initial area can be obtained in the following manner: specifically, reference patrol data for each patrol segment is acquired; reference areas for each patrol segment are fitted based on the location information of the reporting points extracted from the reference patrol data; the location information of valid reporting points is filtered out based on the positional relationship between the location information of the reporting points extracted from the standard description information of each patrol segment and the reference area; and the initial area for each patrol segment is fitted based on the location information of the valid reporting points.
[0066] Reference patrol data can be in a standard descriptive information format. Alternatively, reference patrol data can be described by designated personnel according to their personal habits. In this case, the actual descriptive information in the reference patrol data needs to be converted into standard descriptive information, and then the reference area for each patrol segment is fitted based on the converted standard descriptive information. When the location information of the reporting point extracted from the standard descriptive information of each patrol segment determines that the reporting point is within the reference area, or is outside the reference area but its minimum distance from the edge of the reference area is less than or equal to a set distance threshold, it is determined to be a valid reporting point, and its location information is the location information of the valid reporting point. Conversely, if the minimum distance between the reporting point and the edge of the reference area is greater than the set distance threshold, it is not a valid reporting point and will not participate in the initial area fitting.
[0067] In some embodiments, the location information of valid reporting points can also be determined based on the validity labeling of the location information of the reporting points extracted from the standard description information of each patrol section by the labeling personnel.
[0068] Reference patrol data can be collected by designated personnel during pre-patrols of various patrol sections, meaning it is pre-collected and therefore has high authenticity and reliability. The reference area obtained based on the reference patrol data can provide a benchmark for subsequently fitting the initial area, helping to improve the authenticity and reliability of the fitted initial area, as well as the matching degree between the initial area and the actual patrol route of the patrol section.
[0069] In one specific implementation of step 14, the following method can be used to determine whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section. Specifically, the effective patrol area of the fitted area of the patrol section within the patrol area responsible for the patrol personnel is obtained; based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section, it is determined whether the reported point is within the effective patrol area; if it is within the effective patrol area, the patrol personnel are determined to be on duty; if it is not within the effective patrol area, the patrol personnel are determined to be off duty.
[0070] The effective inspection area can be composed of a region with a preset radius along the direction of the perpendicular or tangent to the reported point on the fitted region.
[0071] In practice, a patrol route is usually quite long, and multiple patrol personnel can be assigned to a single patrol route. Each patrol personnel may be responsible for a different patrol area.
[0072] In practice, if it is determined that the patrol personnel are not on duty, the location information of the reporting point is used to determine whether the reporting point is in the designated area; if the reporting point is in the designated area, the effective patrol range of the fitted area of the patrol section is expanded; based on the expanded effective patrol range of the fitted area of the patrol section, the relative positional relationship between the location information of the reporting point and the fitted area of the patrol section is used to determine whether the patrol personnel are on duty.
[0073] In practice, the designated area can be an area prone to signal drift. When the signal deviates, it will lead to inaccurate positioning, which in turn will cause the reported location information to not match the actual location, resulting in misjudgment of personnel arrival detection. By expanding the effective patrol range of the fitted area of the patrol section, signal drift can be fully taken into account, thereby improving the accuracy of personnel arrival detection.
[0074] Furthermore, based on the effective patrol range of the expanded fitted area of the patrol section, if it is determined that the number of times the patrol personnel have been on duty has reached a set number, then the effective patrol range of the expanded fitted area of the patrol section will be used as the effective patrol range of the fitted area of the patrol section. Since different patrol sections are located in different geographical locations, and the patrol routes convenient for patrol personnel and areas with good visibility vary, adjusting the effective patrol range can fully consider the actual situation of the patrol sections in different areas, thereby improving the rationality of determining the effective patrol range.
[0075] The process of obtaining the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel includes: obtaining a preset patrol area of the fitted area of the patrol section; obtaining the attribute information of the patrol personnel, including the location information of the patrol personnel's residence or office; if the minimum distance between the location information of the patrol personnel's residence or office and the fitted area of the patrol section is less than a preset distance, then the preset patrol area of the fitted area of the patrol section is reduced, and the reduced preset patrol area is used as the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel. This is to avoid situations where the location information of the patrol personnel's residence or office is too close to the patrol section, resulting in the patrol personnel reporting patrol data based on their residence or office location instead of reporting from the reporting point.
[0076] In practice, the effective patrol area can be a fitted area of the patrol section, which is the actual area of the patrol section. Alternatively, the effective patrol area can be a pre-defined patrol area that is expanded or reduced from the fitted area, i.e., an area adjusted for tolerance range based on the actual area. Therefore, the width of the effective patrol area varies for different road sections. For example, the width of the effective patrol area in hilly or mountainous areas with poor signal can be greater than the width of the effective patrol area in plains areas.
[0077] In practice, the personnel attendance detection method further includes: if it is determined that the patrol personnel are not present, outputting an absence reminder. This helps remind the patrol personnel to report patrol data again.
[0078] This invention also provides a personnel attendance detection device, which can be used to implement the above-mentioned personnel attendance detection method.
[0079] Reference Figure 3 The provided embodiment of the present invention provides a structural schematic diagram of a personnel attendance detection device 30. The personnel attendance detection device 30 may include: an acquisition unit 31, used to acquire patrol data, the patrol data being reported by a terminal bound to the patrol personnel at a reporting point, the patrol data including images and actual descriptive information of the patrol section; a conversion unit 32, used to convert the actual descriptive information of the patrol section into standard descriptive information using a preset conversion model; an extraction unit 33, used to extract the identification information of the patrol section from the standard descriptive information and obtain a fitting region of the patrol section based on the identification information; and an attendance detection unit 34, used to determine whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reporting point and the fitting region of the patrol section, the location information of the reporting point being extracted from the images and / or standard descriptive information; wherein, the fitting region of the patrol section is obtained based on historically reported patrol data.
[0080] For more details on the working principle and workflow of the personnel attendance detection device 30, please refer to the description of the personnel attendance detection method provided in the above embodiments, which will not be repeated here.
[0081] This invention also provides a terminal, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the steps of any of the above-described personnel arrival methods when running the computer program.
[0082] This invention also provides a computer-readable storage medium, which is a non-volatile or non-transient storage medium, storing a computer program thereon. When the computer program is run by a processor, it executes the steps of any of the above-described personnel arrival methods.
[0083] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in any computer-readable storage medium, which may include ROM, RAM, disk, or optical disk, etc.
[0084] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A method for detecting personnel attendance, characterized in that, include: The patrol data is obtained by the terminal bound to the patrol personnel at the reporting point. The patrol data includes images of the patrol section and actual descriptive information. A preset conversion model is used to convert the actual description information of the patrolled road section into standard description information; Extract the identification information of the patrol section from the standard description information, and obtain the fitting region of the patrol section based on the identification information; Based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section, it is determined whether the patrol personnel are on duty. The location information of the reported point is extracted from the image and / or standard description information. The fitting area of the patrol section is obtained by fitting based on the patrol data reported in history; The process of using a preset conversion model to convert the actual description information of the patrolled road segment into standard description information includes: The actual description information of the patrol section is compared with the similarity of each reference description information in the preset knowledge base. The standard description information corresponding to the reference description information with the highest similarity is used as the standard description information of the patrol section. The standard description information includes the identification information and offset distance of the patrol section. The preset knowledge base stores multiple standard description information, and each standard description information corresponds to one or more reference description information. The fitting region for the patrol section is obtained by fitting historically reported patrol data using the following method: The actual description information of the historically reported patrol data is compared with the reference description information in each preset knowledge base. The reference description information with the highest similarity is used as the reference description information corresponding to the actual description information of each historically reported patrol data. The standard description information corresponding to the reference description information is used as the standard description information corresponding to the actual description information of each historically reported patrol data. Extract the standard description information of each patrol section from the standard description information corresponding to the actual description information of the historically reported patrol data; For each patrol section, based on the standard description information, the location information of the reported points extracted from the standard description information of each patrol section is used to fit the fitting area of each patrol section.
2. The personnel attendance detection method as described in claim 1, characterized in that, The step of determining whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section includes: Obtain the effective patrol area of the fitted area of the patrol section within the patrol area managed by the patrol personnel; Based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section, it is determined whether the reported point is within the effective patrol area; If the area is within the effective patrol range, then the patrol personnel are deemed to be on duty. If the area is not within the effective patrol range, the patrol personnel are deemed not to be on duty.
3. The personnel attendance detection method as described in claim 2, characterized in that, Also includes: If it is determined that the patrol personnel are not on duty, determine whether the reporting point is located in the designated area based on the location information of the reporting point; If the reporting point is located in the designated area, the effective patrol range of the fitted area of the patrol section is expanded; Based on the effective patrol range of the fitted area of the expanded patrol section, the relative positional relationship between the location information of the reported point and the fitted area of the patrol section is used to determine whether the patrol personnel are on duty.
4. The personnel attendance detection method as described in claim 3, characterized in that, Also includes: Based on the effective patrol range of the fitted area of the expanded patrol section, if it is determined that the number of times the patrol personnel are on duty has reached a set number, then the effective patrol range of the fitted area of the expanded patrol section will be used as the effective patrol range of the fitted area of the patrol section.
5. The personnel attendance detection method as described in claim 2, characterized in that, The effective patrol area for obtaining the fitted area of the patrol section within the patrol area managed by the patrol personnel includes: Obtain the preset patrol area of the fitted area of the patrol section; Obtain the attribute information of the patrol personnel, which includes the location information of the patrol personnel's residence or the location information of their office. If the minimum distance between the location information of the patrol personnel's residence or office and the fitted area of the patrol section is less than a preset distance, then the preset patrol area of the fitted area of the patrol section is reduced, and the reduced preset patrol area is taken as the effective patrol area of the fitted area of the patrol section within the patrol area under the responsibility of the patrol personnel.
6. The personnel attendance detection method as described in claim 2, characterized in that, Also includes: If it is determined that the patrol personnel are not on duty, an absence reminder will be output.
7. The personnel attendance detection method as described in claim 1, characterized in that, The process of fitting a fitting region for each patrol segment based on the location information of the reported points extracted from the standard description information of each patrol segment includes: Based on the location information of the reported points extracted from the standard description information of each patrol section, the initial area of each patrol section is obtained by fitting. Using the standard map as the base map and the routes corresponding to each patrol section in the standard map as references, the initial area is corrected so that the corrected area deviates from the route within a set range, thus obtaining the fitting area for each patrol section.
8. The personnel attendance detection method as described in claim 7, characterized in that, The initial area of each patrol segment is obtained by fitting the location information of the reported points extracted from the standard description information of each patrol segment, including: Obtain reference patrol data for each patrol section, and fit the reference area for each patrol section based on the location information of the reported points extracted from the reference patrol data. Based on the location relationship between the location information of the reporting points extracted from the standard description information of each patrol section and the reference area, the location information of the valid reporting points is filtered out. The initial area of each patrol section is obtained by fitting the location information of the effective reporting points.
9. A personnel attendance detection device, characterized in that, include: The acquisition unit is used to acquire patrol data, which is reported by the terminal bound to the patrol personnel at the reporting point. The patrol data includes images of the patrol section and actual descriptive information. The conversion unit is used to convert the actual description information of the patrolled road segment into standard description information using a preset conversion model. An extraction unit is used to extract the identification information of the patrol section from the standard description information, and obtain the fitting region of the patrol section based on the identification information; The on-duty detection unit is used to determine whether the patrol personnel are on duty based on the relative positional relationship between the location information of the reported point and the fitted area of the patrol section. The location information of the reported point is extracted from the image and / or standard description information. The fitting area of the patrol section is obtained by fitting based on the patrol data reported in history; The conversion unit is used to compare the actual description information of the patrol section with each reference description information in the preset knowledge base, and take the standard description information corresponding to the reference description information with the highest similarity as the standard description information of the patrol section. The standard description information includes the identification information of the patrol section and the offset distance. The preset knowledge base stores multiple standard description information, and each standard description information corresponds to one or more reference description information. The personnel attendance detection device is also used to fit the fitting region of the patrol section based on historically reported patrol data in the following manner: The actual description information of the historically reported patrol data is compared with the reference description information in each preset knowledge base for similarity; the reference description information with the highest similarity is used as the reference description information corresponding to the actual description information of each historically reported patrol data; the standard description information corresponding to the reference description information is used as the standard description information corresponding to the actual description information of each historically reported patrol data; standard description information of each patrol section is extracted from the standard description information corresponding to the actual description information of the historically reported patrol data; and for each patrol section's standard description information, the fitting region of each patrol section is fitted based on the location information of the reporting point extracted from the standard description information of each patrol section.
10. A terminal comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the personnel on-duty method according to any one of claims 1 to 8.
11. A computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored thereon, characterized in that, When the computer program is run by the processor, it performs the steps of the personnel arrival method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Portable electric power inspection equipment, electric power inspection method and electric power inspection system
CN111710055A
Line inspection monitoring method
CN114777646A