CN109102581A - A kind of punch card method, device, system and storage medium - Google Patents

A kind of punch card method, device, system and storage medium Download PDF

Info

Publication number
CN109102581A
CN109102581A CN201810960808.2A CN201810960808A CN109102581A CN 109102581 A CN109102581 A CN 109102581A CN 201810960808 A CN201810960808 A CN 201810960808A CN 109102581 A CN109102581 A CN 109102581A
Authority
CN
China
Prior art keywords
card
information
identification
checking card
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810960808.2A
Other languages
Chinese (zh)
Other versions
CN109102581B (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.)
Bright Wind (yunnan) Artificial Intelligence Co Ltd
Original Assignee
Bright Wind (yunnan) Artificial Intelligence 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 Bright Wind (yunnan) Artificial Intelligence Co Ltd filed Critical Bright Wind (yunnan) Artificial Intelligence Co Ltd
Priority to CN201810960808.2A priority Critical patent/CN109102581B/en
Publication of CN109102581A publication Critical patent/CN109102581A/en
Application granted granted Critical
Publication of CN109102581B publication Critical patent/CN109102581B/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
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of punch card method, device, system and storage mediums.This method comprises: sending logging request to server if detecting log-in instruction;If logining successfully, at least one corresponding identification map logo in a position and a position of respectively checking card of checking card of server transmission is received, wherein check card a position and identification map logo are respectively used to the identification figure that prompt user carries out the position of image scanning and needs scan;If detecting camera scan instruction, then current identification figure is scanned, determine current identification figure information and present scanning position, verifying of checking card carried out according to current identification figure information and present scanning position according to check card verifying or request server of current identification figure information and present scanning position;Export verification result of checking card.Technical solution through the embodiment of the present invention, can reduce cost of checking card, and improve efficiency of checking card, and promote user and check card experience.

Description

A kind of punch card method, device, system and storage medium
Technical field
The present embodiments relate to Internet technical fields more particularly to a kind of punch card method, device, system and storage to be situated between Matter.
Background technique
Check card is that common one kind is registered method in daily management.For example, participating in the object for appreciation of game in break-through game contest Family can carry out registering for game level by the mode of checking card;Alternatively, enterprise staff can also carry out attendance by the mode of checking card It registers.
Currently, there are three types of common modes of checking card.First way is RFID (Radio Frequency Identification, radio frequency identification) mode, which needs user to put in advance to be provided with the wearable of RFID chip Equipment identifies specific objective by radio signals and reads and writes related data, checks card to realize.The second way is that fingerprint is known Other mode can scan the fingerprint of user by optical device, and be matched with the finger print information of typing, if matching at Function, it is determined that user completes punching operation in target position.The third mode is recognition of face mode, is calculated by artificial intelligence Method identifies human face characteristic point, and is matched with registered facial information, if successful match, it is determined that user is in position of checking card Punching operation is completed at the camera set.
As it can be seen that the existing mode of checking card is required to according to the one-to-one feature of user or equipment, with fixed acquisition device It interacts, to determine that user reaches certain position.Obviously, the existing mode of checking card needs to arrange fixed adopt at position of checking card Acquisition means considerably increase cost of checking card, and need successively to be lined up and individually be checked card, thus reduce check card efficiency and The experience of checking card of user.
Summary of the invention
The embodiment of the invention provides a kind of punch card method, device, system and storage mediums, to reduce cost of checking card, and Raising is checked card efficiency, is promoted user and is checked card experience.
In a first aspect, being applied to client the embodiment of the invention provides a kind of punch card method, comprising:
If detecting log-in instruction, logging request is sent to server;
If logining successfully, at least one check card a position and each described point of checking card of the server transmission are received Set corresponding identification map logo, wherein described to check card a position and the identification map logo is respectively used to prompt user and carries out figure The identification figure scanned as the position of scanning and needs;
If detecting camera scan instruction, current identification figure is scanned, determine current identification figure information and is worked as Preceding scan position carries out verifying of checking card, or the request clothes according to the current identification figure information and the present scanning position Business device carries out verifying of checking card according to the current identification figure information and the present scanning position;
Export verification result of checking card.
Second aspect, the embodiment of the invention also provides a kind of punch card methods, are applied to server, comprising:
The logging request that client is sent is received, and login authentication is carried out according to the logging request;
If login authentication success, at least one check card a position and each described position pair of checking card are sent to client The identification map logo answered, so that the client when detecting camera scan instruction, is scanned current identification figure, really Identification figure information and present scanning position before settled, and carried out according to the current identification figure information and the present scanning position It checks card verifying, or request book server carries out verifying of checking card according to the current identification figure information and the present scanning position;
Wherein, a position and the position for identifying map logo and being respectively used to prompt user's progress image scanning of checking card The identification figure scanned with needs.
The third aspect, the embodiment of the invention also provides a kind of punch-card devices, are set to client, comprising:
Logging request sending module, if sending logging request to server for detecting log-in instruction;
It checks card an information receiving module, if receiving at least one that the server is sent for logining successfully and checking card Point position and each corresponding identification map logo in a position of checking card, wherein a position and the identification icon of checking card Know the identification figure for being respectively used to that prompt user carries out the position of image scanning and needs scan;
Authentication module of checking card determines and works as if being scanned for detecting camera scan instruction to current identification figure Preceding identification figure information and present scanning position check card testing according to the current identification figure information and the present scanning position Card, or the request server carry out verifying of checking card according to the current identification figure information and the present scanning position;
It checks card verification result output module, for exporting verification result of checking card.
Fourth aspect, the embodiment of the invention also provides a kind of punch-card devices, are set to server, comprising:
Login authentication module for receiving the logging request of client transmission, and is logged according to the logging request Verifying;
An information sending module of checking card sends at least one point of checking card to client if successful for login authentication It sets and each corresponding identification map logo in a position of checking card, so that the client is detecting camera scan instruction When, current identification figure is scanned, determines current identification figure information and present scanning position, and scheme according to the current identification Information and the present scanning position carry out verifying of checking card, or request book server is according to the current identification figure information and described Present scanning position carries out verifying of checking card;
Wherein, a position and the position for identifying map logo and being respectively used to prompt user's progress image scanning of checking card The identification figure scanned with needs.
5th aspect, the embodiment of the invention also provides a kind of punch card system, the system comprises: server and at least one A client;Wherein,
The punch card method that the client provides for realizing such as first aspect;
The punch card method that the server provides for realizing such as second aspect.
6th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the punch card method as described in any embodiment of the present invention when the program is executed by processor.
The embodiment of the present invention, when detecting log-in instruction, sends logging request to server, and stepping on by client When recording successfully, at least one check card a position and corresponding identification icon in a position of each checking card of server transmission are received Know, with the identification figure for prompting user to carry out image scanning and need to scan;Client when detecting camera scan instruction, Current identification figure is scanned and determines current identification figure information and present scanning position.Client can be according to current identification figure Information and present scanning position carry out verifying of checking card, can also be with request server according to current identification figure information and Current Scan position It sets and carries out verifying of checking card.The embodiment of the present invention only need to using with scanning function client and server carry out information exchange come It realizes attendance function, it is not necessary that fixed acquisition equipment is arranged at position of checking card, thus greatly reduces cost of checking card, and lead to The mode of overscanning identification figure is checked card, and can be made multiple users while be checked card, and is successively checked card without being lined up, in turn Efficiency of checking card is improved, the experience of checking card of user is improved.
Detailed description of the invention
Fig. 1 is a kind of flow chart for punch card method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of punch card method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for punch-card device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for punch-card device that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for punch card system that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for punch card method that the embodiment of the present invention one provides, and the present embodiment is applicable to utilize tool There is the case where client of scanning function is checked card, particularly in break-through game contest, player is in game level The scene that place checks card.This method can be executed by being set to the punch-card device of client, the device can by software and/ Or the mode of hardware is realized, is integrated in the mobile terminal with camera, such as smart phone and tablet computer.Such as Fig. 1 It is shown, this method specifically includes the following steps:
If S110, detecting log-in instruction, logging request is sent to server.
Wherein, log-in instruction can be the instruction that client is generated when preset login button triggers, to enter In the application program checked card.Illustratively, after user can input user login information in the login page of client, pass through Triggering login button makes client generate log-in instruction.Server in the present embodiment can refer to cloud server, can also be with Refer to local side server, for carrying out information exchange with client, to realize attendance function.
Specifically, client can be directly according to the user login information of input when client detects log-in instruction Logging request is generated, logging request can also be generated according to user login information and terminal encryption information, to guarantee to exist every time It is logged in same terminal, so as to prevent others on behalf of checking card, avoids cheating of checking card.Wherein, user logs in letter Breath may include the hashed value of pre-registered login account and login password, and terminal encryption information can be based on predetermined encryption Algorithm, the encryption information generated according to registration terminal mark.Each registration terminal mark unique corresponding one in the present embodiment A terminal encryption information.Logging request is sent to server after generating logging request by client, so that server is according to stepping on Record request carries out login authentication.
Optionally, if client is when between the time between the log-in instruction that time log-in instruction detected and last time detect Every being greater than prefixed time interval, then client can generate an encrypted characters string at random, and by the encrypted characters string and input User login information be sent in server and carry out login authentication.If client is examined when the secondary log-in instruction detected and last time The time interval between log-in instruction measured is less than or equal to prefixed time interval, then the encrypted characters directly generated last time String is sent to server, so that server can be by matching when time encrypted characters of the encrypted characters string sent and last time transmission Whether string is identical to carry out login authentication, without inputting user login information again, to realize automatic quick registration.
If S120, logining successfully, at least one check card a position and position of respectively checking card of server transmission are received Corresponding identification map logo.
Wherein, check card a position and identify map logo be respectively used to prompt user carry out image scanning position and needs sweep The identification figure retouched.A position of checking card is pre-set according to the actual situation and one or more of is stored in server and checks card Position.When point of checking card is set to multiple, server can send a position of checking card to client one by one, can also beat all Stuck point position is disposably sent to client.When the point of checking card that client receives server transmission postpones, user can root The position checked card is found according to the position of checking card in client, that is, carries out the position of image scanning.Knowledge in the present embodiment Figure not can be pre-set image or two dimensional code of the fixed placement at a position of checking card, and every identification figure can be for multiple Client is scanned simultaneously, so that multiple users can check card simultaneously, is successively checked card without being lined up, is improved and beat Card efficiency.Identification map logo can refer to the legend and/or picture number of identification figure.The present embodiment is at each position of checking card It can be pre-placed one or more identification figure, i.e., a position of each checking card can correspond to one or more identification map logos.
Specifically, when server according to logging request carry out login authentication success when, server by it is pre-stored at least One position and each the corresponding identification map logo in a position of checking card is sent to client of checking card.Client can will receive Check card a position and each the corresponding identification map logo in a position of checking card shown, to prompt user's arrival to check card point It sets, and correct identification figure is found at a position of checking card according to the corresponding identification map logo in a position of checking card, to carry out Subsequent scanning punching operation.
If the present embodiment is applied in the scene of break-through game, use can be brought by the searching process of identification figure The experience sense played is explored at family, increases the enjoyment of game.
If S130, detecting camera scan instruction, current identification figure is scanned, determines current identification figure information And present scanning position, according to current identification figure information and present scanning position check card verifying or request server according to Current identification figure information and present scanning position carry out verifying of checking card.
Wherein, camera scan instruction can refer to the instruction generated when user opens the scanning function in client.When Preceding identification figure can refer to the identification figure being currently located in scanning area.Current identification figure information can refer to current identification figure pair The scanning information answered.Present scanning position can be when scanning current identification figure, geographical location at client.This reality Present scanning position can be determined by positioning system preassembled in client by applying example.
Specifically, when user reaches some position and according to the searching of the corresponding identification map logo in a position of checking card of checking card After the identification figure checked card at a position to this, the scanning function in client is opened, and work as what scanning area alignment searched out Preceding identification figure determines current identification figure information and present scanning position so that client carries out identification scanning to current identification figure. The current identification figure that user finds in the present embodiment is possible to not be accurate identification figure corresponding with identification map logo, currently sweeps Retouch position and be also possible to not be a position of accurately checking card, thus need according to current identification figure information and present scanning position into Capable verifying of checking card.In the present embodiment, can directly in the client according to current identification figure information and present scanning position into Capable verifying of checking card;Current identification figure information and present scanning position can also be sent to server, request server is beaten Card verifying.The present embodiment check card verify when, can be with advanced row location matches after, and known after the successful match of position It Tu not match;Identification figure matching can also be first carried out, and carries out location matches after identification figure successful match.
Optionally, when carry out checking card in the client verify when, according to current identification figure information and Current Scan in S130 Position carries out verifying of checking card, comprising: calculates the first distance respectively checked card between position and present scanning position, and according to each the One distance and pre-determined distance determine that target is checked card a position;Current identification figure information is carried out according to default extraction algorithm special Sign is extracted, and determines current identification figure feature;Current identification figure feature and the target corresponding target recognition chart in a position of checking card is special Sign is matched, if successful match, is checked card and is proved to be successful.
Wherein, pre-determined distance can refer to the worst error value set when location matches.Default extraction algorithm can refer to Any one algorithm that identification is schemed to carry out feature extraction in the prior art.When carry out checking card in the client verify when, client End can in advance from server download part or whole the corresponding identification figure feature of identification figure.
The present embodiment carries out checking card in the client when verifying, can be to carry out identification figure feature after advanced row location matches Match.Specifically, client calculates a received first distance each checked card between position and present scanning position first, and by The size of a relatively first distance and pre-determined distance shows user if each first distance is all larger than or is equal to pre-determined distance A position of checking card for setting is not reached, that is, positional fault of checking card can determine authentication failed of checking card at this time.Some is checked card if it exists First distance between point position and present scanning position is less than pre-determined distance, then shows that user reaches the point of checking card of setting It sets, the position that this can be checked card at this time is determined as target and checks card a position.Target is checked card a position if it exists, then is needed into one Step carries out the matching of identification figure feature.Client can carry out feature to current identification figure first with local default extraction algorithm It extracts, obtains current identification figure feature.If there is knowing with the target corresponding target in a position of checking card of downloading in advance in client Not figure feature then directly will currently identify that figure feature and target recognition chart feature carry out characteristic matching, if matching in the client Success then shows that current identification figure be that target is checked card the corresponding target recognition chart in a position, and determination, which is checked card, at this time is proved to be successful;If It fails to match, then shows that current identification figure is not target recognition chart, determines authentication failed of checking card at this time.If not deposited in client In the target recognition chart feature downloaded in advance, i.e., check card a position pair in the identification figure feature downloaded in client there is no target Current identification figure feature then can be sent to server, to carry out feature in the server by the target recognition chart feature answered Matching, and the result of characteristic matching is back in client, to realize that the intelligence of client and server switches.If returning Characteristic matching result success, then check card and be proved to be successful;If the characteristic matching result failure returned, authentication failed of checking card.It needs It should be noted that when target check card a position correspond to multiple target recognition chart features when, in the mistake for carrying out identification figure characteristic matching Cheng Zhong, if currently identification figure feature and either objective identification figure characteristic matching success, can determine to check card and be proved to be successful;If working as It fails to match for preceding identification figure feature and each target recognition chart feature, it is determined that authentication failed of checking card.
Optionally, when carry out checking card in the client verify when, according to current identification figure information and Current Scan in S130 Position carries out verifying of checking card, comprising: carries out feature extraction to current identification figure information according to default extraction algorithm, determines and currently know Not figure feature;Current identification figure feature is matched one by one with each identification figure feature, if successful match, by successful match Identification figure is determined as target recognition chart;Calculating present scanning position target corresponding with target recognition chart is checked card between a position Second distance;If second distance is less than pre-determined distance, checks card and be proved to be successful.
The present embodiment carries out checking card in the client when verifying, and can also first carry out the laggard line position of identification figure characteristic matching and set Matching.Specifically, client can use local default extraction algorithm first carries out feature extraction to current identification figure, and will The current identification figure feature obtained is matched with pre-stored each identification figure feature, if successful match, is shown current Identification figure is accurate identification figure;If it fails to match, show that current identification figure feature and pre-stored identification figure feature are equal Current identification figure feature can be sent in server by difference at this time, so that server carries out further feature matching, and Matching result is back to client, to realize that the intelligence of client and server switches.If identifying the success of figure characteristic matching, The corresponding position of checking card of the identification figure feature of successful match is then determined as target to check card a position, and calculates Current Scan position The second distance checked card between a position with target is set, whether reaching target to verify user checks card a position, prevents work of checking card Disadvantage behavior.If second distance is less than pre-determined distance, it is determined that it checks card and is proved to be successful, authentication failed of otherwise checking card.
S140, verification result of checking card is exported.
Wherein, verification result of checking card may include checking card to be proved to be successful and check card authentication failed.It checks card and tests in the present embodiment The way of output of card result can be shows the corresponding verification information of checking card of verification result of checking card in the display interface of client, Corresponding check card of verification result of checking card can also be played by the playback equipment in client and verify voice messaging, can also utilize The augmented realities contents such as the corresponding three-dimensional image of verification result, image and video of checking card are presented in augmented reality, to increase Add interest, promotes user and check card experience.
The technical solution of the present embodiment sends logging request to server through client when detecting log-in instruction, And when logining successfully, at least one check card a position and corresponding identification in a position of each checking card of server transmission are received Map logo, with the identification figure for prompting user to carry out image scanning and need to scan;Client detect camera scanning refer to When enabling, current identification figure is scanned and determines current identification figure information and present scanning position.Client can be according to current Identification figure information and present scanning position carry out verifying of checking card, can also be with request server according to current identification figure information and current Scan position carries out verifying of checking card.The embodiment of the present invention need to only utilize client and server progress information with scanning function To realize attendance function, the acquisition equipment fixed without the setting at position of checking card thus greatly reduces cost of checking card for interaction, And it is checked card, multiple users can be made while checked card by way of scanning recognition figure, successively beaten without being lined up Card, and then efficiency of checking card is improved, improve the experience of checking card of user.
Based on the above technical solution, this method further include: if detecting register instruction, register customers as information It is sent to server with endpoint to register information, to carry out user's registration.
Wherein, the present embodiment also needs to carry out user's registration before carrying out user's login.Register instruction can be client The instruction generated in the triggering of preset registration button.Illustratively, user inputs user's note in the enrollment page of client After volume information, register instruction is generated by triggering preset registration button.Wherein, user's registration information can include but is not limited to User's registration account, the hashed value of user login password, remark information and the interested data of checking card of user of manual setting. The endpoint to register information encryption information that the corresponding terminal iidentification of used terminal generates when being user's registration, to guarantee in user It after succeeding in registration, is only capable of carrying out user's login in used terminal in registration, so as to prevent other people on behalf of checking card Cheating.
Specifically, registration request is sent to server, to register customers as when client is when detecting register instruction Information and endpoint to register information are sent to server.User's registration information and endpoint to register information carry out server based on the received Registration verifying.Illustratively, if registration is proved to be successful, instruction of succeeding in registration can be sent to client, otherwise sends registration Failure command.Client detect succeed in registration instruct when, the information that succeeds in registration can be exported, with remind user's registration at Function can carry out register;When detecting registration failure instruction, corresponding registration can be exported according to registration failure reason Failure information, to remind user's this time registration failure.Illustratively, if registration failure be due to user it is registered caused by, It reminds user without registering, can directly be logged in.
Based on the above technical solution, it after receiving at least one position of checking card that server is sent, also wraps It includes:
Invocation map application programming interfaces show current user position and a position of respectively checking card in map interface.
Wherein, client can call the map application interface in local, so as to by current user position with And a position of respectively checking card more is visually displayed in map interface, the guide that can be navigated according to the map so as to user is more just A position of checking card is reached promptly, promotes the experience of checking card of user.
Based on the above technical solution, this method further include: if one that receives only server transmission is checked card a little Position and the corresponding identification map logo in a position of checking card obtain then after scanning identification figure corresponding with the identification map logo Take the next wait the position and next wait the corresponding identification map logo in a position of checking card of checking card of a position of checking card.
Wherein, refer to the position that do not check card also wait a position of checking card, can be except what server was sent checks card a little Any position of checking card except position.Next wait a position of checking card is based on checking card order, this sent with server is checked card The adjacent next position of checking card in point position.The present embodiment can be previously according to order of checking card, and addition should in every identification figure Open lower identification figure information of identification figure.Illustratively, it is assumed that have three preset identification figures, then add in first identification figure Add check card a position and the corresponding identification map logo that second identification figure is located at, and is added in second identification figure Check card a position and the corresponding identification map logo that third identification figure is located at.When client is receiving only server hair One sent check card position when, can be by scanning the corresponding identification figure of the identification map logo after, i.e., in a position of checking card After checking card successfully, obtain automatically it is next wait the position and next wait the corresponding identification map logo in a position of checking card of checking card, so as to Prompt user's arrival is next to carry out a punching operation wait a position of checking card, and increases the interest checked card.And when secondary success of checking card Afterwards, client can just provide the information checked card next time, so that client can provide check card position and correspondence to user one by one Identification map logo.In the application scenarios for the break-through game that there is order of checking card, this setup can be to avoid because primary The checking card position provided is excessive and the situation for the order mistake that causes to check card, to further improve the experience of checking card of user.
Optionally, if receiving only check card a position and corresponding identification in a position of checking card of server transmission Map logo, then after scanning corresponding with identification map logo identification figure, acquisition is multiple wait the position and respectively wait check card of checking card The corresponding identification map logo in point position.Wherein, refer to the position that do not check card also wait a position of checking card, can be except service Any position of checking card except the position of checking card that device is sent.The present embodiment can be in the position pair of checking card that server is sent Added in advance in the identification figure answered it is multiple wait the corresponding identification figure information in a position of checking card, with the identification figure sent by scanning It is after identifying corresponding identification figure, i.e., available subsequent multiple wait a position of checking card after a position of checking card is checked card successfully. Illustratively, it is assumed that have three preset identification figures, then can be added simultaneously in first identification figure second identification figure and Third identification figure corresponding check card a position and corresponding identification map logo, to open identification figure in scanning first Afterwards, second identification figure and a third corresponding position and the corresponding identification figure of checking card of identification figure can be obtained automatically Mark, so that user can make rational planning for shortest route of checking card according to self-position, raising is checked card efficiency.When limitation is checked card Between application scenarios in, this setup can save user and check card the time, so promoted user experience of checking card.
Based on the above technical solution, this method further include:, will if verification result of checking card is to check card to be proved to be successful Information of currently checking card is stored in server, to carry out data management and analysis.
Wherein, information of currently checking card can include but is not limited to current identification figure information, present scanning position, Current Scan Time and user login information.Wherein the Current Scan time is for characterizing checking card the time for user.The present embodiment passes through will be each User's currently checks card information storage in the server, can carry out data management and analysis so as to subsequent.Illustratively, according to Multiple users' of storage currently checks card information, can determine that flow of the people is most and check card a little, a complexity for setting of checking card, Excavate the hobby etc. of user.
Embodiment two
Fig. 2 is a kind of flow chart of punch card method provided by Embodiment 2 of the present invention, and the present embodiment is applicable to utilize tool There is the case where client of scanning function is checked card, particularly in break-through game contest, player is in game level The scene that place checks card.This method can be executed by being set to the punch-card device of server-side, the device can by software and/ Or the mode of hardware is realized, is integrated in data processing server.As shown in Fig. 2, this method specifically includes the following steps:
S210, the logging request that client is sent is received, and login authentication is carried out according to logging request.
Wherein, client can refer to and be mounted on the mobile terminal with camera, carry out information exchange with server Application-specific.Logging request can include but is not limited to user login information, terminal encryption information and/or encrypted characters String.User login information may include the hashed value of pre-registered login account and login password, and terminal encryption information can be with It is based on predetermined encryption algorithm, according to the encryption information of registration terminal mark generation.Encrypted characters string can be client and work as When the time interval between log-in instruction that the secondary log-in instruction detected and last time detect is greater than prefixed time interval, at random The encrypted characters string generated.
Optionally, when logging request includes user login information and terminal encryption information, being asked according to login in S210 Seek carry out login authentication, comprising: by each user's registration information in user login information and pre-stored first map information Carry out user's matching;If user's successful match, the corresponding target terminal of user login information is determined according to the first map information Registration information;If target terminal registration information is consistent with terminal encryption information, login authentication success.
Wherein, the first map information may include pre-registered each user's registration information and each endpoint to register information Between mapping relations.Specifically, server can by all user's registration informations in the first map information one by one with user Log-on message carries out user's matching and shows that the user is also unregistered if it fails to match by user, can send at this time to client Login failure information, to prompt user to register or re-enter user login information.If user's successful match, shows The user is registered, at this time according to the determining user's registration information with user login information successful match of the first map information Corresponding endpoint to register information, and the endpoint to register information is determined into target terminal registration information.By terminal encryption information and mesh It marks endpoint to register information and carries out terminal coupling, if terminal coupling is consistent, login authentication success, otherwise login authentication fails.This Embodiment is operated by terminal coupling, it is ensured that it is logged in the terminal used every time in same terminal, i.e. registration, So as to prevent from logging in the account information of oneself in other people terminals, and then avoid others on behalf of the cheating checked card.
Optionally, if client is when between the time between the log-in instruction that time log-in instruction detected and last time detect Every being less than or equal to prefixed time interval, then the encrypted characters string that last time generates directly is sent to server, at this time server The logging request received only includes an encrypted characters string.Server can connect to when time received encrypted characters string with last time The encrypted characters string of receipts is matched, if successful match, shows login authentication success, without verifying user login information and end Encryption information is held, so as to realize automatic quick registration.
If the success of S220, login authentication, at least one is sent to client check card and a position and respectively check card a position Corresponding identification map logo determines so that client when detecting camera scan instruction, is scanned current identification figure Current identification figure information and present scanning position, and verifying of checking card is carried out according to current identification figure information and present scanning position, Or request book server carries out verifying of checking card according to current identification figure information and present scanning position.
Wherein, check card a position and identify map logo be respectively used to prompt user carry out image scanning position and needs sweep The identification figure retouched.A position of checking card is pre-set according to the actual situation and one or more of is stored in server and checks card Position.When point of checking card is set to multiple, server can send a position of checking card to client one by one, can also beat all Stuck point position is disposably sent to client.When the point of checking card that client receives server transmission postpones, user can root The position checked card is found according to the position of checking card in client, that is, carries out the position of image scanning.Knowledge in the present embodiment Figure not can be pre-set image or two dimensional code of the fixed placement at a position of checking card, and every identification figure can be for multiple Client is scanned simultaneously, so that multiple users can check card simultaneously, is successively checked card without being lined up, is improved and beat Card efficiency.Identification map logo can refer to the legend and/or picture number of identification figure.The present embodiment is at each position of checking card It can be pre-placed one or more identification figure, i.e., a position of each checking card can correspond to one or more identification map logos.
Specifically, when server according to logging request carry out login authentication success when, server by it is pre-stored at least One position and each the corresponding identification map logo in a position of checking card is sent to client of checking card.Client can will receive Check card a position and each the corresponding identification map logo in a position of checking card shown, to prompt user's arrival to check card point It sets, and correct identification figure is found at a position of checking card according to the corresponding identification map logo in a position of checking card.When user arrives Up to some position and after searching out the identification figure at a position of checking card of checking card, the scanning function in client is opened, and will Scanning area is directed at the current identification figure searched out, so that client carries out identification scanning to current identification figure, determines current knowledge Not figure information and present scanning position.
In the present embodiment, it can directly be beaten in the client according to current identification figure information and present scanning position Card verifying;Current identification figure information and present scanning position can also be sent to server by client, and request server carries out It checks card verifying.If carrying out verifying of checking card in the client, server, which need to only check card at least one, position and each to be beaten The corresponding identification map logo in stuck point position is sent to client.
Optionally, after S220, further includes: receive the current identification figure information and Current Scan position that client is sent It sets;According to current identification figure information, present scanning position, pre-stored respectively check card a position and the progress of each identification figure feature It checks card verifying.
Wherein, current identification figure can refer to the identification figure being currently located in scanning area.Current identification figure information can be with Refer to the corresponding scanning information of current identification figure.Present scanning position can be when scanning current identification figure, locating for client In geographical location.The present embodiment can determine present scanning position by positioning system preassembled in client.This reality It applies the current identification figure in example and is possible to not be accurate identification figure corresponding with identification map logo, present scanning position also has can It can not be a position of accurately checking card, to need to carry out verifying of checking card according to current identification figure information and present scanning position.
Specifically, server receives the current knowledge that client is sent when client request server check card and verifies Not figure information and present scanning position, and in the server according to current identification figure information, present scanning position, pre-stored It respectively checks card a position and each identification figure feature carries out verifying of checking card.The present embodiment check card verify when, can first carry out After location matches, and identification figure matching is carried out after the successful match of position;Identification figure matching can also be first carried out, and is schemed in identification Location matches are carried out after successful match.
Optionally, when carry out checking card in the server verify when, according to current identification figure information, present scanning position, pre- First store respectively check card a position and each identification figure feature carries out verifying of checking card, comprising: calculate pre-stored respectively checks card a little First distance between position and present scanning position, and according to each first distance and pre-determined distance, determine that target is checked card a little Position;Feature extraction is carried out to current identification figure information according to default extraction algorithm, determines current identification figure feature;To currently it know Not figure feature and the target corresponding target recognition chart feature in a position of checking card is matched, if successful match, is sent out to client It send to check card and is proved to be successful instruction.
Wherein, pre-determined distance can refer to the worst error value set when location matches.Default extraction algorithm can refer to Any one algorithm that identification is schemed to carry out feature extraction in the prior art.
The present embodiment carries out checking card in the server when verifying, can be to carry out identification figure feature after advanced row location matches Match.Specifically, server calculates a pre-stored first distance each checked card between position and present scanning position first, And compare the size of first distance and pre-determined distance one by one, if each first distance is all larger than or is equal to pre-determined distance, show User does not reach a position of checking card for setting, that is, positional fault of checking card can determine authentication failed of checking card at this time.If it exists some The first distance checked card between position and present scanning position is less than pre-determined distance, then shows that user reaches checking card for setting Point position, the position that this can be checked card at this time are determined as target and check card a position.Target is checked card a position if it exists, then is needed The matching of further progress identification figure feature.Server can be first with pre-stored default extraction algorithm to current identification figure Feature extraction is carried out, current identification figure feature is obtained.Server is corresponding by current identification figure feature and target a position of checking card Target recognition chart feature carries out characteristic matching, if successful match, shows that current identification figure is that a target position of checking card is corresponding Identification figure can check card to client transmission be proved to be successful instruction at this time;If it fails to match, verifying of checking card is sent to client Failure command.It should be noted that when target check card a position correspond to multiple target recognition chart features when, it is special carrying out identification figure Levy it is matched during, if currently identification figure feature and either objective identification figure characteristic matching success, can be sent out to client It send to check card and is proved to be successful instruction;If currently it fails to match for identification figure feature and each target recognition chart feature, to client Transmission check card authentication failed instruction.
Optionally, when carry out checking card in the server verify when, according to current identification figure information, present scanning position, pre- First store respectively check card a position and each identification figure feature carries out verifying of checking card, comprising: according to default extraction algorithm to current It identifies that figure information carries out feature extraction, determines current identification figure feature;It will currently identify figure feature and pre-stored each identification Figure feature is matched one by one, if successful match, the identification figure of successful match is determined as target recognition chart;Calculating is currently swept The second distance that position target corresponding with target recognition chart is checked card between a position is retouched, if second distance is less than pre-determined distance, It then checks card to client transmission and is proved to be successful instruction.
The present embodiment carries out checking card in the server when verifying, and can also first carry out the laggard line position of identification figure characteristic matching and set Matching.Specifically, server can use pre-stored default extraction algorithm first carries out feature extraction to current identification figure, And match the current identification figure feature of acquisition with pre-stored each identification figure feature, if it fails to match, show Current identification figure feature and pre-stored characteristic pattern feature are different, can send authentication failed of checking card to client at this time and refer to It enables.If successful match, show that current identification figure is accurate identification figure, and the identification figure of successful match is determined as target and is known Do not scheme.If characteristic matching success, is determined as target for the corresponding position of checking card of target recognition chart feature and checks card a position, and The second distance that present scanning position and target are checked card between a position is calculated, whether reaching target to verify user checks card point It sets, prevents cheating of checking card.If second distance is less than pre-determined distance, checks card and be proved to be successful, is beaten at this time to client transmission Card is proved to be successful instruction, and authentication failed instruction of checking card otherwise is sent to client.
Based on the above technical solution, this method further include:
Receive the user's registration information and endpoint to register information that client is sent;If in pre-stored first map information There is no currently received user's registration informations, then by reflecting between currently received user's registration information and endpoint to register information The relationship of penetrating is stored to the first map information.
Wherein, the first map information includes the mapping relations between each user's registration information and each endpoint to register information.With Family registration information can include but is not limited to user's registration account, the hashed value of user login password, the remarks letter of manual setting Breath and the interested data of checking card of user.Endpoint to register information used terminal corresponding terminal iidentification when being user's registration The encryption information of generation is only capable of carrying out user's login in used terminal in registration to guarantee after user registration success, So as to prevent other people on behalf of the cheating checked card.
Specifically, server receives the user's registration information and endpoint to register that client is sent when carrying out user's registration Information, and by all user's registration informations in the first mapping relations one by one with currently received user's registration information carry out Match.If it fails to match for all user's registration informations and currently received user's registration information in the first mapping relations, table Currently received user's registration information is not present in prescribed server, i.e. active user is also unregistered, will can currently receive at this time User's registration information and endpoint to register information between mapping relations store to the first map information, with update first mapping letter Breath, while instruction of succeeding in registration can be sent to client.If some user's registration information in the first mapping relations and current Received user's registration information successful match then shows that active user has registered, and can send registration to client at this time and lose Instruction is lost, to remind active user without registering, can directly be logged in.
The technical solution of the present embodiment receives the logging request that client is sent by server, and according to logging request Carry out login authentication;If login authentication success, at least one is sent to client check card and a position and respectively check card a position Corresponding identification map logo determines so that client when detecting camera scan instruction, is scanned current identification figure Current identification figure information and present scanning position, and verifying of checking card is carried out according to current identification figure information and present scanning position, Book server can also be requested to carry out verifying of checking card according to current identification figure information and present scanning position.The embodiment of the present invention is only Information exchange need to be carried out with server to realize attendance function, without at position of checking card using the client with scanning function Fixed acquisition equipment is set, thus greatly reduces cost of checking card, and check card by way of scanning recognition figure, it can So that multiple users check card simultaneously, successively checks card without being lined up, and then improve efficiency of checking card, improve beating for user Card body is tested.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for punch-card device that the embodiment of the present invention three provides, and the present embodiment is applicable to benefit With the case where there is the client of scanning function to be checked card, which is specifically included: logging request sending module 310 is checked card Point information receiving module 320, check card authentication module 330 and verification result output module 340 of checking card.
Wherein, logging request sending module 310, if sending logging request to server for detecting log-in instruction; Check card an information receiving module 320, if for logining successfully, receive server transmission at least one check card a position and It respectively checks card the corresponding identification map logo in a position, wherein check card a position and identification map logo is respectively used to prompt user and carries out The identification figure that the position of image scanning and needs scan;It checks card authentication module 330, if for detecting camera scan instruction, Then current identification figure is scanned, determines current identification figure information and present scanning position, according to current identification figure information and Present scanning position check card verifying or request server is checked card according to current identification figure information and present scanning position Verifying;It checks card verification result output module 340, for exporting verification result of checking card.
The technical solution of the present embodiment sends logging request to server through client when detecting log-in instruction, And when logining successfully, at least one check card a position and corresponding identification in a position of each checking card of server transmission are received Map logo, with the identification figure for prompting user to carry out image scanning and need to scan;Client detect camera scanning refer to When enabling, current identification figure is scanned and determines current identification figure information and present scanning position.Client can be according to current Identification figure information and present scanning position carry out verifying of checking card, can also be with request server according to current identification figure information and current Scan position carries out verifying of checking card.The embodiment of the present invention need to only utilize client and server progress information with scanning function To realize attendance function, the acquisition equipment fixed without the setting at position of checking card thus greatly reduces cost of checking card for interaction, And it is checked card, multiple users can be made while checked card by way of scanning recognition figure, successively beaten without being lined up Card, and then efficiency of checking card is improved, improve the experience of checking card of user.
Optionally, authentication module 330 of checking card can be specifically used for:
The first distance respectively checked card between position and present scanning position is calculated, and according to each first distance and is preset Distance determines that target is checked card a position;Feature extraction is carried out to current identification figure information according to default extraction algorithm, is determined current Identify figure feature;Current identification figure feature and the target corresponding target recognition chart feature in a position of checking card are matched, if With success, then checks card and be proved to be successful.
Optionally, authentication module 330 of checking card can also be specifically used for:
Feature extraction is carried out to current identification figure information according to default extraction algorithm, determines current identification figure feature;It will work as Preceding identification figure feature is matched one by one with each identification figure feature, if successful match, the identification figure of successful match is determined as Target recognition chart;Calculate the second distance that corresponding with the target recognition chart target of present scanning position is checked card between a position;If Second distance is less than pre-determined distance, then checks card and be proved to be successful.
Optionally, the device further include:
Registration information sending module, if registering customers as information and endpoint to register information for detecting register instruction It is sent to server, to carry out user's registration.
Optionally, the device further include:
Map application interface calling module, for receive server send at least one check card a position it Afterwards, invocation map application programming interfaces show current user position and a position of respectively checking card in map interface.
Optionally, the device further include:
Wait a data obtaining module of checking card, if check card a position and this dozen for receiving only server transmission The corresponding identification map logo in stuck point position obtains the point of checking card then after scanning identification figure corresponding with the identification map logo That sets is next wait the position and next wait the corresponding identification map logo in a position of checking card of checking card;Or obtain multiple points to be checked card Position and each described wait the corresponding identification map logo in a position of checking card.
Optionally, the device further include:
Current information storage module of checking card, if being to check card to be proved to be successful for verification result of checking card, by letter of currently checking card Breath is stored in server, to carry out data management and analysis.
Punch card method provided by the embodiment of the present invention one, tool can be performed in punch-card device provided by the embodiment of the present invention three It is standby to execute the corresponding functional module of punch card method and beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for punch-card device that the embodiment of the present invention four provides, and the present embodiment is applicable to benefit With the case where there is the client of scanning function to be checked card, which is specifically included: login authentication module 410 and a letter of checking card Cease sending module 420.
Wherein, login authentication module 410 for receiving the logging request of client transmission, and are carried out according to logging request Login authentication;An information sending module 420 of checking card sends at least one to client and checks card if successful for login authentication Point position and the corresponding identification map logo in a position of respectively checking card, so that client is when detecting camera scan instruction, it is right Current identification figure is scanned, and determines current identification figure information and present scanning position, and according to current identification figure information and work as Preceding scan position carries out verifying of checking card, or request book server is checked card according to current identification figure information and present scanning position Verifying;Wherein, check card a position and identify map logo be respectively used to prompt user carry out image scanning position and need to scan Identification figure.
The technical solution of the present embodiment receives the logging request that client is sent by server, and according to logging request Carry out login authentication;If login authentication success, at least one is sent to client check card and a position and respectively check card a position Corresponding identification map logo determines so that client when detecting camera scan instruction, is scanned current identification figure Current identification figure information and present scanning position, and verifying of checking card is carried out according to current identification figure information and present scanning position, Book server can also be requested to carry out verifying of checking card according to current identification figure information and present scanning position.The embodiment of the present invention is only Information exchange need to be carried out with server to realize attendance function, without at position of checking card using the client with scanning function Fixed acquisition equipment is set, thus greatly reduces cost of checking card, and check card by way of scanning recognition figure, it can So that multiple users check card simultaneously, successively checks card without being lined up, and then improve efficiency of checking card, improve beating for user Card body is tested.
Optionally, logging request includes user login information and terminal encryption information;Correspondingly, login authentication module 410, Include:
Each user's registration information in user login information and pre-stored first map information is subjected to user's matching, Wherein, the first map information includes the mapping relations between each user's registration information and each endpoint to register information;If user matches Success, then determine the corresponding target terminal registration information of user login information according to the first map information;If target terminal is registered Information is consistent with terminal encryption information, then login authentication success.
Optionally, the device further include:
It checks card authentication module, for sending at least one position and respectively a position of checking card is corresponding of checking card to client Identification map logo after, receive client send current identification figure information and present scanning position;According to current identification figure Information, pre-stored respectively checks card a position and each identification figure feature carries out verifying of checking card at present scanning position.
Optionally, it checks card authentication module, can be specifically used for:
Calculate a pre-stored first distance respectively checked card between position and present scanning position, and according to each first away from From and pre-determined distance, determine that target is checked card a position;Feature is carried out to current identification figure information according to default extraction algorithm to mention It takes, determines current identification figure feature;By current identification figure feature and target check card the corresponding target recognition chart feature in a position into Row matching checks card to client transmission if successful match and is proved to be successful instruction.
Optionally, it checks card authentication module, can also be specifically used for:
Feature extraction is carried out to current identification figure information according to default extraction algorithm, determines current identification figure feature;It will work as Preceding identification figure feature is matched one by one with pre-stored each identification figure feature, if successful match, by the knowledge of successful match Not figure is determined as target recognition chart;Calculate corresponding with the target recognition chart target of present scanning position check card between a position the Two distances check card to client transmission if second distance is less than pre-determined distance and are proved to be successful instruction.
Optionally, the device further include:
User registration module, for receiving the user's registration information and endpoint to register information of client transmission;If depositing in advance Currently received user's registration information is not present in first map information of storage, then by currently received user's registration information and end Mapping relations between the registration information of end are stored to the first map information;Wherein, the first map information includes each user's registration letter Mapping relations between breath and each endpoint to register information.
Punch card method provided by the embodiment of the present invention two, tool can be performed in punch-card device provided by the embodiment of the present invention four It is standby to execute the corresponding functional module of punch card method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for punch card system that the embodiment of the present invention five provides.Referring to Fig. 5, which includes: Server 510 and at least one client 520.
Wherein, client 520 for realizing such as embodiment one punch card method;Server 510 is for realizing such as embodiment Two punch card method.
In the present embodiment, each client 520 is communicated with server 510 by network service, to realize letter The interaction of breath.The request that server 510 can send each client 520 is identified, multiple so as to handle simultaneously The request that client 520 is sent improves efficiency of checking card so that multiple users can carry out punching operation simultaneously.
The course of work of punch card system provided in this embodiment is as follows:
When a certain client 520 detects log-in instruction, logging request is sent to server;Server 510 is according to stepping on Information in record request carries out login authentication, and when login authentication success, sends at least one point of checking card to client 520 It sets and the corresponding identification map logo in a position of respectively checking card;Client 520 receives at least one that server 510 is sent and checks card a little The corresponding identification map logo in position and a position of respectively checking card, so that user reaches according to the position of checking card in client 520 The position of image scanning is carried out, and the identification figure for needing to scan is determined according to identification map logo;It is taken the photograph when client 520 detects When as head scan instruction, current identification figure is scanned, determines current identification figure information and present scanning position;Client 520 can carry out verifying of checking card according to current identification figure information and present scanning position in local, will can also currently identify figure Information and present scanning position are sent to server 510, and request server 510 is according to current identification figure information and Current Scan position It sets and carries out verifying of checking card;When client 520 locally determine check card verification result or receive server 510 transmission check card When verification result, client 520 exports verification result of checking card, to realize attendance function.
Punch card system in the present embodiment realizes attendance function by the network communication of server and each client, It is not necessary that additional acquisition equipment is being arranged at position of checking card, cost of checking card is greatly reduced, and can support multiple users Punching operation is carried out simultaneously, is successively checked card without being lined up, is improved efficiency of checking card, improve the experience of checking card of user.
Embodiment six
The present embodiment six provides a kind of computer readable storage medium, is stored thereon with computer program, the program quilt The punch card method as described in embodiment one is realized when processor executes, this method comprises:
If detecting log-in instruction, logging request is sent to server;
If logining successfully, at least one check card a position and each described point of checking card of the server transmission are received Set corresponding identification map logo, wherein described to check card a position and the identification map logo is respectively used to prompt user and carries out figure The identification figure scanned as the position of scanning and needs;
If detecting camera scan instruction, current identification figure is scanned, determine current identification figure information and is worked as Preceding scan position carries out verifying of checking card, or the request clothes according to the current identification figure information and the present scanning position Business device carries out verifying of checking card according to the current identification figure information and the present scanning position;
Export verification result of checking card.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to: Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP Cross internet connection).
Will be appreciated by those skilled in the art that each module of the above invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or be distributed in network constituted by multiple computing devices On, optionally, they can be realized with the program code that computer installation can be performed, so as to be stored in storage It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and The combination of software.
Embodiment seven
The present embodiment seven additionally provides another computer readable storage medium, is stored thereon with computer program, the journey The punch card method as described in embodiment two is realized when sequence is executed by processor, this method comprises:
The logging request that client is sent is received, and login authentication is carried out according to the logging request;
If login authentication success, at least one check card a position and each described position pair of checking card are sent to client The identification map logo answered, so that the client when detecting camera scan instruction, is scanned current identification figure, really Identification figure information and present scanning position before settled, and carried out according to the current identification figure information and the present scanning position It checks card verifying, or request book server carries out verifying of checking card according to the current identification figure information and the present scanning position;
Wherein, a position and the position for identifying map logo and being respectively used to prompt user's progress image scanning of checking card The identification figure scanned with needs.
Certainly, a kind of storage medium comprising computer program provided by the embodiment of the present invention, computer program is not It is limited to punch card method operation as described above, the correlation in punch card method provided by any embodiment of the invention can also be performed Operation.It can be found in the content in embodiment six to the introduction of storage medium to explain.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (17)

1. a kind of punch card method is applied to client characterized by comprising
If detecting log-in instruction, logging request is sent to server;
If logining successfully, at least one check card a position and each described position pair of checking card of the server transmission are received The identification map logo answered, wherein described to check card a position and the identification map logo is respectively used to prompt user and carries out image to sweep The identification figure that the position and needs retouched are scanned;
If detecting camera scan instruction, current identification figure is scanned, determine current identification figure information and is currently swept Position is retouched, verifying of checking card, or the request server are carried out according to the current identification figure information and the present scanning position Verifying of checking card is carried out according to the current identification figure information and the present scanning position;
Export verification result of checking card.
2. the method according to claim 1, wherein according to the current identification figure information and the Current Scan Position carries out verifying of checking card, comprising:
Each first distance checked card between a position and the present scanning position is calculated, and according to each first distance And pre-determined distance, determine that target is checked card a position;
Feature extraction is carried out to the current identification figure information according to default extraction algorithm, determines current identification figure feature;
The current identification figure feature and the target corresponding target recognition chart feature in a position of checking card are matched, if With success, then checks card and be proved to be successful.
3. the method according to claim 1, wherein according to the current identification figure information and the Current Scan Position carries out verifying of checking card, comprising:
Feature extraction is carried out to the current identification figure information according to default extraction algorithm, determines current identification figure feature;
The current identification figure feature is matched one by one with each identification figure feature, if successful match, by successful match Identification figure is determined as target recognition chart;
Calculate the second distance that present scanning position target corresponding with the target recognition chart is checked card between a position;
If the second distance is less than pre-determined distance, checks card and be proved to be successful.
4. the method according to claim 1, wherein further include:
If detecting register instruction, registers customers as information and endpoint to register information is sent to the server, to be used Family registration.
5. the method according to claim 1, wherein checking card a little receiving at least one that the server is sent After position, further includes:
Invocation map application programming interfaces show current user position and each position of checking card in map interface.
6. the method according to claim 1, wherein further include:
If receiving only check card a position and the corresponding identification map logo in a position of checking card that the server is sent, Then after scanning identification figure corresponding with the identification map logo, the next wait a position and the institute of checking card of a position of checking card is obtained It states next wait the corresponding identification map logo in a position of checking card;Or it obtains multiple wait a position and each point to be checked card of checking card The corresponding identification map logo in position.
7. the method according to claim 1, wherein further include:
If the verification result of checking card is to check card and be proved to be successful, information of currently checking card is stored in the server, with into Row data management and analysis.
8. a kind of punch card method is applied to server characterized by comprising
The logging request that client is sent is received, and login authentication is carried out according to the logging request;
If login authentication success, to client send at least one check card a position and each position of checking card it is corresponding Identify map logo, so that the client when detecting camera scan instruction, is scanned current identification figure, determination is worked as Preceding identification figure information and present scanning position, and checked card according to the current identification figure information and the present scanning position Verifying, or request book server carry out verifying of checking card according to the current identification figure information and the present scanning position;
Wherein, a position and position and the need for identifying map logo and being respectively used to prompt user's progress image scanning of checking card The identification figure to be scanned.
9. according to the method described in claim 8, it is characterized in that, the logging request includes that user login information and terminal add Confidential information;
Correspondingly, carrying out login authentication according to the logging request, comprising:
Each user's registration information in the user login information and pre-stored first map information is subjected to user's matching, Wherein, first map information includes the mapping relations between each user's registration information and each endpoint to register information;
If user's successful match, determine that the corresponding target terminal of the user login information is infused according to first map information Volume information;
If the target terminal registration information is consistent with the terminal encryption information, login authentication success.
10. according to the method described in claim 8, it is characterized in that, to client send at least one check card a position with And after each corresponding identification map logo in a position of checking card, further includes:
Receive the current identification figure information and present scanning position that client is sent;
According to the current identification figure information, the present scanning position, pre-stored respectively check card a position and each identification Figure feature carries out verifying of checking card.
11. according to the method described in claim 10, it is characterized in that, according to the current identification figure information, described currently sweeping It retouches position, pre-stored respectively check card a position and each identification figure feature carries out verifying of checking card, comprising:
The pre-stored first distance respectively checked card between a position and the present scanning position is calculated, and according to each described One distance and pre-determined distance determine that target is checked card a position;
Feature extraction is carried out to the current identification figure information according to default extraction algorithm, determines current identification figure feature;
The current identification figure feature and the target corresponding target recognition chart feature in a position of checking card are matched, if With success, then checks card to client transmission and be proved to be successful instruction.
12. according to the method described in claim 10, it is characterized in that, according to the current identification figure information, described currently sweeping It retouches position, pre-stored respectively check card a position and each identification figure feature carries out verifying of checking card, comprising:
Feature extraction is carried out to the current identification figure information according to default extraction algorithm, determines current identification figure feature;
The current identification figure feature is matched one by one with pre-stored each identification figure feature, it, will if successful match The identification figure of successful match is determined as target recognition chart;
The second distance that present scanning position target corresponding with the target recognition chart is checked card between a position is calculated, if The second distance is less than pre-determined distance, then checks card to client transmission and be proved to be successful instruction.
13. according to the method described in claim 8, it is characterized by further comprising:
Receive the user's registration information and endpoint to register information that the client is sent;
If currently received user's registration information is not present in pre-stored first map information, by currently received user Mapping relations between registration information and endpoint to register information are stored to first map information;Wherein, first mapping Information includes the mapping relations between each user's registration information and each endpoint to register information.
14. a kind of punch-card device, is set to client characterized by comprising
Logging request sending module, if sending logging request to server for detecting log-in instruction;
It checks card an information receiving module, if receiving at least one point of checking card that the server is sent for logining successfully It sets and each corresponding identification map logo in a position of checking card, wherein a position and the identification map logo minute of checking card The identification figure that user carries out the position of image scanning and needs scan Yong Yu not prompted;
Authentication module of checking card determines and currently knows if being scanned for detecting camera scan instruction to current identification figure Not figure information and present scanning position carry out verifying of checking card according to the current identification figure information and the present scanning position, Or the request server carries out verifying of checking card according to the current identification figure information and the present scanning position;
It checks card verification result output module, for exporting verification result of checking card.
15. a kind of punch-card device, is set to server characterized by comprising
Login authentication module carries out login authentication for receiving the logging request of client transmission, and according to the logging request;
Check card an information sending module, if for login authentication success, to client send at least one check card a position with And each corresponding identification map logo in a position of checking card, so that the client is when detecting camera scan instruction, it is right Current identification figure is scanned, and determines current identification figure information and present scanning position, and according to the current identification figure information Carry out verifying of checking card with the present scanning position, or request book server according to the current identification figure information and it is described currently Scan position carries out verifying of checking card;
Wherein, a position and position and the need for identifying map logo and being respectively used to prompt user's progress image scanning of checking card The identification figure to be scanned.
16. a kind of punch card system, which is characterized in that the system comprises: server and at least one client;Wherein,
The client is for realizing the punch card method as described in any in claim 1-7;
The server is for realizing the punch card method as described in any in claim 8-13.
17. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The punch card method as described in any in claim 1-13 is realized when execution.
CN201810960808.2A 2018-08-22 2018-08-22 Card punching method, device, system and storage medium Active CN109102581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810960808.2A CN109102581B (en) 2018-08-22 2018-08-22 Card punching method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810960808.2A CN109102581B (en) 2018-08-22 2018-08-22 Card punching method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN109102581A true CN109102581A (en) 2018-12-28
CN109102581B CN109102581B (en) 2022-02-15

Family

ID=64850743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810960808.2A Active CN109102581B (en) 2018-08-22 2018-08-22 Card punching method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN109102581B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243125A (en) * 2020-01-16 2020-06-05 深圳市元征科技股份有限公司 Vehicle card punching method, device, equipment and medium
CN113850923A (en) * 2020-06-28 2021-12-28 深圳兆日科技股份有限公司 Attendance statistics method, device, equipment and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2963683A (en) * 1956-12-31 1960-12-06 Ibm Character sensing system
JP4981259B2 (en) * 2004-04-30 2012-07-18 メキキ・クリエイツ株式会社 Work information processing system, apparatus, method, and computer program
CN103067853A (en) * 2011-10-19 2013-04-24 北京千橡网景科技发展有限公司 Method and system for verifying locating authenticity
CN103761603A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system suitable for outworkers
CN104376340A (en) * 2014-08-29 2015-02-25 腾讯科技(深圳)有限公司 Clock punching method and device
CN104618851A (en) * 2015-01-26 2015-05-13 腾讯科技(深圳)有限公司 Information processing method, server and terminal
JP2015127936A (en) * 2013-11-28 2015-07-09 株式会社リコー Image processing system, information processor and program
CN105933377A (en) * 2016-03-31 2016-09-07 中国林学会 Data generation method, client, server and system
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device
CN106354207A (en) * 2016-08-26 2017-01-25 武汉众睿科技发展股份有限公司 Directional sports wist
CN106487762A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 The recognition methodss of user identity, identification applications client and server
CN206228906U (en) * 2016-12-02 2017-06-09 云南农业大学 A kind of Quick Response Code directed movement matching system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2963683A (en) * 1956-12-31 1960-12-06 Ibm Character sensing system
JP4981259B2 (en) * 2004-04-30 2012-07-18 メキキ・クリエイツ株式会社 Work information processing system, apparatus, method, and computer program
CN103067853A (en) * 2011-10-19 2013-04-24 北京千橡网景科技发展有限公司 Method and system for verifying locating authenticity
JP2015127936A (en) * 2013-11-28 2015-07-09 株式会社リコー Image processing system, information processor and program
CN103761603A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system suitable for outworkers
CN104376340A (en) * 2014-08-29 2015-02-25 腾讯科技(深圳)有限公司 Clock punching method and device
CN104618851A (en) * 2015-01-26 2015-05-13 腾讯科技(深圳)有限公司 Information processing method, server and terminal
CN106487762A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 The recognition methodss of user identity, identification applications client and server
CN105933377A (en) * 2016-03-31 2016-09-07 中国林学会 Data generation method, client, server and system
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device
CN106354207A (en) * 2016-08-26 2017-01-25 武汉众睿科技发展股份有限公司 Directional sports wist
CN206228906U (en) * 2016-12-02 2017-06-09 云南农业大学 A kind of Quick Response Code directed movement matching system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
光辉岁月: "快乐跑AR实景识别", 《腾讯视频HTTPS://V.QQ.COM/X/PAGE/Y07162KSA6S.HTML》 *
蓝极度: "快乐跑APP-带你玩儿积分定向", 《腾讯视频HTTPS://V.QQ.COM/X/PAGE/T051285G4AF.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243125A (en) * 2020-01-16 2020-06-05 深圳市元征科技股份有限公司 Vehicle card punching method, device, equipment and medium
CN113850923A (en) * 2020-06-28 2021-12-28 深圳兆日科技股份有限公司 Attendance statistics method, device, equipment and computer readable storage medium
CN113850923B (en) * 2020-06-28 2023-09-08 深圳兆日科技股份有限公司 Attendance checking statistical method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109102581B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN106453341B (en) Information processing method and device
US20130262873A1 (en) Method and system for authenticating remote users
CN104540129B (en) The registering and logging method and system of third-party application
CN109359601A (en) Authentication recognition methods, electronic device and computer readable storage medium
CN107360119A (en) A kind of cloud desktop Sign-On authentication method, cloud desktop control system and client
CN109005159A (en) The data processing method and certificate server of terminal access system server
CN111126980B (en) Virtual article sending method, processing method, device, equipment and medium
CN108932760A (en) Work attendance method and terminal based on recognition of face
JP2013041416A (en) Information processing device and method, program, and information processing system
CN108023881A (en) Login method, device, medium and the electronic equipment of application program
Yang et al. An automated student attendance tracking system based on voiceprint and location
CN106330983A (en) Identity authentication method, user's client terminal and system
CN110704822A (en) Method, device, server and system for improving user identity authentication security
CN109102581A (en) A kind of punch card method, device, system and storage medium
CN109271757A (en) A kind of offline Activiation method and system of software
CN109977642A (en) A kind of register account number authentication method, device, equipment and the storage medium of express delivery cabinet
CN110322235A (en) It is a kind of based on mark realize inter-bank without card enchashment processing method and processing device
CN110113346A (en) A kind of network verification method, user terminal and server
KR20140078242A (en) System and method for attendance and absence management using biometrics and location sensing in terminal
CN111435503B (en) Method and device for acquiring electronic credentials
CN105812138B (en) Processing method, device, user terminal and the login system of login
CN108989312B (en) Authentication method and device based on geographic position
CN114467283B (en) Identity authentication method, device, terminal, storage medium and program product
CN105282007B (en) A kind of method, server and its system that social group is added
CN107864501A (en) A kind of method and apparatus for obtaining and WAP link information being provided

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