CN108810821B - Attendance tracking method, device, terminal, server and storage medium - Google Patents

Attendance tracking method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN108810821B
CN108810821B CN201810547605.0A CN201810547605A CN108810821B CN 108810821 B CN108810821 B CN 108810821B CN 201810547605 A CN201810547605 A CN 201810547605A CN 108810821 B CN108810821 B CN 108810821B
Authority
CN
China
Prior art keywords
attendance
user terminal
checking
wifi
area
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
CN201810547605.0A
Other languages
Chinese (zh)
Other versions
CN108810821A (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.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information Technology 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 Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN201810547605.0A priority Critical patent/CN108810821B/en
Publication of CN108810821A publication Critical patent/CN108810821A/en
Application granted granted Critical
Publication of CN108810821B publication Critical patent/CN108810821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The invention discloses a method, a device, a terminal, a server and a storage medium for attendance tracking. The method comprises the following steps: when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and WIFI equipment in an attendance checking area; if the connection state is not connected, determining whether the attendance checking user terminal is reconnected with the WIFI equipment within a preset time from the current moment; if not, acquiring the positioning information of the attendance checking user terminal; and sending the positioning information to a server to request the server to determine whether spacious work exists in a single attendance time period or not according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period. According to the invention, only the connection state and the positioning information at least two time points are needed to be acquired, so that the data volume is greatly reduced, the manual judgment mode is not relied on, and the attendance checking efficiency is improved.

Description

Attendance tracking method, device, terminal, server and storage medium
Technical Field
The embodiment of the invention relates to an attendance technology, in particular to an attendance tracking method, an attendance tracking device, a terminal, a server and a storage medium.
Background
With the development of intelligent mobile terminals, more and more functions are integrated on the mobile terminals, and the use of the mobile terminals for attendance checking also becomes an important function of the current mobile terminals. In addition to recording attendance and check-in/check-out of work, the attendance system also needs to judge whether the user normally signs in or check-out in the same day.
In the prior art, when judging whether a user has a spacious work behavior on the same day, the moving track of the user mobile terminal in a certain time period or the whole day is generally directly recorded. The method comprises the steps that a user triggers an eagle eye track grabbing function after the user logs on a duty card, the client sends position information of the position of a mobile terminal to an eagle eye server once every 10 minutes, the eagle eye is closed after the user logs on the duty card, and background personnel judge whether the user is in suspicion of spaciousness or not by analyzing the movement track of the mobile terminal in the time when the user logs on the duty card.
In the prior art, the position of the mobile terminal needs to be acquired in real time, the recorded data volume is large, whether the behavior track of the user is normal or not needs to be judged by observing the behavior track of the user drawn by the eagle eye background in a manual mode, and the efficiency of the manual judgment mode is low.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, a terminal, a server, and a storage medium for attendance tracking, so as to reduce data volume and improve attendance efficiency.
In a first aspect, an embodiment of the present invention provides an attendance tracking method, where the method includes:
when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and WIFI equipment in an attendance checking area;
if the connection state is not connected, determining whether the attendance checking user terminal is reconnected with the WIFI equipment within a preset time from the current moment;
if not, acquiring the positioning information of the attendance checking user terminal, wherein the positioning information comprises a terminal identifier of the attendance checking user terminal;
and sending the positioning information to a server to request the server to determine whether spacious work exists in a single attendance time period or not according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
In a second aspect, an embodiment of the present invention further provides an attendance tracking method, where the method includes:
receiving positioning information of the attendance user terminal within a preset time after an attendance time point, wherein the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal;
and determining whether the corresponding attendance user has spacious work behavior in a single attendance time period according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
In a third aspect, an embodiment of the present invention further provides an attendance tracking apparatus, where the apparatus includes:
the connection state acquisition module is used for acquiring the connection state of the attendance user terminal and the WIFI equipment in the attendance area when the attendance time point is reached;
the reconnection determination module is used for determining whether the attendance user terminal is reconnected with the WIFI equipment within a preset time from the current moment if the connection state is not connected;
the positioning information acquisition module is used for acquiring the positioning information of the attendance user terminal if the attendance user terminal is not reconnected with the WIFI equipment, and the positioning information comprises a terminal identifier of the attendance user terminal;
and the positioning information sending module is used for sending the positioning information to a server so as to request the server to determine whether spacious work exists in a single attendance time period of a corresponding attendance user according to the positioning information of the attendance user terminal at least two attendance time points in the single attendance time period.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for attendance tracking, where the apparatus includes:
the positioning information receiving module is used for receiving positioning information of the attendance user terminal within a preset time after an attendance time point, the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal;
and the spaciousness behavior determining module is used for determining whether spaciousness behaviors exist in the single attendance time period of the corresponding attendance users according to the positioning information of the attendance user terminals at least at two attendance time points in the single time period.
In a fifth aspect, an embodiment of the present invention further provides an attendance checking user terminal, where the terminal includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the method for attendance tracking according to any embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the method for attendance tracking according to any embodiment of the present invention.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for attendance tracking according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the connection state of the attendance user terminal and the WIFI equipment in the attendance area at the attendance time point is obtained, if the connection state is unconnected, whether the attendance user terminal is reconnected with the WIFI equipment or not is determined within the preset time from the current moment, if the connection state is not reconnected, the positioning information of the attendance user terminal is further obtained and sent to the server, the server determines whether the attendance user has spacious work behavior or not according to the positioning information of at least two attendance time points in a single attendance time period, only the connection state and the positioning information of at least two time points are needed to be obtained, the data volume is greatly reduced, the mode of manual judgment is not relied, and the attendance efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for attendance tracking according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for attendance tracking according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for attendance tracking according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for attendance tracking according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a method for attendance tracking according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an attendance tracking apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an attendance tracking apparatus according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of an attendance checking user terminal according to an eighth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to a ninth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of an attendance tracking method according to an embodiment of the present invention, where the method is applicable to an attendance tracking situation of an attendance user carrying an attendance user terminal, and the method may be executed by an attendance tracking device, and the device may be implemented by software and/or hardware, and may be generally integrated in the attendance user terminal. The method specifically comprises the following steps:
and step 110, when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and WIFI equipment in the attendance checking area.
The attendance checking user terminal can be a terminal carried by an attendance checking user such as a user mobile phone or a specific attendance checking terminal, and an attendance checking user authorization server is required to acquire positioning information of the attendance checking user terminal. The attendance time points are used for carrying out attendance tracking on attendance users corresponding to the attendance user terminals, the server or the attendance user terminals determine the attendance time points with a set number in advance, and the attendance user terminals determine whether positioning information needs to be acquired or not according to the connection state at the attendance time points and send the positioning information to the server, so that the attendance tracking is carried out on the attendance users. The attendance checking area is a preset area for attendance checking, is specifically represented by a latitude and longitude coordinate range, can use the name of an enterprise or a company as an attendance checking area identifier, is a specific area determined according to the specific position of the enterprise or the company, such as an area within a preset distance (such as 500 meters) around the position of the enterprise or the company, and can also include an area where an attendance user goes on business. The attendance checking user terminal prestores WIFI identification sets of all WIFI (Wireless Fidelity ) devices in an attendance checking area, wherein the WIFI identification sets are sets of device identifications of all the WIFI devices in the attendance checking area, the device identifications of the WIFI devices comprise WIFI names (namely SSIDs) and BSSIDs (Basic Service devices), the BSSIDs refer to MAC (Media Access Control or Media Access Control) addresses of stations, BSSs (Basic Service sets) are special Ad-hoc LAN applications, a Wireless network at least comprises an AP (Wireless Access Point) and a plurality of Wireless work stations, the AP is connected to a wired network, the BSS is called a BSS, a group of computers Set the same BSS name, namely, the BSS can be a group, and each BSS is endowed with an ID.
When an attendance user terminal prestores a WIFI identification set of WIFI equipment in an attendance area, when an attendance time point is reached regularly, an equipment identification of the WIFI equipment currently connected with the attendance user terminal can be obtained, the obtained equipment identification of the WIFI equipment is compared with equipment identifications in the WIFI identification set of the WIFI equipment in the attendance area, and if the obtained equipment identification of the WIFI equipment exists in the WIFI identification set of the WIFI equipment in the attendance area, the connection state of the attendance user terminal and the WIFI equipment in the attendance area is determined to be connected; if the acquired equipment identifier of the WIFI equipment does not exist in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is unconnected; under the condition that the WIFI switch is turned on, if the WIFI signal cannot be received, the attendance user terminal cannot be connected with any WIFI equipment, the connection state of the attendance user terminal and the WIFI equipment in the attendance area is determined to be unconnected at the moment, and under the condition that the WIFI switch is not turned on, the connection state of the attendance user terminal and the WIFI equipment in the attendance area is also unconnected.
And 120, if the connection state is not connected, determining whether the attendance user terminal is reconnected with the WIFI equipment within a preset time from the current moment.
When the attendance time is up, if the connection state of the attendance user terminal and the WIFI equipment in the attendance area is unconnected, in order to avoid the disconnection caused by instability of the WIFI signal, the timing of the preset time is started at the moment, and whether the attendance user terminal is reconnected with the WIFI equipment in the attendance area within the preset time started at the current moment is detected. The preset time may be set as needed, and may be, for example, 5 minutes.
Step 130, if the attendance user terminal is not reconnected with the WIFI device, acquiring positioning information of the attendance user terminal, where the positioning information includes a terminal identifier of the attendance user terminal.
The location information of the attendance user terminal is longitude and latitude coordinates where the attendance user terminal is located. The terminal Identifier of the attendance user terminal includes at least one of a terminal name, a MAC address, an IMEI (International Mobile Equipment Identity), an MEID (Mobile Equipment Identity), a Mobile phone number, and the like. The server prestores WIFI identification sets of all WIFI (Wireless Fidelity) devices in an attendance area and terminal identification sets of corresponding attendance user terminals, and can preserve a plurality of attendance areas corresponding to a plurality of enterprises or companies, WIFI identification sets of WIFI devices corresponding to the attendance areas and terminal identification sets of the attendance user terminals. The terminal identification set is a set of terminal identifications of all attendance user terminals in the attendance checking area. The server also needs to store the corresponding relationship between the attendance user terminal and the corresponding attendance user, so that the terminal identification of the attendance user terminal can be obtained to uniquely determine the attendance user using the attendance user terminal. When a new attendance user joins the attendance area, the terminal identification of the attendance user terminal of the attendance user is added into the terminal identification set, and when the attendance user leaves the enterprise or the company corresponding to the attendance area, the terminal identification corresponding to the attendance user terminal held by the attendance user is deleted from the terminal identification set.
Within the preset time starting at the current moment, when the attendance user terminal is not reconnected with the WIFI device, the location information can be obtained based on GPS (Global Positioning System) location, and when the attendance user terminal is a mobile phone, the location information can also be obtained based on base station location. The base station positioning is to determine the position of the mobile phone by measuring and calculating the distance of the mobile phone by the base station, the accuracy of the base station positioning depends on the distribution of the base station and the size of the coverage area to a great extent, and the error is large. However, the indoor GPS signal is poor, and when the mobile phone is indoors, the positioning information can be obtained by means of base station positioning, so that the positioning information of the attendance checking user terminal can be obtained by combining GPS and base station positioning. The positioning information comprises a terminal identification of the attendance user terminal, so that the server can conveniently determine the attendance user terminal corresponding to the positioning information.
Within a preset time from the current moment, if the attendance user terminal is reconnected with the WIFI equipment, the attendance user corresponding to the attendance user terminal can be determined to normally attendance at an attendance time point; if the attendance user terminal is not reconnected with the WIFI equipment, the positioning information of the attendance user terminal is further acquired, and whether the attendance user normally attendance at the attendance time point is judged by combining the positioning information.
Step 140, sending the positioning information to a server to request the server to determine whether a corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal in at least two attendance time points in the single attendance time period.
The single attendance checking time period can be determined according to needs, for example, may be one day, half day, one week, and the like, and is preferably one day. A plurality of attendance time points are arranged in a single attendance time period.
The positioning information is acquired when the attendance user terminal is not connected with the WIFI equipment in the attendance area at the attendance time point and is not reconnected within the preset time. After acquiring the positioning information of the attendance checking user terminal, the attendance checking user terminal actively sends the positioning information of the current attendance checking time point to the server based on an HTTP (HyperText Transfer Protocol), namely, the attendance checking user terminal firstly establishes a TCP (Transmission Control Protocol) connection with the server based on the HTTP, namely, establishes a connection through three-way handshake, then sends the positioning information to the server through the established TCP connection, and after receiving the positioning information, the server returns a response message to the attendance checking user terminal to indicate that the positioning information is received, and then closes the TCP connection. And the server determines whether spaciousness exists in the single attendance time period or not according to the positioning information of at least two attendance time points in the single attendance time period.
According to the technical scheme, the connection state of the WIFI equipment in the attendance area is acquired at regular time through the attendance user terminal when the attendance user terminal reaches the attendance time point, if the connection state is unconnected, whether the attendance user terminal is reconnected with the WIFI equipment or not is determined within the preset time starting at the current moment, if the connection state is not reconnected, the positioning information of the attendance user terminal is further acquired and sent to the server, whether the attendance user has spacious work behavior or not is determined by the server according to the positioning information of at least two attendance time points in a single attendance time period, only the connection state and the positioning information of at least two time points are required to be acquired, the data volume is greatly reduced, the mode of manual judgment is not relied any more, and the attendance efficiency is improved.
On the basis of the above embodiment, when arriving at the attendance time point, before obtaining the connection state of the attendance user terminal and the WIFI device in the attendance area, optionally include:
and acquiring the attendance information of the attendance user, sending the attendance information to the server to request the server to match the attendance information with preset attendance information, and determining whether the attendance user successfully signs in.
The attendance information can include the attendance user characteristics such as fingerprint information or face information, can also include the positioning information of the attendance user terminal and/or the equipment identification of the WIFI equipment connected with the attendance user terminal, and can also be the combination of the attendance user characteristics such as fingerprint information or face information and the equipment identification of the positioning information or the connected WIFI equipment. When the check-in information is the attendance user characteristics, presetting corresponding attendance user characteristics reserved for the attendance user by the check-in information; when the attendance information is positioning information of the attendance user terminal, presetting the attendance information as a whole attendance area; when the sign-in information is the equipment identification of the WIFI equipment connected with the attendance user terminal, presetting the WIFI identification set of the WIFI equipment in the attendance area as the sign-in information.
After the attendance information of the attendance user is acquired, the attendance information is sent to a server based on an HTTP protocol, TCP connection with the server is established firstly, namely, connection is established through three-way handshake, then the attendance information is sent to the server through the established TCP connection, after the server receives the attendance information, the server is matched with preset attendance information to determine whether the attendance user successfully signs or not, and then the attendance result of whether the attendance user successfully signs or not is returned to an attendance user terminal, so that the attendance user can know the attendance result conveniently, and the attendance user terminal can acquire the connection state and the positioning information at the attendance time point when the attendance user successfully signs, so that the attendance tracking of the attendance user who successfully signs in is facilitated.
On the basis of the above embodiment, after acquiring the check-in information of the attendance checking user and sending the check-in information to the server, the method may further include:
after the attendance checking user successfully signs in, receiving a connection reminding instruction sent by the server when the attendance checking user terminal is determined not to be connected with the WIFI equipment in the attendance checking area, wherein the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance checking area; and reminding the attendance checking user to connect the WIFI equipment in the attendance checking area according to the connection reminding instruction.
After the attendance user successfully signs in, the server can acquire an equipment connection list of the WIFI equipment in the attendance area, judge whether the equipment connection list comprises a terminal identification of an attendance user terminal corresponding to the attendance user, when the equipment connection list does not comprise the terminal identification of the attendance user terminal corresponding to the attendance user, determine that the attendance user terminal is not connected with the WIFI equipment in the attendance area, send a connection reminding instruction to the attendance user terminal, after the attendance user terminal receives the connection reminding instruction, remind the attendance user to connect the WIFI equipment in the attendance area, and display the WIFI name of the WIFI equipment in the attendance area according to the WIFI identification set, so that the attendance user can conveniently connect the WIFI equipment in the attendance area, thereby being convenient for subsequently acquiring a correct connection state and improving the correctness of attendance tracking. When the server sends the connection reminding instruction to the attendance user terminal, the connection reminding instruction can be used as part or all of response information of the attendance user terminal.
Example two
Fig. 2 is a flowchart of an attendance tracking method according to a second embodiment of the present invention, which is optimized based on the second embodiment, and specifically, before acquiring a connection state between an attendance user terminal and a WIFI device in an attendance area when an attendance time point is reached, the method further includes: randomly generating a set number of attendance time points in a single attendance time period; or after the attendance checking user successfully signs in, receiving the attendance checking time points of the set number in the single attendance checking time period sent by the server. The method specifically comprises the following steps:
step 210, randomly generating a set number of attendance time points in a single attendance time period; or after the attendance checking user successfully signs in, receiving the attendance checking time points of the set number in the single attendance checking time period sent by the server.
The attendance checking time points can be randomly generated by the attendance checking user terminals, so that the attendance checking time points of all the attendance checking user terminals in the same attendance checking area are different, and the possibility of attendance checking cheating can be reduced. The attendance time points can also be randomly generated by the server, the server can randomly generate a set of attendance time points with a set number for all attendance users in an attendance area, or group all attendance users in an attendance area, respectively randomly generate the attendance time points with a specific number for each group, and after the attendance users successfully sign in, determine the attendance time points with the set number, which are sent to the corresponding groups of the attendance user terminals by the group in which the attendance users are located. The set number may be determined as needed, and may be 10, for example.
When the server generates the attendance time points with the set number in a single attendance time period, the server sends the generated attendance time points with the set number in the single attendance time period to the attendance user terminal corresponding to the attendance user after detecting that the attendance user successfully signs in, the attendance user terminal carries out timing, acquires the connection state between the server and the WIFI equipment in the attendance area when reaching the attendance time point, and judges whether the positioning information needs to be acquired.
And step 220, when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area.
Step 230, if the connection state is not connected, determining whether the attendance user terminal is reconnected with the WIFI device within a preset time from the current moment.
Step 240, if the attendance user terminal is not reconnected with the WIFI device, acquiring positioning information of the attendance user terminal, where the positioning information includes a terminal identifier of the attendance user terminal.
Step 250, sending the positioning information to a server to request the server to determine whether the corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal in at least two attendance time points in the single attendance time period.
In the technical scheme of this embodiment, on the basis of the above embodiment, by randomly generating the attendance time points of the set number in the single attendance time period or receiving the attendance time points of the set number in the randomly generated single attendance time period sent by the server, the randomness of the attendance time points is increased, and the possibility of cheating by the attendance user is reduced.
EXAMPLE III
Fig. 3 is a flowchart of an attendance tracking method according to a third embodiment of the present invention, where the method is applicable to an attendance tracking situation of an attendance user carrying an attendance user terminal, and the method may be executed by an attendance tracking device, and the device may be implemented by software and/or hardware, and may be generally integrated in a server. The method specifically comprises the following steps:
step 310, receiving positioning information of the attendance user terminal within a preset time after an attendance time point, wherein the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identifier of the attendance user terminal.
The attendance checking user terminal can be a terminal carried by an attendance checking user such as a user mobile phone or a specific attendance checking terminal, and an attendance checking user authorization server is required to acquire positioning information of the attendance checking user terminal. The attendance time points are used for carrying out attendance tracking on attendance users corresponding to the attendance user terminals, the attendance time points with the set number are predetermined by the server or the attendance user terminals, timing is carried out by the attendance user terminals, the connection state of the WIFI equipment in the attendance area is acquired when the attendance time points are reached, the positioning information of the attendance user terminals is acquired when the connection state is unconnected and is not reconnected within the preset time, and the positioning information is sent to the server, so that the attendance tracking is carried out on the attendance users. The positioning information of the attendance user terminal, namely the longitude and latitude coordinates of the attendance user terminal, can be acquired by the attendance user terminal based on GPS positioning, and can also be acquired based on base station positioning when the attendance user terminal is a mobile phone. The base station positioning is to determine the position of the mobile phone by measuring and calculating the distance of the mobile phone by the base station, the accuracy of the base station positioning depends on the distribution of the base station and the size of the coverage area to a great extent, and the error is large. However, the indoor GPS signal is poor, positioning information can be obtained by means of base station positioning when the mobile phone is indoors, and positioning information of the attendance user terminal can be obtained by combining GPS and base station positioning. The positioning information comprises a terminal identification of the attendance user terminal, so that the server can conveniently determine the attendance user terminal corresponding to the positioning information.
The attendance checking area is a preset area for attendance checking, is specifically represented by a latitude and longitude coordinate range, can use the name of an enterprise or a company as an attendance checking area identifier, is a specific area determined according to the specific position of the enterprise or the company, such as an area within a preset distance (such as 500 meters) around the position of the enterprise or the company, and can also include an area where an attendance user goes on business. The server pre-stores WIFI identification sets of all WIFI devices in the attendance area and terminal identification sets of corresponding attendance user terminals, and can store a plurality of attendance areas corresponding to a plurality of enterprises or companies and WIFI identification sets of WIFI devices corresponding to the attendance areas and terminal identification sets of attendance user terminals. The WIFI identifier Set is a Set of device identifiers of all WIFI devices in an attendance checking area, the device identifiers of the WIFI devices comprise WIFI names (namely SSIDs) and BSSIDs (Basic Service sets), the BSSIDs refer to MAC addresses of stations, BSSs (Basic Service sets) are applications of special Ad-hoc LANs, one wireless network at least comprises one AP (access point) connected to a wired network and a plurality of wireless work stations, the configuration is called a BSS, a group of computers Set the same BSS name, namely, the group of computers can form a group by themselves, and each BSS is endowed with one BSSID. The terminal identification set is a set of terminal identifications of all attendance user terminals in the attendance area, and the terminal identifications of the attendance user terminals comprise at least one of terminal names, MAC addresses, IMEI (international mobile equipment identity), MEID (mobile equipment identity), mobile phone numbers and the like. The server also needs to store the corresponding relationship between the attendance user terminal and the corresponding attendance user, so that the terminal identification of the attendance user terminal can be obtained to uniquely determine the attendance user using the attendance user terminal. When a new attendance user joins the attendance area, the terminal identifier of the attendance user terminal of the attendance user is added into the terminal identifier set corresponding to the attendance area, and when the attendance user leaves the enterprise or the company corresponding to the attendance area, the terminal identifier corresponding to the attendance user terminal held by the attendance user is deleted from the terminal identifier set.
When the positioning information sent by the attendance user terminal is not received within the preset time after a certain attendance time point, the connection state of the attendance user terminal and the WIFI equipment in the attendance area is determined to be connected within the preset time of the attendance time point, and therefore the corresponding attendance user is determined to normally attendance at the attendance time point. And if the positioning information sent by the attendance user terminal is received within the preset time after the attendance time point, the connection state of the attendance user terminal and the WIFI equipment in the attendance area is determined to be unconnected at the attendance time point and not reconnected within the preset time starting at the current moment, and whether the attendance user normally attendance at present needs to be further judged according to the positioning information. Positioning information of the attendance user terminal in a preset time after an attendance time point, which is sent by the attendance user terminal, is received based on an HTTP (Hypertext Transfer Protocol), namely, a TCP connection with the attendance user terminal is firstly established, namely, the connection is established through three-way handshake, then the positioning information sent by the attendance user terminal is received through the established TCP connection, after the positioning information is received, response information is returned to the attendance user terminal to indicate that the positioning information is received, and then the TCP connection is closed.
And 320, determining whether the corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
The single attendance checking time period can be determined according to needs, for example, may be one day, half day, one week, and the like, and is preferably one day. A plurality of attendance time points are arranged in a single attendance time period.
The positioning information is obtained and sent when the attendance user terminal is not connected with the WIFI equipment in the attendance area at the attendance time point and is not reconnected within the preset time. Counting whether the positioning information of at least two attendance time points in a single attendance time period is in an attendance area or not, and if the positioning information of at least two attendance time points is not in the attendance area for a preset number of times, determining that an attendance user has spacious work in the single attendance time period; and if the positioning information of at least two attendance time points is not in the attendance area for less than the preset times, determining that no work absenteeism exists in a single attendance time period. If the positioning information is received only once or not within a single attendance time period, it can be determined that no spacious work action exists for the attendance user. When the positioning information is received only once, the fact that only one attendance user terminal at one attendance time point in a single attendance time period is unconnected with the WIFI equipment in the attendance area within the preset time is shown, and when the positioning information is not received, the fact that the attendance user terminal is connected with the WIFI equipment in the attendance area within the preset time of each attendance time point in the single attendance time period is shown.
According to the technical scheme, the positioning information sent by the attendance user terminal when the attendance user terminal is not connected with the WIFI equipment in the attendance area within the preset time of the attendance time point is received, whether spacious work behavior exists in a single attendance time period of the attendance user is determined according to the positioning information of the attendance user terminal at least at two attendance time points within the single attendance time period, so that only the connection state and the positioning information of the at least two time points need to be acquired, the data volume is greatly reduced, the manual judgment mode is not relied on any more, and the attendance efficiency is improved.
Example four
Fig. 4 is a flowchart of an attendance tracking method according to a fourth embodiment of the present invention, which is optimized based on the foregoing embodiments, and before receiving positioning information of the attendance user terminal sent by the attendance user terminal within a preset time after an attendance time point, the method further includes: randomly generating a set number of attendance time points in the single attendance time period; and after detecting that the attendance checking user successfully signs in, sending the attendance checking time points of the set number in the single attendance checking time period to the attendance checking user terminal. The method specifically comprises the following steps:
and step 410, randomly generating a set number of attendance time points in the single attendance time period.
And randomly generating a set number of attendance time points in a single attendance time period corresponding to the attendance area, and carrying out attendance tracking on the attendance users. The attendance checking method comprises the steps that the attendance checking time points are generated randomly in each attendance checking time period, so that the randomness of the attendance checking time points is increased, the time interval between every two attendance checking time points is not fixed, and cheating of attendance checking users can be avoided.
And step 420, after detecting that the attendance user successfully signs in, sending the attendance time points of the set number in the single attendance time period to the attendance user terminal so as to indicate that the attendance user terminal acquires the connection state with the WIFI equipment in the attendance area when reaching the attendance time points, and reporting the positioning information of the attendance user terminal when the connection state is unconnected and the connection is not reconnected within the preset time.
The attendance checking user can check in according to the reserved fingerprint information or face information and other attendance checking user characteristics, and can also check in based on the positioning information of the attendance checking user terminal and/or WIFI equipment connected with the attendance checking user terminal.
After detecting that the attendance user successfully signs in, the server sends the generated attendance time points of the set number in a single attendance time period to the attendance user terminal, so that the attendance user terminal can perform timing and acquire the connection state with the WIFI equipment in the attendance area when reaching the attendance time points, and when the connection state is unconnected, whether the connection is reconnected within the preset time is determined, and when the connection state is unconnected, the positioning information of the attendance user terminal is further acquired. The set number may be determined as needed, and may be 10, for example.
Optionally, randomly generating the attendance time points of the set number in the single attendance time period includes:
grouping all attendance checking users in the attendance checking area;
randomly generating a set number of attendance time points in the single attendance time period for each group;
correspondingly, after detecting that the attendance user successfully signs in, sending the attendance time points of the set number in the single attendance time period to the attendance user terminal, including:
and after detecting that the attendance checking user successfully signs in, sending the attendance checking time points of the set number in the single attendance checking time period corresponding to the group in which the attendance checking user is located to the attendance checking user terminal.
All attendance users in the attendance checking area are grouped, and the attendance checking time points with the set number in a single attendance checking time period are randomly generated for each group, so that the attendance checking time points of the attendance checking users in different groups are different, the randomness of the attendance checking time points is increased, and the possibility of cheating of the attendance checking users is further reduced. When the attendance users corresponding to the attendance user terminals are grouped, the attendance users can be randomly divided into groups of a preset number, when the attendance user terminals are user mobile phones, the attendance user terminals can be further grouped based on mobile phone numbers, for example, when the attendance user terminals are 3 groups, remainders can be obtained by dividing the mantissas of the mobile phone numbers of the attendance users by 3, the remainders which are the same as the remainders are classified into one group, and the groups where the corresponding attendance users are located are obtained.
Step 430, receiving positioning information of the attendance user terminal within a preset time after an attendance time point, wherein the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal.
And step 440, determining whether the corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
According to the technical scheme, on the basis of the embodiment, the set number of attendance time points in the single attendance time period are randomly generated, and after the attendance user is detected to successfully sign in, the set number of attendance time points in the single attendance time period are sent to the attendance user terminal, so that the randomness of the attendance time points is increased, and the possibility of cheating of the attendance user is reduced.
On the basis of the foregoing embodiment, after detecting that the attendance user successfully signs in, before sending the attendance time points of the set number within the single attendance time period to the attendance user terminal, the method may further include:
receiving attendance information of the attendance user sent by the attendance user terminal;
and matching the attendance information with preset attendance information of the attendance user, and if the matching is successful, determining that the attendance user successfully signs in.
The attendance information can include the attendance user characteristics such as fingerprint information or face information, can also include the positioning information of the attendance user terminal and/or the equipment identification of the WIFI equipment connected with the attendance user terminal, and can also be the combination of the attendance user characteristics such as fingerprint information or face information and the equipment identification of the positioning information or the connected WIFI equipment. When the check-in information is the attendance user characteristics, presetting corresponding attendance user characteristics reserved for the attendance user by the check-in information; when the attendance information is positioning information of the attendance user terminal, presetting the attendance information as a whole attendance area; when the sign-in information is the equipment identification of the WIFI equipment connected with the attendance user terminal, presetting the WIFI identification set of the WIFI equipment in the attendance area as the sign-in information.
The attendance checking method comprises the steps that attendance checking information of an attendance checking user sent by an attendance checking user terminal is received based on an HTTP protocol, TCP connection with the attendance checking user terminal is established firstly, namely, connection is established through three-way handshake, then the attendance checking information is received through the established TCP connection, after the attendance checking information is received by a server, the server is matched with preset attendance checking information to determine whether the attendance checking user successfully signs in, the attendance checking result whether the attendance checking user successfully signs in is returned to the attendance checking user terminal as response information, the attendance checking user can know the attendance checking result conveniently, the attendance checking user terminal can acquire the connection state and the positioning information at an attendance checking time point when the attendance checking user successfully signs in, and attendance checking tracking of the attendance checking user who successfully signs in is realized.
On the basis of the above embodiment, after determining that the attendance checking user successfully checks in, the method may further include:
acquiring an equipment connection list of WIFI equipment in the attendance checking area;
according to the equipment connection list, when the attendance user terminal is determined not to be connected with the WIFI equipment in the attendance area, a connection reminding instruction is sent to the attendance user terminal so as to instruct the attendance user terminal to remind an attendance user to connect with the WIFI equipment in the attendance area, and the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance area.
In the attendance checking area, the attendance checking user terminal can be connected with any WIFI equipment in the WIFI identification set, namely, the attendance checking user terminal can be switched between a plurality of wireless networks of a plurality of WIFI equipment in the corresponding WIFI identification set.
After detecting that an attendance user successfully signs in, acquiring an equipment connection list of WIFI equipment in an attendance area, judging whether the equipment connection list of each WIFI equipment comprises a terminal identification of an attendance user terminal corresponding to the attendance user, when the terminal identification of the attendance user terminal is not included in all the equipment connection lists, determining that the attendance user terminal is not connected with the WIFI equipment in the attendance area, and sending a connection reminding instruction to the attendance user terminal so as to indicate the attendance user terminal to be connected with the WIFI equipment in the attendance area, so that a correct connection state can be conveniently acquired subsequently, the correctness of attendance tracking is improved, and the correctness of judgment of spacious work behavior is ensured. When the server sends the connection reminding instruction to the attendance user terminal, the connection reminding instruction can be used as part or all of response information of the attendance user terminal.
EXAMPLE five
Fig. 5 is a flowchart of an attendance tracking method according to a fifth embodiment of the present invention, which is optimized based on the foregoing embodiment, and specifically, the method determines whether an absenteeism action exists in a single attendance time period for a corresponding attendance user according to positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period, further includes: according to the positioning information of the attendance user terminal at a single attendance time point, determining attendance reference information of the attendance user at the attendance time point; and determining whether the attendance checking user has spacious work in a single attendance checking time period or not according to attendance checking reference information of the attendance checking user at least two attendance checking time points in the single attendance checking time period. The method specifically comprises the following steps:
step 510, receiving positioning information, which is sent by an attendance user terminal and is within a preset time after an attendance time point, of the attendance user terminal, wherein the positioning information is acquired when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information includes a terminal identifier of the attendance user terminal.
Step 520, according to the positioning information of the attendance user terminal at a single attendance time point, determining attendance reference information of the attendance user at the attendance time point.
The attendance reference information at the attendance time point comprises on duty or off duty, and can also be understood as the attendance state of the attendance user at the attendance time point.
The attendance reference information of the attendance user at the attendance time point is determined according to the positioning information of the attendance user terminal at the single attendance time point, so that the current attendance state of the attendance user can be conveniently recorded, and whether the attendance user has spacious work in a single attendance time period or not can be conveniently and subsequently determined.
Optionally, determining attendance reference information of the attendance user at a single attendance time point according to the positioning information of the attendance user terminal at the single attendance time point includes:
when the positioning information of the attendance user terminal at a single attendance time point is in the attendance area, determining that attendance reference information of the attendance user at the attendance time point is on duty;
when the positioning information of the attendance user terminal at a single attendance time point is outside the attendance area, the attendance reference information of the attendance user at the attendance time point is determined to be off duty.
The attendance state of the attendance user is preliminarily judged according to the connection state of the attendance user terminal and the WIFI equipment in the attendance area within the preset time of the attendance time point, and when the connection state within the preset time is not connected, the positioning information is acquired, the attendance state of the attendance user at the attendance time point is further judged by the server in combination with the positioning information, and the misjudgment caused by judgment only by using the connection state when the WIFI signal is weak is avoided.
Step 530, determining whether the attendance user has spacious work in a single attendance time period according to attendance reference information of the attendance user at least two attendance time points in the single attendance time period.
Whether the attendance checking user has spacious work behavior in a single attendance checking time period or not can be determined by counting attendance checking reference information of the attendance checking user at least two attendance checking time points in the single attendance checking time period.
Optionally, determining whether the attendance user has spacious work in a single attendance time period according to attendance reference information of the attendance user at least two attendance time points in the single attendance time period includes:
and if the off-duty times of the attendance checking user at least two attendance checking time points in a single attendance checking time period reach the set times, determining that the attendance checking user has work absence behavior in the single attendance checking time period.
In the set number of attendance time points in a single attendance time period, if attendance reference information under at least two attendance time points is counted when a certain attendance time point is reached, and the off-duty frequency reaches the set number, it can be determined that the attendance user has spacious work in the single attendance time period, so that the subsequent attendance time points can not be counted any more, and the counted data volume is reduced. Of course, the attendance reference information of the attendance user at all attendance time points can be counted, and whether the off-duty times reach the set times or not is determined, so that whether the attendance user has spacious work in a single attendance time period or not is determined.
According to the technical scheme of the embodiment, on the basis of the embodiment, the attendance reference information of the attendance user at a single attendance time point is determined according to the positioning information of the attendance user terminal at the single attendance time point, so that the attendance state of the attendance user at the single attendance time point is conveniently recorded, and whether spacious work behavior exists in a single attendance time period or not is determined according to the attendance reference information of the attendance user at least two attendance time points, so that whether spacious work behavior exists in the attendance user can be determined more accurately and rapidly.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an attendance tracking apparatus according to a sixth embodiment of the present invention, which is applicable to an attendance tracking situation of an attendance user carrying an attendance user terminal, and the apparatus can execute the attendance tracking method according to the sixth embodiment of the present invention, and the apparatus can be implemented by software and/or hardware, and can be generally integrated in the attendance user terminal. As shown in fig. 6, the attendance tracking apparatus according to this embodiment includes: a connection status acquisition module 610, a reconnection determination module 620, a positioning information acquisition module 630, and a positioning information transmission module 640.
The connection state acquisition module 610 is configured to acquire a connection state between the attendance user terminal and the WIFI device in the attendance area when the attendance time point is reached;
a reconnection determination module 620, configured to determine, if the connection state is unconnected, whether the attendance user terminal is reconnected with the WIFI device within a preset time from a current time;
a positioning information obtaining module 630, configured to obtain positioning information of the attendance user terminal if the attendance user terminal is not reconnected with the WIFI device, where the positioning information includes a terminal identifier of the attendance user terminal;
the positioning information sending module 640 is configured to send the positioning information to a server to request the server to determine whether a corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
Optionally, the apparatus further comprises:
the attendance time point generating module is used for randomly generating attendance time points with a set number in a single attendance time period; or
And the attendance time point receiving module is used for receiving the attendance time points of the set number in the single attendance time period sent by the server after the attendance user successfully signs in.
Optionally, the apparatus further comprises:
and the attendance information sending module is used for acquiring the attendance information of the attendance user and sending the attendance information to the server so as to request the server to match the attendance information with preset attendance information and determine whether the attendance user successfully signs in.
Optionally, the apparatus further comprises:
the connection reminding instruction receiving module is used for receiving a connection reminding instruction sent by the server when the attendance checking user terminal is determined not to be connected with the WIFI equipment in the attendance checking area after the attendance checking user successfully signs in, and the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance checking area;
and the connection reminding module is used for reminding the attendance checking user to connect the WIFI equipment in the attendance checking area according to the connection reminding instruction.
The attendance tracking device can execute the attendance tracking method provided by the first embodiment or the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that is not described in detail in this embodiment, reference may be made to the method for attendance tracking provided in the first embodiment or the second embodiment of the present invention.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of an attendance tracking apparatus according to a seventh embodiment of the present invention, which is applicable to an attendance tracking situation of an attendance user carrying an attendance user terminal, and which is capable of executing the attendance tracking method according to the seventh embodiment of the present invention, and the apparatus may be implemented by software and/or hardware, and may be generally integrated in a server. As shown in fig. 7, the attendance tracking apparatus according to this embodiment includes: a positioning information receiving module 710 and an absenteeism determination module 720.
The positioning information receiving module 710 is configured to receive positioning information of the attendance user terminal within a preset time after an attendance time point, where the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information includes a terminal identifier of the attendance user terminal;
and the spaciousness behavior determining module 720 is configured to determine whether spaciousness behavior exists in the single attendance time period for the corresponding attendance user according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
Optionally, the apparatus further comprises:
the attendance time point generating module is used for randomly generating a set number of attendance time points in the single attendance time period;
the attendance time point sending module is used for sending the attendance time points with the set number in the single attendance time period to the attendance user terminal after detecting that the attendance user successfully signs in, so as to indicate that the attendance user terminal obtains the connection state with the WIFI equipment in the attendance area when reaching the attendance time point, and reports the positioning information of the attendance user terminal when the connection state is unconnected and the connection is not reconnected in the preset time.
Optionally, the attendance time point generating module includes:
the grouping unit is used for grouping all attendance checking users in the attendance checking area;
the attendance time point generating unit is used for randomly generating a set number of attendance time points in the single attendance time period aiming at each group;
correspondingly, the attendance time point sending module is specifically configured to:
and after detecting that the attendance users successfully sign in, returning the attendance time points of the set number in the single attendance time period corresponding to the group in which the attendance users belong to the attendance user terminal.
Optionally, the apparatus further comprises:
the attendance information receiving module is used for receiving attendance information of the attendance user sent by the attendance user terminal;
and the attendance information matching module is used for matching the attendance information with the preset attendance information of the attendance user, and if the matching is successful, the attendance user is determined to be successfully signed.
Optionally, the apparatus further comprises:
the equipment connection list acquisition module is used for acquiring an equipment connection list of the WIFI equipment in the attendance checking area;
and the connection reminding instruction sending module is used for sending a connection reminding instruction to the attendance user terminal according to the equipment connection list when the attendance user terminal is determined not to be connected with the WIFI equipment in the attendance area so as to indicate the attendance user terminal to remind an attendance user to connect with the WIFI equipment in the attendance area, and the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance area.
Optionally, the absenteeism behavior determining module includes:
the attendance reference information determining unit is used for determining attendance reference information of the attendance user at a single attendance time point according to the positioning information of the attendance user terminal at the single attendance time point;
and the spaciousness behavior determining unit is used for determining whether the attendance user has spaciousness behavior in a single attendance time period according to the attendance reference information of the attendance user at least at two attendance time points in the single attendance time period.
Optionally, the attendance reference information determining unit is specifically configured to:
when the positioning information of the attendance user terminal at a single attendance time point is in the attendance area, determining that attendance reference information of the attendance user at the attendance time point is on duty;
when the positioning information of the attendance user terminal at a single attendance time point is outside the attendance area, the attendance reference information of the attendance user at the attendance time point is determined to be off duty.
Optionally, the absenteeism behavior determining unit is specifically configured to:
and if the off-duty times of the attendance checking user at least two attendance checking time points in a single attendance checking time period reach the set times, determining that the attendance checking user has work absence behavior in the single attendance checking time period.
The attendance tracking device can execute the attendance tracking method provided by any one of the third to fifth embodiments of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the technology that is not described in detail in this embodiment, reference may be made to the method for attendance tracking provided in any one of the third to fifth embodiments of the present invention.
Example eight
Fig. 8 is a schematic structural diagram of an attendance checking user terminal according to an eighth embodiment of the present invention, as shown in fig. 8, the attendance checking user terminal includes a processor 810, a memory 820, an input device 830, and an output device 840; the number of the processors 810 in the terminal may be one or more, and one processor 810 is taken as an example in fig. 8; the processor 810, the memory 820, the input device 830 and the output device 840 in the terminal may be connected by a bus or other means, for example in fig. 8.
The memory 820 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for attendance tracking in the embodiment of the present invention (for example, the connection status acquiring module 610, the reconnection determining module 620, the positioning information acquiring module 630, and the positioning information sending module 640 in the attendance tracking apparatus). The processor 810 executes software programs, instructions and modules stored in the memory 820 to execute various functional applications and data processing of the terminal, that is, to implement the above-mentioned attendance tracking method, for example, the attendance tracking method provided in the first embodiment or the second embodiment.
The memory 820 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 820 may further include memory located remotely from the processor 810, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. The output device 840 may include a display device such as a display screen.
Example nine
Fig. 9 is a schematic structural diagram of a server according to a ninth embodiment of the present invention, as shown in fig. 9, the server includes a processor 910, a memory 920, an input device 930, and an output device 940; the number of the processors 910 in the server may be one or more, and one processor 910 is taken as an example in fig. 9; the processor 910, the memory 920, the input device 930, and the output device 940 in the server may be connected by a bus or other means, and fig. 9 illustrates an example of connection by a bus.
The memory 920 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for attendance tracking according to the embodiment of the present invention (for example, the positioning information receiving module 710 and the work-related behavior determining module 720 in the attendance tracking apparatus). The processor 910 executes software programs, instructions, and modules stored in the memory 920 to execute various functional applications and data processing of the server, that is, to implement the above-mentioned attendance tracking method, for example, the attendance tracking method provided in any one of the third to fifth embodiments.
The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 920 may further include memory located remotely from the processor 910, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the server. The output device 940 may include a display device such as a display screen.
Example ten
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for attendance tracking, the method comprising:
when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and WIFI equipment in an attendance checking area;
if the connection state is not connected, determining whether the attendance checking user terminal is reconnected with the WIFI equipment within a preset time from the current moment;
if not, acquiring the positioning information of the attendance checking user terminal, wherein the positioning information comprises a terminal identifier of the attendance checking user terminal;
and sending the positioning information to a server to request the server to determine whether spacious work exists in a single attendance time period or not according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
Alternatively, the computer-executable instructions, when executed by a computer processor, are further for performing a method of attendance tracking, the method comprising:
receiving positioning information of the attendance user terminal within a preset time after an attendance time point, wherein the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal;
and determining whether the corresponding attendance user has spacious work behavior in a single attendance time period according to the positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period.
Of course, the storage medium provided by the embodiments of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the attendance tracking method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the attendance tracking apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A method of attendance tracking, the method comprising:
when the attendance checking time point is reached, acquiring the connection state of the attendance checking user terminal and WIFI equipment in an attendance checking area;
if the connection state is not connected, determining whether the attendance checking user terminal is reconnected with the WIFI equipment within a preset time from the current moment;
if not, acquiring the positioning information of the attendance checking user terminal, wherein the positioning information comprises a terminal identifier of the attendance checking user terminal; the positioning information is acquired when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time;
sending the positioning information of the current attendance time point to a server to request the server to determine whether spacious work exists in a single attendance time period or not according to the positioning information of the attendance user terminal in at least two attendance time points in the single attendance time period;
wherein, when arriving attendance time point, acquire attendance user terminal and attendance regional interior WIFI equipment's connected state, include:
when the attendance checking time point is reached, acquiring the equipment identifier of the WIFI equipment currently connected with the attendance checking user terminal, comparing the acquired equipment identifier of the WIFI equipment with the equipment identifiers in the WIFI identifier set of the WIFI equipment in the attendance checking area, and if the acquired equipment identifier of the WIFI equipment exists in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is connected; and if the acquired equipment identifier of the WIFI equipment does not exist in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is unconnected.
2. The method of claim 1, further comprising, before acquiring the connection status of the attendance user terminal and the WIFI device in the attendance area when the attendance time point is reached:
randomly generating a set number of attendance time points in a single attendance time period; or
And after the attendance checking user successfully signs in, receiving the attendance checking time points of the set number in the single attendance checking time period sent by the server.
3. The method of claim 1, further comprising, before acquiring the connection status of the attendance user terminal and the WIFI device in the attendance area when the attendance time point is reached:
and acquiring the attendance information of the attendance user, sending the attendance information to the server to request the server to match the attendance information with preset attendance information, and determining whether the attendance user successfully signs in.
4. The method of claim 3, wherein after obtaining the check-in information of the attendance checking user and sending the check-in information to the server, the method further comprises:
after the attendance checking user successfully signs in, receiving a connection reminding instruction sent by the server when the attendance checking user terminal is determined not to be connected with the WIFI equipment in the attendance checking area, wherein the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance checking area;
and reminding the attendance checking user to connect the WIFI equipment in the attendance checking area according to the connection reminding instruction.
5. A method of attendance tracking, the method comprising:
receiving positioning information of the attendance user terminal within a preset time after an attendance time point, wherein the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal;
determining whether a corresponding attendance user has spacious work behavior in a single attendance time period according to positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period;
wherein, before obtaining the positioning information, the method further comprises: determining whether the connection state between the attendance user terminal and the WIFI equipment in the attendance area at the attendance time point is unconnected or not:
the determining whether the connection state between the attendance user terminal and the WIFI equipment in the attendance area at the attendance time point is unconnected includes:
when the attendance checking time point is reached, acquiring the equipment identifier of the WIFI equipment currently connected with the attendance checking user terminal, comparing the acquired equipment identifier of the WIFI equipment with the equipment identifiers in the WIFI identifier set of the WIFI equipment in the attendance checking area, and if the acquired equipment identifier of the WIFI equipment exists in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is connected; and if the acquired equipment identifier of the WIFI equipment does not exist in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is unconnected.
6. The method of claim 5, wherein before receiving the positioning information sent by the attendance user terminal within a preset time after the attendance time point, the method further comprises:
randomly generating a set number of attendance time points in the single attendance time period;
after the attendance user is detected to successfully sign in, sending the attendance time points of the set number in the single attendance time period to the attendance user terminal so as to indicate that the attendance user terminal acquires the connection state with the WIFI equipment in the attendance area when reaching the attendance time points, and reporting the positioning information of the attendance user terminal when the connection state is unconnected and the connection is not reconnected within the preset time.
7. The method of claim 6, wherein randomly generating a set number of attendance time points within the single attendance time period comprises:
grouping all attendance checking users in the attendance checking area;
randomly generating a set number of attendance time points in the single attendance time period for each group;
correspondingly, after detecting that the attendance user successfully signs in, sending the attendance time points of the set number in the single attendance time period to the attendance user terminal, including:
and after detecting that the attendance checking user successfully signs in, sending the attendance checking time points of the set number in the single attendance checking time period corresponding to the group in which the attendance checking user is located to the attendance checking user terminal.
8. The method of claim 6, wherein, prior to sending the set number of attendance time points within the single attendance time period to the attendance user terminal after detecting that the attendance user successfully checked in, further comprising:
receiving attendance information of the attendance user sent by the attendance user terminal;
and matching the attendance information with preset attendance information of the attendance user, and if the matching is successful, determining that the attendance user successfully signs in.
9. The method of claim 8, further comprising, after determining that the attendance user successfully checked in:
acquiring an equipment connection list of WIFI equipment in the attendance checking area;
according to the equipment connection list, when the attendance user terminal is determined not to be connected with the WIFI equipment in the attendance area, a connection reminding instruction is sent to the attendance user terminal so as to instruct the attendance user terminal to remind an attendance user to connect with the WIFI equipment in the attendance area, and the connection reminding instruction comprises a WIFI identification set corresponding to the WIFI equipment in the attendance area.
10. The method of claim 5, wherein determining whether spacious work exists in a corresponding attendance user in a single attendance time period according to positioning information of the attendance user terminal at least at two attendance time points in the single attendance time period comprises:
according to the positioning information of the attendance user terminal at a single attendance time point, determining attendance reference information of the attendance user at the attendance time point;
and determining whether the attendance checking user has spacious work in a single attendance checking time period or not according to attendance checking reference information of the attendance checking user at least two attendance checking time points in the single attendance checking time period.
11. The method of claim 10, wherein determining the attendance reference information of the attendance user at a single attendance time point according to the positioning information of the attendance user terminal at the attendance time point comprises:
when the positioning information of the attendance user terminal at a single attendance time point is in the attendance area, determining that attendance reference information of the attendance user at the attendance time point is on duty;
when the positioning information of the attendance user terminal at a single attendance time point is outside the attendance area, the attendance reference information of the attendance user at the attendance time point is determined to be off duty.
12. The method of claim 11, wherein determining whether the attendance user has spacious work within a single attendance time period according to attendance reference information of the attendance user at least two attendance time points within the single attendance time period comprises:
and if the off-duty times of the attendance checking user at least two attendance checking time points in a single attendance checking time period reach the set times, determining that the attendance checking user has work absence behavior in the single attendance checking time period.
13. An apparatus for attendance tracking, the apparatus comprising:
the connection state acquisition module is used for acquiring the connection state of the attendance user terminal and the WIFI equipment in the attendance area when the attendance time point is reached;
the reconnection determination module is used for determining whether the attendance user terminal is reconnected with the WIFI equipment within a preset time from the current moment if the connection state is not connected;
the positioning information acquisition module is used for acquiring the positioning information of the attendance user terminal if the attendance user terminal is not reconnected with the WIFI equipment, and the positioning information comprises a terminal identifier of the attendance user terminal; the positioning information is acquired when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time;
the positioning information sending module is used for sending the positioning information of the current attendance time point to a server so as to request the server to determine whether a corresponding attendance user has spacious work in a single attendance time period according to the positioning information of the attendance user terminal in at least two attendance time points in the single attendance time period;
the connection state acquisition module is specifically used for acquiring the equipment identifier of the WIFI equipment currently connected with the attendance user terminal when the attendance time point is reached, comparing the acquired equipment identifier of the WIFI equipment with the equipment identifiers in the WIFI identifier set of the WIFI equipment in the attendance area, and if the acquired equipment identifier of the WIFI equipment exists in the WIFI identifier set of the WIFI equipment in the attendance area, determining that the connection state between the attendance user terminal and the WIFI equipment in the attendance area is connected; and if the acquired equipment identifier of the WIFI equipment does not exist in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is unconnected.
14. An apparatus for attendance tracking, the apparatus comprising:
the positioning information receiving module is used for receiving positioning information of the attendance user terminal within a preset time after an attendance time point, the positioning information is obtained when the attendance user terminal is not connected with WIFI equipment in an attendance area at the attendance time point and is not reconnected within the preset time, and the positioning information comprises a terminal identification of the attendance user terminal;
the spaciousness behavior determining module is used for determining whether spaciousness behaviors exist in a single attendance time period of a corresponding attendance user according to positioning information of the attendance user terminal at least at two attendance time points in the single time period;
wherein, the attendance tracking device also comprises a connection state acquisition module for
When the attendance checking time point is reached, acquiring the equipment identifier of the WIFI equipment currently connected with the attendance checking user terminal, comparing the acquired equipment identifier of the WIFI equipment with the equipment identifiers in the WIFI identifier set of the WIFI equipment in the attendance checking area, and if the acquired equipment identifier of the WIFI equipment exists in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is connected; and if the acquired equipment identifier of the WIFI equipment does not exist in the WIFI identifier set of the WIFI equipment in the attendance checking area, determining that the connection state of the attendance checking user terminal and the WIFI equipment in the attendance checking area is unconnected.
15. An attendance user terminal, the terminal comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for attendance tracking of any of claims 1-4.
16. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for attendance tracking of any of claims 5-12.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of attendance tracking according to any of claims 1-4 or 5-12.
CN201810547605.0A 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium Active CN108810821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547605.0A CN108810821B (en) 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547605.0A CN108810821B (en) 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN108810821A CN108810821A (en) 2018-11-13
CN108810821B true CN108810821B (en) 2021-09-17

Family

ID=64089703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547605.0A Active CN108810821B (en) 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN108810821B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927383B (en) * 2021-02-03 2022-12-02 广东共德信息科技有限公司 Cross-regional labor worker face recognition system and method based on building industry
CN116935504A (en) * 2023-07-10 2023-10-24 荣耀终端有限公司 Card punching method, electronic device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136807A (en) * 2013-02-07 2013-06-05 方春 Attendance system and attendance method based on location based service (LBS)
CN105825321A (en) * 2016-03-09 2016-08-03 阿里巴巴集团控股有限公司 Work attendance processing method and device
CN106127872A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, client and equipment
CN106127874A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, device and equipment
CN106710021A (en) * 2017-01-03 2017-05-24 北京华云网际科技有限公司 Automobile punch-in method based on mobile terminal
CN106875506A (en) * 2017-02-24 2017-06-20 上海与德信息技术有限公司 Intelligent Checking on Work Attendance method and system
CN107358410A (en) * 2017-07-17 2017-11-17 深圳市信锐网科技术有限公司 A kind of employee work attendance method based on mobile terminal, apparatus and system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8406162B2 (en) * 2008-05-16 2013-03-26 La Crosse Technology, Ltd. Method and apparatus of transmitting, receiving, displaying and playing weather data
US20120004950A1 (en) * 2010-07-01 2012-01-05 Effective Measure System and method for integrated offline audience validation
KR101892280B1 (en) * 2011-09-21 2018-08-28 엘지전자 주식회사 Mobile terminal and control method therof
CN102831662A (en) * 2012-08-28 2012-12-19 河南亚视软件技术有限公司 Attendance-checking method
CN103874065B (en) * 2012-12-17 2018-05-11 中国移动通信集团上海有限公司 A kind of method and device for judging customer location exception
US9532183B2 (en) * 2014-04-09 2016-12-27 Denise Roth Data locator technology
CN105590349B (en) * 2015-12-29 2018-01-09 常熟理工学院 A kind of movable attendance checking system based on Wi Fi Aware and Wi Fi Direct
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal positioning mode selection method and device
CN105898771A (en) * 2016-04-25 2016-08-24 捷开通讯(深圳)有限公司 Sign-in method and mobile terminal
CN106303971A (en) * 2016-10-18 2017-01-04 冷明 A kind of automatic attendance checking device based on WiFi location fingerprint
CN107666487A (en) * 2017-10-13 2018-02-06 滁州学院 A kind of mobile phone classroom system and its application method
CN107742333A (en) * 2017-11-29 2018-02-27 成都慧联天下信息技术有限公司 A kind of remote attendance system of field force
CN207424950U (en) * 2017-11-29 2018-05-29 成都慧联天下信息技术有限公司 A kind of remote attendance system of field force

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136807A (en) * 2013-02-07 2013-06-05 方春 Attendance system and attendance method based on location based service (LBS)
CN105825321A (en) * 2016-03-09 2016-08-03 阿里巴巴集团控股有限公司 Work attendance processing method and device
CN106127872A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, client and equipment
CN106127874A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, device and equipment
CN106710021A (en) * 2017-01-03 2017-05-24 北京华云网际科技有限公司 Automobile punch-in method based on mobile terminal
CN106875506A (en) * 2017-02-24 2017-06-20 上海与德信息技术有限公司 Intelligent Checking on Work Attendance method and system
CN107358410A (en) * 2017-07-17 2017-11-17 深圳市信锐网科技术有限公司 A kind of employee work attendance method based on mobile terminal, apparatus and system

Also Published As

Publication number Publication date
CN108810821A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108876950B (en) Attendance tracking method, device, terminal, server and storage medium
US20140118113A1 (en) Detecting rogue radio frequency based tags based on locationing
CN105682015A (en) Method and device for establishing wireless connection
CN105163368A (en) Wireless network access method and device
CN108133001B (en) MR indoor and outdoor separation method, device and medium
CN108769210B (en) Attendance tracking method, device, terminal, server and storage medium
CN108810806B (en) Positioning information correction method, client, storage medium and equipment
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN108243177B (en) Data transmission method and device
CN108810821B (en) Attendance tracking method, device, terminal, server and storage medium
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
EP3364633A1 (en) Method and device for identifying address type
CN111210202A (en) Method for judging abnormal attendance data
CN110267268A (en) The recognition methods of pseudo-base station, apparatus and system
CN107610452B (en) Quick car booking method and system for short-distance Bluetooth hotspot positioning
CN111935627B (en) One-key roll-call method based on GIS service and storage medium
CN107071708B (en) Passive wireless signal acquisition and positioning method for intelligent mobile terminal
CN114257957B (en) Network planning method and device, computing equipment and computer readable storage medium
TW201505404A (en) A method and apparatus for recording information from a plurality of mobile devices in an area
CN106331060B (en) WIFI-based deployment and control method and system
CN108848139B (en) Attendance tracking method, device, terminal, server and storage medium
CN108112031B (en) Network type determination method and device
CN110557722B (en) Target group partner identification method and related device
CN111770456B (en) Automatic sign-in system and method for hospital teaching activities
CN108271156B (en) Method and device for identifying pseudo base station

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