A kind of handheld terminal, Time Attendance Device, electronic attendance system and Work attendance method
Technical field
The invention belongs to electronic attendance administrative skill field, it is related to a kind of attendance checking system, it is hand-held eventually more particularly to one kind
End, Time Attendance Device, electronic attendance system and Work attendance method.
Background technology
Enterprises and institutions are all to manage turning out for work for employee using system of attendance at present, therefore, attendance management be one very
Important link, and strict system of attendance is to do premise and the guarantee of every management work well.And with electronic technology
Development, there is a variety of attendance checking systems that can realize electronic work attendance, such as fingerprint attendance device, reading card device etc., these are examined
Diligent system is all to record the login time of employee using computer by manually checking card.Existing work attendance technology is substantially divided
For three kinds,
The first is the card work attendance of traditional type, it is necessary to user contacts card with attendance recorder, completes a work attendance, mainly
There are mechanical punched-card machine, magnetic card attendance recorder, IC-card contact attendance recorder, bar code attendance recorder, fingerprint attendance machine, eye rainbow attendance recorder etc.
Deng.The shortcomings that this kind of work attendance technology is to need to touch attendance recorder, the so peak period in work attendance, it is easy to causes crowded, row
The phenomenon of team's work attendance, delay the time of user.
It is for second active long-range work attendance, such as radio frequency card check-in device.The shortcomings that this kind of work attendance technology be card into
This is higher, can not solve for problem of checking card.
The third is the long-range work attendance of passive type.This kind of work attendance technology is by improving the technology of attendance recorder in itself, passing through
Scanning carries out work attendance by the mode of work attendance unit.Have the drawback that the efficiency of work attendance completely by attendance recorder performance institute in itself about
Beam, and the change to existing attendance checking system is bigger than normal, and cost is higher.
Therefore the situation that attendance recorder is above checked card, and member are queued in peak time on and off duty for existing work attendance technology
The phenomenon that mutually generation checks card between work just needs a kind of new attendance checking system.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of handheld terminal, Time Attendance Device,
Electronic attendance system and Work attendance method, can be in peak period on and off duty in work attendance for solving attendance checking system present in prior art
Occur being lined up the phenomenon checked card before machine, the phenomenon that mutually generation checks card between employee be present, while can solve employee due to numerous
The problem of busy or other reasonses are forgotten to check card.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of handheld terminal, including:Store mould
Block, for storing user profile and attendance record;Setting module, it is connected with the memory module, for setting sweep time
Section and setting work attendance mode;Work attendance login module, it is connected with the memory module and setting module, in the sweep time
Corresponding user profile generation work attendance solicited message is extracted in section according to the work attendance mode set;Encrypting module, it is and described
Work attendance login module connects, for producing a random key and being encrypted using default AES and caused random key
The work attendance solicited message;Wireless communication module, it is connected with the encrypting module, for being scanned in default sweep time section
Paired Time Attendance Device, and the work attendance solicited message after encryption is sent to institute being established with the Time Attendance Device after connection
Time Attendance Device is stated, and receives the invalid attendance information of the Time Attendance Device feedback or effective attendance information;Effectively examined described
Diligent information is stored to the memory module and recorded.
Preferably, the handheld terminal also includes display module, for provide the setting module setting interface and
Show effective attendance information of the Time Attendance Device feedback or invalid attendance information.
Preferably, the user profile includes IMEI number, user fingerprints and/or the user's face figure of the handheld terminal
Picture.
Preferably, the setting module also provides for user input interface, and the user input interface is recorded including fingerprint
Enter interface, and/or interface of taking pictures.
Preferably, the setting module is additionally operable to set work attendance login mode, and the work attendance login mode is included in described
Voluntarily start the automated log on pattern of the work attendance login module in sweep time section and the input instruction based on user starts
The manual entry pattern of work attendance login module.
Another aspect of the present invention provides a kind of Time Attendance Device, including:Memory module, used for storing mandate registered in advance
Effective attendance information of family information and record;Wireless communication module, it is connected with the memory module, for real time scan therewith
The handheld terminal of pairing, and have in the work attendance solicited message and feedback established with the handheld terminal after connection after receiving encryption
Invalid attendance information or effective attendance information give the handheld terminal;Deciphering module, it is connected, is used for the wireless communication module
The work attendance solicited message is decrypted using the decipherment algorithm of agreement;Data analysis module, respectively with the memory module
Connected with the deciphering module, whether the handheld terminal for judging to send the work attendance solicited message is authorized user, if so, then giving birth to
Into effective attendance information and store to the memory module, if it is not, then generating invalid attendance information, make the wireless communication module
There are invalid attendance information or effective attendance information described in feedback to the handheld terminal.
Preferably, the IMEI number of the authorization user information including authorized user's handheld terminal, authorized user's fingerprint and/
Or authorized user's facial image.
Preferably, the Time Attendance Device also includes information management module, described information management module and the memory module
Connection, for the authorization user information registered in advance stored in the memory module is added, delete, change and/or
Inquiry operation.
Preferably, the Time Attendance Device is divided into attendance recorder and the server being connected with the attendance recorder, the radio communication
Module, deciphering module and data analysis module are configured in the attendance recorder, and the memory module and information management module are matched somebody with somebody
It is placed in the server.
Another aspect of the present invention also provides a kind of electronic attendance system, it is characterised in that including:Handheld terminal, for depositing
User profile and attendance record are stored up, sweep time section and work attendance mode is set, is swept according to the work attendance mode set described
The corresponding user profile generation work attendance solicited message of extraction in the period is retouched, utilizes caused random key and default encryption
Work attendance solicited message described in algorithm for encryption, scans paired Time Attendance Device in predetermined sweep time section, and and institute
State and the work attendance solicited message after encryption is sent to the Time Attendance Device after Time Attendance Device foundation connects, and receive the work attendance
The invalid attendance information or effective attendance information of equipment feedback;The effectively attendance information is stored to be recorded;Time Attendance Device, use
In storing authorization user information registered in advance, the paired handheld terminal of real time scan, established with the handheld terminal
The work attendance solicited message after encryption is received after connection, and decrypts the work attendance solicited message, judges to send the work attendance request letter
Whether the handheld terminal of breath is authorized user, if so, then generating effective attendance information, if it is not, then generating invalid attendance information, is deposited
Effect attendance information is contained, and effectively attendance information and the invalid attendance information are fed back into the handheld terminal.
Preferably, the handheld terminal also provides for setting interface and display the effective of Time Attendance Device feedback examines
Diligent information or invalid attendance information.
Preferably, the user profile includes IMEI number, user fingerprints and/or the user's face figure of the handheld terminal
Picture.
Preferably, the handheld terminal also provides for user input interface, and the user input interface is recorded including fingerprint
Enter interface, and/or interface of taking pictures.
Preferably, the handheld terminal is additionally operable to set work attendance login mode, and the work attendance login mode is included in described
The manual entry pattern that the automated log on pattern voluntarily started in sweep time end and the input instruction based on user start.
Preferably, the Time Attendance Device be additionally operable to be added the authorization user information registered in advance of storage, delete,
Modification and/or inquiry operation.
Preferably, the Time Attendance Device includes attendance recorder and the server being connected with the attendance recorder.
Preferably, the IMEI number of the authorization user information including authorized user's handheld terminal, authorized user's fingerprint and/
Or authorized user's facial image.
Another aspect of the present invention provides a kind of Work attendance method again, is examined applied to the electronics including handheld terminal and Time Attendance Device
In diligent system, the Work attendance method comprises the following steps:The handheld terminal scans in the sweep time section to be examined with described
Diligent equipment is simultaneously established a connection, while corresponding user profile generation work attendance request is extracted according to the work attendance mode set
Information;User profile is stored with the handheld terminal;Authorization user information registered in advance is stored in the Time Attendance Device;Institute
State handheld terminal and produce random key, using random key and the AES that is preset in the handheld terminal by the work attendance
Encrypted request message;The handheld terminal sends the work attendance solicited message after encryption;The Time Attendance Device receives the institute after encryption
Work attendance solicited message is stated, and the work attendance solicited message is decrypted using the decipherment algorithm of agreement;The Time Attendance Device judges to send
Whether the handheld terminal of the work attendance solicited message is authorized user, if so, then generate has described in effective attendance information and storage
Imitate attendance information;If it is not, then generate invalid attendance information;The Time Attendance Device believes the effectively attendance information or invalid work attendance
Breath feeds back to the handheld terminal;And store effective attendance information;The handheld terminal receives effective attendance information or nothing
Effect attendance information simultaneously stores effective attendance information.
Preferably, the Work attendance method also includes recording effective attendance information so as to member corresponding to handheld terminal described in typing
Attendance record on the day of work.
Preferably, the Work attendance method also includes showing effective attendance information of the Time Attendance Device feedback or invalid work attendance
Information.
As described above, handheld terminal of the present invention, Time Attendance Device, electronic attendance system and Work attendance method, have with
Lower beneficial effect:
1st, electronic attendance system and Work attendance method of the present invention, by handheld terminal and Time Attendance Device in scanning constant
Pairing connection is actively carried out in period, judges whether handheld terminal is the authorized user stored in Time Attendance Device, completes work attendance
Registration, without being checked card close to Time Attendance Device, avoid peak period on and off duty and occur being lined up the phenomenon checked card before attendance recorder,
2nd, electronic attendance system and Work attendance method of the present invention are due to storing user profile, the use in handheld terminal
IMEI number, user fingerprints and/or the user's face head portrait for the handheld terminal that family information includes all are unique, therefore by dividing
Analysis compares, and verifies attendance information, has prevented the phenomenon that mutually replacement is checked card between employee.
3rd, in addition, preservation and processing of the present invention to authorization user information are more intelligent and simple, staff attendance note is obtained
Record, it is only necessary to which logging in attendance checking system can be to know that employee is punctual, be late, the work attendance attribute information such as leave early, therefore need not be from original
The very big attendance data of data volume in manually check attendance information, cost savings processing time and human resources.
4th, the present invention and meanwhile easily solve the problems, such as that employee forgets to check card due to busy or other reasonses.
Brief description of the drawings
Fig. 1 is shown as the handheld terminal theory structure schematic diagram of the present invention.
Fig. 2 is shown as setting the schematic diagram at interface in the handheld terminal of the present invention.
Fig. 3 is shown as the Time Attendance Device theory structure schematic diagram of the present invention.
Fig. 4 is shown as the electronic attendance system theory structure schematic diagram of the present invention.
Fig. 5 is shown as the Work attendance method flow chart of the present invention.
Component label instructions
1 electronic attendance system
10 handheld terminals
20 Time Attendance Devices
101 memory modules
102 setting modules
103 work attendance login modules
104 encrypting modules
105 wireless communication modules
106 display modules
201 servers
202 attendance recorders
2011 memory modules
2012 information management modules
2021 wireless communication modules
2022 deciphering modules
2023 data analysis modules
11 handheld terminals
12 Time Attendance Devices
111 first memory modules
112 setting modules
113 work attendance login modules
114 encrypting modules
115 first wireless communication modules
116 display modules
121 servers
122 attendance recorders
1211 second memory modules
1212 information management modules
1221 second wireless communication modules
1222 deciphering modules
1223 data analysis modules
S1~S10 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way
Think, only show the component relevant with the present invention in schema then rather than according to component count, shape and the size during actual implement
Draw, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel
It is likely more complexity.
Embodiment one
The present embodiment provides a kind of handheld terminal, and in the present embodiment, the handheld terminal is, for example, smart mobile phone, flat board
The portable electric appts such as computer, the hardware that the handheld terminal includes include CPU(Central processing unit), memory(For example,
FLASH memory), microphone, loudspeaker, touch display screen(Also known as touch-sensitive display panel or touching display screen), player, audio
Circuit, wireless communication module, system bus and input/output port etc..The handheld terminal with Time Attendance Device communicate and
Electronic attendance operation is completed in data interaction.
Referring to Fig. 1, the theory structure of handheld terminal is shown as, as illustrated, the handheld terminal 10 includes storage mould
Block 101, setting module 102, work attendance login module 103, encrypting module 104, wireless communication module 105 and display module 106.
Wherein, the memory module 101 is used to store user profile and the attendance record of user;The user profile bag
Include the IMEI number, user fingerprints and/or user's face head portrait of the handheld terminal 10 of user.
The setting module 102 is connected with the memory module 101, for setting sweep time section, in scanning constant
Between in section the handheld terminal 10 scan Time Attendance Device, and the setting module 102 is additionally operable to set work attendance mode.In addition,
The setting module 102 is additionally operable to set work attendance login mode, referring to Fig. 2, being shown as setting in the handheld terminal of the present invention
The schematic diagram at interface, as illustrated, in the display interface that handheld terminal provides, including two kinds of automatic mode and manual mode,
Specifically, the automatic mode, which is included in, voluntarily starts stepping on automatically for the work attendance login module 103 in the sweep time section
Record pattern;In other words, when reaching default sweep time, equipment will work attendance login described in automatic start within the period
Module 103 is logged in, at the same the wireless communication module 105 of equipment also can automatically scanning periphery with the presence or absence of can be without lines matching
Time Attendance Device.
Described manual mode is specially that the input manual entry instruction based on user starts the work attendance login module 103
Manual entry pattern.In the present embodiment, the setting operation of the setting module 102 is user to the input for touch-screen
Operation, i.e. user's touch display screen, handheld terminal 10 be used to performing with and touch-screen the various operations that are associated of contact it is each
The combination of kind software and hardware.The handheld terminal 10 can start the work attendance according to the manual entry instruction that user inputs and log in
Module 103, whether the wireless communication module 105 is stored paired with automatically scanning periphery in predetermined sweep time section
Work attendance login module 103 described in Time Attendance Device is connected with the memory module 101 and the setting module 102 respectively, for
Phase is extracted from the memory module 101 according to the work attendance mode that the setting module 102 is set in the sweep time section
Corresponding user profile, work attendance solicited message is generated, in the present embodiment, such as the work attendance mode set is is set to that IMEI is examined
It is diligent, then just to extract the IMEI of the handheld terminal 10((International Mobile Equipment Identity, i.e.,
International Mobile Equipment Identity code)Number, in other implementations, it can also be set to fingerprint attendance, then just extraction user refers to
Line, or it is set to face head portrait work attendance, then just extraction user's face head portrait.
The encrypting module 104 is connected with the work attendance login module 103, for producing a random key, and using in advance
The AES being located in the encrypting module 104 and the random key encrypt the work attendance solicited message.The encryption is calculated
Method is divided into symmetric encipherment algorithm and rivest, shamir, adelman.The symmetric encipherment algorithm includes DES algorithms, 3DES algorithms, TDEA
Algorithm, Blowfish algorithms, RC5 algorithms, IDEA algorithms.The rivest, shamir, adelman include RSA Algorithm, Elgamal algorithms,
Knapsack algorithm, Rabin algorithms, D-H algorithms, ECC algorithm(Elliptic curve encryption algorithm).
The wireless communication module 105 is connected with the encrypting module 104, in the default sweep time section
Paired Time Attendance Device is scanned, and sends the work attendance solicited message after encryption being established with the Time Attendance Device after connection
To the Time Attendance Device, and effective attendance information of the Time Attendance Device feedback or invalid attendance information are received, had described
Effect work attendance, which is transmitted to the memory module 101, to be recorded.In the present embodiment, the wireless communication module 105 can be blue
Tooth module.
The display module 106 is connected with the memory module 101 and the wireless communication module 105 respectively, for for
The setting module provides setting interface, and provides user input interface, and the invalid work attendance of the display Time Attendance Device feedback
Information or effective attendance information.The user input interface includes fingerprint input interface, and/or interface of taking pictures, the fingerprint record
Enter interface to scan down user fingerprints by the handheld terminal 10, and store it in the memory module 101.It is described
User's face head portrait is taken in interface of taking pictures by the handheld terminal 10 by mobile terminal camera, and by user's face head portrait
It is stored in the memory module 101.Referring to Fig. 2, it is shown as setting interface, in the setting interface, including during setting
Between section, automated log on pattern and manual entry pattern.More sweep time sections can also be set in the setting interface.
For the principle and effect of the present invention is expanded on further, during the work attendance of reality, the handheld terminal is described
Scanning and the Time Attendance Device and establish a connection in sweep time section, voluntarily start in the sweep time section automatic
Input to specify to start under login mode or based on user and phase is extracted according to the work attendance mode set under manual work attendance login mode
Corresponding user profile generates work attendance solicited message;User profile is stored with the handheld terminal;Deposited in the Time Attendance Device
Store up authorization user information registered in advance.The handheld terminal produces random key, using random key and is preset in the hand
AES in terminal is held by the work attendance encrypted request message.The handheld terminal sends the work attendance request letter after encryption
Breath.The Time Attendance Device receives the work attendance solicited message after encryption, and decrypts the work attendance using the decipherment algorithm of agreement
Solicited message.The Time Attendance Device can also receive the work attendance solicited message after more parts of encryptions simultaneously, be utilized respectively what is appointed
It is decrypted decipherment algorithm.Whether the handheld terminal that the Time Attendance Device judges to send the work attendance solicited message is mandate
User, if so, the Time Attendance Device generates effective attendance information and stores effective attendance information;If it is not, the work attendance is set
It is standby to generate invalid attendance information.Specifically described Time Attendance Device uses the work attendance solicited message after decryption with the mandate wherein stored
Family information is analysed and compared, according to analyses and comparison result judge send encryption work attendance solicited message handheld terminal whether be
Authorized user.The Time Attendance Device records effective attendance information so as to the work attendance on the day of employee corresponding to handheld terminal described in typing
Record.Effectively attendance information or the invalid attendance information are fed back to the handheld terminal by the Time Attendance Device.It is described hand-held
Terminal receives effective attendance information or invalid attendance information and stores effective attendance information, while shows the Time Attendance Device feedback
Effective attendance information or invalid attendance information.
Embodiment two
The present embodiment provides a kind of Time Attendance Device 20, and the Time Attendance Device includes attendance recorder and server, such as described examines
Diligent machine is password match attendance recorder, fingerprint attendance machine or face attendance recorder.In the present embodiment, the attendance recorder uses password
Attendance recorder is matched, this password is the IMEI number of the electronic equipment bound together with employee name.The Time Attendance Device is with having
The handheld terminal of attendance checking function carries out communication and electronic attendance operation is completed in data interaction.
3 are referred to, is shown as the theory structure of Time Attendance Device, as illustrated, the Time Attendance Device includes:Server 201
With the attendance recorder 202 being connected with the server 201.Memory module 2011 and information management module 2012 are configured in the service
In device 201, wireless communication module 2021, deciphering module 2022, data analysis module 2023 are configured in the attendance recorder 202.
Wherein, the memory module 2011 is used to store authorization user information registered in advance, and the effective of record examines
Diligent information.The IMEI number, authorized user's fingerprint and/or mandate that the authorization user information includes authorized user's handheld terminal are used
Family face head portrait.In the present embodiment, the memory module 2011 can be a database server.
Described information management module 2012 is connected with the memory module 2011, for being deposited in the memory module 2011
The authorization user information registered in advance of storage, which is added, deletes, changes and/or inquire about etc., to be operated, and can also be had to record
Effect attendance information is deleted.
The wireless communication module 2021 is connected with the memory module 2011, and paired for real time scan is hand-held
Terminal, and with the handheld terminal establish connection after receive the work attendance solicited message of encryption, and feed back effective attendance information or
Invalid attendance information gives the handheld terminal.In the present embodiment, the Time Attendance Device 20 can have multiple wireless communication modules
2021, multiple wireless communication modules 2021 can receive more parts of work attendance solicited messages simultaneously.In the present embodiment, the work attendance is set
Standby 20 can set 7-10 wireless communication module 2021.The wireless communication module 2021 can use bluetooth module.
The deciphering module 2022 is connected with the wireless communication module 2021, for the decipherment algorithm using agreement to institute
State the decryption of work attendance solicited message.
The data analysis module 2023 is connected with the deciphering module 2022, for by the work attendance solicited message after decryption
Authorization user information with being stored in the memory module 2011 is analysed and compared, and judges that transmission adds according to analyses and comparison result
Whether the handheld terminal of close work attendance solicited message is authorized user, if so, then generating effective attendance information and making the storage
Module 2011 is stored to record the attendance record of employee corresponding with the handheld terminal, if it is not, then generating invalid work attendance letter
Breath;The wireless communication module 2021 is made to feed back the invalid attendance information or effective attendance information to handheld terminal.In this reality
Apply in example, the data analysis module 2023 by the work attendance solicited message after decryption and the authorization user information by analyzing ratio
It is right, effective attendance information or invalid attendance information are generated, the work attendance attribute informations such as employee is punctual, is late, leaves early is drawn, then will
These work attendance property columns are stored in the memory module 2011.When the Time Attendance Device 20 has multiple wireless communication modules
When 2021, the data analysis module 2023 respectively simultaneously judge send encryption work attendance solicited message handheld terminal whether be
Authorized user, whether the handheld terminal for judging to send the work attendance solicited message is that authorized user is according in the Time Attendance Device
Whether the authorization user information of storage is consistent with the work attendance solicited message after the decryption.
The Time Attendance Device 20 when appear in the employee that checked card on the Time Attendance Device it is excessive when, then it is wireless voluntarily to start other
Communication module 2021, to avoid the occurrence of work attendance operation congestion.For example, in the present embodiment, the Time Attendance Device 20 can have 7
Individual wireless communication module 2021.
For the principle and effect of the present invention is expanded on further, during the work attendance of reality, the handheld terminal is described
Scanning and the Time Attendance Device and establish a connection in sweep time section, voluntarily start in the sweep time section automatic
Input to specify to start under login mode or based on user and phase is extracted according to the work attendance mode set under manual work attendance login mode
Corresponding user profile generates work attendance solicited message;User profile is stored with the handheld terminal;Deposited in the Time Attendance Device
Store up authorization user information registered in advance.The handheld terminal produces random key, using random key and is preset in the hand
AES in terminal is held by the work attendance encrypted request message.The handheld terminal sends the work attendance request letter after encryption
Breath.The Time Attendance Device receives the work attendance solicited message after encryption, and decrypts the work attendance using the decipherment algorithm of agreement
Solicited message.The Time Attendance Device can also receive the work attendance solicited message after more parts of encryptions simultaneously, be utilized respectively what is appointed
It is decrypted decipherment algorithm.Whether the handheld terminal that the Time Attendance Device judges to send the work attendance solicited message is mandate
User, if so, the Time Attendance Device generates effective attendance information and stores effective attendance information;If it is not, the work attendance is set
It is standby to generate invalid attendance information.Specifically described Time Attendance Device uses the work attendance solicited message after decryption with the mandate wherein stored
Family information is analysed and compared, according to analyses and comparison result judge send encryption work attendance solicited message handheld terminal whether be
Authorized user.The Time Attendance Device records effective attendance information so as to the work attendance on the day of employee corresponding to handheld terminal described in typing
Record.Effectively attendance information or the invalid attendance information are fed back to the handheld terminal by the Time Attendance Device.It is described hand-held
Terminal receives effective attendance information or invalid attendance information and stores effective attendance information, while shows the Time Attendance Device feedback
Effective attendance information or invalid attendance information.
Embodiment three
The present embodiment provides a kind of electronic attendance system 1, referring to Fig. 4, the theory structure of electronic attendance system is shown as,
The electronic attendance system includes:Handheld terminal 11 and Time Attendance Device 12.
In the present embodiment, the handheld terminal 11 for example, portable electric appts such as smart mobile phone, tablet personal computer, institute
Stating the hardware that handheld terminal includes includes CPU(Central processing unit), memory(For example, FLASH memory), microphone, raise one's voice
Device, touch display screen(Also known as touch-sensitive display panel or touching display screen), player, voicefrequency circuit, wireless communication module, system is total
Line and input/output port etc..The handheld terminal 11 with Time Attendance Device 12 communicate and electronic attendance is completed in data interaction
Operation.
The handheld terminal 11 is used to be stored with user profile, attendance record, and default sweep time section and work attendance
Mode, paired Time Attendance Device is scanned in the sweep time section and is established a connection, while be to examine according to presetting
Diligent mode extracts corresponding user profile generation work attendance solicited message, utilizes caused random key and default AES
Encrypt the work attendance solicited message and be sent to the Time Attendance Device, and receive Time Attendance Device feedback invalid attendance information or
Effective attendance information;The effectively attendance information is stored to be recorded;The handheld terminal 11 can be additionally used in set Checking on Work Attendance Mode,
Effective attendance information of setting interface and user input interface and the display feedback or invalid attendance information are provided.It is described to examine
Diligent login mode is included in the automated log on pattern that voluntarily starts in the sweep time section and the input based on user is stepped on manually
The manual entry pattern that record instruction starts.The user input interface includes fingerprint input interface, and/or interface of taking pictures.It is described
User profile includes IMEI number, user fingerprints and/or the user's facial image of the handheld terminal 11.
The handheld terminal 11 includes the first memory module 111, setting module 112, work attendance login module 113, encryption
Module 114, the first wireless communication module 115 and display module 116.
Wherein, first memory module 111 is used to store user profile and the attendance record of user;User's letter
Breath includes IMEI number, user fingerprints and/or the user's face head portrait of the handheld terminal 11 of user.
The setting module 112 is connected with first memory module 111, for setting sweep time section, is swept in fixation
Retouch the handheld terminal 11 in the period and scan Time Attendance Device, and the setting module 112 is additionally operable to set work attendance mode.Separately
Outside, the setting module 112 is additionally operable to set work attendance login mode, referring to Fig. 2, being shown as setting in the handheld terminal of the present invention
The schematic diagram in demarcation face, as illustrated, in the display interface that handheld terminal provides, including automatic mode and manual mode two
Kind, specifically, the automatic mode, which is included in the sweep time section, voluntarily starts the automatic of the work attendance login module 113
Login mode;In other words, when reaching default sweep time, within the period equipment will work attendance described in automatic start step on
Record module 113 is logged in, at the same the first wireless communication module 115 of equipment also can automatically scanning periphery with the presence or absence of can nothing
The Time Attendance Device of lines matching.
Described manual mode is specially that the input manual entry instruction based on user starts the work attendance login module 113
Manual entry pattern.In the present embodiment, the setting operation of the setting module 112 is user to the input for touch-screen
Operation, i.e. user's touch display screen, handheld terminal 11 be used to performing with and touch-screen the various operations that are associated of contact it is each
The combination of kind software and hardware.The handheld terminal 11 can start the work attendance according to the manual entry instruction that user inputs and log in
Module 113, first wireless communication module 115 is matched somebody with somebody therewith with whether automatically scanning periphery stores in predetermined sweep time section
To Time Attendance Device
The work attendance login module 113 is connected with first memory module 111 and the setting module 112 respectively, is used
In in the sweep time section according to the work attendance mode that the setting module 112 is set from first memory module 111
The corresponding user profile of middle extraction, generates work attendance solicited message, for example, being set to IMEI work attendances, then just extract the hand
The IMEI number of terminal 11 is held, is set to fingerprint attendance, then just extraction user fingerprints, or it is set to face head portrait work attendance, then
With regard to extracting user's face head portrait.
The encrypting module 114 is connected with the work attendance login module 113, for producing a random key, and using in advance
The AES being located in the encrypting module 114 and the random key encrypt the work attendance solicited message.The encryption is calculated
Method is divided into symmetric encipherment algorithm and rivest, shamir, adelman.The symmetric encipherment algorithm includes DES algorithms, 3DES algorithms, TDEA
Algorithm, Blowfish algorithms, RC5 algorithms, IDEA algorithms.The rivest, shamir, adelman include RSA Algorithm, Elgamal algorithms,
Knapsack algorithm, Rabin algorithms, D-H algorithms, ECC algorithm(Elliptic curve encryption algorithm).
First wireless communication module 115 is connected with the encrypting module 114, in the default sweep time
The paired Time Attendance Device of scanning in section, and by the work attendance solicited message after encryption after being connected with Time Attendance Device foundation
The Time Attendance Device is sent to, and receives effective attendance information of the Time Attendance Device feedback or invalid attendance information, by institute
State effective work attendance and transmit to first memory module 111 and recorded.In the present embodiment, first wireless communication module
115 can be bluetooth module.
The display module 116 connects with first memory module 111 and first wireless communication module 115 respectively
Connect, for providing setting interface for the setting module, and provide user input interface, and the display Time Attendance Device feedback
Invalid attendance information or effective attendance information.The user input interface includes fingerprint input interface, and/or interface of taking pictures, institute
State fingerprint input interface to scan down user fingerprints by the handheld terminal 11, and store it in the first storage mould
In block 111.User's face head portrait is taken in the interface of taking pictures by the handheld terminal 11 by mobile terminal camera, and will
User's face head portrait is stored in first memory module 111.
The Time Attendance Device 12 is used to be stored with authorization user information registered in advance, and real time scan is paired to be held
Terminal, in the work attendance solicited message established with the handheld terminal after connection after receiving encryption, and decrypt the work attendance request letter
Breath, whether the handheld terminal for judging to send the work attendance solicited message is authorized user, if so, effective attendance information is then generated,
If it is not, then generating invalid attendance information, effective attendance information is stored, and effectively attendance information and the invalid attendance information is anti-
Feed the handheld terminal.The Time Attendance Device 12 is that attendance recorder adds server, such as the attendance recorder can be password match
Attendance recorder, fingerprint attendance machine or face attendance recorder.In the present embodiment, the attendance recorder uses password match attendance recorder, and this is close
Code is the IMEI number of the electronic equipment bound together with employee name.The Time Attendance Device 12 and holding with attendance checking function
Terminal 11 carries out communication and electronic attendance operation is completed in data interaction.
The Time Attendance Device 12 divides the attendance recorder 122 being connected for server 121 and with the server 121.Second storage
Module 1211 and information management module 1212 are configured in the server 121, the second wireless communication module 1221, deciphering module
1222nd, data analysis module 1223 is configured in the attendance recorder 122.
Wherein, second memory module 1211 is used to store authorization user information registered in advance, and record have
Imitate attendance information.The IMEI number of the authorization user information including authorized user's handheld terminal, authorized user's fingerprint and/or award
Weigh user's face head portrait.In the present embodiment, second memory module 1211 can be a database.
Described information management module 1212 is connected with second memory module 1211, for second memory module
The authorization user information registered in advance stored in 1211 such as is added, deletes, changes and/or inquired about at the operation, can also be right
Effective attendance information of record is deleted.
Second wireless communication module 1221 is connected with second memory module 1211, is matched somebody with somebody therewith for real time scan
To handheld terminal, and receive the work attendance solicited message of encryption being established with the handheld terminal after connection, and feed back and effectively examine
Diligent information or invalid attendance information give the handheld terminal.In the present embodiment, the Time Attendance Device 12 can have multiple second
Wireless communication module 1221, multiple second wireless communication modules 1221 receive more parts of work attendance solicited messages simultaneously.In the present embodiment
In, the Time Attendance Device 12 can set 7-10 the second wireless communication modules 1221.
The deciphering module 1222 is connected with second wireless communication module 1221, for the decipherment algorithm using agreement
The work attendance solicited message is decrypted.
The data analysis module 1223 is connected with second memory module 1211 and the deciphering module 1222 respectively,
For the work attendance solicited message after decryption to be analyzed with the authorization user information stored in second memory module 1211
Compare, whether the handheld terminal for being judged to send the work attendance solicited message of encryption according to analyses and comparison result is authorized user, if so,
Then generate effective attendance information and make second memory module 1211 store to record member corresponding with the handheld terminal
The attendance record of work, if it is not, then generating invalid attendance information;Second wireless communication module 1221 is made to feed back described invalid examine
Diligent information or effective attendance information are to handheld terminal.In the present embodiment, after the data analysis module 1223 will be by that will decrypt
Work attendance solicited message and the authorization user information analyse and compare, generate effective attendance information or invalid attendance information, draw
Then these work attendance property columns are stored in second memory module by the work attendance attribute informations such as employee is punctual, is late, leaves early
In 1211.When the Time Attendance Device 12 has multiple second wireless communication modules 1221, the data analysis module 1223 divides
Whether the handheld terminal for not judging to send the work attendance solicited message of encryption not simultaneously is authorized user, judges to send the work attendance request
The handheld terminal of information whether be authorized user be according to the authorization user information stored in the Time Attendance Device whether with it is described
Work attendance solicited message after decryption is consistent.
The Time Attendance Device 12 when appear in the employee that checked card on the Time Attendance Device it is excessive when, then voluntarily start other second
Wireless communication module 1221, to avoid the occurrence of work attendance operation congestion.For example, in the present embodiment, the Time Attendance Device 12 can be with
With 7 wireless communication modules 1221.
For the principle and effect of the present invention is expanded on further, during the work attendance of reality, the electronic attendance system
Specific work process is:
The handheld terminal is scanned in the sweep time section and the Time Attendance Device and established a connection, described
Under the automated log on pattern voluntarily started in sweep time section or input to specify based on user and start under manual work attendance login mode
Work attendance mode according to setting extracts corresponding user profile generation work attendance solicited message;It is stored with the handheld terminal
User profile;Authorization user information registered in advance is stored in the Time Attendance Device.The handheld terminal produces random key, profit
With random key and the AES that is preset in the handheld terminal by the work attendance encrypted request message.The handheld terminal
Send the work attendance solicited message after encryption.The Time Attendance Device receives the work attendance solicited message after encryption, and utilizes agreement
Decipherment algorithm decrypt the work attendance solicited message.The Time Attendance Device can also receive the work attendance request after more parts of encryptions simultaneously
Information, it is utilized respectively the decipherment algorithm appointed and it is decrypted.The Time Attendance Device judges to send the work attendance request letter
Whether the handheld terminal of breath is authorized user, described is effectively examined if so, the Time Attendance Device generates effective attendance information and stored
Diligent information;If it is not, the Time Attendance Device generates invalid attendance information.Specifically described Time Attendance Device asks the work attendance after decryption
Information is analysed and compared with the authorization user information wherein stored, judges that the work attendance for sending encryption please according to analyses and comparison result
Whether the handheld terminal for seeking information is authorized user.The Time Attendance Device records effective attendance information to be held eventually described in typing
Attendance record on the day of employee corresponding to end.The Time Attendance Device feeds back to effectively attendance information or the invalid attendance information
The handheld terminal.The handheld terminal receives effective attendance information or invalid attendance information and stores effective attendance information, together
When show effective attendance information of Time Attendance Device feedback or invalid attendance information.
Electronic attendance system described in the present embodiment, entered by the handheld terminal with wireless communication module with wireless
The Time Attendance Device of communication module, pairing connection is actively carried out, judge whether handheld terminal is that the mandate stored in Time Attendance Device is used
Family, work attendance registration is completed, without being checked card close to Time Attendance Device, peak period on and off duty is avoided and is lined up before attendance recorder
The phenomenon checked card, and due to storing user profile in handheld terminal, the user profile includes the IMEI number of handheld terminal, used
Family fingerprint and/or user's face head portrait, these information are all unique, therefore by analysing and comparing, verify attendance information, with
Prevent the phenomenon that mutually replacement is checked card between employee.In addition, preservation and processing of the present invention to authorization user information are more intelligent
With it is simple, obtain staff attendance record, it is only necessary to which logging in attendance checking system can be to know that employee is punctual, be late, the work attendance category such as leave early
Property information, therefore attendance information need not be manually checked from the very big attendance data of original data volume, it cost savings place
Manage time and human resources.Can easily solve the problems, such as that employee forgets to check card due to busy or other reasonses simultaneously.
Example IV
The present embodiment provides a kind of Work attendance method, applied to the electronic attendance system for including handheld terminal and Time Attendance Device
In, referring to Fig. 5, being shown as Work attendance method flow, the Work attendance method comprises the following steps:
S1, the handheld terminal are scanned in the sweep time section and the Time Attendance Device and established a connection,
Input to specify under the automated log on pattern voluntarily started in the sweep time section or based on user and start manual work attendance login mould
Corresponding user profile generation work attendance solicited message is extracted under formula according to the work attendance mode set;Deposited in the handheld terminal
Contain user profile;Authorization user information registered in advance is stored in the Time Attendance Device.
S2, the handheld terminal produce random key, utilize random key and the encryption being preset in the handheld terminal
Algorithm is by the work attendance encrypted request message.
S3, the handheld terminal send the work attendance solicited message after encryption.
S4, the Time Attendance Device receives the work attendance solicited message after encryption, and utilizes the decipherment algorithm decryption of agreement
The work attendance solicited message.In step s 4, the Time Attendance Device can also receive the work attendance request letter after more parts of encryptions simultaneously
Breath, is utilized respectively the decipherment algorithm appointed and it is decrypted.
S5, whether the handheld terminal that the Time Attendance Device judges to send the work attendance solicited message is authorized user, if so,
Then perform step S6;If it is not, then perform step S7.This step is specifically the Time Attendance Device by the work attendance solicited message after decryption
Authorization user information with wherein storing is analysed and compared, and judges that letter is asked in the work attendance for sending encryption according to analyses and comparison result
Whether the handheld terminal of breath is authorized user.In step S5, the Time Attendance Device can also judge that sending more parts of work attendances asks simultaneously
Whether the handheld terminal for seeking information is authorized user.In the present embodiment, the Time Attendance Device judges to send the work attendance request
The handheld terminal of information whether be authorized user be according to the authorization user information stored in the Time Attendance Device whether with it is described
Work attendance solicited message after decryption is consistent.
S6, the Time Attendance Device generate effective attendance information and store effective attendance information, continue executing with step S8;
S7, the Time Attendance Device generate invalid attendance information, continue executing with step S9.
S8, the Time Attendance Device record effective attendance information so as to employee corresponding to handheld terminal described in typing on the day of examine
Diligent record.
Effectively attendance information or the invalid attendance information are fed back to the handheld terminal by S9, the Time Attendance Device.
S10, the handheld terminal receive effective attendance information or invalid attendance information and store effective attendance information, simultaneously
Show effective attendance information of the Time Attendance Device feedback or invalid attendance information.
In summary, handheld terminal of the present invention, Time Attendance Device, electronic attendance system and Work attendance method, pass through hand
Hold terminal and actively carry out pairing within the scanning constant period with Time Attendance Device and connect, judge whether handheld terminal is Time Attendance Device
The authorized user of middle storage, work attendance registration is completed, without being checked card close to Time Attendance Device, avoids peak period on and off duty in attendance recorder
Above occur being lined up the phenomenon checked card, and due to storing user profile in handheld terminal, the user profile includes hand-held
IMEI number, user fingerprints and/or the user's face head portrait of terminal are all unique, therefore by analysing and comparing, verification work attendance letter
Breath, the phenomenon that mutually replacement is checked card between employee is prevented.In addition, preservation and processing of the present invention to authorization user information are more
Intelligence and simple, obtains staff attendance record, it is only necessary to which logging in attendance checking system can be to know that employee is punctual, be late, leave early etc. and to examine
Diligent attribute information, therefore attendance information need not be manually checked from the very big attendance data of original data volume, greatly save
Processing time and human resources.The present invention easily solves the problems, such as that employee forgets to check card due to busy or other reasonses simultaneously.
So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.