CN107516351B - Attendance checking confirmation method and device - Google Patents

Attendance checking confirmation method and device Download PDF

Info

Publication number
CN107516351B
CN107516351B CN201710741390.1A CN201710741390A CN107516351B CN 107516351 B CN107516351 B CN 107516351B CN 201710741390 A CN201710741390 A CN 201710741390A CN 107516351 B CN107516351 B CN 107516351B
Authority
CN
China
Prior art keywords
user
attendance
information
sighting
users
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710741390.1A
Other languages
Chinese (zh)
Other versions
CN107516351A (en
Inventor
袁海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201710741390.1A priority Critical patent/CN107516351B/en
Publication of CN107516351A publication Critical patent/CN107516351A/en
Application granted granted Critical
Publication of CN107516351B publication Critical patent/CN107516351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The invention relates to the technical field of networks, and discloses an attendance checking confirmation method and device, which can reduce the possibility of cheating on attendance checking. The attendance checking confirmation method comprises the following steps: receiving attendance information triggered by a first user and a signature value corresponding to the attendance information; identifying a first set of witness users capable of attesting to the presence of a first user; sending attendance checking confirmation request information of the first user to witness users in the presence of the first user; receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user; and confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user. In addition, the invention also discloses a corresponding attendance checking confirmation device which is suitable for high-efficiency and accurate attendance checking confirmation.

Description

Attendance checking confirmation method and device
Technical Field
The invention relates to the technical field of networks, in particular to an attendance checking confirmation method and device.
Background
The traditional attendance checking mode is mostly realized by means of an IC magnetic card attendance checking device, a fingerprint card punching attendance checking device for fingerprint identification or a card punching attendance checking device for facial identification. Most of the traditional attendance devices are installed at fixed positions, and for the condition that a large number of users need to punch cards in a centralized mode in a certain time period (such as before working hours), the traditional attendance devices can only work in series according to the time sequence. Therefore, the efficiency of card punching is low, and the waiting time of the user is too long.
In order to solve the problems of low card punching efficiency and overlong user waiting time, an attendance scheme based on a mobile terminal is adopted at present, specifically, an attendance application on the mobile terminal generates attendance information and submits the attendance information to an attendance server, the attendance server verifies whether time information in the attendance information is in an attendance time range or not and verifies whether position information in the attendance information is in an attendance area range or not, and a verification result is submitted to the attendance application. However, the current attendance scheme cannot solve the problem of invalid attendance caused by cheating card punching.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: an attendance checking confirmation method and an attendance checking confirmation device are provided, so that the possibility of attendance checking cheating behaviors is reduced.
The technical scheme adopted by the invention for solving the technical problems is as follows:
as an aspect of the present invention, an attendance checking method is provided, which is applied to an attendance checking server, and includes:
receiving attendance information triggered by a first user and a signature value corresponding to the attendance information, wherein the attendance information comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered;
identifying a first set of witness users capable of attesting to the presence of a first user;
sending attendance checking confirmation request information of the first user to witness users in the presence of the first user;
receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user;
and confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user.
As a further optimization, the confirming a first set of witness users that can prove the presence of the first user specifically comprises:
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a witness user of the first user, and all witness users form a first witness user set in which the first user is present.
As a further optimization, the confirming can prove that the first user is present for the first set of witness users, further comprising:
presetting an expected value N of the number of first sighting users in the presence of a first user;
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a potential witness user with the first user in the field;
if the number of the potential sighting users of the first user is larger than the preset expected value N of the number of the first sighting users, sorting the potential sighting user set of the first user according to the time information and the position information, and then selecting the first N potential sighting users to form a first sighting user set in which the first user is in the field;
if the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user.
As a further optimization, the attendance checking confirmation request information at least comprises:
the system comprises an attendance transaction identifier, identification information of a first user and time information when attendance operation of the first user is triggered.
As a further one, the method further includes:
and the signature value is used for carrying out integrity protection on the attendance checking confirmation request information.
As a further optimization, the attendance checking confirmation response information at least comprises:
the attendance checking transaction identification from the attendance checking confirmation request information, the identification information of the first user, the identification information of the sighting user, the time information when the sighting user confirms triggering, the position information when the sighting user confirms triggering, and the certification information provided by the sighting user for the presence or absence of the first user. The certification information includes any one of: presence, absence, indeterminate.
As a further optimization, the method further comprises the following steps:
and the signature value is used for carrying out integrity protection on the attendance checking confirmation response information.
As a further optimization, if the first set of witness users for which the confirmed first user is present is empty, then,
if the time information of the first user when the attendance operation is triggered is in the preset attendance time period and the position information of the first user when the attendance operation is triggered is in the preset attendance position range, confirming that the attendance result of the first user is in the field;
and if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
As a further optimization, if the presence of the confirmed first user proves that the set of users is not empty, the confirming the attendance result of the first user comprises:
confirming a second sighting user number in the presence of the first user;
and if the number of the second witness users in the presence of the first user is larger than or equal to a preset minimum threshold of the number of the second witness users, or the number of the second witness users in the presence of the first user is equal to the cardinal number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
As a further optimization, the confirming the second number of sighting users in which the first user is present specifically includes:
if the position information of the first user when the confirmation is triggered and the position information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in a reasonable area range, the time information of the first user when the confirmation is triggered and the time information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in a reasonable time range, and the certification information in the attendance confirmation response information is in the presence, the sighting user is confirmed to be a second sighting user in the presence of the first user; all of the second witness users make up a second set of witness users with which the first user is present, the cardinality of the second set of witness users with which the first user is present being the second number of witness users with which the first user is present.
As another aspect of the present invention, an attendance checking apparatus is provided, which is applied to an attendance checking server, and includes:
the first receiving module is used for receiving attendance information triggered by a first user and a signature value corresponding to the attendance information, and the attendance information comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered;
a confirmation module to confirm a first set of witness users that can prove the first user is present;
the sending module is used for sending attendance checking confirmation request information of the first user to the witness user in the presence of the first user;
the second receiving module is used for receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user;
and the judging module is used for confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user.
As a further optimization, the validation module is specifically configured to:
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a witness user of the first user, and all witness users form a first witness user set in which the first user is present.
As a further optimization, the validation module further comprises:
and the first presetting submodule is used for presetting the expected value N of the first sighting user number in the presence of the first user.
Further, the confirmation module is specifically configured to:
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a potential witness user with the first user in the field;
if the number of the potential sighting users of the first user is larger than the preset expected value N of the number of the first sighting users, sorting the potential sighting user set of the first user according to the time information and the position information, and then selecting the first N potential sighting users to form a first sighting user set in which the first user is in the field;
if the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user.
As a further optimization, if the first witness user set of the confirmed first user presence is empty, the determining module is specifically configured to:
if the time information of the first user when the attendance operation is triggered is in the preset attendance time period and the position information of the first user when the attendance operation is triggered is in the preset attendance position range, confirming that the attendance result of the first user is in the field;
and if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
As a further optimization, if the first witness user set of the confirmed first user presence is not empty, the determining module further comprises:
the second preset submodule is used for presetting a second minimum threshold value of the sighting user number;
the second confirming submodule is used for confirming the second sighting user number of the first user in the field;
as a further optimization, the determining module is specifically configured to:
and if the number of the second witness users in the presence of the first user is larger than or equal to a preset minimum threshold of the number of the second witness users, or the number of the second witness users in the presence of the first user is equal to the cardinal number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
As a further optimization, the second validation submodule is specifically configured to:
if the position information of the first user when the confirmation is triggered and the position information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable area range, the time information of the first user when the confirmation is triggered and the time information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable time range, and the proving information in the attendance confirmation response information is in the presence, then the sighting user is confirmed to be a second sighting user in the presence of the first user, all the second sighting users form a second sighting user set in the presence of the first user, and the base number of the second sighting user set in the presence of the first user is the second sighting user number in the presence of the first user.
As a further optimization, the method further comprises the following steps:
and the computing module is used for obtaining or verifying the signature value of the attendance checking information, the attendance checking request information or the attendance checking response information triggered by the first user.
The invention has the beneficial effects that:
when the attendance result of the user is confirmed, the information of the attendance trigger operation time, the position and the like of the user is considered, and the certification result of the sighting user is comprehensively considered, so that the possibility of cheating on attendance is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 shows a flowchart of an attendance checking confirmation method according to an embodiment of the present invention;
fig. 2 shows a block diagram of an attendance checking confirmation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
The embodiment of the invention provides an attendance checking confirmation method, which can be applied to an attendance checking server. Here, the attendance service end may be an attendance service program module running on a computing device with certain computing capability. The attendance client is a mobile attendance application on the mobile terminal or an attendance function module or a plug-in the mobile application.
As shown in fig. 1, the method at least includes the following steps S102 to S110:
step S102: and receiving attendance information triggered by a first user and a signature value corresponding to the attendance information.
Step S104: a first set of witness users that can prove the presence of the first user is identified.
Step S106: and sending attendance checking confirmation request information of the first user to the witness user in the presence of the first user.
Step S108: and receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user.
Step S110: and confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user.
In the embodiment of the invention, attendance information triggered by a first user and a signature value corresponding to the attendance information are received, and a first witness user set which can prove that the first user is in the field is confirmed. And sending attendance checking confirmation request information of the first user to the witness user in the presence of the first user. And receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user. And confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user. Therefore, when the user checks the attendance, the validity of the attendance data of the user is comprehensively verified through the time information of the user when the attendance is triggered, the position information of the user when the attendance is triggered and the attendance confirmation response information of other witnessed users. To a certain extent, the problem that attendance is invalid due to cheating card punching in the prior art is solved.
In an optional embodiment of the present invention, the attendance server receives attendance information triggered by the first user from the attendance client and a signature value corresponding to the attendance information at step S102. The attendance information at least comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered. The user identification information can be any one of a user name, an employee job number, an identification number, a digital identity certificate and other information which can uniquely identify the user in the attendance system. The device identification information may be information that can uniquely identify a device, such as a MAC address of a mobile terminal (e.g., a portable computing device such as a smart phone, a tablet computer, etc.). The time information when the attendance operation is triggered can be time information provided by an internal clock of the mobile terminal or time information provided by a network time service provider. The position information when the attendance checking operation is triggered can be longitude and latitude geographic position information, and the longitude and latitude geographic position information is provided by GPS positioning service or Beidou positioning service built in the mobile terminal. The location information may also be provided by other indoor positioning technologies.
In an optional embodiment of the present invention, the attendance server may require the attendance client to sign the sent attendance information according to a prescribed configuration. The attendance information protected by signature at least comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered. The algorithm used for signing can be SHA256 digest algorithm, and can also be RSA or ECC signature algorithm. After receiving attendance information triggered by a first user from an attendance client and a signature value corresponding to the attendance information, the attendance server verifies the validity of the attendance information by verifying the signature according to the agreed configuration. If the signature is not verified, if the attendance information is invalid, the processing is terminated.
In an alternative embodiment of the present invention, step S104 identifies a first set of witness users that are able to prove the presence of the first user. After receiving the attendance information of the first user, the attendance server extracts the time information contained in the attendance information triggered by the first user. According to the time information, the users which are confirmed in the current attendance time period and before the time information and have attendance results of being present are searched to be the witness users of the first users. All witness users constitute a first set of witness users that are present for the first user.
In another alternative embodiment of the present invention, the attendance server may preset an expected value N of the first number of witnesses users in the presence of the first user (e.g., N ═ 5). And before confirming the time information contained in the attendance information triggered by the first user, the attendance result confirmed in the preset attendance time period is that the present user is the potential witness user in which the first user is present. If the number of potential sighting users of the first user is greater than the preset expectation value N of the number of first sighting users, then the set of potential sighting users of the first user is sorted as follows: the closer the attendance time information of the potential witness user and the attendance time information of the first user are, the closer the attendance position information of the witness user and the attendance position information of the first user are, and the further the potential witness user is ranked. The first N potential sighting users are then selected to form a first set of sighting users in the presence of the first user. If the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user. If the first witness user set of the first user is empty, directly jumping to step S110, otherwise, continuing with the next step.
In an optional embodiment of the present invention, step S106 is that the attendance check server sends attendance check request information of the first user to all witness users in the witness user set in which the first user is present. The attendance checking confirmation request information at least comprises: the system comprises an attendance transaction identifier, identification information of a first user and time information when attendance operation of the first user is triggered. The attendance transaction identifier is the only identifier of the attendance confirmation request and the attendance response request. Optionally, the attendance checking confirmation request information further includes: a signature value. And the attendance checking confirmation request message is subjected to integrity protection.
In an optional embodiment of the invention, the attendance client of the witness user receives attendance confirmation request information of the first user of the attendance server and verifies the integrity and the validity of the information. After the verification is passed, the attendance checking client displays the information related to the first user and the related action buttons on the related UI page, wherein the displayed information at least comprises the first user identification information, the attendance checking time information of the first user and the attendance checking position information of the first user. The associated action buttons include at least: a button indicating that the first user is present, a button indicating that the first user is not present, a button indicating that it is not possible to determine whether the first user is present. In the case where there are a plurality of attendance confirmation request information, the attendance client may present a list of attendance confirmation request information on a relevant UI page. And the attendance checking client generates corresponding attendance checking confirmation response information according to the operation of the witness user. The attendance checking confirmation response information at least comprises: the attendance checking transaction identifier from the attendance checking confirmation request information, the identifier information of the first user, the identifier information of the sighting user, the time information when the sighting user confirms triggering, the position information when the sighting user confirms triggering, and the certification information provided by the sighting user for the presence or absence of the first user comprises any one of the following items: presence, absence, indeterminate. Optionally, the attendance checking confirmation response information further includes: and the signature value is used for carrying out integrity protection on the attendance checking confirmation response information.
In an optional embodiment of the present invention, step S108 receives attendance checking confirmation response information of the witness user in the presence of the first user to the presence or absence of the first user. And the attendance checking server verifies the received attendance checking confirmation response information.
In an optional embodiment of the present invention, in step S110, if the confirmed first sighting user set in which the first user is present is empty, if the time information when the attendance operation of the first user is triggered is within the preset attendance time period and the location information when the attendance operation of the first user is triggered is within the preset attendance location range, it is confirmed that the attendance result of the first user is present. And if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
In another optional embodiment of the present invention, in step S110, if the confirmed presence of the first user proves that the user set is not empty, the confirming the attendance result of the first user comprises:
a second number of witness users with the first user present is identified. And if the position information of the first user at the time of confirmation triggering in the attendance confirmation response information responded by the sighting user in the presence of the first user and the position information of the first user are in a reasonable area range, the time information of the first user at the time of confirmation triggering in the attendance confirmation response information responded by the sighting user in the presence of the first user and the time information of the first user are in a reasonable time range, and the proving information in the attendance confirmation response information is in the presence, confirming that the sighting user is a second sighting user in the presence of the first user. All of the second witness users make up a second set of witness users that the first user is present. The cardinality of the second set of witness users in the presence of the first user is the number of second witness users in the presence of the first user.
And if the second witness user number in the presence of the first user is greater than or equal to a preset second witness user number minimum threshold (if the preset second witness user number minimum threshold is 3), or the second witness user number in the presence of the first user is equal to the base number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
Based on the attendance checking confirmation method provided by each embodiment, the embodiment of the invention also provides an attendance checking confirmation device.
As shown in fig. 2, the apparatus 200 includes at least a first receiving module 202, a confirming module 204, a sending module 206, a second receiving module 208, and a determining module 210.
The functions of the components or devices of the attendance checking apparatus 200 according to the embodiment of the present invention and the connection relationship between the components will now be described:
the first receiving module 202 is configured to receive attendance information triggered by a first user and a signature value corresponding to the attendance information, where the attendance information includes: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered;
a confirmation module 204, coupled to the first receiving module 202, for confirming a first set of sighting users that can prove the presence of the first user;
a sending module 206, coupled to the confirming module 204, configured to send attendance confirmation request information of the first user to a sighting user in which the first user is present;
the second receiving module 208 is coupled to the sending module 206, and configured to receive attendance checking confirmation response information of the sighting user that the first user is present to whether the first user is present.
The determining module 210 is coupled to the second receiving module 208 and the confirming module 204, and configured to confirm the attendance result of the first user according to a preset attendance time period, a preset attendance position range, a preset minimum threshold of the second sighting user number, and attendance confirmation response information of the sighting user in which the first user is present to the first user.
In an embodiment of the present invention, the confirmation module is specifically configured to:
before time information contained in attendance information triggered by the first user is confirmed, the user with the attendance result confirmed in the preset attendance time period is a witness user of the first user. All witness users constitute a first set of witness users that are present for the first user.
In another embodiment of the present invention, the confirmation module further comprises:
and the first presetting submodule is used for presetting the expected value N of the first sighting user number in the presence of the first user.
Further, the confirmation module is specifically configured to:
before time information contained in attendance information triggered by the first user is confirmed, the confirmed attendance result in a preset attendance time period is that the user in the presence is a potential witness user in the presence of the first user.
If the number of potential sighting users of the first user is larger than the expected value N (for example, N is 5) of the preset number of first sighting users, the potential sighting user set of the first user is sorted according to the time information and the position information, and then the first N potential sighting users are selected to form the first sighting user set in which the first user is present.
If the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user.
In another embodiment of the present invention, if the first witness user set of the confirmed first user presence is empty, the determining module is specifically configured to:
and if the time information of the first user when the attendance operation is triggered is in the preset attendance time period and the position information of the first user when the attendance operation is triggered is in the preset attendance position range, confirming that the attendance result of the first user is in the field.
And if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
In another embodiment of the present invention, if the first witness user set of the confirmed first user presence is not empty, the determining module further comprises:
the second preset submodule is used for presetting a second minimum threshold value of the number of sighting users, and if the second minimum threshold value of the number of sighting users is set to be 3;
the second confirming submodule is used for confirming the second sighting user number of the first user in the field;
further, the determining module is specifically configured to:
and if the number of the second witness users in the presence of the first user is larger than or equal to a preset minimum threshold of the number of the second witness users, or the number of the second witness users in the presence of the first user is equal to the cardinal number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
In another embodiment of the present invention, the second confirmation submodule is specifically configured to:
and if the position information of the first user at the time of confirmation triggering in the attendance confirmation response information responded by the sighting user in the presence of the first user and the position information of the first user are in a reasonable area range, the time information of the first user at the time of confirmation triggering in the attendance confirmation response information responded by the sighting user in the presence of the first user and the time information of the first user are in a reasonable time range, and the proving information in the attendance confirmation response information is in the presence, confirming that the sighting user is a second sighting user in the presence of the first user. All of the second witness users make up a second set of witness users that the first user is present. The cardinality of the second set of witness users in the presence of the first user is the number of second witness users in the presence of the first user.
In another embodiment of the present invention, the attendance checking confirmation apparatus may further include:
and the computing module is used for obtaining or verifying the signature value of the attendance checking information, the attendance checking request information or the attendance checking response information triggered by the first user.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. An attendance checking confirmation method is characterized by comprising the following steps:
receiving attendance information triggered by a first user and a signature value corresponding to the attendance information, wherein the attendance information comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered;
identifying a first set of witness users capable of attesting to the presence of a first user;
sending attendance checking confirmation request information of the first user to witness users in the presence of the first user; the attendance checking confirmation request information at least comprises: the attendance checking system comprises an attendance checking transaction identifier, identification information of a first user and time information when attendance checking operation of the first user is triggered;
receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user; the attendance checking confirmation response information at least comprises:
attendance transaction identification from the attendance checking confirmation request information, identification information of the first user, identification information of a sighting user, time information when the sighting user confirms triggering, position information when the sighting user confirms triggering, and certification information provided by the sighting user for the presence or absence of the first user; the certification information includes any one of: presence, absence, indeterminate;
and confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user.
2. The attendance checking confirmation method of claim 1, wherein the confirming of the first set of witness users who are able to prove the presence of the first user specifically comprises:
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a witness user of the first user, and all witness users form a first witness user set in which the first user is present.
3. The attendance validation method of claim 1, wherein the validation is capable of attesting to a first set of witness users with the first user present, further comprising:
presetting an expected value N of the number of first sighting users in the presence of a first user;
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a potential witness user with the first user in the field;
if the number of the potential sighting users of the first user is larger than the preset expected value N of the number of the first sighting users, sorting the potential sighting user set of the first user according to the time information and the position information, and then selecting the first N potential sighting users to form a first sighting user set in which the first user is in the field;
if the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user.
4. The attendance checking confirmation method of claim 3, wherein the expected value N of the number of first witness users in the presence of the preset first user is 5.
5. The attendance validation method of claim 1, wherein if the first set of witness users for which the validated first user is present is empty, the validating the attendance result for the first user comprises:
if the time information of the first user when the attendance operation is triggered is in the preset attendance time period and the position information of the first user when the attendance operation is triggered is in the preset attendance position range, confirming that the attendance result of the first user is in the field;
and if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
6. The attendance validation method of claim 1, wherein validating the attendance result of the first user if the validated set of first user presence proves that the user set is non-empty comprises:
confirming a second sighting user number in the presence of the first user;
and if the number of the second witness users in the presence of the first user is larger than or equal to a preset minimum threshold of the number of the second witness users, or the number of the second witness users in the presence of the first user is equal to the cardinal number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
7. The attendance checking confirmation method of claim 6, wherein the confirming of the second number of sighting users in the presence of the first user specifically comprises:
if the position information of the first user when the confirmation is triggered and the position information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable area range, the time information of the first user when the confirmation is triggered and the time information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable time range, and the proving information in the attendance confirmation response information is in the presence, then the sighting user is confirmed to be a second sighting user in the presence of the first user, all the second sighting users form a second sighting user set in the presence of the first user, and the base number of the second sighting user set in the presence of the first user is the second sighting user number in the presence of the first user.
8. The attendance checking method as claimed in claim 6, wherein the preset minimum threshold value of the second number of sighting users is 3.
9. The attendance checking confirmation method of any one of claims 1-8, wherein the signature value corresponding to the attendance information is an SHA256 hash value of the corresponding information, and is used for integrity protection of the attendance information.
10. An attendance checking confirmation apparatus, comprising:
the first receiving module is used for receiving attendance information triggered by a first user and a signature value corresponding to the attendance information, and the attendance information comprises: user identification information, equipment identification information, time information when attendance operation is triggered, and position information when attendance operation is triggered;
a confirmation module to confirm a first set of witness users that can prove the first user is present;
the sending module is used for sending attendance checking confirmation request information of the first user to the witness user in the presence of the first user;
the second receiving module is used for receiving attendance checking confirmation response information of the witness users in the presence of the first user to the presence or absence of the first user;
and the judging module is used for confirming the attendance result of the first user according to the preset attendance time period, the preset attendance position range, the preset minimum threshold value of the second sighting user number and the attendance confirmation response information of the sighting user in the presence of the first user to the presence of the first user.
11. The attendance checking confirmation apparatus of claim 10, wherein the confirmation module is specifically configured to:
before time information contained in attendance information triggered by the first user is confirmed, the user with the confirmed attendance result in the preset attendance time period is a witness user of the first user, and all witness users form a first witness user set in which the first user is present.
12. The attendance checking confirmation apparatus of claim 10, wherein the confirmation module further comprises:
the first presetting submodule is used for presetting an expected value N of the number of first sighting users in the presence of a first user;
the confirmation module is further to: before time information contained in attendance information triggered by the first user is confirmed, the confirmed attendance result in a preset attendance time period is that the user in the presence is a potential witness user in the presence of the first user,
if the number of the potential sighting users of the first user is larger than the preset expected value N of the number of the first sighting users, sorting the potential sighting user set of the first user according to the time information and the position information, and then selecting the first N potential sighting users to form a first sighting user set in which the first user is in the field;
if the number of the potential sighting users of the first user is smaller than or equal to the preset number N of the first sighting users, all the potential sighting users form a first sighting user set of the first user.
13. The attendance checking confirmation apparatus of claim 10, wherein if the first set of witness users that the confirmed first user is present is empty, the determination module is specifically configured to:
if the time information of the first user when the attendance operation is triggered is in the preset attendance time period and the position information of the first user when the attendance operation is triggered is in the preset attendance position range, confirming that the attendance result of the first user is in the field;
and if the time information when the attendance operation of the first user is triggered is not in the preset attendance time period or the position information when the attendance operation of the first user is triggered is not in the preset attendance position range, confirming that the attendance result of the first user is absent.
14. The attendance confirmation apparatus of claim 10, wherein if the first set of witness users in the presence of the confirmed first user is not empty, the determination module further comprises:
the second preset submodule is used for presetting a second minimum threshold value of the sighting user number;
the second confirming submodule is used for confirming the second sighting user number of the first user in the field;
the judgment module is specifically configured to:
and if the number of the second witness users in the presence of the first user is larger than or equal to a preset minimum threshold of the number of the second witness users, or the number of the second witness users in the presence of the first user is equal to the cardinal number of the first witness user set in the presence of the first user, confirming that the attendance result of the first user is in the presence.
15. The attendance checking confirmation apparatus of claim 14,
the second confirmation submodule is specifically configured to:
if the position information of the first user when the confirmation is triggered and the position information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable area range, the time information of the first user when the confirmation is triggered and the time information of the first user in the attendance confirmation response information responded by the sighting user in the presence of the first user are in the reasonable time range, and the proving information in the attendance confirmation response information is in the presence, then the sighting user is confirmed to be a second sighting user in the presence of the first user, all the second sighting users form a second sighting user set in the presence of the first user, and the base number of the second sighting user set in the presence of the first user is the second sighting user number in the presence of the first user.
16. An attendance checking confirmation apparatus as claimed in any one of claims 10 to 15, further comprising:
the computing module is used for carrying out cryptographic operation on attendance checking information, attendance checking request information or attendance checking response information triggered by the first user to obtain a signature value of corresponding information; alternatively, the signature value of the corresponding information is verified.
CN201710741390.1A 2017-08-25 2017-08-25 Attendance checking confirmation method and device Active CN107516351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710741390.1A CN107516351B (en) 2017-08-25 2017-08-25 Attendance checking confirmation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710741390.1A CN107516351B (en) 2017-08-25 2017-08-25 Attendance checking confirmation method and device

Publications (2)

Publication Number Publication Date
CN107516351A CN107516351A (en) 2017-12-26
CN107516351B true CN107516351B (en) 2020-04-21

Family

ID=60724009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710741390.1A Active CN107516351B (en) 2017-08-25 2017-08-25 Attendance checking confirmation method and device

Country Status (1)

Country Link
CN (1) CN107516351B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113850923B (en) * 2020-06-28 2023-09-08 深圳兆日科技股份有限公司 Attendance checking statistical method, device, equipment and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799900A (en) * 2010-04-02 2010-08-11 中兴通讯股份有限公司 Method and system for realizing attendance object management
JP2012123661A (en) * 2010-12-09 2012-06-28 Weve Co Ltd Tenant moving-out management system
CN104143217A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Electronic attendance checking method and system based on mobile-phone positions
CN104796391A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Check-in verification method, check-in verification client, server, system and device
CN105096401A (en) * 2015-08-31 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Work attendance checking management method and equipment
CN105553683A (en) * 2015-12-24 2016-05-04 深圳市众投邦股份有限公司 Conference sign-in method and system
CN105788016A (en) * 2016-02-26 2016-07-20 河南智业科技发展有限公司 Anti-counterfeiting Internet attendance checking method
CN106156915A (en) * 2015-04-02 2016-11-23 华为技术有限公司 A kind of wireless Work attendance method, Apparatus and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778380A (en) * 2009-12-31 2010-07-14 卓望数码技术(深圳)有限公司 Identity authentication method, device and system
CN102611984A (en) * 2011-01-20 2012-07-25 汪晓诗 Low-energy consumption method for detecting specific geographical position
CN103136807A (en) * 2013-02-07 2013-06-05 方春 Attendance system and attendance method based on location based service (LBS)
CN104899952B (en) * 2015-06-18 2017-07-04 阿里巴巴集团控股有限公司 Work attendance method and device based on instant messaging application
CN107026845B (en) * 2017-01-03 2020-04-28 阿里巴巴集团控股有限公司 Task cheating behavior identification method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799900A (en) * 2010-04-02 2010-08-11 中兴通讯股份有限公司 Method and system for realizing attendance object management
JP2012123661A (en) * 2010-12-09 2012-06-28 Weve Co Ltd Tenant moving-out management system
CN104143217A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Electronic attendance checking method and system based on mobile-phone positions
CN104796391A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Check-in verification method, check-in verification client, server, system and device
CN106156915A (en) * 2015-04-02 2016-11-23 华为技术有限公司 A kind of wireless Work attendance method, Apparatus and system
CN105096401A (en) * 2015-08-31 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Work attendance checking management method and equipment
CN105553683A (en) * 2015-12-24 2016-05-04 深圳市众投邦股份有限公司 Conference sign-in method and system
CN105788016A (en) * 2016-02-26 2016-07-20 河南智业科技发展有限公司 Anti-counterfeiting Internet attendance checking method

Also Published As

Publication number Publication date
CN107516351A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN110288479B (en) Method and related equipment for consensus of block chain data
CN106469261B (en) Identity verification method and device
CN109671205B (en) Voting method, device and equipment based on block chain and computer storage medium
EP3262552B1 (en) Methods, apparatus, and systems for identity authentication
US20120246076A1 (en) Credit card fraud prevention system
EP2639998A1 (en) Method and device for anonymous entity identification
US8917939B2 (en) Verifying vendor identification and organization affiliation of an individual arriving at a threshold location
JP2013097650A (en) Authentication system, authentication method and authentication server
CN105577385B (en) Method and device for acquiring signature authority
US20190297089A1 (en) On Premises Peer to Peer Credential Validation System and Method of Operation
CN104238819A (en) Detection method and system for display screen state in mobile terminal
JP2007148471A (en) Service notification system
CN105260870A (en) Identity identification method, identity identification system and identity identification terminal
CN113645257B (en) Identity authentication method and device, electronic equipment and storage medium
CN107516351B (en) Attendance checking confirmation method and device
CN107633583B (en) Access control system and method supporting IOS equipment
KR20210025204A (en) Time and attendance management system server capable of performing time and attendance management based on wireless ap access information and operating method thereof
CN107294981B (en) Authentication method and equipment
US20160112369A1 (en) System and Method for Validating a Customer Phone Number
CN109040056B (en) User verification method based on server
CN108512803A (en) Remind the method and device of change account bound phone number
CN114422586B (en) Event notification method, event notification device, computer equipment and storage medium
US20210125193A1 (en) Delivery authentication system
CN114826946A (en) Unauthorized access interface detection method, device, equipment and storage medium
CN110809001B (en) Identity authentication method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant