CN107169726B - Two-dimensional code attendance card punching method and device - Google Patents

Two-dimensional code attendance card punching method and device Download PDF

Info

Publication number
CN107169726B
CN107169726B CN201710239433.6A CN201710239433A CN107169726B CN 107169726 B CN107169726 B CN 107169726B CN 201710239433 A CN201710239433 A CN 201710239433A CN 107169726 B CN107169726 B CN 107169726B
Authority
CN
China
Prior art keywords
attendance
dimensional code
card punching
unit
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.)
Active
Application number
CN201710239433.6A
Other languages
Chinese (zh)
Other versions
CN107169726A (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.)
Shanghai Foreign Service Information Technology Co Ltd
Original Assignee
Shanghai Foreign Service 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 Shanghai Foreign Service Information Technology Co Ltd filed Critical Shanghai Foreign Service Information Technology Co Ltd
Priority to CN201710239433.6A priority Critical patent/CN107169726B/en
Publication of CN107169726A publication Critical patent/CN107169726A/en
Application granted granted Critical
Publication of CN107169726B publication Critical patent/CN107169726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Mining & Analysis (AREA)

Abstract

The embodiment of the invention discloses a two-dimensional code attendance card punching method and a device, attendance equipment sends a two-dimensional code picture acquisition request to an attendance server, the attendance server generates a two-dimensional code picture containing attendance place information, the attendance equipment can display the two-dimensional code picture, employees can scan and analyze the two-dimensional code picture through scanning equipment, the scanning equipment sends user information and the analyzed attendance place information to the attendance server, the attendance server takes the corresponding time when the information is received as card punching time, and stores the attendance place information, the user information and the card punching time in a database, thereby finishing attendance registration of the employees. It can be seen that the staff can realize the attendance and punch the card through the mode of scanning the two-dimensional code, can effectively promote the efficiency of attendance and punch the card to the attendance information that every staff corresponds can directly be saved in the database, does not need extra derivation data, the effectual loaded down with trivial details step that has reduced attendance statistics.

Description

Two-dimensional code attendance card punching method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for checking attendance and punching cards by using two-dimensional codes.
Background
In order to strengthen the attendance management of the company personnel, the enterprise needs to check the attendance of the personnel in the work attendance time. In the traditional mode, an attendance machine is generally used for checking attendance in a card swiping or fingerprint identification mode. However, in this attendance mode, the same attendance device can only be used by one user, which results in that staff have to be arranged in front of the attendance machine to swipe cards one by one or print fingerprints during the time of going to work and getting out of work at the peak of attendance. For large-scale enterprises with many employees, the efficiency is obviously too low, and the experience of the employees is not good. But if purchase more attendance equipment in order to promote attendance efficiency, will add cost again for the enterprise. And data in the attendance checking equipment can be counted after being exported, and the export process is complicated, so that the working efficiency is influenced.
Therefore, how to improve the attendance checking efficiency is a problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for punching a two-dimensional code attendance card, which can effectively improve the attendance efficiency.
In order to solve the technical problem, an embodiment of the present invention provides a two-dimensional code attendance card punching method, including:
receiving a two-dimensional code picture acquisition request sent by attendance checking equipment; the two-dimensional code picture acquisition request carries a serial number corresponding to the attendance checking equipment;
inquiring attendance location information corresponding to the serial number from a corresponding relation list pre-stored in a database according to the serial number;
generating a corresponding two-dimensional code picture according to the attendance location information; sending the two-dimensional code picture to the attendance checking equipment;
receiving a card punching request sent by a code scanning device after scanning and analyzing the two-dimensional code picture; the card punching request carries the attendance location information and the user information;
and verifying whether the attendance place information carried in the card punching request is correct, if so, taking the time corresponding to the card punching request as the card punching time, and storing the attendance place information, the user information and the card punching time in a database.
Optionally, before generating the corresponding two-dimensional code picture according to the attendance location information, the method further includes:
encrypting the attendance location information, and storing an encrypted key in a cache server;
correspondingly, before the verifying whether the attendance location information carried in the card punching request is correct, the method further comprises:
and searching a corresponding key from the cache server, and decrypting the encrypted attendance location information by using the key to obtain the decrypted attendance location information.
Optionally, for a correspondence list pre-stored in the database, the establishing of the correspondence list includes:
receiving a verification request sent by the attendance checking equipment, wherein the verification request comprises a verification code and a serial number of the attendance checking equipment;
and establishing a corresponding relation list of the attendance places and the serial numbers, and storing the corresponding relation list in the database.
The embodiment of the invention also provides a two-dimensional code attendance card punching device, which comprises a receiving unit, an inquiring unit, a generating unit, a sending unit, a verifying unit and a storage unit, wherein the receiving unit comprises:
the receiving unit is used for receiving a two-dimensional code picture acquisition request sent by attendance checking equipment; the two-dimensional code picture acquisition request carries a serial number corresponding to the attendance checking equipment;
the inquiry unit is used for inquiring attendance location information corresponding to the serial number from a corresponding relation list pre-stored in a database according to the serial number;
the generating unit is used for generating a corresponding two-dimensional code picture according to the attendance location information;
the sending unit is used for sending the two-dimensional code picture to the attendance checking equipment;
the receiving unit is also used for receiving a card punching request sent by the code scanning equipment after scanning and analyzing the two-dimensional code picture; the card punching request carries the attendance location information and the user information;
the verification unit is used for verifying whether the attendance place information carried in the card punching request is correct, if so, the time corresponding to the time when the card punching request is received is used as the card punching time, and the storage unit is triggered and used for storing the attendance place information, the user information and the card punching time in a database.
Optionally, the method further includes an encryption unit and a decryption unit:
the encryption unit is used for encrypting the attendance location information and storing an encrypted key in a cache server;
the decryption unit is used for searching a corresponding key from the cache server, decrypting the encrypted attendance location information by using the key, and acquiring the decrypted attendance location information.
Optionally, the method further includes, for the correspondence list pre-stored in the database, an establishing unit:
the receiving unit is also used for receiving an authentication request sent by the attendance checking equipment and triggering the establishing unit;
the establishing unit is used for establishing a corresponding relation list of the attendance places and the serial number according to the verification codes contained in the verification requests and the serial number of the attendance equipment, and triggering the storage unit, and the storage unit is also used for storing the corresponding relation list in the database.
According to the technical scheme, after receiving a two-dimensional code picture acquisition request sent by attendance equipment, an attendance server can inquire attendance place information corresponding to a serial number carried in the acquisition request from a corresponding relation list pre-stored in a database; generating a two-dimensional code picture containing the attendance location information; the two-dimensional code picture is sent to attendance checking equipment, the attendance checking equipment displays the two-dimensional code picture, an employee can scan and analyze the two-dimensional code picture through scanning equipment, and after the scanning equipment acquires attendance checking location information contained in the two-dimensional code picture, a card punching request carrying the attendance checking location information and user information can be sent to an attendance checking server; in order to ensure the correctness of the two-dimensional code picture scanned by the code scanning equipment, the attendance server can verify whether the attendance place information carried in the card punching request is correct, if so, the time corresponding to the card punching request is taken as the card punching time, and the attendance place information, the user information and the card punching time are stored in a database. It can be seen that the staff can realize the attendance and punch the card through the mode of scanning the two-dimensional code, can effectively promote the efficiency of attendance and punch the card to the attendance information that every staff corresponds can directly be saved in the database, does not need extra derivation data, the effectual loaded down with trivial details step that has reduced attendance statistics.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a two-dimensional code attendance card punching method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for establishing a corresponding relationship list according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a two-dimensional code attendance card punching device provided by the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
In the traditional mode, adopt the attendance machine to punch the card or the mode attendance of punching the fingerprint, to the enterprise that the scale is big, the staff is many, this kind of attendance mode efficiency is lower to just can make statistics of after data need derive in the attendance machine, the process is comparatively loaded down with trivial details.
To this end, the embodiments of the present invention provide a method and an apparatus for two-dimensional code attendance card punching, wherein an attendance device and an attendance server can communicate with each other, the attendance device sends a two-dimensional code picture acquisition request to the attendance server, the attendance server generates a two-dimensional code picture containing attendance location information, the attendance device can display the two-dimensional code picture sent by the attendance server, and an employee can use a mobile phone or a software with a code scanning function on a tablet computer, for example, a WeChat APP, a personnel APP and the like scan the two-dimensional code picture, send the user information of the user and the analyzed attendance location information to an attendance server, the attendance server takes the corresponding time when the information is received as the time of card punching, and the attendance place information, the user information and the card punching time are stored in a database, so that the attendance registration of the staff is completed.
Through the technical scheme provided by the embodiment of the invention, the employees can realize attendance card punching in a mode of scanning the two-dimensional code, so that the attendance card punching is faster and more convenient, the attendance card punching efficiency can be effectively improved, the attendance information corresponding to each employee can be directly stored in the database without additional data derivation, and compared with the traditional mode, the complicated steps of attendance statistics are effectively reduced.
In the embodiment of the present invention, the attendance checking Device may be a Device for displaying a two-dimensional code picture, for example, a Personal Computer (PC), a mobile phone, a tablet Personal Computer (PAD), and the like. The attendance server can be a server used for generating two-dimensional code pictures and counting staff attendance information. The communication between the attendance equipment and the attendance server can be realized by installing the 'informed traffic' software on the attendance equipment.
Next, a method for checking attendance by using a two-dimensional code according to an embodiment of the present invention will be described in detail. Fig. 1 is a flowchart of a two-dimensional code attendance card punching method provided in an embodiment of the present invention, the method including:
s101: and receiving a two-dimensional code picture acquisition request sent by the attendance checking equipment.
For a company with a large scale, the attendance places can be provided with a plurality of places, one or more attendance devices can be arranged for each attendance place, and each attendance device has a corresponding serial number. In order to facilitate the acquisition of the attendance card punching performed by the employee at which attendance place, in the embodiment of the present invention, a correspondence list between the serial number and the attendance place may be stored in advance in the database, and for the operation flow for establishing the correspondence list, a description will be made in the following content, which is not described in detail herein.
In specific implementation, the attendance device may send a two-dimensional code picture acquisition request to an attendance server through installed "know-how" software, where the acquisition request may carry a serial number corresponding to the attendance device.
Taking one day as an example, the "know-go" software sends a two-dimensional code image acquisition request to the attendance server for the first time, the "know-go" software may be opened by an administrator of the attendance device so that the "know-go" software can send the acquisition request to the attendance server, or the running time may be preset, for example, 7 am is set, and the attendance device may automatically run the "know-go" software so that the "know-go" software can send a request to the attendance server.
In addition, for the "know-to-go" software, a timing mode may be set, so that the "know-to-go" software on the attendance checking equipment may send a two-dimensional code image acquisition request to the attendance checking server once every fixed time period.
S102: and inquiring attendance location information corresponding to the serial number from a corresponding relation list pre-stored in a database according to the serial number.
The corresponding relation between the serial number and the attendance location is stored in the corresponding relation list, whether the serial number which is the same as the serial number carried in the acquisition request exists or not can be searched from the corresponding relation list according to the serial number carried in the acquisition request, and if the serial number exists, the attendance location corresponding to the serial number is the attendance location where the attendance equipment is located.
S103: generating a corresponding two-dimensional code picture according to the attendance location information; and sending the two-dimensional code picture to the attendance checking equipment.
The attendance server can package the attendance place information, so that a two-dimensional code picture is generated, namely the two-dimensional code picture contains the attendance place information.
S104: and receiving a card punching request sent by the code scanning equipment after scanning and analyzing the two-dimensional code picture.
The attendance checking equipment can receive the two-dimensional code picture sent by the attendance checking server through the 'know-how' software and display the two-dimensional code picture through a display screen on the attendance checking equipment. The size of the two-dimensional code picture displayed on the display screen can be adjusted to adapt to the density of the staff who scan the code and check the card in the same time period.
The staff can utilize and sweep this two-dimensional code picture of sign indicating number equipment scanning. The scanning device may be a device with a code scanning function, for example, a mobile phone, a PAD, and the like, which are installed with code scanning software such as a WeChat APP or a personal communications APP. This sweep a yard equipment and can communicate with attendance server.
Taking a personal assistant APP as an example, an access address of an attendance server is stored in the APP in advance, and when an employee uses the APP, personal information, that is, user information is registered. After the APP scans the two-dimensional code picture, the APP can analyze the two-dimensional code picture, the attendance location information contained in the two-dimensional code picture is acquired, and according to the pre-stored access address, the card punching request can be sent to the attendance server.
The card punching request can be used for indicating the condition that the employee punches the card for checking the attendance, and after the attendance server receives the card punching request, the employee is shown to punch the card for checking the attendance. In order to facilitate the attendance server to count the attendance information of the staff, the card punching request can carry attendance location information and user information.
S105: and verifying whether the attendance place information carried in the card punching request is correct, if so, taking the time corresponding to the card punching request as the card punching time, and storing the attendance place information, the user information and the card punching time in a database.
The method comprises the steps that attendance place information is stored in a database, in order to ensure the correctness of a two-dimensional code picture scanned by code scanning equipment, after a server receives a card punching request, the attendance place information carried in the card punching request can be matched with the attendance place information stored in the database, if the attendance place information which is the same as the attendance place information carried in the card punching request exists in the database, the attendance place information is correct, at the moment, the server can take the system time of receiving the card punching request as the card punching time of an employee, and the attendance place information, user information and the card punching time are stored in the database, so that the statistics of attendance card punching of the employee is completed.
According to the technical scheme, after receiving a two-dimensional code picture acquisition request sent by attendance equipment, an attendance server can inquire attendance place information corresponding to a serial number carried in the acquisition request from a corresponding relation list pre-stored in a database; generating a two-dimensional code picture containing the attendance location information; the two-dimensional code picture is sent to attendance checking equipment, the attendance checking equipment displays the two-dimensional code picture, an employee can scan and analyze the two-dimensional code picture through scanning equipment, and after the scanning equipment acquires attendance checking location information contained in the two-dimensional code picture, a card punching request carrying the attendance checking location information and user information can be sent to an attendance checking server; in order to ensure the correctness of the two-dimensional code picture scanned by the code scanning equipment, the attendance server can verify whether the attendance place information carried in the card punching request is correct, if so, the time corresponding to the card punching request is taken as the card punching time, and the attendance place information, the user information and the card punching time are stored in a database. It can be seen that the staff can realize the attendance and punch the card through the mode of scanning the two-dimensional code, can effectively promote the efficiency of attendance and punch the card to the attendance information that every staff corresponds can directly be saved in the database, does not need extra derivation data, the effectual loaded down with trivial details step that has reduced attendance statistics.
It can be known from the above introduction that the attendance server mainly uses the attendance location information as a basis to verify the correctness of the two-dimensional code picture scanned by the code scanning device, and in order to ensure the security of the attendance location information contained in the two-dimensional code picture, the attendance server can encrypt the attendance location information before generating the two-dimensional code picture, so that the generated two-dimensional code picture contains the encrypted attendance location information.
Specifically, the attendance location information may be encrypted, and the encrypted key may be stored in a cache server; correspondingly, before the verifying whether the attendance location information carried in the card punching request is correct, the method further comprises:
and searching a corresponding key from the cache server, and decrypting the encrypted attendance location information by using the key to obtain the decrypted attendance location information.
The cache server can be used for storing a key for encrypting the attendance location information. In the above description, the attendance device may send the two-dimensional code picture acquisition request to the attendance server at regular time through the "know-how" software, and the attendance server may encrypt the attendance location information by using a key corresponding to the attendance location information each time the attendance server receives the acquisition request, so that the generated two-dimensional code picture includes the encrypted attendance location information.
In the embodiment of the invention, the corresponding key can be generated according to the attendance location information and the corresponding system time when the attendance server receives the acquisition request, namely the key has timeliness. For the same attendance checking place, the cache server only stores one corresponding key, namely the key generated for the second time, the key stored on the cache server for the last time is covered, and the cache server only stores the key generated for the latest time.
In the embodiment of the present invention, a correspondence list between an attendance place and a serial number, which is pre-stored in a database, is a precondition for executing the technical scheme of the embodiment of the present invention, and then, a process of establishing the correspondence list is introduced, wherein the establishing step is as follows:
s201: and receiving a verification request sent by the attendance checking equipment, wherein the verification request comprises a verification code and a serial number of the attendance checking equipment.
In a specific implementation, an administrator can acquire the verification code corresponding to the attendance place by clicking the "acquire verification code" button on an attendance place management page of the attendance server, and the corresponding relationship between the verification code and the attendance place can be stored in the database by clicking the "store" button.
The administrator can input the verification code on an input page of the 'know-go' software installed on the attendance checking equipment, and as each attendance checking equipment has the unique corresponding serial number, the 'know-go' software can take the verification code and the serial number corresponding to the attendance checking equipment as verification requests after receiving the verification code input by the administrator, and sends the verification requests to the attendance checking server.
S202: and establishing a corresponding relation list of the attendance places and the serial numbers, and storing the corresponding relation list in the database.
After the attendance server receives the verification request, the verification code carried in the verification request can be verified, and if the verification code is consistent with the verification code generated by the attendance server, the attendance equipment passes the verification. At this time, the attendance server may establish a correspondence between the serial number carried in the verification request and the attendance location corresponding to the verification device.
In the embodiment of the invention, a plurality of attendance places can be provided, and for example, one attendance device is installed in each attendance place, one attendance place can correspond to one serial number, namely one corresponding relation. The plurality of corresponding relations may be stored in a corresponding relation list, and the serial number and the attendance location information are stored in each corresponding relation.
Through the pre-established corresponding relation list of the attendance places and the serial numbers, the subsequent attendance server can conveniently and quickly find the attendance place information corresponding to the serial numbers carried in the acquisition request from the corresponding relation list after receiving the two-dimensional code picture acquisition request sent by the attendance equipment.
Fig. 3 is a schematic structural diagram of a two-dimensional code attendance card punching device provided in an embodiment of the present invention, including a receiving unit 31, an inquiring unit 32, a generating unit 33, a sending unit 34, a verifying unit 35, and a storing unit 36:
the receiving unit 31 is configured to receive a two-dimensional code picture acquisition request sent by an attendance checking device; the two-dimensional code picture acquisition request carries a serial number corresponding to the attendance checking equipment.
The query unit 32 is configured to query attendance location information corresponding to the serial number from a correspondence list pre-stored in a database according to the serial number.
The generating unit 33 is configured to generate a corresponding two-dimensional code picture according to the attendance location information.
The sending unit 34 is configured to send the two-dimensional code picture to the attendance checking device.
The receiving unit 31 is further configured to receive a card-punching request sent by the code scanning device after scanning and analyzing the two-dimensional code picture; the card punching request carries the attendance location information and the user information.
The verification unit 35 is configured to verify whether the attendance location information carried in the card punching request is correct, if so, use a time corresponding to the time when the card punching request is received as a card punching time, and trigger the storage unit 36, where the storage unit 36 is configured to store the attendance location information, the user information, and the card punching time in a database.
Optionally, the method further includes an encryption unit and a decryption unit:
the encryption unit is used for encrypting the attendance location information and storing an encrypted key in a cache server;
the decryption unit is used for searching a corresponding key from the cache server, decrypting the encrypted attendance location information by using the key, and acquiring the decrypted attendance location information.
Optionally, the method further includes, for the correspondence list pre-stored in the database, an establishing unit:
the receiving unit is also used for receiving an authentication request sent by the attendance checking equipment and triggering the establishing unit;
the establishing unit is used for establishing a corresponding relation list of the attendance places and the serial number according to the verification codes contained in the verification requests and the serial number of the attendance equipment, and triggering the storage unit, and the storage unit is also used for storing the corresponding relation list in the database.
For the description of the features in the embodiment corresponding to fig. 3, reference may be made to the related description of the embodiments corresponding to fig. 1 and fig. 2, which is not repeated here.
According to the technical scheme, after receiving a two-dimensional code picture acquisition request sent by attendance equipment, a receiving unit can inquire attendance place information corresponding to a serial number carried in the acquisition request from a corresponding relation list pre-stored in a database through an inquiry unit; generating a two-dimensional code picture containing the attendance location information through a generating unit; the two-dimensional code picture is sent to attendance equipment by the sending unit, the attendance equipment displays the two-dimensional code picture, an employee can scan and analyze the two-dimensional code picture through scanning equipment, and after the scanning equipment acquires attendance location information contained in the two-dimensional code picture, the scanning equipment can send a card punching request carrying the attendance location information and user information to an attendance server; in order to ensure the correctness of the two-dimensional code picture scanned by the code scanning equipment, the verification unit can verify whether the attendance place information carried in the card punching request is correct, if so, the time corresponding to the card punching request is taken as the card punching time, and the attendance place information, the user information and the card punching time are stored in a database through the storage unit. It can be seen that the staff can realize the attendance and punch the card through the mode of scanning the two-dimensional code, can effectively promote the efficiency of attendance and punch the card to the attendance information that every staff corresponds can directly be saved in the database, does not need extra derivation data, the effectual loaded down with trivial details step that has reduced attendance statistics.
The two-dimensional code attendance card punching method and device provided by the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (6)

1. A two-dimensional code attendance card punching method is characterized by comprising the following steps:
receiving a two-dimensional code picture acquisition request sent by attendance checking equipment; the two-dimensional code picture acquisition request carries a serial number corresponding to the attendance checking equipment;
inquiring attendance location information corresponding to the serial number from a corresponding relation list pre-stored in a database according to the serial number;
generating a corresponding two-dimensional code picture according to the attendance location information; sending the two-dimensional code picture to the attendance checking equipment; adjusting the size of a two-dimensional code picture displayed on a display screen of the attendance checking equipment according to the density of the staff who scan the code and punch the card in the same time period;
receiving a card punching request sent by a code scanning device after scanning and analyzing the two-dimensional code picture; the card punching request carries the attendance location information and the user information;
and verifying whether the attendance place information carried in the card punching request is correct, if so, taking the time corresponding to the card punching request as the card punching time, and storing the attendance place information, the user information and the card punching time in a database.
2. The method of claim 1, further comprising, before generating the corresponding two-dimensional code picture according to the attendance location information:
encrypting the attendance location information, and storing an encrypted key in a cache server;
correspondingly, before the verifying whether the attendance location information carried in the card punching request is correct, the method further comprises:
and searching a corresponding key from the cache server, and decrypting the encrypted attendance location information by using the key to obtain the decrypted attendance location information.
3. The method according to claim 1 or 2, wherein the establishing of the correspondence list comprises, for a correspondence list pre-stored in the database:
receiving a verification request sent by the attendance checking equipment, wherein the verification request comprises a verification code and a serial number of the attendance checking equipment;
and establishing a corresponding relation list of the attendance places and the serial numbers, and storing the corresponding relation list in the database.
4. The utility model provides a device of two-dimensional code attendance punch card which characterized in that, includes receiving element, inquiry unit, generation unit, sending unit, verification unit, memory cell:
the receiving unit is used for receiving a two-dimensional code picture acquisition request sent by attendance checking equipment; the two-dimensional code picture acquisition request carries a serial number corresponding to the attendance checking equipment;
the inquiry unit is used for inquiring attendance location information corresponding to the serial number from a corresponding relation list pre-stored in a database according to the serial number;
the generating unit is used for generating a corresponding two-dimensional code picture according to the attendance location information;
the sending unit is used for sending the two-dimensional code picture to the attendance checking equipment; adjusting the size of a two-dimensional code picture displayed on a display screen of the attendance checking equipment according to the density of the staff who scan the code and punch the card in the same time period;
the receiving unit is also used for receiving a card punching request sent by the code scanning equipment after scanning and analyzing the two-dimensional code picture; the card punching request carries the attendance location information and the user information;
the verification unit is used for verifying whether the attendance place information carried in the card punching request is correct, if so, the time corresponding to the time when the card punching request is received is used as the card punching time, and the storage unit is triggered and used for storing the attendance place information, the user information and the card punching time in a database.
5. The apparatus according to claim 4, further comprising an encryption unit and a decryption unit:
the encryption unit is used for encrypting the attendance location information and storing an encrypted key in a cache server;
the decryption unit is used for searching a corresponding key from the cache server, decrypting the encrypted attendance location information by using the key, and acquiring the decrypted attendance location information.
6. The apparatus according to claim 4 or 5, further comprising an establishing unit for establishing a correspondence list pre-stored in the database:
the receiving unit is also used for receiving an authentication request sent by the attendance checking equipment and triggering the establishing unit;
the establishing unit is used for establishing a corresponding relation list of the attendance places and the serial number according to the verification codes contained in the verification requests and the serial number of the attendance equipment, and triggering the storage unit, and the storage unit is also used for storing the corresponding relation list in the database.
CN201710239433.6A 2017-04-13 2017-04-13 Two-dimensional code attendance card punching method and device Active CN107169726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710239433.6A CN107169726B (en) 2017-04-13 2017-04-13 Two-dimensional code attendance card punching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710239433.6A CN107169726B (en) 2017-04-13 2017-04-13 Two-dimensional code attendance card punching method and device

Publications (2)

Publication Number Publication Date
CN107169726A CN107169726A (en) 2017-09-15
CN107169726B true CN107169726B (en) 2020-12-04

Family

ID=59849478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710239433.6A Active CN107169726B (en) 2017-04-13 2017-04-13 Two-dimensional code attendance card punching method and device

Country Status (1)

Country Link
CN (1) CN107169726B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165701B (en) * 2018-08-27 2024-01-19 深圳鑫粤知识产权服务有限公司 Signature printing method, device, equipment and system
CN109460899A (en) * 2018-10-09 2019-03-12 四川爱信诺航天信息有限公司 A kind of personnel management methods and device
CN110895711A (en) * 2019-11-05 2020-03-20 泰康保险集团股份有限公司 Job entry management method and device
CN111445594A (en) * 2020-04-02 2020-07-24 上海钧正网络科技有限公司 Card punching method, device and system based on intelligent hardware
CN111340672A (en) * 2020-05-22 2020-06-26 支付宝(杭州)信息技术有限公司 Method and device for acquiring user real name information and electronic equipment
CN113850923B (en) * 2020-06-28 2023-09-08 深圳兆日科技股份有限公司 Attendance checking statistical method, device, equipment and computer readable storage medium
CN112364951A (en) * 2020-10-10 2021-02-12 远光软件股份有限公司 Virtual work card management method, related equipment, storage medium and system
CN115375276A (en) * 2022-08-25 2022-11-22 深圳市链宇技术有限公司 APS implementation method and system based on big data
CN116665330A (en) * 2023-05-31 2023-08-29 广州欢聚马克网络信息有限公司 On-site sign-in method and device, equipment, medium and product thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761602A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system based on dynamic two-dimensional codes
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN104318637A (en) * 2014-11-19 2015-01-28 广东花生信息科技有限公司 Attendance checking method and system based on two-dimensional code
CN104392502A (en) * 2014-11-14 2015-03-04 苏州盖雅信息技术有限公司 Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone
CN104504767A (en) * 2014-11-26 2015-04-08 广东安居宝数码科技股份有限公司 Check-in information verification method and system
CN104637107A (en) * 2015-02-14 2015-05-20 成都我来啦网格信息技术有限公司 Method for managing attendance card punching operation of watch man by virtue of intelligent offline cabinet
CN105373981A (en) * 2015-12-14 2016-03-02 南京师范大学泰州学院 Classroom check attendance system and method
CN106330983A (en) * 2016-11-24 2017-01-11 北京得意音通技术有限责任公司 Identity authentication method, user's client terminal and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473824A (en) * 2013-09-25 2013-12-25 中山爱科数字科技股份有限公司 Attendance checking method based on two-dimensional code label
CN105868898A (en) * 2016-03-25 2016-08-17 立德高科(昆山)数码科技有限责任公司 Wedding check-in two-dimensional code and generation and reading method therefor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761602A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system based on dynamic two-dimensional codes
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN104392502A (en) * 2014-11-14 2015-03-04 苏州盖雅信息技术有限公司 Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone
CN104318637A (en) * 2014-11-19 2015-01-28 广东花生信息科技有限公司 Attendance checking method and system based on two-dimensional code
CN104504767A (en) * 2014-11-26 2015-04-08 广东安居宝数码科技股份有限公司 Check-in information verification method and system
CN104637107A (en) * 2015-02-14 2015-05-20 成都我来啦网格信息技术有限公司 Method for managing attendance card punching operation of watch man by virtue of intelligent offline cabinet
CN105373981A (en) * 2015-12-14 2016-03-02 南京师范大学泰州学院 Classroom check attendance system and method
CN106330983A (en) * 2016-11-24 2017-01-11 北京得意音通技术有限责任公司 Identity authentication method, user's client terminal and system

Also Published As

Publication number Publication date
CN107169726A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN107169726B (en) Two-dimensional code attendance card punching method and device
CN108346191B (en) Attendance checking method and device, computer equipment and storage medium
JP5866544B2 (en) Method, apparatus, and mobile terminal for performing communication using barcode image
CN108667789B (en) Multidimensional bar code action identity authentication method, digital certificate device and authentication servo mechanism
CN103607284B (en) Identity authentication method and equipment and server
CN202383724U (en) All-in-one machine for handling service
CN102842081A (en) Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN102456253A (en) Method for making invoice and terminal thereof
CN103488922A (en) Method and equipment for providing verification code
CN109391611B (en) User personal information encryption authorization method, device, equipment and readable storage medium
CN103679831A (en) Hand-held terminal, attendance checking equipment, electronic attendance checking system and attendance checking method
CN104504500A (en) Attendance statistics method and system based on randomly generated two-dimensional code
CN103824170A (en) Mobile phone buying and selling client based on two-dimension codes, system and buying and selling management method
CN105095719A (en) Fingerprint unlocking method and system and electronic device provided with system
CN110659899B (en) Offline payment method, device and equipment
CN108765615B (en) Block chain-based card punching information storage method and system
CN103347248A (en) Cross-region identity authentication method based on hand-held terminal
CN106712958B (en) Information acquisition method and system, real-name system information acquisition method, system and application
CN114666786A (en) Identity authentication method and system based on telecommunication smart card
CN111062046A (en) Handwritten endorsement data security management method and endorsement terminal
CN103295169A (en) Method and system for safely supervising real estate real person registration information
CN105516209A (en) Intelligent POS machine and use method thereof
CN115756255A (en) Method, device and equipment for processing equipment parameters of parking lot equipment and storage medium
CN115664728A (en) Method, device, equipment and storage medium for enhancing password management application security
CN111508108B (en) Encryption system and decryption system for intelligent lock data communication

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 1202, floor 12, No. 1000, Quyang Road, Hongkou District, Shanghai 200080

Applicant after: Shanghai Foreign Service Information Technology Co., Ltd

Address before: 200437 Shanghai City, Hongkou District Quyang Road No. 1000 building 12 floor service

Applicant before: SHANGHAI SFSC BAOXIN INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant