WO2019062620A1 - Attendance check method and apparatus, and attendance check device - Google Patents

Attendance check method and apparatus, and attendance check device Download PDF

Info

Publication number
WO2019062620A1
WO2019062620A1 PCT/CN2018/106494 CN2018106494W WO2019062620A1 WO 2019062620 A1 WO2019062620 A1 WO 2019062620A1 CN 2018106494 W CN2018106494 W CN 2018106494W WO 2019062620 A1 WO2019062620 A1 WO 2019062620A1
Authority
WO
WIPO (PCT)
Prior art keywords
attendance
image data
user
collected
perform
Prior art date
Application number
PCT/CN2018/106494
Other languages
French (fr)
Chinese (zh)
Inventor
任爱松
Original Assignee
钉钉控股(开曼)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 钉钉控股(开曼)有限公司 filed Critical 钉钉控股(开曼)有限公司
Publication of WO2019062620A1 publication Critical patent/WO2019062620A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Definitions

  • the present invention relates to the field of information technology, and in particular, to an attendance method, apparatus, and attendance device.
  • the traditional attendance equipment has gradually changed from the traditional fixed attendance mode to the way of using mobile devices for attendance.
  • some employees replace other employee attendance through mobile devices. For example, if employees have not yet arrived at the company, they will use the mobile device for attendance. Therefore, using mobile devices cannot determine whether an employee is attending attendance during the attendance time and attendance area.
  • the embodiment of the invention provides an attendance method, a device and an attendance device, so as to at least solve the technical problem that the existing attendance method cannot determine the attendance behavior of the employee.
  • an attendance method including: determining that a terminal enters an attendance area, wherein the terminal runs an application for attendance; and acquiring image data, wherein the image data includes: a facial image of the user, The user carries the terminal; and determines whether to trigger the user to perform the attendance operation according to the collected image data.
  • an attendance method including: determining that a terminal enters an attendance area; acquiring image data, wherein the image data includes: a facial image of the user; determining whether to allow the user to perform according to the collected image data. Attendance operation.
  • an attendance device including: a first determining module, configured to determine that a terminal enters an attendance area, wherein the terminal runs an application for attendance; and an acquisition module is configured to collect The image data, wherein the image data includes: a facial image of the user, the user carries the terminal; and the second determining module is configured to determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
  • an attendance device including: a third determining module, configured to determine that the terminal enters the attendance area; and an image collecting module, configured to collect image data, where the image data includes: a user a facial image; an execution module, configured to determine, according to the collected image data, whether the user is allowed to perform the attendance operation.
  • an attendance device comprising: an image acquisition device, configured to collect image data, wherein the image data includes: a facial image of the user, the user carries the attendance device; the processor, It is used to determine that the attendance device enters the attendance area, and determines whether to trigger the user to perform the attendance operation according to the collected image data, wherein the attendance device runs an application for attendance.
  • a storage medium comprising a stored program, wherein a device in which the storage medium is located is controlled to perform an attendance method while the program is running.
  • a processor for running a program wherein the attendance method is executed while the program is running.
  • a system comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process the following processing steps: Step 1, determining that the terminal enters attendance The area, wherein the terminal runs an application for attendance; and in step 2, the image data is collected, wherein the image data includes: a facial image of the user, the user carries the terminal; and step 3, determining whether to trigger the user to execute according to the collected image data.
  • Step 1 determining that the terminal enters attendance The area, wherein the terminal runs an application for attendance
  • the image data is collected, wherein the image data includes: a facial image of the user, the user carries the terminal; and step 3, determining whether to trigger the user to execute according to the collected image data.
  • the image recognition method is adopted, and the terminal enters the attendance area, and collects image data, and then determines whether the user is triggered to perform the attendance operation according to the collected image data, wherein the terminal runs an application for attendance.
  • the image data includes: the user's facial image, the user carries the terminal, and achieves the purpose of standardizing the employee's attendance behavior, thereby realizing the technical time effect of saving the employee's attendance time and accurately determining the employee's attendance behavior, thereby solving the existing
  • the attendance method cannot determine the technical problem of the employee's attendance behavior.
  • FIG. 1 is a flow chart of an attendance method according to an embodiment of the present invention.
  • FIG. 2(a) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention.
  • FIG. 2(b) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention.
  • FIG. 2(c) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention.
  • 2(d) is a schematic diagram of an optional display interface for attendance failure according to an embodiment of the present invention.
  • FIG. 2(e) is a schematic diagram of an optional face-sweeping attendance interface according to an embodiment of the invention.
  • FIG. 2(f) is a schematic diagram of an optional attendance confirmation interface according to an embodiment of the present invention.
  • 2(g) is a schematic diagram of an optional attendance successful display interface according to an embodiment of the present invention.
  • FIG. 3 is a flow chart of an optional attendance method in accordance with an embodiment of the present invention.
  • FIG. 4 is a flow chart of an optional attendance method in accordance with an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an attendance device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an attendance device according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of an attendance method according to an embodiment of the present invention.
  • FIG. 8(a) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention.
  • FIG. 8(b) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention.
  • FIG. 8(c) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention.
  • FIG. 8(d) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an attendance device according to an embodiment of the present invention.
  • FIG. 10 is a block diagram showing the hardware structure of a computer terminal according to an embodiment of the present invention.
  • An embodiment of the attendance method is also provided according to the embodiment of the present invention. It should be noted that the attendance method proposed by the present application is based on the attendance method of the mobile terminal, and therefore, the employee can perform the attendance through the held mobile terminal. Instead of having to queue up for attendance, it saves time for employees to wait in line. In addition, the attendance method proposed in the present application can also determine whether the employee performs the attendance operation at the effective attendance time and the attendance place, thereby accurately determining the attendance behavior of the employee.
  • the attendance method provided by the present application can be widely applied to information management. Specifically, according to the positioning function of the mobile terminal, whether the employee holding the mobile terminal enters the attendance area, and after determining that the mobile terminal enters the attendance area, the mobile terminal obtains the mobile terminal by adopting the face recognition technology. The facial image of the employee and the obtained facial image match the facial image stored on the mobile terminal, and if the matching is successful, the employee is prompted to perform the attendance.
  • FIG. 1 is a flowchart of the attendance method. As shown in FIG. 1 , the attendance method specifically includes the following steps:
  • Step S102 determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance.
  • the foregoing terminal is any one of the movable terminals, for example, a smart phone, a tablet, a computer, and a wearable device (for example, a smart bracelet, a smart watch) and the like.
  • the above attendance area may be a work area of a user holding the terminal.
  • whether the terminal enters the attendance area can be determined by a combination of any one or more of the following manners:
  • Method 1 determining, by the GPS positioning module on the mobile terminal that has the attendance application installed, whether the mobile terminal enters the attendance area;
  • Method 2 Determine whether the mobile terminal enters the attendance area by identifying the WIFI in the attendance area. For example, whether the mobile terminal can enter the attendance area can be determined by determining whether the WIFI corresponding to the attendance area is detected. Whether the WIFI connected to the mobile terminal matches the WIFI in the attendance area to determine whether the mobile terminal enters the attendance area;
  • Manner 3 Determine whether the mobile terminal enters the attendance area by connecting the mobile terminal to the attendance device in the time and attendance area.
  • the GPS positioning module on the mobile terminal acquires the location of the user in real time, and matches the location acquired in real time with the location of the attendance area stored on the mobile terminal, if the mobile terminal is located. The location is within the range of the attendance area, and it is determined that the mobile terminal enters the attendance area.
  • the method of determining whether the mobile terminal enters the attendance area by using GPS positioning may not accurately determine whether the mobile terminal enters the attendance area.
  • the user's attendance area is at the 16th floor, and when the user reaches the 1st floor, the mobile terminal determines that the user has reached the attendance area. Therefore, the method of identifying the WIFI can be used to determine whether the mobile terminal enters the attendance area.
  • the application installed on the mobile terminal can obtain the name of the WIFI connected to the mobile terminal, and determine whether the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, or the name of the WIFI connected to the mobile terminal. Whether it is one of the WIFI names of multiple WIFIs in the attendance area, if the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, it is determined that the mobile terminal enters the attendance area.
  • the mobile terminal in addition to determining whether the mobile terminal is in the attendance area by detecting whether the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, it is also determined whether the mobile terminal detects the corresponding WIFI in the attendance area. To determine whether the mobile terminal enters the attendance area, in this case, as long as the mobile terminal detects the WIFI in the attendance area, it is determined that the mobile terminal has entered the attendance area, and the mobile terminal is not required to be connected to the WIFI.
  • the application installed on the mobile terminal automatically turns on the Bluetooth on the mobile terminal, so that the mobile terminal passes the attendance in the attendance area via Bluetooth.
  • the device is connected, wherein when the mobile terminal is connected to the attendance device in the attendance area, it is determined that the mobile terminal enters the attendance area.
  • the attendance device described above may be a conventional fixed attendance device.
  • the foregoing three methods for determining whether the mobile terminal enters the attendance area may be used in combination with each other. For example, after the application determines that the mobile terminal enters the attendance area through the GPS positioning module, the application further detects the connection by the mobile terminal. Whether the WIFI matches the WIFI in the attendance area to determine whether the mobile terminal enters the attendance area.
  • the terminal in the present application is a mobile terminal
  • the user when the user performs the attendance, the user does not need to queue again, and the attendance can be completed by the mobile terminal, thereby saving the time for the user to queue for attendance.
  • the user by determining whether the terminal enters the attendance area, the user is allowed to perform the attendance after determining that the terminal enters the attendance area, thereby achieving the purpose of effectively regulating the user's attendance behavior.
  • Step S104 Acquire image data, where the image data includes: a facial image of the user, and the user carries the terminal.
  • the user after determining that the user (ie, the employee) enters the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-to-face attendance interface as shown in FIG. 2(b) by operating the attendance control on the attendance interface shown in FIG. 2(a).
  • the application installed on the mobile terminal acquires the current time of the mobile terminal and the time available for attendance, and determines whether the current time is within the time range of attendance and attendance. If it is determined that the current time is within the time range of the attendance, the application starts the mobile.
  • the camera of the terminal performs photographing or photographing of the user to obtain information of the facial avatar of the user.
  • the application automatically records the user's late or early leave, thereby further standardizing the user's attendance behavior.
  • the attendance control in FIG. 2( a ) may be a virtual button for the user to click, or a preset sliding track for the user to perform a sliding operation, wherein the preset sliding track may be
  • the initial set sliding track can also be a user-defined sliding track.
  • Step S106 Determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
  • the similarity between the collected image data and the pre-stored image data includes one of the following: the similarity between the collected face image and the pre-stored face image; the collected face image and pre-stored The similarity between the face image and the similarity between the collected attendance environment and the pre-stored attendance environment.
  • whether the user is allowed to perform the attendance operation is determined according to the comparison result of the similarity between the collected image data and the pre-stored image data. Specifically, when the application for attendance is running on the mobile terminal for the first time, the mobile terminal collects a facial image of the user and stores the facial image of the user on the mobile terminal. After determining that the user enters the attendance area and determines that the user performs the attendance within the valid attendance time range, the application controls the camera of the mobile terminal to collect the facial image of the user, and collects the collected facial image and the face stored on the mobile terminal. The image is matched. If the match is successful, the user is allowed to perform the attendance operation; otherwise, the user is not allowed to perform the attendance operation.
  • the mobile terminal stores an environment image in the attendance area in addition to the user's face image.
  • the application running on the mobile terminal first detects whether the first similarity between the collected face image and the pre-stored portrait image is greater than or equal to a preset threshold, and further detects if the first similarity is greater than or equal to a preset threshold. Whether the second similarity between the collected attendance environment and the pre-stored attendance environment is greater than or equal to a preset threshold, and if the second similarity is less than the preset threshold, the user is not allowed to perform the attendance operation.
  • the application for attendance can also detect the facial expression of the user and obtain facial image information of the user from a plurality of angles. For example, when the user first uses the application for attendance, the application prompts the user to operate according to the prompt information given by the mobile terminal, for example, turning left, turning right, smiling, etc., collecting the facial image of the user from multiple angles. Information to enable the application to accurately identify the user's facial image during image recognition.
  • the mobile terminal may perform matching determination according to the collected image data and the pre-stored image data, or may send the collected image data to the server, and the server performs the operations of matching and determining.
  • the mobile terminal collects image data of the user, and uploads the collected image or image features to the server, and the server determines, according to the collected image or image feature, whether the user holding the mobile terminal is a attendance user, and After determining that the user holding the mobile terminal is the attendance user, the user is prompted to perform the attendance operation on the display interface of the mobile terminal.
  • the server stores the image or image feature of the attendance user, and the server determines the similarity between the image uploaded by the mobile terminal and the image of the pre-stored attendance user, and/or the image feature uploaded by the mobile terminal and the pre-stored attendance.
  • the similarity of the user's image features determines whether the user is triggered to perform the attendance operation.
  • the terminal enters the attendance area, collects image data, and then determines whether to trigger the user to perform the attendance operation according to the collected image data, wherein the terminal runs for attendance.
  • the application, the image data includes: a facial image of the user, and the user carries the terminal.
  • the terminal is a mobile terminal
  • the user performs attendance through the mobile terminal held by the user, and does not need to queue for attendance, thereby saving time for the user to queue for attendance.
  • it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the terminal is the owner of the terminal, and only after determining the acquisition.
  • the obtained image data matches the pre-stored image data, the user is allowed to perform the attendance operation.
  • the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee.
  • determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, triggering the user to perform the attendance operation specifically includes the following steps:
  • Step S202 when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the confirmed attendance control in the attendance interface of the application is set to an operable state, wherein the operable state Used to indicate that the user is allowed to perform the attendance operation;
  • Step S204 in response to the touch operation performed by the user on the confirmation attendance control, the current attendance time point is recorded.
  • the attendance control can display different colors under different operating states. For example, the attendance control displays black, indicating that the attendance control is in an operable state, and the attendance control is gray, indicating that the attendance control is in an inoperative state, that is, this Time attendance controls are not operational.
  • FIG. 2(b) a schematic diagram of an optional attendance interface as shown in FIG. 2(b).
  • the application controls the attendance control on the display interface shown in FIG. 2(b) to be in an operable state (such as the attendance in FIG. 2(b).
  • the control is black).
  • the user can complete the attendance operation by clicking the attendance control.
  • the application records the current attendance time and generates an attendance record.
  • the application after determining that the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the application automatically triggers the attendance control and records the attendance time. Point without requiring the user to manually operate the attendance control.
  • the similarity between the collected image data and the pre-stored image data is less than a preset threshold.
  • the confirmation attendance control in the attendance interface shown in FIG. 2(c) of the application is set to a non-operation state, wherein the non-operation state is used to indicate that the user is denied the attendance operation.
  • the attendance control is set to gray.
  • the user A holds the mobile terminal of the user B, and the mobile terminal of the user B collects the image data of the user A when collecting the user image. Since the image data of the user A does not match the image data of the user B, the similarity is similar. The degree is less than the preset threshold.
  • the application controls the attendance control to be in an inoperable state (the attendance control is gray), and the user A cannot replace the user B to complete the attendance.
  • FIG. 3 a flowchart of an optional attendance method as shown in FIG. 3 is shown in FIG. 3, and the method specifically includes the following steps:
  • Step S302 acquiring similarity between the collected image data and the pre-stored image data
  • step S304 it is determined whether the similarity is greater than or equal to the preset threshold. If the similarity is greater than or equal to the preset threshold, step S306 is performed; otherwise, step S308 is performed.
  • Step S306 determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, allowing the user to perform the attendance operation includes: when the similarity between the collected image data and the pre-stored image data is greater than or equal to the pre- If the threshold is set, the current facial image authentication interface is jumped to the application attendance confirmation interface, and the user is awaiting the attendance operation.
  • Step S308 determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, that the rejection of the user performing the attendance operation comprises: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold. , then stays in the current facial image authentication interface, prompts the collected image data to be wrong and refuses the user to perform the attendance operation.
  • the user after determining that the mobile terminal enters the attendance area, the user opens an application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface shown in FIG. 2(e) by operating the attendance control on the attendance interface shown in FIG. 2(a). At this time, on the attendance interface shown in FIG. 2(e)
  • the face sweep button is operational. After the user clicks the scan face button, the mobile terminal starts the camera to collect the image data of the user. In another scenario, after determining that the mobile terminal enters the attendance area, the mobile terminal activates the camera to collect image data of the user without requiring the user to click the face scan button.
  • the image data collected by the camera is displayed in the display area of the mobile terminal.
  • the mobile terminal matches the image data with the pre-stored image data to obtain the similarity between the two.
  • the application on the mobile terminal determines whether the user is allowed to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data, wherein when the similarity is greater than or equal to the preset threshold, the user authentication is successful.
  • the application allows the user to perform the attendance operation.
  • the display interface shown in FIG. 2(e) jumps to the attendance confirmation interface shown in FIG. 2(f), and prompts the user to click the attendance button (ie, the attendance control).
  • the user can perform the attendance operation by clicking the attendance control on the attendance confirmation interface shown in Figure 2(f).
  • the attendance confirmation interface shown in FIG. 2(g) prompts the user to complete the attendance operation, and automatically records the user's attendance time, attendance location (for example, office area), whether it is late, early leave, and the like.
  • the above information is displayed on the display interface shown in Fig. 2(g).
  • the facial image authentication interface prompt shown in FIG. 2(d)
  • the image data collected by the user has an error, and the user is reminded that the user's avatar information will be acquired again.
  • the user is prompted to perform the attendance. If, within a preset number of times, the similarity between the acquired avatar information of the user and the pre-stored image data is less than a preset threshold, the application sends an alarm message to the general server, indicating that the employee's attendance behavior is problematic.
  • the total server can be a server that obtains employee attendance records within the company.
  • a flowchart of an optional attendance method before determining that the terminal enters the attendance area, that is, before performing step S102, the attendance method further includes the following steps:
  • Step S402 acquiring identification information of the terminal and user registration information associated with the application
  • Step S404 collecting pre-stored image data
  • Step S406 establishing a correspondence relationship between the identification information, the user registration information, and the pre-stored image data, and storing the correspondence relationship.
  • each terminal corresponds to a unique identification information.
  • the application binds the user's identification information with the user registration information to prevent the user from using multiple mobile terminals for attendance and punching.
  • the mobile terminal stores the correspondence between the identification information of the mobile terminal, the user registration information, and the pre-stored image data, that is, the application allows the user to perform the attendance only when the respective conditions of the three are met, thereby achieving the specification.
  • the purpose of the user's attendance behavior is the purpose of the user's attendance behavior.
  • the attendance method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases the former It is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an attendance device for implementing the above-mentioned attendance method is further provided.
  • the device includes: a first determining module 501, an acquiring module 503, and a second determining module 505.
  • the first determining module 501 is configured to determine that the terminal enters the attendance area, where the terminal runs an application for attendance;
  • the collecting module 503 is configured to collect image data, where the image data includes: a facial image of the user, and the user carries There is a terminal;
  • the second determining module 505 is configured to determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
  • the user is allowed to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data.
  • first determining module 501 corresponds to the steps S102 to S106 in the first embodiment, and the examples and application scenarios implemented by the three modules and the corresponding steps. The same, but not limited to, the content disclosed in the above embodiment 1.
  • the second determining module comprises: a first display module and a recording module.
  • the first display module is configured to set the confirmation attendance control in the attendance confirmation interface of the application to be operable when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold.
  • a state wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; and the recording module is configured to record the current attendance time point in response to the touch operation performed by the user on the confirmation attendance control.
  • first display module and the recording module correspond to the steps S202 to S204 in the first embodiment, and the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above embodiments.
  • a public content
  • the second determining module comprises: a second display module.
  • the second display module is configured to set the confirmation attendance control in the attendance confirmation interface of the application to a non-operation state when the similarity between the collected image data and the pre-stored image data is less than a preset threshold.
  • the non-operational state is used to indicate that the user is denied the attendance operation.
  • the attendance device further includes: a first acquisition module, a second acquisition module, and a storage module.
  • the first obtaining module is configured to acquire the identification information of the terminal and the user registration information associated with the application;
  • the second acquiring module is configured to collect the pre-stored image data;
  • the storage module is configured to identify the information and the user registration information. Corresponding relationship is established between the three pieces of pre-stored image data and the corresponding relationship is stored.
  • first obtaining module corresponds to steps S302 to S306 in the first embodiment
  • second obtaining module corresponds to steps S302 to S306 in the first embodiment
  • three modules are the same as the examples and application scenarios implemented by the corresponding steps, but It is not limited to the contents disclosed in the above embodiment 1.
  • the similarity between the collected image data and the pre-stored image data includes one of the following: the similarity between the collected face image and the pre-stored face image; the collected face image and pre-stored The similarity between the face image and the similarity between the collected attendance environment and the pre-stored attendance environment.
  • the attendance device further includes: a first execution module and a second execution module.
  • the first execution module is configured to: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, jump from the current facial image authentication interface to the attendance confirmation interface of the application, Waiting for the user to perform the attendance operation; the second execution module is configured to stay at the current facial image authentication interface and prompt the collected image data when the similarity between the collected image data and the pre-stored image data is less than a preset threshold An error occurred and the user was denied the attendance operation.
  • an attendance device is further provided. As shown in FIG. 6, the attendance device includes: an image collection device 601 and a processor 603.
  • the image capturing device 601 is configured to collect image data, where the image data includes: a facial image of the user, the user carries the attendance device, and the processor 603 is configured to determine that the attendance device enters the attendance area, and according to the collected image data. Determine whether the user is triggered to perform the attendance operation, wherein the attendance device runs an application for attendance.
  • the image capturing device may be, but not limited to, a camera.
  • the attendance device described above also includes a wireless communication module for connecting to a network within the attendance area.
  • the above attendance device is any one of the movable attendance devices, such as a smart phone, a tablet, a computer, and a wearable device (for example, a smart bracelet, a smart watch).
  • the above-mentioned attendance area is the work area of the user who holds the attendance equipment.
  • the image data is collected by the image capturing device, and the processor determines that the attendance device enters the attendance area, and determines whether the user is triggered according to the comparison result between the acquired image data and the similarity of the pre-stored image data.
  • the attendance operation is performed, wherein the attendance device runs an application for attendance, and the image data includes: a facial image of the user, and the user carries the attendance device.
  • the application installed on the attendance device can obtain the name of the WIFI connected to the attendance device, and determine whether the WIFI name connected to the attendance device is the same as the WIFI name in the attendance area, or whether the name of the WIFI connected to the attendance device is attendance.
  • the attendance device is determined to enter the attendance area.
  • the application installed on the attendance device acquires the current time of the attendance device and the time available for attendance, and determines whether the current time is within the time range of attendance, if the current time is determined.
  • the application opens the camera of the attendance device, and takes photos or videos of the user to obtain information about the facial avatar of the user.
  • the processor sets the confirmation attendance control in the application attendance interface to an operable state, and responds to the user confirming the attendance control
  • the touch operation performed on the top records the current attendance time point, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation.
  • the processor sets the confirmation attendance control in the application attendance confirmation interface to a non-operation state, wherein the non-operation state is used. Indicates that the user is denied the attendance operation.
  • the image data is collected by the image collecting device, and the processor determines that the attendance device enters the attendance area, and determines whether the user is triggered to perform the attendance operation according to the collected image data, wherein the attendance device runs an application for attendance, and the image
  • the data includes: a facial image of the user, and the user carries the attendance device.
  • the user performs attendance through the mobile attendance equipment held by the user, and does not need to queue for attendance, thereby saving the time for the user to queue for attendance.
  • the attendance device after determining that the attendance device enters the attendance area, it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the attendance device is the owner of the attendance device, and only The user is allowed to perform the attendance operation in the case where it is determined that the collected image data matches the pre-stored image data.
  • the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee.
  • an attendance method such as a flowchart of the attendance method shown in FIG. 7, is further provided, and the method specifically includes the following steps:
  • Step S702 determining that the terminal enters the attendance area
  • Step S704 acquiring image data, where the image data includes: a facial image of the user;
  • Step S706 determining, according to the collected image data, whether the user is allowed to perform the attendance operation.
  • the terminal is a mobile terminal. If the application installed on the mobile terminal detects the WIFI corresponding to the attendance area, or the application detects that the WIFI connected to the mobile terminal is the same as the WIFI in the attendance area, it is confirmed that the user holding the mobile terminal enters the attendance area. Inside. After determining that the user enters the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the display interface as shown in FIG. 8(b) by operating the attendance control on the attendance interface as shown in FIG. 2(a), and simultaneously displays on the display interface as shown in FIG. 8(b).
  • the face-attending attendance button is displayed, and the user is prompted to click the face-sweeping attendance button to perform face-sweeping attendance.
  • the face-sweeping attendance button on the face-sweeping attendance button in FIG. 8(b) prompts the user to perform a face-sweeping operation.
  • the display area in FIG. 8(b) does not display any image, that is, the mobile terminal does not start the camera at this time.
  • the application detects that the user clicks the scan face attendance button the camera of the mobile terminal is activated.
  • the display interface of the application automatically jumps to as shown in FIG. 8(c). Scan the face attendance interface, start the camera of the mobile terminal at the same time, and collect the facial image of the user, and display the user's avatar in the display area, such as displaying the user's avatar in the display area of the face-sweeping attendance interface shown in FIG. 8(c).
  • the application sends the collected facial image of the user to the server, or processes the facial image of the user to obtain feature data of the facial image, sends the feature data to the server, and the server stores the acquired facial image of the user and pre-stores Image data, or matching the feature data with the feature data in the pre-stored image data to obtain the similarity of the two images, and if the similarity is greater than or equal to the preset threshold, the server records the user's attendance time. At the same time, the mobile terminal sends a prompt message to prompt the user to successfully attend the attendance. If the similarity is less than the preset threshold, the server sends an alert message to the mobile terminal, prompting the user to switch the angle and rescan the face attendance.
  • the user turns on the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface shown in FIG. 8(a) by operating the attendance control on the attendance interface shown in FIG. 2(a).
  • the attendance control can be a virtual button for the user to click, or a preset sliding track for the user to perform a sliding operation, wherein the preset sliding track can be either an initially set sliding track or a user-defined The sliding track.
  • the attendance control as a virtual button as an example, after the user enters the face-to-face attendance interface shown in FIG. 8(a) by operating the attendance control on the attendance interface shown in FIG.
  • the mobile terminal does not start the camera, and After the user clicks the face-sweeping attendance button as shown in FIG. 8(a), the mobile terminal starts the camera and collects the feature data of the user's face image or face image, and is shown in FIG. 8(a) and FIG. 8(b).
  • the face image of the user captured by the camera is displayed in the display area within the illustrated interface.
  • the user after the user determines to enter the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface as shown in FIG. 8(c) by operating the attendance control on the attendance interface shown in FIG. 2(a), but jumps to the scanning face shown in FIG. 8(c).
  • the mobile terminal automatically starts the camera without the user having to click the face-to-face attendance button shown in FIG. 8(a) to start the camera.
  • the camera collects feature data of the face image or the face image of the user, and displays the face image of the user captured by the camera in the display area in FIG. 8(c).
  • the processing method after the feature data of the face image or the face image of the user is collected is the same as that of the foregoing embodiment, and details are not described herein again.
  • the positional relationship between the display area and the face-sweeping attendance control is not limited to the positional relationship shown in FIG. 8(a), and the positional relationship between the display area and the face-sweeping attendance control can also be expressed as: the sweep shown in FIG. 8(d)
  • the face attendance control is located in the display area.
  • the mobile terminal After the application installed in the mobile terminal determines that the user holding the mobile terminal has entered the attendance area, the mobile terminal starts the camera to collect the facial information of the user, and obtains the facial information of the user according to the The similarity of the stored image, or the similarity of the feature information of the face image to the feature information of the pre-stored image.
  • the attendance control on the display interface of the application is in an operable state, and the user can click the attendance control to complete the attendance.
  • the terminal is a mobile terminal
  • the user performs attendance through the mobile terminal held by the user, and does not need to queue for attendance, thereby saving time for the user to queue for attendance.
  • it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the terminal is the owner of the terminal, and only after determining the acquisition.
  • the obtained image data matches the pre-stored image data, the user is allowed to perform the attendance operation.
  • the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee.
  • an attendance device for implementing the above-mentioned attendance method, which is a schematic structural diagram of the attendance device shown in FIG. 9.
  • the device specifically includes: a third determining module 901, an image collecting module 903, and an execution Module 905.
  • the third determining module 901 is configured to determine that the terminal enters the attendance area; the image collecting module 903 is configured to collect image data, where the image data includes: a facial image of the user; and the executing module 905 is configured to use the collected image data. Determine if the user is allowed to perform attendance operations.
  • the foregoing third determining module 901, the image collecting module 903, and the executing module 805 correspond to steps S702 to S706 in the fourth embodiment, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps. However, it is not limited to the contents disclosed in the above fourth embodiment.
  • a storage medium comprising a stored program, wherein the device in which the storage medium is located is controlled to perform the attendance method in Embodiment 1 while the program is running.
  • a processor for running a program wherein the attendance method in Embodiment 1 is executed while the program is running.
  • a system including a processor and a memory.
  • the memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
  • Step 1 determining that the terminal enters the attendance area, where the terminal runs an application for attendance;
  • Step 2 acquiring image data, where the image data includes: a facial image of the user, and the user carries the terminal;
  • Step 3 Determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
  • Embodiments of the present invention may provide a computer terminal, which may be any one of computer terminal groups.
  • the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
  • the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
  • Fig. 10 is a block diagram showing the hardware structure of a computer terminal.
  • computer terminal A may include one or more (illustrated by 172a, 172b, ..., 172n) processor 172 (processor 172 may include, but is not limited to, a microprocessor MCU or programmable A processing device such as a logic device FPGA, a memory 174 for storing data, and a transmission device 176 for communication functions.
  • processor 172 may include, but is not limited to, a microprocessor MCU or programmable A processing device such as a logic device FPGA, a memory 174 for storing data, and a transmission device 176 for communication functions.
  • it can also include: display, input/output interface (I/O interface), universal serial bus (USB) port (which can be included as one of the ports of the I/O interface), network interface, power supply And / or camera.
  • I/O interface input/output interface
  • USB universal serial bus
  • FIG. 10 is merely illustrative
  • processors 172 and/or other data processing circuits may be referred to herein generally as "data processing circuits.”
  • the data processing circuit may be embodied in whole or in part as software, hardware, firmware or any other combination.
  • the data processing circuitry can be a single, separate processing module, or incorporated in whole or in part into any of the other components in computer terminal A.
  • the data processing circuit is controlled as a processor (e.g., selection of a variable resistance terminal path connected to the interface).
  • the processor 172 can call the memory stored information and the application program by the transmission device to perform the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and collects image data, wherein the image data includes: the user The facial image, the user carries the terminal; and determines whether the user is triggered to perform the attendance operation according to the collected image data.
  • the memory 174 can be used to store software programs and modules of the application software, such as the program instructions/data storage devices corresponding to the attendance method in the embodiment of the present application, and the processor 172 executes each of the software programs and modules stored in the memory 174.
  • a functional application and data processing, that is, the above-mentioned attendance method is implemented.
  • Memory 174 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 174 can further include memory remotely located relative to processor 172, which can be connected to computer terminal A via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 176 is for receiving or transmitting data via a network.
  • the above specific network example may include a wireless network provided by a communication provider of computer terminal A.
  • the transmission device 176 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 176 can be a Radio Frequency (RF) module for communicating wirelessly with the Internet.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the display can be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with the user interface of computer terminal A.
  • LCD liquid crystal display
  • the computer terminal A shown in FIG. 10 above may include hardware components (including circuits), software components (including computer code stored on a computer readable medium), or A combination of both hardware and software components. It should be noted that FIG. 10 is only one example of a specific specific example, and is intended to show the types of components that may be present in the computer terminal A described above.
  • the processor may call the memory stored information and the application program by the transmission device to perform the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and collects image data, where the image data includes: the user's The facial image, the user carries the terminal; and determines whether the user is triggered to perform the attendance operation according to the collected image data.
  • the processor may call the memory stored information and the application program through the transmission device to perform the step of determining whether to allow the user to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the application is The confirmation attendance control in the attendance confirmation interface is set to an operable state, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; in response to the user performing the touch operation performed on the attendance control, the current attendance time point is recorded.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, the application's attendance confirmation is performed.
  • the confirmation attendance control in the interface is set to a non-operation state, wherein the non-operation state is used to indicate that the user is denied the attendance operation.
  • the processor may call the memory stored information and the application program by the transmission device to perform the following steps: acquiring identification information of the terminal and user registration information associated with the application; collecting pre-stored image data; identifying information, user registration information Corresponding relationship is established between the three pieces of pre-stored image data and the corresponding relationship is stored.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: the similarity between the collected face image and the pre-stored face image; the collected face image and the pre-stored face The similarity of the image, and the similarity between the collected attendance environment and the pre-stored attendance environment.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the current face is The image authentication interface jumps to the application attendance confirmation interface, waiting for the user to perform the attendance operation.
  • the processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, staying at the current facial image
  • the authentication interface prompts the collected image data to be in error and refuses the user to perform the attendance operation.
  • FIG. 10 is only an illustration, and the computer terminal can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID). Terminal equipment such as PAD.
  • FIG. 10 does not limit the structure of the above electronic device.
  • computer terminal A may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 10, or have a different configuration than that shown in FIG.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be used to save the program code executed by the attendance method provided in the first embodiment.
  • the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
  • the storage medium is configured to store program code for performing the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and acquiring image data, wherein the image data
  • the method includes: a facial image of the user, the user carries the terminal; and determining, according to the collected image data, whether the user is triggered to perform the attendance operation.
  • the storage medium is configured to store program code for performing: determining whether to allow the user to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data. .
  • the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, then The confirmation attendance control in the application attendance confirmation interface is set to an operable state, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; in response to the user performing the touch operation performed on the attendance control, the current attendance time point is recorded. .
  • the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, the application is applied.
  • the confirmation attendance control in the attendance confirmation interface of the program is set to a non-operational state, wherein the non-operational state is used to indicate that the user is denied the attendance operation.
  • the storage medium is configured to store program code for performing the following steps: acquiring identification information of the terminal and user registration information associated with the application; collecting pre-stored image data; and identifying the information Correspondence between the user registration information and the pre-stored image data is established and the correspondence is stored.
  • the storage medium is configured to store program code for performing the following steps: the similarity between the collected face image and the pre-stored face image; the collected face image and the advance The similarity between the stored face images and the similarity between the collected attendance environment and the pre-stored attendance environment.
  • the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, then Jump from the current face image authentication interface to the application attendance confirmation interface, waiting for the user to perform the attendance operation.
  • the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, staying at The current facial image authentication interface prompts the collected image data to be in error and refuses the user to perform the attendance operation.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention 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 can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Abstract

An attendance check method and apparatus, and an attendance check device. The method comprises: determining that a terminal enters an attendance check region (S102), acquiring image data (S104), and determining, according to the acquired image data, whether to carry out an attendance check start operation performed by a user (S106), wherein an application program for attendance check is run in the terminal, the image data comprises: a facial image of the user, and the user carries the terminal. Said attendance check method solves the technical problem that the existing attendance check methods cannot determine an attendance check behavior of an employee.

Description

考勤方法、装置以及考勤设备Attendance method, device and attendance equipment
本申请要求2017年09月28日递交的申请号为201710901021.4、发明名称为“考勤方法、装置以及考勤设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Japanese Patent Application Serial No. No. No. No. No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No.
技术领域Technical field
本发明涉及信息技术领域,具体而言,涉及一种考勤方法、装置以及考勤设备。The present invention relates to the field of information technology, and in particular, to an attendance method, apparatus, and attendance device.
背景技术Background technique
为了根据员工的出勤情况来对员工的薪资进行发放或奖惩,需要记录员工的出勤情况,因此,对员工进行考勤管理是十分必要的。In order to issue or reward employees' salaries according to their attendance, it is necessary to record the attendance of employees. Therefore, it is necessary to perform attendance management for employees.
传统的考勤设备一般安装在公司的固定上,员工可通过刷考勤卡或者刷脸的方式进行考勤。然而在上下班的高峰期,考勤的员工比较多,员工需要排队进行考勤。尤其是在公司规定的上班时间的前几分钟内,由于排队的人数比较多,导致排在队列后面的员工不能及时刷卡。Traditional attendance equipment is generally installed on the company's fixed, employees can attend the attendance by brushing the time card or brushing the face. However, during the peak hours of commuting, there are more attendance staff, and employees need to queue up for attendance. Especially in the first few minutes of the company's working hours, due to the large number of people queued, the employees behind the queue could not swipe their cards in time.
目前,传统的考勤设备已由传统固定式的考勤模式逐渐转换为利用移动设备来进行出勤的方式。然而有些员工通过移动设备代替其他员工考勤,例如,员工还未到达公司,便通过移动设备进行考勤。因此,使用移动设备无法确定员工是否在考勤时间和考勤区域内进行考勤。At present, the traditional attendance equipment has gradually changed from the traditional fixed attendance mode to the way of using mobile devices for attendance. However, some employees replace other employee attendance through mobile devices. For example, if employees have not yet arrived at the company, they will use the mobile device for attendance. Therefore, using mobile devices cannot determine whether an employee is attending attendance during the attendance time and attendance area.
针对上述现有的考勤方法无法确定员工的考勤行为的问题,目前尚未提出有效的解决方案。In view of the above-mentioned existing attendance method, it is impossible to determine the problem of the employee's attendance behavior, and no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种考勤方法、装置以及考勤设备,以至少解决现有的考勤方法无法确定员工的考勤行为的技术问题。The embodiment of the invention provides an attendance method, a device and an attendance device, so as to at least solve the technical problem that the existing attendance method cannot determine the attendance behavior of the employee.
根据本发明实施例的一个方面,提供了一种考勤方法,包括:确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;根据采集到的图像数据确定是否触发用户执行考勤操作。According to an aspect of the embodiments of the present invention, an attendance method is provided, including: determining that a terminal enters an attendance area, wherein the terminal runs an application for attendance; and acquiring image data, wherein the image data includes: a facial image of the user, The user carries the terminal; and determines whether to trigger the user to perform the attendance operation according to the collected image data.
根据本发明实施例的一个方面,提供了一种考勤方法,包括:确定终端进入考勤区 域;采集图像数据,其中,图像数据包括:用户的面部图像;根据采集到的图像数据确定是否允许用户执行考勤操作。According to an aspect of the embodiments of the present invention, an attendance method is provided, including: determining that a terminal enters an attendance area; acquiring image data, wherein the image data includes: a facial image of the user; determining whether to allow the user to perform according to the collected image data. Attendance operation.
根据本发明实施例的另一方面,还提供了一种考勤装置,包括:第一确定模块,用于确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集模块,用于采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;第二确定模块,用于根据采集到的图像数据确定是否触发用户执行考勤操作。According to another aspect of the embodiments of the present invention, an attendance device is further provided, including: a first determining module, configured to determine that a terminal enters an attendance area, wherein the terminal runs an application for attendance; and an acquisition module is configured to collect The image data, wherein the image data includes: a facial image of the user, the user carries the terminal; and the second determining module is configured to determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
根据本发明实施例的另一方面,还提供了一种考勤装置,包括:第三确定模块,用于确定终端进入考勤区域;图像采集模块,用于采集图像数据,其中,图像数据包括:用户的面部图像;执行模块,用于根据采集到的图像数据确定是否允许用户执行考勤操作。According to another aspect of the present invention, an attendance device is further provided, including: a third determining module, configured to determine that the terminal enters the attendance area; and an image collecting module, configured to collect image data, where the image data includes: a user a facial image; an execution module, configured to determine, according to the collected image data, whether the user is allowed to perform the attendance operation.
根据本发明实施例的另一方面,还提供了一种考勤设备,包括:图像采集装置,用于采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有考勤设备;处理器,用于确定考勤设备进入考勤区域,并根据采集到的图像数据确定是否触发用户执行考勤操作,其中,考勤设备运行有用于考勤的应用程序。According to another aspect of the present invention, there is also provided an attendance device, comprising: an image acquisition device, configured to collect image data, wherein the image data includes: a facial image of the user, the user carries the attendance device; the processor, It is used to determine that the attendance device enters the attendance area, and determines whether to trigger the user to perform the attendance operation according to the collected image data, wherein the attendance device runs an application for attendance.
根据本发明实施例的另一方面,还提供了一种存储介质,该存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行考勤方法。According to another aspect of an embodiment of the present invention, there is also provided a storage medium comprising a stored program, wherein a device in which the storage medium is located is controlled to perform an attendance method while the program is running.
根据本发明实施例的另一方面,还提供了一种处理器,该处理器用于运行程序,其中,程序运行时执行考勤方法。According to another aspect of an embodiment of the present invention, there is also provided a processor for running a program, wherein the attendance method is executed while the program is running.
根据本发明实施例的另一方面,还提供了一种系统,包括:处理器;以及存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:步骤1,确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;步骤2,采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;步骤3,根据采集到的图像数据确定是否触发用户执行考勤操作。According to another aspect of an embodiment of the present invention, there is also provided a system comprising: a processor; and a memory coupled to the processor for providing an instruction to the processor to process the following processing steps: Step 1, determining that the terminal enters attendance The area, wherein the terminal runs an application for attendance; and in step 2, the image data is collected, wherein the image data includes: a facial image of the user, the user carries the terminal; and step 3, determining whether to trigger the user to execute according to the collected image data. Attendance operation.
在本发明实施例中,采用图像识别的方式,通过确定终端进入考勤区域,并采集图像数据,然后根据采集到的图像数据确定是否触发用户执行考勤操作,其中,终端运行有用于考勤的应用程序,图像数据包括:用户的面部图像,用户携带有终端,达到了规范员工的考勤行为的目的,从而实现了节省员工的考勤时间,准确确定员工的考勤行为的技术效果,进而解决了现有的考勤方法无法确定员工的考勤行为的技术问题。In the embodiment of the present invention, the image recognition method is adopted, and the terminal enters the attendance area, and collects image data, and then determines whether the user is triggered to perform the attendance operation according to the collected image data, wherein the terminal runs an application for attendance. The image data includes: the user's facial image, the user carries the terminal, and achieves the purpose of standardizing the employee's attendance behavior, thereby realizing the technical time effect of saving the employee's attendance time and accurately determining the employee's attendance behavior, thereby solving the existing The attendance method cannot determine the technical problem of the employee's attendance behavior.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的一种考勤方法的流程图;1 is a flow chart of an attendance method according to an embodiment of the present invention;
图2(a)是根据本发明实施例的一种可选的考勤界面的示意图;2(a) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention;
图2(b)是根据本发明实施例的一种可选的考勤界面的示意图;2(b) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention;
图2(c)是根据本发明实施例的一种可选的考勤界面的示意图;2(c) is a schematic diagram of an optional attendance interface according to an embodiment of the present invention;
图2(d)是根据本发明实施例的一种可选的考勤失败的显示界面的示意图;2(d) is a schematic diagram of an optional display interface for attendance failure according to an embodiment of the present invention;
图2(e)是根据本发明实施例的一种可选的扫脸考勤界面的示意图;2(e) is a schematic diagram of an optional face-sweeping attendance interface according to an embodiment of the invention;
图2(f)是根据本发明实施例的一种可选的考勤确认界面的示意图;2(f) is a schematic diagram of an optional attendance confirmation interface according to an embodiment of the present invention;
图2(g)是根据本发明实施例的一种可选的考勤成功的显示界面的示意图;2(g) is a schematic diagram of an optional attendance successful display interface according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的考勤方法的流程图;3 is a flow chart of an optional attendance method in accordance with an embodiment of the present invention;
图4是根据本发明实施例的一种可选的考勤方法的流程图;4 is a flow chart of an optional attendance method in accordance with an embodiment of the present invention;
图5是根据本发明实施例的一种考勤装置的结构示意图;FIG. 5 is a schematic structural diagram of an attendance device according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的一种考勤设备的结构示意图;6 is a schematic structural diagram of an attendance device according to an embodiment of the present invention;
图7是根据本发明实施例的一种考勤方法的流程图;7 is a flow chart of an attendance method according to an embodiment of the present invention;
图8(a)是根据本发明实施例的一种可选的显示界面的示意图;8(a) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention;
图8(b)是根据本发明实施例的一种可选的显示界面的示意图;8(b) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention;
图8(c)是根据本发明实施例的一种可选的显示界面的示意图;8(c) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention;
图8(d)是根据本发明实施例的一种可选的显示界面的示意图;8(d) is a schematic diagram of an optional display interface in accordance with an embodiment of the present invention;
图9是根据本发明实施例的一种考勤装置的结构示意图;以及9 is a schematic structural diagram of an attendance device according to an embodiment of the present invention;
图10是根据本发明实施例的一种计算机终端的硬件结构框图。FIG. 10 is a block diagram showing the hardware structure of a computer terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样 使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second", and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged as appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
实施例1Example 1
根据本发明实施例,还提供了一种考勤方法的实施例,需要说明的是,本申请所提出的考勤方法是基于移动终端的考勤方法,因此,员工通过持有的移动终端即可进行考勤,而不需要排队进行考勤,从而节省了员工等候排队的时间。此外,本申请所提出的考勤方法还可以确定员工是否在有效的考勤时间和考勤地点进行考勤操作,进而准确确定员工的考勤行为。An embodiment of the attendance method is also provided according to the embodiment of the present invention. It should be noted that the attendance method proposed by the present application is based on the attendance method of the mobile terminal, and therefore, the employee can perform the attendance through the held mobile terminal. Instead of having to queue up for attendance, it saves time for employees to wait in line. In addition, the attendance method proposed in the present application can also determine whether the employee performs the attendance operation at the effective attendance time and the attendance place, thereby accurately determining the attendance behavior of the employee.
此外,还需要说明的是,本申请所提供的考勤方法可以广泛应用在信息管理方面。具体的,根据移动终端的定位功能可确定持有移动终端的员工是否进入到考勤区域内,在确定移动终端进入到考勤区域后,移动终端通过采用人脸识别技术,获取到持有该移动终端的员工的面部图像,并获取到的面部图像与移动终端上所存储的面部图像是否匹配,如果匹配成功,则提示员工进行考勤。In addition, it should be noted that the attendance method provided by the present application can be widely applied to information management. Specifically, according to the positioning function of the mobile terminal, whether the employee holding the mobile terminal enters the attendance area, and after determining that the mobile terminal enters the attendance area, the mobile terminal obtains the mobile terminal by adopting the face recognition technology. The facial image of the employee and the obtained facial image match the facial image stored on the mobile terminal, and if the matching is successful, the employee is prompted to perform the attendance.
由上述内容可知,本申请通过采用定位技术以及人脸识别技术来确定员工的考勤行为。其中,图1示出了考勤方法的流程图,由图1可知,考勤方法具体包括如下步骤:It can be seen from the above that the present application determines the attendance behavior of employees by adopting positioning technology and face recognition technology. FIG. 1 is a flowchart of the attendance method. As shown in FIG. 1 , the attendance method specifically includes the following steps:
步骤S102,确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序。Step S102, determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance.
需要说明的是,上述终端为任意一个可移动的终端,例如,智能手机、平板、电脑以及可穿戴设备(例如,智能手环、智能手表)等。上述考勤区域可以为持有终端的用户的工作区域。It should be noted that the foregoing terminal is any one of the movable terminals, for example, a smart phone, a tablet, a computer, and a wearable device (for example, a smart bracelet, a smart watch) and the like. The above attendance area may be a work area of a user holding the terminal.
具体的,可通过如下任意一种或多种方式的组合来确定终端是否进入考勤区域:Specifically, whether the terminal enters the attendance area can be determined by a combination of any one or more of the following manners:
方式一:通过安装有考勤的应用程序的移动终端上的GPS定位模块来确定移动终端是否进入到考勤区域;Method 1: determining, by the GPS positioning module on the mobile terminal that has the attendance application installed, whether the mobile terminal enters the attendance area;
方式二:通过识别考勤区域内的WIFI的方法确定移动终端是否进入到考勤区域,例如,可通过判断是否检测到与考勤区域内对应的WIFI来确定移动终端是否进入到考勤区域,也可通过判断移动终端上连接的WIFI与考勤区域内的WIFI是否相匹配的方法来确定移动终端是否进入到考勤区域;Method 2: Determine whether the mobile terminal enters the attendance area by identifying the WIFI in the attendance area. For example, whether the mobile terminal can enter the attendance area can be determined by determining whether the WIFI corresponding to the attendance area is detected. Whether the WIFI connected to the mobile terminal matches the WIFI in the attendance area to determine whether the mobile terminal enters the attendance area;
方式三:通过移动终端是否与考勤区域内的考勤设备相连接的方式来确定移动终端 是否进入到考勤区域。Manner 3: Determine whether the mobile terminal enters the attendance area by connecting the mobile terminal to the attendance device in the time and attendance area.
在一种可选的实施例中,移动终端上的GPS定位模块实时获取用户所在的位置,并将实时获取到的位置与移动终端上所存储的考勤区域的位置相匹配,如果移动终端所在的位置在考勤区域的范围内,则确定移动终端进入到考勤区域内。In an optional embodiment, the GPS positioning module on the mobile terminal acquires the location of the user in real time, and matches the location acquired in real time with the location of the attendance area stored on the mobile terminal, if the mobile terminal is located. The location is within the range of the attendance area, and it is determined that the mobile terminal enters the attendance area.
在另一种可选的实施例中,由于用户的工作场所一般位于高层建筑内,因此,通过GPS定位来确定移动终端是否进入到考勤区域的方法可能不能准确确定移动终端是否进入到考勤区域,例如,用户的考勤区域在16层,而当用户到达1层时,移动终端便确定用户已达到考勤区域。因此,可以采用识别WIFI的方法来确定移动终端是否进入到考勤区域内。具体的,安装在移动终端上的应用程序可获取移动终端所连接的WIFI的名称,并判断移动终端所连接的WIFI名称与考勤区域内的WIFI名称是否相同,或者移动终端所连接的WIFI的名称是否为考勤区域内多个WIFI的WIFI名称中的一个,如果移动终端所连接的WIFI名称与考勤区域内的WIFI名称相同,则确定移动终端进入到考勤区域内。In another optional embodiment, since the user's workplace is generally located in a high-rise building, the method of determining whether the mobile terminal enters the attendance area by using GPS positioning may not accurately determine whether the mobile terminal enters the attendance area. For example, the user's attendance area is at the 16th floor, and when the user reaches the 1st floor, the mobile terminal determines that the user has reached the attendance area. Therefore, the method of identifying the WIFI can be used to determine whether the mobile terminal enters the attendance area. Specifically, the application installed on the mobile terminal can obtain the name of the WIFI connected to the mobile terminal, and determine whether the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, or the name of the WIFI connected to the mobile terminal. Whether it is one of the WIFI names of multiple WIFIs in the attendance area, if the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, it is determined that the mobile terminal enters the attendance area.
需要说明的是,除可通过检测移动终端所连接的WIFI名称是否与考勤区域内的WIFI名称相同来确定移动终端是否进入到考勤区域,也可通过判断移动终端是否检测到考勤区域内对应的WIFI来确定移动终端是否进入到考勤区域内,在这种情况下,只要移动终端检测到考勤区域内的WIFI,即确定移动终端已进入到考勤区域内,而不需要移动终端与WIFI连接。It should be noted that, in addition to determining whether the mobile terminal is in the attendance area by detecting whether the WIFI name connected to the mobile terminal is the same as the WIFI name in the attendance area, it is also determined whether the mobile terminal detects the corresponding WIFI in the attendance area. To determine whether the mobile terminal enters the attendance area, in this case, as long as the mobile terminal detects the WIFI in the attendance area, it is determined that the mobile terminal has entered the attendance area, and the mobile terminal is not required to be connected to the WIFI.
在另一种可选的实施例中,在考勤区域内的WIFI出现故障的情况下,安装在移动终端上的应用程序自动开启移动终端上的蓝牙,使移动终端通过蓝牙与考勤区域内的考勤设备连接,其中,当移动终端与考勤区域内的考勤设备连接时,确定移动终端进入到考勤区域内。需要说明的是,上述考勤设备可以为传统的固定式的考勤设备。In another optional embodiment, when the WIFI in the attendance area fails, the application installed on the mobile terminal automatically turns on the Bluetooth on the mobile terminal, so that the mobile terminal passes the attendance in the attendance area via Bluetooth. The device is connected, wherein when the mobile terminal is connected to the attendance device in the attendance area, it is determined that the mobile terminal enters the attendance area. It should be noted that the attendance device described above may be a conventional fixed attendance device.
此外,还需要说明的是,上述三种确定移动终端是否进入考勤区域内的方法可以相互结合来使用,例如,应用程序通过GPS定位模块确定移动终端进入考勤区域之后,进一步通过检测移动终端所连接的WIFI是否与考勤区域内的WIFI相匹配来确定移动终端是否进入考勤区域。In addition, it should be noted that the foregoing three methods for determining whether the mobile terminal enters the attendance area may be used in combination with each other. For example, after the application determines that the mobile terminal enters the attendance area through the GPS positioning module, the application further detects the connection by the mobile terminal. Whether the WIFI matches the WIFI in the attendance area to determine whether the mobile terminal enters the attendance area.
另外,由于本申请中的终端为移动终端,因此,用户在进行考勤时,不需要再进行排队,通过自己的移动终端即可完成考勤,从而节省了用户排队进行考勤的时间。此外,通过确定终端是否进入考勤区域,在确定终端进入到考勤区域之后才允许用户进行考勤,由此,可以达到有效规范用户的考勤行为的目的。In addition, since the terminal in the present application is a mobile terminal, when the user performs the attendance, the user does not need to queue again, and the attendance can be completed by the mobile terminal, thereby saving the time for the user to queue for attendance. In addition, by determining whether the terminal enters the attendance area, the user is allowed to perform the attendance after determining that the terminal enters the attendance area, thereby achieving the purpose of effectively regulating the user's attendance behavior.
步骤S104,采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端。Step S104: Acquire image data, where the image data includes: a facial image of the user, and the user carries the terminal.
在一种可选的实施例中,在确定用户(即员工)进入到考勤区域之后,用户开启用于考勤的应用程序,进入如图2(a)所示的考勤界面。然后,用户再通过操作图2(a)所示的考勤界面上的考勤控件进入到如图2(b)所示的扫脸考勤界面。安装在移动终端上的应用程序获取移动终端的当前时间以及可考勤的时间,并判断当前时间是否在可考勤的时间范围内,如果确定当前时间在可考勤的时间范围内,则应用程序启动移动终端的摄像头,对用户进行拍照或摄像以获取到用户的面部头像的信息。In an optional embodiment, after determining that the user (ie, the employee) enters the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-to-face attendance interface as shown in FIG. 2(b) by operating the attendance control on the attendance interface shown in FIG. 2(a). The application installed on the mobile terminal acquires the current time of the mobile terminal and the time available for attendance, and determines whether the current time is within the time range of attendance and attendance. If it is determined that the current time is within the time range of the attendance, the application starts the mobile. The camera of the terminal performs photographing or photographing of the user to obtain information of the facial avatar of the user.
需要说明的是,在确定用户进入到考勤区域之后,进一步确定用户是否在有效的打开时间范围内考勤,只有确定用户是在有效的考勤时间范围考勤,才允许用户考勤,从而可有效防止用户迟到和早退。此外,如果用户没有在有效的时间范围内进行考勤,则应用程序自动记录用户迟到或早退,从而进一步规范了用户的考勤行为。It should be noted that after determining that the user enters the attendance area, it is further determined whether the user attends the attendance within the valid open time range, and only determines that the user is attending the valid attendance time range, and then allows the user to attend the attendance, thereby effectively preventing the user from being late. And leave early. In addition, if the user does not perform attendance within a valid time frame, the application automatically records the user's late or early leave, thereby further standardizing the user's attendance behavior.
此外,还需要说明的是,图2(a)中的考勤控件既可以是供用户点击的虚拟按钮,也可以是供用户执行滑动操作的预设滑动轨迹,其中,预设滑动轨迹既可以是初始设定的滑动轨迹,也可以是用户自定义的滑动轨迹。In addition, it should be noted that the attendance control in FIG. 2( a ) may be a virtual button for the user to click, or a preset sliding track for the user to perform a sliding operation, wherein the preset sliding track may be The initial set sliding track can also be a user-defined sliding track.
步骤S106,根据采集到的图像数据确定是否触发用户执行考勤操作。Step S106: Determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
需要说明的是,采集到的图像数据与预先存储的图像数据的相似度包括以下之一:采集到的人脸图像与预先存储的人脸图像的相似度;采集到的人脸图像与预先存储的人脸图像的相似度,以及采集到的考勤环境与预先存储的考勤环境之间的相似度。It should be noted that the similarity between the collected image data and the pre-stored image data includes one of the following: the similarity between the collected face image and the pre-stored face image; the collected face image and pre-stored The similarity between the face image and the similarity between the collected attendance environment and the pre-stored attendance environment.
在一种可选的实施例中,根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否允许用户执行考勤操作。具体的,在用于考勤的应用程序首次在移动终端上运行时,移动终端采集用户的面部图像,并将用户的面部图像存储在移动终端上。在确定用户进入到考勤区域,并确定用户在有效的考勤时间范围内进行考勤之后,应用程序控制移动终端的摄像头采集用户的面部图像,并将采集到的面部图像与存储在移动终端上的面部图像进行匹配。如果匹配成功,则允许用户执行考勤操作;否则,不允许用户执行考勤操作。In an optional embodiment, whether the user is allowed to perform the attendance operation is determined according to the comparison result of the similarity between the collected image data and the pre-stored image data. Specifically, when the application for attendance is running on the mobile terminal for the first time, the mobile terminal collects a facial image of the user and stores the facial image of the user on the mobile terminal. After determining that the user enters the attendance area and determines that the user performs the attendance within the valid attendance time range, the application controls the camera of the mobile terminal to collect the facial image of the user, and collects the collected facial image and the face stored on the mobile terminal. The image is matched. If the match is successful, the user is allowed to perform the attendance operation; otherwise, the user is not allowed to perform the attendance operation.
在另一种可选的实施例中,移动终端上除存储有用户的人脸图像之外,还存储有考勤区域内的环境图像。运行在移动终端上的应用程序首先检测采集到的人脸图像与预先存储的人像图像的第一相似度是否大于或等于预设阈值,如果第一相似度大于或等于预设阈值,则进一步检测采集到的考勤环境与预先存储的考勤环境之间的第二相似度是否 大于或等于预设阈值,如果第二相似度小于预设阈值,则不允许用户执行考勤操作。In another optional embodiment, the mobile terminal stores an environment image in the attendance area in addition to the user's face image. The application running on the mobile terminal first detects whether the first similarity between the collected face image and the pre-stored portrait image is greater than or equal to a preset threshold, and further detects if the first similarity is greater than or equal to a preset threshold. Whether the second similarity between the collected attendance environment and the pre-stored attendance environment is greater than or equal to a preset threshold, and if the second similarity is less than the preset threshold, the user is not allowed to perform the attendance operation.
还存在另一种可选的实施例,用于考勤的应用程序还可对用户的面部表情进行检测,以及从多个角度来获取用户的面部图像信息。例如,当用户首次使用应用程序进行考勤时,应用程序提示用户按照移动终端所给出的提示信息进行操作,比如,左转头、右转头、微笑等,从多个角度采集用户的面部图像信息,以使应用程序在进行图像识别的过程中可以准确的识别出用户的面部图像。There is another alternative embodiment in which the application for attendance can also detect the facial expression of the user and obtain facial image information of the user from a plurality of angles. For example, when the user first uses the application for attendance, the application prompts the user to operate according to the prompt information given by the mobile terminal, for example, turning left, turning right, smiling, etc., collecting the facial image of the user from multiple angles. Information to enable the application to accurately identify the user's facial image during image recognition.
此外,还需要说明的是,通过采集到的图像数据与预先存储的图像数据的相似度来确定是否允许用户执行考勤操作,可以防止多个用户之间互相代替其他用户进行考勤的问题。另外,在上述三种实施例中,移动终端可根据采集到的图像数据与预先存储的图像数据进行匹配判断,也可将采集到的图像数据发送至服务器,由服务器执行匹配与判断的操作。具体如下:移动终端采集用户的图像数据,并将采集到的图像或者图像的特征上传至服务器中,服务器根据采集到的图像或者图像特征来确定持有移动终端的用户是否为考勤用户,并在确定持有移动终端的用户为考勤用户之后,在移动终端的显示界面上提示用户执行考勤操作。其中,服务器上存储有考勤用户的图像或图像特征,服务器通过判断移动终端所上传的图像与预先存储的考勤用户的图像的相似度,和/或移动终端所上传的图像特征与预先存储的考勤用户的图像特征的相似度来确定是否触发用户执行考勤操作。In addition, it should be noted that whether the user is allowed to perform the attendance operation by the similarity between the collected image data and the pre-stored image data can prevent the problem that multiple users perform the attendance with each other instead of other users. In addition, in the foregoing three embodiments, the mobile terminal may perform matching determination according to the collected image data and the pre-stored image data, or may send the collected image data to the server, and the server performs the operations of matching and determining. The details are as follows: the mobile terminal collects image data of the user, and uploads the collected image or image features to the server, and the server determines, according to the collected image or image feature, whether the user holding the mobile terminal is a attendance user, and After determining that the user holding the mobile terminal is the attendance user, the user is prompted to perform the attendance operation on the display interface of the mobile terminal. The server stores the image or image feature of the attendance user, and the server determines the similarity between the image uploaded by the mobile terminal and the image of the pre-stored attendance user, and/or the image feature uploaded by the mobile terminal and the pre-stored attendance. The similarity of the user's image features determines whether the user is triggered to perform the attendance operation.
基于上述步骤S102至步骤S106所限定的方案,可以获知,通过确定终端进入考勤区域,并采集图像数据,然后根据采集到的图像数据确定是否触发用户执行考勤操作,其中,终端运行有用于考勤的应用程序,图像数据包括:用户的面部图像,用户携带有终端。Based on the solution defined in the foregoing steps S102 to S106, it can be known that the terminal enters the attendance area, collects image data, and then determines whether to trigger the user to perform the attendance operation according to the collected image data, wherein the terminal runs for attendance. The application, the image data includes: a facial image of the user, and the user carries the terminal.
容易注意到的是,由于上述终端为移动终端,因此,用户通过自己所持有的移动终端进行考勤,而不需要排队进行考勤,从而节省了用户排队进行考勤的时间。另外,在确定终端进入到考勤区域之后,还需要进一步确定采集到的图像数据是否为预先存储的图像数据是否匹配,即需要进一步确定持有终端的用户是否为终端的拥有者,只有在确定采集到的图像数据与预先存储的图像数据匹配的情况下,才允许用户执行考勤操作。It is easy to notice that since the terminal is a mobile terminal, the user performs attendance through the mobile terminal held by the user, and does not need to queue for attendance, thereby saving time for the user to queue for attendance. In addition, after determining that the terminal enters the attendance area, it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the terminal is the owner of the terminal, and only after determining the acquisition. When the obtained image data matches the pre-stored image data, the user is allowed to perform the attendance operation.
由上述内容可知,本申请可以达到规范员工的考勤行为的目的,从而实现了节省员工的考勤时间,准确确定员工的考勤行为的技术效果,进而解决了现有的考勤方法无法确定员工的考勤行为的技术问题。It can be seen from the above that the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee. Technical problem.
在一种可选的实施例中,根据采集到的图像数据与预先存储的图像数据的相似度的 比较结果确定触发用户执行考勤操作具体包括如下步骤:In an optional embodiment, determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, triggering the user to perform the attendance operation specifically includes the following steps:
步骤S202,当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则将应用程序的考勤界面内的确认考勤控件设置为可操作状态,其中,可操作状态用于表示允许用户执行考勤操作;Step S202, when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the confirmed attendance control in the attendance interface of the application is set to an operable state, wherein the operable state Used to indicate that the user is allowed to perform the attendance operation;
步骤S204,响应用户在确认考勤控件上执行的触控操作,记录当前考勤时间点。Step S204, in response to the touch operation performed by the user on the confirmation attendance control, the current attendance time point is recorded.
需要说明的是,考勤控件在不同的操作状态下所显示的颜色可以不同,例如,考勤控件显示黑色,表示考勤控件处于可操作状态,考勤控件显示灰色,表示考勤控件处于非操作状态,即此时考勤控件不可操作。It should be noted that the attendance control can display different colors under different operating states. For example, the attendance control displays black, indicating that the attendance control is in an operable state, and the attendance control is gray, indicating that the attendance control is in an inoperative state, that is, this Time attendance controls are not operational.
具体的,如图2(b)所示的一种可选的考勤界面的示意图。当用于考勤的应用程序得到的相似度大于或等于预设阈值之后,应用程序控制图2(b)所示的显示界面上的考勤控件为可操作状态(如图2(b)中的考勤控件为黑色),此时,用户可通过点击考勤控件来完成考勤的操作。同时,应用程序记录下当前的考勤时间,并生成考勤记录。Specifically, a schematic diagram of an optional attendance interface as shown in FIG. 2(b). After the similarity obtained by the application for attendance is greater than or equal to the preset threshold, the application controls the attendance control on the display interface shown in FIG. 2(b) to be in an operable state (such as the attendance in FIG. 2(b). The control is black). At this time, the user can complete the attendance operation by clicking the attendance control. At the same time, the application records the current attendance time and generates an attendance record.
在另一种可选的实施例中,在确定采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值之后,应用程序自动触发考勤控件,并记录下考勤的时间点,而不需要用户在手动操作考勤控件。In another optional embodiment, after determining that the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the application automatically triggers the attendance control and records the attendance time. Point without requiring the user to manually operate the attendance control.
另外,当采集到的图像数据与预设存储的图像数据的相似度的比较结果确定不触发用户执行考勤操作时,采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,此时,将应用程序的如图2(c)所示的考勤界面内的确认考勤控件设置为非操作状态,其中,非操作状态用于表示拒绝用户执行考勤操作。如图2(c)所示,当采集到的图像数据与预设存储的图像数据的相似度的比较结果确定不触发用户执行考勤操作时,考勤控件设置为灰色。例如,用户A持有用户B的移动终端,用户B的移动终端在采集用户图像时,采集到的是用户A的图像数据,由于用户A的图像数据与用户B的图像数据不匹配,即相似度小于预设阈值,此时,应用程序控制考勤控件处于不可操作状态(考勤控件为灰色),用户A不能代替用户B完成考勤。In addition, when the comparison result of the similarity between the collected image data and the preset stored image data determines that the user is not triggered to perform the attendance operation, the similarity between the collected image data and the pre-stored image data is less than a preset threshold. At this time, the confirmation attendance control in the attendance interface shown in FIG. 2(c) of the application is set to a non-operation state, wherein the non-operation state is used to indicate that the user is denied the attendance operation. As shown in FIG. 2(c), when the comparison result of the similarity between the collected image data and the preset stored image data determines that the user is not triggered to perform the attendance operation, the attendance control is set to gray. For example, the user A holds the mobile terminal of the user B, and the mobile terminal of the user B collects the image data of the user A when collecting the user image. Since the image data of the user A does not match the image data of the user B, the similarity is similar. The degree is less than the preset threshold. At this time, the application controls the attendance control to be in an inoperable state (the attendance control is gray), and the user A cannot replace the user B to complete the attendance.
在一种可选的实施例中,如图3所示的一种可选的考勤方法的流程图,如图3所示,该方法具体包括如下步骤:In an optional embodiment, a flowchart of an optional attendance method as shown in FIG. 3 is shown in FIG. 3, and the method specifically includes the following steps:
步骤S302,获取采集到的图像数据与预先存储的图像数据的相似度;Step S302, acquiring similarity between the collected image data and the pre-stored image data;
步骤S304,判断相似度是否大于或等于预设阈值,其中,如果相似度大于或等于预设阈值,则执行步骤S306,否则,执行步骤S308。In step S304, it is determined whether the similarity is greater than or equal to the preset threshold. If the similarity is greater than or equal to the preset threshold, step S306 is performed; otherwise, step S308 is performed.
步骤S306,根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定 允许用户执行考勤操作包括:当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则从当前的面部图像认证界面跳转至应用程序的考勤确认界面,等待用户执行考勤操作。Step S306, determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, allowing the user to perform the attendance operation includes: when the similarity between the collected image data and the pre-stored image data is greater than or equal to the pre- If the threshold is set, the current facial image authentication interface is jumped to the application attendance confirmation interface, and the user is awaiting the attendance operation.
步骤S308,根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定拒绝用户执行考勤操作包括:当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则停留在当前的面部图像认证界面,提示采集到的图像数据出现错误并拒绝用户执行考勤操作。Step S308, determining, according to the comparison result of the similarity between the collected image data and the pre-stored image data, that the rejection of the user performing the attendance operation comprises: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold. , then stays in the current facial image authentication interface, prompts the collected image data to be wrong and refuses the user to perform the attendance operation.
具体的,在确定移动终端进入到考勤区域之后,用户开启用于考勤的应用程序,进入如图2(a)所示的考勤界面。然后,用户再通过操作图2(a)所示的考勤界面上的考勤控件进入如图2(e)所示的扫脸考勤界面,此时,图2(e)所示的考勤界面上的扫脸按钮处于可操作状态。在用户点击扫脸按钮之后,移动终端启动摄像头采集用户的图像数据。在另一种情形中,在确定移动终端进入到考勤区域之后,移动终端便启动摄像头以采集用户的图像数据,而不需要用户点击扫脸按钮。在启动移动终端的摄像头之后,移动终端的显示区域内显示摄像头所采集的图像数据。移动终端在采集到用户的图像数据之后,将图像数据与预先存储的图像数据进行匹配,得到两者的相似度。移动终端上的应用程序根据采集到的图像数据与预先存储的图像数据的相似度的比较结果来确定是否允许用户执行考勤操作,其中,当相似度大于或等于预设阈值时,说明用户认证成功,应用程序允许用户执行考勤操作,此时,图2(e)所示的显示界面跳转至如图2(f)所示的考勤确认界面,并提示用户点击考勤按钮(即考勤控件)进行考勤,用户可通过点击图2(f)所示的考勤确认界面上的考勤控件,执行考勤操作。在完成考勤操作之后,如图2(g)所示的考勤确认界面上提示用户考勤操作完成,自动记录下用户的考勤时间、考勤地点(例如,办公一区)、是否迟到、早退等信息,并在图2(g)所示的显示界面上显示上述信息。Specifically, after determining that the mobile terminal enters the attendance area, the user opens an application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface shown in FIG. 2(e) by operating the attendance control on the attendance interface shown in FIG. 2(a). At this time, on the attendance interface shown in FIG. 2(e) The face sweep button is operational. After the user clicks the scan face button, the mobile terminal starts the camera to collect the image data of the user. In another scenario, after determining that the mobile terminal enters the attendance area, the mobile terminal activates the camera to collect image data of the user without requiring the user to click the face scan button. After the camera of the mobile terminal is activated, the image data collected by the camera is displayed in the display area of the mobile terminal. After collecting the image data of the user, the mobile terminal matches the image data with the pre-stored image data to obtain the similarity between the two. The application on the mobile terminal determines whether the user is allowed to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data, wherein when the similarity is greater than or equal to the preset threshold, the user authentication is successful. The application allows the user to perform the attendance operation. At this time, the display interface shown in FIG. 2(e) jumps to the attendance confirmation interface shown in FIG. 2(f), and prompts the user to click the attendance button (ie, the attendance control). For attendance, the user can perform the attendance operation by clicking the attendance control on the attendance confirmation interface shown in Figure 2(f). After the attendance operation is completed, the attendance confirmation interface shown in FIG. 2(g) prompts the user to complete the attendance operation, and automatically records the user's attendance time, attendance location (for example, office area), whether it is late, early leave, and the like. The above information is displayed on the display interface shown in Fig. 2(g).
如果相似度小于预设阈值,则说明持有当前移动终端的用户的信息与该移动终端中所存储的用户的信息不匹配,此时,如图2(d)所示的面部图像认证界面提示用户所采集的图像数据出现错误,并提醒用户将再次获取用户的头像信息。其中,在图2(d)所示的界面中,除提示用户是否考勤失败外,还提示用户可进行考勤的次数。如果在预设次数内,所获取到的用户的头像信息与预先存储的图像数据之间的相似度小于预设阈值,应用程序向总服务器发送报警信息,提示该员工的考勤行为有问题。其中,总服务器可以为公司内获取员工考勤记录的服务器。If the similarity is less than the preset threshold, the information of the user holding the current mobile terminal does not match the information of the user stored in the mobile terminal. At this time, the facial image authentication interface prompt shown in FIG. 2(d) The image data collected by the user has an error, and the user is reminded that the user's avatar information will be acquired again. In the interface shown in FIG. 2(d), in addition to prompting the user whether the attendance fails, the user is prompted to perform the attendance. If, within a preset number of times, the similarity between the acquired avatar information of the user and the pre-stored image data is less than a preset threshold, the application sends an alarm message to the general server, indicating that the employee's attendance behavior is problematic. Among them, the total server can be a server that obtains employee attendance records within the company.
在一种可选的实施例中,如图4所示的一种可选的考勤方法的流程图,在确定终端 进入考勤区域之前,即在执行步骤S102之前,考勤方法还包括如下步骤:In an optional embodiment, as shown in FIG. 4, a flowchart of an optional attendance method, before determining that the terminal enters the attendance area, that is, before performing step S102, the attendance method further includes the following steps:
步骤S402,获取终端的标识信息以及与应用程序关联的用户注册信息;Step S402, acquiring identification information of the terminal and user registration information associated with the application;
步骤S404,采集预先存储的图像数据;Step S404, collecting pre-stored image data;
步骤S406,在标识信息、用户注册信息以及预先存储的图像数据三者之间建立对应关系并对对应关系进行存储。Step S406, establishing a correspondence relationship between the identification information, the user registration information, and the pre-stored image data, and storing the correspondence relationship.
需要说明的是,每一个终端对应一个唯一的标识信息。用户在应用程序上进行注册时,应用程序将用户的标识信息与用户注册信息进行绑定,以防止用户使用多个移动终端进行考勤代打卡。另外,由于移动终端上存储有移动终端的标识信息、用户注册信息以及预先存储的图像数据之间对应关系,即只有满足三者各自的条件时,应用程序才允许用户进行考勤,进而达到了规范用户的考勤行为的目的。It should be noted that each terminal corresponds to a unique identification information. When the user registers on the application, the application binds the user's identification information with the user registration information to prevent the user from using multiple mobile terminals for attendance and punching. In addition, since the mobile terminal stores the correspondence between the identification information of the mobile terminal, the user registration information, and the pre-stored image data, that is, the application allows the user to perform the attendance only when the respective conditions of the three are met, thereby achieving the specification. The purpose of the user's attendance behavior.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的考勤方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the attendance method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases the former It is a better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
根据本发明实施例,还提供了一种用于实施上述考勤方法的考勤装置,如图5所示,该装置包括:第一确定模块501、采集模块503以及第二确定模块505。According to an embodiment of the present invention, an attendance device for implementing the above-mentioned attendance method is further provided. As shown in FIG. 5, the device includes: a first determining module 501, an acquiring module 503, and a second determining module 505.
其中,第一确定模块501,用于确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集模块503,用于采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;第二确定模块505,用于根据采集到的图像数据确定是否触发用户执行考勤操作。The first determining module 501 is configured to determine that the terminal enters the attendance area, where the terminal runs an application for attendance; the collecting module 503 is configured to collect image data, where the image data includes: a facial image of the user, and the user carries There is a terminal; the second determining module 505 is configured to determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
需要说明的是,根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否允许用户执行考勤操作。It should be noted that the user is allowed to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data.
此处需要说明的是,上述第一确定模块501、采集模块503以及第二确定模块505对应于实施例1中的步骤S102至步骤S106,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。It should be noted that the foregoing first determining module 501, the collecting module 503, and the second determining module 505 correspond to the steps S102 to S106 in the first embodiment, and the examples and application scenarios implemented by the three modules and the corresponding steps. The same, but not limited to, the content disclosed in the above embodiment 1.
在一种可选的实施例中,第二确定模块包括:第一显示模块以及记录模块。其中,第一显示模块,用于当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为可操作状态,其中,可操作状态用于表示允许用户执行考勤操作;记录模块,用于响应用户在确认考勤控件上执行的触控操作,记录当前考勤时间点。In an optional embodiment, the second determining module comprises: a first display module and a recording module. The first display module is configured to set the confirmation attendance control in the attendance confirmation interface of the application to be operable when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold. a state, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; and the recording module is configured to record the current attendance time point in response to the touch operation performed by the user on the confirmation attendance control.
此处需要说明的是,上述第一显示模块以及记录模块对应于实施例1中的步骤S202至步骤S204,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。It should be noted that the foregoing first display module and the recording module correspond to the steps S202 to S204 in the first embodiment, and the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the above embodiments. A public content.
在一种可选的实施例中,第二确定模块包括:第二显示模块。其中,第二显示模块,用于当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为非操作状态,其中,非操作状态用于表示拒绝用户执行考勤操作。In an optional embodiment, the second determining module comprises: a second display module. The second display module is configured to set the confirmation attendance control in the attendance confirmation interface of the application to a non-operation state when the similarity between the collected image data and the pre-stored image data is less than a preset threshold. The non-operational state is used to indicate that the user is denied the attendance operation.
在一种可选的实施例中,考勤装置还包括:第一获取模块、第二获取模块以及存储模块。其中,第一获取模块,用于获取终端的标识信息以及与应用程序关联的用户注册信息;第二获取模块,用于采集预先存储的图像数据;存储模块,用于在标识信息、用户注册信息以及预先存储的图像数据三者之间建立对应关系并对对应关系进行存储。In an optional embodiment, the attendance device further includes: a first acquisition module, a second acquisition module, and a storage module. The first obtaining module is configured to acquire the identification information of the terminal and the user registration information associated with the application; the second acquiring module is configured to collect the pre-stored image data; and the storage module is configured to identify the information and the user registration information. Corresponding relationship is established between the three pieces of pre-stored image data and the corresponding relationship is stored.
此处需要说明的是,上述第一获取模块、第二获取模块以及存储模块对应于实施例1中的步骤S302至步骤S306,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。It should be noted that the foregoing first obtaining module, the second obtaining module, and the storing module correspond to steps S302 to S306 in the first embodiment, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps, but It is not limited to the contents disclosed in the above embodiment 1.
需要说明的是,采集到的图像数据与预先存储的图像数据的相似度包括以下之一:采集到的人脸图像与预先存储的人脸图像的相似度;采集到的人脸图像与预先存储的人脸图像的相似度,以及采集到的考勤环境与预先存储的考勤环境之间的相似度。It should be noted that the similarity between the collected image data and the pre-stored image data includes one of the following: the similarity between the collected face image and the pre-stored face image; the collected face image and pre-stored The similarity between the face image and the similarity between the collected attendance environment and the pre-stored attendance environment.
在一种可选的实施例中,考勤装置还包括:第一执行模块以及第二执行模块。其中,第一执行模块用于当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则从当前的面部图像认证界面跳转至应用程序的考勤确认界面,等待用户执行考勤操作;第二执行模块用于当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则停留在当前的面部图像认证界面,提示采集到的图像数据出现错误 并拒绝用户执行考勤操作。In an optional embodiment, the attendance device further includes: a first execution module and a second execution module. The first execution module is configured to: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, jump from the current facial image authentication interface to the attendance confirmation interface of the application, Waiting for the user to perform the attendance operation; the second execution module is configured to stay at the current facial image authentication interface and prompt the collected image data when the similarity between the collected image data and the pre-stored image data is less than a preset threshold An error occurred and the user was denied the attendance operation.
实施例3Example 3
根据本发明实施例,还提供了一种考勤设备,如图6所示,该考勤设备包括:图像采集装置601以及处理器603。According to an embodiment of the present invention, an attendance device is further provided. As shown in FIG. 6, the attendance device includes: an image collection device 601 and a processor 603.
其中,图像采集装置601,用于采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有考勤设备;处理器603,用于确定考勤设备进入考勤区域,并根据采集到的图像数据确定是否触发用户执行考勤操作,其中,考勤设备运行有用于考勤的应用程序。The image capturing device 601 is configured to collect image data, where the image data includes: a facial image of the user, the user carries the attendance device, and the processor 603 is configured to determine that the attendance device enters the attendance area, and according to the collected image data. Determine whether the user is triggered to perform the attendance operation, wherein the attendance device runs an application for attendance.
需要说明的是,上述图像采集装置可以为但不限于摄像头。上述考勤设备还包括用于连接考勤区域内的网络的无线通信模块。上述考勤设备为任意一个可移动的考勤设备,例如,智能手机、平板、电脑以及可穿戴设备(例如,智能手环、智能手表)等。上述考勤区域即为持有考勤设备的用户的工作区域。It should be noted that the image capturing device may be, but not limited to, a camera. The attendance device described above also includes a wireless communication module for connecting to a network within the attendance area. The above attendance device is any one of the movable attendance devices, such as a smart phone, a tablet, a computer, and a wearable device (for example, a smart bracelet, a smart watch). The above-mentioned attendance area is the work area of the user who holds the attendance equipment.
在一种可选的实施例中,通过图像采集装置采集图像数据,处理器确定考勤设备进入考勤区域,并根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否触发用户执行考勤操作,其中,考勤设备运行有用于考勤的应用程序,图像数据包括:用户的面部图像,用户携带有考勤设备。安装在考勤设备上的应用程序可获取考勤设备所连接的WIFI的名称,并判断考勤设备所连接的WIFI名称与考勤区域内的WIFI名称是否相同,或者考勤设备所连接的WIFI的名称是否为考勤区域内多个WIFI的WIFI名称中的任意一个,如果考勤设备所连接的WIFI名称与考勤区域内的WIFI名称相同,则确定考勤设备进入到考勤区域内。在确定用户(即员工)进入到考勤区域之后,安装在考勤设备上的应用程序获取考勤设备的当前时间以及可考勤的时间,并判断当前时间是否在可考勤的时间范围内,如果确定当前时间在可考勤的时间范围内,则应用程序打开考勤设备的摄像头,对用户进行拍照或摄像以获取到用户的面部头像的信息。当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,处理器将应用程序的考勤界面内的确认考勤控件设置为可操作状态,并响应用户在确认考勤控件上执行的触控操作,记录当前考勤时间点,其中,可操作状态用于表示允许用户执行考勤操作。而当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,处理器将应用程序的考勤确认界面内的确认考勤控件设置为非操作状态,其中,非操作状态用于表示拒绝用户执行考勤操作。In an optional embodiment, the image data is collected by the image capturing device, and the processor determines that the attendance device enters the attendance area, and determines whether the user is triggered according to the comparison result between the acquired image data and the similarity of the pre-stored image data. The attendance operation is performed, wherein the attendance device runs an application for attendance, and the image data includes: a facial image of the user, and the user carries the attendance device. The application installed on the attendance device can obtain the name of the WIFI connected to the attendance device, and determine whether the WIFI name connected to the attendance device is the same as the WIFI name in the attendance area, or whether the name of the WIFI connected to the attendance device is attendance. If any of the WIFI names of the multiple WIFIs in the area is the same as the WIFI name in the attendance area, the attendance device is determined to enter the attendance area. After determining that the user (ie, the employee) enters the attendance area, the application installed on the attendance device acquires the current time of the attendance device and the time available for attendance, and determines whether the current time is within the time range of attendance, if the current time is determined. In the time range of attendance, the application opens the camera of the attendance device, and takes photos or videos of the user to obtain information about the facial avatar of the user. When the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the processor sets the confirmation attendance control in the application attendance interface to an operable state, and responds to the user confirming the attendance control The touch operation performed on the top records the current attendance time point, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation. When the similarity between the collected image data and the pre-stored image data is less than a preset threshold, the processor sets the confirmation attendance control in the application attendance confirmation interface to a non-operation state, wherein the non-operation state is used. Indicates that the user is denied the attendance operation.
由上述内容可知,通过图像采集装置采集图像数据,处理器确定考勤设备进入考勤 区域,并根据采集到的图像数据确定是否触发用户执行考勤操作,其中,考勤设备运行有用于考勤的应用程序,图像数据包括:用户的面部图像,用户携带有考勤设备。It can be seen from the above that the image data is collected by the image collecting device, and the processor determines that the attendance device enters the attendance area, and determines whether the user is triggered to perform the attendance operation according to the collected image data, wherein the attendance device runs an application for attendance, and the image The data includes: a facial image of the user, and the user carries the attendance device.
容易注意到的是,由于上述考勤设备为移动考勤设备,因此,用户通过自己所持有的移动考勤设备进行考勤,而不需要排队进行考勤,从而节省了用户排队进行考勤的时间。另外,在确定考勤设备进入到考勤区域之后,还需要进一步确定采集到的图像数据是否为预先存储的图像数据是否匹配,即需要进一步确定持有考勤设备的用户是否为考勤设备的拥有者,只有在确定采集到的图像数据与预先存储的图像数据匹配的情况下,才允许用户执行考勤操作。It is easy to notice that since the above-mentioned attendance equipment is a mobile attendance equipment, the user performs attendance through the mobile attendance equipment held by the user, and does not need to queue for attendance, thereby saving the time for the user to queue for attendance. In addition, after determining that the attendance device enters the attendance area, it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the attendance device is the owner of the attendance device, and only The user is allowed to perform the attendance operation in the case where it is determined that the collected image data matches the pre-stored image data.
由上述内容可知,本申请可以达到规范员工的考勤行为的目的,从而实现了节省员工的考勤时间,准确确定员工的考勤行为的技术效果,进而解决了现有的考勤方法无法确定员工的考勤行为的技术问题。It can be seen from the above that the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee. Technical problem.
实施例4Example 4
根据本发明实施例,还提供了一种考勤方法,如图7所示的考勤方法的流程图,该方法具体包括如下步骤:According to an embodiment of the present invention, an attendance method, such as a flowchart of the attendance method shown in FIG. 7, is further provided, and the method specifically includes the following steps:
步骤S702,确定终端进入考勤区域;Step S702, determining that the terminal enters the attendance area;
步骤S704,采集图像数据,其中,图像数据包括:用户的面部图像;Step S704, acquiring image data, where the image data includes: a facial image of the user;
步骤S706,根据采集到的图像数据确定是否允许用户执行考勤操作。Step S706, determining, according to the collected image data, whether the user is allowed to perform the attendance operation.
在一种可选的实施例中,上述终端为移动终端。如果安装在移动终端上的应用程序检测到与考勤区域对应的WIFI,或者,应用程序检测到移动终端所连接的WIFI与考勤区域内的WIFI相同,则确认持有移动终端的用户进入到考勤区域内。在确定用户进入到考勤区域之后,用户开启用于考勤的应用程序,进入如图2(a)所示的考勤界面。然后,用户再通过操作如图2(a)所示的考勤界面上的考勤控件进入到如图8(b)所示的显示界面,同时,如图8(b)所示的显示界面上显示扫脸考勤按钮,并提示用户点击扫脸考勤按钮可进行扫脸考勤,如在图8(b)中的扫脸考勤按钮上显示“扫脸考勤”提示用户可进行扫脸考勤操作。其中,在用户点击扫脸考勤按钮之前,图8(b)中的显示区域不显示任何图像,即此时移动终端未启动摄像头。当应用程序检测到用户点击扫脸考勤按钮之后,启动移动终端的摄像头。In an optional embodiment, the terminal is a mobile terminal. If the application installed on the mobile terminal detects the WIFI corresponding to the attendance area, or the application detects that the WIFI connected to the mobile terminal is the same as the WIFI in the attendance area, it is confirmed that the user holding the mobile terminal enters the attendance area. Inside. After determining that the user enters the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the display interface as shown in FIG. 8(b) by operating the attendance control on the attendance interface as shown in FIG. 2(a), and simultaneously displays on the display interface as shown in FIG. 8(b). The face-attending attendance button is displayed, and the user is prompted to click the face-sweeping attendance button to perform face-sweeping attendance. For example, the face-sweeping attendance button on the face-sweeping attendance button in FIG. 8(b) prompts the user to perform a face-sweeping operation. Wherein, before the user clicks the scan face attendance button, the display area in FIG. 8(b) does not display any image, that is, the mobile terminal does not start the camera at this time. When the application detects that the user clicks the scan face attendance button, the camera of the mobile terminal is activated.
在另一种可选的实施例中,在确定用户进入到考勤区域之后,用户开启用于考勤的应用程序,此时,应用程序的显示界面自动跳转到如图8(c)所示的扫脸考勤界面,同时启动移动终端的摄像头,并采集用户的面部图像,并在显示区域显示用户头像,如在图 8(c)所示的扫脸考勤界面的显示区域内显示用户的头像。应用程序将采集到的用户的面部图像发送至服务器中,或者对用户的面部图像进行处理得到面部图像的特征数据,将特征数据发送至服务器中,服务器将获取到的用户的面部图像与预先存储的图像数据,或者将特征数据与预先存储的图像数据中的特征数据进行匹配,得到两张图像的相似度,并在相似度大于或等于预设阈值的情况下,服务器记录下用户的考勤时间,同时向移动终端发送提示信息,以提示用户考勤成功。如果相似度小于预设阈值,则服务器向移动终端发送预警信息,提示用户转换角度重新扫脸考勤。In another optional embodiment, after determining that the user enters the attendance area, the user turns on the application for attendance, and at this time, the display interface of the application automatically jumps to as shown in FIG. 8(c). Scan the face attendance interface, start the camera of the mobile terminal at the same time, and collect the facial image of the user, and display the user's avatar in the display area, such as displaying the user's avatar in the display area of the face-sweeping attendance interface shown in FIG. 8(c). The application sends the collected facial image of the user to the server, or processes the facial image of the user to obtain feature data of the facial image, sends the feature data to the server, and the server stores the acquired facial image of the user and pre-stores Image data, or matching the feature data with the feature data in the pre-stored image data to obtain the similarity of the two images, and if the similarity is greater than or equal to the preset threshold, the server records the user's attendance time. At the same time, the mobile terminal sends a prompt message to prompt the user to successfully attend the attendance. If the similarity is less than the preset threshold, the server sends an alert message to the mobile terminal, prompting the user to switch the angle and rescan the face attendance.
在另一种可选的实施例中,在确定用户进入到考勤区域之后,用户开启用于考勤的应用程序,进入如图2(a)所示的考勤界面。然后,用户通过操作图2(a)所示的考勤界面上的考勤控件进入到图8(a)所示的扫脸考勤界面。该考勤控件既可以是供用户点击的虚拟按钮,也可以是供用户执行滑动操作的预设滑动轨迹,其中,该预设滑动轨迹既可以是初始设定的滑动轨迹,也可以是用户自定义的滑动轨迹。以考勤控件为虚拟按钮为例,用户通过操作图2(a)所示的考勤界面上的考勤控件进入到图8(a)所示的扫脸考勤界面之后,移动终端并没有启动摄像头,而是在用户点击如图8(a)所示的扫脸考勤按钮之后,移动终端才启动摄像头并采集用户的面部图像或面部图像的特征数据,并在图8(a)和图8(b)所示的界面内的显示区域中显示摄像头所采集到的用户的面部图像。In another optional embodiment, after determining that the user enters the attendance area, the user turns on the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface shown in FIG. 8(a) by operating the attendance control on the attendance interface shown in FIG. 2(a). The attendance control can be a virtual button for the user to click, or a preset sliding track for the user to perform a sliding operation, wherein the preset sliding track can be either an initially set sliding track or a user-defined The sliding track. Taking the attendance control as a virtual button as an example, after the user enters the face-to-face attendance interface shown in FIG. 8(a) by operating the attendance control on the attendance interface shown in FIG. 2(a), the mobile terminal does not start the camera, and After the user clicks the face-sweeping attendance button as shown in FIG. 8(a), the mobile terminal starts the camera and collects the feature data of the user's face image or face image, and is shown in FIG. 8(a) and FIG. 8(b). The face image of the user captured by the camera is displayed in the display area within the illustrated interface.
在另一种可选的实施例中,在用户确定进入到考勤区域之后,用户开启用于考勤的应用程序,并进入到如图2(a)所示的考勤界面中。然后,用户通过操作图2(a)所示的考勤界面上的考勤控件进入到如图8(c)所示的扫脸考勤界面,但在跳转到图8(c)所示的扫脸考勤界面之后,移动终端自动启动摄像头,而不需要用户再点击图8(a)所示的扫脸考勤按钮以启动摄像头。在移动终端启动摄像头之后,摄像头采集用户的面部图像或面部图像的特征数据,并在图8(c)中的显示区域内显示摄像头所采集到的用户的面部图像。In another optional embodiment, after the user determines to enter the attendance area, the user opens the application for attendance and enters the attendance interface as shown in FIG. 2(a). Then, the user enters the face-attending attendance interface as shown in FIG. 8(c) by operating the attendance control on the attendance interface shown in FIG. 2(a), but jumps to the scanning face shown in FIG. 8(c). After the attendance interface, the mobile terminal automatically starts the camera without the user having to click the face-to-face attendance button shown in FIG. 8(a) to start the camera. After the mobile terminal starts the camera, the camera collects feature data of the face image or the face image of the user, and displays the face image of the user captured by the camera in the display area in FIG. 8(c).
需要说明的是,在采集到用户的面部图像或面部图像的特征数据之后的处理方法与上述实施例相同,在此不再赘述。另外,显示区域与扫脸考勤控件的位置关系不限于图8(a)所示的位置关系,显示区域与扫脸考勤控件的位置关系还可以表示为:如图8(d)所示的扫脸考勤控件位于显示区域内。It should be noted that the processing method after the feature data of the face image or the face image of the user is collected is the same as that of the foregoing embodiment, and details are not described herein again. In addition, the positional relationship between the display area and the face-sweeping attendance control is not limited to the positional relationship shown in FIG. 8(a), and the positional relationship between the display area and the face-sweeping attendance control can also be expressed as: the sweep shown in FIG. 8(d) The face attendance control is located in the display area.
在另一种可选的实施例中,安装在移动终端的应用程序确定持有移动终端的用户已进入考勤区域之后,移动终端启动摄像头采集用户的面部信息,并根据得到用户的面部信息与预先存储的图像的相似度,或者面部图像的特征信息与预先存储的图像的特征信息的相似度。在确定相似度达到预设阈值的情况下,应用程序的显示界面上的考勤控件 处于可操作状态,此时用户可通过点击考勤控件以完成考勤。In another optional embodiment, after the application installed in the mobile terminal determines that the user holding the mobile terminal has entered the attendance area, the mobile terminal starts the camera to collect the facial information of the user, and obtains the facial information of the user according to the The similarity of the stored image, or the similarity of the feature information of the face image to the feature information of the pre-stored image. When it is determined that the similarity reaches the preset threshold, the attendance control on the display interface of the application is in an operable state, and the user can click the attendance control to complete the attendance.
基于上述步骤S702至步骤S706所限定的方案,可以获知,通过确定终端进入考勤区域,并采集图像数据,然后根据采集到的图像数据确定是否允许用执行考勤操作,其中,图像数据包括:用户的面部图像。Based on the solution defined in the foregoing steps S702 to S706, it can be known that by determining that the terminal enters the attendance area and collecting image data, and then determining whether to allow the attendance operation to be performed according to the collected image data, wherein the image data includes: the user's Facial image.
容易注意到的是,由于上述终端为移动终端,因此,用户通过自己所持有的移动终端进行考勤,而不需要排队进行考勤,从而节省了用户排队进行考勤的时间。另外,在确定终端进入到考勤区域之后,还需要进一步确定采集到的图像数据是否为预先存储的图像数据是否匹配,即需要进一步确定持有终端的用户是否为终端的拥有者,只有在确定采集到的图像数据与预先存储的图像数据匹配的情况下,才允许用户执行考勤操作。It is easy to notice that since the terminal is a mobile terminal, the user performs attendance through the mobile terminal held by the user, and does not need to queue for attendance, thereby saving time for the user to queue for attendance. In addition, after determining that the terminal enters the attendance area, it is further required to determine whether the collected image data is a pre-stored image data, that is, whether it is necessary to further determine whether the user holding the terminal is the owner of the terminal, and only after determining the acquisition. When the obtained image data matches the pre-stored image data, the user is allowed to perform the attendance operation.
由上述内容可知,本申请可以达到规范员工的考勤行为的目的,从而实现了节省员工的考勤时间,准确确定员工的考勤行为的技术效果,进而解决了现有的考勤方法无法确定员工的考勤行为的技术问题。It can be seen from the above that the application can achieve the purpose of standardizing the attendance behavior of the employee, thereby realizing the saving of the attendance time of the employee, accurately determining the technical effect of the employee's attendance behavior, and solving the existing attendance method cannot determine the attendance behavior of the employee. Technical problem.
实施例5Example 5
根据本发明实施例,还提供了一种用于实施上述考勤方法的考勤装置,如图9所示的考勤装置的结构示意图,该装置具体包括:第三确定模块901、图像采集模块903以及执行模块905。According to an embodiment of the present invention, there is also provided an attendance device for implementing the above-mentioned attendance method, which is a schematic structural diagram of the attendance device shown in FIG. 9. The device specifically includes: a third determining module 901, an image collecting module 903, and an execution Module 905.
其中,第三确定模块901,用于确定终端进入考勤区域;图像采集模块903,用于采集图像数据,其中,图像数据包括:用户的面部图像;执行模块905,用于根据采集到的图像数据确定是否允许用户执行考勤操作。The third determining module 901 is configured to determine that the terminal enters the attendance area; the image collecting module 903 is configured to collect image data, where the image data includes: a facial image of the user; and the executing module 905 is configured to use the collected image data. Determine if the user is allowed to perform attendance operations.
此处需要说明的是,上述第三确定模块901、图像采集模块903以及执行模块805对应于实施例4中的步骤S702至步骤S706,三个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例四所公开的内容。It should be noted that the foregoing third determining module 901, the image collecting module 903, and the executing module 805 correspond to steps S702 to S706 in the fourth embodiment, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps. However, it is not limited to the contents disclosed in the above fourth embodiment.
实施例6Example 6
根据本发明实施例的另一方面,还提供了一种存储介质,该存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行实施例1中的考勤方法。According to another aspect of the embodiments of the present invention, there is also provided a storage medium comprising a stored program, wherein the device in which the storage medium is located is controlled to perform the attendance method in Embodiment 1 while the program is running.
实施例7Example 7
根据本发明实施例的另一方面,还提供了一种处理器,该处理器用于运行程序,其中,程序运行时执行实施例1中的考勤方法。According to another aspect of an embodiment of the present invention, there is further provided a processor for running a program, wherein the attendance method in Embodiment 1 is executed while the program is running.
实施例8Example 8
根据本发明实施例的另一方面,还提供了一种系统,该系统包括处理器和存储器。 其中,存储器,与处理器连接,用于为处理器提供处理以下处理步骤的指令:According to another aspect of an embodiment of the present invention, there is also provided a system including a processor and a memory. The memory is coupled to the processor and is configured to provide the processor with instructions to process the following processing steps:
步骤1,确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;Step 1: determining that the terminal enters the attendance area, where the terminal runs an application for attendance;
步骤2,采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;Step 2: acquiring image data, where the image data includes: a facial image of the user, and the user carries the terminal;
步骤3,根据采集到的图像数据确定是否触发用户执行考勤操作。Step 3: Determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
实施例9Example 9
本发明的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。Embodiments of the present invention may provide a computer terminal, which may be any one of computer terminal groups. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
图10示出了一种计算机终端的硬件结构框图。如图10所示,计算机终端A可以包括一个或多个(图中采用172a、172b,……,172n来示出)处理器172(处理器172可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器174、以及用于通信功能的传输装置176。除此以外,还可以包括:显示器、输入/输出接口(I/O接口)、通用串行总线(USB)端口(可以作为I/O接口的端口中的一个端口被包括)、网络接口、电源和/或相机。本领域普通技术人员可以理解,图10所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端A还可包括比图10中所示更多或者更少的组件,或者具有与图10所示不同的配置。Fig. 10 is a block diagram showing the hardware structure of a computer terminal. As shown in FIG. 10, computer terminal A may include one or more (illustrated by 172a, 172b, ..., 172n) processor 172 (processor 172 may include, but is not limited to, a microprocessor MCU or programmable A processing device such as a logic device FPGA, a memory 174 for storing data, and a transmission device 176 for communication functions. In addition, it can also include: display, input/output interface (I/O interface), universal serial bus (USB) port (which can be included as one of the ports of the I/O interface), network interface, power supply And / or camera. It will be understood by those skilled in the art that the structure shown in FIG. 10 is merely illustrative and does not limit the structure of the above electronic device. For example, computer terminal A may also include more or fewer components than shown in FIG. 10, or have a different configuration than that shown in FIG.
应当注意到的是上述一个或多个处理器172和/或其他数据处理电路在本文中通常可以被称为“数据处理电路”。该数据处理电路可以全部或部分的体现为软件、硬件、固件或其他任意组合。此外,数据处理电路可为单个独立的处理模块,或全部或部分的结合到计算机终端A中的其他元件中的任意一个内。如本申请实施例中所涉及到的,该数据处理电路作为一种处理器控制(例如与接口连接的可变电阻终端路径的选择)。It should be noted that one or more of the above described processors 172 and/or other data processing circuits may be referred to herein generally as "data processing circuits." The data processing circuit may be embodied in whole or in part as software, hardware, firmware or any other combination. Moreover, the data processing circuitry can be a single, separate processing module, or incorporated in whole or in part into any of the other components in computer terminal A. As referred to in the embodiments of the present application, the data processing circuit is controlled as a processor (e.g., selection of a variable resistance terminal path connected to the interface).
处理器172可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;根据采集到的图像数据确定是否触发用户执行考勤操作。The processor 172 can call the memory stored information and the application program by the transmission device to perform the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and collects image data, wherein the image data includes: the user The facial image, the user carries the terminal; and determines whether the user is triggered to perform the attendance operation according to the collected image data.
存储器174可用于存储应用软件的软件程序以及模块,如本申请实施例中的考勤方法对应的程序指令/数据存储装置,处理器172通过运行存储在存储器174内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的考勤方法。存储器174 可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器174可进一步包括相对于处理器172远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端A。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 174 can be used to store software programs and modules of the application software, such as the program instructions/data storage devices corresponding to the attendance method in the embodiment of the present application, and the processor 172 executes each of the software programs and modules stored in the memory 174. A functional application and data processing, that is, the above-mentioned attendance method is implemented. Memory 174 may include high speed random access memory and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 174 can further include memory remotely located relative to processor 172, which can be connected to computer terminal A via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置176用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端A的通信供应商提供的无线网络。在一个实例中,传输装置176包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置176可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。 Transmission device 176 is for receiving or transmitting data via a network. The above specific network example may include a wireless network provided by a communication provider of computer terminal A. In one example, the transmission device 176 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 176 can be a Radio Frequency (RF) module for communicating wirelessly with the Internet.
显示器可以例如触摸屏式的液晶显示器(LCD),该液晶显示器可使得用户能够与计算机终端A的用户界面进行交互。The display can be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with the user interface of computer terminal A.
此处需要说明的是,在一些可选实施例中,上述图10所示的计算机终端A可以包括硬件元件(包括电路)、软件元件(包括存储在计算机可读介质上的计算机代码)、或硬件元件和软件元件两者的结合。应当指出的是,图10仅为特定具体实例的一个实例,并且旨在示出可存在于上述计算机终端A中的部件的类型。It should be noted that, in some optional embodiments, the computer terminal A shown in FIG. 10 above may include hardware components (including circuits), software components (including computer code stored on a computer readable medium), or A combination of both hardware and software components. It should be noted that FIG. 10 is only one example of a specific specific example, and is intended to show the types of components that may be present in the computer terminal A described above.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集图像数据,其中,图像数据包括:用户的面部图像,用户携带有终端;根据采集到的图像数据确定是否触发用户执行考勤操作。The processor may call the memory stored information and the application program by the transmission device to perform the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and collects image data, where the image data includes: the user's The facial image, the user carries the terminal; and determines whether the user is triggered to perform the attendance operation according to the collected image data.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否允许用户执行考勤操作。The processor may call the memory stored information and the application program through the transmission device to perform the step of determining whether to allow the user to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为可操作状态,其中,可操作状态用于表示允许用户执行考勤操作;响应用户在确认考勤控件上执行的触控操作,记录当前考勤时间点。The processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the application is The confirmation attendance control in the attendance confirmation interface is set to an operable state, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; in response to the user performing the touch operation performed on the attendance control, the current attendance time point is recorded.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为非操作状态,其中,非操作状态用于表示拒绝用 户执行考勤操作。The processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, the application's attendance confirmation is performed. The confirmation attendance control in the interface is set to a non-operation state, wherein the non-operation state is used to indicate that the user is denied the attendance operation.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:获取终端的标识信息以及与应用程序关联的用户注册信息;采集预先存储的图像数据;在标识信息、用户注册信息以及预先存储的图像数据三者之间建立对应关系并对对应关系进行存储。The processor may call the memory stored information and the application program by the transmission device to perform the following steps: acquiring identification information of the terminal and user registration information associated with the application; collecting pre-stored image data; identifying information, user registration information Corresponding relationship is established between the three pieces of pre-stored image data and the corresponding relationship is stored.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:采集到的人脸图像与预先存储的人脸图像的相似度;采集到的人脸图像与预先存储的人脸图像的相似度,以及采集到的考勤环境与预先存储的考勤环境之间的相似度。The processor may call the memory stored information and the application by the transmission device to perform the following steps: the similarity between the collected face image and the pre-stored face image; the collected face image and the pre-stored face The similarity of the image, and the similarity between the collected attendance environment and the pre-stored attendance environment.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则从当前的面部图像认证界面跳转至应用程序的考勤确认界面,等待用户执行考勤操作。The processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the current face is The image authentication interface jumps to the application attendance confirmation interface, waiting for the user to perform the attendance operation.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则停留在当前的面部图像认证界面,提示采集到的图像数据出现错误并拒绝用户执行考勤操作。The processor may call the memory stored information and the application by the transmission device to perform the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, staying at the current facial image The authentication interface prompts the collected image data to be in error and refuses the user to perform the attendance operation.
本领域普通技术人员可以理解,图10所示的结构仅为示意,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(MobileInternetDevices,MID)、PAD等终端设备。图10其并不对上述电子装置的结构造成限定。例如,计算机终端A还可包括比图10中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图10所示不同的配置。A person skilled in the art can understand that the structure shown in FIG. 10 is only an illustration, and the computer terminal can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID). Terminal equipment such as PAD. FIG. 10 does not limit the structure of the above electronic device. For example, computer terminal A may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 10, or have a different configuration than that shown in FIG.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
实施例10Example 10
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述实施例一所提供的考勤方法所执行的程序代码。Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be used to save the program code executed by the attendance method provided in the first embodiment.
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:确定终端进入考勤区域,其中,终端运行有用于考勤的应用程序;采集图像数据,其中, 图像数据包括:用户的面部图像,用户携带有终端;根据采集到的图像数据确定是否触发用户执行考勤操作。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance; and acquiring image data, wherein the image data The method includes: a facial image of the user, the user carries the terminal; and determining, according to the collected image data, whether the user is triggered to perform the attendance operation.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:根据采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否允许用户执行考勤操作。Optionally, in the embodiment, the storage medium is configured to store program code for performing: determining whether to allow the user to perform the attendance operation according to the comparison result of the similarity between the collected image data and the pre-stored image data. .
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为可操作状态,其中,可操作状态用于表示允许用户执行考勤操作;响应用户在确认考勤控件上执行的触控操作,记录当前考勤时间点。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, then The confirmation attendance control in the application attendance confirmation interface is set to an operable state, wherein the operable state is used to indicate that the user is allowed to perform the attendance operation; in response to the user performing the touch operation performed on the attendance control, the current attendance time point is recorded. .
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则将应用程序的考勤确认界面内的确认考勤控件设置为非操作状态,其中,非操作状态用于表示拒绝用户执行考勤操作。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, the application is applied The confirmation attendance control in the attendance confirmation interface of the program is set to a non-operational state, wherein the non-operational state is used to indicate that the user is denied the attendance operation.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:获取终端的标识信息以及与应用程序关联的用户注册信息;采集预先存储的图像数据;在标识信息、用户注册信息以及预先存储的图像数据三者之间建立对应关系并对对应关系进行存储。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: acquiring identification information of the terminal and user registration information associated with the application; collecting pre-stored image data; and identifying the information Correspondence between the user registration information and the pre-stored image data is established and the correspondence is stored.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:采集到的人脸图像与预先存储的人脸图像的相似度;采集到的人脸图像与预先存储的人脸图像的相似度,以及采集到的考勤环境与预先存储的考勤环境之间的相似度。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the similarity between the collected face image and the pre-stored face image; the collected face image and the advance The similarity between the stored face images and the similarity between the collected attendance environment and the pre-stored attendance environment.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:当采集到的图像数据与预先存储的图像数据之间的相似度大于或等于预设阈值,则从当前的面部图像认证界面跳转至应用程序的考勤确认界面,等待用户执行考勤操作。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, then Jump from the current face image authentication interface to the application attendance confirmation interface, waiting for the user to perform the attendance operation.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:当采集到的图像数据与预先存储的图像数据之间的相似度小于预设阈值,则停留在当前的面部图像认证界面,提示采集到的图像数据出现错误并拒绝用户执行考勤操作。Optionally, in the embodiment, the storage medium is configured to store program code for performing the following steps: when the similarity between the collected image data and the pre-stored image data is less than a preset threshold, staying at The current facial image authentication interface prompts the collected image data to be in error and refuses the user to perform the attendance operation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention 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 can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (16)

  1. 一种考勤方法,其特征在于,包括:An attendance method, characterized in that it comprises:
    确定终端进入考勤区域,其中,所述终端运行有用于考勤的应用程序;Determining that the terminal enters the attendance area, wherein the terminal runs an application for attendance;
    采集图像数据,其中,所述图像数据包括:用户的面部图像,所述用户携带有所述终端;Acquiring image data, wherein the image data includes: a facial image of a user, the user carrying the terminal;
    根据采集到的图像数据确定是否允许所述用户执行考勤操作。It is determined whether the user is allowed to perform the attendance operation based on the collected image data.
  2. 根据权利要求1所述的方法,其特征在于,所述根据采集到的图像数据确定是否允许所述用户执行考勤操作包括:根据所述采集到的图像数据与预先存储的图像数据的相似度的比较结果确定是否允许所述用户执行考勤操作。The method according to claim 1, wherein the determining whether to allow the user to perform the attendance operation according to the collected image data comprises: according to the similarity between the collected image data and the pre-stored image data The comparison result determines whether the user is allowed to perform the attendance operation.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述采集到的图像数据与所述预先存储的图像数据的相似度的比较结果确定允许所述用户执行考勤操作包括:The method according to claim 2, wherein the determining, according to a comparison result of the similarity between the collected image data and the pre-stored image data, that the user is allowed to perform the attendance operation comprises:
    当所述采集到的图像数据与所述预先存储的图像数据之间的相似度大于或等于预设阈值,则将所述应用程序的考勤界面内的确认考勤控件设置为可操作状态,其中,所述可操作状态用于表示允许所述用户执行考勤操作。When the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, the confirmation attendance control in the attendance interface of the application is set to an operable state, where The operable state is for indicating that the user is allowed to perform an attendance operation.
  4. 根据权利要求3所述的方法,其特征在于,在将所述确认考勤控件设置为所述可操作状态之后,还包括:The method according to claim 3, further comprising: after setting the confirmed attendance control to the operable state, further comprising:
    响应所述用户在所述确认考勤控件上执行的触控操作,记录当前考勤时间点。Responding to the touch operation performed by the user on the confirmation attendance control, recording the current attendance time point.
  5. 根据权利要求2所述的方法,其特征在于,根据所述采集到的图像数据与所述预先存储的图像数据的相似度的比较结果确定拒绝所述用户执行考勤操作包括:The method according to claim 2, wherein determining to reject the user to perform the attendance operation according to a comparison result of the similarity between the collected image data and the pre-stored image data comprises:
    当所述采集到的图像数据与所述预先存储的图像数据之间的相似度小于预设阈值,则将所述应用程序的考勤界面内的确认考勤控件设置为非操作状态,其中,所述非操作状态用于表示拒绝所述用户执行考勤操作。When the similarity between the collected image data and the pre-stored image data is less than a preset threshold, setting a confirmation attendance control in the attendance interface of the application to a non-operation state, wherein the The non-operational state is used to indicate that the user is denied the attendance operation.
  6. 根据权利要求2所述的方法,其特征在于,根据所述采集到的图像数据与所述预先存储的图像数据的相似度的比较结果确定允许所述用户执行考勤操作包括:The method according to claim 2, wherein determining that the user is allowed to perform the attendance operation according to a comparison result of the similarity between the collected image data and the pre-stored image data comprises:
    当所述采集到的图像数据与所述预先存储的图像数据之间的相似度大于或等于预设阈值,则从当前的面部图像认证界面跳转至所述应用程序的考勤确认界面,等待所述用户执行考勤操作。When the similarity between the collected image data and the pre-stored image data is greater than or equal to a preset threshold, jumping from the current facial image authentication interface to the attendance confirmation interface of the application, waiting for the The user performs the attendance operation.
  7. 根据权利要求2所述的方法,其特征在于,根据所述采集到的图像数据与所述预先存储的图像数据的相似度的比较结果确定拒绝所述用户执行考勤操作包括:The method according to claim 2, wherein determining to reject the user to perform the attendance operation according to a comparison result of the similarity between the collected image data and the pre-stored image data comprises:
    当所述采集到的图像数据与所述预先存储的图像数据之间的相似度小于预设阈值, 则停留在当前的面部图像认证界面,提示所述采集到的图像数据出现错误并拒绝所述用户执行考勤操作。When the similarity between the collected image data and the pre-stored image data is less than a preset threshold, staying at the current facial image authentication interface, prompting the collected image data to have an error and rejecting the The user performs the attendance operation.
  8. 根据权利要求2所述的方法,其特征在于,在确定所述终端进入所述考勤区域之前,还包括:The method according to claim 2, further comprising: before determining that the terminal enters the attendance area, further comprising:
    获取所述终端的标识信息以及与所述应用程序关联的用户注册信息;Obtaining identification information of the terminal and user registration information associated with the application;
    采集预先存储的图像数据;Collecting pre-stored image data;
    在所述标识信息、所述用户注册信息以及所述预先存储的图像数据三者之间建立对应关系并对所述对应关系进行存储。A correspondence relationship is established between the identification information, the user registration information, and the pre-stored image data, and the correspondence relationship is stored.
  9. 根据权利要求2所述的方法,其特征在于,所述采集到的图像数据与所述预先存储的图像数据的相似度包括以下之一:The method according to claim 2, wherein the similarity between the collected image data and the pre-stored image data comprises one of the following:
    采集到的人脸图像与预先存储的人脸图像的相似度;The similarity between the collected face image and the pre-stored face image;
    采集到的人脸图像与预先存储的人脸图像的相似度,以及采集到的考勤环境与预先存储的考勤环境之间的相似度。The similarity between the collected face image and the pre-stored face image, and the similarity between the collected attendance environment and the pre-stored attendance environment.
  10. 一种考勤方法,其特征在于,包括:An attendance method, characterized in that it comprises:
    确定终端进入考勤区域;Determining that the terminal enters the attendance area;
    采集图像数据,其中,所述图像数据包括:用户的面部图像;Acquiring image data, wherein the image data includes: a facial image of the user;
    根据采集到的图像数据确定是否允许所述用户执行考勤操作。It is determined whether the user is allowed to perform the attendance operation based on the collected image data.
  11. 一种考勤装置,其特征在于,包括:An attendance device, comprising:
    第一确定模块,用于确定终端进入考勤区域,其中,所述终端运行有用于考勤的应用程序;a first determining module, configured to determine that the terminal enters an attendance area, where the terminal runs an application for attendance;
    采集模块,用于采集图像数据,其中,所述图像数据包括:用户的面部图像,所述用户携带有所述终端;An acquisition module, configured to collect image data, where the image data includes: a facial image of a user, where the user carries the terminal;
    第二确定模块,用于根据采集到的图像数据确定是否允许所述用户执行考勤操作。The second determining module is configured to determine, according to the collected image data, whether the user is allowed to perform the attendance operation.
  12. 一种考勤装置,其特征在于,包括:An attendance device, comprising:
    第三确定模块,用于确定终端进入考勤区域;a third determining module, configured to determine that the terminal enters the attendance area;
    图像采集模块,用于采集图像数据,其中,所述图像数据包括:用户的面部图像;An image acquisition module, configured to collect image data, where the image data includes: a facial image of the user;
    执行模块,用于根据采集到的图像数据确定是否允许所述用户执行考勤操作。And an execution module, configured to determine, according to the collected image data, whether the user is allowed to perform an attendance operation.
  13. 一种考勤设备,其特征在于,包括:An attendance device characterized in that it comprises:
    图像采集装置,用于采集图像数据,其中,所述图像数据包括:用户的面部图像,所述用户携带有考勤设备;An image capturing device, configured to collect image data, where the image data includes: a facial image of a user, and the user carries an attendance device;
    处理器,用于确定所述考勤设备进入考勤区域,并根据采集到的图像数据确定是否触发所述用户执行考勤操作,其中,所述考勤设备运行有用于考勤的应用程序。The processor is configured to determine that the attendance device enters the attendance area, and determines whether to trigger the user to perform the attendance operation according to the collected image data, wherein the attendance device runs an application for attendance.
  14. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至9中任意一项所述的考勤方法。A storage medium, characterized in that the storage medium comprises a stored program, wherein the device in which the storage medium is located is controlled to perform the attendance method according to any one of claims 1 to 9 while the program is running.
  15. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至9中任意一项所述的考勤方法。A processor, wherein the processor is configured to execute a program, wherein the program is executed to perform the attendance method according to any one of claims 1 to 9.
  16. 一种系统,其特征在于,包括:A system, comprising:
    处理器;以及Processor;
    存储器,与所述处理器连接,用于为所述处理器提供处理以下处理步骤的指令:a memory coupled to the processor for providing the processor with instructions to process the following processing steps:
    步骤1,确定终端进入考勤区域,其中,所述终端运行有用于考勤的应用程序;Step 1: determining that the terminal enters the attendance area, where the terminal runs an application for attendance;
    步骤2,采集图像数据,其中,所述图像数据包括:用户的面部图像,所述用户携带有所述终端;Step 2: Acquire image data, where the image data includes: a facial image of a user, and the user carries the terminal;
    步骤3,根据采集到的图像数据确定是否触发所述用户执行考勤操作。Step 3: Determine, according to the collected image data, whether the user is triggered to perform the attendance operation.
PCT/CN2018/106494 2017-09-28 2018-09-19 Attendance check method and apparatus, and attendance check device WO2019062620A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710901021.4 2017-09-28
CN201710901021.4A CN109584393A (en) 2017-09-28 2017-09-28 Work attendance method, device and Time Attendance Device

Publications (1)

Publication Number Publication Date
WO2019062620A1 true WO2019062620A1 (en) 2019-04-04

Family

ID=65902677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106494 WO2019062620A1 (en) 2017-09-28 2018-09-19 Attendance check method and apparatus, and attendance check device

Country Status (3)

Country Link
CN (1) CN109584393A (en)
TW (1) TW201933288A (en)
WO (1) WO2019062620A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490036A (en) * 2019-05-30 2019-11-22 福建知鱼科技有限公司 A kind of wisdom garden all-purpose card total management system
CN111160849A (en) * 2019-12-10 2020-05-15 广州市十牛信息科技有限公司 Face identification campus attendance system based on camera
CN111325083A (en) * 2019-08-01 2020-06-23 杭州海康威视系统技术有限公司 Method and device for recording attendance information
CN111767898A (en) * 2020-07-23 2020-10-13 腾讯科技(深圳)有限公司 Service data processing method, device, equipment and storage medium
CN112070020A (en) * 2020-09-09 2020-12-11 精英数智科技股份有限公司 Method and device for counting number of people entering well, electronic equipment and readable storage medium
WO2021074463A1 (en) * 2019-10-14 2021-04-22 Universidad De Alicane Unassisted presence control system and method
CN113888772A (en) * 2021-09-30 2022-01-04 江苏欧软信息科技有限公司 MES-based information input emergency system and processing method thereof
CN114360085A (en) * 2021-11-25 2022-04-15 中国人民人寿保险股份有限公司 Method for identifying attendance cheating behaviors, service system and terminal equipment thereof

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287841B (en) * 2019-06-17 2021-09-17 秒针信息技术有限公司 Image transmission method and apparatus, image transmission system, and storage medium
CN110675518A (en) * 2019-08-20 2020-01-10 吴益光 Intelligent attendance management and interaction method and system
CN110599128A (en) * 2019-09-12 2019-12-20 凡普数字技术有限公司 Method, device and storage medium for checking attendance of staff
CN111476917A (en) * 2020-04-12 2020-07-31 中信银行股份有限公司 Attendance checking method and device based on mobile terminal, mobile terminal and server
CN112819981A (en) * 2020-06-18 2021-05-18 腾讯科技(深圳)有限公司 Service processing method, device, equipment and readable storage medium
CN116665331A (en) * 2023-06-02 2023-08-29 广州欢聚马克网络信息有限公司 Face recognition attendance checking method and device, equipment, medium and product thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100989142B1 (en) * 2009-10-21 2010-10-20 디브이에스 코리아 주식회사 System and method for supplying e-learning contents
CN104167025A (en) * 2014-08-08 2014-11-26 济南大学 Mobile attendance system based on dynamic face recognition and WIFI positioning and method of attendance system
CN104732602A (en) * 2015-02-04 2015-06-24 四川长虹电器股份有限公司 Attendance checking method based on cloud human face and expression recognition
CN105139470A (en) * 2015-09-30 2015-12-09 杭州海康威视数字技术股份有限公司 Checking-in method, device and system based on face recognition
CN105469455A (en) * 2014-09-12 2016-04-06 航天信息股份有限公司 Human face identification attendance check management method based on mobile terminal and human face identification attendance check management system based on mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739615A (en) * 2009-11-30 2010-06-16 交通部公路科学研究院 Taxi intelligent comprehensive supervision and service system
CN105023304A (en) * 2014-04-29 2015-11-04 高德信息技术有限公司 Attendance checking method, terminal equipment and server
CN104123814B (en) * 2014-07-29 2017-04-05 徐春香 Initiative alarming method, apparatus and system
CN107170068B (en) * 2017-05-18 2019-08-30 中冶华天工程技术有限公司 Movable attendance checking method based on scene and image recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100989142B1 (en) * 2009-10-21 2010-10-20 디브이에스 코리아 주식회사 System and method for supplying e-learning contents
CN104167025A (en) * 2014-08-08 2014-11-26 济南大学 Mobile attendance system based on dynamic face recognition and WIFI positioning and method of attendance system
CN105469455A (en) * 2014-09-12 2016-04-06 航天信息股份有限公司 Human face identification attendance check management method based on mobile terminal and human face identification attendance check management system based on mobile terminal
CN104732602A (en) * 2015-02-04 2015-06-24 四川长虹电器股份有限公司 Attendance checking method based on cloud human face and expression recognition
CN105139470A (en) * 2015-09-30 2015-12-09 杭州海康威视数字技术股份有限公司 Checking-in method, device and system based on face recognition

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490036A (en) * 2019-05-30 2019-11-22 福建知鱼科技有限公司 A kind of wisdom garden all-purpose card total management system
CN111325083A (en) * 2019-08-01 2020-06-23 杭州海康威视系统技术有限公司 Method and device for recording attendance information
CN111325083B (en) * 2019-08-01 2024-02-23 杭州海康威视系统技术有限公司 Method and device for recording attendance information
WO2021074463A1 (en) * 2019-10-14 2021-04-22 Universidad De Alicane Unassisted presence control system and method
CN111160849A (en) * 2019-12-10 2020-05-15 广州市十牛信息科技有限公司 Face identification campus attendance system based on camera
CN111767898A (en) * 2020-07-23 2020-10-13 腾讯科技(深圳)有限公司 Service data processing method, device, equipment and storage medium
CN111767898B (en) * 2020-07-23 2023-11-24 腾讯科技(深圳)有限公司 Service data processing method, device, equipment and storage medium
CN112070020A (en) * 2020-09-09 2020-12-11 精英数智科技股份有限公司 Method and device for counting number of people entering well, electronic equipment and readable storage medium
CN112070020B (en) * 2020-09-09 2024-02-09 精英数智科技股份有限公司 Method and device for counting number of people entering well, electronic equipment and readable storage medium
CN113888772A (en) * 2021-09-30 2022-01-04 江苏欧软信息科技有限公司 MES-based information input emergency system and processing method thereof
CN114360085A (en) * 2021-11-25 2022-04-15 中国人民人寿保险股份有限公司 Method for identifying attendance cheating behaviors, service system and terminal equipment thereof

Also Published As

Publication number Publication date
CN109584393A (en) 2019-04-05
TW201933288A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
WO2019062620A1 (en) Attendance check method and apparatus, and attendance check device
CN105095873B (en) Photo be shared method, apparatus
EP3886058A1 (en) Hotel room door check-in
CN106886385A (en) Method and apparatus for providing the user interface of electronic equipment
CN106488335A (en) Live-broadcast control method and device
CN105551125B (en) The control method of urban safety system and the urban safety system
EP3051511B1 (en) Mobile terminal device, call-to-action system, call-to-action method, call-to-action program, and safety verification system
CN104852966A (en) Numerical value transfer method, terminal and cloud server
CN106376043A (en) Automatic switching method and device for SIM (Subscriber Identification Module) card
CN107436777A (en) Mobile terminal, application crash processing method and processing device
CN104850995A (en) Operation executing method and device
CN104330985B (en) Information processing method and device
CN103929788A (en) Communication control method and device and terminal
CN108932760A (en) Work attendance method and terminal based on recognition of face
WO2016192499A1 (en) Terminal management method and terminal
CN108897996A (en) Identification information correlating method and device, electronic equipment and storage medium
CN103955968A (en) Compound security attendance device and system based on android platform
CN107622246B (en) Face recognition method and related product
CN104486486B (en) Method and device for treating faults
WO2019218905A1 (en) Object verification method, device and system
CN104915646A (en) Method and terminal for conference management
CN104902055B (en) Contact person's creation method and device
CN105989218B (en) Informationized processing method and device
CN106412481A (en) Prompt method and device, and terminals based on VoLTE video call
CN107104946A (en) A kind of management system of computer laboratory

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18861931

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18861931

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18861931

Country of ref document: EP

Kind code of ref document: A1