CN108805512B - Attendance information recording method, equipment and system thereof - Google Patents

Attendance information recording method, equipment and system thereof Download PDF

Info

Publication number
CN108805512B
CN108805512B CN201710308011.XA CN201710308011A CN108805512B CN 108805512 B CN108805512 B CN 108805512B CN 201710308011 A CN201710308011 A CN 201710308011A CN 108805512 B CN108805512 B CN 108805512B
Authority
CN
China
Prior art keywords
attendance
information
user terminal
application
geofence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710308011.XA
Other languages
Chinese (zh)
Other versions
CN108805512A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710308011.XA priority Critical patent/CN108805512B/en
Publication of CN108805512A publication Critical patent/CN108805512A/en
Application granted granted Critical
Publication of CN108805512B publication Critical patent/CN108805512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1091Recording time for administrative or management purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Administration (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses an attendance information recording method, equipment and a system thereof, wherein the method comprises the following steps: the user terminal acquires current geographic position information, and detects position relation information of the current geographic position information and a pre-established attendance geofence; the user terminal generates attendance information corresponding to the position relation information based on an attendance application; the user terminal sends the attendance information to an application server; and the application server receives the attendance information sent by the user terminal and records the attendance information. By adopting the method and the device, the recording of the attendance information can be realized based on the geographic position information, the missing card punching condition is avoided, and the timeliness of the recording of the attendance information is ensured.

Description

Attendance information recording method, equipment and system thereof
Technical Field
The invention relates to the technical field of Internet, in particular to an attendance information recording method, equipment and a system thereof.
Background
In the on-off work system, the recording of the attendance information is usually carried out by adopting the card punching technologies such as fingerprint identification, card punching and the like, and the situation of missing card punching is easy to occur because the user needs subjective consciousness to memorize the attendance. In the existing attendance reminding technology, the attendance reminding can be performed on the user based on a mode of a time point, for example: the attendance reminding notification is automatically sent to the mobile phone, the computer and other equipment of the user at the accurate time of going to work and going from work, however, the time point required by the reminding mode of the time point is too limited, the reminding effect can not be achieved for the user who walks early or late, the situation of missing card punching still exists, and the recording of the attendance information is affected.
Disclosure of Invention
The embodiment of the invention provides an attendance information recording method, equipment and a system thereof, which can realize the recording of attendance information based on geographic position information, avoid missing the condition of punching cards and ensure the timeliness of the recording of the attendance information.
An embodiment of the present invention provides a method for recording attendance information, which may include:
the user terminal acquires current geographic position information, and detects position relation information of the current geographic position information and a pre-established attendance geofence;
the user terminal generates attendance information corresponding to the position relation information based on an attendance application;
the user terminal sends the attendance information to an application server;
and the application server receives the attendance information sent by the user terminal and records the attendance information.
A second aspect of the embodiment of the present invention provides a method for recording attendance information, which may include:
the method comprises the steps that a positioning server obtains current geographic position information of a user terminal, detects position relation information of the current geographic position information and a pre-established attendance geofence, and sends the position relation information to the user terminal;
The user terminal receives the position relation information sent by the positioning server and generates attendance information corresponding to the position relation information based on an attendance application;
the user terminal sends the attendance information to an application server;
and the application server receives the attendance information sent by the user terminal and records the attendance information.
A third aspect of the embodiment of the present invention provides an attendance information recording method, which may include:
acquiring current geographic position information, and detecting position relation information of the current geographic position information and a pre-established attendance geofence;
generating attendance information corresponding to the position relation information based on an attendance application;
and sending the attendance information to an application server so that the application server records the attendance information.
A fourth aspect of the present invention provides an attendance information recording device, which may include:
the information detection unit is used for acquiring current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence;
the information generation unit is used for generating attendance information corresponding to the position relation information based on an attendance application;
And the information sending unit is used for sending the attendance information to an application server so that the application server records the attendance information.
A fifth aspect of the present invention provides an attendance information recording system, which may include: a user terminal and an application server; wherein,,
the user terminal is used for acquiring current geographic position information, detecting position relation information of the current geographic position information and a pre-established attendance geofence, generating attendance information corresponding to the position relation information based on an attendance application, and sending the attendance information to the application server;
the application server is used for receiving the attendance information sent by the user terminal and recording the attendance information.
A sixth aspect of the present invention provides an attendance information recording system, which may include: the system comprises a user terminal, a positioning server and an application server; wherein,,
the positioning server is used for acquiring current geographic position information of a user terminal, detecting position relation information of the current geographic position information and a pre-established attendance geofence, and sending the position relation information to the user terminal;
The user terminal is further configured to receive the positional relationship information sent by the positioning server, generate attendance information corresponding to the positional relationship information based on an attendance application, and send the attendance information to an application server;
the application server is used for receiving the attendance information sent by the user terminal and recording the attendance information.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an attendance information recording method according to an embodiment of the present invention;
fig. 2 is a flow chart of a method for recording attendance information according to an embodiment of the present invention;
FIG. 3 is an exemplary schematic diagram of an attendance geofence provided by an embodiment of the present invention;
fig. 4 is a flowchart of another attendance information recording method according to an embodiment of the present invention;
fig. 5 is a flowchart of another attendance information recording method according to an embodiment of the present invention;
fig. 6 is a flowchart of another attendance information recording method according to an embodiment of the present invention;
fig. 7 is a flowchart of another attendance information recording method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an attendance information recording device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of still another attendance information recording device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an information detection unit according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another attendance information recording device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an attendance information recording system according to an embodiment of the present invention;
Fig. 13 is a schematic structural diagram of another attendance information recording system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The attendance information recording method provided by the embodiment of the invention can be applied to scenes of business turn card punching, for example: the method comprises the steps that a user terminal obtains current geographic position information, detects position relation information of the current geographic position information and a pre-established attendance geofence, generates attendance information corresponding to the position relation information based on an attendance application, sends the attendance information to an application server, and the application server receives the attendance information sent by the user terminal and records the attendance information. Or the user terminal obtains the current geographic position information and sends the current geographic position information to a positioning server, the positioning server receives the current geographic position information, detects the position relation information of the current geographic position information and a pre-established attendance geofence and sends the position relation information to the user terminal, the user terminal receives the position relation information sent by the positioning server and generates attendance information corresponding to the position relation information based on an attendance application, the user terminal sends the attendance information to an application server, and the application server receives the attendance information sent by the user terminal and records scenes and the like of the attendance information. By acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, attendance information corresponding to the position relation information can be generated based on an attendance application, the attendance information is reported to an application server, the attendance information is recorded by the application server, the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and timeliness of the attendance information recording is ensured
The user terminal related to the embodiment of the invention can be terminal equipment with a positioning function, such as a tablet Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), wearable equipment, vehicle-mounted equipment, virtual reality equipment and the like; the application server can be background service equipment of an attendance checking application; the positioning server may be a background service device with a positioning function corresponding to a terminal system of the user terminal; the attendance geofence is used for representing an area on the earth surface and detecting the current geographic position information of the user terminal so as to monitor the entering or leaving events of the user terminal; the attendance information can be specifically card-punching record and time information of the work-in and the work-out, and can comprise card-punching record information of the work-in and the work-out, wherein the card-punching record information of the work-in comprises the card-punching record of the work-in and the time information of the work-in corresponding to the card-punching record of the work-in, and the card-punching record information of the work-out comprises the card-punching record of the work-out and the time information of the work-out corresponding to the card-punching record of the work-out.
The method for recording the attendance information provided by the embodiment of the invention is described in detail below with reference to fig. 1 to 7.
Referring to fig. 1, a flow chart of an attendance information recording method is provided in an embodiment of the present invention. As shown in fig. 1, the embodiment of the present invention describes a specific flow of an attendance information recording method from a user terminal side and an application server side together, and it should be noted that when the user terminal has a function of attendance geofence establishment, for example: the method of the embodiment of the invention comprises the following steps S101-S104.
S101, a user terminal acquires current geographic position information, and detects position relation information of the current geographic position information and a pre-established attendance geofence;
specifically, the user terminal may obtain current geographic position information of the user terminal based on a positioning function, where the current geographic position information includes longitude and latitude of a position where the user terminal is currently located in an electronic map, the electronic map may include at least one virtual map such as a digital map and a satellite map, further, the user terminal may detect a position of the user terminal in real time, generate the current geographic position information to ensure that a position situation where the user terminal is located may be determined in real time, the user terminal may detect position relation information of the current geographic position information and a pre-established attendance geofence, and by obtaining the current geographic position information in real time, the user terminal may further detect position relation information of the current geographic position information and the attendance geofence in real time, where the position relation information may include that the current geographic position information enters the attendance geofence and the current geographic position information leaves the attendance geofence.
S102, the user terminal generates attendance information corresponding to the position relation information based on an attendance application;
specifically, the user terminal may generate attendance information corresponding to the location relation information based on an attendance application, where the attendance application is preferably an attendance application module in an instant messaging application, and preferably, when the location relation information indicates that the current geographic location information enters the attendance geofence, the user terminal generates working card punching record information based on the attendance application, and when the location relation information indicates that the current geographic location information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S103, the user terminal sends the attendance information to an application server;
s104, the application server receives the attendance information sent by the user terminal and records the attendance information;
specifically, the application server receives the attendance information sent by the user terminal and can record the attendance information, preferably, the application server can also obtain a terminal identifier of the user terminal, the terminal identifier is preferably an application serial number (Identity, ID) corresponding to the attendance application, and the application server can search an attendance information set corresponding to the terminal identifier and record the attendance information into the attendance information set.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured.
Referring to fig. 2, a flowchart of an attendance information recording method is provided in an embodiment of the present invention. As shown in fig. 2, the embodiment of the present invention describes a specific flow of an attendance information recording method from a user terminal side and an application server side together, and it should be noted that when the user terminal has a function of attendance geofence establishment, a positioning server corresponding to a terminal system may not be required to be invoked, and the method includes the following steps S201 to S208.
S201, an application server acquires the input attendance position information and sends the attendance position information to a user terminal;
specifically, the application server may obtain attendance position information input by an attendance person, and the application server may send the center longitude and latitude and the detection length to the user terminal, where the attendance position information may specifically be the center longitude and latitude and the detection length for attendance.
S202, the user terminal receives the attendance location information sent by the application server, and establishes an attendance geofence based on the attendance location information;
specifically, the user terminal receives the center longitude and latitude and the detection length sent by the application server, the center longitude and latitude may be used as a center of a circle, the detection length is used as a radius, an attendance geofence is built in a preset electronic map, it is to be understood that the electronic map may include at least one virtual map such as a digital map and a satellite map, further, please refer to fig. 3 together, in the electronic map shown in fig. 3, when the user terminal receives the center longitude and latitude and the detection length sent by the application server, an attendance geofence 30 shown in fig. 3 may be built, the center longitude and latitude may indicate a center position of an a-write building in the electronic map, and the detection length may indicate a coverage area of the a-write building in the electronic map, so as to build the attendance geofence 30.
It should be noted that, the attendance geofence may also have other shapes besides a circle, for example: the attendance geofence is established by taking the longitude and latitude of the center as the center, taking the square with the detection length as the side length and the like, and the attendance geofence can be specifically set according to the requirements of actual scenes.
S203, the user terminal acquires current geographic position information in real time;
specifically, the user terminal may detect the position of the user terminal in real time, and generate current geographic position information, so as to ensure that the position condition of the user terminal can be determined in real time, where the current geographic position information includes longitude and latitude of the position where the user terminal is currently located in an electronic map, and the like.
S204, the user terminal detects the position relation information of the current geographic position information and the pre-established attendance geofence;
specifically, the user terminal may detect the position relationship information between the current geographic location information and the pre-established attendance geofence, and the user terminal may further detect, in real time, the position relationship information between the current geographic location information and the attendance geofence by acquiring the current geographic location information in real time, where the position relationship information may include that the current geographic location information enters the attendance geofence and the current geographic location information leaves the attendance geofence.
Further, the user terminal may detect a trend of a distance between the current geographic location information and the center longitude and latitude, and when the user terminal detects that the distance between the current geographic location information and the center longitude and latitude is changed from greater than the detection length to less than or equal to the detection length, the user terminal may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the user terminal detects that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length, the user terminal can determine that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
It should be noted that, the user terminal may record current geographical location information in a preset time period, determine location relation information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the user terminal may record the position relationship information only when entering or leaving, and may specifically set according to an actual use scenario.
S205, the user terminal detects the running state of an attendance checking application;
specifically, the user terminal may detect an operation state of an attendance checking application in the user terminal, where the attendance checking application is preferably an attendance checking application module in an instant messaging application, and the operation state may be any one of a foreground operation, a background operation, and a system suspension state and an application closing state in a terminal system of the user terminal, where the foreground operation state indicates that the attendance checking application is operated in a terminal interface of the user terminal; the background running state indicates that the attendance checking application is currently running in the background of the terminal system and can run for a period of time; the system suspension state indicates that the process work of the attendance application is temporarily saved and needs to wait for the system to be activated for running again; the application closing state indicates that the process of the attendance checking application is closed, and the starting instruction needs to be triggered to run again.
S206, the user terminal generates attendance information corresponding to the position relation information according to the running state and based on an attendance application;
specifically, when the running state is a system foreground running state or a system background running state, the user terminal may generate attendance information corresponding to the position relationship information based on an attendance application; and when the running state is a system suspension state or an application closing state, the user terminal can start the attendance checking application, for example, the attendance checking application is activated in a system background, and the attendance checking information corresponding to the position relation information is generated based on the attendance checking application. Preferably, the generating the attendance information corresponding to the position relation information based on the attendance application may specifically be: when the position relation information indicates that the current geographic position information enters the attendance geofence, the user terminal generates working card punching record information based on an attendance application, and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S207, the user terminal sends the attendance information to an application server;
S208, the application server receives the attendance information sent by the user terminal and records the attendance information;
specifically, the application server receives the attendance information sent by the user terminal and can record the attendance information, preferably, the application server can also obtain a terminal identifier of the user terminal, the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server can search an attendance information set corresponding to the terminal identifier and record the attendance information into the attendance information set.
In the embodiment of the invention, aiming at the situation that the missing attendance information still exists when the attendance application is in a background running state, a system suspending state and an application closing state, the application server can adopt the information of 'non-card punching' to replace the unfinished attendance information in the terminal identifier at regular time.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
Referring to fig. 4, a flowchart of another method for recording attendance information is provided in an embodiment of the present invention. As shown in fig. 4, the embodiment of the present invention describes a specific flow of the attendance information recording method from the user terminal side, the application server side and the positioning server side together, and it should be noted that when the user terminal does not have the function of attendance geofence establishment, for example: the method of the embodiment of the invention comprises the following steps S301-S304.
S301, a positioning server acquires current geographic position information of a user terminal, detects position relation information of the current geographic position information and a pre-established attendance geofence, and sends the position relation information to the user terminal;
specifically, the positioning server may acquire current geographic position information of the user terminal in real time based on a positioning function, where the current geographic position information includes longitude and latitude of a position where the user terminal is currently located in an electronic map, where the electronic map may include at least one virtual map such as a digital map and a satellite map, further, the positioning server may detect a position of the user terminal in real time and generate current geographic position information so as to ensure that a position situation where the user terminal is located may be determined in real time, the positioning server may detect position relation information of the current geographic position information and a pre-established attendance geofence, and by acquiring the current geographic position information in real time, the positioning server may further detect in real time position relation information of the current geographic position information and the attendance geofence, where the current geographic position information enters the attendance geofence and where the current geographic position information leaves the attendance geofence. The location server may transmit the location relationship information to the user terminal.
S302, the user terminal receives the position relation information sent by the positioning server and generates attendance information corresponding to the position relation information based on an attendance application;
specifically, the user terminal may receive the location relationship information sent by the positioning server, the user terminal may generate attendance information corresponding to the location relationship information based on an attendance application, where the attendance application is preferably an attendance application module in an instant messaging application, and preferably, when the location relationship information indicates that the current geographic location information enters the attendance geofence, the user terminal generates working card punching record information based on the attendance application, and when the location relationship information indicates that the current geographic location information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S303, the user terminal sends the attendance information to an application server;
s304, the application server receives the attendance information sent by the user terminal and records the attendance information;
specifically, the application server receives the attendance information sent by the user terminal and can record the attendance information, preferably, the application server can also obtain a terminal identifier of the user terminal, the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server can search an attendance information set corresponding to the terminal identifier and record the attendance information into the attendance information set.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured.
Referring to fig. 5, a flowchart of another method for recording attendance information is provided in an embodiment of the present invention. As shown in fig. 5, the embodiment of the present invention describes a specific flow of the attendance information recording method from the user terminal side, the application server side and the positioning server side together, and it should be noted that when the user terminal does not have the function of attendance geofence establishment, for example: the method of the embodiment of the invention comprises the following steps S401-S409, wherein the closed terminal systems such as the IOS need to call the positioning server corresponding to the terminal system.
S401, an application server acquires the input attendance position information and sends the attendance position information to a user terminal;
Specifically, the application server may obtain attendance position information input by an attendance person, and the application server may send the center longitude and latitude and the detection length to the user terminal, where the attendance position information may specifically be the center longitude and latitude and the detection length for attendance.
S402, the user terminal receives the attendance position information sent by the application server and sends the attendance position information to a positioning server;
s403, the positioning server receives the attendance location information sent by the user terminal, and establishes an attendance geofence based on the attendance location information;
specifically, the positioning server receives the center longitude and latitude and the detection length sent by the user terminal, the center longitude and latitude may be used as a center of a circle, the detection length is used as a radius, an attendance geofence is built in a preset electronic map, it is to be understood that the electronic map may include at least one virtual map such as a digital map and a satellite map, further, please refer to fig. 3 together, in the electronic map shown in fig. 3, when the positioning server receives the center longitude and latitude and the detection length sent by the user terminal, an attendance geofence 30 shown in fig. 3 may be built, the center longitude and latitude may indicate a center position of an a-write building in the electronic map, and the detection length may indicate a coverage area of the a-write building in the electronic map, so as to build the attendance geofence 30.
It should be noted that, the attendance geofence may also have other shapes besides a circle, for example: the attendance geofence is established by taking the longitude and latitude of the center as the center, taking the square with the detection length as the side length and the like, and the attendance geofence can be specifically set according to the requirements of actual scenes.
S404, a positioning server acquires current geographic position information of a user terminal, detects position relation information of the current geographic position information and a pre-established attendance geofence, and sends the position relation information to the user terminal;
specifically, the positioning server may detect the position relationship information between the current geographic position information and the pre-established attendance geofence, preferably, the user terminal needs to authorize the positioning server to obtain the geographic position information of the user terminal in advance, and the positioning server may further detect, in real time, the position relationship information between the current geographic position information and the attendance geofence by acquiring the current geographic position information in real time, where the position relationship information may include that the current geographic position information enters the attendance geofence and the current geographic position information leaves the attendance geofence. The location server may transmit the location relationship information to the user terminal.
Further, the positioning server may detect a trend of a distance between the current geographic location information and the longitude and latitude of the center, and when the positioning server detects that the distance between the current geographic location information and the longitude and latitude of the center is changed from being greater than the detection length to being less than or equal to the detection length, the positioning server may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the positioning server detects that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length, the positioning server can determine that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
It should be noted that, the positioning server may record current geographical location information in a preset time period, determine location relation information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the positioning server may record the positional relationship information only when entering or leaving, and may specifically set according to an actual use scenario.
S405, the user terminal receives the position relation information sent by the positioning server;
s406, the user terminal detects the running state of an attendance checking application;
specifically, the user terminal may detect an operation state of an attendance checking application in the user terminal, where the attendance checking application is preferably an attendance checking application module in an instant messaging application, and the operation state may be any one of a foreground operation, a background operation, and a system suspension state and an application closing state in a terminal system of the user terminal, where the foreground operation state indicates that the attendance checking application is operated in a terminal interface of the user terminal; the background running state indicates that the attendance checking application is currently running in the background of the terminal system and can run for a period of time; the system suspension state indicates that the process work of the attendance application is temporarily saved and needs to wait for the system to be activated for running again; the application closing state indicates that the process of the attendance checking application is closed, and the starting instruction needs to be triggered to run again.
S407, the user terminal generates attendance information corresponding to the position relation information according to the running state and based on an attendance application;
Specifically, when the running state is a system foreground running state or a system background running state, the user terminal may generate attendance information corresponding to the position relationship information based on an attendance application; and when the running state is a system suspension state or an application closing state, the user terminal can start the attendance checking application, for example, the attendance checking application is activated in a system background, and the attendance checking information corresponding to the position relation information is generated based on the attendance checking application. Preferably, the generating the attendance information corresponding to the position relation information based on the attendance application may specifically be: when the position relation information indicates that the current geographic position information enters the attendance geofence, the user terminal generates working card punching record information based on an attendance application, and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S408, the user terminal sends the attendance information to an application server;
s409, the application server receives the attendance information sent by the user terminal and records the attendance information;
Specifically, the application server receives the attendance information sent by the user terminal and can record the attendance information, preferably, the application server can also obtain a terminal identifier of the user terminal, the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server can search an attendance information set corresponding to the terminal identifier and record the attendance information into the attendance information set.
In the embodiment of the invention, aiming at the situation that the missing attendance information still exists when the attendance application is in a background running state, a system suspending state and an application closing state, the application server can adopt the information of 'non-card punching' to replace the unfinished attendance information in the terminal identifier at regular time.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
Referring to fig. 6, a flowchart of another attendance information recording method is provided in an embodiment of the present invention. As shown in fig. 6, the embodiment of the present invention describes a specific flow of the attendance information recording method from the user terminal side, and it should be noted that when the user terminal has the function of attendance geofence establishment, for example: and the Android system and other open-source terminal systems can be used without calling a positioning server corresponding to the terminal system, and when the user terminal does not have the function of attendance geofence establishment, for example: the method of the embodiment of the invention comprises the following steps S501-S503.
S501, acquiring current geographic position information, and detecting position relation information of the current geographic position information and a pre-established attendance geofence;
specifically, the user terminal may acquire current geographic location information of the user terminal based on a positioning function, where the current geographic location information includes longitude and latitude of a location where the user terminal is currently located in an electronic map, and the electronic map may include at least one virtual map such as a digital map and a satellite map.
Optionally, for a user terminal with an attendance geofence establishment function, the user terminal may detect a position of the user terminal in real time, generate current geographical position information, so as to ensure that a position condition where the user terminal is located may be determined in real time, the user terminal may detect position relation information between the current geographical position information and a pre-established attendance geofence, and the user terminal may further detect, in real time, the position relation information between the current geographical position information and the attendance geofence by acquiring the current geographical position information in real time, where the position relation information may include that the current geographical position information enters the attendance geofence and that the current geographical position information leaves the attendance geofence.
The method comprises the steps that a positioning server can acquire current geographic position information of a user terminal in real time based on a positioning function aiming at the user terminal without the function of establishing an attendance geofence, the current geographic position information comprises longitude and latitude and the like of the current position of the user terminal in an electronic map, the electronic map can comprise at least one virtual map such as a digital map and a satellite map, further, the positioning server can detect the position of the user terminal in real time and generate the current geographic position information so as to ensure that the position condition of the user terminal can be determined in real time, the positioning server can detect the position relation information of the current geographic position information and a pre-established attendance geofence, the positioning server can further detect the position relation information of the current geographic position information and the attendance geofence in real time by acquiring the current geographic position information in real time, and the position relation information can comprise that the current geographic position information enters the attendance geofence and the current geographic position information leaves the attendance geofence. The location server may transmit the location relationship information to the user terminal. The user terminal may receive the positional relationship information transmitted by the positioning server.
S502, generating attendance information corresponding to the position relation information based on an attendance application;
specifically, the user terminal may generate attendance information corresponding to the location relation information based on an attendance application, where the attendance application is preferably an attendance application module in an instant messaging application, and preferably, when the location relation information indicates that the current geographic location information enters the attendance geofence, the user terminal generates working card punching record information based on the attendance application, and when the location relation information indicates that the current geographic location information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S503, sending the attendance information to an application server;
specifically, the user terminal may send the attendance information to an application server, the application server receives the attendance information sent by the user terminal and may record the attendance information, preferably, the application server may further obtain a terminal identifier of the user terminal, where the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server may search an attendance information set corresponding to the terminal identifier and record the attendance information to the attendance information set.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured.
Referring to fig. 7, a flowchart of another attendance information recording method is provided in an embodiment of the present invention. As shown in fig. 7, the embodiment of the present invention describes a specific flow of the attendance information recording method from the user terminal side, and it should be noted that when the user terminal has the function of attendance geofence establishment, for example: and the Android system and other open-source terminal systems can be used without calling a positioning server corresponding to the terminal system, and when the user terminal does not have the function of attendance geofence establishment, for example: the method of the embodiment of the invention comprises the following steps S601-S607.
S601, receiving attendance location information sent by an application server, and establishing an attendance geofence based on the attendance location information;
specifically, the application server may obtain attendance position information input by an attendance person, and the application server may send the center longitude and latitude and the detection length to the user terminal, where the attendance position information may specifically be the center longitude and latitude and the detection length for attendance.
Optionally, for a user terminal with a function of building an attendance geofence, the user terminal receives the center longitude and latitude and the detection length sent by the application server, the attendance geofence can be built in a preset electronic map with the center longitude and latitude as a center and the detection length as a radius, it can be understood that the electronic map can include at least one virtual map such as a digital map and a satellite map, further, please refer to fig. 3 together, in the electronic map shown in fig. 3, when the user terminal receives the center longitude and latitude and the detection length sent by the application server, the attendance geofence 30 shown in fig. 3 can be built, the center longitude and latitude can indicate the center position of the a-writers in the electronic map, and the detection length can indicate the coverage range of the a-writers in the electronic map, so as to build the attendance geofence 30.
For a user terminal without the function of checking-in geofence establishment, the user terminal receives the checking-in position information sent by the application server and sends the checking-in position information to a positioning server, the positioning server receives the center longitude and latitude and the detection length sent by the user terminal, the checking-in geofence can be established in a preset electronic map by taking the center longitude and latitude as a circle center and taking the detection length as a radius, it is understood that the electronic map can comprise at least one virtual map such as a digital map and a satellite map, further, please refer to fig. 3 together, when the positioning server receives the center longitude and latitude and the detection length sent by the user terminal, the checking-in geofence 30 shown in fig. 3 can be established, the center longitude and latitude can indicate the center position of the written building a in the electronic map, and the detection length can indicate the coverage of the written building a in the electronic map, so as to establish the checking-in geofence 30.
It should be noted that, the attendance geofence may also have other shapes besides a circle, for example: the attendance geofence is established by taking the longitude and latitude of the center as the center, taking the square with the detection length as the side length and the like, and the attendance geofence can be specifically set according to the requirements of actual scenes.
S602, acquiring current geographic position information in real time;
specifically, for a user terminal with the function of attendance geofence establishment, the user terminal can detect the position of the user terminal in real time and generate current geographic position information so as to ensure that the position condition of the user terminal can be determined in real time, wherein the current geographic position information comprises the longitude and latitude of the position of the user terminal in an electronic map.
And for the user terminal without the function of checking-in geofence establishment, the positioning server can detect the position relation information of the current geographic position information and the pre-established checking-in geofence, preferably, the user terminal needs to authorize the positioning server in advance to acquire the geographic position information of the user terminal, the positioning server can further detect the position relation information of the current geographic position information and the checking-in geofence in real time by acquiring the current geographic position information in real time, and the position relation information can comprise that the current geographic position information enters the checking-in geofence and the current geographic position information leaves the checking-in geofence. The location server may transmit the location relationship information to the user terminal. The positional relationship information may include the current geographic location information entering the attendance geofence and the current geographic location information exiting the attendance geofence. See steps S603 and S604 for details.
Further, the positioning server may detect a trend of a distance between the current geographic location information and the longitude and latitude of the center, and when the positioning server detects that the distance between the current geographic location information and the longitude and latitude of the center is changed from being greater than the detection length to being less than or equal to the detection length, the positioning server may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the positioning server detects that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length, the positioning server can determine that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
It should be noted that, the positioning server may record current geographical location information in a preset time period, determine location relation information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the positioning server may record the positional relationship information only when entering or leaving, and may specifically set according to an actual use scenario.
S603, when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being greater than the detection length to being less than or equal to the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information enters the attendance geofence;
s604, when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being smaller than or equal to the detection length to being larger than the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence;
specifically, the user terminal may detect a trend of a distance between the current geographic location information and the longitude and latitude of the center, and when the user terminal detects that the distance between the current geographic location information and the longitude and latitude of the center is changed from greater than the detection length to less than or equal to the detection length, the user terminal may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the user terminal detects that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length, the user terminal can determine that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
It should be noted that, the user terminal may record current geographical location information in a preset time period, determine location relation information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the user terminal may record the position relationship information only when entering or leaving, and may specifically set according to an actual use scenario.
S605, detecting the running state of an attendance application;
specifically, the user terminal may detect an operation state of an attendance checking application in the user terminal, where the attendance checking application is preferably an attendance checking application module in an instant messaging application, and the operation state may be any one of a foreground operation, a background operation, and a system suspension state and an application closing state in a terminal system of the user terminal, where the foreground operation state indicates that the attendance checking application is operated in a terminal interface of the user terminal; the background running state indicates that the attendance checking application is currently running in the background of the terminal system and can run for a period of time; the system suspension state indicates that the process work of the attendance application is temporarily saved and needs to wait for the system to be activated for running again; the application closing state indicates that the process of the attendance checking application is closed, and the starting instruction needs to be triggered to run again.
S606, generating attendance information corresponding to the position relation information according to the running state and based on an attendance application;
specifically, when the running state is a system foreground running state or a system background running state, the user terminal may generate attendance information corresponding to the position relationship information based on an attendance application; and when the running state is a system suspension state or an application closing state, the user terminal can start the attendance checking application, for example, the attendance checking application is activated in a system background, and the attendance checking information corresponding to the position relation information is generated based on the attendance checking application. Preferably, the generating the attendance information corresponding to the position relation information based on the attendance application may specifically be: when the position relation information indicates that the current geographic position information enters the attendance geofence, the user terminal generates working card punching record information based on an attendance application, and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the user terminal generates working card punching record information based on the attendance application.
S607, sending the attendance information to an application server so that the application server records the attendance information;
Specifically, the user terminal may send the attendance information to an application server, the application server receives the attendance information sent by the user terminal and may record the attendance information, preferably, the application server may further obtain a terminal identifier of the user terminal, where the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server may search an attendance information set corresponding to the terminal identifier and record the attendance information to the attendance information set.
In the embodiment of the invention, aiming at the situation that the missing attendance information still exists when the attendance application is in a background running state, a system suspending state and an application closing state, the application server can adopt the information of 'non-card punching' to replace the unfinished attendance information in the terminal identifier at regular time.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
The attendance information recording device provided by the embodiment of the invention will be described in detail with reference to fig. 8 to 10. It should be noted that, the attendance information recording device shown in fig. 8 to fig. 10 may be specifically a user terminal in the foregoing embodiment, and is used to execute the method of the embodiment shown in fig. 6 and fig. 7 of the present invention, for convenience of explanation, only the portion relevant to the embodiment of the present invention is shown, and specific technical details are not disclosed, and refer to the embodiment shown in fig. 6 and fig. 7 of the present invention.
Referring to fig. 8, a schematic structural diagram of an attendance information recording device is provided in an embodiment of the present invention. As shown in fig. 8, the attendance information recording device 1 according to the embodiment of the present invention may include: an information detection unit 11, an information generation unit 12, and an information transmission unit 13.
An information detection unit 11, configured to obtain current geographical location information, and detect location relationship information between the current geographical location information and a pre-established attendance geofence;
in a specific implementation, the information detection unit 11 may obtain, based on a positioning function, current geographical location information of the attendance information recording device 1, where the current geographical location information includes longitude and latitude of a location where the attendance information recording device 1 is currently located in an electronic map, and the electronic map may include at least one virtual map such as a digital map and a satellite map.
Optionally, for the attendance information recording device 1 with the function of attendance geofence establishment, the information detection unit 11 may detect the position of the attendance information recording device 1 in real time, generate current geographical position information to ensure that the position condition of the attendance information recording device 1 can be determined in real time, the information detection unit 11 may detect the position relationship information of the current geographical position information and the pre-established attendance geofence, and the information detection unit 11 may further detect, in real time, the position relationship information of the current geographical position information and the attendance geofence by acquiring the current geographical position information in real time, where the position relationship information may include that the current geographical position information enters the attendance geofence and the current geographical position information leaves the attendance geofence.
And for the attendance information recording equipment 1 without the function of attendance geofence establishment, the positioning server can acquire the current geographic position information of the attendance information recording equipment 1 in real time based on the positioning function, the current geographic position information comprises the longitude and latitude and the like of the current position of the attendance information recording equipment 1 in an electronic map, the electronic map can comprise at least one virtual map such as a digital map and a satellite map, further, the positioning server can detect the position of the attendance information recording equipment 1 in real time to generate the current geographic position information so as to ensure that the position condition of the attendance information recording equipment 1 can be determined in real time, the positioning server can detect the position relation information of the current geographic position information and the pre-established attendance geofence, and can further detect the position relation information of the current geographic position information and the attendance geofence in real time by acquiring the current geographic position information in real time, and the position relation information can comprise that the current geographic position information enters the attendance geofence and the current geographic position information leaves the attendance geofence. The location server may send the positional relationship information to the attendance information recording device 1. The information detecting unit 11 may receive the positional relationship information transmitted from the positioning server.
An information generating unit 12, configured to generate attendance information corresponding to the positional relationship information based on an attendance application;
in a specific implementation, the information generating unit 12 may generate the attendance information corresponding to the location relation information based on an attendance application, where the attendance application is preferably an attendance application module in an instant messaging application, and preferably, when the location relation information indicates that the current geographic location information enters the attendance geofence, the information generating unit 12 generates the on-duty card punching record information based on the attendance application, and when the location relation information indicates that the current geographic location information leaves the attendance geofence, the information generating unit 12 generates the off-duty card punching record information based on the attendance application.
An information sending unit 13, configured to send the attendance information to an application server;
in a specific implementation, the information sending unit 13 may send the attendance information to an application server, where the application server receives the attendance information sent by the attendance information recording device 1 and may record the attendance information, and preferably, the application server may further obtain a terminal identifier of the attendance information recording device 1, where the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server may search an attendance information set corresponding to the terminal identifier and record the attendance information to the attendance information set.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured.
Referring to fig. 9, a schematic structural diagram of another attendance information recording device is provided in an embodiment of the present invention. As shown in fig. 9, the attendance information recording device 1 according to the embodiment of the present invention may include: an information detection unit 11, an information generation unit 12, an information transmission unit 13, a fence establishment unit 14, a state detection unit 15, and a notification unit 16.
A fence establishment unit 14, configured to receive attendance location information sent by an application server, and establish an attendance geofence based on the attendance location information;
in a specific implementation, the application server may obtain the attendance position information input by the attendance personnel, and the application server may send the center longitude and latitude and the detection length to the attendance information recording device 1, where the attendance position information may be specifically the center longitude and latitude and the detection length for attendance.
Optionally, for the attendance information recording device 1 with the function of attendance geofence establishment, the fence establishment unit 14 receives the center longitude and latitude and the detection length sent by the application server, the attendance geofence can be established in a preset electronic map with the center longitude and latitude as a center and the detection length as a radius, it can be understood that the electronic map can include at least one virtual map such as a digital map and a satellite map, further, referring to fig. 3, in the electronic map shown in fig. 3, when the fence establishment unit 14 receives the center longitude and latitude and the detection length sent by the application server, the attendance geofence 30 shown in fig. 3 can be established, the center longitude and latitude can indicate the center position of the a-write building in the electronic map, and the detection length can indicate the coverage range of the a-write building in the electronic map, so as to establish the attendance geofence 30.
For the attendance information recording device 1 without the function of attendance geofence establishment, the fence establishment unit 14 receives the attendance position information sent by the application server and sends the attendance position information to a positioning server, the positioning server receives the center longitude and latitude and the detection length sent by the attendance information recording device 1, the center longitude and latitude can be used as a center of a circle, the detection length is used as a radius, and the attendance geofence is established in a preset electronic map, it is understood that the electronic map can comprise at least one virtual map such as a digital map and a satellite map, further, referring to fig. 3, when the positioning server receives the center longitude and latitude and the detection length sent by the attendance information recording device 1, the attendance geofence 30 shown in fig. 3 can be established, the center longitude and latitude can indicate the center position of the a-written building in the electronic map, and the detection length can indicate the range covering the a-written building in the electronic map, so as to establish the attendance geofence 30.
It should be noted that, the attendance geofence may also have other shapes besides a circle, for example: the attendance geofence is established by taking the longitude and latitude of the center as the center, taking the square with the detection length as the side length and the like, and the attendance geofence can be specifically set according to the requirements of actual scenes.
An information detection unit 11, configured to obtain current geographical location information, and detect location relationship information between the current geographical location information and a pre-established attendance geofence;
in a specific implementation, for the attendance information recording device 1 with the function of attendance geofence establishment, the information detection unit 11 may detect the position of the attendance information recording device 1 in real time, and generate current geographical position information, so as to ensure that the position condition of the attendance information recording device 1 can be determined in real time, where the current geographical position information includes the longitude and latitude of the position where the attendance information recording device 1 is currently located in an electronic map, and so on. The information detection unit 11 may detect a trend of change in the distance between the current geographic location information and the longitude and latitude of the center, and when the information detection unit 11 detects that the distance between the current geographic location information and the longitude and latitude of the center is changed from greater than the detection length to less than or equal to the detection length, the information detection unit 11 may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the information detection unit 11 detects that the distance between the current geographical location information and the longitude and latitude of the center is changed from less than or equal to the detection length to greater than the detection length, the information detection unit 11 may determine that the current geographical location information and the position relationship information of the attendance geofence are that the current geographical location information leaves the attendance geofence.
It should be noted that, the information detection unit 11 may record current geographical location information in a preset time period, determine location relationship information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the information detecting unit 11 may record the positional relationship information only when entering or leaving, and may specifically be set according to the actual use scenario.
Specifically, referring to fig. 10, a schematic structural diagram of an information detection unit is provided in an embodiment of the present invention. As shown in fig. 10, the information detection unit 11 may include:
an information acquisition subunit 111, configured to acquire current geographic location information in real time;
a relationship determining subunit 112, configured to determine, when it is detected that the distance between the current geographic location information and the longitude and latitude of the center is changed from greater than the detection length to less than or equal to the detection length, that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence;
The relationship determining subunit 112 is further configured to determine that the current geographic location information and the position relationship information of the attendance geofence are that the current geographic location information leaves the attendance geofence when it is detected that the distance between the current geographic location information and the longitude and latitude of the center is changed from less than or equal to the detection length to greater than the detection length.
And for the attendance information recording device 1 without the function of attendance geofence establishment, the positioning server can detect the position relation information of the current geographic position information and the pre-established attendance geofence, preferably, the attendance information recording device 1 needs to authorize the positioning server to acquire the geographic position information of the attendance information recording device 1 in advance, and the positioning server can further detect the position relation information of the current geographic position information and the attendance geofence in real time by acquiring the current geographic position information in real time, wherein the position relation information can comprise that the current geographic position information enters the attendance geofence and the current geographic position information leaves the attendance geofence. The location server may send the positional relationship information to the attendance information recording device 1. The information detecting unit 11 receives the positional relationship information transmitted from the positioning server.
Further, the positioning server may detect a trend of a distance between the current geographic location information and the longitude and latitude of the center, and when the positioning server detects that the distance between the current geographic location information and the longitude and latitude of the center is changed from being greater than the detection length to being less than or equal to the detection length, the positioning server may determine that the location relationship information between the current geographic location information and the attendance geofence is that the current geographic location information enters the attendance geofence; when the positioning server detects that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length, the positioning server can determine that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
It should be noted that, the positioning server may record current geographical location information in a preset time period, determine location relation information with the attendance geofence based on the current geographical location information in the preset time period, if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all greater than the detection length, record that the current geographical location information is not in the attendance geofence, and if the distances between the current geographical location information in the preset time period and the longitude and latitude of the center are all less than or equal to the detection length, record that the current geographical location information is in the attendance geofence. Of course, the positioning server may record the positional relationship information only when entering or leaving, and may specifically set according to an actual use scenario.
A state detection unit 15, configured to detect an operation state of the attendance checking application;
in a specific implementation, the state detection unit 15 may detect an operation state of an attendance checking application in the attendance information recording device 1, where the attendance checking application is preferably an attendance checking application module in an instant messaging application, and the operation state may be any one of a foreground operation, a background operation, and a system suspension and an application closing state in a terminal system of the attendance information recording device 1, where the foreground operation state indicates that the attendance checking application is operated in a terminal interface of the attendance information recording device 1; the background running state indicates that the attendance checking application is currently running in the background of the terminal system and can run for a period of time; the system suspension state indicates that the process work of the attendance application is temporarily saved and needs to wait for the system to be activated for running again; the application closing state indicates that the process of the attendance checking application is closed, and the starting instruction needs to be triggered to run again.
A notification unit 16, configured to notify the information generating unit 12 to execute a step of generating attendance information corresponding to the positional relationship information based on an attendance application when the operation state is a system foreground operation state or a system background operation state;
The notification unit 16 is further configured to start the attendance application when the running state is a system suspension state or an application shutdown state, and notify the information generating unit 12 to execute a step of generating attendance information corresponding to the positional relationship information based on the attendance application;
an information generating unit 12, configured to generate attendance information corresponding to the positional relationship information based on an attendance application;
in a specific implementation, when the running state is a system foreground running state or a system background running state, the information generating unit 12 may generate attendance information corresponding to the position relationship information based on an attendance application; when the running state is a system suspension state or an application closing state, the notification unit 16 may start the attendance checking application, for example, pull the attendance checking application alive in a system background, and generate the attendance checking information corresponding to the position relationship information based on the attendance checking application. Preferably, the generating the attendance information corresponding to the position relation information based on the attendance application may specifically be: when the position relation information indicates that the current geographic position information enters the attendance geofence, the information generating unit 12 generates on-duty card punching record information based on an attendance application, and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the information generating unit 12 generates off-duty card punching record information based on the attendance application.
An information sending unit 13, configured to send the attendance information to an application server, so that the application server records the attendance information;
in a specific implementation, the information sending unit 13 may send the attendance information to an application server, where the application server receives the attendance information sent by the attendance information recording device 1 and may record the attendance information, and preferably, the application server may further obtain a terminal identifier of the attendance information recording device 1, where the terminal identifier is preferably an application ID corresponding to the attendance application, and the application server may search an attendance information set corresponding to the terminal identifier and record the attendance information to the attendance information set.
In the embodiment of the invention, aiming at the situation that the missing attendance information still exists when the attendance application is in a background running state, a system suspending state and an application closing state, the application server can adopt the information of 'non-card punching' to replace the unfinished attendance information in the terminal identifier at regular time.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
The embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executed by the processor to perform the steps of the method described in the embodiment shown in fig. 6 and fig. 7, and the specific implementation process may refer to the specific description of the embodiment shown in fig. 6 and fig. 7, which is not repeated herein.
Referring to fig. 11, a schematic structural diagram of still another attendance information recording device is provided in an embodiment of the present invention. As shown in fig. 11, the attendance information recording device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface, among others. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 11, an operating system, a network communication module, a user interface module, and an information recording application program may be included in the memory 1005, which is one type of computer storage medium.
In the attendance information recording device 1000 shown in fig. 11, the user interface 1003 is mainly used for providing an input interface for a user, and acquiring data input by the user; the network interface 1004 is mainly used for data communication with an application server, a positioning server, and the like; and the processor 1001 may be configured to call an information recording application program stored in the memory 1005, and specifically perform the following operations:
acquiring current geographic position information, and detecting position relation information of the current geographic position information and a pre-established attendance geofence;
generating attendance information corresponding to the position relation information based on an attendance application;
and sending the attendance information to an application server so that the application server records the attendance information.
In one embodiment, the processor 1001, prior to performing the acquiring the current geographic location information, further performs the following:
and receiving the attendance location information sent by the application server, and establishing an attendance geofence based on the attendance location information.
In one embodiment, the attendance location information includes a center longitude and latitude and a detection length;
the processor 1001, when executing receiving the attendance location information sent by the application server and establishing an attendance geofence based on the attendance location information, specifically performs the following operations:
And receiving the attendance position information sent by the application server, and establishing an attendance geofence in a preset electronic map by taking the longitude and latitude of the center as a circle center and the detection length as a radius.
In one embodiment, the processor 1001, when executing the obtaining the current geographic location information and detecting the location relationship information between the current geographic location information and the pre-established attendance geofence, specifically performs the following operations:
acquiring current geographic position information in real time;
when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being greater than the detection length to being less than or equal to the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information enters the attendance geofence;
when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being smaller than or equal to the detection length to being larger than the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
In one embodiment, the processor 1001, when executing the attendance information corresponding to the location relationship information generated based on the attendance application, specifically performs the following operations:
When the position relation information indicates that the current geographic position information enters the attendance geofence, generating working card punching record information based on an attendance application;
and when the position relation information indicates that the current geographic position information leaves the attendance geofence, generating off-duty card punching record information based on an attendance application.
In one embodiment, before executing the attendance information corresponding to the location relationship information generated based on the attendance application, the processor 1001 further performs the following operations:
detecting the running state of an attendance checking application;
when the running state is a system foreground running state or a system background running state, the method proceeds to a step of executing attendance information corresponding to the position relation information based on the attendance application;
and when the running state is a system suspension state or an application closing state, starting the attendance checking application, and transferring to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
Referring to fig. 12, a schematic structural diagram of an attendance information recording system is provided in an embodiment of the present invention. As shown in fig. 12, when the system is applied to the user terminal with the function of attendance geofence establishment, the system may include: the application server and one or more user terminals can be connected with each other through a network, wherein the user terminal can be specifically the attendance information recording device 1 in any one of the embodiments shown in fig. 8 or fig. 9, or the user terminal can be specifically the attendance information recording device 1000 in the embodiment shown in fig. 11.
The user terminal is used for acquiring current geographic position information, detecting position relation information of the current geographic position information and a pre-established attendance geofence, generating attendance information corresponding to the position relation information based on an attendance application, and sending the attendance information to the application server;
the application server is used for receiving the attendance information sent by the user terminal and recording the attendance information.
In one embodiment, the application server is further configured to obtain the input attendance location information, and send the attendance location information to the user terminal,
The user terminal is further configured to receive the attendance location information sent by the application server, and establish an attendance geofence based on the attendance location information.
In one embodiment, the attendance location information includes a center longitude and latitude and a detection length;
the user terminal is used for receiving the attendance location information sent by the application server, and is specifically used for when the attendance geofence is established based on the attendance location information:
and receiving the attendance position information sent by the application server, and establishing an attendance geofence in a preset electronic map by taking the longitude and latitude of the center as a circle center and the detection length as a radius.
In one embodiment, the user terminal is configured to obtain current geographic location information, and when detecting location relationship information between the current geographic location information and a pre-established attendance geofence, the user terminal is specifically configured to:
acquiring current geographic position information in real time;
when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being greater than the detection length to being less than or equal to the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information enters the attendance geofence;
When the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being smaller than or equal to the detection length to being larger than the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
In one embodiment, when the user terminal is configured to generate the attendance information corresponding to the location relationship information based on an attendance application, the user terminal is specifically configured to:
when the position relation information indicates that the current geographic position information enters the attendance geofence, generating working card punching record information based on an attendance application;
and when the position relation information indicates that the current geographic position information leaves the attendance geofence, generating off-duty card punching record information based on an attendance application.
In one embodiment, the user terminal is further configured to detect an operation state of an attendance checking application; when the running state is a system foreground running state or a system background running state, the method proceeds to a step of executing attendance information corresponding to the position relation information based on the attendance application; and when the running state is a system suspension state or an application closing state, starting the attendance checking application, and transferring to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
Referring to fig. 13, a schematic structural diagram of another attendance information recording system is provided in an embodiment of the present invention. As shown in fig. 13, when the user terminal does not have the function of attendance geofence establishment, the system may include: the application server, the positioning server and one or more user terminals may be connected to each other through a network, where the user terminal may be the attendance information recording device 1 in any one of the embodiments shown in fig. 8 or fig. 9, or the user terminal may be the attendance information recording device 1000 in the embodiment shown in fig. 11.
The positioning server is used for acquiring current geographic position information of a user terminal, detecting position relation information of the current geographic position information and a pre-established attendance geofence, and sending the position relation information to the user terminal;
the user terminal is further configured to receive the positional relationship information sent by the positioning server, generate attendance information corresponding to the positional relationship information based on an attendance application, and send the attendance information to an application server;
the application server is used for receiving the attendance information sent by the user terminal and recording the attendance information.
In one embodiment, the application server is further configured to obtain the input attendance location information, and send the attendance location information to the user terminal,
the user terminal is further configured to receive the attendance location information sent by the application server, and send the attendance location information to a positioning server;
the positioning server is further configured to receive the attendance location information sent by the user terminal, and establish an attendance geofence based on the attendance location information.
In one embodiment, the attendance location information includes a center longitude and latitude and a detection length;
the positioning server is used for receiving the attendance location information sent by the user terminal, and is specifically used for when the attendance geofence is established based on the attendance location information:
and receiving the attendance position information sent by the user terminal, and establishing an attendance geofence in a preset electronic map by taking the longitude and latitude of the center as a circle center and the detection length as a radius.
In one embodiment, when the user terminal is configured to obtain current geographic location information and send the current geographic location information to the positioning server, the method is specifically configured to:
the user terminal acquires current geographic position information in real time and sends the current geographic position information to a positioning server;
the positioning server is used for detecting the position relation information of the current geographic position information and the pre-established attendance geofence, and is specifically used for:
when the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being greater than the detection length to being less than or equal to the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information enters the attendance geofence;
When the distance between the current geographic position information and the longitude and latitude of the center is detected to be changed from being smaller than or equal to the detection length to being larger than the detection length, determining that the position relation information of the current geographic position information and the attendance geofence is that the current geographic position information leaves the attendance geofence.
In one embodiment, when the user terminal is configured to generate the attendance information corresponding to the location relationship information based on an attendance application, the user terminal is specifically configured to:
when the position relation information indicates that the current geographic position information enters the attendance geofence, generating working card punching record information based on an attendance application;
and when the position relation information indicates that the current geographic position information leaves the attendance geofence, generating off-duty card punching record information based on an attendance application.
In one embodiment, the user terminal is further configured to detect an operation state of an attendance checking application; when the running state is a system foreground running state or a system background running state, the method proceeds to a step of executing attendance information corresponding to the position relation information based on the attendance application; and when the running state is a system suspension state or an application closing state, starting the attendance checking application, and transferring to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application.
In the embodiment of the invention, by acquiring the current geographic position information and detecting the position relation information of the current geographic position information and the pre-established attendance geofence, the attendance information corresponding to the position relation information can be generated based on the attendance application, the attendance information is reported to the application server, and the application server records the attendance information, so that the attendance information is recorded based on the geographic position information, the condition of missing card punching is avoided, and the timeliness of the attendance information recording is ensured; by detecting the application state of the attendance checking application, the condition that the attendance checking application cannot run and a card is missed can be avoided, and the recording process of the attendance checking information is further perfected.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (22)

1. The attendance information recording method is characterized by comprising the following steps of:
the application server acquires the input attendance position information and sends the attendance position information to the user terminal;
the user terminal receives the attendance location information sent by the application server, and establishes an attendance geofence based on the attendance location information;
the user terminal acquires current geographic position information, detects position relation information of the current geographic position information and a pre-established attendance geofence, wherein the attendance geofence is established by taking the longitude and latitude of a center as a circle center and taking the detection length as a radius;
the user terminal detects the running state of an attendance checking application;
when the running state is a system foreground running state or a system background running state, the user terminal shifts to execute the step of generating attendance information corresponding to the position relation information based on an attendance application;
when the running state is a system suspension state or an application closing state, the user terminal starts the attendance checking application and transfers to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application;
The user terminal generates attendance information corresponding to the position relation information based on an attendance application; when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card punching record information, and the current geographic position information entering the attendance geofence is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being greater than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
the user terminal sends the attendance information to an application server;
the application server receives the attendance information sent by the user terminal and records the attendance information;
wherein the method further comprises:
when the unfinished attendance information exists in the terminal identification of the user terminal, the application server adopts the unfinished attendance information to replace the unfinished attendance information at regular time.
2. The method of claim 1, wherein the user terminal generates the attendance information corresponding to the positional relationship information based on an attendance application, comprising:
when the position relation information indicates that the current geographic position information enters the attendance geofence, the user terminal generates working card punching record information based on an attendance application;
and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the user terminal generates the attendance card-punching record information based on an attendance application.
3. The method according to claim 1, wherein the application server receives the attendance information sent by the user terminal and records the attendance information, and comprises:
the application server acquires a terminal identifier of the user terminal; the terminal identifier is an application serial number corresponding to the attendance checking application;
and the application server searches an attendance information set corresponding to the terminal identifier, and records the attendance information into the attendance information set.
4. The method of claim 1, wherein the user terminal receiving the attendance location information sent by the application server and establishing an attendance geofence based on the attendance location information comprises:
And the user terminal receives the center longitude and latitude and the detection length sent by the application server, takes the center longitude and latitude as a circle center, takes the detection length as a radius, and establishes an attendance geofence in a preset electronic map.
5. The attendance information recording method is characterized by comprising the following steps of:
the application server acquires the input attendance position information and sends the attendance position information to the user terminal;
the user terminal receives the attendance position information sent by the application server and sends the attendance position information to a positioning server;
the positioning server receives the attendance location information sent by the user terminal and establishes an attendance geofence based on the attendance location information;
the positioning server acquires current geographic position information of a user terminal, detects position relation information of the current geographic position information and a pre-established attendance geofence, and sends the position relation information to the user terminal, wherein the attendance geofence is established by taking the longitude and latitude of a center as the center of a circle and the detection length as the radius;
the user terminal receives the position relation information sent by the positioning server and generates attendance information corresponding to the position relation information based on an attendance application; when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card punching record information, and the current geographic position information entering the attendance geofence is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being greater than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
The user terminal sends the attendance information to an application server;
the application server receives the attendance information sent by the user terminal and records the attendance information;
before the user terminal generates the attendance information corresponding to the position relation information based on the attendance application, the method further comprises the following steps:
the user terminal detects the running state of an attendance checking application;
when the running state is a system foreground running state or a system background running state, the user terminal shifts to execute the step of generating attendance information corresponding to the position relation information based on an attendance application;
when the running state is a system suspension state or an application closing state, the user terminal starts the attendance checking application and transfers to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application;
the method further comprises the steps of:
when the unfinished attendance information exists in the terminal identification of the user terminal, the application server adopts the unfinished attendance information to replace the unfinished attendance information at regular time.
6. The method of claim 5, wherein the user terminal receives the location relationship information sent by the positioning server and generates attendance information corresponding to the location relationship information based on an attendance application, comprising:
The user terminal receives the position relation information sent by the positioning server;
when the position relation information indicates that the current geographic position information enters the attendance geofence, the user terminal generates working card punching record information based on an attendance application;
and when the position relation information indicates that the current geographic position information leaves the attendance geofence, the user terminal generates the attendance card-punching record information based on an attendance application.
7. The method of claim 5, wherein the application server receiving the attendance information sent by the user terminal and recording the attendance information comprises:
the application server acquires a terminal identifier of the user terminal; the terminal identifier is an application serial number corresponding to the attendance checking application;
and the application server searches an attendance information set corresponding to the terminal identifier, and records the attendance information into the attendance information set.
8. The method of claim 5, wherein the positioning server receiving the attendance location information sent by the user terminal and establishing an attendance geofence based on the attendance location information comprises:
And the positioning server receives the center longitude and latitude and the detection length sent by the user terminal, and establishes an attendance geofence in a preset electronic map by taking the center longitude and latitude as a circle center and the detection length as a radius.
9. The attendance information recording method is characterized by being applied to a user terminal and comprising the following steps of:
receiving attendance location information sent by an application server, and establishing an attendance geofence based on the attendance location information;
acquiring current geographic position information, and detecting position relation information of the current geographic position information and a pre-established attendance geofence, wherein the attendance geofence is established by taking the longitude and latitude of a center as the center of a circle and the detection length as the radius;
generating attendance information corresponding to the position relation information based on an attendance application; when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card punching record information, and the current geographic position information entering the attendance geofence is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being greater than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
The attendance information is sent to an application server, so that the application server records the attendance information, and when incomplete attendance information exists in a terminal identifier of the user terminal, the incomplete attendance information is replaced by the application server by adopting information without punching cards;
before the attendance application generates the attendance information corresponding to the position relation information, the method further comprises the following steps:
detecting the running state of an attendance checking application;
when the running state is a system foreground running state or a system background running state, the method proceeds to a step of executing attendance information corresponding to the position relation information based on the attendance application;
and when the running state is a system suspension state or an application closing state, starting the attendance checking application, and transferring to execute the step of generating attendance checking information corresponding to the position relation information based on the attendance checking application.
10. The method of claim 9, wherein the generating the attendance information corresponding to the location relationship information based on the attendance application comprises:
when the position relation information indicates that the current geographic position information enters the attendance geofence, generating working card punching record information based on an attendance application;
And when the position relation information indicates that the current geographic position information leaves the attendance geofence, generating off-duty card punching record information based on an attendance application.
11. An attendance information recording apparatus, characterized by comprising:
the system comprises a fence establishing unit, a fence processing unit and a fence processing unit, wherein the fence establishing unit is used for receiving attendance position information sent by an application server and establishing an attendance geofence based on the attendance position information;
the information detection unit is used for acquiring current geographic position information, detecting the position relation information of the current geographic position information and a pre-established attendance geofence, wherein the attendance geofence is established by taking the longitude and latitude of a center as the center of a circle and taking the detection length as the radius;
the state detection unit is used for detecting the running state of the attendance checking application;
the notification unit is used for notifying the information generation unit to execute the step of generating the attendance information corresponding to the position relation information based on the attendance application when the running state is the system foreground running state or the system background running state;
the notification unit is further configured to start the attendance application when the running state is a system suspension state or an application closing state, and the notification information generation unit executes a step of generating attendance information corresponding to the positional relationship information based on the attendance application;
The information generation unit is used for generating attendance information corresponding to the position relation information based on an attendance application; when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card punching record information, and the current geographic position information entering the attendance geofence is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being greater than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
and the information sending unit is used for sending the attendance information to an application server so that the application server records the attendance information, and when the incomplete attendance information exists in the terminal identification of the attendance information recording equipment, the incomplete attendance information is replaced by the application server by adopting the information without punching cards.
12. The attendance information recording device according to claim 11, characterized in that the information generating unit is specifically configured to generate on-duty card punching record information based on an attendance application when the positional relationship information indicates that the current geographical position information enters the attendance geofence, and to generate off-duty card punching record information based on an attendance application when the positional relationship information indicates that the current geographical position information leaves the attendance geofence.
13. An attendance information recording system, comprising: a user terminal and an application server; wherein,,
the application server is also used for acquiring the input attendance position information and sending the attendance position information to the user terminal;
the user terminal is further used for receiving the attendance location information sent by the application server and establishing an attendance geofence based on the attendance location information;
the user terminal is used for acquiring current geographic position information, detecting position relation information of the current geographic position information and a pre-established attendance geofence, generating attendance information corresponding to the position relation information based on attendance application, and sending the attendance information to an application server, wherein the attendance geofence is established by taking a center longitude and latitude as a circle center and taking a detection length as a radius, when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card-punching record information, and the current geographic position information enters the attendance geofence and is represented by the fact that the distance between the current geographic position information and the center longitude and latitude is changed from being larger than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
The application server is used for receiving the attendance information sent by the user terminal and recording the attendance information;
the user terminal is also used for detecting the running state of the attendance checking application;
the user terminal is further configured to shift to executing the step of generating attendance information corresponding to the position relationship information based on an attendance application when the running state is a system foreground running state or a system background running state;
the user terminal is further configured to start the attendance application when the running state is a system suspension state or an application closing state, and transfer to execute a step of generating attendance information corresponding to the positional relationship information based on the attendance application;
the application server is further configured to, when there is incomplete attendance information in the terminal identifier of the user terminal, replace the incomplete attendance information with information that is not punched with a card at regular time.
14. The system of claim 13, wherein the system further comprises a controller configured to control the controller,
the user terminal is specifically configured to generate on-duty card punching record information based on an attendance application when the position relation information indicates that the current geographic position information enters the attendance geofence, and specifically configured to generate off-duty card punching record information based on the attendance application when the position relation information indicates that the current geographic position information leaves the attendance geofence.
15. The system of claim 13, wherein the system further comprises a controller configured to control the controller,
the application server is specifically configured to obtain a terminal identifier of the user terminal; the terminal identification is an application serial number corresponding to the attendance application, an attendance information set corresponding to the terminal identification is searched, and the attendance information is recorded into the attendance information set.
16. The system of claim 13, wherein the system further comprises a controller configured to control the controller,
the user terminal is specifically configured to receive the longitude and latitude of the center and the detection length sent by the application server, and establish an attendance geofence in a preset electronic map by using the longitude and latitude of the center as a circle center and the detection length as a radius.
17. An attendance information recording system, comprising: the system comprises a user terminal, a positioning server and an application server; wherein,,
the application server is used for acquiring the input attendance position information and sending the attendance position information to the user terminal;
the user terminal is used for receiving the attendance position information sent by the application server and sending the attendance position information to a positioning server;
the positioning server is used for receiving the attendance location information sent by the user terminal and establishing an attendance geofence based on the attendance location information;
The positioning server is used for acquiring current geographic position information of a user terminal, detecting position relation information of the current geographic position information and a pre-established attendance geofence, and sending the position relation information to the user terminal, wherein the attendance geofence is established by taking the longitude and latitude of a center as the center of a circle and the detection length as the radius;
the user terminal is further configured to receive the positional relationship information sent by the positioning server, generate attendance information corresponding to the positional relationship information based on an attendance application, and send the attendance information to an application server; when the position relation information indicates that the current geographic position information enters the attendance geofence, the attendance information is on-duty card punching record information, and the current geographic position information entering the attendance geofence is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being greater than the detection length to being smaller than or equal to the detection length; when the position relation information indicates that the current geographic position information leaves the attendance geofence, the attendance information is the attendance card punching record information, and the current geographic position information leaves the attendance geofence and is represented by the fact that the distance between the current geographic position information and the longitude and latitude of the center is changed from being smaller than or equal to the detection length to being larger than the detection length;
The application server is used for receiving the attendance information sent by the user terminal and recording the attendance information;
the user terminal is also used for detecting the running state of the attendance checking application;
the user terminal is further configured to shift to executing the step of generating attendance information corresponding to the position relationship information based on an attendance application when the running state is a system foreground running state or a system background running state;
the user terminal is further configured to start the attendance application when the running state is a system suspension state or an application closing state, and transfer to execute a step of generating attendance information corresponding to the positional relationship information based on the attendance application;
the application server is further configured to, when there is incomplete attendance information in the terminal identifier of the user terminal, replace the incomplete attendance information with information that is not punched with a card at regular time.
18. The system of claim 17, wherein the system further comprises a controller configured to control the controller,
the user terminal is specifically configured to receive the positional relationship information sent by the positioning server, and specifically configured to generate on-duty card-punching record information based on an attendance application when the positional relationship information indicates that the current geographic position information enters the attendance geofence, and specifically configured to generate off-duty card-punching record information based on the attendance application when the positional relationship information indicates that the current geographic position information leaves the attendance geofence.
19. The system of claim 17, wherein the system further comprises a controller configured to control the controller,
the application server is specifically configured to obtain a terminal identifier of the user terminal; the terminal identifier is an application serial number corresponding to the attendance application, and is specifically used for searching an attendance information set corresponding to the terminal identifier, and recording the attendance information into the attendance information set.
20. The system of claim 17, wherein the system further comprises a controller configured to control the controller,
the positioning server is specifically configured to receive the longitude and latitude of the center and the detection length sent by the user terminal, and establish an attendance geofence in a preset electronic map by using the longitude and latitude of the center as a circle center and the detection length as a radius.
21. A computer device, comprising: a processor, a memory, and a network interface;
the processor is connected to a memory for providing data communication functions, a network interface for storing program code, and for invoking the program code to perform the method of claim 9 or 10.
22. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the steps of the method according to claim 9 or 10.
CN201710308011.XA 2017-05-04 2017-05-04 Attendance information recording method, equipment and system thereof Active CN108805512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710308011.XA CN108805512B (en) 2017-05-04 2017-05-04 Attendance information recording method, equipment and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710308011.XA CN108805512B (en) 2017-05-04 2017-05-04 Attendance information recording method, equipment and system thereof

Publications (2)

Publication Number Publication Date
CN108805512A CN108805512A (en) 2018-11-13
CN108805512B true CN108805512B (en) 2023-08-08

Family

ID=64053662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710308011.XA Active CN108805512B (en) 2017-05-04 2017-05-04 Attendance information recording method, equipment and system thereof

Country Status (1)

Country Link
CN (1) CN108805512B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311824A (en) * 2019-07-29 2021-02-02 腾讯科技(深圳)有限公司 Attendance information processing method and related device
CN114387697A (en) * 2021-12-30 2022-04-22 龙尚科技(上海)有限公司 Attendance checking method, device, equipment and storage medium
CN114882607A (en) * 2022-05-09 2022-08-09 中国工商银行股份有限公司 Automatic card punching method and device, processor and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456235A (en) * 2010-11-02 2012-05-16 中兴通讯股份有限公司 Information processing method and server
WO2012109905A1 (en) * 2011-02-15 2012-08-23 广州市动景计算机科技有限公司 Method and device for mobile terminal user-oriented precise location-based information service
CN104318385A (en) * 2014-10-22 2015-01-28 广东安居宝数码科技股份有限公司 Attendance system
CN106204776A (en) * 2016-06-21 2016-12-07 北京奇虎科技有限公司 Work attendance method based on mobile terminal, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456235A (en) * 2010-11-02 2012-05-16 中兴通讯股份有限公司 Information processing method and server
WO2012109905A1 (en) * 2011-02-15 2012-08-23 广州市动景计算机科技有限公司 Method and device for mobile terminal user-oriented precise location-based information service
CN104318385A (en) * 2014-10-22 2015-01-28 广东安居宝数码科技股份有限公司 Attendance system
CN106204776A (en) * 2016-06-21 2016-12-07 北京奇虎科技有限公司 Work attendance method based on mobile terminal, device and equipment

Also Published As

Publication number Publication date
CN108805512A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US10149114B2 (en) Systems and methods for providing geolocation services in a mobile-based crowdsourcing platform
US9432944B1 (en) Determining whether a mobile device user is substantially stationary within a geo-fence
US8868289B2 (en) Vehicle location navigation system
US9832614B2 (en) Method, server and terminal for information interaction
CN103812931A (en) User information sharing method, device and system
JP6368340B2 (en) Construction machine management system
CN103994764A (en) Portable positioning system
CN105917366A (en) Context-based mobile device
CN108805512B (en) Attendance information recording method, equipment and system thereof
TWI618430B (en) System, method and computer-readable recording medium for providing notice according to location secession
CN103065235A (en) Systems and methods for event attendance notification
CN112311824A (en) Attendance information processing method and related device
CN110930107A (en) Attendance information processing method and device, computer equipment and storage medium
CN106303420A (en) A kind of monitoring method being applied to moving target and monitoring system
CN103905552A (en) File sharing method, terminal and server
EP2492791A1 (en) Augmented reality-based file transfer method and file transfer system thereof
CN106462628B (en) System and method for automatically pushing location-specific content to a user
KR20130049221A (en) Patrol supporting system and method based on a code, apparatus and portable device supporting the same
KR20180045393A (en) Method and apparatus for managing point of interest based on tile
KR20160129970A (en) A method, a system and a computer readable storage medium for automatically managing whether or not to work
US20160007162A1 (en) Mobile terminal, content panel display method, and mobile terminal program
CN114973524A (en) Return processing method and device of shared equipment and computer equipment
CN111723350A (en) Push method, device and equipment for identifying mode
EP3021082A1 (en) Method, server, terminal, system, and storage medium for displaying multiuser map
KR101707238B1 (en) Apparatus and method for notifing social network service information

Legal Events

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