CN114821845B - Card punching method and device - Google Patents

Card punching method and device Download PDF

Info

Publication number
CN114821845B
CN114821845B CN202210265601.XA CN202210265601A CN114821845B CN 114821845 B CN114821845 B CN 114821845B CN 202210265601 A CN202210265601 A CN 202210265601A CN 114821845 B CN114821845 B CN 114821845B
Authority
CN
China
Prior art keywords
user
information
uploading
server
health
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
CN202210265601.XA
Other languages
Chinese (zh)
Other versions
CN114821845A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210265601.XA priority Critical patent/CN114821845B/en
Publication of CN114821845A publication Critical patent/CN114821845A/en
Application granted granted Critical
Publication of CN114821845B publication Critical patent/CN114821845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2111Location-sensitive, e.g. geographical location, GPS

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the application provides a method and a device for punching cards, wherein the method comprises the following steps: acquiring identity information uploaded by user equipment through scanning a two-dimensional code; authenticating the identity information, and if the identity information is successfully authenticated, acquiring the position information uploaded by the user equipment, the health information of the user and the uploading time; determining a card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition; if the card punching time is within the preset time period, determining that the card punching of the user is successful; the card punching efficiency and the accuracy are improved.

Description

Card punching method and device
Technical Field
The embodiment of the application relates to the technical field of punching cards, in particular to a punching card method and device.
Background
In order to realize attendance management, a card punching device is generally arranged, and staff can carry out attendance through the modes of card punching, fingerprint identification or face recognition and the like.
At present, aiming at the work site attendance management, the conventional card punching device is generally deployed, so that an outsider is prevented from entering the work site at will and checking the work site, and in addition, in order to ensure the safety of the work, the worker needs to manually check data such as health codes, travel cards and the like in the card punching process so as to make epidemic prevention measures.
However, the traditional card punching mode is combined with a mode of manually checking data such as health codes, travel cards and the like, so that the card punching efficiency and the accuracy are low.
Disclosure of Invention
The embodiment of the application provides a method and a device for punching cards, which are used for improving the punching card efficiency and the accuracy.
In a first aspect, an embodiment of the present application provides a method for punching a card, where the method is applied to a server, and the method includes:
acquiring identity information uploaded by user equipment through scanning a two-dimensional code;
authenticating the identity information, and if the identity information is successfully authenticated, acquiring the position information uploaded by the user equipment, the health information of the user and the uploading time;
determining a card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition;
and if the card punching time is within the preset time period, determining that the card punching of the user is successful.
Optionally, the obtaining the location information uploaded by the user equipment, the health information of the user, and the uploading time includes:
acquiring the position information uploaded by the user equipment;
acquiring health information of the user sent by a third party, wherein the health information is called through a third party window acted on the display of the user equipment;
And acquiring the time for the user equipment to finish uploading the position information and the health information, and taking the time as the uploading time.
Optionally, the identity information includes a biometric feature, and the authenticating the identity information includes:
authenticating the identified biological characteristics, and if the biological characteristics are authenticated successfully, determining that the identity information authentication is successful; or,
the identity information includes a biometric feature and an environmental feature, and the authenticating the identity information includes:
authenticating the identified biological characteristics, and authenticating the identified environmental characteristics after the biological characteristics are successfully authenticated;
and if the environmental characteristic authentication is successful, determining that the identity information authentication is successful.
Optionally, the method further comprises:
and if the environmental characteristic is not identified or the authentication of the environmental characteristic fails, sending a prompt message to the user equipment, wherein the prompt message is used for prompting the user equipment to re-upload the environmental characteristic.
Optionally, the method further comprises:
updating the links corresponding to the two-dimensional codes;
wherein the link comprises at least one of: a link to the server, a link to a server maintaining the health information.
In a second aspect, an embodiment of the present application provides a method for punching a card, where the method is applied to a user equipment, and the method includes:
uploading identity information to a server by scanning a two-dimensional code, so that the server performs identity authentication on the identity information;
after the server successfully authenticates the identity information, a first service interface for uploading position information and health information of a user is displayed;
uploading the position information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface, so that the server determines the card punching state of the user according to the position information, the health information of the user and the uploading time, wherein the card punching state comprises successful card punching or failed card punching;
and receiving a message which is sent by the server and used for representing the card punching state.
Optionally, the uploading the identity information to the server by scanning the two-dimensional code includes:
after a user scans the two-dimensional code, the identity information is obtained in response to triggering operation acting on a second service interface provided by the two-dimensional code, and the identity information is uploaded to a server.
Optionally, the uploading the location information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface includes:
Responding to a positioning operation triggered by displaying the first service interface, and acquiring the position information;
responding to the triggering operation of the user on the sub-interface in the first service interface, and acquiring the health information; the sub-interface is used for calling and displaying the program of the health information;
and responding to a triggering operation for uploading the position information and the health information, determining uploading time and uploading the position information, the health information of the user and the uploading time to the server.
In a third aspect, an embodiment of the present application provides a card punching device, including:
the acquisition module is used for acquiring identity information uploaded by the user equipment through scanning the two-dimensional code;
the authentication module is used for authenticating the identity information, and if the identity information authentication is successful, the position information uploaded by the user equipment, the health information of the user and the uploading time are acquired;
the first processing module is used for determining the card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition;
and the second processing module is used for determining that the user is successful in punching the card when the card punching time is within a preset time period.
In a fourth aspect, an embodiment of the present application provides a card punching device, including:
the first processing module is used for uploading identity information to a server by scanning the two-dimensional code so that the server can carry out identity authentication on the identity information;
the display module is used for displaying a first service interface for uploading the position information and the health information of the user after the server successfully authenticates the identity information;
the second processing module is used for uploading the position information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface, so that the server determines the card punching state of the user according to the position information, the health information of the user and the uploading time, wherein the card punching state comprises successful card punching or failed card punching;
and the receiving module is used for receiving the message which is sent by the server and used for representing the card punching state.
In a fifth aspect, embodiments of the present application provide an electronic device, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any one of the first and second aspects.
In a sixth aspect, an embodiment of the present application provides a card punching system, where the system includes a server and a user device, where the server is communicatively connected to the user device;
the server being adapted to implement the method of any of the first aspects;
the user equipment configured to implement the method of any of the second aspects.
In a seventh aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the method for punching cards according to any one of the first and second aspects.
In an eighth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method of punching cards as in any of the first and second aspects.
According to the method and the device for punching the card, the two-dimension code is provided for the user equipment, the identity information uploaded by the user equipment through scanning the two-dimension code is obtained, firstly, the identity information is authenticated, if the identity information authentication is successful, the position information uploaded by the user equipment, the health information of the user and the uploading time are obtained, then the position information and the health information are confirmed, if the position information and the health information meet the corresponding conditions, the punching time of the user is determined based on the uploading time, and if the punching time is within a specified time range (namely within a preset time period), the user punching time is normal, and then the user opening success is determined. Therefore, by providing two-dimension code card punching, the authentication, position and health state verification of the user identity can be realized, and whether the card punching time is normal or not is further determined, so as to determine whether the card punching of the user is successful or not. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching work card is not required to be manufactured or fingerprint identification, face recognition and other devices are not required to be deployed, and the cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of a card punching scenario provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a card punching method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a card punching method according to another embodiment of the present application;
fig. 4A is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
fig. 4B is a schematic diagram of a card punching scenario according to still another embodiment of the present application;
fig. 4C is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
fig. 4D is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
fig. 4E is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
fig. 5 is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
fig. 6 is a schematic diagram of a card punching scenario provided in another embodiment of the present application;
Fig. 7 is a schematic structural diagram of a card punching device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a card punching device according to another embodiment of the present application
Fig. 9 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present application described herein may be capable of including other sequential examples in addition to those illustrated or described. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The existing card punching mode is only used for confirming the identity of personnel, but the efficiency and accuracy are low for health information such as health codes, travel cards and the like by adopting a traditional manual checking mode.
In order to solve the above problems, the inventive concept of the present application is: the two-dimensional code card punching is provided, and the on-line operation modes of identity authentication, positioning, health information confirmation and the like are adopted, so that the card punching efficiency and the accuracy are improved.
Fig. 1 is a schematic diagram of a card punching scenario provided in an embodiment of the present application, as shown in fig. 1, a server generates a two-dimensional code based on a card punching link, which is used for providing a card punching service for a user, where the two-dimensional code is maintained by the server. The two-dimensional code can be configured at a preset card punching position, and the printed picture can be fixed on a certain object or displayed through display equipment, and the two-dimensional code is not particularly limited.
For example, when a user enters a construction site to perform operation, the user needs to scan a two-dimensional code through user equipment to perform card punching: the user equipment scans the two-dimensional code and analyzes the two-dimensional code to obtain a card punching link; the punch link may provide functionality for uploading identity information of the user, such as a prompt box for uploading identity information. The user clicks the prompt box for uploading the identity information through the user equipment, starts the biometric feature recognition photographing functions such as face recognition, iris recognition and the like, uploads the recognized biometric feature serving as the identity information, and authenticates the identity information after the server receives the uploaded identity information.
After the server successfully authenticates the identity information, an interface for uploading information such as position information, health information of the user and the like is provided for the user equipment, and the interface can also be provided through a link. The user can upload position information, health information and the like through the content prompted by the interface on the user equipment, wherein the uploading of the position information can be that the position of the user equipment is automatically acquired (the automatic acquisition is authorized by the user) while the interface is displayed, or the position of the user equipment is acquired through triggering (such as clicking, sliding and other operations) a button, a sliding bar, a positioning prompt box or the like used for positioning on the interface; the health information may be a health code and/or a travel card, and the health information may be uploaded by calling a third party applet to respectively identify and obtain the health code, the travel card, etc. and displaying the health code, the travel card, etc. on the interface, or by calling a third party applet to respectively obtain the health code, the travel card, etc. and directly sending the health code, the travel card, etc. to the server through the third party applet (the process may not display the health code, the travel card, etc. on the interface), or the user uploads a prompt box of the health code and/or the travel card by triggering a prompt box of the user uploading the health code and/or the travel card on the interface (the picture may be stored in the user device).
The server confirms the received health information, when the position information is confirmed to meet the position condition and the health information is confirmed to meet the health condition, the server determines the time for punching the card according to the uploading time of the uploading position information and the health information, for example, the uploading time of the uploading position information and the health information is taken as the time for punching the card, whether the time for punching the card is in a time range of punching the card, namely, a preset time period, if the time for punching the card is in the preset time period, the user is indicated to punch the card normally, the success of punching the card by the user is further confirmed, and a message for indicating the success of punching the card is sent to the user equipment, so that the user can normally enter a site for operation.
Therefore, by providing two-dimension code card punching, the authentication, position and health state verification of the user identity can be realized, and whether the card punching time is normal or not is further determined, so as to determine whether the card punching of the user is successful or not. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching mode provided by the application does not need to manufacture a card punching work card or deploy fingerprint identification, face recognition and other equipment, so that the cost is reduced.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 2 is a schematic flow chart of a method for punching cards according to an embodiment of the present application, where the method of the present embodiment may be performed by a punching device, and the punching device may be disposed in the server of fig. 1 in a form of software and/or hardware. As shown in fig. 2, the method of the present embodiment may include:
s201: and acquiring identity information uploaded by the user equipment through scanning the two-dimensional code.
In this embodiment, the two-dimensional code generated by the server may provide a card punching service, a task acquisition service, a task progress reporting service, and the like for the user equipment, and determine which type of service is provided according to different scene requirements. The following describes in detail the method of punching card provided by the user using the service of punching card as an example.
Specifically, the server generates a two-dimensional code by linking the card punching, and the server maintains the linking content corresponding to the two-dimensional code. The two-dimensional code may be static or dynamic. If the two-dimensional code is static, the two-dimensional code picture can be printed and fixed in a preset card punching range (for example, the two-dimensional code picture is stuck at a certain preset card punching position), and although the two-dimensional code is static, the link corresponding to the two-dimensional code can be dynamically updated, so that the content of the link can be updated conveniently, and more services can be provided for users; if the two-dimensional code is dynamic, the two-dimensional code can be dynamically displayed through display equipment in communication connection with the server, and the two-dimensional code can be updated every other preset time length, so that the problem of false card punching is avoided.
And S202, authenticating the identity information, and if the identity information is successfully authenticated, acquiring the position information uploaded by the user equipment, the health information of the user and the uploading time.
In this embodiment, the server receives the identity information uploaded by the user equipment, and authenticates the identity information. Taking a site scene as an example, the user may be a worker, and when the worker enters a site shift, the worker needs to punch a card, and in the process of punching the card, the identity of the worker needs to be authenticated. The authentication method can be realized by at least three authentication modes:
mode 1, adopting a database comparison authentication mode. Firstly, before a worker enters a construction site for operation for the first time, acquiring identity information of the worker, such as face images, storing the acquired face images into a database, and during subsequent identity authentication, acquiring the current face images of the worker through a camera of user equipment, comparing the current face images with the face images stored in the database, if the similarity is higher than a first similarity threshold, indicating that the comparison is consistent, and further determining that the identity authentication is successful.
And 2, adopting a block chain comparison authentication mode. Based on the non-falsification and the security performance of the blockchain, the identity information of the worker is stored in the blockchain in an encrypted mode, the current face image of the worker is acquired through a camera of the user equipment, the current face image is compared with the face image stored in the database, if the similarity is higher than a first similarity threshold value, the comparison is consistent, the success of the identity authentication is further determined, and the blockchain authentication is used, so that the accuracy and the security are higher.
Mode 3, authentication is identified by the user equipment by using big data. When a worker performs primary card punching, biological characteristics (such as face images) are collected through a camera of the user equipment and recorded in big data, during authentication, the current face images of the worker are collected through the camera of the user equipment, then whether the uploaded identity information is the identity information of the worker or not is identified through the user equipment based on the big data, and if the identity information is the identity information of the worker, the identity authentication is determined to be successful. In the mode 3, the identification function of the user equipment is utilized to assist the server to carry out authentication of the identity information, so that the deployment of the server is simplified, and the cost is saved.
The three authentication modes do not need to end a camera or a fingerprint collector and the like at the server, but the acquisition of the identity information is realized by utilizing the own intellectualization of the user equipment, so that the deployment cost is saved, and the complexity of a server service architecture is reduced. It should be noted that the above three authentication methods are merely exemplary, and are not specifically limited herein.
The uploading time here may be a time when uploading the location information and/or the health information is completed. In practical application, the uploading time can be selected as the time for uploading the position information and the health information.
And S203, determining the card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition.
In this embodiment, the user device uploads the location information and the health information to the server, and records the time when the uploading is completed, that is, the uploading time, and the server receives the location information and the health information and obtains the uploading time, so that the uploading time can be used as the card punching time of the user.
And the server confirms the conditions of the position information and the health information uploaded by the user equipment, namely judges whether the position information meets the position conditions or not and judges that the health information meets the health conditions. For example, judging whether the position information is in a preset card punching range or in a preset card punching position; judging whether the health code in the health information is a green code and whether the time displayed on the health code is within a preset time period (for example, the time displayed on the health code is between 7 am and 8 am, then the preset time period is determined), and/or judging whether the arrival or approach area displayed by the trip card in the health information is a low risk area and whether the time displayed on the trip card is within the preset time period (for example, the time displayed on the trip card is between 7 am and 8 am, then the preset time period is determined).
The purpose of judging the position information is to prevent false card punching; the verification purpose of the health code and the travel card is to ensure the accuracy of the health information, while the verification purpose for the time displayed on the health code and/or the time displayed on the travel card is to prevent false punching.
S204, if the card punching time is within a preset time period, determining that the card punching of the user is successful.
In this embodiment, the server determines whether the time of punching the card is within a preset time range, that is, within a preset time period (for example, the time of punching the card is 8 am before the time of punching the card is determined to be within the preset time period), and if the time of punching the card is determined to be within the preset time period, the user is indicated to punch the card normally, so that the user is determined to punch the card successfully.
According to the method for punching the card, the two-dimensional code card punching is provided, so that the authentication, the position and the verification of the health state of the user can be realized, and the online operation can be further determined whether the card punching time is normal, so that whether the card punching of the user is successful or not can be determined. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching work card is not required to be manufactured or fingerprint identification, face recognition and other devices are not required to be deployed, and the cost is reduced.
Based on the method of fig. 2, the examples of the present application also provide some specific embodiments of the method, as described below.
Optionally, on the basis of the foregoing embodiment, the present embodiment describes in detail a two-dimensional code corresponding to the two-dimensional code. The method for punching the card can further comprise the following steps:
and updating the links corresponding to the two-dimensional codes.
Wherein the link comprises at least one of: a link to the server, a link to a server maintaining the health information.
In this embodiment, the link may be a link that provides a service function to the user device by the server, for example, provides functions of uploading identity information, positioning, and the like, or may be a link that provides a service function to the user device by the server through the server for maintaining health information, for example, requests for acquiring health information and uploading the same.
In order to facilitate on-line operation and provide diversified services, the link may not only be used to provide a card-punching service, but also may provide a task pickup service, a task progress report service, etc., or update a certain service, for example, the card-punching service may increase or decrease the content of the card-punching link, for example, increase the functions of uploading environmental information, etc.
Alternatively, the embodiment is described in detail with respect to S201 on the basis of the above embodiment, such as the embodiment shown in fig. 2. The method for obtaining the position information uploaded by the user equipment, the health information of the user and the uploading time can be realized by the following steps:
and a1, acquiring the position information uploaded by the user equipment.
In this embodiment, the location information may be actively acquired and uploaded by the user by triggering the positioning operation (for example, clicking a prompt box for indicating positioning) by the user device, or may be actively acquired and uploaded by triggering the positioning operation while the user device displays the user interface. The uploading of the location information to the server may be performed by the user by triggering a prompt box or a key for indicating confirmation of uploading or a certain preset touch area.
The location information may be displayed on the user equipment, and the location information is transmitted to the server after the user confirms the uploading; the location information may not be displayed on the user device, but may be sent directly to the server by the positioning system by triggering the positioning operation. Thus, the location information received by the server may be sent directly by the user equipment, or may be sent by the positioning system by the user equipment invoking the positioning system.
And a2, acquiring health information of the user sent by a third party, wherein the health information is called through a third party window acted on the display of the user equipment.
In this embodiment, the health information is generated by a third party (application program), and the user activates the third party by triggering a third party window (for example, invoking an applet of the third party) provided on the user device, obtains the health information by the third party, and sends the health information to the server by the third party, and the server receives the health information sent by the third party.
And a3, acquiring the time for the user equipment to finish uploading the position information and the health information, and taking the time as the uploading time.
In this embodiment, the server records the time point when the user equipment finishes uploading the location information and the health information, and takes the time point as the uploading time.
Specifically, whether the user is successful in punching a card is comprehensively evaluated through the position information, the health information and the uploading time uploaded by the user equipment, and if any one of the position information, the health information and the uploading time does not meet the corresponding conditions, the card punching failure is determined.
The location information and the health information may be performed synchronously or sequentially, and corresponding operations may be performed based on specific services provided by the links. Illustratively, consider a synchronized scenario: when the location information is displayed on the user device and uploaded to the server by the user device, the health information may belong to the same interface as the interface for uploading the location information, and when the health information is also displayed on the user device, the location information and the health information may be submitted together to complete the uploading.
Alternatively, the present embodiment describes S202 in detail on the basis of the above embodiment. When the identity information includes a biometric feature, authenticating the identity information may be accomplished by:
and authenticating the identified biological characteristics, and if the biological characteristics are successfully authenticated, determining that the identity information is successfully authenticated.
In this embodiment, the server obtains the identity information, which may be an image including a biometric feature, identifies the biometric feature in the image based on an image identification technique, and then authenticates the biometric feature according to the biometric feature by using any one of the three authentication methods. The specific authentication process is described in the above modes 1 to 3, and will not be described in detail here.
In order to further prevent false card punching of the user, the environmental characteristics of the user can be acquired besides the biological characteristics of the user, so that whether the user is near the construction site or not can be judged. Namely, when the identity information comprises biological characteristics and environmental characteristics, the identity information can be authenticated by the following steps:
and b1, authenticating the recognized biological characteristics, and authenticating the recognized environmental characteristics after the biological characteristics are successfully authenticated.
And b2, if the environmental characteristic authentication is successful, determining that the identity information authentication is successful.
In this embodiment, when a user uses a user device to collect identity information, the current captured environmental features and biological features can be collected together, or the collected biological features and the collected environmental features are collected in two steps, namely, separately, so that the user device can upload the identity information in two steps: uploading biological characteristics and uploading environmental characteristics. Specifically, the server may first authenticate the acquired biometric feature, and the authentication manner may refer to manners 1 to 3, which are not described herein. When the biometric authentication fails, the card punching failure is determined, and the reason of the card punching failure may be that the acquired biometric is not complete or the acquired biometric has no authority to punch cards, and then no authority enters a construction site. When the biometric authentication is successful, the server authenticates the environmental feature: firstly, recognizing whether an acquired image has environmental characteristics, and if so, comparing the similarity between the stored environmental characteristics or the current environmental characteristics acquired by the received acquisition equipment and the uploaded environmental characteristics; or comparing the uploaded environmental characteristics with the environmental characteristics uploaded by other users in a similarity way; or comparing the uploaded environmental characteristics with the environmental characteristics uploaded by the user when the previous time of successful card punching. If the similarity is higher than or equal to a preset similarity threshold, the identity information authentication of the user is determined to be successful.
Optionally, on the basis of the foregoing embodiment, the present embodiment describes in detail a card punching scenario in which the environmental feature is not identified or the authentication of the environmental feature fails. The card punching method can be realized by the following steps:
and if the environmental characteristic is not identified or the authentication of the environmental characteristic fails, sending a prompt message to the user equipment, wherein the prompt message is used for prompting the user equipment to re-upload the environmental characteristic.
In this embodiment, if the server does not recognize the environmental feature or recognizes the environmental feature from the identity information, but fails to authenticate the environmental feature, the user needs to upload the environmental feature again through the user device, for example, an image containing the environmental feature, and further recognize and authenticate the new environmental feature again, if the new environmental feature is recognized and authentication is successful, the identity information authentication of the user is determined to be successful, and if the new environmental feature is recognized or the new environmental feature is recognized but authentication is failed, the identity information authentication of the user is determined to be failed, and further the card punching failure of the user is determined.
Therefore, by setting the two-dimensional code, a user can realize card punching through any code scanning software, so that the use and experience of the user are facilitated; meanwhile, the reliability of punching cards is improved by uploading information such as the position of the user equipment, the environmental characteristics and the like.
Fig. 3 is a flowchart of a card punching method according to another embodiment of the present application. The card punching method is applied to the user equipment, and the method of the embodiment can be executed by the user equipment. As shown in fig. 3, the method of the present embodiment may include:
s301, uploading identity information to a server by scanning the two-dimensional code, so that the server performs identity authentication on the identity information.
Alternatively, this may be achieved by:
after a user scans the two-dimensional code, the identity information is obtained in response to triggering operation acting on a second service interface provided by the two-dimensional code, and the identity information is uploaded to a server.
S302, after the server successfully authenticates the identity information, a first service interface for uploading the position information and the health information of the user is displayed.
S303, uploading the position information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface, so that the server determines the card punching state of the user according to the position information, the health information of the user and the uploading time, wherein the card punching state comprises successful card punching or failed card punching;
S304, receiving a message which is sent by the server and used for representing the card punching state.
In this embodiment, the user device scans and parses the two-dimensional code, displays the punch link, and realizes the operation of uploading the identity information according to the prompt box or button for uploading the identity information on the interface provided by the punch link. For example, clicking a prompt box or button for uploading identity information, starting to collect the biological characteristics of the user, such as a face image, by the user equipment, automatically uploading the biological characteristics to a server after the face image is identified and determined to be successful, authenticating the face image by the server, if authentication is successful, displaying a first service interface by the user interface, and providing uploading position information and health information by the first service interface.
The location information may be displayed on the user equipment, and the location information may be sent to the server after the user confirms uploading; the location information may not be displayed on the user device, but may be sent directly to the server by the positioning system by triggering the positioning operation. For example, when the first service interface is displayed, the position, that is, the position information, of the user is automatically obtained, and then the health information of the user is obtained and uploaded to the server by clicking an applet, a prompt box or a button and the like provided by the first user interface and used for uploading the health information. The method of uploading the health information to the server is directly transmitted by the user equipment, or can be transmitted by the positioning system by calling the positioning system by the user equipment.
The health information uploading may be that the health code, the trip card, etc. are respectively identified and obtained by calling the third party applet and displayed on the interface, or the health code, the trip card, etc. are respectively obtained by calling the third party applet and directly sent to the server by the third party applet (the process may not display the health code, the trip card, etc. on the interface), or the user uploads the prompt box of the health code and/or the trip card by triggering the prompt box of the user on the interface, and uploads the picture of the health code and/or the trip card (the picture may be stored in the user equipment).
When the user equipment uploads the positioning information and the health information to the server, the uploading time is recorded, the server receives the positioning information and the health information and records the uploading time, and then the server comprehensively evaluates the positioning information, the health information and the uploading time, judges whether the user is effective or successful in punching a card, and feeds back a message of successful or failed punching a card to the user equipment.
According to the embodiment, the problem that the deployment cost of the card punching equipment on the construction site is high is solved, and the problems that the existing card punching is only used for confirming the identity of personnel, but the traditional manual checking mode is adopted for health information such as health codes, travel cards and the like, and the efficiency and the accuracy are low are solved.
For example, referring to fig. 4A, taking a user device as an example of a smart phone, a user scans a two-dimensional code through the smart phone and parses the two-dimensional code to obtain a card-punching link, where an interface presented by the card-punching link is a second service interface. Clicking a button or a prompt box for uploading identity information on a second service interface, and acquiring biological characteristics of the user by using a camera of the smart phone, such as acquiring a face image (such as facial characteristics); or, facial features and environmental features (see fig. 4A), and automatically uploading identity information to a server after meeting the collection standard. The collection criteria here may be that facial features are clearly collected, or that facial features + environmental features are clearly collected.
After the smart phone uploads the identity information to the server, the server authenticates the identity information, and after the server successfully authenticates the identity information, a first service interface is displayed on the smart phone, for example, as shown in fig. 4B to 4E.
As shown in fig. 4B, the location information of the user is automatically acquired while the first service interface is displayed, and a prompt box (or button) for uploading the health information and the acquired location information are displayed on the first service interface; FIG. 4C illustrates a method for automatically acquiring user location information while displaying a first service interface, and displaying the acquired location information and a sub-interface for uploading health information, i.e., a applet (e.g., a health code applet, a travel card applet) for the user to acquire health information on the first service interface; FIG. 4D shows a prompt box (or button) for uploading location information and health information on a first service interface; as shown in fig. 4E, a prompt box (or button) for uploading location information, and a sub-interface for uploading health information, that is, an applet (e.g., a health code applet, a travel card applet) for obtaining health information by a user are displayed on the first service interface. Furthermore, there may be a scenario: a prompt box (or button) for uploading the position information is displayed on the first user interface, and after the position information is uploaded, the prompt box (or button) or the applet for uploading the health information is continuously displayed on the first user interface.
After the position information and the health information are uploaded successfully by the smart phone, the server confirms the position information and the health information and judges whether the uploading time is longer than a preset time period before work, if the information is confirmed to be free of problems, the successful card punching of the user is determined, and if the information is not confirmed to be successful, the card punching is failed.
Optionally, uploading the location information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface may be achieved by the following steps:
and step c1, responding to positioning operation triggered by displaying the first service interface, and acquiring the position information.
As shown in fig. 4 (a), while the user equipment presents the first service interface, a positioning operation for acquiring the position information is triggered, and the current position of the user, that is, the position information, is acquired through the positioning system.
Step c2, responding to the triggering operation of the user on the sub-interface in the first service interface, and acquiring the health information; the sub-interface is used for calling and displaying the program of the health information.
For example, referring to fig. 5, a sub-interface (for example, fig. 4C) is displayed on the first service interface, and the user may obtain the health information (such as a health code, a travel card, etc.) by clicking on the applet of the health information in the sub-interface, where the health information may be directly displayed on the first service interface, or may be directly sent to the server for punching a card by the server for maintaining the health information.
Illustratively, as shown in fig. 5 (a), the user clicks on the "health code applet" (e.g., health code applet, travel card applet), i.e., the "health code" of the user is obtained by the server for maintaining the health information and displayed on the first service interface; specifically, the health information is obtained by calling the applet, presented on the user device, such as on the first service interface or sub-interface, by screenshot or identifying and copying the health information (such as a health code or travel card, etc.). As shown in fig. 5 (b), the user clicks on the "travel card applet", i.e., the "travel card" of the user is acquired through the server for maintaining the health information and displayed on the first service interface (see (c) of fig. 5).
Alternatively, the health information may be sent directly from the server for maintaining the health information to the server for punching cards and may not be displayed on the first service interface. As shown in fig. 5 (a), the user clicks on the "health code applet", that is, the "health code" of the user is obtained by the server for maintaining the health information and directly transmitted to the server, and may not be displayed on the first service interface on the user device (see (d) in fig. 5); as shown in fig. 5 (d), the user clicks on the "travel card applet", i.e., the "travel card" of the user is acquired by the server for maintaining the health information and directly transmitted to the server, and may not be at the first service interface on the user device (see (e) in fig. 5).
It should be noted that fig. 5 is merely exemplary, and the specific interface display may be combined in various manners, which is not specifically limited herein.
And c3, responding to a triggering operation for uploading the position information and the health information, determining uploading time and uploading the position information, the health information of the user and the uploading time to the server.
For example, taking fig. 5 as an example, referring to fig. 6, the first service interface further includes an upload button, after the location information and the health information are obtained, the user clicks the "submit" button to upload the location information and the health information, and takes the time of completing uploading the location information and the health information as uploading time, i.e. punching time, and then the server confirms the uploaded location information, the uploaded health information and the uploading time, and if all the uploading time meets the requirement, it indicates that the uploading is successful or the punching is successful. The prompt message of "upload successful" or "punch card successful" may be displayed on the first service interface.
Therefore, the interactive operation of the user equipment and the server can be realized by scanning the two-dimensional code to execute the card punching operation, and further the online operation of authentication, position and health state verification of the user identity is realized, so that whether the card punching time is normal or not is determined, and whether the card punching of the user is successful or not is determined. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching mode provided by the application does not need to manufacture a card punching work card or deploy fingerprint identification, face recognition and other equipment, so that the cost is reduced. Based on the same idea, the embodiment of the present disclosure further provides a device corresponding to the method, as shown in fig. 7, and fig. 7 is a schematic structural diagram of the card punching device provided in the embodiment of the present disclosure. The card punching device may include:
An obtaining module 701, configured to obtain identity information uploaded by a user equipment by scanning a two-dimensional code;
the authentication module 702 is configured to authenticate the identity information, and if the identity information authentication is successful, acquire location information uploaded by the user equipment, health information of the user, and upload time;
a first processing module 703, configured to determine a card punching time according to the uploading time when it is determined that the location information meets a location condition and it is determined that the health information meets a health condition;
and the second processing module 704 is configured to determine that the user is successful in punching the card when the punching time is within a preset time period.
In this embodiment, by setting the acquisition module 701, the authentication module 702, the first processing module 703 and the second processing module 704, by providing the two-dimensional code to the user equipment, the identity information uploaded by the user equipment through scanning the two-dimensional code is acquired, the identity information is authenticated first, if the identity information authentication is successful, the location information uploaded by the user equipment, the health information of the user and the uploading time are acquired, then the location information and the health information are confirmed, if the location information and the health information both meet the respective corresponding conditions, the time for the user to punch a card is determined based on the uploading time, and if the time for the user to punch a card is within a specified time range (i.e. within a preset time period), the time for the user to punch a card is indicated to be normal, and then the user to open is determined to be successful. Therefore, by providing two-dimension code card punching, the authentication, position and health state verification of the user identity can be realized, and whether the card punching time is normal or not is further determined, so as to determine whether the card punching of the user is successful or not. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching work card is not required to be manufactured or fingerprint identification, face recognition and other devices are not required to be deployed, and the cost is reduced.
Optionally, the authentication module 702 is specifically configured to:
acquiring the position information uploaded by the user equipment;
acquiring health information of the user sent by a third party, wherein the health information is called through a third party window acted on the display of the user equipment;
and acquiring the time for the user equipment to finish uploading the position information and the health information, and taking the time as the uploading time.
Optionally, the identity information includes a biometric feature; the authentication module 702 is further specifically configured to:
authenticating the identified biological characteristics, and if the biological characteristics are authenticated successfully, determining that the identity information authentication is successful; or,
the identity information includes biological characteristics and environmental characteristics, and the authentication module 702 is further specifically configured to:
authenticating the identified biological characteristics, and authenticating the identified environmental characteristics after the biological characteristics are successfully authenticated;
and if the environmental characteristic authentication is successful, determining that the identity information authentication is successful.
Optionally, the card punching device further includes: a transmitting module; and the sending module is used for sending a prompt message to the user equipment when the environmental characteristic is not identified or the authentication of the environmental characteristic fails, wherein the prompt message is used for prompting the user equipment to re-upload the environmental characteristic.
Optionally, the card punching device further includes: updating a module; the updating module is used for updating the links corresponding to the two-dimensional codes; wherein the link comprises at least one of: a link to the server, a link to a server maintaining the health information.
The device provided in the embodiment of the present application may implement the method of the embodiment shown in fig. 2, and its implementation principle and technical effects are similar, and are not described herein again.
Based on the same idea, the embodiment of the present disclosure further provides a device corresponding to the method, as shown in fig. 8, and fig. 8 is a schematic structural diagram of a card punching device according to another embodiment of the present disclosure. The card punching device may include:
the first processing module 801 is configured to upload identity information to a server by scanning a two-dimensional code, so that the server performs identity authentication on the identity information;
a display module 802, configured to display a first service interface for uploading location information and health information of a user after the server successfully authenticates the identity information;
the second processing module 803 is configured to upload the location information, the health information of the user, and the upload time to the server according to a triggering operation of the user on the first service interface, so that the server determines a card punching state of the user according to the location information, the health information of the user, and the upload time, where the card punching state includes success or failure of card punching;
And the receiving module 804 is configured to receive a message sent by the server and used for indicating the card punching state.
In this embodiment, by setting the first processing module 801, the display module 802, the second processing module 803, and the receiving module 804, performing the card punching operation by scanning the two-dimensional code, the interactive operation between the user equipment and the server can be realized, and further, the authentication, the location, the verification of the health status, and the online operation of the user identity are realized, so as to determine whether the card punching time is normal, thereby determining whether the card punching of the user is successful. The acquisition efficiency can be improved by means of the user equipment of the user, and the acquired information is reported to the server for authentication, so that the acquisition efficiency in the whole card punching process can be improved; meanwhile, identity information such as biological characteristics in a complex environment can be acquired through the user equipment; or the biological characteristics and the environmental characteristics improve the acquisition accuracy, and the accuracy of the identity authentication of the server is improved due to the high acquisition accuracy. Meanwhile, the card punching mode provided by the application does not need to manufacture a card punching work card or deploy fingerprint identification, face recognition and other equipment, so that the cost is reduced.
Optionally, the first processing module 801 is specifically configured to:
After a user scans the two-dimensional code, the identity information is obtained in response to triggering operation acting on a second service interface provided by the two-dimensional code, and the identity information is uploaded to a server.
Optionally, the second processing module 803 is specifically configured to:
responding to a positioning operation triggered by displaying the first service interface, and acquiring the position information;
responding to the triggering operation of the user on the sub-interface in the first service interface, and acquiring the health information; the sub-interface is used for calling and displaying the program of the health information;
and responding to a triggering operation for uploading the position information and the health information, determining uploading time and uploading the position information, the health information of the user and the uploading time to the server. Based on the same thought, the embodiment of the application also provides a system corresponding to the method, and the system is shown in fig. 1. The card punching system may include: the system comprises a server and user equipment, wherein the server is in communication connection with the user equipment;
the server is used for realizing the method of any one of the first aspects;
the user equipment is configured to implement the method of any one of the second aspects.
The system provided in the embodiment of the present application may implement the method of the embodiment shown in fig. 2 to 6, and the implementation principle and technical effects are similar, and are not repeated herein.
Fig. 9 is a schematic hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device provided in this embodiment includes: a processor 901, and a memory communicatively coupled to the processor. The processor 901 and the memory 902 are connected by a bus 903.
In a specific implementation process, the processor 901 executes computer-executable instructions stored in the memory 902, so that the processor 901 performs the method in the above method embodiment.
The specific implementation process of the processor 901 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 9, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the method for punching cards in the embodiment of the method is realized.
Embodiments of the present application also provide a computer program product comprising a computer program which, when executed by a processor, implements a method of punching cards as described above.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in a device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A method of punching a card, the method being applied to a server, the method comprising:
acquiring identity information uploaded by user equipment through scanning a two-dimensional code;
authenticating the identity information, and if the identity information is successfully authenticated, acquiring the position information uploaded by the user equipment, the health information of the user and the uploading time, wherein the position information is acquired by the user through the triggering positioning operation of the user terminal on a first service interface for displaying the position information and the health information of the user, and the health information is acquired in response to the triggering operation of the user on a sub-interface at the first service interface; the sub-interface is used for calling and displaying the program of the health information; the uploading time is the time for completing uploading the position information and the health information;
determining a card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition;
and if the card punching time is within the preset time period, determining that the card punching of the user is successful.
2. The method of claim 1, wherein the obtaining the location information uploaded by the user device, the health information of the user, and the uploading time comprises:
Acquiring the position information uploaded by the user equipment;
acquiring health information of the user sent by a third party, wherein the health information is called through a third party window acted on the display of the user equipment;
and acquiring the time for the user equipment to finish uploading the position information and the health information, and taking the time as the uploading time.
3. The method of claim 1 or 2, wherein the identity information comprises a biometric, and the authenticating the identity information comprises:
authenticating the identified biological characteristics, and if the biological characteristics are authenticated successfully, determining that the identity information authentication is successful; or,
the identity information includes a biometric feature and an environmental feature, and the authenticating the identity information includes:
authenticating the identified biological characteristics, and authenticating the identified environmental characteristics after the biological characteristics are successfully authenticated;
and if the environmental characteristic authentication is successful, determining that the identity information authentication is successful.
4. A method according to claim 3, characterized in that the method further comprises:
and if the environmental characteristic is not identified or the authentication of the environmental characteristic fails, sending a prompt message to the user equipment, wherein the prompt message is used for prompting the user equipment to re-upload the environmental characteristic.
5. The method according to claim 4, wherein the method further comprises:
updating the links corresponding to the two-dimensional codes;
wherein the link comprises at least one of: a link to the server, a link to a server maintaining the health information.
6. A method of punching a card, the method being applied to a user device, the method comprising:
uploading identity information to a server by scanning a two-dimensional code, so that the server performs identity authentication on the identity information;
after the server successfully authenticates the identity information, a first service interface for uploading position information and health information of a user is displayed;
uploading the position information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface, so that the server determines the card punching state of the user according to the position information, the health information of the user and the uploading time, wherein the card punching state comprises successful card punching or failed card punching;
receiving a message which is sent by the server and used for representing the card punching state;
the uploading the location information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface comprises the following steps:
Responding to a positioning operation triggered by displaying the first service interface, and acquiring the position information;
responding to the triggering operation of the user on the sub-interface in the first service interface, and acquiring the health information; the sub-interface is used for calling and displaying the program of the health information;
and responding to a triggering operation for uploading the position information and the health information, determining uploading time and uploading the position information, the health information of the user and the uploading time to the server.
7. The method of claim 6, wherein the uploading the identity information to the server by scanning the two-dimensional code comprises:
after a user scans the two-dimensional code, the identity information is obtained in response to triggering operation acting on a second service interface provided by the two-dimensional code, and the identity information is uploaded to a server.
8. A card punching apparatus, the apparatus comprising:
the acquisition module is used for acquiring identity information uploaded by the user equipment through scanning the two-dimensional code;
the authentication module is used for authenticating the identity information, and if the identity information authentication is successful, the position information uploaded by the user equipment, the health information of the user and the uploading time are acquired; the position information is obtained by the user through the user terminal by triggering a positioning operation on a first service interface for uploading the position information and health information of the user, and the health information is obtained by responding to the triggering operation of the user on a sub-interface on the first service interface; the sub-interface is used for calling and displaying the program of the health information; the uploading time is the time for completing uploading the position information and the health information;
The first processing module is used for determining the card punching time according to the uploading time when the position information is determined to meet the position condition and the health information is determined to meet the health condition;
and the second processing module is used for determining that the user is successful in punching the card when the card punching time is within a preset time period.
9. A card punching apparatus, the apparatus comprising:
the first processing module is used for uploading identity information to a server by scanning the two-dimensional code so that the server can carry out identity authentication on the identity information;
the display module is used for displaying a first service interface for uploading the position information and the health information of the user after the server successfully authenticates the identity information;
the second processing module is used for uploading the position information, the health information of the user and the uploading time to the server according to the triggering operation of the user on the first service interface, so that the server determines the card punching state of the user according to the position information, the health information of the user and the uploading time, wherein the card punching state comprises successful card punching or failed card punching;
the receiving module is used for receiving a message which is sent by the server and used for representing the card punching state;
The second processing module is specifically configured to obtain the location information in response to a positioning operation triggered by displaying the first service interface;
responding to the triggering operation of the user on the sub-interface in the first service interface, and acquiring the health information; the sub-interface is used for calling and displaying the program of the health information;
and responding to a triggering operation for uploading the position information and the health information, determining uploading time and uploading the position information, the health information of the user and the uploading time to the server.
CN202210265601.XA 2022-03-17 2022-03-17 Card punching method and device Active CN114821845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210265601.XA CN114821845B (en) 2022-03-17 2022-03-17 Card punching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210265601.XA CN114821845B (en) 2022-03-17 2022-03-17 Card punching method and device

Publications (2)

Publication Number Publication Date
CN114821845A CN114821845A (en) 2022-07-29
CN114821845B true CN114821845B (en) 2024-03-22

Family

ID=82529756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210265601.XA Active CN114821845B (en) 2022-03-17 2022-03-17 Card punching method and device

Country Status (1)

Country Link
CN (1) CN114821845B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116645075A (en) * 2023-05-27 2023-08-25 陕西省君凯电子科技有限公司 Intelligent health detection attendance system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294693A (en) * 2016-08-05 2017-01-04 山东中磁视讯股份有限公司 A kind of inmate calls the roll method and system
CN108764806A (en) * 2018-03-24 2018-11-06 北京工业大学 A kind of labor service real-name management system for wisdom building site
CN109460899A (en) * 2018-10-09 2019-03-12 四川爱信诺航天信息有限公司 A kind of personnel management methods and device
CN111861804A (en) * 2020-07-07 2020-10-30 中国建设银行股份有限公司 Community management method, system, user terminal and management terminal
CN112511648A (en) * 2020-12-16 2021-03-16 天博电子信息科技有限公司 Intelligent information acquisition display device and system for epidemic situation prevention and control
CN113420054A (en) * 2021-05-10 2021-09-21 武汉光阴南北网络技术咨询中心 Information statistical method, server, client and storage medium
CN113688430A (en) * 2021-09-09 2021-11-23 康键信息技术(深圳)有限公司 Block chain-based data access authorization method, device, equipment and storage medium
CN113744444A (en) * 2021-09-22 2021-12-03 重庆小易智联智能技术有限公司 Access control system and control method thereof
CN113903476A (en) * 2021-10-12 2022-01-07 重庆单戈科技发展有限公司 System, method and storage medium for inputting text and travel safety management epidemic prevention
CN113948192A (en) * 2021-10-18 2022-01-18 深圳市嘉俊物联科技有限公司 Internet-based hospitalizing full-flow service platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180247701A1 (en) * 2017-02-26 2018-08-30 Kirstan A. Vandersluis System and Method to Combine, View, and Distribute Patient Health Records from Multiple Sources

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294693A (en) * 2016-08-05 2017-01-04 山东中磁视讯股份有限公司 A kind of inmate calls the roll method and system
CN108764806A (en) * 2018-03-24 2018-11-06 北京工业大学 A kind of labor service real-name management system for wisdom building site
CN109460899A (en) * 2018-10-09 2019-03-12 四川爱信诺航天信息有限公司 A kind of personnel management methods and device
CN111861804A (en) * 2020-07-07 2020-10-30 中国建设银行股份有限公司 Community management method, system, user terminal and management terminal
CN112511648A (en) * 2020-12-16 2021-03-16 天博电子信息科技有限公司 Intelligent information acquisition display device and system for epidemic situation prevention and control
CN113420054A (en) * 2021-05-10 2021-09-21 武汉光阴南北网络技术咨询中心 Information statistical method, server, client and storage medium
CN113688430A (en) * 2021-09-09 2021-11-23 康键信息技术(深圳)有限公司 Block chain-based data access authorization method, device, equipment and storage medium
CN113744444A (en) * 2021-09-22 2021-12-03 重庆小易智联智能技术有限公司 Access control system and control method thereof
CN113903476A (en) * 2021-10-12 2022-01-07 重庆单戈科技发展有限公司 System, method and storage medium for inputting text and travel safety management epidemic prevention
CN113948192A (en) * 2021-10-18 2022-01-18 深圳市嘉俊物联科技有限公司 Internet-based hospitalizing full-flow service platform

Also Published As

Publication number Publication date
CN114821845A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN105184881A (en) Method, apparatus, server and system for identifying user identity
CN108449321B (en) Login method, server and client
CN107786487B (en) Information authentication processing method, system and related equipment
US20180288040A1 (en) System and Method for Biometric Authentication-Based Electronic Notary Public
US20190164167A1 (en) System and Method for Identity Verification of a User
JP2023549934A (en) Method and apparatus for user recognition
CN114821845B (en) Card punching method and device
CN106469269B (en) A kind of method, apparatus and terminal of Password Management
CN108960195B (en) Identity verification method and system
CN110795715A (en) Data entry method, device and system and storage medium
US10936706B2 (en) Biometric authentication
US20240028698A1 (en) System and method for perfecting and accelerating biometric identification via evolutionary biometrics via continual registration
JP2018169943A (en) Face authentication processing device, face authentication processing method and face authentication processing system
CN113170021A (en) Method and system for remote interaction between at least one user and at least one operator of automatic and manual type
CN108766442B (en) Identity authentication method and device based on voiceprint graphic identification
CN115273300A (en) Gate control method, device, equipment and medium
JP7100334B2 (en) Authentication device, authentication method, and program
US10057258B2 (en) Biometric identification device
CN113705428A (en) Living body detection method and apparatus, electronic device, and computer-readable storage medium
US11128620B2 (en) Online verification method and system for verifying the identity of a subject
CN112184237A (en) Data processing method and device and computer readable storage medium
JP2021089638A (en) Attendance management system
CN111681348A (en) Access control authentication method and device
CN110598670A (en) Method and device for setting monitoring area forbidden zone, storage medium and computer equipment
CN109583264B (en) Information identification method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant