CN104376340A - Clock punching method and device - Google Patents
Clock punching method and device Download PDFInfo
- Publication number
- CN104376340A CN104376340A CN201410438541.2A CN201410438541A CN104376340A CN 104376340 A CN104376340 A CN 104376340A CN 201410438541 A CN201410438541 A CN 201410438541A CN 104376340 A CN104376340 A CN 104376340A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- card
- signal source
- checking card
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Telephonic Communication Services (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
The invention discloses a clock punching method and device, and belongs to the field of wireless communication. The method includes the steps that all wireless signal sources covering a mobile terminal are scanned, and scanning information for indicating all the wireless signal sources is obtained; whether the mobile terminal is located in the clock punching region or not is detected according to the scanning information; if the detected result is yes, a clock punching request is sent to a server, and the clock punching request is used for indicating the server to generate the clock punching record of a user corresponding to the mobile terminal. According to the clock punching method and device, all the wireless signal sources covering the mobile terminal are scanned, after it is detected that the mobile terminal is located in the clock punching region according to the obtained scanning information, the clock punching request is sent to the server, the problem that in the prior art, interactive operation of the user and a time card machine is needed, and the user operation process is complex is solved, the user operation is simplified, and the clock punching efficiency is improved.
Description
Technical field
The present invention relates to wireless communication field, particularly a kind of punch card method and device.
Background technology
Checking card is a kind of identity register method conventional in daily management.Such as, enterprise staff can be registered with sign-out by checking card, and company manager understands the attendance of employee by the record of checking card of employee; Or driver checks card when coming in and going out parking lot, and managing system of car parking carries out charging according to the record of checking card of driver.
Existing punch card method has a lot, and such as fingerprint is checked card, iris is checked card, vocal print is checked card or IC (Integrated Circuit, integrated circuit) card is checked card etc.Carry out to be checked card by fingerprint registering or sign-out, when user's (enterprise staff) is on and off duty, default fingerprint is pressed in the equipment of checking card (fingerprint attendance machine), equipment of checking card is according to after fingerprint recognition user identity, the information of checking card of recording user, the information of checking card can comprise the time of checking card and Punch Type (working/come off duty) etc.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Existing punch card method all needs user and the equipment of checking card to carry out interactive operation, and such as, fingerprint attendance machine needs user manually to press fingerprint, and usually needs repeatedly to press fingerprint and just can check card successfully, and operating process is comparatively complicated, and efficiency of checking card is low.
Summary of the invention
Needing user and the equipment of checking card to carry out interactive operation to solve in prior art, causing the problem that user operation process is comparatively complicated, embodiments providing a kind of punch card method and device.Described technical scheme is as follows:
On the one hand, provide a kind of punch card method, in mobile terminal, described method comprises:
Scanning covers each radio signal source of described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Detect described mobile terminal according to described scanning information and whether be in region of checking card;
If testing result is described mobile terminal be in region of checking card, then to server send checking card request, described in check card ask be used to indicate the record of checking card that described server generates described mobile terminal respective user.
On the other hand, provide a kind of punch card method, in server, described method comprises:
The request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
The record of checking card of described mobile terminal respective user is generated according to the described request of checking card.
Another aspect, provides a kind of punch-card device, and in mobile terminal, described device comprises:
Scan module, for scanning each radio signal source covering described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Checking card detection module, whether being in region of checking card for detecting described mobile terminal according to described scanning information;
Request module, if for described in the check card testing result of detection module be that described mobile terminal is in region of checking card, then send to server checking card request, described in check card and ask to be used to indicate the record of checking card that described server generates described mobile terminal respective user.
Again on the one hand, provide a kind of punch-card device, in server, described device comprises:
Request receiving module, for the request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
Generation module, generates the record of checking card of described mobile terminal respective user for the request of checking card described in basis.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, determine customer location by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of the punch card method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the punch card method that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram of the punch card method that one embodiment of the invention provides;
Fig. 5 is the method flow diagram of the punch card method that another embodiment of the present invention provides;
Fig. 6 is the method flow diagram of the punch card method that one embodiment of the invention provides;
Fig. 7 is the structure drawing of device of the punch-card device that one embodiment of the invention provides;
Fig. 8 is the structure drawing of device of the punch-card device that another embodiment of the present invention provides;
Fig. 9 is the structure drawing of device of the punch-card device that one embodiment of the invention provides;
Figure 10 is the structure drawing of device of the punch-card device that another embodiment of the present invention provides;
Figure 11 is the block diagram of the terminal that one embodiment of the invention provides;
Figure 12 is the block diagram of the server that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the present invention, and this implementation environment comprises mobile terminal 120, server 140 and at least one radio signal source 160.Wherein:
Mobile terminal 120 can be the Portable intelligent terminals such as mobile phone, panel computer, Intelligent bracelet, intelligent watch and intelligent glasses, or this mobile terminal 120 also can be vehicle mounted type intelligent terminal.
Can be connected by wireless network between mobile terminal 120 with server 140.
Server 140 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Radio signal source 160 can be Wi-Fi (Wireless-Fidelity, the Wireless Fidelity) short-distance wireless communication such as signal source or Bluetooth signal source signal source.
Please refer to Fig. 2, it illustrates the method flow diagram of the punch card method that one embodiment of the invention provides.This punch card method is used in the mobile terminal 120 of implementation environment as shown in Figure 1, and this punch card method can comprise:
Step 202, scanning covers each radio signal source of mobile terminal, obtains the scanning information being used to indicate each radio signal source.
Step 204, detects this mobile terminal according to this scanning information and whether is in region of checking card.
Step 206, if testing result is in for this mobile terminal region of checking card, then sends to server the request of checking card, and this request of checking card is used to indicate the record of checking card that this server generates this mobile terminal respective user.
In sum, the punch card method that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Please refer to Fig. 3, it illustrates the method flow diagram of the punch card method that another embodiment of the present invention provides.This punch card method is used in the mobile terminal 120 of implementation environment as shown in Figure 1, and this punch card method can be realized by the application software of installing in mobile terminal, or, also can be realized by the hardware module of mobile terminal.This punch card method can comprise:
Step 302, scanning covers each radio signal source of mobile terminal, obtains the scanning information being used to indicate each radio signal source.
For the radio signal source of mobile scanning terminal for Wi-Fi signal source, WLAN (wireless local area network) (the Wireless Local Area Networks in mobile terminal is opened as user, WLAN), during function, mobile terminal can the Wi-Fi signal source of autoscan periphery.
In addition, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal.
Take mobile terminal as smart mobile phone, radio signal source is Wi-Fi signal source, and it is example that enterprise staff carries out clock in and out by smart mobile phone, in some cases, user may forget the WLAN function or mistake closedown WLAN function of opening smart mobile phone, thus causes user to check card unsuccessfully.In order to avoid causing the situation of user's no marking card because smart mobile phone WLAN function is closed, a time period detected WLAN function and whether open can be pre-set, time within this time period, whether the WLAN function detecting smart mobile phone is closed, if the WLAN function of smart mobile phone is in closed condition within this time period, then automatically open the WLAN function of this smart mobile phone.
Concrete, this predetermined amount of time can be arranged in smart mobile phone by user, also can be arranged voluntarily by smart mobile phone.Take smart phone user as enterprise staff, carrying out clock in and out by smart mobile phone is example, and smart mobile phone obtains enterprise's calendar from server in advance, comprises the date of enterprise and time on and off duty in this enterprise's calendar.Smart mobile phone arranges this predetermined amount of time according to enterprise's calendar, such as, by the time period that the WLAN function that the halfhour time period after half an hour to quitting time point before work hours point in the date of this enterprise is set to this smart mobile phone must be opened.
Wherein, the mark of each radio signal source and/or the relative position between each radio signal source and mobile terminal etc. can be comprised in the radio signal source scanning information that mobile scanning terminal obtains.Mobile terminal can continue the radio signal source scanning periphery, or mobile terminal also can carry out single pass every predetermined time section to the radio signal source of periphery.
Step 304, detects this mobile terminal according to this scanning information and whether is in region of checking card.
When including the mark of each radio signal source in this scanning information, detect the mark whether including specification signal source in the mark of this each radio signal source; If testing result is the mark including this specification signal source in the mark of this each radio signal source, then determine that this mobile terminal is in this region of checking card.
Or, when including the first relative position relation in this scanning information, detecting this mobile terminal according to the first relative position relation and the second relative position relation and whether being in this region of checking card; Wherein, this first relative position relation is used to indicate in this mobile terminal and this each radio signal source between specification signal source relative position relation; Second relative position relation is used to indicate this specification signal source and this relative position relation of checking card between region.Wherein, this second relative position relation can obtain from server in advance.
For the radio signal source of mobile scanning terminal for Wi-Fi signal source, in advance several Wi-Fi signal sources are set checking card in region, and using these signal sources as specification signal source.These specification signal sources are fixed with the relative position in region of checking card.
Managerial personnel can according to the overlay area of check card region and each Wi-Fi signal source arrange mobile terminal be in region of checking card time, the combination in the specification signal source that may scan, and the mark of these possible combinations is sent to mobile terminal.Mobile terminal carries out the scanning of Wi-Fi signal source, obtain after comprising the mark scanning information of each Wi-Fi signal source scanned, if the mark in each specification signal source in detecting in the mark of each Wi-Fi signal source the combination including some specification signal sources, then think that mobile terminal is in and check card in region.
Or, mobile terminal also can obtain each specification signal source of pre-setting at the second relative position region of checking card from server, when mobile terminal carries out the scanning of Wi-Fi signal source, if scan specification signal source, then measure the first relative position between mobile terminal and this specification signal source, wherein, the specification signal source scanned is more, and this first relative position is more accurate.Afterwards, whether mobile terminal, according to the first relative position and the second relative position determination mobile terminal relative position with region of checking card, is in checks card in region to detect mobile terminal.
Step 306, if testing result is in for this mobile terminal region of checking card, then whether the network judging between mobile terminal with server is connected can use; If so, step 308 is entered, otherwise, enter step 310.
Wherein, when comprising accessible WAP in the radio signal source scanned, mobile terminal can be connected with server by this WAP, or mobile terminal also can be connected with server by other wireless network (mobile internet that such as mobile operator provides).
Step 308, sends to this server the request of checking card at once.
Wherein, this request of checking card is used to indicate the record of checking card that server generates this mobile terminal respective user.The rise time of this request of checking card can be comprised in this record of checking card.
Step 310, stores the request of checking card, and sends this request of checking card stored when this network follow-up connects available.
In order to avoid the situation of the failure that causes because network between mobile terminal and server is unavailable checking card occurs, in the present embodiment, when detecting that mobile terminal is in region of checking card, if the network between mobile terminal and server is unavailable, then mobile terminal will check card request buffer memory in the terminal, when subsequent detection go out network between mobile terminal and server available time, then send this request of checking card.
Wherein, in order to grasp the concrete condition that user turns out for work, mobile terminal, after every day, first time sent the request of checking card, can detect mobile terminal every the schedule time and whether be in region of checking card, and if so, then generates the request of checking card.Such as, detect a mobile terminal every half an hour and whether be in region of checking card.
It should be noted that, the present embodiment such scheme only carries out clock in and out for enterprise staff by smart mobile phone and is illustrated, and in actual applications, said method can also be applied to other scene, such as, and parking fee collective system scene.When such scheme is applied to parking fee collective system scene, this mobile terminal can be vehicle mounted type intelligent terminal, pre-set several in parking lot and specify Wi-Fi signal source, when vehicle mounted type intelligent terminal scanning Wi-Fi signal source, and when detecting that vehicle is in parking area according to scanning information, generation request Concurrency of checking card gives server, to be checked card record according to request generation of checking card by server, and the time corresponding according to record of checking card carries out charging.Wherein, vehicle mounted type intelligent terminal detects the method that whether is in the method for parking area and the transmission request of checking card and the above-mentioned scheme of carrying out clock in and out by smart mobile phone for enterprise staff of the present embodiment is similar, repeats no more herein.
Whether because user does not fix down time, therefore, vehicle moving terminal can arrange WLAN scan function and open all the time, do not need to detect WLAN function within a predetermined period of time and be closed.In addition, adjacent twice detection of the vehicle moving terminal time interval whether be between parking area can be set to a less time interval according to the actual requirements, and such as, can arrange this time interval is 10 minutes, 5 minutes or even 1 minute.
In practical application, when such scheme is applied to parking fee collective system scene, this mobile terminal also can be the smart mobile phone of user (car owner), namely when the smart mobile phone scanning Wi-Fi signal source of car owner, and when detecting that vehicle is in parking area according to scanning information, generate request Concurrency of checking card and give server.
In sum, the punch card method that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Secondly, the punch card method that the embodiment of the present invention provides, by detect this mobile terminal be in check card region time, whether the network judging between mobile terminal with server is connected can use, if, then at once send the request of checking card, otherwise, store the request of checking card, and this request of checking card stored is sent when this network follow-up connects available, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
In addition, the punch card method that the embodiment of the present invention provides, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal, avoid the radio signal source scan function because of mobile terminal be closed and cause the situation of no marking card, improve check card success ratio and stability.
Please refer to Fig. 4, it illustrates the method flow diagram of the punch card method that one embodiment of the invention provides.This punch card method is used in the server 140 of implementation environment as shown in Figure 1, and this punch card method can comprise:
Step 402, the request of checking card that mobile terminal receive sends, this request of checking card detects for this mobile terminal the request sent after this mobile terminal is in region of checking card according to scanning information, this scanning information is used to indicate each radio signal source covering this mobile terminal.
Step 404, generates the record of checking card of this mobile terminal respective user according to this request of checking card.
In sum, the punch card method that the embodiment of the present invention provides, covered the radio signal source of this mobile terminal in scanning by mobile terminal receive, and detect according to the scanning information obtained the request of checking card that this mobile terminal sends when being in and checking card region, the record of checking card of this mobile terminal respective user is generated according to this request of checking card, customer location is determined by the radio signal source of mobile scanning terminal periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Please refer to Fig. 5, it illustrates the method flow diagram of the punch card method that another embodiment of the present invention provides.This punch card method is used in the server 140 of implementation environment as shown in Figure 1.This punch card method can comprise:
Step 502, the request of checking card that mobile terminal receive sends.
Wherein, this request of checking card detects for this mobile terminal the request sent after this mobile terminal is in region of checking card according to scanning information, this scanning information is used to indicate each radio signal source covering this mobile terminal.
The radio signal source of mobile scanning terminal periphery, and detect according to the scanning information obtained the detailed process whether mobile terminal be in region of checking card and ask for an interview the step 302 in the embodiment shown in above-mentioned Fig. 3 and the description under step 304, repeat no more herein.
In addition, during request that what server mobile terminal receive sent check card, can receive this mobile terminal judge the network between this mobile terminal and this server can with after at once send this check card and ask; Or, receive this mobile terminal and check card at this judging the unavailable rear storage of the network between this mobile terminal and this server and ask.
In order to avoid the situation of the failure that causes because network between mobile terminal and server is unavailable checking card occurs, in the present embodiment, when detecting that mobile terminal is in region of checking card, if the network between mobile terminal and server is unavailable, then mobile terminal will check card request buffer memory in the terminal, when subsequent detection go out network between mobile terminal and server available time, then send this request of checking card.
Step 504, generates the record of checking card of this mobile terminal respective user according to this request of checking card.
Wherein, the rise time of this request of checking card can be comprised in this record of checking card.The rise time of this request of checking card is corresponding the checking card the time of record of checking card.
Step 506, each history obtaining this user is checked card corresponding the checking card the time of record.
Wherein, in order to grasp the concrete condition that user turns out for work, mobile terminal, after every day, first time sent the request of checking card, can detect mobile terminal every predetermined amount of time and whether be in region of checking card, and if so, then generates the request of checking card.Such as, detect a mobile terminal every half an hour and whether be in region of checking card.What server mobile terminal receive generated and sent the request of checking card, generates history corresponding to this mobile subscriber and to check card record, and wherein, each request of checking card is corresponding to be generated a history and to check card record.
Whether extremely step 508, checks card record according to each history of this this user of time detecting that checks card.
Take mobile terminal as smart mobile phone, enterprise staff is example by smart mobile phone work attendance of carrying out checking card, in actual applications, such situation may be there is: employee is when next, be placed on by smart mobile phone in the Administrative Area that can automatically check card, the record of checking card of such server generation just correctly can not reflect the attendance of employee.In order to avoid such situation occurs, server can carry out anomaly analysis to the history of the employee time of checking card corresponding to record of checking card, such as, when within continuous many days, occur during the history that server analysis goes out certain employee checks card record about morning check card record time, can think that the history of this employee is checked card recording exceptional.
Step 510, the recording exceptional if each history that testing result is this user is checked card, then carry out abnormity prompt to the history of this user record of checking card.
If server detects each history of certain employee and to check card recording exceptional, then can show this abnormity prompt to managerial personnel, manually differentiate whether this history record of checking card truly reflects the attendance of this employee by managerial personnel.
It should be noted that, the present embodiment such scheme only carries out clock in and out for enterprise staff by smart mobile phone and is illustrated, and in actual applications, said method can also be applied to other scene, such as, and parking fee collective system scene.When such scheme is applied to parking fee collective system scene, this mobile terminal can be the smart mobile phone of vehicle mounted type intelligent terminal or user (car owner), server is checked card after record according to request of the checking card generation that mobile terminal sends, can determine time period of stopping the time corresponding according to record of checking card and charging.In addition, be applied to clock in and out scene unlike, when such scheme is applied to parking fee collective system scene, whether server does not need detection record of checking card abnormal.
In sum, the punch card method that the embodiment of the present invention provides, covered the radio signal source of this mobile terminal in scanning by mobile terminal receive, and detect according to the scanning information obtained the request of checking card that this mobile terminal sends when being in and checking card region, the record of checking card of this mobile terminal respective user is generated according to this request of checking card, customer location is determined by the radio signal source of mobile scanning terminal periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
In addition, the punch card method that the embodiment of the present invention provides, by mobile terminal receive in the request of checking card judging the unavailable rear storage of the network between this mobile terminal and server, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
Please refer to Fig. 6, it illustrates the method flow diagram of the punch card method that one embodiment of the invention provides.This punch card method is used for as shown in Figure 1 in implementation environment.With the mobile terminal 120 of implementation environment shown in Fig. 1 for smart mobile phone, radio signal source 160 is Wi-Fi signal source, and it is example that enterprise staff carries out clock in and out by smart mobile phone, and this punch card method can comprise:
Step 602, mobile terminal obtains from server rule of checking card.
Be used for certain enterprise for the present embodiment to check card work attendance, enterprise staff is unified in smart mobile phone the APP (Application, third party application) installed for automatically checking card.Administrative Area is set to region of checking card by enterprise, arranges several Wi-Fi signal sources checking card in region in advance, and using these signal sources as specification signal source.These specification signal sources are fixed with the relative position in region of checking card.
Keeper Xiao Wang arranges rule of checking card in the server, and the rule of checking card arranged is sent in the smart mobile phone of each employee by server.Wherein, rule of checking card can comprise enterprise's calendar (date of enterprise and commuter time), the mark in each specification signal source and condition of checking card.This condition of checking card judges whether smart mobile phone is in the method in region of checking card.
Step 604, mobile scanning terminal covers each radio signal source of mobile terminal, obtains the scanning information being used to indicate each radio signal source.
For the radio signal source of mobile scanning terminal for Wi-Fi signal source, when opening the WLAN function in mobile terminal as user, mobile terminal can the Wi-Fi signal source of autoscan periphery.
Such as, in the smart mobile phone of employee Xiao Li, the APP that checks card is installed, and after receiving rule of checking card, when the WLAN function of smart mobile phone is opened, the scanning information obtained when the APP that checks card can obtain the Wi-Fi signal source of smart mobile phone scanning periphery.
In addition, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal.
In some cases, employee Xiao Li may forget the WLAN function opening smart mobile phone, or, close WLAN function by mistake, thus cause checking card unsuccessfully.Close in order to avoid smart mobile phone WLAN function and cause the situation of no marking card, the time period that one is detected WLAN function can be pre-set, time within this time period, whether the WLAN function that the APP that checks card detects smart mobile phone is closed, if the WLAN function of smart mobile phone is in closed condition within this time period, then the APP that checks card opens the WLAN function of this smart mobile phone automatically.
Concrete, this predetermined amount of time manually can be arranged in smart mobile phone by employee Xiao Li, also can be arranged voluntarily by the APP that checks card.Such as, the APP that checks card can arrange this predetermined amount of time according to enterprise's calendar, by the preset time period that the WLAN function that the halfhour time period after half an hour to quitting time point before work hours point in the date of this enterprise is set to this smart mobile phone must be opened.Or this preset time period can also by Servers installed, and such as, keeper Xiao Wang relevant setting in interface in the server inputs this preset time period, and this preset time period is added on the smart mobile phone being sent to each employee in rule of checking card by server.
Wherein, the mark of each radio signal source and/or the relative position between each radio signal source and mobile terminal etc. can be comprised in the radio signal source scanning information that mobile scanning terminal obtains.Mobile terminal can continue the radio signal source scanning periphery, or mobile terminal also can carry out single pass every predetermined time section to the radio signal source of periphery.
Step 606, mobile terminal detects this mobile terminal according to this scanning information and whether is in region of checking card, and if so, enters step 608.
When including the mark of this each radio signal source in this scanning information, detect the mark whether including specification signal source in the mark of this each radio signal source; If testing result is the mark including this specification signal source in the mark of this each radio signal source, then determine that this mobile terminal is in this region of checking card.
Or, when including the first relative position relation in this scanning information, detecting this mobile terminal according to this first relative position relation and the second relative position relation and whether being in this region of checking card; Wherein, this first relative position relation is used to indicate in this mobile terminal and this each radio signal source between specification signal source relative position relation; This second relative position relation is used to indicate this specification signal source and this relative position relation of checking card between region.This second relative position relation can obtain from server in advance.
When the smart mobile phone that keeper Xiao Wang can arrange employee according to check card region and the overlay area of each Wi-Fi signal source that is set in advance as specification signal source is in region of checking card, the combination in the specification signal source that may scan, and using the mark of these possible combinations as the condition of checking card, be carried at the smart mobile phone sending to each employee in rule of checking card.The smart mobile phone of employee Xiao Li carries out the scanning of Wi-Fi signal source, obtain after comprising the mark scanning information of each Wi-Fi signal source scanned, if the mark in each specification signal source in detecting in the mark of each Wi-Fi signal source the combination including some specification signal sources, then think that the smart mobile phone of employee Xiao Li is in and check card in region.
Or, each specification signal source pre-set also can be added at the second relative position in region of checking card the smart mobile phone sending to each employee in rule of checking card by server, when the smart mobile phone of employee Xiao Li carries out the scanning of Wi-Fi signal source, if scan specification signal source, then measure the first relative position between mobile terminal and this specification signal source, wherein, the specification signal source scanned is more, and this first relative position is more accurate.Afterwards, whether the APP that checks card, according to the first relative position and the second relative position determination smart mobile phone relative position with region of checking card, is in checks card in region to detect smart mobile phone.
Step 608, mobile terminal judges to be connected with the network between server whether can use; If so, step 610 is entered, otherwise, enter step 612.
Wherein, when comprising accessible Wi-Fi access point in the Wi-Fi signal source that smart mobile phone scans, smart mobile phone can be connected with server by this Wi-Fi access point, or smart mobile phone also can be connected with server by other wireless network (mobile internet that such as mobile operator provides).
Step 610, mobile terminal sends to server the request of checking card at once.
The APP that checks card in the smart mobile phone of employee Xiao Li detects that this smart mobile phone is in when checking card region, generates checking card request, comprises the mark of this smart mobile phone and check card the rise time of asking in this request of checking card.If the connection between this smart mobile phone and server is available, then the APP that checks card sends to server the request of checking card at once.
Step 612, the mobile terminal storage request of checking card, and this request of checking card stored is sent when this network follow-up connects available.
If the connection between this smart mobile phone and server is unavailable, then the APP that checks card stores the request of checking card generated, and sends this request of checking card stored when subsequent network connects available.
In order to avoid the situation of the failure that causes because network between mobile terminal and server is unavailable checking card occurs, in the present embodiment, when detecting that mobile terminal is in region of checking card, if the network between mobile terminal and server is unavailable, then will check card request buffer memory in the terminal, when subsequent detection go out network between mobile terminal and server available time, then send this request of checking card.
Step 614, server generates the record of checking card of this mobile terminal respective user according to the request of checking card.
Server generates the record of checking card of employee Xiao Li according to the request of checking card that the APP that checks card in the smart mobile phone of employee Xiao Li sends.The rise time of this request of checking card can be comprised in this record of checking card.
Step 616, each history that server obtains this user is checked card corresponding the checking card the time of record.
Wherein, in order to the concrete condition of employee attendance can be grasped, check card APP after every day, first time sent the request of checking card, smart mobile phone can be detected every predetermined amount of time and whether be in region of checking card, if so, then generate the request of checking card.Such as, detect once every half an hour.Server receives the request of checking card that the APP that checks card in the smart mobile phone of employee Xiao Li generates and sends at every turn, then generate the history of an employee Xiao Li and to check card record.
Step 618, whether server is abnormal according to each history of this this user of time detecting that checks card record of checking card, the recording exceptional if each history that testing result is this user is checked card, then carry out abnormity prompt to the history of this user record of checking card.
In actual applications, may occur such situation: smart mobile phone, when next, is placed in the Administrative Area that can automatically check card by employee Xiao Li, the record of checking card of such server generation just correctly can not reflect the attendance of employee Xiao Li.In order to avoid such situation occurs, server can carry out anomaly analysis to the history of the employee Xiao Li time of checking card corresponding to record of checking card, such as, when within continuous many days, occur during the history that server analysis goes out employee Xiao Li checks card record about morning check card record time, can think that the history of employee Xiao Li is checked card recording exceptional.
If server detects each history of employee Xiao Li and to check card recording exceptional, then can show this abnormity prompt to keeper Xiao Wang, manually differentiate whether this history record of checking card truly reflects the attendance of employee Xiao Li by keeper Xiao Wang.
In sum, the punch card method that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Secondly, the punch card method that the embodiment of the present invention provides, by detect this mobile terminal be in check card region time, whether the network judging between mobile terminal with server is connected can use, if, then at once send the request of checking card, otherwise, store the request of checking card, and this request of checking card stored is sent when this network follow-up connects available, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
In addition, the punch card method that the embodiment of the present invention provides, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal, avoid the radio signal source scan function because of mobile terminal be closed and cause the situation of no marking card, improve check card success ratio and stability.
Please refer to Fig. 7, it illustrates the structure drawing of device of the punch-card device that one embodiment of the invention provides.This punch-card device may be used in the mobile terminal 120 in implementation environment as shown in Figure 1, and be embodied as the punch card method as shown in Fig. 2 or this Fig. 3, this punch-card device can comprise:
Scan module 701, for scanning each radio signal source covering described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Checking card detection module 702, whether being in region of checking card for detecting described mobile terminal according to described scanning information;
Request module 703, if for described in the check card testing result of detection module 702 be that described mobile terminal is in region of checking card, then to server send checking card request, described in check card ask be used to indicate the record of checking card that described server generates described mobile terminal respective user.
In sum, the punch-card device that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Please refer to Fig. 8, it illustrates the structure drawing of device of the punch-card device that one embodiment of the invention provides.This punch-card device may be used in the mobile terminal 120 in implementation environment as shown in Figure 1, and be embodied as the punch card method as shown in Fig. 2 or this Fig. 3, this punch-card device can comprise:
Scan module 801, for scanning each radio signal source covering described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Checking card detection module 802, whether being in region of checking card for detecting described mobile terminal according to described radio signal source scanning information;
Request module 803, if for described in the check card testing result of detection module 802 be that described mobile terminal is in region of checking card, then to server send checking card request, described in check card ask be used to indicate the record of checking card that described server generates described mobile terminal respective user.
Described detection module 802 of checking card, comprising:
First detecting unit 802a, for detect each radio signal source described mark in whether include the mark in specification signal source;
Determining unit 802b, if be the mark including described specification signal source in the mark of each radio signal source described for the testing result of described first detecting unit 802a, then determines that described mobile terminal to be checked card region described in being in;
Wherein, the mark of each radio signal source described is included in described scanning information.
Optionally, described in check card detection module 802, comprising:
Second detecting unit 802c, for detect according to the first relative position relation and the second relative position relation described mobile terminal whether be in described in check card region;
Wherein, described first relative position relation is included in described scanning information, described first relative position relation is used to indicate the relative position relation between the specification signal source in described mobile terminal and each radio signal source described, and described second relative position relation is used to indicate described specification signal source and described relative position relation of checking card between region.
Optionally, described request module 803, comprising:
Judging unit 803a, whether the network for judging between described mobile terminal with described server is connected can use;
First transmitting element 803b, if be that the connection of described network is available for the judged result of described judging unit 803a, then the request of checking card described at once sending to described server;
Storage unit 803c, if be that the connection of described network is unavailable for the judged result of described judging unit 803a, then the request of checking card described in storing;
Second transmitting element 803d, for sending the request of checking card described in storage when follow-up described network connects available.
Optionally, described device also comprises:
Scanning Detction module 804, for when being in predetermined amount of time, whether the radio signal source scan function detecting described mobile terminal is closed;
Opening module 805, if be described mobile terminal for the testing result of described Scanning Detction module 804, radio signal source scan function is closed, then open the radio signal source scan function of described mobile terminal.
In sum, the punch-card device that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Secondly, the punch-card device that the embodiment of the present invention provides, by detect this mobile terminal be in check card region time, whether the network judging between mobile terminal with server is connected can use, if, then at once send the request of checking card, otherwise, store the request of checking card, and this request of checking card stored is sent when this network follow-up connects available, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
In addition, the punch-card device that the embodiment of the present invention provides, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal, avoid the radio signal source scan function because of mobile terminal be closed and cause the situation of no marking card, improve check card success ratio and stability.
Please refer to Fig. 9, it illustrates the structure drawing of device of the punch-card device that one embodiment of the invention provides.This punch-card device may be used in the server 140 in implementation environment as shown in Figure 1, and be embodied as the punch card method as shown in Fig. 4 or this Fig. 5, this punch-card device can comprise:
Request receiving module 901, for the request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
Generation module 902, generates the record of checking card of described mobile terminal respective user for the request of checking card described in basis.
In sum, the punch-card device that the embodiment of the present invention provides, covered the radio signal source of this mobile terminal in scanning by mobile terminal receive, and detect according to the scanning information obtained the request of checking card that this mobile terminal sends when being in and checking card region, the record of checking card of this mobile terminal respective user is generated according to this request of checking card, customer location is determined by the radio signal source of mobile scanning terminal periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Please refer to Figure 10, it illustrates the structure drawing of device of the punch-card device that one embodiment of the invention provides.This punch-card device may be used in the server 140 in implementation environment as shown in Figure 1, and be embodied as the punch card method as shown in Fig. 4 or this Fig. 5, this punch-card device can comprise:
Request receiving module 1001, for the request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
Generation module 1002, generates the record of checking card of described mobile terminal respective user for the request of checking card described in basis.
Optionally, described request receiver module 1001, comprising:
First receiving element 1001a, for receive described mobile terminal judge the network between described mobile terminal and described server can with after at once send described in check card and ask;
Second receiving element 1001b, is judging to check card described in the unavailable rear storage of the network between described mobile terminal and described server to ask for receiving described mobile terminal.
Optionally, described device also comprises:
Time-obtaining module 1003, each history for obtaining described user is checked card and is recorded corresponding checking card the time;
Abnormality detection module 1004, whether extremely each history for the user described in time detecting that checks card described in basis check card record;
Prompting module 1005, if to check card recording exceptional for the testing result of described abnormality detection module 1004 each history that is described user, then carries out abnormity prompt to the history of described user record of checking card.
In sum, the punch-card device that the embodiment of the present invention provides, covered the radio signal source of this mobile terminal in scanning by mobile terminal receive, and detect according to the scanning information obtained the request of checking card that this mobile terminal sends when being in and checking card region, the record of checking card of this mobile terminal respective user is generated according to this request of checking card, customer location is determined by the radio signal source of mobile scanning terminal periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
In addition, the punch-card device that the embodiment of the present invention provides, by mobile terminal receive in the request of checking card judging the unavailable rear storage of the network between this mobile terminal and server, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
Please refer to Figure 11, it illustrates the block diagram of the terminal that one embodiment of the invention provides, the punch card method that this terminal provides for implementing embodiment corresponding to above-mentioned Fig. 2 or this Fig. 3, terminal in the embodiment of the present invention can comprise one or more following ingredient: for performing computer program instructions to complete the processor of various flow process and method, for information and stored program instruction random access memory (RAM) and ROM (read-only memory) (ROM), for storing the storer of data and information, I/O equipment, interface, antenna etc.Specifically:
Terminal 1100 can comprise RF (Radio Frequency, radio frequency) parts such as circuit 1110, storer 1120, input block 1130, display unit 1140, sensor 1150, voicefrequency circuit 1160, WiFi (wirelessfidelity, Wireless Fidelity) module 1170, processor 1180, power supply 1182, camera 1190.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 11, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Figure 11 each component parts to terminal 1100:
RF circuit 1110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 1180; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, LNA (Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 1110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 1120 can be used for storing software program and module, and processor 1180 is stored in software program and the module of storer 1120 by running, thus performs various function application and the data processing of terminal 1100.Storer 1120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1100.In addition, storer 1120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 1130 can be used for the numeral or the character information that receive input, and generation arranges with the user of terminal 1100 and function controls the input of relevant key signals.Particularly, input block 1130 can comprise contact panel 1131 and other input equipments 1132.Contact panel 1131, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 1131 or near contact panel 1131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 1131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1180, and the order that energy receiving processor 1180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 1131.Except contact panel 1131, input block 1130 can also comprise other input equipments 1132.Particularly, other input equipments 1132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 1140 can be used for the various menus showing information or the information being supplied to user and the terminal 1100 inputted by user.Display unit 1140 can comprise display panel 1141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detects thereon or after neighbouring touch operation, send processor 1180 to determine the type of touch event, on display panel 1141, provide corresponding vision to export with preprocessor 1180 according to the type of touch event.Although in fig. 11, contact panel 1131 and display panel 1141 be as two independently parts to realize input and the input function of terminal 1100, but in certain embodiments, can by integrated to contact panel 1131 and display panel 1141 and realize the input and output function of terminal 1100.
Terminal 1100 also can comprise at least one sensor 1150, such as gyro sensor, magnetic induction sensor, optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 1141, proximity transducer when terminal 1100 moves in one's ear, can cut out display panel 1141 and/or backlight.As the one of motion sensor, acceleration transducer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 1100 also other sensors such as configurable barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the audio interface between user and terminal 1100.Voicefrequency circuit 1160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 1161, by loudspeaker 1161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, voice data is converted to after being received by voicefrequency circuit 1160, after again voice data output processor 1180 being processed, through RF circuit 1110 to send to such as another terminal, or export voice data to storer 1120 to process further.
WiFi belongs to short range wireless transmission technology, and terminal 1100 can help user to send and receive e-mail by WiFi module 1170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 11 shows WiFi module 1170, be understandable that, it does not belong to must forming of terminal 1100, can omit in the scope of essence not changing invention as required completely.
Processor 1180 is control centers of terminal 1100, utilize the various piece of various interface and the whole terminal of connection, software program in storer 1120 and/or module is stored in by running or performing, and call the data be stored in storer 1120, perform various function and the process data of terminal 1100, thus integral monitoring is carried out to terminal.Optionally, processor 1180 can comprise one or more processing unit; Preferably, processor 1180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1180.
Terminal 1100 also comprises the power supply 1182 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 1180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Camera 1190 is generally made up of camera lens, imageing sensor, interface, digital signal processor, CPU, display screen etc.Wherein, camera lens is fixed on the top of imageing sensor, manually can change focusing by adjustable lens; Imageing sensor is equivalent to " film " of traditional camera, is the heart of camera collection image; Interface is used for camera to utilize winding displacement, board to board connector, spring connected mode to be connected with terminal mainboard, and the image of collection is sent to described storer 1120; Digital signal processor is processed the image gathered by mathematical operation, the analog image of collection is converted to digital picture and sends to storer 1120 by interface.
Although not shown, terminal 1100 can also comprise bluetooth module etc., does not repeat them here.
Terminal 1100, except comprising one or more processor 1180, also includes storer, and one or more module, and one or more module stores in storer, and is configured to be performed by one or more processor.One or more module above-mentioned has following function:
Scanning covers each radio signal source of described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Detect described mobile terminal according to described scanning information and whether be in region of checking card;
If testing result is described mobile terminal be in region of checking card, then to server send checking card request, described in check card ask be used to indicate the record of checking card that described server generates described mobile terminal respective user.
Optionally, in described scanning information, include the mark of each radio signal source described, describedly detect described mobile terminal according to described scanning information and whether be in region of checking card, comprising:
Detect the mark whether including specification signal source in the mark of each radio signal source described;
If testing result is the mark including described specification signal source in the mark of each radio signal source described, then determine that described mobile terminal to be checked card region described in being in.
Optionally, include the first relative position relation in described scanning information, described first relative position relation is used to indicate the relative position relation between the specification signal source in described mobile terminal and each radio signal source described; Describedly detect described mobile terminal according to described scanning information and whether be in region of checking card, comprising:
According to described first relative position relation and the second relative position relation detect described mobile terminal whether be in described in check card region;
Wherein, described second relative position relation is used to indicate described specification signal source and described relative position relation of checking card between region.
Optionally, described to the server transmission request of checking card, comprising:
Whether the network judging between described mobile terminal with described server is connected can use;
If judged result is described network, connection is available, then the request of checking card described at once sending to described server;
If judged result is described network, connection is unavailable, then the request of checking card described in storing, and sends the request of checking card described in storage when follow-up described network connects available.
Optionally, described method also comprises:
When being in predetermined amount of time, whether the radio signal source scan function detecting described mobile terminal is closed;
If the radio signal source scan function that described testing result is described mobile terminal is closed, then open the radio signal source scan function of described mobile terminal.
In sum, the terminal that the embodiment of the present invention provides, each radio signal source of mobile terminal is covered by scanning, after detecting that this mobile terminal is in region of checking card according to the scanning information obtained, the request of checking card is sent to server, customer location is determined by the radio signal source scanning periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
Secondly, the terminal that the embodiment of the present invention provides, by detect this mobile terminal be in check card region time, whether the network judging between mobile terminal with server is connected can use, if, then at once send the request of checking card, otherwise, store the request of checking card, and this request of checking card stored is sent when this network follow-up connects available, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
In addition, the punch card method that the embodiment of the present invention provides, when being in predetermined amount of time, whether the radio signal source scan function that can also detect mobile terminal is closed; If the radio signal source scan function that testing result is mobile terminal is closed, then open the radio signal source scan function of mobile terminal, avoid the radio signal source scan function because of mobile terminal be closed and cause the situation of no marking card, improve check card success ratio and stability.
Please refer to Figure 12, it illustrates the block diagram of the server that disclosure embodiment provides.Described server may be used for implementing the punch card method shown in above-mentioned Fig. 4 or Fig. 5.Described server 1200 comprises CPU (central processing unit) (CPU) 1201, comprises the system storage 1204 of random access memory (RAM) 1202 and ROM (read-only memory) (ROM) 1203, and the system bus 1205 of connected system storer 1204 and CPU (central processing unit) 1201.Described server 1200 also comprises the basic input/output (I/O system) 1206 of transmission information between each device in help computing machine, and for storing the mass-memory unit 1207 of operating system 1213, application program 1214 and other program modules 1215.
Described basic input/output 1206 includes the input equipment 1209 of the display 1208 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 1208 and input equipment 1209 are all connected to CPU (central processing unit) 1201 by the input/output control unit 1210 being connected to system bus 1205.Described basic input/output 1206 can also comprise input/output control unit 1210 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 1210 also provides the output device outputting to display screen, printer or other types.
Described mass-memory unit 1207 is connected to CPU (central processing unit) 1201 by the bulk memory controller (not shown) being connected to system bus 1205.Described mass-memory unit 1207 and the computer-readable medium that is associated thereof provide non-volatile memories for server 1200.That is, described mass-memory unit 1207 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 1204 and mass-memory unit 1207 can be referred to as storer.
According to various embodiments of the present invention, the remote computer that described server 1200 can also be connected on network by networks such as such as the Internets runs.Also namely server 1200 can be connected to network 1212 by the network interface unit 1211 be connected on described system bus 1205, in other words, network interface unit 1211 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described storer also comprises one or more than one program, and described more than one or one program is stored in storer, and described more than one or one program has following function:
The request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
The record of checking card of described mobile terminal respective user is generated according to the described request of checking card.
Optionally, the request of checking card that described mobile terminal receive sends, comprising:
Receive described mobile terminal judge the network between described mobile terminal and described server can with after at once send described in check card and ask;
Or,
Receive described mobile terminal judging to check card described in the unavailable rear storage of the network between described mobile terminal and described server to ask.
Optionally, described method also comprises:
Each history obtaining described user is checked card corresponding the checking card the time of record;
Whether extremely to check card record according to each history of the described user described in time detecting that checks card;
The recording exceptional if each history that testing result is described user is checked card, then carry out abnormity prompt to the history of described user record of checking card.
In sum, the server that the embodiment of the present invention provides, covered the radio signal source of this mobile terminal in scanning by mobile terminal receive, and detect according to the scanning information obtained the request of checking card that this mobile terminal sends when being in and checking card region, the record of checking card of this mobile terminal respective user is generated according to this request of checking card, customer location is determined by the radio signal source of mobile scanning terminal periphery, and automatically initiate the request of checking card, do not need user's manual operation, solve in prior art and need user and attendance recorder to carry out interactive operation, cause the problem that user operation process is comparatively complicated, reach simplification user operation, improve the effect of efficiency of checking card.
In addition, the server that the embodiment of the present invention provides, by mobile terminal receive in the request of checking card judging the unavailable rear storage of the network between this mobile terminal and server, to avoid causing because network between mobile terminal and server is unavailable checking card the situation of failure, reduce network requirement, improve the success ratio of checking card.
It should be noted that: the punch-card device that above-described embodiment provides is when automatically checking card, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the punch-card device that above-described embodiment provides and punch card method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (16)
1. a punch card method, is characterized in that, in mobile terminal, described method comprises:
Scanning covers each radio signal source of described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Detect described mobile terminal according to described scanning information and whether be in region of checking card;
If testing result is described mobile terminal be in region of checking card, then to server send checking card request, described in check card ask be used to indicate the record of checking card that described server generates described mobile terminal respective user.
2. method according to claim 1, is characterized in that, includes the mark of each radio signal source described in described scanning information, describedly detects described mobile terminal according to described scanning information and whether is in region of checking card, and comprising:
Detect the mark whether including specification signal source in the mark of each radio signal source described;
If testing result is the mark including described specification signal source in the mark of each radio signal source described, then determine that described mobile terminal to be checked card region described in being in.
3. method according to claim 1, it is characterized in that, include the first relative position relation in described scanning information, described first relative position relation is used to indicate the relative position relation between the specification signal source in described mobile terminal and each radio signal source described; Describedly detect described mobile terminal according to described scanning information and whether be in region of checking card, comprising:
According to described first relative position relation and the second relative position relation detect described mobile terminal whether be in described in check card region;
Wherein, described second relative position relation is used to indicate described specification signal source and described relative position relation of checking card between region.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described to the server transmission request of checking card, comprising:
Whether the network judging between described mobile terminal with described server is connected can use;
If judged result is described network, connection is available, then the request of checking card described at once sending to described server;
If judged result is described network, connection is unavailable, then the request of checking card described in storing, and sends the request of checking card described in storage when described network connects available.
5., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described method also comprises:
When being in predetermined amount of time, whether the radio signal source scan function detecting described mobile terminal is closed;
If the radio signal source scan function that described testing result is described mobile terminal is closed, then open the radio signal source scan function of described mobile terminal.
6. a punch card method, is characterized in that, in server, described method comprises:
The request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
The record of checking card of described mobile terminal respective user is generated according to the described request of checking card.
7. method according to claim 6, is characterized in that, the request of checking card that described mobile terminal receive sends, and comprising:
Receive described mobile terminal judge the network between described mobile terminal and described server can with after at once send described in check card and ask;
Or,
Receive described mobile terminal store when judging that the network between described mobile terminal and described server is unavailable described in check card and ask.
8. the method according to claim 6 or 7, is characterized in that, described method also comprises:
Each history obtaining described user is checked card corresponding the checking card the time of record;
Whether extremely to check card record according to each history of the described user described in time detecting that checks card;
The recording exceptional if each history that testing result is described user is checked card, then carry out abnormity prompt to the history of described user record of checking card.
9. a punch-card device, is characterized in that, in mobile terminal, described device comprises:
Scan module, for scanning each radio signal source covering described mobile terminal, obtains the scanning information being used to indicate each radio signal source described;
Checking card detection module, whether being in region of checking card for detecting described mobile terminal according to described scanning information;
Request module, if for described in the check card testing result of detection module be that described mobile terminal is in region of checking card, then send to server checking card request, described in check card and ask to be used to indicate the record of checking card that described server generates described mobile terminal respective user.
10. device according to claim 9, is characterized in that, described in check card detection module, comprising:
First detecting unit, for detect each radio signal source described mark in whether include the mark in specification signal source;
Determining unit, if be the mark including described specification signal source in the mark of each radio signal source described for the testing result of described first detecting unit, then determines that described mobile terminal to be checked card region described in being in;
Wherein, the mark of each radio signal source described is included in described scanning information.
11. devices according to claim 10, is characterized in that, described in check card detection module, comprising:
Second detecting unit, for detect according to the first relative position relation and the second relative position relation described mobile terminal whether be in described in check card region;
Wherein, described first relative position relation is included in described scanning information, described first relative position relation is used to indicate the relative position relation between the specification signal source in described mobile terminal and each radio signal source described, and described second relative position relation is used to indicate described specification signal source and described relative position relation of checking card between region.
12. according to the arbitrary described device of claim 9 to 11, and it is characterized in that, described request module, comprising:
Judging unit, whether the network for judging between described mobile terminal with described server is connected can use;
First transmitting element, if be that the connection of described network is available for the judged result of described judging unit, then the request of checking card described at once sending to described server;
Storage unit, if be that the connection of described network is unavailable for the judged result of described judging unit, then the request of checking card described in storing;
Second transmitting element, for sending the request of checking card described in storage when described network connects available.
13. according to the arbitrary described device of claim 9 to 11, and it is characterized in that, described device also comprises:
Scanning Detction module, for when being in predetermined amount of time, whether the radio signal source scan function detecting described mobile terminal is closed;
Opening module, if be described mobile terminal for the testing result of described Scanning Detction module, radio signal source scan function is closed, then open the radio signal source scan function of described mobile terminal.
14. 1 kinds of punch-card devices, is characterized in that, in server, described device comprises:
Request receiving module, for the request of checking card that mobile terminal receive sends, the described request of checking card detects for described mobile terminal the request sent after described mobile terminal is in region of checking card according to scanning information, described scanning information is used to indicate each radio signal source covering described mobile terminal;
Generation module, generates the record of checking card of described mobile terminal respective user for the request of checking card described in basis.
15. devices according to claim 14, is characterized in that, described request receiver module, comprising:
First receiving element, for receive described mobile terminal judge the network between described mobile terminal and described server can with after at once send described in check card and ask;
Second receiving element, for receive described mobile terminal store when judging that the network between described mobile terminal and described server is unavailable described in check card and ask.
16. devices according to claims 14 or 15, it is characterized in that, described device also comprises:
Time-obtaining module, each history for obtaining described user is checked card and is recorded corresponding checking card the time;
Abnormality detection module, whether extremely each history for the user described in time detecting that checks card described in basis check card record;
Prompting module, if to check card recording exceptional for the testing result of described abnormality detection module each history that is described user, then carries out abnormity prompt to the history of described user record of checking card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410438541.2A CN104376340B (en) | 2014-08-29 | 2014-08-29 | Punch card method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410438541.2A CN104376340B (en) | 2014-08-29 | 2014-08-29 | Punch card method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104376340A true CN104376340A (en) | 2015-02-25 |
CN104376340B CN104376340B (en) | 2016-06-22 |
Family
ID=52555236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410438541.2A Active CN104376340B (en) | 2014-08-29 | 2014-08-29 | Punch card method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104376340B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104952117A (en) * | 2015-02-28 | 2015-09-30 | 山东紫光比威网络技术有限公司 | Attendance management method |
CN105225283A (en) * | 2015-10-08 | 2016-01-06 | 杨川林 | Based on the signing in method of wireless router and mobile phone |
CN105243696A (en) * | 2015-10-10 | 2016-01-13 | 中国民生银行股份有限公司 | Intelligent attendance checking detection method and device |
CN106023327A (en) * | 2016-05-06 | 2016-10-12 | 成都新橙北斗智联有限公司 | Single reporting enter and exit card punching system and method based on wireless technology |
CN107146294A (en) * | 2017-04-13 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Register method, apparatus and system |
CN107277245A (en) * | 2017-06-15 | 2017-10-20 | 深圳天珑无线科技有限公司 | Check card based reminding method and device |
CN107657672A (en) * | 2017-09-27 | 2018-02-02 | 风变科技(深圳)有限公司 | User registers method, apparatus, system and storage medium |
CN108882207A (en) * | 2017-05-08 | 2018-11-23 | 阿里巴巴集团控股有限公司 | The implementation method and device of near field Trigger Function |
CN109102581A (en) * | 2018-08-22 | 2018-12-28 | 亮风台(云南)人工智能有限公司 | A kind of punch card method, device, system and storage medium |
CN109409814A (en) * | 2017-08-17 | 2019-03-01 | 新颖数位文创股份有限公司 | attendance system and attendance recording method |
CN111047729A (en) * | 2019-12-30 | 2020-04-21 | 重庆能工科技发展有限公司 | Attendance system and method based on intelligent access control |
CN111510850A (en) * | 2020-03-11 | 2020-08-07 | 深圳易马达科技有限公司 | Method and system for judging parking area |
CN116935504A (en) * | 2023-07-10 | 2023-10-24 | 荣耀终端有限公司 | Card punching method, electronic device and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103426209A (en) * | 2012-05-19 | 2013-12-04 | 陈建明 | Method and system for automatic attendance |
CN103886648A (en) * | 2014-03-11 | 2014-06-25 | 庄南庆 | Attendance system based on WIFI (Wireless Fidelity) signals of cell phone |
-
2014
- 2014-08-29 CN CN201410438541.2A patent/CN104376340B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103426209A (en) * | 2012-05-19 | 2013-12-04 | 陈建明 | Method and system for automatic attendance |
CN103886648A (en) * | 2014-03-11 | 2014-06-25 | 庄南庆 | Attendance system based on WIFI (Wireless Fidelity) signals of cell phone |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104952117B (en) * | 2015-02-28 | 2018-04-20 | 山东紫光比威网络技术有限公司 | A kind of attendance management method |
CN104952117A (en) * | 2015-02-28 | 2015-09-30 | 山东紫光比威网络技术有限公司 | Attendance management method |
CN105225283A (en) * | 2015-10-08 | 2016-01-06 | 杨川林 | Based on the signing in method of wireless router and mobile phone |
CN105243696A (en) * | 2015-10-10 | 2016-01-13 | 中国民生银行股份有限公司 | Intelligent attendance checking detection method and device |
CN106023327A (en) * | 2016-05-06 | 2016-10-12 | 成都新橙北斗智联有限公司 | Single reporting enter and exit card punching system and method based on wireless technology |
CN107146294A (en) * | 2017-04-13 | 2017-09-08 | 腾讯科技(深圳)有限公司 | Register method, apparatus and system |
CN107146294B (en) * | 2017-04-13 | 2018-10-19 | 腾讯科技(深圳)有限公司 | Method, apparatus of registering and system |
CN108882207A (en) * | 2017-05-08 | 2018-11-23 | 阿里巴巴集团控股有限公司 | The implementation method and device of near field Trigger Function |
CN107277245A (en) * | 2017-06-15 | 2017-10-20 | 深圳天珑无线科技有限公司 | Check card based reminding method and device |
CN109409814A (en) * | 2017-08-17 | 2019-03-01 | 新颖数位文创股份有限公司 | attendance system and attendance recording method |
CN107657672A (en) * | 2017-09-27 | 2018-02-02 | 风变科技(深圳)有限公司 | User registers method, apparatus, system and storage medium |
CN109102581A (en) * | 2018-08-22 | 2018-12-28 | 亮风台(云南)人工智能有限公司 | A kind of punch card method, device, system and storage medium |
CN111047729A (en) * | 2019-12-30 | 2020-04-21 | 重庆能工科技发展有限公司 | Attendance system and method based on intelligent access control |
CN111510850A (en) * | 2020-03-11 | 2020-08-07 | 深圳易马达科技有限公司 | Method and system for judging parking area |
CN116935504A (en) * | 2023-07-10 | 2023-10-24 | 荣耀终端有限公司 | Card punching method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104376340B (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104376340A (en) | Clock punching method and device | |
CN104113782A (en) | Video-based sign-in method, terminal, server and system | |
CN106557402B (en) | Mobile terminal and exception information processing method | |
CN104516812A (en) | Method and device for testing software | |
CN103559516A (en) | NFC data transmission method, terminal equipment and server | |
CN104468463A (en) | Verification method, verification device and verification system | |
CN106331370A (en) | Data transmission method and terminal device | |
CN109634990B (en) | Information processing method and system, electronic device, computer-readable storage medium | |
CN104159136A (en) | Interaction information acquisition method, terminal, server and system | |
CN104093123A (en) | Application program information pushing method, device and system and mobile terminal | |
CN103544510A (en) | Information processing method, information processing device and mobile terminal | |
CN104407804A (en) | Screen capturing method and screen capturing device as well as electronic device | |
CN105898606A (en) | Voting method, device and system | |
CN107391198A (en) | Method for scheduling task and device, computer-readable recording medium, mobile terminal | |
CN103593049A (en) | Method, device and terminal device for processing reminding message | |
CN103399705A (en) | Method, device and equipment for remotely controlling terminal equipment | |
CN106033467A (en) | Image file sharing method and device | |
CN103714316A (en) | Image identification method, device and electronic equipment | |
CN104104656A (en) | Account retrieving method and device | |
CN109151949A (en) | Block method, mobile terminal and the storage medium of access abnormal network cell | |
EP2866187B1 (en) | Method, apparatus, and terminal device for transmitting NFC data | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN103383701A (en) | Information retrieving method, device and terminal | |
CN103546632A (en) | Method and device for alarm ringing of mobile terminal and mobile terminal | |
CN104133752A (en) | Monitoring method and monitoring device of operating platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |