CN113240824A - Attendance checking method and device, computer equipment and storage medium - Google Patents

Attendance checking method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113240824A
CN113240824A CN202110772757.2A CN202110772757A CN113240824A CN 113240824 A CN113240824 A CN 113240824A CN 202110772757 A CN202110772757 A CN 202110772757A CN 113240824 A CN113240824 A CN 113240824A
Authority
CN
China
Prior art keywords
information
attendance
terminal
current positioning
server
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.)
Granted
Application number
CN202110772757.2A
Other languages
Chinese (zh)
Other versions
CN113240824B (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.)
Shenzhen Branch Of Taiping Financial Technology Services Shanghai Co ltd
Original Assignee
Shenzhen Branch Of Taiping Financial Technology Services Shanghai 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 Shenzhen Branch Of Taiping Financial Technology Services Shanghai Co ltd filed Critical Shenzhen Branch Of Taiping Financial Technology Services Shanghai Co ltd
Priority to CN202110772757.2A priority Critical patent/CN113240824B/en
Publication of CN113240824A publication Critical patent/CN113240824A/en
Application granted granted Critical
Publication of CN113240824B publication Critical patent/CN113240824B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Abstract

The application relates to an attendance checking method, an attendance checking device, computer equipment and a storage medium. The method comprises the following steps: sending login information to a server, and receiving scheduling information corresponding to the login information and returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates; acquiring current positioning information; checking the current positioning information according to the attendance reference point coordinates; if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position; and sending the corrected current positioning information to a server for attendance checking. By adopting the method, the attendance checking accuracy can be improved.

Description

Attendance checking method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of positioning technologies, and in particular, to an attendance checking method, an attendance checking apparatus, a computer device, and a storage medium.
Background
Mobile attendance checking, also known as lbs (location Based services) attendance checking, is an attendance checking system that obtains the current location of a mobile terminal using various types of positioning techniques and sends the location to a network service platform through the internet to determine the attendance of a group or an individual at a specific place and within a specific time.
In the conventional technology, the mobile attendance checking usually adopts a positioning technology, and has four types: (1) global Positioning System (Global Positioning System): when the satellite and the mobile terminal are used, the longitude and latitude of the mobile terminal are obtained by a triangulation method according to the communication delay between a plurality of satellites and the same terminal. The current mobile phone GPS positioning precision is generally 50 meters away. (2) WiFi positioning: and when the mobile terminal is connected to a certain WiFi access point, the position of the user can detect more accurate longitude and latitude by accessing a corresponding table in the database. The WiFi positioning accuracy is generally about 20-50 meters. (3) And (3) IP address positioning: when the mobile terminal accesses the internet, it is assigned an IP address, which is region-dependent. By using the existing mapping relationship between the IP address and the area, the position of the mobile object can be located to an area of a city size. (4) Triangulation method: triangulation is a method of measuring the distance of a target triangularly and geometrically by measuring the angle of the target point to a known end of a fixed reference line. Triangulation can obtain the latitude and longitude of the user when the mobile terminal is within the signal range of three mobile telephone base stations.
However, in the current mobile attendance method, the user position information is based on the GPS or mobile base station signal, and the user positioning signal is required to be accurate, so that the mobile attendance cannot be completed when the user positioning has a large error.
Disclosure of Invention
In view of the above, it is necessary to provide an attendance checking method, an attendance checking apparatus, a computer device, and a storage medium, which can reduce an attendance checking error.
An attendance checking method is applied to a terminal, and the method comprises the following steps:
sending login information to a server, and receiving scheduling information corresponding to the login information and returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates;
acquiring current positioning information;
checking the current positioning information according to the attendance reference point coordinates;
if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position;
and sending the corrected current positioning information to a server for attendance checking.
In one embodiment, after the checking the current positioning information according to the attendance reference point coordinates, the method further includes:
and if the verification is successful, uploading the current positioning information to a server.
In one embodiment, the obtaining of the current location of the terminal with attendance successful includes:
scanning a graphic code generated by a terminal which has successfully checked in, wherein the graphic code is generated according to the position information of the terminal which has successfully checked in;
and analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
In one embodiment, after sending the login information to the server, the method further includes:
receiving secret key information returned by a server, wherein the secret key information is generated when a terminal logs in the server for the first time;
the sending the corrected current positioning information to a server for attendance checking comprises:
and encrypting the corrected current positioning information through the secret key, and sending the encrypted current positioning information to a server for attendance checking.
In one embodiment, before sending the corrected current positioning information to a server for attendance checking, and/or before uploading the current positioning information to the server, the method includes:
acquiring a current network state;
and when the current network state is an offline state, generating signature information according to the current positioning information, wherein the signature information is used for sending the current positioning information to a server after being scanned by a terminal in an online state.
In one embodiment, after the signature information is scanned by the terminal in the online state, the terminal in the online state performs time verification, and after the time verification passes, the current positioning information is sent to the server.
An attendance checking method is applied to a server and comprises the following steps:
receiving login information sent by a terminal, and inquiring scheduling information corresponding to the login information, wherein the scheduling information at least comprises attendance reference point coordinates;
the scheduling information is sent to the terminal, and is used for verifying the current positioning information according to the attendance reference point coordinates after the terminal acquires the current positioning information, acquiring the current position of the terminal which has succeeded in attendance after the verification fails, and correcting the current positioning information according to the current position;
and receiving the corrected current positioning information sent by the terminal, and finishing attendance checking according to the corrected current positioning information.
In one embodiment, the generation manner of the attendance reference point coordinates includes:
acquiring current positioning information uploaded in a preset time period;
and carrying out equalization processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
In one embodiment, after completing attendance checking according to the corrected current positioning information, the method further includes:
acquiring a risk early warning model, wherein the risk early warning model is generated according to preset attendance checking rules;
inquiring attendance information corresponding to the current positioning information, and inputting the attendance information into the risk early warning model to judge whether the attendance information has risks;
and when the attendance information has risks, outputting an attendance risk prompt.
In one embodiment, after receiving the login information sent by the terminal, the method further includes:
judging whether the terminal corresponding to the login information logs in for the first time or not;
and when the terminal logs in for the first time, generating key information and sending the key information to the terminal, wherein the key information is used for encrypting the current positioning information when the terminal sends the current positioning information.
In one embodiment, after receiving the login information sent by the terminal, the method further includes:
extracting device information from the login information;
and judging whether the equipment information is consistent with the equipment information stored in advance, and if not, sending login failure information to the terminal.
An attendance device is applied to a terminal, and the device comprises:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending login information to a server and receiving scheduling information which is returned by the server and corresponds to the login information, and the scheduling information at least comprises attendance reference point coordinates;
the positioning module is used for acquiring current positioning information;
the checking module is used for checking the current positioning information according to the attendance reference point coordinates;
the correction module is used for acquiring the current position of the terminal with successful attendance checking if the verification fails, and correcting the current positioning information according to the current position;
and the second sending module is used for sending the corrected current positioning information to a server for attendance checking.
An attendance checking device applied to a server, the device comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving login information sent by a terminal and inquiring scheduling information corresponding to the login information, and the scheduling information at least comprises attendance reference point coordinates;
the third sending module is used for sending the scheduling information to the terminal, and the scheduling information is used for verifying the current positioning information according to the attendance reference point coordinates after the terminal acquires the current positioning information, acquiring the current position of the terminal which has successfully checked the attendance after the verification fails, and correcting the current positioning information according to the current position;
and the second receiving module is used for receiving the corrected current positioning information sent by the terminal and finishing attendance checking according to the corrected current positioning information.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the above embodiments when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.
According to the attendance checking method, the attendance checking device, the computer equipment and the storage medium, when the current positioning information check fails, the position of the terminal is corrected according to the current position of the terminal which has successfully checked the attendance to obtain a new attendance checking position, WiFi equipment does not need to be additionally introduced for auxiliary positioning, cost cannot be increased for enterprises, in addition, the position is corrected, the accuracy of attendance checking is ensured, and the pressure of a server side can be reduced by placing the check of the current positioning information on the terminal side, so that the attendance checking efficiency is improved.
Drawings
Fig. 1 is an application environment diagram of an attendance checking method in an embodiment;
FIG. 2 is a schematic flow chart of a method for attendance checking in one embodiment;
FIG. 3 is an environmental diagram illustrating a manner in which current location information is modified according to one embodiment;
fig. 4 is a schematic flow chart of an attendance checking method in another embodiment;
fig. 5 is a scene diagram of coordinate updating of attendance reference points in one embodiment;
fig. 6 is a block diagram of the attendance checking apparatus in one embodiment;
fig. 7 is a block diagram of the attendance checking device in another embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The attendance checking method can be applied to the application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 is configured to send login information to the server 104, the server 104 queries scheduling information corresponding to the login information after receiving the login information, the scheduling information at least includes attendance reference point coordinates, then the terminal 102 acquires current positioning information, and checks the current positioning information based on the attendance reference point coordinates, if the current positioning information cannot be checked successfully, the positioning information may have a problem, so that a current position of the terminal which has checked successfully can be acquired, and the current positioning information is corrected according to the current position; and sending the corrected current positioning information to a server for attendance checking. Therefore, when the verification of the current positioning information fails, the position of the terminal is corrected according to the current position of the terminal which has succeeded in checking the attendance, a new attendance position is obtained, additional WiFi equipment does not need to be introduced for auxiliary positioning, the cost of an enterprise is not increased, in addition, the position is corrected, the accuracy of the attendance is guaranteed, moreover, the verification of the current positioning information is placed on the terminal side, the pressure on the server side can be reduced, the attendance efficiency is improved, wherein the terminal 102 can be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable equipment, and the server 104 can be realized by an independent server or a server cluster consisting of a plurality of servers.
In an embodiment, as shown in fig. 2, an attendance checking method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
s202: and sending login information to the server, and receiving scheduling information corresponding to the login information returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates.
Specifically, the login information may include a user name and a password, the user name and the password are information for logging in the attendance software, and the user name may be a user account name. Preferably, the login information further includes device information, which is information for uniquely identifying the terminal.
The scheduling information is the scheduling of the user corresponding to the login information, and the scheduling information may be acquired by the server from a scheduling server, and the scheduling information at least includes the coordinate of the attendance reference point, and optionally, the attendance information further includes the information such as the maximum distance value allowed by the attendance reference point, the attendance time interval, and the like.
Specifically, after receiving the login information, the server acquires a user name corresponding to the login information, then queries corresponding scheduling information based on the user name, and sends the queried scheduling information to the terminal. In addition, optionally, before the server inquires the scheduling information, the server can also acquire the device information corresponding to the user name, if the device information transmitted by the acquired device information checking terminal is the same, the login is successful, and the corresponding scheduling information is continuously inquired, otherwise, the login is failed, namely, the server firstly checks the device information, and if the device information is not matched, the server prompts that the original device is required to be unbound to log in the new device, so that the problem of punching the card instead of checking the attendance among the users can be prevented by a mode of binding the user identity information (the user name and the password) and the device information.
In addition, optionally, for a user who successfully logs in for the first time, that is, a server does not inquire a corresponding user name, storing login information, that is, binding the user name and device information, and generating a random character string as a key corresponding to the device information for use in subsequent device card-punching and signature; and the user opens the software for the second time, the software automatically logs in, the server firstly verifies the equipment information, and if the equipment information is not matched, the server prompts that the new equipment can be logged in only if the original equipment needs to be unbundled.
It should be noted that, if the user identity authentication is passed, the server returns the user scheduling information for checking the local attendance of the user mobile device. The scheduling information comprises attendance reference point coordinates, an attendance reference point allowed maximum distance value, an attendance time interval and other information. Therefore, the shift information is verified on the mobile equipment local machine, so that the pressure of invalid attendance requests on the server can be reduced, and the processing capacity of the server is improved.
S204: and acquiring current positioning information.
Specifically, the longitude and latitude of the current position of the user are acquired through a GPS positioning technology.
S206: and checking the current positioning information according to the coordinates of the attendance reference point.
Specifically, the longitude and latitude of the position and the coordinate longitude and latitude of the attendance reference point are subjected to linear distance calculation, and if the longitude and latitude of the position and the coordinate longitude and latitude of the attendance reference point are smaller than the maximum distance value allowed for attendance, the local position passes verification.
Optionally, after checking the current positioning information according to the attendance reference point coordinates, the method further includes: and if the verification is successful, uploading the current positioning information to the server. That is to say, after the local verification of the user passes, the user clicks the attendance checking and card punching button to report the position information of the user. And the server records the data to the database when receiving the information, and waits for the subsequent second verification (the non-instant verification can improve the processing capacity of the server during the time period of punching the card by the user).
S208: and if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position.
And when the GPS positioning information of the user has a large error with the actual position, and the user cannot check and punch the card through checking, entering position information correction logic to correct the GPS position of the user to the actual position.
Specifically, the correction mode may be to acquire the current position of the terminal that succeeds in attendance, so that the current positioning information is corrected according to the current position, that is, the terminal of the user that succeeds in attendance is used as the fixed attendance machine. Optionally, in practice, the condition for acquiring the terminal with successful attendance may be set to be that the terminal is close to the terminal with successful attendance, for example, the current position of the terminal with successful attendance can be acquired only in a code scanning manner. Thus, the current positioning information is corrected through the current position.
S210: and sending the corrected current positioning information to a server for attendance checking.
Specifically, the user clicks an attendance card punching button and reports the user position information. And the server records the data to the database when receiving the information, and waits for the subsequent second verification (the non-instant verification can improve the processing capacity of the server during the time period of punching the card by the user).
According to the attendance checking method, when the current positioning information is failed to be checked, the position of the terminal is corrected according to the current position of the terminal which has successfully checked, a new attendance checking position is obtained, additional WiFi equipment does not need to be introduced for auxiliary positioning, cost cannot be increased for enterprises, in addition, the position is corrected, the attendance checking accuracy is guaranteed, the pressure of a server side can be reduced by placing the current positioning information to be checked on the terminal side, and therefore the attendance checking efficiency is improved.
In one embodiment, acquiring the current location of the terminal that has successfully checked in includes: scanning a graphic code generated by a terminal which has successfully checked in, wherein the graphic code is generated according to the position information of the terminal which has successfully checked in; and analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
Specifically, referring to fig. 3, fig. 3 is an environment diagram of a current location information correction manner in an embodiment, in which the purpose is to correct the GPS display location of user B to the actual location of user B, and then B sends a network request to complete the card punching through its own terminal, for example, a mobile device.
As shown in fig. 3, O is an attendance reference point, r is an attendance range radius, B is an actual position of the user B, and B is a GPS display position of the user B. A is the attendance position of the user A.
And br is greater than r due to the GPS positioning position error of the user B, and the card cannot be punched. And the user A normally positions and punches the card for normal attendance. At this moment, after attendance checking is successful, the mobile device of the A can be used as a fixed attendance machine, namely, the mobile device of the A generates a two-dimensional code according to the position information, the device information, the user information and the local time information of the A, the two-dimensional code is newly generated every 3 seconds (preventing user screen capture cheating), the mobile device of the B can correct the position of the B to the position of the A by scanning two continuous two-dimensional codes of the A, and then the B can finish attendance checking and card punching (Br < r after correction).
Namely, the A can punch the card normally, which shows that the position information and the equipment information of the A pass the server authentication, and the equipment of the A can be used as one of the punching attendance points in the attendance system; b can scan the two-dimensional code of A, which shows that the two codes are close to each other in actual distance, so that B can be also positioned at the actual position of A; the two-dimensional code of A changes once every 3 seconds, has prevented that user A from sending to the people far away from oneself through the network after the screen shot, and B need scan two consecutive two-dimensional codes that A generated, the possibility of attendance cheating.
In one embodiment, after sending the login information to the server, the method further includes: receiving key information returned by the server, wherein the key information is generated by the terminal logging in the server for the first time; sending the corrected current positioning information to a server for attendance checking, wherein the attendance checking method comprises the following steps: and encrypting the corrected current positioning information through the secret key, and sending the encrypted current positioning information to a server for attendance checking.
Specifically, in order to ensure the security of the current positioning information, when the terminal registers, the server allocates a unique secret key for the terminal, so that when the terminal needs to send the current positioning information to the server, the terminal can encrypt the current positioning information through the secret key, thereby ensuring the security of the current positioning information, and particularly under the condition of an offline state, the user information is transmitted by using a two-dimensional code technology and an encryption technology, so that offline attendance card printing under the condition of no network is realized.
In one embodiment, before sending the corrected current positioning information to the server for attendance checking and/or before uploading the current positioning information to the server, the method includes: acquiring a current network state; and when the current network state is an offline state, generating signature information according to the current positioning information, wherein the signature information is used for sending the current positioning information to the server after the terminal in the online state scans.
Specifically, when the mobile device of the user B has a poor signal or no signal, the mobile device cannot be positioned or cannot send position information to the server, information transmission can be performed offline, user information, device information and the like of the user B can be conveniently transmitted to the adjacent attendance device a, the attendance device of the user B is used for completing card punching, and the identity information of the user B does not need to be manually input into the device of the user B.
In practical application, the user A can punch a card normally, the position information and the equipment information of the user A are proved to pass the server authentication, and at the moment, the equipment of the user A can be used as one of the punching attendance points in the attendance system.
If the user B equipment has no network or cannot be positioned, B can open attendance software, the software reads the local equipment information, time information, random code information and signature information (the equipment information, the time information, the random code information and the secret are combined together and generate the signature information according to an SHA1 algorithm, wherein the secret is generated and issued by a server when the user binds the equipment at first and is matched with the equipment information), a two-dimensional code is generated, and the two-dimensional code is refreshed every 3 seconds.
And the user B scans the two-dimensional code generated by the attendance software for the equipment A.
Optionally, after the signature information is scanned by the terminal in the online state, the terminal in the online state performs time check, and after the time check passes, the current positioning information is sent to the server. That is to say, after the device A scans and identifies the two-dimensional code, the time information in the two-dimensional code is compared with the time of the device A, the time check is passed within 3 seconds of error, and then the device information and the time information in the two-dimensional code are sent to the server. And the server checks the time information again, and the time check is passed within 5 seconds of the time error of the server.
After the time check is passed, the server generates signature information by using the device information, the time information, the random code information and the secret corresponding to the device stored by the server together with SHA1, and compares the signature information with the uploaded signature information, if the signature information is consistent, the signature check is passed. If the request is not consistent, the request is forged, and the signature verification is not passed.
After the signature verification is passed, the server side receives the device information of the B uploaded by the A, obtains the user information corresponding to the device through the 1:1 binding relationship between the device and the user recorded by the server, records the user information as that the user B punches the card once, and records the user B attendance card successfully when the user B punches the card twice continuously.
The user A can punch a card normally, the position information and the equipment information of the user A are proved to pass the server authentication, and the equipment of the user A can be used as one of the punching attendance points in the attendance system. And the B equipment information is bound with the B user identity information when the previous user identity authentication is successful, namely the B equipment information can be regarded as the B user identity information. The two-dimensional code of B changes once every 3 seconds, and needs A to scan two-dimensional codes of B continuously and send information to the server for verification and pass, has prevented that user B sends the cheating possibility of a very far away A scanning and punching card through the network after the screen two-dimensional code is intercepted. The B two-dimensional code contains signature information unique to the B device, and the possibility that a user breaks away from the device to forge a card punching request is prevented.
In the above embodiment, when the signal of the mobile device of the user is not good or no signal exists, the mobile device cannot be positioned or cannot send the position information to the server, and offline information transmission can be performed to complete attendance checking and card punching.
In an embodiment, as shown in fig. 4, an attendance checking method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
s402: and receiving login information sent by the terminal, and inquiring scheduling information corresponding to the login information, wherein the scheduling information at least comprises attendance reference point coordinates.
Specifically, the login information may include a user name and a password, the user name and the password are information for logging in the attendance software, and the user name may be a user account name. Preferably, the login information further includes device information, which is information for uniquely identifying the terminal.
The scheduling information is the scheduling of the user corresponding to the login information, and the scheduling information may be acquired by the server from a scheduling server, and the scheduling information at least includes the coordinate of the attendance reference point, and optionally, the attendance information further includes the information such as the maximum distance value allowed by the attendance reference point, the attendance time interval, and the like.
Specifically, after receiving the login information, the server acquires a user name corresponding to the login information, then queries corresponding scheduling information based on the user name, and sends the queried scheduling information to the terminal. In addition, optionally, after receiving the login information sent by the terminal, the method further includes: extracting device information from the login information; and judging whether the equipment information is consistent with the equipment information stored in advance, and if not, sending login failure information to the terminal. Before the server inquires the scheduling information, the server can also acquire the equipment information corresponding to the user name, if the equipment information sent by the equipment information checking terminal is the same, login is successful, and corresponding scheduling information is continuously inquired, otherwise, login is failed, namely, the server firstly checks the equipment information, and if the equipment information is not matched, the server prompts that the original equipment is required to be unbound to log in new equipment, so that the problem of card punching instead of attendance checking between users can be prevented by a mode of binding the user identity information (the user name and the password) and the equipment information.
In addition, optionally, after receiving the login information sent by the terminal, the method further includes: judging whether a terminal corresponding to the login information logs in for the first time or not; when the terminal logs in for the first time, key information is generated and sent to the terminal, and the key information is used for encrypting the current positioning information when the terminal sends the current positioning information. That is, for a user who successfully logs in for the first time, that is, a server does not inquire a corresponding user name, the login information is stored, that is, the user name and the device information are bound, and a random character string is generated and used as a secret key corresponding to the device information for subsequent device card-punching signature; and the user opens the software for the second time, the software automatically logs in, the server firstly verifies the equipment information, and if the equipment information is not matched, the server prompts that the new equipment can be logged in only if the original equipment needs to be unbundled.
It should be noted that, if the user identity authentication is passed, the server returns the user scheduling information for checking the local attendance of the user mobile device. The scheduling information comprises attendance reference point coordinates, an attendance reference point allowed maximum distance value, an attendance time interval and other information. Therefore, the shift information is verified on the mobile equipment local machine, so that the pressure of invalid attendance requests on the server can be reduced, and the processing capacity of the server is improved.
S404: and sending the scheduling information to the terminal, wherein the scheduling information is used for verifying the current positioning information according to the coordinates of the attendance reference point after the terminal acquires the current positioning information, acquiring the current position of the terminal which has successfully checked after the verification fails, and correcting the current positioning information according to the current position.
Specifically, the terminal obtains the longitude and latitude of the current position of the user through a GPS positioning technology. And performing linear distance calculation on the longitude and latitude of the position and the coordinate longitude and latitude of the attendance reference point, and if the longitude and latitude of the position and the coordinate longitude and latitude of the attendance reference point are smaller than the maximum distance value allowed for attendance, checking the local position to pass. Optionally, after checking the current positioning information according to the attendance reference point coordinates, the method further includes: and if the verification is successful, uploading the current positioning information to the server. That is to say, after the local verification of the user passes, the user clicks the attendance checking and card punching button to report the position information of the user. And the server records the data to the database when receiving the information, and waits for the subsequent second verification (the non-instant verification can improve the processing capacity of the server during the time period of punching the card by the user).
And when the GPS positioning information of the user has a large error with the actual position, and the user cannot check and punch the card through checking, entering position information correction logic to correct the GPS position of the user to the actual position.
Specifically, the correction mode may be to acquire the current position of the terminal that succeeds in attendance, so that the current positioning information is corrected according to the current position, that is, the terminal of the user that succeeds in attendance is used as the fixed attendance machine. Optionally, in practice, the condition for acquiring the terminal with successful attendance may be set to be that the terminal is close to the terminal with successful attendance, for example, the current position of the terminal with successful attendance can be acquired only in a code scanning manner. Thus, the current positioning information is corrected through the current position.
S406: and receiving the corrected current positioning information sent by the terminal, and finishing attendance checking according to the corrected current positioning information.
Specifically, the user clicks an attendance card punching button and reports the user position information. And the server records the data to the database when receiving the information, and waits for the subsequent second verification (the non-instant verification can improve the processing capacity of the server during the time period of punching the card by the user).
According to the attendance checking method, when the current positioning information is failed to be checked, the position of the terminal is corrected according to the current position of the terminal which has successfully checked, a new attendance checking position is obtained, additional WiFi equipment does not need to be introduced for auxiliary positioning, cost cannot be increased for enterprises, in addition, the position is corrected, the attendance checking accuracy is guaranteed, the pressure of a server side can be reduced by placing the current positioning information to be checked on the terminal side, and therefore the attendance checking efficiency is improved.
In one embodiment, the generation mode of the attendance reference point coordinates includes: acquiring current positioning information uploaded in a preset time period; and carrying out equalization processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
Specifically, after the attendance system operates for a period of time, the server records the coordinates of attendance check-in points of many users, and recalculates a new more reasonable attendance reference point by analyzing the distribution of the coordinate points which are successfully checked-in, thereby being beneficial to improving the user experience and improving the actual success rate of checking-in of the users.
The preset time period can be set by a user according to needs, namely, the periodical updating of the coordinates of the attendance reference point is realized.
The equalization processing may be to calculate an average value of the current positioning information in a preset time period, and use a position corresponding to the average value as a new attendance reference point coordinate.
Specifically, referring to fig. 5, fig. 5 is a scene diagram of coordinate updating of an attendance reference point in an embodiment, in which a point O is a current attendance reference point, and a point a, a point B, a point C, a point D, a point E, a point F, a point G, a point H, a point I, a point J, and the like are coordinate point sets for checking on the attendance of a user. The point O is the central point of A-J, namely the actual card punching positions of the user are all around the point O for punching, and the actual card punching positions are offset from the original reference point O. The origin O is the reference point, point K in fig. 5 cannot be punched because point K is outside the range of point O. After the attendance reference point is corrected to be a red o point, the point K is located in the range of the new reference point o, and the point K in the figure 5 can be used for successfully punching the card.
The o (x, y) point coordinate calculation method:
x = (Ax + Bx + ... + Jx) / N
y = (Ay + By + ... + Jy) / N
x is longitude, y is latitude, and N is the number of points participating in the calculation, i.e., the number of current positioning information in the preset time period.
In the embodiment, the position of the attendance reference coordinate point is corrected by using a data analysis technology, so that the attendance reference coordinate point is more reasonable.
In one embodiment, after completing attendance checking according to the corrected current positioning information, the method further includes: acquiring a risk early warning model, wherein the risk early warning model is generated according to preset attendance checking rules; inquiring attendance information corresponding to the current positioning information, and inputting the attendance information into a risk early warning model to judge whether the attendance information has risks; and when the attendance information has risks, outputting an attendance risk prompt.
Specifically, after receiving the current positioning information, the server may analyze the current positioning information, where the analysis dimensions include time to punch a card, place to punch a card, a mode to punch a card (punching a card by the device itself, punching a card after position correction, offline data transfer punching a card), and a device to punch a card, that is, the server needs to first obtain attendance information corresponding to the current positioning information, and input the attendance information to the risk early warning model together through the associated positioning information to determine whether the attendance information is at risk. Specifically, the attendance rules may include: in an actual attendance card punching scene, a certain user cannot punch cards at the same time of punching cards continuously for several days, the user cannot punch cards continuously for several days on the same longitude and latitude coordinates, position correction or offline card punching should not be frequently performed in a short period, the user should not continuously punch cards for several days, and a certain device completes self card punching and also completes offline card punching actions for assisting other devices for many times in several minutes every day (batch cheating actions may exist). Therefore, the card punching information of the user can be analyzed through the preset risk early warning model to identify whether attendance cheating behaviors exist or not, and early warning is carried out. The risk model thresholds include: the continuous 2-day card punching time is the same (accurate to the second)/the continuous 2-day card punching coordinate is the same in longitude and latitude/the position correction card punching mode within 5 days exceeds 3 times/the offline data transmission card punching mode within 5 days exceeds 3 times/the device punches the card per se within 2 days and assists other devices to punch the card offline for more than 3 times within 5 minutes. Wherein the specific values can be adjusted as desired. The suspected cheating attendance behavior can be analyzed and found through the risk early warning, and then manual examination and intervention can be carried out by personnel.
In the embodiment, the data analysis technology is used for automatically examining the user attendance data and carrying out early warning and reminding on cheating behaviors of the user attendance.
It should be understood that although the steps in the flowcharts of fig. 2 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 6, there is provided an attendance checking apparatus applied to a terminal, including: a first sending module 100, a positioning module 200, a verification module 300, a correction module 400 and a second sending module 500, wherein:
the first sending module 100 is configured to send login information to a server, and receive scheduling information corresponding to the login information and returned by the server, where the scheduling information at least includes attendance reference point coordinates;
a positioning module 200, configured to obtain current positioning information;
the checking module 300 is used for checking the current positioning information according to the attendance reference point coordinates;
the correction module 400 is configured to, if the verification fails, obtain a current position of the terminal that has successfully checked in, and correct the current positioning information according to the current position;
and a second sending module 500, configured to send the corrected current positioning information to a server for attendance.
In one embodiment, the second sending module 500 is further configured to upload the current positioning information to the server if the verification is successful.
In one embodiment, the modification module 400 includes:
the first scanning unit is used for scanning a graphic code generated by the terminal which has successfully checked in, and the graphic code is generated according to the position information of the terminal which has successfully checked in;
and the analyzing unit is used for analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
In one embodiment, the attendance checking apparatus further includes:
the third receiving module is used for receiving the key information returned by the server, wherein the key information is generated by the terminal logging in the server for the first time;
the second sending module 500 is further configured to encrypt the corrected current positioning information by using a secret key, and send the encrypted current positioning information to the server for attendance checking.
In one embodiment, the attendance checking apparatus further includes:
the state acquisition module is used for acquiring the current network state;
a third sending module 700, configured to generate signature information according to the current location information when the current network state is an offline state, where the signature information is used for sending the current location information to the server after being scanned by the terminal in the online state.
In one embodiment, after the signature information is scanned by the terminal in the online state, the terminal in the online state performs time check, and after the time check is passed, the current positioning information is sent to the server.
In one embodiment, as shown in fig. 7, there is provided an attendance checking apparatus applied to a server, including: a first receiving module 600, a third sending module 700, and a second receiving module 800, wherein:
the first receiving module 600 is configured to receive login information sent by a terminal, and query scheduling information corresponding to the login information, where the scheduling information at least includes attendance reference point coordinates;
a third sending module 700, configured to send scheduling information to the terminal, where the scheduling information is used for the terminal to check the current positioning information according to the coordinates of the attendance reference point after acquiring the current positioning information, and after the checking fails, acquire the current position of the terminal that has succeeded in attendance, and correct the current positioning information according to the current position;
and a second receiving module 800, configured to receive the modified current positioning information sent by the terminal, and complete attendance checking according to the modified current positioning information.
In one embodiment, the attendance checking apparatus further includes:
the query module is used for acquiring the current positioning information uploaded in a preset time period;
and the balancing module is used for carrying out balancing processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
In one embodiment, the attendance checking apparatus further includes:
the model acquisition module is used for acquiring a risk early warning model, and the risk early warning model is generated according to preset attendance rules;
the risk judgment module is used for inquiring attendance information corresponding to the current positioning information and inputting the attendance information into the risk early warning model to judge whether the attendance information has risks;
and the risk prompt module is used for outputting attendance risk prompt when the attendance information has risks.
In one embodiment, the attendance checking apparatus further includes:
the login judging module is used for judging whether the terminal corresponding to the login information logs in for the first time or not;
and the fourth sending module is used for generating key information when the terminal logs in for the first time and sending the key information to the terminal, wherein the key information is used for encrypting the current positioning information when the terminal sends the current positioning information.
In one embodiment, the attendance checking apparatus further includes:
the device information extraction module is used for extracting the device information from the login information;
and the login prompting module is used for judging whether the equipment information is consistent with the pre-stored equipment information or not, and if not, sending login failure information to the terminal.
For specific limitations of the attendance checking device, reference may be made to the limitations of the attendance checking method above, and details are not described here. All modules in the attendance checking device can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing attendance data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an attendance checking method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an attendance checking method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configurations shown in fig. 8 and 9 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: sending login information to a server, and receiving scheduling information corresponding to the login information and returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates; acquiring current positioning information; checking the current positioning information according to the coordinates of the attendance reference points; if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position; and sending the corrected current positioning information to a server for attendance checking.
In one embodiment, after the processor, when executing the computer program, checks the current positioning information according to the attendance reference point coordinates, the method further includes: and if the verification is successful, uploading the current positioning information to the server.
In one embodiment, the obtaining of the current location of the terminal with attendance successful, which is realized when the processor executes the computer program, includes: scanning a graphic code generated by a terminal which has successfully checked in, wherein the graphic code is generated according to the position information of the terminal which has successfully checked in; and analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
In one embodiment, the sending login information to the server when the processor executes the computer program further comprises: receiving key information returned by the server, wherein the key information is generated by the terminal logging in the server for the first time; the sending of the corrected current positioning information to the server for attendance checking, which is realized when the processor executes the computer program, comprises: and encrypting the corrected current positioning information through the secret key, and sending the encrypted current positioning information to a server for attendance checking.
In one embodiment, before sending the corrected current positioning information to the server for attendance checking and/or before uploading the current positioning information to the server, the processor implemented when executing the computer program includes: acquiring a current network state; and when the current network state is an offline state, generating signature information according to the current positioning information, wherein the signature information is used for sending the current positioning information to the server after the terminal in the online state scans.
In one embodiment, the signature information involved in the execution of the computer program by the processor is scanned by the terminal in the presence state, and is used for time check by the terminal in the presence state, and after the time check is passed, the current positioning information is sent to the server.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving login information sent by a terminal, and inquiring scheduling information corresponding to the login information, wherein the scheduling information at least comprises attendance reference point coordinates; the scheduling information is sent to the terminal, and is used for the terminal to check the current positioning information according to the coordinates of the attendance reference point after acquiring the current positioning information, acquire the current position of the terminal which has successfully checked the attendance after the checking fails, and correct the current positioning information according to the current position; and receiving the corrected current positioning information sent by the terminal, and finishing attendance checking according to the corrected current positioning information.
In one embodiment, the manner of generating the attendance reference point coordinates implemented when the processor executes the computer program includes: acquiring current positioning information uploaded in a preset time period; and carrying out equalization processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
In one embodiment, after the attendance is completed according to the corrected current positioning information when the processor executes the computer program, the method further includes: acquiring a risk early warning model, wherein the risk early warning model is generated according to preset attendance checking rules; inquiring attendance information corresponding to the current positioning information, and inputting the attendance information into a risk early warning model to judge whether the attendance information has risks; and when the attendance information has risks, outputting an attendance risk prompt.
In one embodiment, the processor, implemented when executing the computer program, further comprises, after receiving the login information sent by the terminal: judging whether a terminal corresponding to the login information logs in for the first time or not; when the terminal logs in for the first time, key information is generated and sent to the terminal, and the key information is used for encrypting the current positioning information when the terminal sends the current positioning information.
In one embodiment, the processor, implemented when executing the computer program, further comprises, after receiving the login information sent by the terminal: extracting device information from the login information; and judging whether the equipment information is consistent with the equipment information stored in advance, and if not, sending login failure information to the terminal.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: sending login information to a server, and receiving scheduling information corresponding to the login information and returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates; acquiring current positioning information; checking the current positioning information according to the coordinates of the attendance reference points; if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position; and sending the corrected current positioning information to a server for attendance checking.
In one embodiment, after the computer program is executed by the processor to verify the current positioning information according to the attendance reference point coordinates, the method further includes: and if the verification is successful, uploading the current positioning information to the server.
In one embodiment, the computer program, when executed by the processor, implements obtaining a current location of a terminal for which attendance has been successful, includes: scanning a graphic code generated by a terminal which has successfully checked in, wherein the graphic code is generated according to the position information of the terminal which has successfully checked in; and analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
In one embodiment, the computer program, when executed by the processor, further comprises, after sending the login information to the server: receiving key information returned by the server, wherein the key information is generated by the terminal logging in the server for the first time; when the computer program is executed by the processor, the method for sending the corrected current positioning information to the server for attendance checking comprises the following steps: and encrypting the corrected current positioning information through the secret key, and sending the encrypted current positioning information to a server for attendance checking.
In one embodiment, the computer program when executed by the processor, before sending the modified current positioning information to the server for attendance checking and/or before uploading the current positioning information to the server, comprises: acquiring a current network state; and when the current network state is an offline state, generating signature information according to the current positioning information, wherein the signature information is used for sending the current positioning information to the server after the terminal in the online state scans.
In one embodiment, the signature information involved in the execution of the computer program by the processor is scanned by the terminal in presence for time check by the terminal in presence, and the current location information is sent to the server after the time check is passed.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving login information sent by a terminal, and inquiring scheduling information corresponding to the login information, wherein the scheduling information at least comprises attendance reference point coordinates; the scheduling information is sent to the terminal, and is used for the terminal to check the current positioning information according to the coordinates of the attendance reference point after acquiring the current positioning information, acquire the current position of the terminal which has successfully checked the attendance after the checking fails, and correct the current positioning information according to the current position; and receiving the corrected current positioning information sent by the terminal, and finishing attendance checking according to the corrected current positioning information.
In one embodiment, the generation of the attendance reference point coordinates when the computer program is executed by the processor comprises: acquiring current positioning information uploaded in a preset time period; and carrying out equalization processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
In one embodiment, after completing attendance according to the corrected current positioning information, the computer program, when executed by the processor, further includes: acquiring a risk early warning model, wherein the risk early warning model is generated according to preset attendance checking rules; inquiring attendance information corresponding to the current positioning information, and inputting the attendance information into a risk early warning model to judge whether the attendance information has risks; and when the attendance information has risks, outputting an attendance risk prompt.
In one embodiment, the computer program, when executed by the processor, further implements the following steps after receiving the login information sent by the terminal: judging whether a terminal corresponding to the login information logs in for the first time or not; when the terminal logs in for the first time, key information is generated and sent to the terminal, and the key information is used for encrypting the current positioning information when the terminal sends the current positioning information.
In one embodiment, the computer program, when executed by the processor, further implements the following steps after receiving the login information sent by the terminal: extracting device information from the login information; and judging whether the equipment information is consistent with the equipment information stored in advance, and if not, sending login failure information to the terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. An attendance checking method is applied to a terminal, and comprises the following steps:
sending login information to a server, and receiving scheduling information corresponding to the login information and returned by the server, wherein the scheduling information at least comprises attendance reference point coordinates;
acquiring current positioning information;
checking the current positioning information according to the attendance reference point coordinates;
if the verification fails, acquiring the current position of the terminal with successful attendance checking, and correcting the current positioning information according to the current position;
and sending the corrected current positioning information to a server for attendance checking.
2. The method of claim 1, wherein after the checking the current positioning information according to the attendance reference point coordinates, further comprising:
and if the verification is successful, uploading the current positioning information to a server.
3. The method of claim 1, wherein the obtaining the current location of the terminal with attendance checking success comprises:
scanning a graphic code generated by a terminal which has successfully checked in, wherein the graphic code is generated according to the position information of the terminal which has successfully checked in;
and analyzing the graphic code to obtain the current position of the terminal with successful attendance checking.
4. The method according to claim 2 or 3, wherein after sending the login information to the server, further comprising:
receiving secret key information returned by a server, wherein the secret key information is generated when a terminal logs in the server for the first time;
the sending the corrected current positioning information to a server for attendance checking comprises:
and encrypting the corrected current positioning information through the secret key, and sending the encrypted current positioning information to a server for attendance checking.
5. The method of claim 4, wherein before sending the modified current positioning information to a server for attendance checking and/or before uploading the current positioning information to the server, the method comprises:
acquiring a current network state;
and when the current network state is an offline state, generating signature information according to the current positioning information, wherein the signature information is used for sending the current positioning information to a server after being scanned by a terminal in an online state.
6. The method according to claim 4, wherein the signature information is scanned by a terminal in an online state for time check by the terminal in the online state, and the current location information is sent to a server after the time check is passed.
7. An attendance checking method is applied to a server, and comprises the following steps:
receiving login information sent by a terminal, and inquiring scheduling information corresponding to the login information, wherein the scheduling information at least comprises attendance reference point coordinates;
the scheduling information is sent to the terminal, and is used for verifying the current positioning information according to the attendance reference point coordinates after the terminal acquires the current positioning information, acquiring the current position of the terminal which has succeeded in attendance after the verification fails, and correcting the current positioning information according to the current position;
and receiving the corrected current positioning information sent by the terminal, and finishing attendance checking according to the corrected current positioning information.
8. The method of claim 7, wherein the generation of the attendance reference point coordinates comprises:
acquiring current positioning information uploaded in a preset time period;
and carrying out equalization processing on the position in the current positioning information to obtain the coordinate of the attendance reference point.
9. The method of claim 7, wherein after completing attendance checking according to the corrected current positioning information, further comprising:
acquiring a risk early warning model, wherein the risk early warning model is generated according to preset attendance checking rules;
inquiring attendance information corresponding to the current positioning information, and inputting the attendance information into the risk early warning model to judge whether the attendance information has risks;
and when the attendance information has risks, outputting an attendance risk prompt.
10. The method of claim 7, wherein after receiving the login information sent by the terminal, further comprising:
judging whether the terminal corresponding to the login information logs in for the first time or not;
and when the terminal logs in for the first time, generating key information and sending the key information to the terminal, wherein the key information is used for encrypting the current positioning information when the terminal sends the current positioning information.
11. The method of claim 7, wherein after receiving the login information sent by the terminal, further comprising:
extracting device information from the login information;
and judging whether the equipment information is consistent with the equipment information stored in advance, and if not, sending login failure information to the terminal.
12. An attendance device, characterized in that, is applied to the terminal, the device includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending login information to a server and receiving scheduling information which is returned by the server and corresponds to the login information, and the scheduling information at least comprises attendance reference point coordinates;
the positioning module is used for acquiring current positioning information;
the checking module is used for checking the current positioning information according to the attendance reference point coordinates;
the correction module is used for acquiring the current position of the terminal with successful attendance checking if the verification fails, and correcting the current positioning information according to the current position;
and the second sending module is used for sending the corrected current positioning information to a server for attendance checking.
13. An attendance device, applied to a server, the device comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving login information sent by a terminal and inquiring scheduling information corresponding to the login information, and the scheduling information at least comprises attendance reference point coordinates;
the third sending module is used for sending the scheduling information to the terminal, and the scheduling information is used for verifying the current positioning information according to the attendance reference point coordinates after the terminal acquires the current positioning information, acquiring the current position of the terminal which has successfully checked the attendance after the verification fails, and correcting the current positioning information according to the current position;
and the second receiving module is used for receiving the corrected current positioning information sent by the terminal and finishing attendance checking according to the corrected current positioning information.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6 or 7 to 11.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6 or 7 to 11.
CN202110772757.2A 2021-07-08 2021-07-08 Attendance checking method and device, computer equipment and storage medium Active CN113240824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110772757.2A CN113240824B (en) 2021-07-08 2021-07-08 Attendance checking method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110772757.2A CN113240824B (en) 2021-07-08 2021-07-08 Attendance checking method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113240824A true CN113240824A (en) 2021-08-10
CN113240824B CN113240824B (en) 2021-10-29

Family

ID=77141348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110772757.2A Active CN113240824B (en) 2021-07-08 2021-07-08 Attendance checking method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113240824B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103091662A (en) * 2013-01-09 2013-05-08 上海大唐移动通信设备有限公司 Positioning method and drive test terminal and hand-held terminal
CN104144381A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Mobile phone positioning application method based on CRM
CN104380043A (en) * 2013-04-10 2015-02-25 萨里大学 Information determination in a portable electronic device carried by a user
DE202015003351U1 (en) * 2015-05-06 2015-06-11 Rasant Personal-Leasing Gmbh Smartphone application for mobile time recording
CN104864888A (en) * 2015-05-12 2015-08-26 北京红旗胜利科技发展有限责任公司 Navigation device position modification method and device
CN105678855A (en) * 2016-02-04 2016-06-15 上海易睦网络科技有限公司 Method and device capable of conducting attendance checking through gesture actions and being suitable for intelligent mobile terminal
CN108346191A (en) * 2018-02-06 2018-07-31 中国平安人寿保险股份有限公司 Work attendance method, device, computer equipment and storage medium
CN108597049A (en) * 2018-04-18 2018-09-28 邓丽萍 Attendance system for company, method and the attendance record terminal that can switch between various modes
CN109584392A (en) * 2017-09-28 2019-04-05 钉钉控股(开曼)有限公司 Information output method, device and electronic equipment
CN112348455A (en) * 2020-09-29 2021-02-09 山东浪潮通软信息科技有限公司 Warehouse area attendance checking method, device and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103091662A (en) * 2013-01-09 2013-05-08 上海大唐移动通信设备有限公司 Positioning method and drive test terminal and hand-held terminal
CN104380043A (en) * 2013-04-10 2015-02-25 萨里大学 Information determination in a portable electronic device carried by a user
CN104144381A (en) * 2013-05-07 2014-11-12 苏州精易会信息技术有限公司 Mobile phone positioning application method based on CRM
DE202015003351U1 (en) * 2015-05-06 2015-06-11 Rasant Personal-Leasing Gmbh Smartphone application for mobile time recording
CN104864888A (en) * 2015-05-12 2015-08-26 北京红旗胜利科技发展有限责任公司 Navigation device position modification method and device
CN105678855A (en) * 2016-02-04 2016-06-15 上海易睦网络科技有限公司 Method and device capable of conducting attendance checking through gesture actions and being suitable for intelligent mobile terminal
CN109584392A (en) * 2017-09-28 2019-04-05 钉钉控股(开曼)有限公司 Information output method, device and electronic equipment
CN108346191A (en) * 2018-02-06 2018-07-31 中国平安人寿保险股份有限公司 Work attendance method, device, computer equipment and storage medium
CN108597049A (en) * 2018-04-18 2018-09-28 邓丽萍 Attendance system for company, method and the attendance record terminal that can switch between various modes
CN112348455A (en) * 2020-09-29 2021-02-09 山东浪潮通软信息科技有限公司 Warehouse area attendance checking method, device and medium

Also Published As

Publication number Publication date
CN113240824B (en) 2021-10-29

Similar Documents

Publication Publication Date Title
US10826910B2 (en) Frictionless multi-factor authentication system and method
AU2017316312B2 (en) Remote usage of locally stored biometric authentication data
US10917498B2 (en) Service processing method and apparatus, and service server
CN108346191B (en) Attendance checking method and device, computer equipment and storage medium
US20170093851A1 (en) Biometric authentication system
CN104504767A (en) Check-in information verification method and system
US20120159598A1 (en) User authentication system and method using personal identification number
CN106716471A (en) Systems and methods for identifying mobile devices
JP2017526995A (en) Dual channel identification and authentication
US20150324943A1 (en) System and method for remote presence monitoring
US20150046497A1 (en) System and method for tracking items at an event
CN107948274B (en) Transaction authentication method and system, server, and storage medium
US9735966B2 (en) Secure transmission
JP2007334581A (en) Individual authentication method and system
CN113240824B (en) Attendance checking method and device, computer equipment and storage medium
WO2021226471A1 (en) Computer-implemented user identity verification method
CN111400684A (en) Electronic certificate information acquisition method, system, device, equipment and storage medium
CN112233749B (en) Health detection report acquisition method and device, computer equipment and storage medium
CN106888207A (en) Authentication method, system and SIM
EP3145117A1 (en) A method and a system for shared digital signing of a document
US20220318355A1 (en) Remote usage of locally stored biometric authentication data
US11451538B2 (en) Methods and systems of authenticating of personal communications
US11526887B2 (en) Transaction authentication using multiple biometric inputs
CN108966154B (en) Method and device for sending short messages in group, computer equipment and storage medium
CN110706116A (en) Data processing method, device, equipment and storage medium based on LBS technology

Legal Events

Date Code Title Description
PB01 Publication
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