CN108876950A - Method, apparatus, terminal, server and the storage medium of attendance tracking - Google Patents

Method, apparatus, terminal, server and the storage medium of attendance tracking Download PDF

Info

Publication number
CN108876950A
CN108876950A CN201810547669.0A CN201810547669A CN108876950A CN 108876950 A CN108876950 A CN 108876950A CN 201810547669 A CN201810547669 A CN 201810547669A CN 108876950 A CN108876950 A CN 108876950A
Authority
CN
China
Prior art keywords
attendance
user terminal
region
user
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810547669.0A
Other languages
Chinese (zh)
Other versions
CN108876950B (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 Da Jia Ying Information Technology Co Ltd
Original Assignee
Suzhou Da Jia Ying 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 Da Jia Ying Information Technology Co Ltd filed Critical Suzhou Da Jia Ying Information Technology Co Ltd
Priority to CN201810547669.0A priority Critical patent/CN108876950B/en
Publication of CN108876950A publication Critical patent/CN108876950A/en
Application granted granted Critical
Publication of CN108876950B publication Critical patent/CN108876950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The invention discloses method, apparatus, terminal, server and the storage mediums of a kind of attendance tracking.The method includes:When reaching attendance time point, the location information of attendance user terminal is obtained, the location information includes the terminal iidentification of the attendance user terminal;The location information is sent to server, wherein, the location information is used to indicate the server and judges whether the attendance user terminal is in attendance region, and the connection status of WIFI equipment in the attendance user terminal and attendance region is obtained when being not in attendance region, and determine that corresponding attendance user whether there is absence from work without reason behavior within the single period according to connection status of the attendance user terminal within the single attendance period under at least two attendance time points.The present invention need to only obtain the location information and connection status at least two time points, substantially reduce data volume, and eliminate the reliance on the mode of artificial judgment, improve attendance efficiency.

Description

Method, apparatus, terminal, server and the storage medium of attendance tracking
Technical field
The present embodiments relate to method, apparatus, terminals, server that attendance technology more particularly to a kind of attendance are tracked And storage medium.
Background technique
With the development of intelligent mobile terminal, more and more functions are integrated on mobile terminal, using mobile terminal into Row attendance also becomes a critical function of current mobile terminal.Attendance is in addition to registering and sign-out recording on and off duty Outside, it is also necessary to judge when user normally registers on the day of or is sign-out with the presence or absence of absence from work without reason behavior.
In the prior art, when whether there is absence from work without reason behavior on the day of judging user, usually directly to customer mobile terminal It is recorded in the motion track of some period or whole day.User triggers hawkeye track crawl function, visitor after having played working card To the location information where a hawkeye server mobile terminal of transmission, user lays after class's card, closes within every 10 minutes at family end Hawkeye, backstage personnel, in the motion track for stamping mobile terminal in card this period of coming off duty, judge that user is by analysis user It is no that there are absence from work without reason suspicion.
The prior art needs to obtain the position of mobile terminal in real time, and the data volume of record is larger, and needs by artificial Mode come observe hawkeye backstage draw user behavior track it is whether normal come the action trail for judging user, artificial judgment Mode efficiency is lower.
Summary of the invention
In view of this, method, apparatus, terminal, server and storage that the embodiment of the present invention provides a kind of attendance tracking are situated between Matter, to reduce data volume and improve attendance efficiency.
In a first aspect, the embodiment of the invention provides a kind of method of attendance tracking, the method includes:
When reaching attendance time point, the location information of attendance user terminal is obtained, the location information includes described examines The terminal iidentification of diligent user terminal;
The location information is sent to server, wherein the location information is used to indicate the server and judges institute State whether attendance user terminal is in attendance region, and obtain when being not in attendance region the attendance user terminal with The connection status of WIFI equipment in attendance region, and according at least two attendances within the single attendance period of attendance user terminal Connection status under time point determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.
Second aspect, the embodiment of the invention also provides a kind of attendance tracking method, the method includes:
Location information of the attendance user terminal at attendance time point is received, the location information includes that the attendance user is whole The terminal iidentification at end;
It determines that the attendance user terminal is not in attendance region according to the location information, then obtains the attendance and use The connection status of WIFI equipment in family terminal and the attendance region;
According to the connection shape under at least two attendance time points of the attendance user terminal within the single attendance period State determines that corresponding attendance user whether there is absence from work without reason behavior within the single attendance period.
The third aspect, the embodiment of the invention also provides a kind of device of attendance tracking, described device includes:
Location information obtains module, for obtaining the location information of attendance user terminal, institute when reaching attendance time point State the terminal iidentification that location information includes the attendance user terminal;
Location information sending module, for the location information to be sent to server, wherein the location information is used for It indicates that the server judges whether the attendance user terminal is in attendance region, and is obtained when being not in attendance region The connection status of WIFI equipment in the attendance user terminal and attendance region is taken, and according to attendance user terminal in single attendance Connection status in period under at least two attendance time points determines that corresponding attendance user whether there is within the single period Absence from work without reason behavior.
Fourth aspect, the embodiment of the invention also provides a kind of device of attendance tracking, described device includes:
Location information receiving module, for receiving attendance user terminal in the location information at attendance time point, the positioning Information includes the terminal iidentification of the attendance user terminal;
Connection status obtains module, for determining that the attendance user terminal is not in attendance area according to the location information In domain, then the connection status of WIFI equipment in the attendance user terminal and the attendance region is obtained;
Absence from work without reason behavior determining module, for according to the attendance user terminal within the single attendance period at least two Connection status under attendance time point determines corresponding attendance user within the single attendance period with the presence or absence of absence from work without reason row For.
5th aspect, the embodiment of the invention also provides a kind of attendance user terminal, the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The method that device realizes the tracking of attendance described in any embodiment of the present invention.
6th aspect, the embodiment of the invention also provides a kind of server, the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The method that device realizes the tracking of attendance described in any embodiment of the present invention.
7th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the method for the tracking of attendance described in any embodiment of the present invention when the program is executed by processor.
The technical solution of the embodiment of the present invention, by being not in attendance region in the location information of attendance user terminal When, the connection status of WIFI equipment in attendance user terminal and attendance region is further obtained, according to location information and connection shape State determines that attendance user with the presence or absence of absence from work without reason behavior, reduces when only being judged according to location information since deviations cause Erroneous judgement, need to only obtain the location information and connection status at least two time points, substantially reduce data volume, and no longer according to The mode for relying artificial judgment, improves attendance efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the method for attendance tracking provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention four provides;
Fig. 5 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram of the device for attendance tracking that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram of the device for attendance tracking that the embodiment of the present invention seven provides;
Fig. 8 is a kind of structural schematic diagram for attendance user terminal that the embodiment of the present invention eight provides;
Fig. 9 is a kind of structural schematic diagram for server that the embodiment of the present invention nine provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just In description, only some but not all contents related to the present invention are shown in the drawings.
Embodiment one
Fig. 1 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention one provides, and the present embodiment is applicable to The case where carrying out attendance tracking to the attendance user for carrying attendance user terminal, this method can be held by the device that attendance is tracked Row, which can be realized by software and/or hardware, can be generally integrated in attendance user terminal.This method specifically includes Following steps:
Step 110, when reaching attendance time point, the location information of attendance user terminal, the location information packet are obtained Include the terminal iidentification of the attendance user terminal.
Wherein, attendance user terminal can be the attendances user such as user mobile phone or specific attendance record terminal portable end End, but also need the location information of attendance user's authorization server acquisition attendance user terminal.Attendance time point is used for examining The corresponding attendance user of diligent user terminal carries out attendance tracking, and server or attendance user terminal predefine examining for setting quantity Diligent time point, according to attendance user terminal in the location information at multiple attendance time points and company with WIFI equipment in attendance region It connects state and attendance tracking is carried out to attendance user.Longitude and latitude locating for the location information of attendance user terminal, that is, attendance user terminal Coordinate.The terminal iidentification of attendance user terminal includes terminal name, MAC (Media Access Control or Medium Access Control, media access control) address, IMEI (International Mobile Equipment Identity, international mobile equipment identification number), MEID (Mobile Equipment Identifier, mobile device identification code) At least one of with cell-phone number etc..
Attendance user terminal is timed, and when reaching attendance time point, can be based on GPS (Global Positioning System, global positioning system) positioning obtains location information, and it can be with when attendance user terminal is mobile phone It is obtained based on base station location.Base station location is to determine mobile phone location to the measuring and calculating of the distance of mobile phone using base station, and base station is fixed The precision of position depends greatly on the distribution of base station and the size of coverage area, error are larger.But indoor GPS signal compared with Difference can obtain location information by base station location when mobile phone is in indoor, to can be combined with determining using GPS and base station Position obtains the location information of attendance user terminal.It include the terminal iidentification of attendance user terminal in the location information, convenient for clothes Business device determines the corresponding attendance user terminal of location information.
Step 120, the location information is sent to server, wherein the location information is used to indicate the service Device judges whether the attendance user terminal is in attendance region, and obtains the attendance when being not in attendance region and use The connection status of WIFI equipment in family terminal and attendance region, all WIFI equipments in the available attendance region of server Equipment connects list, and whether determine has the terminal iidentification of the attendance user terminal in equipment connection list, to determine that attendance is used The connection status of WIFI equipment in family terminal and attendance region, and according to attendance user terminal within the single attendance period at least Connection status under two attendance time points determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.
Wherein, attendance region is the pre-set region for attendance, can be with specifically with latitude and longitude coordinates Range Representation Enterprise or Business Name are used as the mark in attendance region, is the specific area determined according to the specific location of enterprise or company Domain can also include where attendance user goes on business such as the region around the position of enterprise or company in pre-determined distance (such as 500 meters) Region.Server pre-saves WIFI all in attendance region (Wireless Fidelity, Wireless Fidelity) equipment The terminal iidentification set of WIFI logo collection and corresponding attendance user terminal, can save multiple enterprises or company is corresponding more The WIFI logo collection of the corresponding WIFI equipment in a attendance region and attendance region and the terminal iidentification set of attendance user terminal. Wherein, WIFI logo collection is the set of the device identification of WIFI equipment all in attendance region, the equipment mark of WIFI equipment Know the MAC Address for referring to website including WIFI title (i.e. SSID) and BSSID, BSSID, BSS (Basic Service Set, base This service unit) be a kind of special Ad-hoc LAN application, a wireless network is at least connected to cable network by one AP (Wireless Access Point, wireless access points) and several wireless stations composition, it is this configuration be known as one A BSS, the identical BSS title of a group computer settings, can self-contained one group, each BSS can be endowed one BSSID.Terminal iidentification set is the set of the terminal iidentification of attendance user terminal all in attendance region.Server also needs The corresponding relationship for saving attendance user terminal and corresponding attendance user, to get the terminal iidentification energy of attendance user terminal Uniquely determine the attendance user using the attendance user terminal.When there is new attendance user that attendance region is added, by the attendance The terminal iidentification of the attendance user terminal of user is added in terminal iidentification set, corresponding there is attendance user to leave attendance region When enterprise or company, the corresponding terminal mark of attendance user terminal that attendance user holds is deleted from terminal iidentification set Know.The single attendance period can according to need determination, such as can be one day, half a day or one week etc., and preferably one day.? Multiple attendance time points are provided in the single attendance period.
Attendance user terminal is being got from after the location information at attendance time point, is based on HTTP (HyperText Transfer Protocol, hypertext transfer protocol) agreement active transmission attendance user terminal location information to server, It is primarily based on http protocol, is established and the TCP of server (Transmission Control Protocol, biography transport control protocol View) connection, i.e., connection is established by three-way handshake, the location information is sent to service by the TCP connection established later Device after server receives the location information, can return to one response message of attendance user terminal, and expression has been received by positioning letter Breath, closes TCP connection later.Location information is sent to server, convenient for server to the corresponding attendance of attendance user terminal User carries out attendance tracking.After server receives location information, the location information in location information and attendance region is carried out pair Than judging whether attendance user terminal is in attendance region, and when being not in attendance region, obtaining attendance user terminal With the connection status of WIFI equipment in attendance region, thus according to attendance user terminal at least two within the single attendance period Connection status under attendance time point determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.It is examined in acquisition In diligent user terminal and attendance region when the connection status of WIFI equipment, all WIFI equipments in available attendance region Equipment connects list, and whether determine has the terminal iidentification of the attendance user terminal in equipment connection list, to determine that attendance is used The connection status of WIFI equipment in family terminal and attendance region.
The technical solution of the present embodiment obtains positioning letter by the timing of attendance user terminal and when reaching attendance time point Breath, and it is sent to server, so that server may determine that whether attendance user terminal is in attendance region, and it is being not in The connection status of WIFI equipment in attendance user terminal and attendance region is obtained when in attendance region, thus whole according to attendance user The connection status at at least two attendance time points within the single attendance period is held to determine corresponding attendance user in single attendance Between whether there is absence from work without reason behavior in section, reduce when only being judged according to location information due to attendance user terminal deviations Caused by judge by accident, need to only obtain the location information and connection status at least two attendance time points, substantially reduce data volume, and And the mode of artificial judgment is eliminated the reliance on, improve attendance efficiency.
Based on the above technical solution, when reaching attendance time point, the location information of attendance user terminal is obtained Before, also optional to include:
The information of registering of the attendance user is obtained, and is sent to the server, to request the server described Information of registering is matched with default information of registering, and determines whether the attendance user successfully registers.
Wherein, information of registering may include the attendances user characteristics such as finger print information or face information, can also include attendance The device identification of the WIFI equipment of location information and/or attendance the user terminal connection of user terminal, is also possible to fingerprint information Or the combination of the device identification of the attendances such as face information user characteristics and the location information or the WIFI equipment of connection.It is registering When information is attendance user characteristics, default information of registering is the corresponding attendance user characteristics that attendance user reserves;In letter of registering When breath is the location information of attendance user terminal, default information of registering is entire attendance region;It is attendance user in information of registering When the device identification of the WIFI equipment of terminal connection, the WIFI identification sets of the default WIFI equipment that information is in attendance region of registering It closes.
After getting the information of registering of attendance user, server is sent to based on the http protocol information that will register, is built first The vertical TCP connection with server, i.e., establish connection by three-way handshake, later connects the information of registering by the TCP established Server is given in sending and receiving, after server receives the information of registering, carry out matching determining attendance user with default information of registering be It is no successfully register after, the result of registering for success or not of registering is returned into attendance user terminal, convenient for attendance user understand register As a result, and attendance user terminal can obtain location information at attendance time point and company when attendance user successfully registers State is connect, convenient for carrying out attendance tracking to the successful attendance user that registers.
On the basis of the above embodiments, the information of registering of the attendance user is being obtained, and is being sent to the server Later, also optional to include:
After the attendance user successfully registers, receives the server and determining that the attendance user terminal is not connected with institute Instruction is reminded in the connection sent when stating WIFI equipment in attendance region, and it includes in the attendance region that instruction is reminded in the connection The corresponding WIFI logo collection of WIFI equipment;
It is reminded and is instructed according to the connection, the attendance user is reminded to connect the WIFI equipment in the attendance region.
After attendance user successfully registers, the equipment of the WIFI equipment in the available attendance region of server connects column Table, judge equipment connection list in whether include the corresponding attendance user terminal of attendance user terminal iidentification, equipment connect When not including the terminal iidentification of the corresponding attendance user terminal of attendance user in list, illustrates that attendance user terminal does not connect and examine WIFI equipment in diligent region sends connection and instruction is reminded to give attendance user terminal, and attendance user terminal, which receives connection and reminds, to be referred to After order, attendance user is reminded to connect the WIFI equipment in attendance region, and shown in attendance region according to WIFI logo collection The WIFI title of WIFI equipment connects the WIFI equipment in attendance region convenient for attendance user, consequently facilitating subsequent get just True connection status improves the correctness of attendance tracking.When server sends connection prompting instruction to attendance user terminal, the company Connect remind instruction can be used as to the response message of the information of registering of attendance user terminal part or all.
Embodiment two
Fig. 2 is a kind of flow chart of the method for attendance tracking provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned reality Apply and be optimized on the basis of example, specifically, when reaching attendance time point, obtain attendance user terminal location information it Before, it still further comprises:The attendance time point of setting quantity in the single attendance period is generated at random;Alternatively, in attendance user After successfully registering, the attendance time point of the setting quantity in the single attendance period that the server is sent is received.The party Method specifically comprises the following steps:
Step 210, the attendance time point of setting quantity in the single attendance period is generated at random;Alternatively, in attendance user After successfully registering, the attendance time point of the setting quantity in the single attendance period that the server is sent is received.
Wherein, attendance time point can be generated at random by attendance user terminal, be examined each of in attendance region same in this way The attendance time point of diligent user terminal is different from, it is possible to reduce a possibility that attendance is practised fraud.Attendance time point can also be by taking Business device generates at random, and server can generate examining for a set of setting quantity to all attendance users in an attendance region at random Diligent time point, or all attendance users in an attendance region are grouped, it is random raw respectively for each grouping At certain amount of attendance time point, and after attendance user successfully registers, determine that attendance user place sends packets to correspondence The attendance time point of the setting quantity of attendance user terminal respective packets.Wherein, setting quantity can according to need determination, such as It can be 10.
Step 220, when reaching attendance time point, the location information of attendance user terminal, the location information packet are obtained Include the terminal iidentification of the attendance user terminal.
Step 230, the location information is sent to server, wherein the location information is used to indicate the service Device judges whether the attendance user terminal is in attendance region, and obtains the attendance when being not in attendance region and use The connection status of WIFI equipment in family terminal and attendance region, all WIFI equipments in the available attendance region of server Equipment connects list, and whether determine has the terminal iidentification of the attendance user terminal in equipment connection list, to determine that attendance is used The connection status of WIFI equipment in family terminal and attendance region, and according to attendance user terminal within the single attendance period at least Connection status under two attendance time points determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.
The technical solution of the present embodiment, on the basis of the above embodiments, by being generated in the single attendance period at random The attendance time point of quantity is set, or receives the setting number in the single attendance period generated at random that server is sent A possibility that at the attendance time point of amount, increasing the randomness at attendance time point, reducing attendance user cheating.
Embodiment three
Fig. 3 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention three provides, and the present embodiment is applicable to The case where carrying out attendance tracking to the attendance user for carrying attendance user terminal, this method can be held by the device that attendance is tracked Row, which can be realized by software and/or hardware, can generally be integrated in the server.This method specifically includes following step Suddenly:
Step 310, location information of the attendance user terminal at attendance time point is received, the location information includes described examines The terminal iidentification of diligent user terminal.
Wherein, attendance user terminal can be the attendances user such as user mobile phone or specific attendance record terminal portable end End, but also need the location information of attendance user's authorization server acquisition attendance user terminal.Attendance time point is used for examining The corresponding attendance user of diligent user terminal carries out attendance tracking, and server or attendance user terminal predefine examining for setting quantity Diligent time point, according to attendance user terminal in the location information at multiple attendance time points and company with WIFI equipment in attendance region It connects state and attendance tracking is carried out to attendance user.Longitude and latitude locating for the location information of attendance user terminal, that is, attendance user terminal Coordinate can be based on GPS (Global Positioning System, global positioning system) positioning by attendance user terminal and be obtained It takes, base station location is also based on when attendance user terminal is mobile phone and is obtained.Base station location be using base station to mobile phone away from From measuring and calculating determine mobile phone location, the precision of base station location depend greatly on base station distribution and coverage area it is big Small, error is larger.But indoor GPS dtr signal can obtain location information by base station location when mobile phone is in indoor, It can be combined with the location information that attendance user terminal is obtained using GPS and base station location.It include attendance in the location information The terminal iidentification of user terminal determines the corresponding attendance user terminal of location information convenient for server.
Step 320, it determines that the attendance user terminal is not in attendance region according to the location information, then obtains institute State the connection status of WIFI equipment in attendance user terminal and the attendance region.
Wherein, attendance region is the pre-set region for attendance, can be with specifically with latitude and longitude coordinates Range Representation Enterprise or Business Name are used as the mark in attendance region, is the specific area determined according to the specific location of enterprise or company Domain can also include where attendance user goes on business such as the region around the position of enterprise or company in pre-determined distance (such as 500 meters) Region.Server pre-saves WIFI all in attendance region (Wireless Fidelity, Wireless Fidelity) equipment The terminal iidentification set of WIFI logo collection and corresponding attendance user terminal, can save multiple enterprises or company is corresponding more The WIFI logo collection of the corresponding WIFI equipment in a attendance region and attendance region and the terminal iidentification set of attendance user terminal. Wherein, WIFI logo collection is the set of the device identification of WIFI equipment all in attendance region, the equipment mark of WIFI equipment Know the MAC Address for referring to website including WIFI title (i.e. SSID) and BSSID, BSSID, BSS (Basic Service Set, base This service unit) be a kind of special Ad-hoc LAN application, a wireless network is at least connected to cable network by one AP and several wireless stations composition, it is this configuration be known as a BSS, the identical BSS title of a group computer settings Self-contained one group, each BSS can be endowed a BSSID.Terminal iidentification set is that attendance all in attendance region is used The set of the terminal iidentification of family terminal, the terminal iidentification of attendance user terminal include terminal name, MAC Address, IMEI, MEID and At least one of cell-phone number etc..Server also needs to save the corresponding relationship of attendance user terminal and corresponding attendance user, So that the terminal iidentification for getting attendance user terminal can uniquely determine the attendance user using the attendance user terminal.Having When attendance region is added in new attendance user, attendance region pair is added in the terminal iidentification of the attendance user terminal of attendance user In the terminal iidentification set answered, when there is attendance user to leave the corresponding enterprise in attendance region or company, from terminal iidentification collection The corresponding terminal iidentification of attendance user terminal that attendance user holds is deleted in conjunction.
After getting location information, corresponding attendance user terminal is first determined according to the terminal iidentification in location information, Location information is determined again whether in the corresponding attendance region of attendance user terminal, if location information is not or not corresponding attendance area In domain, it is determined that attendance user terminal is not in attendance region, at this moment obtains WIFI in attendance user terminal and attendance region The connection status of equipment.The equipment of all WIFI equipments in the available attendance region of server connects list, determines equipment Whether the terminal iidentification of the attendance user terminal is had in connection list, to determine WIFI in attendance user terminal and attendance region The connection status of equipment.
If the location information of attendance user terminal is in attendance region, it can determine attendance user currently not Attendance region is left, attendance user normally turns out for work, it is not necessary to obtain the connection of WIFI equipment in attendance user terminal and attendance region State.When the location information of only attendance user terminal is not in attendance region, just further obtain attendance user terminal with The connection status of WIFI equipment in attendance region, so that it is determined that the state of turning out for work that attendance user is current, reduces since attendance is used It is judged by accident caused by the terminal positioning deviation of family.
Step 330, under at least two attendance time points according to the attendance user terminal within the single attendance period Connection status, determine that corresponding attendance user whether there is absence from work without reason behavior within the single attendance period.
Wherein, the single attendance period can according to need determination, such as can be one day or half a day etc..Individually examining Multiple attendance time points are provided in the diligent period.
Connection status is obtained when the location information of attendance user terminal is not in attendance region.Statistics is single Connection status in the attendance period under at least two attendance time points, if the connection status under at least two attendance time points There is the not connected of preset times, it is determined that there are absence from work without reason behaviors within the single attendance period by attendance user;If at least Connection status under two attendance time points is that not connected number is less than preset times, it is determined that attendance user is in single attendance Absence from work without reason behavior is not present in period.If only getting a connection status or without obtaining connection status, can determine Absence from work without reason behavior is not present in attendance user.Attendance when being each attendance time point within the attendance period when not obtaining connection status The location information of user terminal is in attendance region, is got a connection status and is shown there was only one within the attendance period The location information of a attendance time point attendance user terminal is not in attendance region.
The technical solution of the present embodiment, the location information by attendance user terminal at attendance time point are not in attendance area When in domain, the connection status of WIFI equipment in attendance user terminal and attendance region is obtained, according to attendance user terminal single The connection status under at least two attendance time points in the attendance period determines corresponding attendance user in the single attendance period It is interior to whether there is absence from work without reason behavior, when location information is not in attendance region, further obtain attendance user terminal and attendance The connection status of WIFI equipment in region reduces when only being judged according to location information since the positioning of attendance user terminal is inclined It is judged by accident caused by difference, need to only obtain the location information and connection status at least two attendance time points, substantially reduce data volume, And the mode of artificial judgment is eliminated the reliance on, improve attendance efficiency.
Based on the above technical solution, WIFI equipment in the attendance user terminal and the attendance region is obtained Connection status, it is optional to include:
Obtain the equipment connection list of WIFI equipment in the attendance region;
List is connected according to the equipment, determines the company of WIFI equipment in the attendance user terminal and the attendance region Connect state.
Wherein, equipment connection list is the device identification of the current connected equipment saved in WIFI equipment, such as The terminal iidentification of attendance user terminal.
After the equipment for getting each WIFI equipment in attendance region connects list, the equipment of each WIFI equipment is connected It connects list and the terminal iidentification of the attendance user terminal compares, if wrapped in the equipment connection list of some WIFI equipment Include the terminal iidentification of the attendance user terminal, it is determined that the connection status of WIFI equipment in attendance user terminal and attendance region To have connected;If the end in attendance region in the equipment connection list of all WIFI equipments without the attendance user terminal End mark, it is determined that WIFI equipment connection status is not connected in attendance user terminal and attendance region.By obtaining attendance area The equipment of WIFI equipment connects list in domain, to determine the connection status of WIFI equipment in attendance user terminal and attendance region, Rather than obtained from attendance user terminal, it is possible to reduce the power consumption of attendance user terminal.
Example IV
Fig. 4 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention four provides, and the present embodiment is in above-mentioned reality It applies and is optimized on the basis of example, obtaining attendance user terminal before the location information at attendance time point, it is also further Including:The attendance time point of the setting quantity in the single attendance period is generated at random;Detecting the attendance user After successfully registering, the attendance time point of the setting quantity in the single attendance period is sent to the attendance user terminal.The party Method specifically comprises the following steps:
Step 410, the attendance time point of the setting quantity in the single attendance period is generated at random.
Within the corresponding single attendance period of attendance region, the random attendance time point for generating setting quantity, for pair Attendance user carries out attendance tracking.I.e. in each attendance period, the random attendance time point for generating setting quantity, to increase Add the randomness at attendance time point.
Step 420, after detecting that the attendance user successfully registers, single attendance is sent to the attendance user terminal The attendance time point of setting quantity in period, to indicate that the attendance user terminal reports institute when reaching attendance time point State the location information of attendance user terminal.
Wherein, attendance user registers can sign according to attendances user characteristics such as reserved finger print informations or face information Arrive, can also the WIFI equipment of location information based on attendance user terminal and/or the connection of attendance user terminal register.It examines Diligent user registers can be registered based on attendance user terminal, be also based on fixed Time Attendance Device and registered, preferably The case where being registered based on attendance user terminal, being lined up when can be registered to avoid fixed Time Attendance Device wastes attendance The time of user.
After detecting that attendance user is successfully registered by attendance user terminal, single attendance is sent to attendance user terminal The attendance time point of setting quantity in period, to indicate that attendance user terminal is timed, when reaching attendance time point The location information of the attendance user terminal is reported, to guarantee the attendance time point of each attendance user terminal in attendance region It is identical.Wherein, setting quantity can according to need determination, such as can be 10.
Optionally, the attendance time point of the setting quantity in the single attendance period is generated at random, including:
All attendance users in the attendance region are grouped;
For each grouping, the attendance time point of setting quantity in the single attendance period is generated at random;
Correspondingly, sending single attendance to the attendance user terminal after detecting that the attendance user successfully registers The attendance time point of setting quantity in period, including:
After detecting that the attendance user successfully registers, when by being grouped corresponding single attendance where the attendance user Between in section the attendance time point of setting quantity be sent to the attendance user terminal.
All attendance users in attendance region are grouped, for each grouping, generate the single attendance period at random The attendance time point of interior setting quantity increases the attendance time so that the attendance time point of the attendance user of different grouping is different The randomness of point further reduced a possibility that attendance user practises fraud.It, can be random when being grouped to attendance user terminal It is divided into the grouping of preset quantity, when attendance user terminal is user mobile phone, is also based on cell-phone number and is grouped, such as divide It when being 3 groups, can be taken the remainder according to attendance user mobile phone number mantissa divided by 3, be classified as one group for remainder is identical, obtain corresponding Grouping where attendance user terminal.
Step 430, location information of the attendance user terminal at attendance time point is received, the location information includes described examines The terminal iidentification of diligent user terminal.
Step 440, it determines that the attendance user terminal is not in attendance region according to the location information, then obtains institute State the connection status of WIFI equipment in attendance user terminal and the attendance region.
Step 450, under at least two attendance time points according to the attendance user terminal within the single attendance period Connection status, determine that corresponding attendance user whether there is absence from work without reason behavior within the single attendance period.
The technical solution of the present embodiment, on the basis of the above embodiments, by being generated in the single attendance period at random Setting quantity attendance time point, when detecting that attendance user successfully registers, to attendance user terminal send single attendance when Between setting quantity in section attendance time point, to indicate that attendance user terminal reports the attendance when reaching attendance time point A possibility that location information of user terminal increases the randomness at attendance time point, reduces attendance user cheating.
Based on the above technical solution, after detecting that the attendance user successfully registers, to the attendance user It is also optional to include before terminal sends the attendance time point of the setting quantity in the single attendance period:
Receive the information of registering for the attendance user that the attendance user terminal is sent;
The information of registering is matched with default information of registering, if successful match, it is determined that the attendance user Successfully register.
Wherein, information of registering may include the attendances user characteristics such as finger print information or face information, can also include attendance The device identification of the WIFI equipment of location information and/or attendance the user terminal connection of user terminal, is also possible to fingerprint information Or the combination of the device identification of the attendances such as face information user characteristics and the location information or the WIFI equipment of connection.It is registering When information is attendance user characteristics, default information of registering is the corresponding attendance user characteristics that attendance user reserves;In letter of registering When breath is the location information of attendance user terminal, default information of registering is entire attendance region;It is attendance user in information of registering When the device identification of the WIFI equipment of terminal connection, the WIFI identification sets of the default WIFI equipment that information is in attendance region of registering It closes.
The information of registering that the attendance user that attendance user terminal is sent is received based on http protocol is initially set up and is used with attendance The TCP connection of family terminal establishes connection by three-way handshake, information of registering described in the TCP connection reception by foundation later, After server receives the information of registering, carries out matching whether determining attendance user successfully registers with default information of registering, will sign To the result of registering of success or not, information returns to attendance user terminal in response, understand convenient for attendance user register as a result, And attendance user terminal can obtain the location information and connection shape at attendance time point when attendance user successfully registers State is realized and carries out attendance tracking to the successful attendance user that registers.
Based on the above technical solution, also optional to include after determining that the attendance user successfully registers:
Obtain the equipment connection list of WIFI equipment in the attendance region;
List is connected according to the equipment, determines that the attendance user terminal is not connected with WIFI equipment in the attendance region When, connection is sent to the attendance user terminal and reminds instruction, to indicate that the attendance user terminal reminds attendance user connection WIFI equipment in the attendance region, it includes the corresponding WIFI mark of WIFI equipment in the attendance region that instruction is reminded in the connection Know set.
Wherein, in attendance region, attendance user terminal can connect any WIFI equipment in WIFI logo collection, i.e., Attendance user terminal can arbitrarily be cut between multiple wireless networks of multiple WIFI equipments in corresponding WIFI logo collection It changes.
After detecting that attendance user successfully registers, the equipment connection list of WIFI equipment in the attendance region is obtained, Judge each WIFI equipment equipment connection list in whether include the corresponding attendance user terminal of attendance user terminal iidentification, When not including the terminal iidentification of attendance user terminal in all devices connection list, determines that attendance user terminal does not connect and examine WIFI equipment in diligent region sends connection and instruction is reminded to give attendance user terminal, to indicate that attendance user terminal connects attendance WIFI equipment in region gets correct connection status convenient for subsequent, improves the correctness of attendance tracking, ensure that spacious Industrial and commercial bank is the correctness of judgement.Server sends connection when reminding instruction to attendance user terminal, which reminds instruction can be with Part or all of response message as the information of registering to attendance user terminal.
Embodiment five
Fig. 5 is a kind of flow chart of the method for attendance tracking that the embodiment of the present invention five provides, and the present embodiment is in above-mentioned reality Apply and be optimized on the basis of example, specifically, according to the attendance user terminal within the single attendance period at least two Connection status under a attendance time point determines corresponding attendance user within the single attendance period with the presence or absence of absence from work without reason row To further comprise:According to connection status of the attendance user terminal under single attendance time point, determine that the attendance is used Attendance reference information of the family under the attendance time point;According to the attendance user within the single attendance period at least two Attendance reference information under attendance time point determines the attendance user within the single attendance period with the presence or absence of absence from work without reason Behavior.This method specifically comprises the following steps:
Step 510, location information of the attendance user terminal at attendance time point is received, the location information includes described examines The terminal iidentification of diligent user terminal.
Step 520, it determines that the attendance user terminal is not in attendance region according to the location information, then obtains institute State the connection status of WIFI equipment in attendance user terminal and the attendance region.
Step 530, the connection status according to the attendance user terminal under single attendance time point, determines the attendance Attendance reference information of the user under the attendance time point.
Wherein, the attendance reference information under attendance time point includes on duty or leaves the post, it is understood that be attendance user In the state of turning out for work at attendance time point.
By the connection status according to attendance user terminal under single attendance time point, determine attendance user in the attendance Attendance reference information under time point, convenient for the current state of turning out for work of record attendance user, consequently facilitating subsequent determining attendance is used Family whether there is absence from work without reason behavior within the single attendance period.
Optionally, the connection status according to the attendance user terminal under single attendance time point, determines the attendance Attendance reference information of the user under the attendance time point, including:
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is to have connected, institute is determined It is on duty for stating attendance reference information of the attendance user under the attendance time point;
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is not connected, institute is determined Stating attendance reference information of the attendance user under the attendance time point is to leave the post.
When the location information of attendance user terminal is not in attendance region, further obtains attendance user terminal and examine The connection status of WIFI equipment in diligent region determines whether attendance user is currently on duty according to connection status at this time, reduces It is judged by accident as caused by attendance user terminal deviations.
Step 540, examining under at least two attendance time points according to the attendance user within the single attendance period Diligent reference information determines the attendance user within the single attendance period with the presence or absence of absence from work without reason behavior.
Optionally, the attendance under at least two attendance time points according to the attendance user within the single attendance period Reference information determines that the attendance user whether there is absence from work without reason behavior within the single attendance period, including:
If the number of leaving the post under at least two attendance time points of the attendance user within the single attendance period reaches To setting number, it is determined that there are absence from work without reason behaviors within the single attendance period by the attendance user.
In the attendance time point of the setting quantity in the single attendance period, if reaching a certain attendance time point When, count the attendance reference information under at least two attendance time points including the attendance time point, Er Qieli Hilllock number has reached setting number, and can determining attendance user, there are absence from work without reason behaviors within the single attendance period, from then Continuous attendance time point can no longer be counted, and the data volume of statistics is reduced.Exist it is of course also possible to count attendance user The attendance reference information at all attendance time points, then determine whether number of leaving the post reaches setting number, so that it is determined that attendance is used Family whether there is absence from work without reason behavior within the single attendance period.
The technical solution of the present embodiment, on the basis of the above embodiments, by according to the attendance user terminal in list Connection status under a attendance time point determines attendance reference information of the attendance user under the attendance time point, is convenient for Turn out for work state of the attendance user under single attendance time point is recorded, and according to attendance user at least two attendance time points Attendance reference information, determine attendance user within the single attendance period with the presence or absence of absence from work without reason behavior, can be more accurate fast The determination attendance user of speed whether there is absence from work without reason behavior.
Embodiment six
Fig. 6 is a kind of structural schematic diagram of the device for attendance tracking that the embodiment of the present invention six provides, and the present embodiment can fit The case where for carrying out attendance tracking to the attendance user for carrying attendance user terminal, which can execute the embodiment of the present invention The method of the attendance tracking of offer, the device can be executed by software and/or hardware, can generally be integrated in attendance user terminal In.As shown in fig. 6, the device of attendance tracking provided in this embodiment includes:Location information obtains module 610 and location information hair Send module 620.
Wherein, location information obtains module 610, for obtaining determining for attendance user terminal when reaching attendance time point Position information, the location information includes the terminal iidentification of the attendance user terminal;
Location information sending module 620, for the location information to be sent to server, wherein the location information It is used to indicate the server and judges whether the attendance user terminal is in attendance region, and be not in attendance region When obtain the connection status of WIFI equipment in the attendance user terminal and attendance region, and according to attendance user terminal single Connection status in the attendance period under at least two attendance time points determine corresponding attendance user within the single period whether In the presence of absence from work without reason behavior.
Optionally, described device further includes:
Attendance time point generation module, for generating the attendance time point for setting quantity in the single attendance period at random; Or
Attendance time point receiving module, for after attendance user successfully registers, receiving the list that the server is sent The attendance time point of setting quantity in a attendance period.
Optionally, described device further includes:
It registers module, for obtaining the information of registering of the attendance user, and is sent to the server, described in request Server matches the information of registering with default information of registering, and determines whether the attendance user successfully registers.
Optionally, described device further includes:
Command reception module is reminded in connection, for receiving the server true after the attendance user successfully registers The fixed attendance user terminal is not connected with the connection sent when WIFI equipment in the attendance region and reminds instruction, and the connection mentions Instruction of waking up includes the corresponding WIFI logo collection of WIFI equipment in the attendance region;
Reminding module is connected, is instructed for being reminded according to the connection, the attendance user is reminded to connect the attendance area WIFI equipment in domain.
The side of the tracking of attendance provided by the embodiment of the present invention one or embodiment two can be performed in the device of above-mentioned attendance tracking Method has the corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, can join See the method for the attendance tracking that the embodiment of the present invention one or embodiment two provide.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram of the device for attendance tracking that the embodiment of the present invention seven provides, and the present embodiment can fit The case where for carrying out attendance tracking to the attendance user for carrying attendance user terminal, which can execute the embodiment of the present invention The method of the attendance tracking of offer, the device can be executed by software and/or hardware, can generally be integrated in the server.Such as Shown in Fig. 7, the device of attendance tracking provided in this embodiment includes:Location information receiving module 710, connection status obtain module 720 and absence from work without reason behavior determining module 730.
Wherein, location information receiving module 710, for receiving attendance user terminal in the location information at attendance time point, The location information includes the terminal iidentification of the attendance user terminal;
Connection status obtains module 720, examines for determining that the attendance user terminal is not according to the location information In diligent region, then the connection status of WIFI equipment in the attendance user terminal and the attendance region is obtained;
Absence from work without reason behavior determining module 730, for according to the attendance user terminal within the single attendance period at least Connection status under two attendance time points determines corresponding attendance user within the single attendance period with the presence or absence of absence from work without reason Behavior.
Optionally, the connection status acquisition module includes:
Equipment connects list acquiring unit, and the equipment for obtaining WIFI equipment in the attendance region connects list;
Connection status determination unit, for according to the equipment connect list, determine the attendance user terminal with it is described The connection status of WIFI equipment in attendance region.
Optionally, described device further includes:
Attendance time point generation module, when for generating the attendance of the setting quantity in the single attendance period at random Between point;
Attendance time point sending module, for after detecting that the attendance user successfully registers, to the attendance user Terminal sends the attendance time point of the setting quantity in the single attendance period, to indicate that the attendance user terminal is examined in arrival The location information of the attendance user terminal is reported when diligent time point.
Optionally, the attendance time point generation module includes:
Grouped element is grouped for all attendance users to the attendance region;
Attendance time point generation unit generates setting in the single attendance period for being directed to each grouping at random The attendance time point of quantity;
Correspondingly, the attendance time point sending module is specifically used for:
After detecting that the attendance user successfully registers, when by being grouped corresponding single attendance where the attendance user Between in section the attendance time point of setting quantity be sent to the attendance user terminal.
Optionally, described device further includes:
It registers information receiving module, for receiving the letter of registering for the attendance user that the attendance user terminal is sent Breath;
Information matches of registering module, for the information of registering to be matched with default information of registering, if matching at Function, it is determined that institute attendance user successfully registers.
Optionally, described device further includes:
Equipment connects list and obtains module, for obtaining the attendance after detecting that the attendance user successfully registers The equipment of WIFI equipment connects list in region;
Instruction sending module is reminded in connection, for connecting list according to the equipment, determines the attendance user terminal not When connecting WIFI equipment in the attendance region, connection is sent to the attendance user terminal and reminds instruction, to examine described in instruction Diligent user terminal reminds attendance user to connect WIFI equipment in the attendance region, and it includes the attendance that instruction is reminded in the connection The corresponding WIFI logo collection of WIFI equipment in region.
Optionally, the absence from work without reason behavior determining module includes:
Attendance reference information determination unit, for the connection according to the attendance user terminal under single attendance time point State determines attendance reference information of the attendance user under the attendance time point;
Absence from work without reason behavior determination unit, at least two attendances according to the attendance user within the single attendance period Attendance reference information under time point determines the attendance user within the single attendance period with the presence or absence of absence from work without reason row For.
Optionally, the attendance reference information determination unit is specifically used for:
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is to have connected, institute is determined It is on duty for stating attendance reference information of the attendance user under the attendance time point;
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is not connected, institute is determined Stating attendance reference information of the attendance user under the attendance time point is to leave the post.
Optionally, the absence from work without reason behavior determination unit is specifically used for:
If the number of leaving the post under at least two attendance time points of the attendance user within the single attendance period reaches To setting number, it is determined that there are absence from work without reason behaviors within the single attendance period by the attendance user.
The executable embodiment of the present invention three of device of above-mentioned attendance tracking is into embodiment five provided by any embodiment The method of attendance tracking, has the corresponding functional module of execution method and beneficial effect.Not detailed description in the present embodiment Technical detail, reference can be made to the method for the attendance that any embodiment provides into embodiment five tracking of the embodiment of the present invention three.
Embodiment eight
Fig. 8 is a kind of structural schematic diagram for attendance user terminal that the embodiment of the present invention eight provides, as shown in figure 8, the end End includes processor 810, memory 820, input unit 830 and output device 840;The quantity of processor 810 can be in terminal Be it is one or more, in Fig. 8 by taking a processor 810 as an example;Processor 810, memory 820, input unit 830 in terminal It can be connected by bus or other modes with output device 840, in Fig. 8 for being connected by bus.
Memory 820 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, the corresponding program instruction/module of method tracked such as the attendance in the embodiment of the present invention is (for example, attendance is tracked Device in location information obtain module 610 and location information sending module 620).Processor 810 is stored in by operation Software program, instruction and module in reservoir 820, thereby executing the various function application and data processing of terminal, i.e., in fact The method of existing above-mentioned attendance tracking, such as the method for attendance tracking that embodiment one or embodiment two provide.
Memory 820 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 820 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 820 can be into one Step includes the memory remotely located relative to processor 810, these remote memories can pass through network connection to terminal.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 830 can be used for receiving the number or character information of input, and generate with the user setting of terminal with And the related key signals input of function control.Output device 840 may include that display screen etc. shows equipment.
Embodiment nine
Fig. 9 is a kind of structural schematic diagram for server that the embodiment of the present invention nine provides, as shown in figure 9, the server packet Include processor 910, memory 920, input unit 930 and output device 940;The quantity of processor 910 can be in server One or more, in Fig. 9 by taking a processor 910 as an example;Processor 910, memory 920, input unit 930 in server It can be connected by bus or other modes with output device 940, in Fig. 9 for being connected by bus.
Memory 920 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, the corresponding program instruction/module of method tracked such as the attendance in the embodiment of the present invention is (for example, attendance is tracked Device in location information receiving module 710, connection status obtain module 720 and absence from work without reason behavior determining module 730).Processing Software program, instruction and the module that device 910 is stored in memory 920 by operation, thereby executing the various function of server It can apply and data processing, that is, the method for realizing above-mentioned attendance tracking, such as any reality into embodiment five of embodiment three The method that the attendance tracking of example offer is provided.
Memory 920 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to server. It can also include nonvolatile memory in addition, memory 920 may include high-speed random access memory, for example, at least one A disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 920 can be into One step includes the memory remotely located relative to processor 910, these remote memories can pass through network connection to service Device.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 930 can be used for receiving the number or character information of input, and generate the user setting with server And the related key signals input of function control.Output device 940 may include that display screen etc. shows equipment.
Embodiment ten
The embodiment of the present invention ten also provides a kind of storage medium comprising computer executable instructions, and the computer can be held A kind of method of the row instruction when being executed by computer processor for executing attendance tracking, this method include:
When reaching attendance time point, the location information of attendance user terminal is obtained, the location information includes described examines The terminal iidentification of diligent user terminal;
The location information is sent to server, wherein the location information is used to indicate the server and judges institute State whether attendance user terminal is in attendance region, and obtain when being not in attendance region the attendance user terminal with The connection status of WIFI equipment in attendance region, and according at least two attendances within the single attendance period of attendance user terminal Connection status under time point determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.
Alternatively, the computer executable instructions are also used to execute when being executed a kind of attendance tracking by computer processor Method, this method includes:
Location information of the attendance user terminal at attendance time point is received, the location information includes that the attendance user is whole The terminal iidentification at end;
It determines that the attendance user terminal is not in attendance region according to the location information, then obtains the attendance and use The connection status of WIFI equipment in family terminal and the attendance region;
According to the connection shape under at least two attendance time points of the attendance user terminal within the single attendance period State determines that corresponding attendance user whether there is absence from work without reason behavior within the single attendance period.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention Attendance tracking provided by any embodiment of the invention can also be performed in the method operation that executable instruction is not limited to the described above Method in relevant operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, included each unit and module are in the embodiment of the device of above-mentioned attendance tracking It is divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;Separately Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (18)

1. a kind of method of attendance tracking, which is characterized in that including:
When reaching attendance time point, the location information of attendance user terminal is obtained, the location information includes that the attendance is used The terminal iidentification of family terminal;
The location information is sent to server, wherein the location information is used to indicate described in the server judgement and examines Whether diligent user terminal is in attendance region, and the attendance user terminal and attendance are obtained when being not in attendance region The connection status of WIFI equipment in region, and according to attendance user terminal within the single attendance period at least two attendance times Connection status under point determines that corresponding attendance user whether there is absence from work without reason behavior within the single period.
2. the method according to claim 1, wherein obtaining attendance user terminal when reaching attendance time point Location information before, further include:
The attendance time point of setting quantity in the single attendance period is generated at random;Or
After attendance user successfully registers, examining for the setting quantity in the single attendance period that the server is sent is received Diligent time point.
3. the method according to claim 1, wherein obtaining attendance user terminal when reaching attendance time point Location information before, further include:
The information of registering of the attendance user is obtained, and is sent to the server, to request the server to be registered described Information is matched with default information of registering, and determines whether the attendance user successfully registers.
4. according to the method described in claim 3, it is characterized in that, obtaining the information of registering of the attendance user, and sending After the server, further include:
After the attendance user successfully registers, receives the server and examine determining that the attendance user terminal is not connected described Instruction is reminded in the connection sent when WIFI equipment in diligent region, and it includes the WIFI in the attendance region that instruction is reminded in the connection The corresponding WIFI logo collection of equipment;
It is reminded and is instructed according to the connection, the attendance user is reminded to connect the WIFI equipment in the attendance region.
5. a kind of method of attendance tracking, which is characterized in that including:
Location information of the attendance user terminal at attendance time point is received, the location information includes the attendance user terminal Terminal iidentification;
It determines that the attendance user terminal is not in attendance region according to the location information, then it is whole to obtain the attendance user The connection status at end and WIFI equipment in the attendance region;
According to the connection status under at least two attendance time points of the attendance user terminal within the single attendance period, really Surely attendance user is corresponded within the single attendance period with the presence or absence of absence from work without reason behavior.
6. according to the method described in claim 5, it is characterized in that, obtaining in the attendance user terminal and the attendance region The connection status of WIFI equipment, including:
Obtain the equipment connection list of WIFI equipment in the attendance region;
List is connected according to the equipment, determines the connection shape of WIFI equipment in the attendance user terminal and the attendance region State.
7. according to the method described in claim 5, it is characterized in that, receiving attendance user terminal in the positioning at attendance time point Before information, further include:
The attendance time point of the setting quantity in the single attendance period is generated at random;
After detecting that the attendance user successfully registers, setting in the single attendance period is sent to the attendance user terminal The attendance time point of fixed number amount reports the attendance user whole to indicate the attendance user terminal when reaching attendance time point The location information at end.
8. the method according to the description of claim 7 is characterized in that generating the setting number in the single attendance period at random The attendance time point of amount, including:
All attendance users in the attendance region are grouped;
For each grouping, the attendance time point of setting quantity in the single attendance period is generated at random;
Correspondingly, sending the single attendance time to the attendance user terminal after detecting that the attendance user successfully registers The attendance time point of setting quantity in section, including:
After detecting that the attendance user successfully registers, the corresponding single attendance period will be grouped where the attendance user The attendance time point of interior setting quantity is sent to the attendance user terminal.
9. the method according to the description of claim 7 is characterized in that after detecting that the attendance user successfully registers, to institute Before stating the attendance time point that attendance user terminal sends setting quantity in the single attendance period, further include:
Receive the information of registering for the attendance user that the attendance user terminal is sent;
The information of registering is matched with default information of registering, if successful match, it is determined that the attendance user success It registers.
10. according to the method described in claim 9, it is characterized in that, also being wrapped after determining that the attendance user successfully registers It includes:
Obtain the equipment connection list of WIFI equipment in the attendance region;
List is connected according to the equipment, when determining that the attendance user terminal is not connected with WIFI equipment in the attendance region, Connection is sent to the attendance user terminal and reminds instruction, to indicate that the attendance user terminal is reminded described in attendance user connection WIFI equipment in attendance region, it includes the corresponding WIFI identification sets of WIFI equipment in the attendance region that instruction is reminded in the connection It closes.
11. according to the method described in claim 5, it is characterized in that, according to the attendance user terminal in the single attendance time The connection status under at least two attendance time points in section determines that corresponding attendance user is within the single attendance period It is no that there are absence from work without reason behaviors, including:
According to connection status of the attendance user terminal under single attendance time point, determine the attendance user in the attendance Attendance reference information under time point;
According to the attendance reference information under at least two attendance time points of the attendance user within the single attendance period, really The fixed attendance user whether there is absence from work without reason behavior within the single attendance period.
12. according to the method for claim 11, which is characterized in that according to the attendance user terminal in the single attendance time Connection status under point, determines attendance reference information of the attendance user under the attendance time point, including:
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is to have connected, examined described in determination Attendance reference information of the diligent user under the attendance time point is on duty;
When the connection status of WIFI equipment in the attendance user terminal and the attendance region is not connected, examined described in determination Attendance reference information of the diligent user under the attendance time point is to leave the post.
13. according to the method for claim 12, which is characterized in that according to the attendance user within the single attendance period At least two attendance time points under attendance reference information, determine that the attendance user is within the single attendance period It is no that there are absence from work without reason behaviors, including:
It is set if the number of leaving the post under at least two attendance time points of the attendance user within the single attendance period reaches Determine number, it is determined that there are absence from work without reason behaviors within the single attendance period by the attendance user.
14. a kind of device of attendance tracking, which is characterized in that including:
Location information obtains module, described fixed for when reaching attendance time point, obtaining the location information of attendance user terminal Position information includes the terminal iidentification of the attendance user terminal;
Location information sending module, for the location information to be sent to server, wherein the location information is used to indicate The server judges whether the attendance user terminal is in attendance region, and institute is obtained when being not in attendance region The connection status of WIFI equipment in attendance user terminal and attendance region is stated, and according to attendance user terminal in the single attendance time Connection status in section under at least two attendance time points determines corresponding attendance user within the single period with the presence or absence of absence from work without reason Behavior.
15. a kind of device of attendance tracking, which is characterized in that including:
Location information receiving module, for receiving attendance user terminal in the location information at attendance time point, the location information Terminal iidentification including the attendance user terminal;
Connection status obtains module, for determining that the attendance user terminal is not in attendance region according to the location information It is interior, then obtain the connection status of WIFI equipment in the attendance user terminal and the attendance region;
Absence from work without reason behavior determining module, at least two attendances according to the attendance user terminal within the single attendance period Connection status under time point determines that corresponding attendance user whether there is absence from work without reason behavior within the single attendance period.
16. a kind of attendance user terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method of the attendance tracking as described in any in claim 1-4.
17. a kind of server, which is characterized in that the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method of the attendance tracking as described in any in claim 5-13.
18. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method of the attendance tracking as described in any in claim 1-4 or 5-13 is realized when execution.
CN201810547669.0A 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium Active CN108876950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547669.0A CN108876950B (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
CN201810547669.0A CN108876950B (en) 2018-05-31 2018-05-31 Attendance tracking method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN108876950A true CN108876950A (en) 2018-11-23
CN108876950B CN108876950B (en) 2021-07-20

Family

ID=64336013

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108876950B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886526A (en) * 2018-12-27 2019-06-14 东软集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of attendance evaluation
CN110189428A (en) * 2019-06-17 2019-08-30 中国联合网络通信集团有限公司 A kind of method and system checked card automatically
CN111372286A (en) * 2020-03-03 2020-07-03 浙江每日互动网络科技股份有限公司 Mobile terminal data processing method, medium and electronic device
CN112991567A (en) * 2021-02-07 2021-06-18 广州大学 Attendance management system based on WIFI positioning and face recognition and control method thereof

Citations (5)

* 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)
CN106127872A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, client 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

Patent Citations (5)

* 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)
CN106127872A (en) * 2016-06-21 2016-11-16 北京奇虎科技有限公司 Work attendance method based on mobile terminal, client 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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886526A (en) * 2018-12-27 2019-06-14 东软集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of attendance evaluation
CN110189428A (en) * 2019-06-17 2019-08-30 中国联合网络通信集团有限公司 A kind of method and system checked card automatically
CN111372286A (en) * 2020-03-03 2020-07-03 浙江每日互动网络科技股份有限公司 Mobile terminal data processing method, medium and electronic device
CN111372286B (en) * 2020-03-03 2023-06-23 浙江每日互动网络科技股份有限公司 Mobile terminal data processing method, medium and electronic equipment
CN112991567A (en) * 2021-02-07 2021-06-18 广州大学 Attendance management system based on WIFI positioning and face recognition and control method thereof

Also Published As

Publication number Publication date
CN108876950B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN106056369B (en) Information processing method and device
CN108876950A (en) Method, apparatus, terminal, server and the storage medium of attendance tracking
CN102404858B (en) Radio resource optimizing method, device and system
CN104157019B (en) Method and system of registering based on indoor positioning technologies
Carbunar et al. You unlocked the mt. everest badge on foursquare! countering location fraud in geosocial networks
CN109547535A (en) Apparatus bound methods, devices and systems
CN108734802A (en) A kind of method and device for attendance of checking card
CN103561070B (en) Point out the carry-on location method and device that equipment arrives at the most on time, system
CN107508883A (en) Information-pushing method, device, storage medium and mobile terminal
US9870688B2 (en) Protection support system, protection support server and protection terminal
CN103561074B (en) Point out the carry-on location method and device that equipment arrives at the most on time, system
CN108810821A (en) Method, apparatus, terminal, server and the storage medium of attendance tracking
US20160050267A1 (en) Sign-In Method and Terminal
CN107404706B (en) Bluetooth based on co-located is registered method
CN102958152A (en) WLAN (wireless local area network) positioning method and positioning server for positioning third part
CN100545824C (en) Be used for the system and method that session provides
CN108769210A (en) Method, apparatus, terminal, server and the storage medium of attendance tracking
CN108848139A (en) Method, apparatus, terminal, server and the storage medium of attendance tracking
CN111935627B (en) One-key roll-call method based on GIS service and storage medium
CN112492518B (en) Card determination method, device, electronic equipment and storage medium
CN108460854A (en) The attendance punch card method and system of mobile terminal based on wireless network
Mohandes et al. Pilgrim tracking and identification using wireless sensor networks and GPS in a mobile phone
CN105979483A (en) Sign-in method and mobile terminal
CN105050048B (en) A kind of network access point location information prompt method, terminal and server
KR102069095B1 (en) System and method for energy efficient WiFi people counter

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