[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105513150A - Attendance registration method and device - Google Patents

Attendance registration method and device Download PDF

Info

Publication number
CN105513150A
CN105513150A CN201510882131.1A CN201510882131A CN105513150A CN 105513150 A CN105513150 A CN 105513150A CN 201510882131 A CN201510882131 A CN 201510882131A CN 105513150 A CN105513150 A CN 105513150A
Authority
CN
China
Prior art keywords
registering
user terminal
register
graphic code
server
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.)
Pending
Application number
CN201510882131.1A
Other languages
Chinese (zh)
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.)
Shenzhen Pocket Network Technology Co Ltd
Original Assignee
Shenzhen Pocket Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Pocket Network Technology Co Ltd filed Critical Shenzhen Pocket Network Technology Co Ltd
Priority to CN201510882131.1A priority Critical patent/CN105513150A/en
Publication of CN105513150A publication Critical patent/CN105513150A/en
Pending legal-status Critical Current

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
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an attendance registration method which comprises the following steps: S10, a server generates attendance registration serial numbers according to stored attendance registration demand information and current time information to update attendance registration serial numbers in the default cache area, and then sends the generated attendance registration serial numbers to a first user terminal, so that the first user terminal can generate and display attendance registration graphic codes according to the received attendance registration serial numbers; S20, the server judges whether an attendance registration request is received or not, wherein the attendance registration request is sent by a second user terminal within the preset time threshold according to the attendance registration graphic codes and carries the attendance registration serial numbers which are the same as that in the current cache, if yes, the server executes the S30, otherwise the server moves on to execute the S10; S30, the server carries out attendance registration operation for the second user terminal according to the attendance registration request, sends the attendance registration result back to the second user terminal after the attendance registration operation, and then moves on to execute the S10. The invention further discloses an attendance registration device. The attendance registration method and device can achieve the purpose of preventing cheat in attendance registration.

Description

Method of registering and device
Technical field
The present invention relates to graphic code technical field, particularly relate to one and to register method and device.
Background technology
Along with the application of the popular of the intelligent terminals such as mobile phone and graphic code technology is more and more extensive, company that work attendance registers gets more and more to utilize now mobile phone terminal scintigram shape code to do, register in technology as what generally adopt at present based on Quick Response Code, the position that mainly acquisition mobile phone terminal is registered when registering and the time of registering judge, if within qualified time and position range, register successfully.But what attendance checking system same day generated is all generally changeless for the graphic code of registering, easily make the person of registering be filmed by graphic code to pass to other non-on the scene persons of registering direct scintigram shape code picture to register.There is the problem of cheating of registering in prior art.
Summary of the invention
The fundamental purpose of the embodiment of the present invention is to provide one and registers method and device, is intended to prevent cheating of registering.
For achieving the above object, embodiments provide one and to register method, comprise the following steps:
S10, server generate according to register demand information and the current temporal information that store string number of registering and upgrade registering string number in preset buffer memory district, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
S20, described server judge whether to receive in preset time threshold the second user terminal according to described in register that graphic code sends, and carry the registering request of the identical string number of registering of current cache, be perform step S30, otherwise proceed to execution step S10;
S30, described server according to described in the request of registering described second user terminal is registered operation, after having registered, return to described second user terminal result of registering, and proceed to execution step S10.
Preferably, after described step S10, also comprise:
Receive the second user terminal according to described in register that graphic code sends, and when carrying the request of registering of the different string number of registering of current cache, described server abandons registering request described in reception, and sends information extremely described second user terminal.
Further, the present invention also provides one to register method, described in the method for registering comprise the following steps:
Receive there is default access rank user input register demand information time, described demand information of registering is sent to server by first user terminal, for described server stores, and according to storage described in register demand information return register string number;
Receive that described server returns register string time, described first user terminal according to described in string of registering number generate and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
Preferably, while the graphic code of registering that display generates, also following steps are performed:
Described first user terminal shows described preset time threshold with the form of countdown.
Preferably, when described first user terminal is mobile terminal, described first user terminal according to described in string of registering number to generate and the step showing graphic code of registering comprises:
Described first user terminal according to described in register string number and current positional information generate and show graphic code of registering.
Further, present invention also offers one and to register device, described in device of registering comprise:
Generation module, registering string number in preset buffer memory district is upgraded for generating string number of registering according to register demand information and the current temporal information of its place server of its place server stores, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
Judge module, for judge its place server whether receive in preset time threshold the second user terminal according to described in register graphic code send, and carry current cache identical register string number the request of registering;
To register module, for when its place server receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, according to the described request of registering, described second user terminal is registered operation, and return to described second user terminal result of registering after having registered;
Described generation module, also for after having registered, upgrades registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal;
Described generation module also for when its place server do not receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, upgrade registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal.
Preferably, described register module also for when its place server receive the second user terminal according to described in register graphic code transmission, and carry current cache different register string number register request time, abandon the request of registering described in reception, and send information to described second user terminal.
Further, present invention also offers one and to register device, described in device of registering comprise:
Sending module, for receive when its place first user terminal there is default access rank user input register demand information time, described demand information of registering is sent to server, and for described server stores, and demand information of registering according to storage returns string number of registering;
Display module, for receive when its place first user terminal that described server returns register string time, generate according to described string number of registering and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
Preferably, described display module display generate graphic code of registering while, also for showing described preset time threshold with the form of countdown.
Preferably, described display module, also for when its place first user terminal is mobile terminal, generates according to described string number and the current positional information of its place first user terminal of registering and shows graphic code of registering.
The method of registering that the present invention proposes and device, when registering, generate disposable by server and the string of registering with certain life span number is issued to first user terminal, for first user terminal according to described in register to go here and there and number generate and show graphic code of registering; Server described register string number life span in receive the second user terminal according to the graphic code of registering of first user terminal demonstration send register request time, complete registering of the second user terminal, generate and issue new string of registering number to first user terminal, generate for it and show new graphic code of registering.Compared to prior art, the graphic code of registering that the present invention uses can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, the person's of registering graphic code of registering can be avoided to be filmed and to pass to other persons of registering and register, thus the present invention can reach the object of the cheating that prevents from registering.
Accompanying drawing explanation
Fig. 1 is that the present invention registers the schematic flow sheet of method first embodiment;
Fig. 2 is the Sample Scenario figure that the present invention's method of registering is applied;
Fig. 3 is that the present invention registers the schematic flow sheet of method the 3rd embodiment;
Fig. 4 is that the present invention registers the high-level schematic functional block diagram of device first embodiment;
Fig. 5 is that the present invention registers the high-level schematic functional block diagram of device the 3rd embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The present invention proposes one to register method, with reference to Fig. 1, register in the first embodiment of method in the present invention, this method of registering comprises the following steps:
Step S10, server generates according to register demand information and the current temporal information that store string number of registering and upgrades registering string number in preset buffer memory district, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
As shown in Figure 2, first user terminal is the service end of registering for showing graphic code of registering, and the second user terminal is client of registering, and registers by the graphic code of registering scanning described first user terminal demonstration.Wherein, described first user terminal can be hard-wired gate inhibition, also can be the mobile terminal such as smart mobile phone, flat board, and described second user terminal can be the mobile terminal such as smart mobile phone, panel computer.Below with first user terminal for fixed terminal carries out the explanation of the present embodiment.
In the present embodiment, have default access rank user (administrative personnel as company) can by as described in demand of the registering configuration interface of first user terminal demonstration to carry out registering the configuration of demand information, described first user terminal have described in receiving default access rank user input register demand information time, send it to server, for described server stores, and demand information of registering according to storage when needing to register returns the string number of registering for generating graphic code of registering.Wherein, described in demand information of registering be used to specify the information of registering that second user terminal of registering needs to upload, such as can specify user profile and current system time, the current positional information etc. of second its home subscriber of user terminal uploads.It will be appreciated by persons skilled in the art that in other embodiments, the user with default access rank can also directly to register demand information described in server configuration.
In addition, in the present embodiment, there is the user of default access rank except demand information of registering described in can configuring, preset time threshold Δ t can also be configured, the life span of the string number of registering being used to specify that described server generates at every turn, meanwhile, the corresponding life span specifying the graphic code of registering that first user terminal generates.Wherein, described preset time threshold is arranged according to actual needs, and such as, described preset time threshold is set to 5 seconds by the present embodiment.
Described server receive described first user terminal send register demand information time, be stored to the storage area that default store path is corresponding.When needs are registered, described server according to described in register demand information stochastic generation register string number, specifically can adopt string number of registering described in dynamic algorithm stochastic generation, to guarantee each string number equal difference of registering generated, such as, the present embodiment, when string is registered in generation, preferably generates according to register demand information and the current temporal information that store string number of registering, make the string number of registering generated carry described in register demand information and described server generate system time when registering string.Described server is registered in generation, and number (string of registering of generation number to comprise server system time when this string number of registering generates to string, and described preset time threshold Δ t and demand information etc. of registering, as similar character string: svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information) upgrade in preset buffer memory district registering string number while, the string number of registering generated is sent to described first user terminal.Wherein, if the string number of registering that in preset buffer memory district, history of existence generates, then string number of the history in preset buffer memory district being registered replaces with when the secondary string number of registering generated; If the not string number of registering that generates of history of existence in preset buffer memory district, then directly number to be stored to when the string of registering time to generate in preset buffer memory district.
Described first user terminal, after string number of registering described in receiving described server and returning, generates according to described string number of registering and shows graphic code of registering, and for registering described in the second user terminal scanning, graphic code is registered.Wherein, the graphic code of registering that described first user terminal generates can comprise at least one in bar code, Quick Response Code and three-dimension code.Preferably, in the present embodiment, described first user terminal adopts Quick Response Code as graphic code of registering.It should be noted that, Quick Response Code is the chequered with black and white graphic recording data symbol information that distributes in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information automatically by image input device or photoelectric scanning device automatically identifying and reading.In addition, it has some general character of bar codes technique, and often kind of code system has its specific character set, and each character occupies certain width, there is certain verifying function etc., also there is the information automatic identification function to different rows and processing graphics rotation change point simultaneously.
In other embodiments, if described first user terminal is mobile terminal, because the position of described first user terminal is unfixed, described first user terminal is when graphic code is registered in generation, also need to obtain current positional information, and generate according to register described in receiving string number and current positional information graphic code of registering, with make the graphic code of registering generated carry simultaneously described in register demand information and the current positional information of described first user terminal.Wherein, described first user terminal is when obtaining its current positional information, architecture service can be adopted to be called again mobile location-based service (LBS, LocationBasedService) position, the mode that GPS (GlobalPositioningSystem) locates can also be passed through and position to obtain current positional information.
S20, described server judge whether to receive in preset time threshold the second user terminal according to described in register that graphic code sends, and carry the registering request of the identical string number of registering of current cache, be perform step S30, otherwise proceed to execution step S10;
S30, described server according to described in the request of registering described second user terminal is registered operation, after having registered, return to described second user terminal result of registering, and proceed to execution step S10.
In the present embodiment, described second user terminal scan graphic code of registering described in described first user terminal demonstration will obtain described in register string number, resolve string of registering that scanning obtains number can to get described in register demand information, now described second user terminal according to described in demand information of registering obtain corresponding information of registering, by the information of registering obtained and described in string number of registering be packaged as the request of registering and be sent to described server.Such as, the information of registering that described demand information of registering is specified comprises the present system time of the second user terminal and the user profile of home subscriber, then described second user terminal obtains current system time and the user profile of home subscriber, and by the system time of acquisition, user profile and described in string of registering number be packaged as the request of registering and be sent to described server.It will be understood by those skilled in the art that, in other embodiments, if described in graphic code of registering also carry the positional information of described first user terminal, then register described in the scanning request of registering that graphic code is sent to described server of described second user terminal comprises the positional information of the string number of registering, information of registering and described first user terminal.
Described server judge whether to receive in preset time threshold Δ t the second user terminal according to described in register that graphic code sends, and carry current cache identical register string number the request of registering, if, the request of registering of described second user terminal is then described effectively, the information of registering that the request of registering described in now parsing is carried carries out the operation of registering of described second user terminal; If not, then illustrate that the request of registering of described second user terminal is invalid, now described server according to described in demand information of registering generate new string number of registering, and newly-generated string number of registering is sent to described first user terminal, generate for described first user terminal according to described string number of registering newly and show new graphic code of registering, information can also be sent to the second user terminal simultaneously, require that it initiates operation of registering again.
It should be noted that, the present embodiment does not limit described server and carries out the flow process operated of registering, specifically carry out according to actual needs, such as, when carrying out work attendance and registering, can according to the time receiving the request of registering that the second user terminal sends, and described in register and ask the user profile of carrying to determine whether the home subscriber of the second user terminal be late/leaves early.After the operation of registering completing described second user terminal, described server returns to described second user terminal result of registering, and the information of registering needed is stored to default registers in database, such as, the information of registering stored is needed to comprise the person of registering (user of the second user terminal ownership) and register the time (time that server receives the request of registering) etc.Simultaneously, the registering string number that described server is registered in string number renewal preset buffer memory district according to the demand information stochastic generation of registering stored, and string number of registering described in generation is sent to first user terminal, generate for described first user terminal and show new graphic code of registering.Popular says, the graphic code of registering being exactly the generation of first user terminal can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, need server to issue new string number of registering, to generate and to show new graphic code of registering, register for other user terminal.
The method of registering that the present embodiment proposes, when registering, generates disposable by server and the string of registering with certain life span number is issued to first user terminal, for first user terminal according to described in register to go here and there and number generate and show graphic code of registering; Server described register string number life span in receive the second user terminal according to the graphic code of registering of first user terminal demonstration send register request time, complete registering of the second user terminal, generate and issue new string of registering number to first user terminal, generate for it and show new graphic code of registering.Compared to prior art, the graphic code of registering that the present invention uses can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, the person's of registering graphic code of registering can be avoided to be filmed and to pass to other persons of registering and register, thus the present invention can reach the object of the cheating that prevents from registering.
Further, based on the first embodiment, propose the present invention and to register the second embodiment of method, in the present embodiment, after above-mentioned steps S10, also comprise:
Receive the second user terminal according to described in register that graphic code sends, and when carrying the request of registering of the different string number of registering of current cache, described server abandons registering request described in reception, and sends information extremely described second user terminal.
Based on the description of the first embodiment, it will be understood by those skilled in the art that, server is after the life span time-out or graphic code use of registering of graphic code of registering, all can upgrade registering string number in preset buffer memory district by stochastic generation string number of registering, if receive the second user terminal according to described in register graphic code send, and carry current cache different register string number the request of registering, illustrate that the graphic code of registering of described second user terminal scanning may use, also may exceed life span.Therefore, in the present embodiment, receive the second user terminal according to described in register that graphic code sends, and when carrying the request of registering of the different string number of registering of current cache, described server refusal is registered, and abandons the request of registering described in reception.Simultaneously, described server sends information to described second user terminal, (it should be noted that to point out the graphic code of registering that the home subscriber of described second user terminal scans first user terminal demonstration again, now described first user terminal demonstration is new graphic code of registering, specifically can refer to previous embodiment, repeat no more herein) register.
The invention allows for one to register method, with reference to Fig. 3, register in the 3rd embodiment of method in the present invention, described in the method for registering comprise the following steps:
Step S110, receive there is default access rank user input register demand information time, described demand information of registering is sent to server by first user terminal, and for described server stores, and demand information of registering according to storage returns string number of registering;
In the present embodiment, have default access rank user (administrative personnel as company) can by as described in demand of the registering configuration interface of first user terminal demonstration to carry out registering the configuration of demand information, described first user terminal have described in receiving default access rank user input register demand information time, send it to server, for described server stores, and demand information of registering according to storage when needing to register returns the string number of registering for generating graphic code of registering.Wherein, described in demand information of registering be used to specify the information of registering that second user terminal of registering needs to upload, such as can specify user profile and current system time, the current positional information etc. of second its home subscriber of user terminal uploads.It will be appreciated by persons skilled in the art that in other embodiments, the user with default access rank can also directly to register demand information described in server configuration.
In addition, in the present embodiment, there is the user of default access rank except demand information of registering described in can configuring, preset time threshold Δ t can also be configured, the life span of the string number of registering being used to specify that described server generates at every turn, meanwhile, the corresponding life span specifying the graphic code of registering that first user terminal generates.Wherein, described preset time threshold is arranged according to actual needs, and such as, described preset time threshold is set to 5 seconds by the present embodiment.
As shown in Figure 2, described first user terminal is the service end of registering for showing graphic code of registering, and described second user terminal is client of registering, and registers by the graphic code of registering scanning described first user terminal demonstration.Wherein, described first user terminal can be hard-wired gate inhibition, also can be the mobile terminal such as smart mobile phone, flat board, and described second user terminal can be the mobile terminal such as smart mobile phone, panel computer.Below with first user terminal for fixed terminal carries out the explanation of the present embodiment.
Described server receive described first user terminal send register demand information time, be stored to the storage area that default store path is corresponding.When needs are registered, described server according to described in register demand information stochastic generation register string number, specifically can adopt string number of registering described in dynamic algorithm stochastic generation, to guarantee each string number equal difference of registering generated, such as, the present embodiment, when string is registered in generation, preferably generates according to register demand information and the current temporal information that store string number of registering, make the string number of registering generated carry described in register demand information and described server generate system time when registering string.Described server is registered in generation, and number (string of registering of generation number to comprise server system time when this string number of registering generates to string, and described preset time threshold Δ t and demand information etc. of registering, as similar character string: svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information) upgrade in preset buffer memory district registering string number while, the string number of registering generated is sent to described first user terminal.Wherein, if the string number of registering that in preset buffer memory district, history of existence generates, then string number of the history in preset buffer memory district being registered replaces with when the secondary string number of registering generated; If the not string number of registering that generates of history of existence in preset buffer memory district, then directly number to be stored to when the string of registering time to generate in preset buffer memory district.
Step S120, receive that described server returns register string time, described first user terminal according to described in string of registering number generate and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
Described first user terminal, after string number of registering described in receiving described server and returning, generates according to described string number of registering and shows graphic code of registering, and for registering described in the second user terminal scanning, graphic code is registered.Wherein, the graphic code of registering that described first user terminal generates can comprise at least one in bar code, Quick Response Code and three-dimension code.Preferably, in the present embodiment, described first user terminal adopts Quick Response Code as graphic code of registering.It should be noted that, Quick Response Code is the chequered with black and white graphic recording data symbol information that distributes in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information automatically by image input device or photoelectric scanning device automatically identifying and reading.In addition, it has some general character of bar codes technique, and often kind of code system has its specific character set, and each character occupies certain width, there is certain verifying function etc., also there is the information automatic identification function to different rows and processing graphics rotation change point simultaneously.
Described second user terminal scan graphic code of registering described in described first user terminal demonstration will obtain described in register string number, resolve string of registering that scanning obtains number can to get described in register demand information, now described second user terminal according to described in demand information of registering obtain corresponding information of registering, by the information of registering obtained and described in string number of registering be packaged as the request of registering and be sent to described server.Such as, the information of registering that described demand information of registering is specified comprises the present system time of the second user terminal and the user profile of home subscriber, then described second user terminal obtains current system time and the user profile of home subscriber, and by the system time of acquisition, user profile and described in string of registering number be packaged as the request of registering and be sent to described server.It will be understood by those skilled in the art that, in other embodiments, if described in graphic code of registering also carry the positional information of described first user terminal, then register described in the scanning request of registering that graphic code is sent to described server of described second user terminal comprises the positional information of the string number of registering, information of registering and described first user terminal.
Described server judge whether to receive in preset time threshold Δ t the second user terminal according to described in register that graphic code sends, and carry current cache identical register string number the request of registering, if, the request of registering of described second user terminal is then described effectively, the information of registering that the request of registering described in now parsing is carried carries out the operation of registering of described second user terminal; If not, then illustrate that the request of registering of described second user terminal is invalid, now described server according to described in demand information of registering generate new string number of registering, and newly-generated string number of registering is sent to described first user terminal, generate for described first user terminal according to described string number of registering newly and show new graphic code of registering, information can also be sent to the second user terminal simultaneously, require that it initiates operation of registering again.
It should be noted that, the present embodiment does not limit described server and carries out the flow process operated of registering, specifically carry out according to actual needs, such as, when carrying out work attendance and registering, can according to the time receiving the request of registering that the second user terminal sends, and described in register and ask the user profile of carrying to determine whether the home subscriber of the second user terminal be late/leaves early.After the operation of registering completing described second user terminal, described server returns to described second user terminal result of registering, and the information of registering needed is stored to default registers in database, such as, the information of registering stored is needed to comprise the person of registering (user of the second user terminal ownership) and register the time (time that server receives the request of registering) etc.Simultaneously, the registering string number that described server is registered in string number renewal preset buffer memory district according to the demand information stochastic generation of registering stored, and string number of registering described in generation is sent to first user terminal, generate for described first user terminal and show new graphic code of registering.Popular says, the graphic code of registering being exactly the generation of first user terminal can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, need server to issue new string number of registering, to generate and to show new graphic code of registering, register for other user terminal.
Further, based on the 3rd embodiment, propose the present invention and to register the 4th embodiment of method, in the present embodiment, while the graphic code of registering that display generates, also perform following steps:
Described first user terminal shows described preset time threshold with the form of countdown.
In the present embodiment, for avoiding the waste processing resource, described first user terminal is while the graphic code of registering of display generation, also show described preset time threshold with the form of countdown, the person of registering can be made to know the life span of the graphic code of registering of the current display of described first user terminal intuitively, register to complete in the life span of described graphic code of registering.
Further, consider the not equal reason of the graphic code recognition capability of network delay and different second user terminal, in the present embodiment, graphic code of registering described in can arranging is less than the life span of graphic code of registering at the displaying time of first user terminal, namely register time of graphic code of described first user terminal demonstration is less than above-mentioned preset time threshold.Such as, when described preset time threshold is 5 seconds, graphic code of registering described in can arranging is 3 seconds at the displaying time of first user terminal, namely described first user terminal receive described server send register string time, display according to described in register the graphic code 3 seconds of registering that string number generates, can ensure eachly had the regular hour to transmit by the graphic code of registering scanned, guarantee that the person of registering can not be scanned the graphic code of registering being about to lose efficacy and cause registering unsuccessfully.
Further, based on the 3rd embodiment, propose the present invention and to register the 5th embodiment of method, in the present embodiment, when described first user terminal is mobile terminal, above-mentioned steps S120 comprises:
Described first user terminal according to described in register string number and current positional information generate and show graphic code of registering.
In the present embodiment, above-mentioned first user terminal can be the mobile terminal such as smart mobile phone, panel computer, to register system, promote the dirigibility of registering to dispose work attendance anywhere or anytime.Concrete, when described first user terminal is mobile terminal, described first user terminal, after receiving the string number of registering that described server sends, generates according to described string number and the current positional information of registering and shows graphic code of registering.Wherein, described first user terminal is when obtaining its current positional information, architecture service can be adopted to be called again mobile location-based service (LBS, LocationBasedService) position, the mode that GPS (GlobalPositioningSystem) locates can also be passed through and position to obtain current positional information.Because graphic code of registering described in the present embodiment also carries the positional information of described first user terminal, described second user terminal scan described first user terminal demonstration register graphic code time, parsing is obtained as similar character string: addr=intelligence garden 01 & svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information.Accordingly, described second user terminal is sent to registering of described server and asks also to carry the positional information of described first user terminal.
In the present embodiment, namely position due to service end of registering (first user terminal) represents the position of client of registering (the second user terminal), for the home subscriber person of registering of client of registering, as long as normal scanning is registered, graphic code can be registered, do not force the position needing to upload oneself, avoid different model client location of registering difficult or not precisely or the problem that cannot locate.
The present invention also provides one to register device, with reference to Fig. 4, registers in the first embodiment of device in the present invention, described in device of registering comprise:
Generation module 10, registering string number in preset buffer memory district is upgraded for generating string number of registering according to register demand information and the current temporal information of its place server of its place server stores, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
As shown in Figure 2, first user terminal is the service end of registering for showing graphic code of registering, and the second user terminal is client of registering, and registers by the graphic code of registering scanning described first user terminal demonstration.Wherein, described first user terminal can be hard-wired gate inhibition, also can be the mobile terminal such as smart mobile phone, flat board, and described second user terminal can be the mobile terminal such as smart mobile phone, panel computer.Below with first user terminal for fixed terminal carries out the explanation of the present embodiment.
In the present embodiment, have default access rank user (administrative personnel as company) can by as described in demand of the registering configuration interface of first user terminal demonstration to carry out registering the configuration of demand information, described first user terminal have described in receiving default access rank user input register demand information time, send it to server, for described server stores, and demand information of registering according to storage when needing to register returns the string number of registering for generating graphic code of registering.Wherein, described in demand information of registering be used to specify the information of registering that second user terminal of registering needs to upload, such as can specify user profile and current system time, the current positional information etc. of second its home subscriber of user terminal uploads.It will be appreciated by persons skilled in the art that in other embodiments, the user with default access rank can also directly to register demand information described in server configuration.
In addition, in the present embodiment, there is the user of default access rank except demand information of registering described in can configuring, preset time threshold Δ t can also be configured, the life span of the string number of registering being used to specify that described server generates at every turn, meanwhile, the corresponding life span specifying the graphic code of registering that first user terminal generates.Wherein, described preset time threshold is arranged according to actual needs, and such as, described preset time threshold is set to 5 seconds by the present embodiment.
Described server receive described first user terminal send register demand information time, be stored to the storage area that default store path is corresponding.When needs are registered, generation module 10 register according to its place server stores demand information stochastic generation register string number, specifically can adopt string number of registering described in dynamic algorithm stochastic generation, to guarantee each string number equal difference of registering generated, such as, generation module 10 described in the present embodiment is when string is registered in generation, preferably generate according to register demand information and the current temporal information of its place server that store string number of registering, make the string of registering generated number to carry described in register demand information and generation register string time its place server system time.Described generation module 10 is registered in generation, and number (string of registering of generation number to comprise server system time when this string number of registering generates to string, and described preset time threshold Δ t and demand information etc. of registering, as similar character string: svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information) upgrade in preset buffer memory district registering string number while, based on its place server, the string number of registering generated is sent to described first user terminal.Wherein, if the string number of registering that in preset buffer memory district, history of existence generates, then string number of the history in preset buffer memory district being registered replaces with when the secondary string number of registering generated; If the not string number of registering that generates of history of existence in preset buffer memory district, then directly number to be stored to when the string of registering time to generate in preset buffer memory district.
Described first user terminal, after string number of registering described in receiving described server and returning, generates according to described string number of registering and shows graphic code of registering, and for registering described in the second user terminal scanning, graphic code is registered.Wherein, the graphic code of registering that described first user terminal generates can comprise at least one in bar code, Quick Response Code and three-dimension code.Preferably, in the present embodiment, described first user terminal adopts Quick Response Code as graphic code of registering.It should be noted that, Quick Response Code is the chequered with black and white graphic recording data symbol information that distributes in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information automatically by image input device or photoelectric scanning device automatically identifying and reading.In addition, it has some general character of bar codes technique, and often kind of code system has its specific character set, and each character occupies certain width, there is certain verifying function etc., also there is the information automatic identification function to different rows and processing graphics rotation change point simultaneously.
In other embodiments, if described first user terminal is mobile terminal, because the position of described first user terminal is unfixed, described first user terminal is when graphic code is registered in generation, also need to obtain current positional information, and generate according to register described in receiving string number and current positional information graphic code of registering, with make the graphic code of registering generated carry simultaneously described in register demand information and the current positional information of described first user terminal.Wherein, described first user terminal is when obtaining its current positional information, architecture service can be adopted to be called again mobile location-based service (LBS, LocationBasedService) position, the mode that GPS (GlobalPositioningSystem) locates can also be passed through and position to obtain current positional information.
Judge module 20, for judge its place server whether receive in preset time threshold the second user terminal according to described in register graphic code send, and carry current cache identical register string number the request of registering;
To register module 30, for when its place server receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, according to the described request of registering, described second user terminal is registered operation, and return to described second user terminal result of registering after having registered;
Described generation module 10, also for after having registered, upgrades registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal;
Described generation module 10 also for when its place server do not receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, upgrade registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal.
In the present embodiment, described second user terminal scan graphic code of registering described in described first user terminal demonstration will obtain described in register string number, resolve string of registering that scanning obtains number can to get described in register demand information, now described second user terminal according to described in demand information of registering obtain corresponding information of registering, by the information of registering obtained and described in string number of registering be packaged as the request of registering and be sent to described server.Such as, the information of registering that described demand information of registering is specified comprises the present system time of the second user terminal and the user profile of home subscriber, then described second user terminal obtains current system time and the user profile of home subscriber, and by the system time of acquisition, user profile and described in string of registering number be packaged as the request of registering and be sent to described server.It will be understood by those skilled in the art that, in other embodiments, if described in graphic code of registering also carry the positional information of described first user terminal, then register described in the scanning request of registering that graphic code is sent to described server of described second user terminal comprises the positional information of the string number of registering, information of registering and described first user terminal.
Judge module 20 judge its place server whether receive in preset time threshold Δ t the second user terminal according to described in register graphic code send, and carry current cache identical register string number the request of registering, if, the request of registering of described second user terminal is then described effectively, the information of registering that the request of now registering described in module 30 of registering parses is carried carries out the operation of registering of described second user terminal; If not, then illustrate that the request of registering of described second user terminal is invalid, now generate new string number of registering by described generation module 10 according to described demand information of registering, and newly-generated string number of registering is sent to described first user terminal, generate for described first user terminal according to described string number of registering newly and show new graphic code of registering, information can also be sent to the second user terminal simultaneously, require that it initiates operation of registering again.
It should be noted that, module of registering described in the present embodiment does not limit 30 carries out the flow process operated of registering, specifically carry out according to actual needs, such as, when carrying out work attendance and registering, can according to the time receiving the request of registering that the second user terminal sends, and described in register and ask the user profile of carrying to determine whether the home subscriber of the second user terminal be late/leaves early.After the operation of registering completing described second user terminal, described module 30 of registering returns to described second user terminal result of registering, and the information of registering needed is stored to default registers in database, such as, the information of registering stored is needed to comprise the person of registering (user of the second user terminal ownership) and register the time (time that server receives the request of registering) etc.Simultaneously, the registering string number of being registered in string number renewal preset buffer memory district according to the demand information stochastic generation of registering stored by described generation module 10, and string number of registering described in generation is sent to first user terminal, generate for described first user terminal and show new graphic code of registering.Popular says, the graphic code of registering being exactly the generation of first user terminal can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, need server to issue new string number of registering, to generate and to show new graphic code of registering, register for other user terminal.
The device of registering that the present embodiment proposes, be built in server to run, when registering, generate disposable by server and the string of registering with certain life span number is issued to first user terminal, for first user terminal according to described in register to go here and there and number generate and show graphic code of registering; Server described register string number life span in receive the second user terminal according to the graphic code of registering of first user terminal demonstration send register request time, complete registering of the second user terminal, generate and issue new string of registering number to first user terminal, generate for it and show new graphic code of registering.Compared to prior art, the graphic code of registering that the present invention uses can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, the person's of registering graphic code of registering can be avoided to be filmed and to pass to other persons of registering and register, thus the present invention can reach the object of the cheating that prevents from registering.
Further, based on the first embodiment, propose the present invention to register the second embodiment of device, in the present embodiment, described register module 30 also for when its place server receive the second user terminal according to described in register graphic code transmission, and when carrying the request of registering of the different string number of registering of current cache, abandon registering request described in reception, and send information extremely described second user terminal.
Based on the description of the first embodiment, it will be understood by those skilled in the art that, after the life span time-out or graphic code use of registering of graphic code of registering, described generation module 10 all can upgrade registering string number in preset buffer memory district by stochastic generation string number of registering, if described server receive the second user terminal according to described in register graphic code send, and carry current cache different register string number the request of registering, illustrate that the graphic code of registering of described second user terminal scanning may use, also may exceed life span.Therefore, in the present embodiment, when its place server receive the second user terminal according to described in register graphic code send, and carry current cache different register string number register request time, described module 30 refusal of registering is registered, and abandons the request of registering described in reception.Simultaneously, described module 30 of registering sends information to described second user terminal, (it should be noted that to point out the graphic code of registering that the home subscriber of described second user terminal scans first user terminal demonstration again, now described first user terminal demonstration is new graphic code of registering, specifically can refer to previous embodiment, repeat no more herein) register.
The invention allows for one to register device, with reference to Fig. 5, register in the 3rd embodiment of device in the present invention, described in device of registering comprise:
Sending module 110, for receive when its place first user terminal there is default access rank user input register demand information time, described demand information of registering is sent to server, and for described server stores, and demand information of registering according to storage returns string number of registering;
In the present embodiment, have default access rank user (administrative personnel as company) can by as described in demand of the registering configuration interface of first user terminal demonstration to carry out registering the configuration of demand information, sending module 110 when have described in its place first user terminal receives default access rank user input register demand information time, based on its place first user terminal, the demand information of registering received is sent to server, for described server stores, and demand information of registering according to storage when needing to register returns the string number of registering for generating graphic code of registering.Wherein, described in demand information of registering be used to specify the information of registering that second user terminal of registering needs to upload, such as can specify user profile and current system time, the current positional information etc. of second its home subscriber of user terminal uploads.It will be appreciated by persons skilled in the art that in other embodiments, the user with default access rank can also directly to register demand information described in server configuration.
In addition, in the present embodiment, there is the user of default access rank except demand information of registering described in can configuring, preset time threshold Δ t can also be configured, the life span of the string number of registering being used to specify that described server generates at every turn, meanwhile, the corresponding life span specifying the graphic code of registering that first user terminal generates.Wherein, described preset time threshold is arranged according to actual needs, and such as, described preset time threshold is set to 5 seconds by the present embodiment.
As shown in Figure 2, described first user terminal is the service end of registering for showing graphic code of registering, and described second user terminal is client of registering, and registers by the graphic code of registering scanning described first user terminal demonstration.Wherein, described first user terminal can be hard-wired gate inhibition, also can be the mobile terminal such as smart mobile phone, flat board, and described second user terminal can be the mobile terminal such as smart mobile phone, panel computer.Below with first user terminal for fixed terminal carries out the explanation of the present embodiment.
Described server receive described first user terminal send register demand information time, be stored to the storage area that default store path is corresponding.When needs are registered, described server according to described in register demand information stochastic generation register string number, specifically can adopt string number of registering described in dynamic algorithm stochastic generation, to guarantee each string number equal difference of registering generated, such as, the present embodiment, when string is registered in generation, preferably generates according to register demand information and the current temporal information that store string number of registering, make the string number of registering generated carry described in register demand information and described server generate system time when registering string.Described server is registered in generation, and number (string of registering of generation number to comprise server system time when this string number of registering generates to string, and described preset time threshold Δ t and demand information etc. of registering, as similar character string: svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information) upgrade in preset buffer memory district registering string number while, the string number of registering generated is sent to described first user terminal.Wherein, if the string number of registering that in preset buffer memory district, history of existence generates, then string number of the history in preset buffer memory district being registered replaces with when the secondary string number of registering generated; If the not string number of registering that generates of history of existence in preset buffer memory district, then directly number to be stored to when the string of registering time to generate in preset buffer memory district.
Display module 120, for receive when its place first user terminal that described server returns register string time, generate according to described string number of registering and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
Display module 120 when its place first user terminal receive described server return described in register string number after, generate according to described string number of registering and graphic code of registering based on its place first user terminal demonstration, for registering described in the second user terminal scanning, graphic code is registered.Wherein, the graphic code of registering that described display module 120 generates can comprise at least one in bar code, Quick Response Code and three-dimension code.Preferably, in the present embodiment, described display module 120 adopts Quick Response Code as graphic code of registering.It should be noted that, Quick Response Code is the chequered with black and white graphic recording data symbol information that distributes in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with scale-of-two, to represent word numerical information, is processed to realize information automatically by image input device or photoelectric scanning device automatically identifying and reading.In addition, it has some general character of bar codes technique, and often kind of code system has its specific character set, and each character occupies certain width, there is certain verifying function etc., also there is the information automatic identification function to different rows and processing graphics rotation change point simultaneously.
Described second user terminal scan graphic code of registering described in described first user terminal demonstration will obtain described in register string number, resolve string of registering that scanning obtains number can to get described in register demand information, now described second user terminal according to described in demand information of registering obtain corresponding information of registering, by the information of registering obtained and described in string number of registering be packaged as the request of registering and be sent to described server.Such as, the information of registering that described demand information of registering is specified comprises the present system time of the second user terminal and the user profile of home subscriber, then described second user terminal obtains current system time and the user profile of home subscriber, and by the system time of acquisition, user profile and described in string of registering number be packaged as the request of registering and be sent to described server.It will be understood by those skilled in the art that, in other embodiments, if described in graphic code of registering also carry the positional information of described first user terminal, then register described in the scanning request of registering that graphic code is sent to described server of described second user terminal comprises the positional information of the string number of registering, information of registering and described first user terminal.
Described server judge whether to receive in preset time threshold Δ t the second user terminal according to described in register that graphic code sends, and carry current cache identical register string number the request of registering, if, the request of registering of described second user terminal is then described effectively, the information of registering that the request of registering described in now parsing is carried carries out the operation of registering of described second user terminal; If not, then illustrate that the request of registering of described second user terminal is invalid, now described server according to described in demand information of registering generate new string number of registering, and newly-generated string number of registering is sent to described first user terminal, generate for described first user terminal according to described string number of registering newly and show new graphic code of registering, information can also be sent to the second user terminal simultaneously, require that it initiates operation of registering again.
It should be noted that, the present embodiment does not limit described server and carries out the flow process operated of registering, specifically carry out according to actual needs, such as, when carrying out work attendance and registering, can according to the time receiving the request of registering that the second user terminal sends, and described in register and ask the user profile of carrying to determine whether the home subscriber of the second user terminal be late/leaves early.After the operation of registering completing described second user terminal, described server returns to described second user terminal result of registering, and the information of registering needed is stored to default registers in database, such as, the information of registering stored is needed to comprise the person of registering (user of the second user terminal ownership) and register the time (time that server receives the request of registering) etc.Simultaneously, the registering string number that described server is registered in string number renewal preset buffer memory district according to the demand information stochastic generation of registering stored, and string number of registering described in generation is sent to first user terminal, generate for described first user terminal and show new graphic code of registering.Popular says, the graphic code of registering being exactly the generation of first user terminal can be used within a certain period of time, and only can use once, lost efficacy immediately after time-out or use, need server to issue new string number of registering, to generate and to show new graphic code of registering, register for other user terminal.
Further, based on the 3rd embodiment, propose the present invention and to register the 4th embodiment of device, in the present embodiment, while the graphic code of registering that described display module 120 generates in display, also for showing described preset time threshold with the form of countdown.
In the present embodiment, for avoiding the waste processing resource, described display module 120 is while the graphic code of registering generated based on its place first user terminal demonstration, also show described preset time threshold with the form of countdown, the person of registering can be made to know the life span of the graphic code of registering of the current display of described first user terminal intuitively, register to complete in the life span of described graphic code of registering.
Further, consider the not equal reason of the graphic code recognition capability of network delay and different second user terminal, in the present embodiment, graphic code of registering described in can arranging is less than the life span of graphic code of registering at the displaying time of first user terminal, namely register time of graphic code of described display module 120 display is less than above-mentioned preset time threshold.Such as, when described preset time threshold is 5 seconds, graphic code of registering described in can arranging is 3 seconds at the displaying time of first user terminal, namely described display module 120 when its place first user terminal receive described server send register string time, display according to described in register the graphic code 3 seconds of registering that string number generates, can ensure eachly had the regular hour to transmit by the graphic code of registering scanned, guarantee that can not scan the graphic code of registering being about to lose efficacy causes registering unsuccessfully.
Further, based on the 3rd embodiment, propose the present invention to register the 5th embodiment of device, in the present embodiment, described display module 120, also for when its place first user terminal is mobile terminal, generates according to described string number and the current positional information of its place first user terminal of registering and shows graphic code of registering.
In the present embodiment, above-mentioned first user terminal can be the mobile terminal such as smart mobile phone, panel computer, to register system, promote the dirigibility of registering to dispose work attendance anywhere or anytime.Concrete, when described first user terminal is mobile terminal, described display module 120, after its place first user terminal receives the string number of registering that described server sends, generates according to described string number and the current positional information of its place first user terminal of registering and shows graphic code of registering.Wherein, described display module 120 is when the positional information that its place first user terminal of acquisition is current, architecture service can be adopted to be called again mobile location-based service (LBS, LocationBasedService) position, the mode that GPS (GlobalPositioningSystem) locates can also be passed through and position to obtain current positional information.Because graphic code of registering described in the present embodiment also carries the positional information of described first user terminal, described second user terminal scan described first user terminal demonstration register graphic code time, parsing is obtained as similar character string: addr=intelligence garden 01 & svr_time=2015:10:1010:12:15 & time_out=5s & registers demand information.Accordingly, described second user terminal is sent to registering of described server and asks also to carry the positional information of described first user terminal.
In the present embodiment, namely position due to service end of registering (first user terminal) represents the position of client of registering (the second user terminal), for the home subscriber person of registering of client of registering, as long as normal scanning is registered, graphic code can be registered, do not force the position needing to upload oneself, avoid different model client location of registering difficult or not precisely or the problem that cannot locate.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. to register a method, it is characterized in that, described in the method for registering comprise the following steps:
S10, server generate according to register demand information and the current temporal information that store string number of registering and upgrade registering string number in preset buffer memory district, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
S20, described server judge whether to receive in preset time threshold the second user terminal according to described in register that graphic code sends, and carry the registering request of the identical string number of registering of current cache, be perform step S30, otherwise proceed to execution step S10;
S30, described server according to described in the request of registering described second user terminal is registered operation, after having registered, return to described second user terminal result of registering, and proceed to execution step S10.
2. to register as claimed in claim 1 method, it is characterized in that, after described step S10, also comprise:
Receive the second user terminal according to described in register that graphic code sends, and when carrying the request of registering of the different string number of registering of current cache, described server abandons registering request described in reception, and sends information extremely described second user terminal.
3. to register a method, it is characterized in that, described in the method for registering comprise the following steps:
Receive there is default access rank user input register demand information time, described demand information of registering is sent to server by first user terminal, for described server stores, and according to storage described in register demand information return register string number;
Receive that described server returns register string time, described first user terminal according to described in string of registering number generate and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
4. to register as claimed in claim 3 method, it is characterized in that, while the graphic code of registering that display generates, also perform following steps:
Described first user terminal shows described preset time threshold with the form of countdown.
5. to register as claimed in claim 3 method, it is characterized in that, when described first user terminal is mobile terminal, described first user terminal according to described in string number of registering to generate and the step showing graphic code of registering comprises:
Described first user terminal according to described in register string number and current positional information generate and show graphic code of registering.
6. to register a device, it is characterized in that, described in device of registering comprise:
Generation module, registering string number in preset buffer memory district is upgraded for generating string number of registering according to register demand information and the current temporal information of its place server of its place server stores, and string of registering described in generation number is sent to first user terminal, to go here and there according to registering described in receiving for described first user terminal and number generate and show graphic code of registering;
Judge module, for judge its place server whether receive in preset time threshold the second user terminal according to described in register graphic code send, and carry current cache identical register string number the request of registering;
To register module, for when its place server receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, according to the described request of registering, described second user terminal is registered operation, and return to described second user terminal result of registering after having registered;
Described generation module, also for after having registered, upgrades registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal;
Described generation module also for when its place server do not receive in preset time threshold the second user terminal according to described in register graphic code transmission, and carry current cache identical register string number register request time, upgrade registering string number in preset buffer memory district according to the demand information stochastic generation of registering of its place server stores string number of registering, and string number of registering described in generation is sent to first user terminal.
7. to register as claimed in claim 6 device, it is characterized in that, described register module also for when its place server receive the second user terminal according to described in register graphic code transmission, and carry current cache different register string number register request time, abandon the request of registering described in reception, and send information to described second user terminal.
8. to register a device, it is characterized in that, described in device of registering comprise:
Sending module, for receive when its place first user terminal there is default access rank user input register demand information time, described demand information of registering is sent to server, and for described server stores, and demand information of registering according to storage returns string number of registering;
Display module, for receive when its place first user terminal that described server returns register string time, generate according to described string number of registering and show graphic code of registering, for the second user terminal according to described in graphic code of registering send the request of registering to described server, and when described server receive in preset time threshold the second user terminal according to described in register graphic code send register request time, carry out described second user terminal to register operation, and after having registered, return new string number of registering.
9. to register as claimed in claim 8 device, it is characterized in that, while the graphic code of registering that described display module generates in display, also for showing described preset time threshold with the form of countdown.
10. to register as claimed in claim 8 device, it is characterized in that, described display module, also for when its place first user terminal is mobile terminal, generates according to described string number and the current positional information of its place first user terminal of registering and shows graphic code of registering.
CN201510882131.1A 2015-12-03 2015-12-03 Attendance registration method and device Pending CN105513150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510882131.1A CN105513150A (en) 2015-12-03 2015-12-03 Attendance registration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510882131.1A CN105513150A (en) 2015-12-03 2015-12-03 Attendance registration method and device

Publications (1)

Publication Number Publication Date
CN105513150A true CN105513150A (en) 2016-04-20

Family

ID=55721101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510882131.1A Pending CN105513150A (en) 2015-12-03 2015-12-03 Attendance registration method and device

Country Status (1)

Country Link
CN (1) CN105513150A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534293A (en) * 2016-11-07 2017-03-22 广州阿里巴巴文学信息技术有限公司 Check-in method and apparatus, and client
CN106846522A (en) * 2016-12-10 2017-06-13 杭州博世数据网络有限公司 A kind of calling device and the roll-call method for the device
CN107316194A (en) * 2017-06-20 2017-11-03 三星电子(中国)研发中心 It is a kind of based on positional information from the dynamic auxiliary means of payment and device
CN107657670A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 Work attendance method and server based on dynamic two-dimension code
CN108737339A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of activity is registered method, user terminal, server and system
CN109544716A (en) * 2018-10-31 2019-03-29 深圳市商汤科技有限公司 Student registers method and device, electronic equipment and storage medium
CN111063050A (en) * 2019-11-28 2020-04-24 深圳市思为软件技术有限公司 Sign-in method, device, server and storage medium
CN111340165A (en) * 2020-04-17 2020-06-26 支付宝(杭州)信息技术有限公司 Data interaction method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002312551A (en) * 2001-04-13 2002-10-25 Nihon Densan Kk Attendance information collecting system, patrol managing system, server computer, computer program and recording medium
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN102789584A (en) * 2012-06-15 2012-11-21 深圳市方果网络科技有限公司 System and method for barcode attendance
CN103473824A (en) * 2013-09-25 2013-12-25 中山爱科数字科技股份有限公司 Attendance checking method based on two-dimensional code label
CN103903038A (en) * 2014-02-21 2014-07-02 黄昱钊 System for dynamically displaying two-dimension codes and implementation method and application thereof
CN104318637A (en) * 2014-11-19 2015-01-28 广东花生信息科技有限公司 Attendance checking method and system based on two-dimensional code
CN104392502A (en) * 2014-11-14 2015-03-04 苏州盖雅信息技术有限公司 Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002312551A (en) * 2001-04-13 2002-10-25 Nihon Densan Kk Attendance information collecting system, patrol managing system, server computer, computer program and recording medium
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN102789584A (en) * 2012-06-15 2012-11-21 深圳市方果网络科技有限公司 System and method for barcode attendance
CN103473824A (en) * 2013-09-25 2013-12-25 中山爱科数字科技股份有限公司 Attendance checking method based on two-dimensional code label
CN103903038A (en) * 2014-02-21 2014-07-02 黄昱钊 System for dynamically displaying two-dimension codes and implementation method and application thereof
CN104392502A (en) * 2014-11-14 2015-03-04 苏州盖雅信息技术有限公司 Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone
CN104318637A (en) * 2014-11-19 2015-01-28 广东花生信息科技有限公司 Attendance checking method and system based on two-dimensional code

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107657670A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 Work attendance method and server based on dynamic two-dimension code
CN106534293A (en) * 2016-11-07 2017-03-22 广州阿里巴巴文学信息技术有限公司 Check-in method and apparatus, and client
CN106846522A (en) * 2016-12-10 2017-06-13 杭州博世数据网络有限公司 A kind of calling device and the roll-call method for the device
CN106846522B (en) * 2016-12-10 2023-01-13 杭州博世数据网络有限公司 Roll call device and roll call method used for same
CN108737339A (en) * 2017-04-19 2018-11-02 腾讯科技(深圳)有限公司 A kind of activity is registered method, user terminal, server and system
CN108737339B (en) * 2017-04-19 2021-02-09 腾讯科技(深圳)有限公司 Activity sign-in method, user terminal, server and system
CN107316194A (en) * 2017-06-20 2017-11-03 三星电子(中国)研发中心 It is a kind of based on positional information from the dynamic auxiliary means of payment and device
CN109544716A (en) * 2018-10-31 2019-03-29 深圳市商汤科技有限公司 Student registers method and device, electronic equipment and storage medium
CN111063050A (en) * 2019-11-28 2020-04-24 深圳市思为软件技术有限公司 Sign-in method, device, server and storage medium
CN111340165A (en) * 2020-04-17 2020-06-26 支付宝(杭州)信息技术有限公司 Data interaction method, device and equipment

Similar Documents

Publication Publication Date Title
CN105513150A (en) Attendance registration method and device
CN104392502B (en) A kind of Work attendance method of the Quick Response Code attendance checking system based on smart mobile phone
CN110852332B (en) Training sample generation method and device, storage medium and electronic equipment
CN103810767A (en) Off-line activity signing-in method and off-line activity signing-in system
CN111327758B (en) Camera sharing method and device
CN107241416B (en) Management method of shared cabin and terminal equipment
CN103596021A (en) Account login method, device and system of intelligent television
CN109615734A (en) It is a kind of for unlocking the method and apparatus of vehicle arrangement
CN104869019A (en) Feedback method and apparatus for positioning faults, and server
CN104834597A (en) Method and system for measuring application response duration
CN109495492A (en) Communication system for intelligent water utilities industry
CN113037838B (en) Operation response method and device, computer equipment and storage medium
CN111813700B (en) Monitoring data display method and device
CN109005509B (en) Terminal positioning method, device, terminal and storage medium
CN104754700A (en) Device and method for public land mobile network searching
CN105974901A (en) Remote control system and method
CN105657825A (en) Positioning method, mobile terminal, cloud server and positioning system
CN106331060A (en) Control execution method and system based on WIFI
CN102413247A (en) Method and device for recovering crash site of terminal
CN116132175B (en) Event-driven network engine-based remote back door detection method
CN109711512A (en) Two-dimensional code generation method and device
CN106991459A (en) It is a kind of to possess the electronic controller that Quick Response Code systematic function realizes data syn-chronization
CN1645824A (en) Automated generation of message exchange pattern simulation code
CN113676353B (en) Control method and device of equipment, storage medium and electronic device
CN109560909A (en) Target of eating dishes without rice or wine induces detection method, detecting devices and induces equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160420

RJ01 Rejection of invention patent application after publication