Attendance method, device, electronic device and storage medium

Obtaining mobile trajectory and personal information through employee terminal devices, and automatically determining attendance status, solving the problems of existing attendance systems queuing during peak periods and inaccurate data, achieving wider and more accurate attendance, and ensuring data security.

CN113450073BActive Publication Date: 2024-12-03SHANXI DERUISHENG HUMAN RESOURCES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110740568.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2024-12-03
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

The existing attendance system is prone to queuing problems during peak hours of get off work, and the online attendance system has the situation where employees forget to check in, resulting in inaccurate attendance data.

Method used

The employee's terminal equipment obtains movement trajectory and personal information, determines attendance requirements based on attendance rules and work arrangements, and analyzes action data within the preset time period to automatically determine attendance judgments, avoiding the coverage range and single-point position restrictions of traditional systems.

Benefits of technology

The scope of attendance has been expanded, queued up and cheated at the attendance, improved the accuracy of attendance data, and ensured data security through local analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113450073B_ABST
    Figure CN113450073B_ABST
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence technology, and specifically discloses an attendance method, device, electronic device and storage medium, wherein the attendance method comprises: a user terminal obtains the movement trajectory and personal information of the employee to be checked in; the user terminal determines the attendance rules and work arrangement information corresponding to the employee to be checked in according to the personal information; the user terminal determines the attendance requirements of the employee to be checked in according to the attendance rules and the work arrangement information; the user terminal determines whether the employee to be checked in meets the attendance requirements according to the current time and the movement trajectory; when the employee to be checked in meets the attendance requirements, the user terminal sends the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an attendance method, device, electronic equipment and storage medium. Background Art

[0002] At present, companies and enterprises have formulated various attendance systems to supervise employees to come to work and leave work in a standardized manner, such as offline attendance systems that use radio frequency cards, fingerprint recognition, and facial recognition for attendance punching, or online attendance systems based on mobile phones. However, the above-mentioned offline attendance systems are prone to the difficulty of queuing in front of the attendance machine to punch in during rush hours. And the above-mentioned online attendance systems have the problem that employees forget to punch in, resulting in inaccurate attendance data. Based on this, there is an urgent need for a more intelligent attendance punching method. Summary of the invention

[0003] In order to solve the above-mentioned problems existing in the prior art, the embodiments of the present application provide an attendance method, device, electronic device and storage medium, which can perform attendance determination according to the real-time status of employees and realize automated attendance.

[0004] In a first aspect, an embodiment of the present application provides an attendance method, comprising:

[0005] The user terminal obtains the movement trajectory and personal information of the employee to be checked in;

[0006] The user terminal determines the attendance rules and work arrangement information corresponding to the employee to be checked in based on the personal information;

[0007] The user terminal determines the attendance requirements of the employees to be checked in according to the attendance rules and work arrangement information;

[0008] The user terminal determines whether the employee to be checked meets the attendance requirements based on the current time and movement trajectory;

[0009] When the employee to be checked in meets the attendance requirements, the user terminal sends the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance.

[0010] In a second aspect, an embodiment of the present application provides an attendance device, comprising:

[0011] The receiving module is used to enable the user terminal to obtain the movement trajectory and personal information of the employee to be checked; and to enable the user terminal to determine the attendance rules and work arrangement information corresponding to the employee to be checked based on the personal information;

[0012] The attendance module is used to enable the user terminal to determine the attendance requirements of the employee to be checked in according to the attendance rules and work arrangement information; and to enable the user terminal to determine whether the employee to be checked in meets the attendance requirements according to the current time and movement trajectory;

[0013] The sending module is used to enable the user terminal to send the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance when the employee meets the attendance requirements.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the method of the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method of the first aspect.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the first aspect.

[0017] The implementation of the present application has the following beneficial effects:

[0018] In the implementation mode of the present application, the terminal device carried by the employee to be clocked in is used to analyze the employee's action data within a preset time period to determine attendance. Compared with the traditional attendance system established by the company, the method of confirming the employees within the coverage of the system has a wider attendance scope and avoids attendance failures caused by queuing. At the same time, compared with the traditional single-point location attendance, the present application uses a "moving trajectory" that reflects the action status of the employee to be clocked in for attendance, which avoids some attendance cheating situations and makes the attendance situation more accurate. In addition, in the present application, attendance-related data are all analyzed by the terminal device of the employee to be clocked in, and there is no need to transmit relevant data to the outside, thereby ensuring the security of employee and enterprise data. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the implementation modes of the present application, the drawings required for use in the description of the implementation modes will be briefly introduced below. Obviously, the drawings described below are some implementation modes of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 A schematic diagram of the hardware structure of an attendance device provided in an embodiment of the present application;

[0021] Figure 2 A flowchart of an attendance method provided for an implementation method of the present application;

[0022] Figure 3 A flowchart of a method for determining whether an employee to be checked on meets attendance requirements based on a movement trajectory provided in an embodiment of the present application;

[0023] Figure 4 A flowchart of a method for determining whether a moving direction points to a range corresponding to an attendance area provided in an embodiment of the present application;

[0024] Figure 5 A region division diagram for dividing a map into a first region and a second region provided in an embodiment of the present application;

[0025] Figure 6 A flowchart of a method for determining whether an employee to be checked in meets attendance requirements based on current time and movement trajectory provided in an embodiment of the present application;

[0026] Figure 7 A functional module composition block diagram of an attendance device provided in an embodiment of the present application;

[0027] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0030] Reference to "embodiment" herein means that a particular feature, result, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] First, see Figure 1 , Figure 1 The hardware structure diagram of an attendance device provided in the embodiment of the present application is as follows: The attendance device 100 includes at least one processor 101 , a communication line 102 , a memory 103 and at least one communication interface 104 .

[0032] In this embodiment, the processor 101 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0033] The communication link 102 may include a path to transmit information between the above components.

[0034] The communication interface 104 may be any transceiver-like device (eg, antenna, etc.) for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.

[0035] The memory 103 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0036] In this embodiment, the memory 103 can exist independently and be connected to the processor 101 via the communication line 102. The memory 103 can also be integrated with the processor 101. The memory 103 provided in the embodiment of the present application can generally be non-volatile. Among them, the memory 103 is used to store computer-executable instructions for executing the scheme of the present application, and the execution is controlled by the processor 101. The processor 101 is used to execute the computer-executable instructions stored in the memory 103, so as to implement the method provided in the following embodiment of the present application.

[0037] In an optional implementation, the computer-executable instructions may also be referred to as application code, which is not specifically limited in this application.

[0038] In an optional embodiment, the processor 101 may include one or more CPUs, such as Figure 1 CPU0 and CPU1 in.

[0039] In an optional embodiment, the attendance device 100 may include multiple processors, such as Figure 1 1 and 107. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0040] In an optional embodiment, if the attendance device 100 is a server, the attendance device 100 may further include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in a variety of ways. For example, the output device 105 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 106 communicates with the processor 101 and can receive user input in a variety of ways. For example, the input device 106 may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0041] The attendance device 100 mentioned above can be a general device or a special device. The embodiment of the present application does not limit the type of the attendance device 100.

[0042] The attendance method disclosed in this application is described below:

[0043] See also Figure 2 , Figure 2 A flowchart of an attendance method provided in the embodiment of the present application. The attendance method comprises the following steps:

[0044] 201: The user terminal obtains the movement track and personal information of the employee to be checked in.

[0045] In this embodiment, the moving trajectory refers to a trajectory composed of multiple location points collected continuously within a time period. For example, when the preset attendance time is reached, the user terminal will automatically activate the attendance task, and then trigger the moving trajectory acquisition process, so that the positioning program will continuously acquire the user's location information in the next period of time, such as the next 30 seconds, so as to generate the current moving trajectory of the employee to be checked based on the location information.

[0046] 202: The user terminal determines the attendance rules and work arrangement information corresponding to the employee to be checked on based on the personal information.

[0047] In this embodiment, the company database can be queried through the employee's personal information to determine the attendance rules and work arrangement information corresponding to the employee to be clocked in. Exemplarily, the attendance rules may include: the attendance time and attendance range corresponding to the employee to be clocked in; the work arrangement information may include: the attendance location corresponding to the employee to be clocked in. Specifically, for employee A, the corresponding attendance rule is to clock in twice a day, at 8:00-9:00 in the morning and 18:00-22:00 in the afternoon. When clocking in, employee A is required to be within 50 meters of the attendance location during the required time period. Based on this, the attendance time of employee A is: 8:00-9:00 in the morning and 18:00-22:00 in the afternoon, and the attendance range is: within 50 meters of the attendance location. For June 18, 2021, the work arrangement information of employee A is: working in the company in the morning; going on a business trip to the client company for negotiation in the afternoon. Based on this, the test location of employee A is: the company in the morning and the client company in the afternoon.

[0048] 203: The user terminal determines the attendance requirements of the employee to be checked in according to the attendance rules and work arrangement information.

[0049] In this embodiment, the user terminal can determine the center point of the attendance area with the attendance location corresponding to the employee to be checked in. Then, according to the attendance range, determine the radius of the attendance area, and then determine a circular attendance area with the attendance location as the center point. Thus, the attendance time and the range of the attendance area are used as the attendance requirements of the employee to be checked in.

[0050] For example, using the example of employee A above, for June 18, 2021, according to employee A's work schedule information, the test location is determined as: the company in the morning and the client company in the afternoon. Based on this, combined with employee A's attendance rules: attendance time is: 8:00-9:00 in the morning and 18:00-22:00 in the afternoon, and the attendance range is: within 50 meters of the attendance location. The attendance requirements of employee A can be obtained: within 50 meters of the company from 8:00 to 9:00 in the morning; within 50 meters of the client company from 18:00 to 22:00 in the afternoon.

[0051] 204: The user terminal determines whether the employee to be checked meets the attendance requirements according to the current time and the movement trajectory.

[0052] In this embodiment, the user terminal can determine whether the employee to be checked meets the attendance requirements in different ways by determining whether the movement trajectory intersects with the attendance area.

[0053] Specifically, when the moving track intersects with the attendance area, the user terminal can determine whether the employee to be checked meets the attendance requirements based on the moving track. In this embodiment, a method for determining whether the employee to be checked meets the attendance requirements based on the moving track is provided, such as Figure 3 As shown, the method includes:

[0054] 301: The user terminal determines the moving direction of the employee to be checked on according to the moving trajectory.

[0055] In this embodiment, since the moving track is generated by the positioning program continuously acquiring a series of positioning points of the employee to be checked after the attendance task is triggered, the moving direction of the employee to be checked can be determined by connecting these positioning points based on the relationship between these positioning points and the acquisition time.

[0056] 302: When the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rules.

[0057] In this embodiment, if the moving track intersects with the attendance area, it means that the employee to be checked in appears in the attendance area for a period of time during the time period of obtaining the moving track. Therefore, if the moving direction of the employee to be checked in is directed to the range corresponding to the attendance area, it means that the employee to be checked in is walking towards the inside of the attendance area, not away from the attendance area. Therefore, it can be determined whether the employee to be checked in meets the attendance rules.

[0058] Specifically, the present application provides a method for determining whether the moving direction points to the range corresponding to the attendance area, such as Figure 4 As shown, the method includes:

[0059] 401: The user terminal determines the intersection point between the movement track and the boundary of the attendance area.

[0060] 402: The user terminal determines a tangent line of the attendance area, wherein the tangent line passes through the intersection point.

[0061] 403: The user terminal divides the map into a first area and a second area according to the tangent line.

[0062] In this embodiment, the area where the attendance area is located is the first area, and the area where there is no attendance area is the second area. Figure 5 The area division diagram is shown.

[0063] 404: When the moving direction points to the first area, the user terminal determines that the moving direction points to the range corresponding to the attendance area, and waits to check whether the employee meets the attendance rules.

[0064] In an optional implementation, the user terminal may also obtain an electronic map near the current location of the employee to be checked, and determine whether the employee is moving toward the attendance area based on the employee's moving direction and the path distribution and path orientation in the map.

[0065] At the same time, in this embodiment, when the moving track does not intersect with the attendance area, the user terminal can determine whether the employee to be checked meets the attendance requirements based on the current time and the moving track. In this embodiment, a method for determining whether the employee to be checked meets the attendance requirements based on the current time and the moving track is provided, such as Figure 6 As shown, the method includes:

[0066] 601: The user terminal determines the moving direction and moving speed of the employee to be checked on according to the moving trajectory.

[0067] In this embodiment, the method for determining the moving direction of the employee to be clocked is similar to the method for determining the moving direction of the employee to be clocked in step 301, and will not be repeated here. At the same time, based on this method, the length of the moving track of the employee to be clocked can be obtained, and then the moving speed of the employee to be clocked can be obtained according to the collection time.

[0068] 602: When the moving direction points to the range corresponding to the attendance area, the user terminal predicts the path of the employee to be checked in to the attendance area.

[0069] In this embodiment, if the moving track does not intersect with the attendance area, it means that the employee to be checked in has not yet reached the attendance area. Therefore, if the moving direction points to the range corresponding to the attendance area, it means that the employee to be checked in is currently moving towards the attendance area. Therefore, the path that the employee will walk next can be predicted by combining the employee's historical action data.

[0070] 603: The user terminal determines the remaining time according to the current time and the attendance time.

[0071] 604: The user terminal determines whether the employee to be checked in meets the attendance rules according to the path, remaining time and moving speed of the employee to be checked in to the attendance area.

[0072] Specifically, the user terminal can determine the length of the path according to the path taken by the employee to be clocked in to the attendance area. When the quotient of the path length and the moving speed is less than or equal to the remaining time, it means that the employee can reach the attendance area before the attendance time ends. Based on this, the user terminal can determine whether the employee to be clocked in meets the attendance rules.

[0073] In an optional implementation, the user terminal may send a reminder to the employee to be clocked in, reminding him of the remaining time and the remaining distance, so that the employee to be clocked in can pay attention to the attendance matters. In addition, the user terminal may also show the employee to be clocked in some optional items, such as whether to take leave, whether to encounter an emergency, and the reason notification. Specifically, the user terminal may determine which options to display based on the distance between the employee's current location and the attendance area. For example, if the distance between the employee's current location and the attendance area is too far, it means that the employee may need to take leave, so the option of whether to take leave can be displayed to the employee to be clocked in.

[0074] In addition, in an optional implementation, regardless of whether the moving track intersects with the attendance area, if the moving direction of the employee to be clocked in is away from the attendance area, it means that the employee is moving away from the attendance area. At this time, the user terminal sends a prompt to the user to be clocked in, prompting him or her that he or she is moving away from the attendance area. At the same time, some optional items can also be displayed to the employee to be clocked in, such as whether to take leave, whether to encounter an emergency, and the reason notification.

[0075] 205: When the employee to be checked meets the attendance requirements, the user terminal sends the personal information and attendance qualification information of the employee to be checked to the attendance server to complete the attendance.

[0076] In summary, in the attendance method provided by the present invention, the employee's action data is analyzed within a preset time period to determine attendance through the terminal device carried by the employee to be checked in. Compared with the traditional attendance system established by the company, the method of confirming the employees within the scope covered by the system has a wider attendance scope and avoids the situation of attendance failure caused by queuing. At the same time, compared with the traditional single-point location attendance, the present application uses the "moving trajectory" that reflects the action status of the employee to be checked in for attendance, which avoids some attendance cheating situations and makes the attendance situation more accurate. In addition, in the present application, the attendance-related data are all analyzed by the terminal device of the employee to be checked in, and there is no need to transmit the relevant data to the outside, thereby ensuring the security of the employee and enterprise data.

[0077] See also Figure 7 , Figure 7This is a functional module block diagram of an attendance device provided in the embodiment of the present application. Figure 7 As shown, the attendance device 700 includes:

[0078] The receiving module 701 is used to enable the user terminal to obtain the movement track and personal information of the employee to be checked; and to enable the user terminal to determine the attendance rules and work arrangement information corresponding to the employee to be checked based on the personal information;

[0079] Attendance module 702, used to enable the user terminal to determine the attendance requirements of the employee to be checked according to the attendance rules and work arrangement information; and to enable the user terminal to determine whether the employee to be checked meets the attendance requirements according to the current time and movement trajectory;

[0080] The sending module 703 is used to enable the user terminal to send the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance when the employee to be checked in meets the attendance requirements.

[0081] In the embodiment of the present invention, the attendance rules include: the attendance time and attendance range of the employee to be checked in; the work arrangement information includes: the attendance location of the employee to be checked in;

[0082] Based on this, in terms of determining the attendance requirements of the employees to be checked in according to the attendance rules and work arrangement information, the attendance module 702 is specifically used to:

[0083] The user terminal determines the center point of the attendance area by the attendance location corresponding to the employee to be checked in;

[0084] The user terminal determines the radius of the attendance area according to the attendance range;

[0085] The user terminal determines the scope of the attendance area based on the center point and radius of the attendance area;

[0086] The user terminal uses the attendance time and the range of the attendance area as the attendance requirements for the employee to be checked in.

[0087] In the embodiment of the present invention, in the aspect of determining whether the employee to be checked meets the attendance requirements according to the current time and the movement trajectory at the user terminal, the attendance module 702 is specifically used to:

[0088] The user terminal determines whether the moving track intersects with the attendance area;

[0089] When the moving track intersects with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements based on the moving track;

[0090] When the moving track does not intersect with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements based on the current time and the moving track.

[0091] In an embodiment of the present invention, when the moving track intersects with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements according to the moving track, and the attendance module 702 is specifically used to:

[0092] The user terminal determines the moving direction of the employee to be checked based on the moving trajectory;

[0093] When the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rules.

[0094] In an embodiment of the present invention, when the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rules, and the attendance module 702 is specifically used to:

[0095] The user terminal determines the intersection of the movement trajectory and the boundary of the attendance area;

[0096] The user terminal determines a tangent line of the attendance area, wherein the tangent line passes through the intersection point;

[0097] The user terminal divides the map into a first area and a second area according to the tangent, wherein the area where the attendance area is located is the first area, and the area where there is no attendance area is the second area;

[0098] When the moving direction points to the first area, the user terminal determines that the moving direction points to the range corresponding to the attendance area, and waits to check whether the employee meets the attendance rules.

[0099] In an embodiment of the present invention, when the moving track does not intersect with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements according to the current time and the moving track, and the attendance module 702 is specifically used to:

[0100] The user terminal determines the moving direction and moving speed of the employee to be checked based on the moving trajectory;

[0101] When the moving direction points to the range corresponding to the attendance area, the user terminal predicts the path of the employee to be checked in to the attendance area;

[0102] The user terminal determines the remaining time based on the current time and attendance time;

[0103] The user terminal determines whether the employee to be checked in meets the attendance rules according to the path, remaining time and moving speed of the employee to be checked in to the attendance area.

[0104] In an embodiment of the present invention, in the user terminal, according to the path, remaining time, and moving speed of the employee to be checked in to the attendance area, whether the employee to be checked in meets the attendance rules, the attendance module 702 is specifically used to:

[0105] The user terminal determines the length of the path according to the path taken by the employee to be checked in to the attendance area;

[0106] When the quotient of the length of the path and the moving speed is less than or equal to the remaining time, the user terminal determines whether the employee to be clocked in meets the attendance rule.

[0107] See also Figure 8 , Figure 8 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 800 is arranged in a user terminal. Figure 8 As shown, the electronic device 800 includes a transceiver 801, a processor 802 and a memory 803. They are connected via a bus 804. The memory 803 is used to store computer programs and data, and can transmit the data stored in the memory 803 to the processor 802.

[0108] The processor 802 is used to read the computer program in the memory 803 and perform the following operations:

[0109] The user terminal obtains the movement trajectory and personal information of the employee to be checked in;

[0110] The user terminal determines the attendance rules and work arrangement information corresponding to the employee to be checked in based on the personal information;

[0111] The user terminal determines the attendance requirements of the employees to be checked in according to the attendance rules and work arrangement information;

[0112] The user terminal determines whether the employee to be checked meets the attendance requirements based on the current time and movement trajectory;

[0113] When the employee to be checked in meets the attendance requirements, the user terminal sends the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance.

[0114] In the embodiment of the present invention, the attendance rules include: the attendance time and attendance range of the employee to be checked in; the work arrangement information includes: the attendance location of the employee to be checked in;

[0115] Based on this, in terms of determining the attendance requirements of the employee to be checked in according to the attendance rules and work arrangement information, the processor 802 is specifically configured to perform the following operations:

[0116] The user terminal determines the center point of the attendance area by the attendance location corresponding to the employee to be checked in;

[0117] The user terminal determines the radius of the attendance area according to the attendance range;

[0118] The user terminal determines the scope of the attendance area based on the center point and radius of the attendance area;

[0119] The user terminal uses the attendance time and the range of the attendance area as the attendance requirements for the employee to be checked in.

[0120] In the embodiment of the present invention, in the aspect of determining whether the employee to be checked meets the attendance requirements according to the current time and the movement trajectory at the user terminal, the processor 802 is specifically configured to perform the following operations:

[0121] The user terminal determines whether the moving track intersects with the attendance area;

[0122] When the moving track intersects with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements based on the moving track;

[0123] When the moving track does not intersect with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements based on the current time and the moving track.

[0124] In an embodiment of the present invention, when the moving track intersects with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements according to the moving track, and the processor 802 is specifically used to perform the following operations:

[0125] The user terminal determines the moving direction of the employee to be checked based on the moving trajectory;

[0126] When the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rules.

[0127] In an embodiment of the present invention, when the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rules, and the processor 802 is specifically used to perform the following operations:

[0128] The user terminal determines the intersection of the movement trajectory and the boundary of the attendance area;

[0129] The user terminal determines a tangent line of the attendance area, wherein the tangent line passes through the intersection point;

[0130] The user terminal divides the map into a first area and a second area according to the tangent, wherein the area where the attendance area is located is the first area, and the area where there is no attendance area is the second area;

[0131] When the moving direction points to the first area, the user terminal determines that the moving direction points to the range corresponding to the attendance area, and waits to check whether the employee meets the attendance rules.

[0132] In an embodiment of the present invention, when the moving track does not intersect with the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirements according to the current time and the moving track, and the processor 802 is specifically used to perform the following operations:

[0133] The user terminal determines the moving direction and moving speed of the employee to be checked based on the moving trajectory;

[0134] When the moving direction points to the range corresponding to the attendance area, the user terminal predicts the path of the employee to be checked in to the attendance area;

[0135] The user terminal determines the remaining time based on the current time and attendance time;

[0136] The user terminal determines whether the employee to be checked in meets the attendance rules according to the path, remaining time and moving speed of the employee to be checked in to the attendance area.

[0137] In an embodiment of the present invention, in the aspect of determining whether the employee to be checked meets the attendance rules according to the path, remaining time, and moving speed of the employee to be checked, the processor 802 is specifically used to perform the following operations:

[0138] The user terminal determines the length of the path according to the path taken by the employee to be checked in to the attendance area;

[0139] When the quotient of the length of the path and the moving speed is less than or equal to the remaining time, the user terminal determines whether the employee to be clocked in meets the attendance rule.

[0140] It should be understood that the attendance device in this application may include a smart phone (such as an Android phone, an iOS phone, a Windows Phone phone, etc.), a tablet computer, a PDA, a laptop computer, a mobile Internet device MID (Mobile Internet Devices, referred to as: MID), a robot or a wearable device, etc. The above attendance device is only an example, not an exhaustive list, including but not limited to the above attendance device. In practical applications, the above attendance device may also include: an intelligent vehicle terminal, a computer device, etc.

[0141] Through the description of the above implementation modes, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation modes of the present invention or some parts of the implementation modes.

[0142] Therefore, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement some or all steps of any attendance method described in the above method implementation. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a tape, a disk, a USB flash drive, a flash memory, etc.

[0143] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any attendance method recorded in the above method implementation.

[0144] It should be noted that, for the sake of simplicity, the aforementioned method implementations are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by the present application.

[0145] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0146] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0149] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0150] A person skilled in the art may understand that all or part of the steps in the various methods of the above-mentioned embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0151] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for checking attendance, characterized in that: The method comprises: The user terminal obtains the movement trajectory and personal information of the employee to be checked in; The user terminal determines the attendance rules and work arrangement information corresponding to the employee to be checked on according to the personal information; The user terminal determines the attendance requirement of the employee to be checked according to the attendance rule and the work arrangement information; The user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory; when the employee to be checked in meets the attendance requirements, the user terminal sends the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance; the user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory, including: the user terminal determines whether the moving trajectory intersects with the attendance area; when the moving trajectory intersects with the attendance area, the user terminal determines whether the employee to be checked in meets the attendance requirements based on the moving trajectory; when the moving trajectory does not intersect with the attendance area, the user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory; when the moving trajectory When it does not intersect with the attendance area, the user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory, including: the user terminal determines the moving direction and moving speed of the employee to be checked in based on the moving trajectory; when the moving direction points to the range corresponding to the attendance area, the user terminal predicts the path of the employee to be checked in to the attendance area; the user terminal determines the remaining time based on the current time and attendance time; the user terminal determines whether the employee to be checked in meets the attendance rules based on the path of the employee to be checked in to the attendance area, the remaining time and the moving speed; when the distance between the current position of the employee to be checked in and the attendance area is too far, the user terminal displays options for the employee to be checked in whether to take leave or encounter an emergency.

2. The method according to claim 1, characterized in that The attendance rules include: the attendance time and attendance range corresponding to the employee to be checked; The work arrangement information includes: the attendance location corresponding to the employee to be checked in; The user terminal determines the attendance requirements of the employee to be checked according to the attendance rules and the work arrangement information, including: the user terminal determines the center point of the attendance area according to the attendance location corresponding to the employee to be checked; the user terminal determines the radius of the attendance area according to the attendance range; the user terminal determines the range of the attendance area according to the center point and radius of the attendance area; The user terminal uses the attendance time and the range of the attendance area as the attendance requirement of the employee to be checked in.

3. The method according to claim 1, characterized in that When the movement track intersects the attendance area, the user terminal determines whether the employee to be checked meets the attendance requirement according to the movement track, including: The user terminal determines the moving direction of the employee to be checked on according to the moving trajectory; When the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked in meets the attendance rule.

4. The method according to claim 3, characterized in that When the moving direction points to the range corresponding to the attendance area, the user terminal determines whether the employee to be checked meets the attendance rule, including: The user terminal determines an intersection point between the movement track and a boundary of the attendance area; The user terminal determines a tangent line of the attendance area, wherein the tangent line passes through the intersection point; The user terminal divides the map into a first area and a second area according to the tangent, wherein the area where the attendance area is located is the first area, and the area where the attendance area does not exist is the second area; When the moving direction points to the first area, the user terminal determines whether the moving direction points to a range corresponding to the attendance area and whether the employee to be checked in meets the attendance rule.

5. The method according to claim 1, characterized in that The user terminal determines whether the employee to be checked meets the attendance rule according to the path of the employee to be checked to the attendance area, the remaining time and the moving speed, including: The user terminal determines the length of the path according to the path taken by the employee to be checked on to the attendance area; When the quotient of the length of the path and the moving speed is less than or equal to the remaining time, the user terminal determines whether the employee to be clocked in meets the attendance rule.

6. An attendance device, which is arranged on a user terminal of an employee to be clocked in, characterized in that: The device comprises: A receiving module, used to enable the user terminal to obtain the movement trajectory and personal information of the employee to be checked; and to enable the user terminal to determine the attendance rules and work arrangement information corresponding to the employee to be checked according to the personal information; An attendance module, configured to enable the user terminal to determine the attendance requirements of the employee to be checked in accordance with the attendance rules and the work arrangement information; and enable the user terminal to determine whether the employee to be checked in meets the attendance requirements according to the current time and the movement trajectory; The sending module is used to enable the user terminal to send the personal information and attendance qualification information of the employee to be checked in to the attendance server to complete the attendance when the employee to be checked in meets the attendance requirements; it is also used for the user terminal to determine whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory, including: the user terminal determines whether the moving trajectory intersects with the attendance area; when the moving trajectory intersects with the attendance area, the user terminal determines whether the employee to be checked in meets the attendance requirements based on the moving trajectory; when the moving trajectory does not intersect with the attendance area, the user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory; when the moving trajectory does not intersect with the attendance area, the The user terminal determines whether the employee to be checked in meets the attendance requirements based on the current time and the moving trajectory, including: the user terminal determines the moving direction and moving speed of the employee to be checked in based on the moving trajectory; when the moving direction points to the range corresponding to the attendance area, the user terminal predicts the path of the employee to be checked in to the attendance area; the user terminal determines the remaining time based on the current time and attendance time; the user terminal determines whether the employee to be checked in meets the attendance rules based on the path of the employee to be checked in to the attendance area, the remaining time and the moving speed; when the distance between the current position of the employee to be checked in and the attendance area is too far, the user terminal displays options for the employee to be checked in, including whether to apply for leave or whether to encounter an emergency.

7. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor, and the one or more programs include instructions for executing the steps in any one of the methods of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 5.