CN100583166C - Work attendance management system based on mobile terminal and realizing method thereof - Google Patents

Work attendance management system based on mobile terminal and realizing method thereof Download PDF

Info

Publication number
CN100583166C
CN100583166C CN200710118562A CN200710118562A CN100583166C CN 100583166 C CN100583166 C CN 100583166C CN 200710118562 A CN200710118562 A CN 200710118562A CN 200710118562 A CN200710118562 A CN 200710118562A CN 100583166 C CN100583166 C CN 100583166C
Authority
CN
China
Prior art keywords
portable terminal
location
information
attendance
search
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.)
Expired - Fee Related
Application number
CN200710118562A
Other languages
Chinese (zh)
Other versions
CN101082996A (en
Inventor
张玉洁
孟祥武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN200710118562A priority Critical patent/CN100583166C/en
Publication of CN101082996A publication Critical patent/CN101082996A/en
Application granted granted Critical
Publication of CN100583166C publication Critical patent/CN100583166C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an attendance managing method based on mobile terminal, which comprises the following steps: setting relative information of attendance management; locating the mobile terminal according to the trigger regulation in the relative information; writing the locating result in the locating result list of database; setting the searching scope and pattern according to the relative information; searching the mobile terminal with successful location; writing the searched result in the searching result list of database; generating the attendance information list according to the searching result. The invention also provides an attendance managing system based on the method, which comprises the following parts: database, user enrolling mode, information managing mode, system allocating mode, inquiry mode, attendance information generating mode, statistical mode, master control mode and locating information processing mode, wherein each mode connects master control mode and database. The invention can locate staff timely to do periodical location for one failure located mobile terminal, which has high data exchange speed and precise and reliable property.

Description

Work attendance management system and its implementation based on portable terminal
Technical field
The present invention relates to the electronic attendance administrative skill, particularly a kind of Work attendance management system and its implementation based on portable terminal.
Background technology
Attendance management is the important step that enterprises and institutions manage, and strengthens attendance management, and serious system of attendance is to do the prerequisite and the guarantee of every management work well.Scientifically manage work attendance and can guarantee that not only every governing plan is implemented, and help improving work and study efficient.For a long time, a lot of units follow manual type and carry out attendance management, and these units all are provided with the personnel that are responsible for work attendance specially, are responsible for manual registration or all employees' of statistical unit attendance record.This traditional work attendance mode work is numerous and diverse, and the statistical work amount of work attendance every day is very big, is difficult to not only guarantee that the accurate of data with in real time, is difficult to the attendance management exactly of realization science, and can increases a large amount of handling costs.
Along with development of electronic technology, the Time Attendance Device of electronic work attendance mechanism has appearred much being used to realize, such as punched-card machine, fingerprint attendance machine etc., these electronic attendance systems are manually checked card by the employee, adopt each employee's of computer record the work attendance time, but this electron-like attendance checking system mostly can only be provided with limited timing point, can't satisfy the needs of work attendance at any time, can not do to be provided with flexibly to work attendance, in case mechanical disorder has just lost effect.And, common electronics card work attendance, phenomenon such as may occur replacing checking card like this, has just lost the meaning of work attendance.In addition, common electronic attendance system function singleness only can write down the situation of turning out for work, and if desired the situation of turning out for work is added up, is utilized once more, also needs artificial or other specific software are calculated.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of Work attendance management system based on portable terminal, repeatedly work attendance in real time, and can add up employee's attendance data.
Fundamental purpose of the present invention is to provide a kind of attendance management implementation method based on portable terminal, can realize time work attendance in real time arbitrarily, and can add up employee's attendance data.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of Work attendance management system based on portable terminal comprises:
Database is used for storage system configuration information and various data;
User log-in block is used to provide human-computer interaction interface;
Information management module is used for managing staff information, system user information;
The system configuration module is used to finish the various parameter settings of system;
Enquiry module is used to check attendance record;
The work attendance information generating module is used to calculate each portable terminal attendance record on the same day;
Statistical module is used for each portable terminal is irregularly write down statistics;
Top control module is responsible for calling all modules;
Described system also comprises:
The locating information processing module is used to obtain the positional information of portable terminal, and carries out work attendance according to the positional information of the portable terminal that obtains and handle;
Each module all connects top control module and database.
Described locating information processing module further comprises: location implementation sub-module and range searching submodule;
The location implementation sub-module is used to receive Location Request, calls locating interface and positions, and positioning result is stored in the database;
The range searching submodule takes out the locator data of the successful portable terminal in location from database, and judges that this portable terminal is whether in the scope of setting.
Described locating information processing module also comprises GIS map submodule, has location-based GIS service, and the position display of the portable terminal that is used for will being positioned after locating successfully is at numerical map.
A kind of attendance management method based on portable terminal is provided with the relevant information of attendance management, and this method is further comprising the steps of:
A, portable terminal is located, and positioning result is write in the positioning result table of database according to the triggering rule that is provided with in the described relevant information;
B, according to hunting zone that is provided with in the described relevant information and mode, the portable terminal that search location is successful, and Search Results being write in the search result table of database;
C, according to Search Results, generate the work attendance information table.
Set attendance management relevant information includes but not limited to: positional parameter, orientation triggering rule, locate successfully triggering rule, Search Results list structure, hunting zone, work attendance rule, user profile, triggered time, work attendance information table, error message, automatic cycle location condition, the automatic cycle locating rule of showing, locate failure table, search utility.
This method further comprises: among the step B, system is to before locating successful portable terminal and searching for automatically, and the setting search stand-by period, in the search stand-by period, if not operation of user, then system enters automatic search; If the user postpones, cancels operation to range searching, then carry out institute's selection operation.
This method also comprises: need to judge whether the record of cycle location,
If have, then the portable terminal that needs the cycle location is carried out the automatic cycle location, until arriving regulation circulation location number of times or locating successfully, the system prompt user finishes the automatic cycle location, for the successful portable terminal in location, execution in step B for the portable terminal of location failure, writes location failure table with it;
If no, then do not deal with.
This method also comprises: the historical record that shows the portable terminal location of being stored according to querying condition.
Described triggering rule is: by sending the Location Request manual triggers; Or trigger automatically by system by setting the triggered time.
Described range searching is the border circular areas search; Described border circular areas search further comprises:
B11, determine the scope of border circular areas by setting home position and radius;
B12, calculate portable terminal to distance of center circle from;
Whether the described distance that B13, determining step B12 calculate greater than radius, if greater than, then portable terminal is not in border circular areas, otherwise portable terminal is in border circular areas;
Perhaps, described range searching is the polygonal region search; Described polygonal region search further may further comprise the steps:
B21, mistake portable terminal position point are done a ray to x axle positive dirction;
B22, definite institute's ray of doing and polygon intersection point number, if institute's ray of doing and polygon have the odd number intersection point, then this location point is in polygonal region; If the even number intersection point, then this location point is outside polygonal region.
Work attendance management system and its implementation based on portable terminal provided by the present invention have the following advantages and characteristics:
1) the present invention uses portable terminal location technology and range searching algorithm, can go out customer location according to the position real-time positioning of customer mobile terminal, and further calculate various attendance datas, generate statistical report form, for managerial personnel provide reference,, make when managerial personnel need because of its position that can locate the employee at any time, can obtain the information of turning out for work timely, avoid the phenomenon of checking card for the people in the common system of checking card.
2) the present invention is based on the location technology of portable terminal, use communication network, can spot-check personnel's the situation of turning out for work at any time, remedy the deficiency of fixed point work attendance, and when network failure, can periodically send request, normal up to network recovery, avoid common electronic attendance management system, adopted the trouble of manual record owing to fault.
3) the invention provides the various software interface, exchanges data speed height accurately and reliably, is convenient to the use to attendance data.
Description of drawings
Fig. 1 is a system schematic of the present invention;
Fig. 2 Work attendance management system functional structure chart of the present invention;
Fig. 3 is the process flow diagram of the method for the invention;
Fig. 4 is border circular areas search routine figure of the present invention;
Fig. 5 is polygonal region search routine figure of the present invention;
Fig. 6 is an automatic cycle fixed-position searching process flow diagram of the present invention;
Fig. 7 is position history record playback process flow diagram of the present invention.
Embodiment
Basic thought of the present invention is: by portable terminal and the Geographic Information System (GIS that provides thereof, Geographic information system) function, need the employee's of work attendance position to carry out real-time positioning to each, determine this employee whether in the workspace according to positioning result, thereby reach the purpose of real-time each staff attendant of judgement.
As shown in Figure 1, frame of broken lines partly is a system of the present invention among Fig. 1, it comprises Work attendance management system server that Work attendance management system disposes, service provider's (SP, Service Provider) location SP, the GIS server that is connected with Work attendance management system by the internet, the portable terminal with positioning function; Between the location gateway of this location SP and Work attendance management system server, carrier network all by Internet connection, make system of the present invention send mobile phone, the personal digital assistant (PAD of Location Request support location by the Work attendance management system server, Personal Digital Assistant), vehicle positioning equipment etc. is the portable terminal that system of the present invention will locate, the system manager can carry out attendance management by the client PC login system at Work attendance management system place.
The functional structure of Work attendance management system of the present invention as shown in Figure 2, Work attendance management system comprises top control module 201, user log-in block 202, information management module 203, system configuration module 204, locating information processing module 205, enquiry module 206, work attendance information generating module 207 and statistical module 208.Wherein, top control module 201 connects each module, is responsible for calling each module; Work attendance management system also comprises the database that is used for storage system configuration information and various data, and is not shown among Fig. 2.The function of each module is as follows in the Work attendance management system:
User log-in block 202 is used to provide human-computer interaction interface, and the user inputs information registration Work attendance management systems such as user name, password by this page, judge whether to be validated user by system.For different users, system provides different authorities, so that the difference in functionality that user's using system is provided.Such as: the user who has can only check relevant work attendance information, can not carry out system configuration and positioning function; The user who has has whole authorities, as the system manager.
Information management module 203 comprises two submodules: employee information management submodule and subscriber information management submodule, and not shown among Fig. 2.Employee information management submodule is used to carry out the operations such as increase, deletion, modification, inquiry of employee's essential information; The subscriber information management submodule is used for the operation such as establishment, user right modification, system user deletion of system user.
System configuration module 204, have the user who disposes authority and carry out various parameter configuration, as: mobile terminal number, work attendance rule, core work time period, vacation, the time of asking for leave, user profile, locator meams, positional parameter, range searching mode etc. are configured, and configuration result is kept in the database.
Locating information processing module 205 is used to accept user's Location Request, obtains the positional information of portable terminal, and carries out work attendance according to the positional information of the portable terminal that obtains and handle.
Enquiry module 206 is used to inquire about specifies portable terminal, the attendance record of fixed time, comprises the design that makes mistakes, such as: if the time of input is format error, then point out the user to re-enter; If can not find the address name of input, then point out this user not exist.
Work attendance information generating module 207 is used for reading each portable terminal attendance record on the same day from the table of database, and according to the work attendance rule, generates everyone attendance data, as be late, leave early, information such as absence from work without reason; Relevant information, the situation of turning out for work of mobile phone users are write the work attendance information table, be stored in the database of system.The work attendance information table comprises the information such as the situation of turning out for work of portable terminal number, employee's name, work date, each working time section, as shown in Table 1:
Sequence number Attribute-name Data type Length Describe
1 Mobile_number Character string 11 Portable terminal number
2 Employee_name Character type 8 Name
3 Work_data Time type 3 The work date
4 Work_time1_duty Character type 8 The section situation of turning out for work the working time in the morning
5 Work_time2_duty Character type 8 The section situation of turning out for work the working time in the afternoon
Table one
Statistical module 208 is used for each portable terminal is irregularly write down statistics, and has report form statistics and printing function, can be by sky, month statistics personnel being late of (or someone), leave early, the situation of turning out for work such as absence from work without reason.
Locating information processing module 205 further comprises location implementation sub-module 205a, range searching submodule 205b and GIS map submodule 205c.
Location implementation sub-module 205a, reception user's Location Request, the locating interface that calling location SP provides positions, and then positioning result is deposited in the positioning result table of database.Specifically, if locate successfully, then locate implementation sub-module 205a and will locate the longitude of successful portable terminal and latitude and write the location and successfully show; If location failure, system provides information, and the information that will locate failure writes in the location failure table, in order to inquiring about.Locate successfully table or location failure table and mainly comprise the locating information of portable terminal, as follows, table two is to locate successfully table, and table three is location failure tables.
Sequence number Attribute-name Data type Length Describe
1 Mobile_number Character string 11 Portable terminal number
2 Location_data The date type 3 The location date
3 Location_time Time type 3 Positioning time
4 Long Floating type 20 Longitude
5 Lat Floating type 20 Latitude
Table two
Sequence number Attribute-name Data type Length Describe
1 Mobile_number Character string 11 Portable terminal number
2 Location_data The date type 3 The location date
3 Location_time Time type 3 Positioning time
Table three
In addition, after finished the location, location implementation sub-module 205a provided information, as: information such as failure are finished, located successfully, locate in the location.The term of execution of the location, location implementation sub-module 205a can not accept new Location Request again, if there is the user to select positioning function, system provides the disabled information of location execution function this moment, after Location Request when formerly was performed and finishes, this function was available again.
Range searching submodule 205b accepts the user scope searching request, takes out the positional information at successful portable terminal place, location from database, searches this portable terminal whether in the scope of setting.
GIS map submodule 205c has location-based GIS service, and the position display of the portable terminal that is used for will being positioned after locating successfully is at numerical map.According to this function, Work attendance management system can such as the search of carrying out specified requirements on numerical map, obtain the information of Search Results etc. according to this positional information for user's service.This submodule also has position history record playback function, this function on numerical map according to the position the record of previous practical position time interval playback explicit user, the positioning track that shows the equipment that is positioned, this function are specially adapted to the frequent positioning equipment that moves, as vehicle positioning equipment.The user only need import start time, concluding time and want the number of the positioning equipment of playback can be from database reading corresponding data and on numerical map playback show; Position history record playback function is also supported to carry out playback according to the time interval of setting in the system configuration, and like this, user's operation is more flexible.
Software environment of the present invention includes but not limited to: client rs PC operating system adopts Windows XPHome/Professional Edition; The server side operation system adopts Solaris 5.9; Application server is WebLogic Server 8.1; Database adopts Mysql Ver 14.12 Distrib 5.0.18, for sun-solaris2.9 (sparc) using readline 5.0; The GIS server software adopts MapInfo MapXtreme (R) JavaEdition (TM) 4.5.0 server.
Based on Work attendance management system shown in Figure 2, the attendance management method that the present invention is based on portable terminal may further comprise the steps as shown in Figure 3:
Step 301: the relevant information of setting attendance management.
Here, described relevant information includes but not limited to: the information of the information of the information that user profile, positional parameter, the triggering rule of fixed-position searching program, triggered time, hunting zone, location are successfully shown, location failure table, the information of search result table, work attendance information table, work attendance rule, error message, automatic cycle location condition, automatic search rule or the like.
Wherein, user profile further comprises managerial personnel, by work attendance personnel's information, to distinguish the different personnel of login system; Positional parameter comprises the number, longitude and latitude data of portable terminal, positioning time, last automatic positioning time, the cycle of automatic cycle location, the number of times of automatic cycle location, the number of times of range searching automatically first; The triggering rule of location executive routine refers to automatic triggering, manual triggers; Triggered time can be provided with a plurality of; The hunting zone is used for determining the zone of work attendance, needs to set corresponding scope according to different search utilities; Positioning result table record system is to the positioning result of the each location of each portable terminal, so that according to the work attendance rule corresponding personnel are handled; The work attendance information table writes down the situation of the each work attendance of each portable terminal; The work attendance rule is set work attendance time, core work time, vacation, the item of asking for leave, the processing record that is not positioned at the appointed time, automatic locating periodically, location number of times or the like according to different needs; Error message is meant keeper's login system, system prompt information during the querying condition input error; The automatic cycle location condition is meant according to the work attendance rule, to the location failure or not in the hunting zone portable terminal need enter the automatic cycle localization process; Automatically search rule is to set automatic cycle of searching for, number of times or the like.
Step 302: according to the triggering rule of setting in step 301 relevant information portable terminal is located, and the record positioning result.Here, described record is that positioning result is write the positioning result table.
Triggering mode described in this step has two kinds: trigger automatically and manual triggers, use wherein one or both according to different demands.The so-called triggering automatically is meant: the time of setting the triggered location search in step 301, when arriving this time, the fixed-position searching program will be moved automatically, system sends Location Request to the cordless communication network that the telecom operators of portable terminal provide, obtain the positional information of portable terminal, i.e. the latitude and longitude coordinates data.So-called manual triggers is meant: when needed, the user sends the information of mobile terminal that needs search to the Work attendance management system server, and to start the fixed-position searching program, detailed process is with trigger process is identical automatically.
After the finder operation, portable terminal is positioned with two kinds of results: locate successfully or locate failure.If locate successfully, then positioning result is write the location and successfully show.If the location failure writes location failure table with positioning result.
Step 303: according to hunting zone that is provided with in the described relevant information and mode, the portable terminal that the search location is successful, and Search Results is write in the search result table of database.
For the successful portable terminal in location, the user can start at any time or setting-up time starts the range searching program, checks that the successful portable terminal in certain location is whether in the perform region, with acquisition employee's work attendance situation.Search result table mainly comprises the information and the Search Results of portable terminal, as shown in Table 4:
Sequence number Attribute-name Data type Length Describe
1 Mobile_number Character string 11 Portable terminal number
2 Search_data The date type 3 Search date
3 Search_time Time type 3 Search time
4 Search_result Boolean type 1 Whether in the scope of appointment
Table four
Step 304:, generate the work attendance information table according to Search Results.
According to the result of range searching, system generates the staff's of portable terminal correspondence work attendance information table, is stored in the database, finishes attendance record once.
The described range searching of step 303 has border circular areas and polygonal region dual mode, and the user can select according to the characteristics of self Administrative Area.To set forth the process of two kinds of range searchings respectively below:
For border circular areas, range searching mainly is to judge tested point whether in circle, can by tested point to distance of center circle from radius relatively come to determine.Here, described tested point is exactly the position at the portable terminal place of being located.Detailed process is as shown in Figure 4:
Step 401: determine the center of circle coordinate (x, y), radius r, (a b), determines the hunting zone by the center of circle and radius to the tested point coordinate, and tested point is a portable terminal, and described coordinate is a latitude and longitude value;
Step 402: calculate the distance D of the center of circle to tested point, D = ( x - a ) 2 - ( y - b ) 2 ;
Step 403: compare the value of D and r, if D>r illustrates that tested point is not in border circular areas; If D<=r illustrates tested point in border circular areas, then the Search Results with tested point writes search result table.Operations such as the user can browse this table, inquires about, printing.
For polygonal region, range searching mainly is to judge that tested point whether in polygon, can do a ray to x axle positive dirction by tested point, if this ray and polygon have the odd number intersection point, then this is in polygon; If with polygonal intersection point be even number, then this tested point is outside polygon.Here, described tested point is exactly the position at the portable terminal place of being located.
Since in the practical application, the situation more complicated of polygonal region, and some situation needs special consideration:
Situation 1) when this point is on polygonal certain limit, thinks in multiform;
Situation 2) if ray is crossed polygonal summit, when two limits all on ray, and their public vertex then calculates twice on ray;
Situation 3),, do not calculate when two limits all are positioned at below the ray if ray is crossed polygonal summit;
Situation 4) if ray is crossed polygonal summit, when a limit is positioned on the ray, another is positioned under the ray, then calculates once;
Situation 5) if a polygonal limit overlaps the calculation of ignoring with ray.
Detailed process is as shown in Figure 5:
Step 501: determine polygon vertex, tested point coordinate.
Can adopt array p[i] each apex coordinate of storage polygon; Adopt array q[i] storage tested point coordinate.Import polygonal summit p[i by clockwise or counterclockwise order] coordinate (x, y), (n>i 〉=0), tested point q coordinate (a, b), polygon vertex is from p[0] to p[n-1], p[i in the algorithm] .x is meant the horizontal ordinate on polygonal i summit, p[i] .y is meant the ordinate on polygonal i summit;
Step 502: initializing variable.
Make i=0, j=n-1, count=0 is provided with variable i, j, and to travel through each tested point, the number of tested point is n, and variable count is used to calculate ray and the polygon intersection point number that this tested point is crossed x axle forward;
Step 503: judge whether to travel through all limits of polygon.
If i=n illustrates to travel through polygonal all limits that then execution in step 508; If i ≠ n illustrates that polygon also has the limit not traveled through, then execution in step 504;
Step 504: judge that tested point is whether on polygonal limit.
If ((q.x-p[i] .x) * (q.x-p[j] .x)<0) ﹠amp; ﹠amp; ((q.y-p[i] .y) * (q.y-p[j] .y)<0) ﹠amp; ﹠amp; (((q.x-p[i] .x) * (p[i] .y-p[j] .y)-(q.y-p[i] .y) * (p[i] .x-p[j] .x))=0), then put q at line segment p[i] p[j] on, line segment p[i] p[j] be a polygonal limit, according to special circumstances (1), think that q is in scope, be tested point in polygonal region, then the Search Results with tested point writes search result table, execution in step 509; If do not satisfy following formula, then execution in step 505;
Step 505: judge that whether tested point is at line segment p[i] p[j] the upper left side.
If b<p[j] .y, p[i] .y<=b, be p[j] point q order above, p[i] put parallel with the q point or below the q point and (b-p[i] .y) * (p[j] .x-p[i] .x)>(p.x-p[i] .x) * (p[j] .y-p[i] .y), promptly put q at line segment p[i] p[j] the left side, then tested point and line segment p[i] p[j] intersection point, count=count+1, execution in step 507 arranged, if do not satisfy above-mentioned condition, then execution in step 506;
Step 506: judge that whether tested point is at line segment p[i] p[j] the lower left.
If b<p[i] .y, p[j] .y<=b, i.e. p[i] point q order above, p[j] point is parallel with q point or below the q point, and put q at line segment p[i] p[j] the left side, determination methods is with step 505, count=count+1 then, no matter whether the q point coordinate satisfies above-mentioned condition, all execution in step 507;
Step 507: get polygonal next bar limit.
J=i, i=i+1, execution in step 503 judges that the position on tested point and next bar limit of polygon concerns;
Step 508: record and indication range Search Results.
Judge the parity of count, if count is an odd number, promptly tested point is in polygonal region, and then the Search Results with tested point writes search result table; If count is an even number, promptly tested point is not in polygonal region, and then the Search Results with tested point writes search result table.Operations such as the user can browse this table, inquires about, printing, afterwards, execution in step 509;
Step 509: end range search.
For Administrative Area a plurality of situations is arranged, can divide and call different search utilities several times and finish.
For the situation of portable terminal location failure,, this portable terminal is carried out the automatic cycle location according to the relevant information that step 301 is set.So-called automatic cycle location is exactly: according to cycle and the maximum search number of times set, this portable terminal is located the process of the line range search of going forward side by side in the perform region, as shown in Figure 6, may further comprise the steps:
Step 601: timing, wait for that locating periodically arrives;
Step 602: judge whether to arrive the locating periodically of setting,, then return step 601 and continue the timing wait if do not arrive.If arrive the locating periodically of setting, then enter step 603; The Cycle Length of described locating periodically preestablishes in step 301 as required.
Step 603: judge whether to reach the circulation location number of times of setting,, then enter step 604 if do not reach; If reach the circulation location number of times of setting, then enter step 605.
Step 604: identical with step 302 to the portable terminal location that satisfies condition as for how to locate, enter step 606 then;
Step 605: reach the circulation location number of times of setting, the limit of automatic cycle location has been described, then no longer continue circulation, system sends information, will locate relevant information and write location failure table, and enter step 609;
Step 606: judge whether the location is successful; If success then enters step 607; If the location failure writes location failure table with positioning result, return step 602;
Step 607: judge that oriented portable terminal whether in the perform region, promptly carries out range searching to this portable terminal, if, the Search Results of portable terminal is write search result table, enter step 609; If do not exist, then enter step 608;
Step 608: judge whether to arrive the searching times of setting,, then searching times is added 1, return step 602 if do not have; If arrived set point number, then enter step 609;
Step 609: finish the automatic cycle location.
The user passes through query search table as a result, just can learn relevant portable terminal counterpart personnel's work attendance situation.In addition, in step 607, for the successful portable terminal in location, whether entry range is searched for, and system can provide information, and the user can select to postpone or the cancellation range searching, if the user does not do any operation, then system carries out range searching automatically.In addition, the present invention also has the position history record playback function that shows the historical record of the portable terminal location of being stored according to querying condition, and this function is divided into two kinds according to user's demand:
1) according to real positioning time of playback at interval, according to after the each positioning action success to the user before, the mobile terminal number that comprises in the position the record, longitude and latitude and positioning time information, come on map, to show successively the position of portable terminal at interval according to the original time of position the record.
2) according to the quick playback of the time of default, the user can browse the position the record in this time period apace, and do not consider the real time interval, the time of setting during according to system configuration is recorded in playback on the numerical map to the position history of certain portable terminal in certain time period fast, in two kinds of replayed sections, use per family abort playback at any time.
The historical record of portable terminal location is exactly the search result table that leaves in the database, when using position history record playback function, at first need from database, to obtain all position the records according to the playback duration section of user's appointment and the number of portable terminal, select location playback mode, the playback historical track of equipment that is positioned on numerical map.According to real positioning time at interval playback position history record concrete steps as shown in Figure 7:
Step 701: in man-machine interface input inquiry condition.
The human-computer interaction interface of user log-in block adopts the Java page (JSP), the querying conditions such as number of zero-time, concluding time and the equipment of the portable terminal position the record that user's input will be inquired about; Whether can use java script that initial conditions is checked in the JSP page, be empty, and whether zero-time is later than the concluding time etc. such as the number of importing.
Step 702: Business Logic calls the position history record interface.
System of the present invention adopts professional presentation layer, Business Logic and data access layer, and wherein, professional presentation layer is mainly accepted user's request, and the returning of data, and the visit of application program is provided for client; Business Logic mainly is the operation of system to data Layer; Data Layer is mainly to each concrete operations to the data file.After Business Logic was obtained querying condition, the remote interface of the Java of enterprise handle (EJB, Enterprise Java Bean) that calls the inquiring user position history record of Business Logic obtained satisfactory all position history records.
In Business Logic, with trustship container type persistence (CMP, Container ManagedPersistence) mode is done mapping to the table of preserving user's position history record in the database, and in its this locality (Home) inquiry of interface definition (find) method, this method can obtain all position the records of this number in certain time period according to start time, the concluding time of position the record and the mobile device number that will inquire about.Then, in Business Logic, adopt meeting subject for ridicule (Session Bean) to call the implementation of entity handle (EntityBean), provide the remote interface of a Session Bean to professional presentation layer, inquired about obtaining satisfactory all position history records.
Step 703: professional presentation layer has judged whether qualified position history record.If no, then return step 701, give JSP page prompts information; If have, then carry out step 704.
Step 704: start a location playback thread at professional presentation layer, import all position history records that inquire into this thread.Define a circulation in this thread and shown position the record.
Step 705: judge that in location playback thread whether the sum of record is greater than 1.If not, mean and have only a position the record or this to be the last item position history record, then enter step 706; If the sum of record then enters step 707 greater than 1.
Step 706: the longitude and the latitude information of taking out this position the record, call the interface that GIS ground module shows the position location again, on numerical map, show the historical position of the portable terminal that is positioned, owing to have only a position history record this moment, after demonstration finishes, enter step 711.
Step 707: take out adjacent two position the records, import the longitude and the latitude information of last position the record into interface that GIS ground module shows mobile terminal locations then, enter step 708;
Step 708: on numerical map, show the position of the portable terminal that is positioned, enter step 709.
Step 709: with this thread dormancy, the time of dormancy is the mistiming of adjacent two position the records of taking out previously, do like this be for time interval of guaranteeing playback the time interval during with first prelocalization consistent, enter step 710 then.
Step 710: after the thread dormancy finishes, the sum of position the record is subtracted 1, return step 704.
Step 711: finish location playback thread, enter step 712.
Step 712: judge whether normal termination playback thread, if, enter step 713, if not, enter step 714.
Step 713: be designated normal termination location playback, the location playback of the prompting JSP page finishes execution in step 714.
Step 714: the playback of position history record finishes.
In the process of replaying user position history record, the user can end to locate playback at any time by top control module, directly finishes location playback thread this moment, and this situation is designated improper end location playback, does not need to provide information.
In the process that realizes user's position history record playback function, taked to start the mode of a thread and this thread of dormancy, the time interval cardinal principle of the time interval that guarantees playback during with first prelocalization is consistent.This implementation can not guarantee time interval entirely accurate, owing to reasons such as interface interchange time can only guarantee roughly accurate.The fast playback if seek quickness then only needs after obtaining all qualified position the records, gets final product according to the described thread of Fixed Time Interval dormancy of default, and does not need to do mistiming computing between adjacent two records.All designed manually and automatic dual mode before the range searching step of the present invention behind orientation triggering, range searching triggering, automatic cycle location, purpose is user friendly selection, for the user who does not think manually to select, system of the present invention can be designed to automatic flow with above link, thereby improves the efficient of Work attendance management system.For the work attendance information table that generates, the user can be as required, per diem, operations such as month, year browse, inquire about, printing, makes things convenient for personnel management.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (5)

1, a kind of Work attendance management system based on portable terminal comprises:
Database is used for storage system configuration information and various data;
User log-in block is used to provide human-computer interaction interface;
Information management module is used for managing staff information, system user information;
The system configuration module is used to finish the various parameter settings of system;
Enquiry module is used to check attendance record;
The work attendance information generating module is used to calculate each portable terminal attendance record on the same day;
Statistical module is used for each portable terminal is irregularly write down statistics;
Top control module is responsible for calling all modules;
It is characterized in that described system also comprises:
The locating information processing module is used to obtain the positional information of portable terminal, and carries out work attendance according to the positional information of the portable terminal that obtains and handle; Described locating information processing module comprises: location implementation sub-module and range searching submodule; The location implementation sub-module is used to receive Location Request, calls locating interface and positions, and positioning result is stored in the database; The range searching submodule takes out the locator data of the successful portable terminal in location from database, and judges that this portable terminal is whether in the scope of setting; Described locating information processing module also comprises GIS map submodule, has location-based GIS service, and the position display of the portable terminal that is used for will being positioned after locating successfully is at numerical map;
Each module all connects top control module and database;
Described portable terminal is meant the portable terminal with positioning function;
The positional information of described portable terminal is that the cordless communication network that the telecom operators by portable terminal provide provides.
2, a kind of attendance management method based on portable terminal, it is characterized in that, the relevant information of attendance management is set, and the relevant information of described attendance management comprises: positional parameter, orientation triggering rule, locate successfully triggering rule, Search Results list structure, hunting zone, work attendance rule, user profile, triggered time, work attendance information table, error message, automatic cycle location condition or the automatic cycle locating rule of showing, locate failure table, search utility; This method is further comprising the steps of:
A, portable terminal is located, and positioning result is write in the positioning result table of database according to the triggering rule that is provided with in the described relevant information;
B, according to hunting zone that is provided with in the described relevant information and mode, the portable terminal that search location is successful, and Search Results being write in the search result table of database; System is to before locating successful portable terminal and searching for automatically, and the setting search stand-by period, in the search stand-by period, if not operation of user, then system enters automatic search; If the user postpones, cancels operation to range searching, then carry out institute's selection operation; Described range searching is the border circular areas search; The search of described border circular areas comprises: B11, determine the scope of border circular areas by setting home position and radius; B12, calculate portable terminal to distance of center circle from; Whether the described distance that B13, determining step B12 calculate greater than radius, if greater than, then portable terminal is not in border circular areas, otherwise portable terminal is in border circular areas; Perhaps, described range searching is the polygonal region search; Described polygonal region search may further comprise the steps: B21, mistake portable terminal position point are done a ray to x axle positive dirction; B22, definite institute's ray of doing and polygon intersection point number, if institute's ray of doing and polygon have the odd number intersection point, then this location point is in polygonal region; If the even number intersection point, then this location point is outside polygonal region;
C, according to Search Results, generate the work attendance information table;
Described portable terminal is meant the portable terminal with positioning function;
Described to portable terminal location, be that the cordless communication network that points to the telecom operators of portable terminal and provide sends Location Request, obtain the positional information of portable terminal.
3, attendance management method according to claim 2 is characterized in that, this method also comprises: need to judge whether the record of cycle location,
If have, then the portable terminal that needs the cycle location is carried out the automatic cycle location, until arriving regulation circulation location number of times or locating successfully, the system prompt user finishes the automatic cycle location, for the successful portable terminal in location, execution in step B for the portable terminal of location failure, writes location failure table with it;
If no, then do not deal with.
4, attendance management method according to claim 2 is characterized in that, this method also comprises: the historical record that shows the portable terminal location of being stored according to querying condition.
5, attendance management method according to claim 2 is characterized in that, described triggering rule is: by sending the Location Request manual triggers; Or trigger automatically by system by setting the triggered time.
CN200710118562A 2007-07-09 2007-07-09 Work attendance management system based on mobile terminal and realizing method thereof Expired - Fee Related CN100583166C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710118562A CN100583166C (en) 2007-07-09 2007-07-09 Work attendance management system based on mobile terminal and realizing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710118562A CN100583166C (en) 2007-07-09 2007-07-09 Work attendance management system based on mobile terminal and realizing method thereof

Publications (2)

Publication Number Publication Date
CN101082996A CN101082996A (en) 2007-12-05
CN100583166C true CN100583166C (en) 2010-01-20

Family

ID=38912551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710118562A Expired - Fee Related CN100583166C (en) 2007-07-09 2007-07-09 Work attendance management system based on mobile terminal and realizing method thereof

Country Status (1)

Country Link
CN (1) CN100583166C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258259A (en) * 2013-05-28 2013-08-21 浪潮通信信息系统有限公司 Staff coordinated management method based on positional information technology

Families Citing this family (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794466A (en) * 2010-04-02 2010-08-04 中兴通讯股份有限公司 Electronic check-in method and system
CN101916462A (en) * 2010-07-21 2010-12-15 中兴通讯股份有限公司 Attendance method and system based on wireless interconnection technology
CN102456170A (en) * 2010-10-19 2012-05-16 上海万康无线智能控制系统有限公司 Indoor personnel positioning management system
CN102456235A (en) * 2010-11-02 2012-05-16 中兴通讯股份有限公司 Information processing method and server
CN102708597A (en) * 2012-05-18 2012-10-03 湘潭大学 On-site attendance system
CN102819877B (en) * 2012-08-18 2014-11-05 吴迪 Position-based attendance system and method
CN103716355B (en) * 2012-09-29 2017-04-12 上海云睦网络科技有限公司 Enterprise instant messaging system-based employee distribution system and positioning method thereof
CN103903074B (en) 2012-12-24 2018-10-30 华为技术有限公司 A kind of information processing method and device of video exchange
CN103136807A (en) * 2013-02-07 2013-06-05 方春 Attendance system and attendance method based on location based service (LBS)
CN103337100B (en) * 2013-06-20 2016-09-21 汉王科技股份有限公司 A kind of biological characteristic Work attendance method and mobile device
CN103984470B (en) * 2014-05-29 2017-06-30 中国联合网络通信集团有限公司 icon display method and device
CN104023064B (en) * 2014-06-12 2017-02-22 江苏易合大成网络科技有限公司 Statistical method of working hours of field personnel based on intelligent mobile terminal and activity characteristic analysis
CN104063768A (en) * 2014-07-10 2014-09-24 河南智业科技发展有限公司 Attendance check roll call statistical system
CN104112189A (en) * 2014-07-18 2014-10-22 国家电网公司 Moving track real-time locating tracking method based on geographic information system (GIS) services
CN104157019B (en) * 2014-07-21 2017-06-20 惠州Tcl移动通信有限公司 Method and system of registering based on indoor positioning technologies
CN104183049B (en) * 2014-09-02 2017-11-10 南京铁马信息技术有限公司 A kind of intelligentized gate inhibition's alignment system and its localization method
CN104378366A (en) * 2014-11-05 2015-02-25 康佳集团股份有限公司 Mobile terminal based remote sign-in system and method
CN104361455A (en) * 2014-11-19 2015-02-18 成都实景信息技术有限公司 Enterprise employee information processing method
CN105868826A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Method and device for determination of position relation
CN104866950B (en) * 2015-04-24 2018-03-09 凯拔(中国)科技有限公司 The method that dynamic expansion adaptation realizes work attendance rule during work attendance calculates
CN105426421A (en) * 2015-11-03 2016-03-23 武汉地大信息工程股份有限公司 Tense monitoring data quick visualization method and system
CN107318087A (en) * 2016-04-27 2017-11-03 上海劳勤信息技术有限公司 A kind of method and system being automatically positioned to arrival specified location
CN107517439B (en) * 2016-06-15 2020-07-07 钉钉控股(开曼)有限公司 Mobile attendance processing method, device, equipment and system
CN106408675A (en) * 2016-08-25 2017-02-15 广西小草信息产业有限责任公司 Attendance management system
CN106547829A (en) * 2016-10-10 2017-03-29 福建省够兄弟科技有限公司 A kind of processing method and system of sports data
CN107038763A (en) * 2017-03-28 2017-08-11 石家庄三秒软件科技有限公司 Work attendance alignment system
WO2018223354A1 (en) * 2017-06-09 2018-12-13 深圳市乃斯网络科技有限公司 Positioning-based attendance recording method and system
CN109583824B (en) * 2017-09-29 2022-11-25 腾讯科技(深圳)有限公司 Attendance checking method, system, equipment and computer readable storage medium
CN110198520B (en) * 2018-02-24 2021-05-07 大唐移动通信设备有限公司 Access processing method, device, electronic equipment and storage medium
CN108280235A (en) * 2018-02-28 2018-07-13 上海中信信息发展股份有限公司 The method and apparatus that archives of digital photos is classified and collected automatically
CN108734802A (en) * 2018-05-09 2018-11-02 北京邦邦共赢网络科技有限公司 A kind of method and device for attendance of checking card
CN109102599A (en) * 2018-07-17 2018-12-28 黄月英 Novel access control method based on GIS
CN110159348A (en) * 2019-05-28 2019-08-23 肥城矿业集团梁宝寺能源有限责任公司 Erosion control area personnel security management system and management method
CN110400386A (en) * 2019-07-15 2019-11-01 平安普惠企业管理有限公司 Management method of registering, device, equipment and storage medium based on data visualization
CN111291143A (en) * 2020-01-16 2020-06-16 深圳市华傲数据技术有限公司 Grid data acquisition method and system
CN113256250B (en) * 2021-05-20 2023-04-07 温州华苍电子科技有限公司 Operation support management system for cloud platform of circular weaving machine
CN113254090B (en) * 2021-06-04 2024-05-28 深圳市火乐科技发展有限公司 Application management method and device and projection equipment
CN113821554B (en) * 2021-08-17 2023-10-13 太原市高远时代科技有限公司 Method for realizing heterogeneous database data acquisition
CN115759129A (en) * 2022-09-16 2023-03-07 广州市瑞立德信息系统有限公司 Method, device, storage medium and system for preventing cheating of smart card
CN116452878B (en) * 2023-04-20 2024-02-02 广东工业大学 Attendance checking method and system based on deep learning algorithm and binocular vision

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258259A (en) * 2013-05-28 2013-08-21 浪潮通信信息系统有限公司 Staff coordinated management method based on positional information technology

Also Published As

Publication number Publication date
CN101082996A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
CN100583166C (en) Work attendance management system based on mobile terminal and realizing method thereof
US20180158006A1 (en) Asset data updating
CN103136807A (en) Attendance system and attendance method based on location based service (LBS)
CN103927860A (en) GPS (Global Position System)-positioned meter reading smart handheld machine and meter reading system
CN102137155B (en) Method for handling communication network quality complaints based on customer perception
CN107977820B (en) Intelligent logistics express delivery method
CN105989443A (en) Intelligent-mobile-terminal-based communication line inspection system
CN106920075A (en) A kind of attendance management method based on wechat public number
CN102592439A (en) Method and system for interactively calling taxi nearby by intelligent mobile equipment
CN108846911A (en) A kind of Work attendance method and device
CN111368221A (en) Information providing method, information acquiring method, device, server and storage medium
CN106056318A (en) Service staff work distribution method based on broadband access and system
CN108241953A (en) The method and apparatus of target object monitoring
CN103778504A (en) POS machine operation service system
US10438142B2 (en) Multidiscipline site development and risk assessment process
CN109389358A (en) Project management system and method based on GIS
US20210027239A1 (en) System and method of asset tracking
CN110378765A (en) Exhibitions cloud platform spectators' cloud information processing method and device
CN105023085A (en) City state mobile supervision system and method
EP1366589A2 (en) Method for evaluating activity-based costs of a company
AU2001275926A1 (en) Method for evaluating activity-based costs of a company
CN108898502A (en) Mobile service system is surveyed in a kind of settlement of insurance claim Internet-based
US10939235B1 (en) Dynamic geofence radius
Chen et al. Research on parking lot management system based on parking space navigation technology
US20140032530A1 (en) Project management system with geographic data

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100120

Termination date: 20120709