CN114613031A - Attendance checking method, device, equipment and medium based on multiple attendance checking positions - Google Patents
Attendance checking method, device, equipment and medium based on multiple attendance checking positions Download PDFInfo
- Publication number
- CN114613031A CN114613031A CN202210227414.2A CN202210227414A CN114613031A CN 114613031 A CN114613031 A CN 114613031A CN 202210227414 A CN202210227414 A CN 202210227414A CN 114613031 A CN114613031 A CN 114613031A
- Authority
- CN
- China
- Prior art keywords
- attendance
- user
- information
- remote task
- branch point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012544 monitoring process Methods 0.000 claims abstract description 17
- 238000004364 calculation method Methods 0.000 claims description 19
- 230000006870 function Effects 0.000 claims description 19
- 230000004913 activation Effects 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 6
- 238000013473 artificial intelligence Methods 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000012549 training Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of artificial intelligence, and provides an attendance checking method, device, equipment and medium based on multiple attendance checking positions. The method comprises the following steps: receiving a request for creating a remote task sent by a first user, and generating an attendance information list according to attribute information of the remote task; feeding back an attendance information list to the first user, setting an attendance range in the attendance information list, and feeding back the attendance information list to the second user; when it is monitored that the second user initiates attendance access to the remote task, whether the ID information of the second user is stored in the attendance information list or not is judged; and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value. The invention also relates to the technical field of block chains, and the attendance information list and the ID information can also be stored in a node of a block chain.
Description
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to an attendance checking method, device, equipment and medium based on a plurality of attendance checking positions.
Background
Currently, most of online attendance methods are that designated software is installed on mobile phones of outworkers, when the outworkers arrive at an attendance place, attendance check-in is performed through the software, and each outworker and the attendance place are generally bound in a one-to-one mode to serve as a main mode for checking attendance of the outworkers.
Due to some reasons (for example, outworkers are inconvenient to travel), a mode of concentrating the outworkers at different geographic positions at one place to execute requests (for example, training and meeting) can be difficult to realize, so that a mode of executing the requests in a multi-point joint mode (for example, point-based remote training and teaching) is generated, but at present, the existing attendance mode cannot flexibly support the requirements of multiple point-based remote attendance and the requirement that the outworkers autonomously select attendance places. When the attendance location of the outworkers changes midway, the existing attendance mode only informs corresponding managers one by one and modifies corresponding attendance information lists, and can not support the automatic binding and unbinding of the lists of the outworkers and the attendance information lists of all remote tasks.
Disclosure of Invention
In view of the above, the present invention provides an attendance method, an attendance device, an attendance apparatus and an attendance medium based on multiple attendance positions, and aims to solve the technical problems that the existing attendance mode in the prior art cannot flexibly support the requirements of multiple branch remote attendance and the independent attendance point selection of outworkers, and cannot support the automatic binding and unbinding of the list of the outworkers and the attendance information lists of all remote tasks when the attendance point of the outworkers changes midway.
In order to achieve the above object, the present invention provides an attendance method based on a plurality of attendance positions, the method comprising:
receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
Preferably, before the generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:
and generating a preset trip list for the second user according to the basic information of the second user, the preset trip location, the preset trip time period and the name information of the remote tasks, and storing the preset trip list into a preset database.
Preferably, the generating an attendance information list of the remote task according to the attribute information of the remote task includes:
generating the ID number of the remote task according to the name information, the execution time information and the attendance time information of the remote task in a splicing manner;
and generating an attendance information list of the remote task according to the ID number of the remote task and the plurality of branch point addresses of the remote task.
Preferably, the generating an attendance information list of the remote task according to the ID number of the remote task and the multiple branch point addresses of the remote task includes:
acquiring ID information in the basic information of the second user from the preset database according to the name information of the remote task, and adding the ID information of the second user to the attendance information list;
and associating the attendance information list with a preset trip list of the second user and storing the attendance information list in the preset database.
Preferably, the receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, includes:
a1, reading any branch point address of the remote task, and determining the position information of the branch point address from the preset map;
a2, setting a first distance value of the position information reaching the branch point address in the preset map according to the position information of the branch point address, and generating an attendance range of the branch point address;
a3, repeating A1-A2 until the attendance range of all the branch point addresses of the remote task is obtained.
Preferably, the monitoring, in real time, a second distance value between the location of the second user and the location of each branch point address, and when any second distance value is less than or equal to the first distance value, generating attendance success information of the second user includes:
b1, reading the position information of the arbitrary branch point address of the remote task, and taking the latitude and longitude in the position information of the branch point address and the position information of the second user as parameters;
b2, inputting the parameters into a preset distance calculation formula to perform calculation, and obtaining a second distance value of the position information of the second user reaching the branch point address;
b3, repeating B1-B2 until a second distance value of the second user reaching all the branch point addresses is calculated.
And B4, monitoring the change of the position of the second user and the positions of all the branch point addresses in real time, and generating attendance success information of the second user in the attendance information list when a second distance value of the second user reaching any branch point address is calculated to be smaller than or equal to the first distance value of the branch point address.
Preferably, the preset distance calculation formula includes:
wherein w is a second distance value from the location of the second user to the location of the arbitrary branch point address, d is a tangent activation function of the longitude and latitude coordinates of the second user, f is the earth oblateness, h1 is a first return value of a reverse cut activation function of the longitude and latitude coordinates of the second user, h2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user, and s2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user1A longitude value, g, being a longitude and latitude coordinate of the second user1A latitude value, s, of the latitude and longitude coordinate of the second user2Longitude values of longitude and latitude coordinates of arbitrary division point addresses of the remote task, g2And the latitude value is the latitude value of the latitude and longitude coordinate of the arbitrary branch point address of the remote task, and PI is the circumference ratio.
In order to achieve the above object, the present invention further provides an attendance device based on a plurality of attendance positions, the device comprising:
a receiving module to: receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
a feedback module to: feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
a determination module to: when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
an application module to: and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
In order to achieve the above object, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a program executable by the at least one processor to enable the at least one processor to perform the multiple attendance location based attendance method as claimed in any of claims 1 to 7.
To achieve the above object, the present invention further provides a computer readable medium storing an attendance program for a plurality of attendance locations, which when executed by a processor, implements the steps of the attendance method based on the plurality of attendance locations according to any one of claims 1 to 7.
The method and the device generate an attendance information list of the remote task by the ID number of the remote task and a plurality of branch point addresses of the remote task, realize one-to-many binding of the employee and an attendance place, calculate the distance from all positions of the employee to the position of each branch point address according to a preset distance calculation formula when the employee checks the attendance information list, and display the distance from the employee to each branch point address in the attendance information list, so that the employee can flexibly and autonomously select the attendance place to check the attendance.
The method comprises the steps of associating a preset trip list of the employee with an attendance information list of remote tasks and storing the list into a preset database, and automatically adding or deleting ID information of the employee from the corresponding attendance information list according to the association when a preset business trip place of the preset trip list of the employee changes, so that the situation that corresponding administrators and the modified attendance information list are notified one by one in the prior art is avoided, and the list of the employee and the attendance information lists of all the remote tasks are automatically bound and released.
Drawings
Fig. 1 is a schematic flow chart diagram of a preferred embodiment of the attendance checking method based on a plurality of attendance checking positions according to the invention;
fig. 2 is a schematic block diagram of an attendance checking apparatus according to a preferred embodiment of the present invention;
FIG. 3 is a diagram of an electronic device according to a preferred embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The invention provides an attendance checking method based on a plurality of attendance checking positions. Fig. 1 is a schematic method flow diagram of an embodiment of the attendance checking method based on multiple attendance checking positions. The method may be performed by an electronic device, which may be implemented by software and/or hardware. The attendance checking method based on a plurality of attendance checking positions comprises the following steps:
step S10: receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task.
In this embodiment, the first user refers to an administrator having the right to create a remote task in an enterprise, and the enterprise refers to a main company having more than one branch company or branch office. The remote task may be an online classroom in which the enterprise uniformly organizes training of employees in order to improve their business level. The remote task includes a task name (e.g., the name of the newly created remote task), a task execution time (e.g., class time), a time attendance, and a task address. The attendance information list is an online form for attendance of the staff, and for example, a number, a name, a subject content, a speaker, a start time of executing a task, an attendance time, ID information of staff participating in the task, a task address, an attendance check-in information button, and the like of the task are generated in the form.
In one embodiment, before the generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:
and generating a preset trip list for the second user according to the basic information of the second user, the preset trip location, the preset trip time period and the name information of the remote tasks, and storing the preset trip list into a preset database.
The second user refers to an outworker in the enterprise who wants to participate in the remote task. The basic information of the second user includes the name, ID information, job title, etc. of the second user. The preset database refers to a cloud HR database built in an enterprise, and when each outworker participates in a remote task (for example, going out for business or training), attendance data needs to be uploaded into the cloud HR database (for example, employee information and required time period are uploaded), and the attendance data is used for dynamically managing attendance of the employee. The preset trip location refers to location information where the second user wants to participate in the remote task. The preset business trip time period refers to a time period expected to be spent by the second user to participate in the remote task, for example, a time period expected to be spent by employee a in training from a city division of enterprise a to a city division of enterprise B: the four day period, 18/12/2021-22/12/2021, includes the time between employee a going to town a and town B, and employee a or the HR of the business needs to upload employee a's pre-set schedule to the HR database of the business before leaving town B to attend the training.
In one embodiment, the generating an attendance information list of the remote task according to the attribute information of the remote task includes:
generating the ID number of the remote task according to the name information, the execution time information and the attendance time information of the remote task in a splicing manner;
and generating an attendance information list of the remote task according to the ID number of the remote task and the plurality of branch point addresses of the remote task.
The attribute information of the remote task comprises information such as a task name, execution time, attendance time and the like. The ID number of the remote task is a number sequence generated by concatenating name information, execution time information, attendance time information and branch point address information of the remote task to be created (for example, the name of the remote task to be created is 2021 year, stage 1 of a branch company in B city (community marketing remote task), the class time is 2021, 12 and 20 days 9:30-11:30AM, the attendance time is 2021, 12 and 20 days 9:00-9:30AM, and the address of the remote task is B city, beijing road, No. 1 beijing mansion, first building, and a number sequence is generated by concatenating the information, for example, the number sequence is 202112209301130).
The multiple branch point addresses of the remote task refer to addresses where multiple executable tasks are set for one remote task, for example, the 1 st stage (community marketing remote task) of a branch company in city B, and the dispatch D, E and the F remote tasks are respectively opened at three different positions in city B, the remote tasks can be remotely lectured by lecturers or lectures on site by different lecturers, and the employees participating in the tasks can autonomously select which task address to attend attendance and sign in.
In one embodiment, the generating an attendance information list of the remote task according to the ID number of the remote task and a plurality of branch point addresses of the remote task includes:
acquiring ID information in the basic information of the second user from the preset database according to the name information of the remote task, and adding the ID information of the second user to the attendance information list;
and associating the attendance information list with a preset trip list of the second user and storing the attendance information list in the preset database.
According to the name information of the remote task, the first user acquires all employee lists participating in the remote task from a preset database, and the ID information of each employee in the employee lists is added to the attendance information list. In other embodiments, artificial intelligence matching can be performed according to the name information of the remote task and the name information of the remote task to be participated in the preset schedule of the employee, the ID information of the employee is automatically added to the attendance information list after matching is successful, and the steps of manually adding the ID information of the employee to the attendance information list by a manager can be reduced.
In order to dynamically manage the attendance problem of the staff participating in the remote task in real time, the preset trip list of the second user is associated with the attendance information list corresponding to the second user, and when the remote task to be participated in or the preset business trip time period in the preset trip list of the second user changes, the ID information of the second user is automatically added or deleted from the attendance information list, so that the problem that the attendance procedure is complicated to change in the prior art is solved.
For example, employee A's preset itinerary: in 2021, day 18 in 12 months to day 22 in 12 months in 2021, the employee A goes out to the enterprise's city division B to participate in the remote task D, but in 2021, day 12 in 20 months, the enterprise suddenly notifies the employee A to go to the enterprise's city division H to participate in an important remote task K, and then the employee A or HR personnel is required to modify the preset schedule of the employee A (for example, the preset out-of-business place is changed from the city division B to the city division H, and the corresponding preset out-of-business time period is also modified), according to the correlation between the preset schedule of the employee A and the remote task D and the remote task K, the ID information of the employee A is automatically deleted from the attendance information list of the remote task D, and correspondingly, the ID information of the employee A is automatically added from the attendance information list of the remote task K, when the corresponding attendance information list of the employee A changes, prompt information is fed back to the administrator of the corresponding attendance information list, the method and the system remind the manager that a certain employee is added or deleted from the attendance information list, and avoid the situation that corresponding managers need to be informed one by one and the corresponding attendance information list needs to be modified when the attendance of the employee participating in the remote task in the prior art is changed.
Step S20: the attendance information list of the remote task is fed back to the first user, the attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, is received, and the attendance information list of the remote task is fed back to the second user.
In this embodiment, when the first user receives an attendance information list of a remote task, the location information of each minute point address of the remote task is determined from a preset map (for example, a location center point of each minute point address is determined by using a location system of an electronic device such as an IPAD or a mobile phone), and an attendance range is set in the attendance information list as a first distance value of each minute point address. The preset map refers to an electronic map installed or built in a mobile terminal used by a server, an administrator and staff of a preset database. For example, a positioning center point of each branch point address is determined from a preset map, and a first distance value (for example, 300 meters) is added to the positioning center point as a radius to generate an attendance range of each branch point address.
In one embodiment, the receiving an attendance range of each branch point address of the remote task set by the first user in the attendance information list based on a preset map includes:
a1, reading any branch point address of the remote task, and determining the position information of the branch point address from the preset map;
a2, setting a first distance value of the position information reaching the branch point address in the preset map according to the position information of the branch point address, and generating an attendance range of the branch point address;
a3, repeating A1-A2 until the attendance range of all the branch point addresses of the remote task is obtained.
When the first user receives the attendance information list of the remote task, a positioning system (for example, an electronic device such as an IPAD or a mobile phone and the like with a positioning system) of a mobile terminal used by an administrator is utilized, so that the latitude and the longitude of each branch point address are determined as a positioning central point of each branch point address, a preset radius range is added to the positioning central point of each branch point address according to actual scene requirements of the first user as a first distance value of each branch point address, the first distance value of each branch point address is filled into a space corresponding to the attendance information list of the remote task to generate the attendance range of each branch point address, and the filled attendance information list is stored in a preset database and replaces the original stored attendance information list.
Step S30: when it is monitored that the second user initiates attendance access to the remote task, whether the attendance information list of the remote task stores the ID information of the second user or not is judged.
In this embodiment, when the second user checks the remote task detail page in the attendance information list from the preset database and clicks the "attendance check-in" button, the account and the password provided when the second user logs in the preset database are read, the ID information of the second user when the account and the password are registered is obtained, the ID information of the second user is matched with the ID information of all employee lists participating in the remote task in the attendance information list, and if the ID information of the second user is stored in the attendance information list, the matching is successful, that is, the second user can participate in the remote task and perform verification attendance check-in of the next step.
Step S40: and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
Specifically, step S40 includes:
b1, reading the position information of the arbitrary branch point address of the remote task, and taking the latitude and longitude in the position information of the branch point address and the position information of the second user as parameters;
b2, inputting the parameters into a preset distance calculation formula to perform calculation, and obtaining a second distance value of the position information of the second user reaching the branch point address;
b3, repeating B1-B2 until a second distance value of the second user reaching all the branch point addresses is calculated.
And B4, monitoring the change of the position of the second user and the positions of all the branch point addresses in real time, and generating attendance success information of the second user in the attendance information list when a second distance value of the second user reaching any branch point address is calculated to be smaller than or equal to the first distance value of the branch point address.
Determining the position information of a second user in a preset map according to a positioning system of a mobile terminal used by the second user for logging in a preset database, reading the position information of the second user and the latitude and longitude of the position information of each branch point address, inputting a preset distance calculation formula to obtain second distance values of the second user reaching all the branch point addresses, monitoring the change of the second distance values from the position information of the second user to the position of each branch point address in real time, generating attendance success information of the second user and feeding back second preset information (for example, good, attendance check-in completion) to the second user when any second distance value is smaller than or equal to the first distance value, namely the position of the second user is in an attendance range set by a remote task, filling the attendance success information into corresponding spaces in an attendance information list of the remote task, the manager can conveniently check which employees finish attendance check-in. If the second user arrives at the remote task site, due to the signal difference of the mobile terminal or other inequality factors, the second user cannot check in attendance, and the administrator performs the check-in on behalf of others at the management end and stores the check-in the database.
In one embodiment, the preset distance calculation formula includes:
wherein w is a second distance value from the location of the second user to the location of the arbitrary branch point address, d is a tangent activation function of the longitude and latitude coordinates of the second user, f is the earth oblateness, h1 is a first return value of a reverse cut activation function of the longitude and latitude coordinates of the second user, h2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user, and s2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user1A longitude value, g, being a longitude and latitude coordinate of the second user1A latitude value, s, of the latitude and longitude coordinate of the second user2Longitude value g of longitude and latitude coordinates of the arbitrary branch point address of the remote task2And the latitude value is the latitude value of the latitude and longitude coordinate of the arbitrary branch point address of the remote task, and PI is the circumference ratio.
In this embodiment, a connection port of a preset database is installed in a mobile terminal used by a second user, a preset distance calculation formula is written into the mobile terminal of the second user through the connection port, and when position information from the second user to each branch point address needs to be calculated, the preset distance calculation formula is calculated by using a CPU in the mobile terminal of the second user, and the CPU in the database does not need to be calculated, so that delay caused by poor network signals can be avoided, and calculation efficiency is improved. In other embodiments, the preset distance calculation formula may also be written into the server of the preset database, and the mobile terminal or the server of the second user may be freely switched to calculate the preset distance calculation formula according to the preset network signal determination module (for example, the network signal determination module may monitor the strength of the network signal).
Fig. 2 is a schematic diagram of functional modules of the attendance device 100 based on a plurality of attendance positions.
The attendance device 100 of the plurality of attendance positions can be installed in electronic equipment. According to the implemented functions, the attendance device 100 for multiple attendance positions may include a receiving module 110, a feedback module 120, a determination module 130, and an application module 140. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In this embodiment, the functions of the modules/units are as follows:
a receiving module to: receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
a feedback module to: feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
a determination module, the determination module configured to: when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
an application module to: and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
In one embodiment, before the generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:
and generating a preset trip list for the second user according to the basic information of the second user, the preset trip location, the preset trip time period and the name information of the remote tasks, and storing the preset trip list into a preset database.
In one embodiment, the generating an attendance information list of the remote task according to the attribute information of the remote task includes:
generating the ID number of the remote task according to the name information, the execution time information and the attendance time information of the remote task in a splicing manner;
and generating an attendance information list of the remote task according to the ID number of the remote task and the plurality of branch point addresses of the remote task.
In one embodiment, the generating an attendance information list of the remote task according to the ID number of the remote task and a plurality of branch point addresses of the remote task includes:
acquiring ID information in the basic information of the second user from the preset database according to the name information of the remote task, and adding the ID information of the second user to the attendance information list;
and associating the attendance information list with a preset trip list of the second user and storing the attendance information list in the preset database.
In one embodiment, the receiving an attendance range of each branch point address of the remote task set by the first user in the attendance information list based on a preset map includes:
a1, reading any branch point address of the remote task, and determining the position information of the branch point address from the preset map;
a2, setting a first distance value of the position information reaching the branch point address in the preset map according to the position information of the branch point address, and generating an attendance range of the branch point address;
a3, repeating A1-A2 until the attendance range of all the branch point addresses of the remote task is obtained.
In one embodiment, the monitoring, in real time, second distance values between the location of the second user and the location of each of the branch point addresses, and when any of the second distance values is smaller than or equal to the first distance value, generating attendance success information of the second user includes:
b1, reading the position information of the arbitrary branch point address of the remote task, and taking the latitude and longitude in the position information of the branch point address and the position information of the second user as parameters;
b2, inputting the parameters into a preset distance calculation formula to perform calculation, and obtaining a second distance value of the position information of the second user reaching the branch point address;
b3, repeating B1-B2 until a second distance value of the second user reaching all the branch point addresses is calculated.
And B4, monitoring the change of the position of the second user and the positions of all the branch point addresses in real time, and generating attendance success information of the second user in the attendance information list when a second distance value of the second user reaching any branch point address is calculated to be smaller than or equal to the first distance value of the branch point address.
In one embodiment, the preset distance calculation formula includes:
wherein w is a second distance value from the location of the second user to the location of the arbitrary branch point address, d is a tangent activation function of the longitude and latitude coordinates of the second user, f is the earth oblateness, h1 is a first return value of a reverse cut activation function of the longitude and latitude coordinates of the second user, h2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user, and s2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user1A longitude value, g, being a longitude and latitude coordinate of the second user1A latitude value, s, of the latitude and longitude coordinate of the second user2Longitude values of longitude and latitude coordinates of arbitrary division point addresses of the remote task, g2And the latitude value is the latitude value of the latitude and longitude coordinate of the arbitrary branch point address of the remote task, and PI is the circumference ratio.
Fig. 3 is a schematic diagram of an electronic device 1 according to a preferred embodiment of the invention.
The electronic device 1 includes but is not limited to: memory 11, processor 12, display 13, and network interface 14. The electronic device 1 is connected to a network through a network interface 14 to obtain raw data. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, or a call network.
The memory 11 includes at least one type of readable medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (FlashCard), or the like, which is equipped with the electronic device 1. Of course, the memory 11 may also comprise both an internal memory unit and an external memory device of the electronic device 1. In this embodiment, the memory 11 is generally used for storing an operating system installed in the electronic device 1 and various application software, such as program codes of the attendance programs 10 in a plurality of attendance positions. Further, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used for controlling the overall operation of the electronic device 1, such as performing data interaction or communication related control and processing. In this embodiment, the processor 12 is configured to run program codes stored in the memory 11 or process data, for example, to run program codes of the attendance programs 10 in a plurality of attendance positions.
The display 13 may be referred to as a display screen or display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (OLED) touch panel, or the like. The display 13 is used for displaying information processed in the electronic device 1 and for displaying a visual work interface, e.g. displaying the results of data statistics.
The network interface 14 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), the network interface 14 typically being used for establishing a communication connection between the electronic device 1 and other electronic devices.
Fig. 3 shows only electronic device 1 with components 11-14 and attendance program 10 for multiple attendance locations, but it should be understood that not all of the shown components are required and that more or fewer components may alternatively be implemented.
Optionally, the electronic device 1 may further include a user interface, the user interface may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further include a standard wired interface and a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (OLED) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
The electronic device 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which are not described in detail herein.
In the above embodiment, when the processor 12 executes the attendance program 10 of the plurality of attendance locations stored in the memory 11, the following steps may be implemented:
receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
feeding back an attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
The storage device may be the memory 11 of the electronic device 1, or may be another storage device communicatively connected to the electronic device 1.
For detailed description of the above steps, please refer to the functional block diagram of the embodiment of the attendance device 100 related to multiple attendance locations in fig. 2 and the flowchart of the embodiment of the attendance method related to multiple attendance locations in fig. 1.
In addition, the embodiment of the present invention further provides a computer-readable medium, which may be non-volatile or volatile. The computer readable medium may be any one or any combination of hard disk, multimedia card, SD card, flash memory card, SMC, Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), portable compact disc read only memory (CD-ROM), USB memory, and the like. The computer readable medium comprises a storage data area and a storage program area, the storage data area stores data created according to the use of the blockchain node, the storage program area stores attendance programs 10 of a plurality of attendance positions, and when the attendance programs 10 of the plurality of attendance positions are executed by a processor, the following operations are realized:
receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
The specific implementation of the computer readable medium of the present invention is substantially the same as the above-mentioned specific implementation of the attendance checking method based on multiple attendance checking positions, and is not described herein again.
In another embodiment, in order to further ensure the privacy and security of all the appearing data, all the data can be stored in a node of a block chain. Such as attendance information list, ID information, which may be stored in the block link point.
It should be noted that the block chain in the present invention is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, an electronic device, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. An attendance method based on a plurality of attendance locations, the method comprising:
receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
2. The attendance method based on multiple attendance locations of claim 1, further comprising, prior to the generating the attendance information list for the remote task from the attribute information for the remote task:
and generating a preset trip list for the second user according to the basic information of the second user, the preset trip location, the preset trip time period and the name information of the remote tasks, and storing the preset trip list into a preset database.
3. The attendance method based on multiple attendance locations of claim 1, wherein the generating of the attendance information list for the remote task from the attribute information for the remote task comprises:
generating the ID number of the remote task according to the name information, the execution time information and the attendance time information of the remote task in a splicing manner;
and generating an attendance information list of the remote task according to the ID number of the remote task and the plurality of branch point addresses of the remote task.
4. The attendance method based on multiple attendance locations of claim 3, wherein the generating of the attendance information list for the remote task from the ID number of the remote task and the multiple point addresses of the remote task comprises:
acquiring ID information in the basic information of the second user from the preset database according to the name information of the remote task, and adding the ID information of the second user to the attendance information list;
and associating the attendance information list with a preset trip list of the second user and storing the attendance information list in the preset database.
5. The attendance method based on multiple attendance locations of claim 1, wherein the receiving the attendance range for each minute point address of the remote task set by the first user in the attendance information list based on a preset map comprises:
a1, reading any branch point address of the remote task, and determining the position information of the branch point address from the preset map;
a2, setting a first distance value of the position information reaching the branch point address in the preset map according to the position information of the branch point address, and generating an attendance range of the branch point address;
a3, repeating A1-A2 until the attendance range of all the branch point addresses of the remote task is obtained.
6. The attendance method based on multiple attendance positions of claim 1, wherein the monitoring of the second distance value between the position of the second user and the position of each branch point address in real time, and when any second distance value is smaller than or equal to the first distance value, generating the attendance success information of the second user comprises:
b1, reading the position information of the arbitrary branch point address of the remote task, and taking the latitude and longitude in the position information of the branch point address and the position information of the second user as parameters;
b2, inputting the parameters into a preset distance calculation formula to perform calculation, and obtaining a second distance value of the position information of the second user reaching the branch point address;
b3, repeating B1-B2 until a second distance value of the second user reaching all the branch point addresses is calculated.
And B4, monitoring the change of the position of the second user and the positions of all the branch point addresses in real time, and generating attendance success information of the second user in the attendance information list when a second distance value of the second user from any branch point address is smaller than or equal to the first distance value of the branch point address.
7. The attendance method based on multiple attendance locations of claim 6, wherein the preset distance calculation formula comprises:
wherein w is a second distance value from the location of the second user to the location of the arbitrary branch point address, d is a tangent activation function of the longitude and latitude coordinates of the second user, f is the earth oblateness, h1 is a first return value of a reverse cut activation function of the longitude and latitude coordinates of the second user, h2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user, and s2 is a second return value of the reverse cut activation function of the longitude and latitude coordinates of the second user1A longitude value, g, being a longitude and latitude coordinate of the second user1A latitude value, s, of the latitude and longitude coordinate of the second user2Longitude value g of longitude and latitude coordinates of the arbitrary branch point address of the remote task2And the latitude value is the latitude value of the latitude and longitude coordinate of the arbitrary branch point address of the remote task, and PI is the circumference ratio.
8. An attendance device based on a plurality of attendance locations, the device comprising:
a receiving module to: receiving a request for creating a remote task sent by a first user, and generating an attendance information list of the remote task according to attribute information of the remote task;
a feedback module to: feeding back the attendance information list of the remote task to the first user, receiving an attendance range of each branch point address of the remote task, which is set in the attendance information list by the first user based on a preset map, and feeding back the attendance information list of the remote task to a second user;
a determination module, the determination module configured to: when it is monitored that the second user initiates attendance access to the remote task, judging whether the attendance information list of the remote task stores the ID information of the second user or not;
an application module to: and if the ID information of the second user is stored, monitoring a second distance value between the position of the second user and the position of each branch point address in real time, and generating attendance success information of the second user when any second distance value is smaller than or equal to the first distance value.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a program executable by the at least one processor to enable the at least one processor to perform a method for attendance based on multiple attendance locations as claimed in any of claims 1 to 7.
10. A computer-readable medium, wherein the computer-readable medium stores an attendance program for a plurality of attendance locations, and wherein the attendance program for the plurality of attendance locations, when executed by a processor, implements the steps of the method for attendance based on the plurality of attendance locations as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227414.2A CN114613031A (en) | 2022-03-08 | 2022-03-08 | Attendance checking method, device, equipment and medium based on multiple attendance checking positions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227414.2A CN114613031A (en) | 2022-03-08 | 2022-03-08 | Attendance checking method, device, equipment and medium based on multiple attendance checking positions |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114613031A true CN114613031A (en) | 2022-06-10 |
Family
ID=81860972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210227414.2A Pending CN114613031A (en) | 2022-03-08 | 2022-03-08 | Attendance checking method, device, equipment and medium based on multiple attendance checking positions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114613031A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180047297A1 (en) * | 2016-08-10 | 2018-02-15 | Steven Harper-Ray | Attendance monitoring system |
US20210287472A1 (en) * | 2018-12-27 | 2021-09-16 | Shenzhen Sensetime Technology Co., Ltd. | Attendance management system and method, and electronic device |
-
2022
- 2022-03-08 CN CN202210227414.2A patent/CN114613031A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180047297A1 (en) * | 2016-08-10 | 2018-02-15 | Steven Harper-Ray | Attendance monitoring system |
US20210287472A1 (en) * | 2018-12-27 | 2021-09-16 | Shenzhen Sensetime Technology Co., Ltd. | Attendance management system and method, and electronic device |
Non-Patent Citations (3)
Title |
---|
张显库, 陈伟: "用VB实现船舶运动航迹控制轨迹", 中国航海, no. 01, 30 March 2002 (2002-03-30) * |
李书严;李伟;王京丽;: "网上雷达回波经纬度定位系统的设计与建立", 气象科技, no. 04, 25 August 2006 (2006-08-25) * |
赵家文;刘丽娟;吴智义;: "根据经纬度计算两微波站间的距离及微波天线的方位角", 内蒙古广播与电视技术, no. 04, 15 December 2012 (2012-12-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190188933A1 (en) | Mobile Device Attendance Verification | |
JP2007034712A (en) | Maintenance support system, maintenance support method, and maintenance support program | |
CN113268336B (en) | Service acquisition method, device, equipment and readable medium | |
US10133682B2 (en) | Managing grouped student devices with timed locks | |
US9912675B2 (en) | Method, system and apparatus for geo-verification | |
CN106779585A (en) | Method, system and mobile terminal for supervising architectural engineering | |
KR102498045B1 (en) | Groupware System for Providing Education Information to Teacher and Student | |
Gharaibeh | Managing the cost of power transmission projects: Lessons learned | |
US11182704B2 (en) | Booking system for personnel supply chains | |
Shinde et al. | Design and development of geofencing based attendance system for mobile application | |
US20160381004A1 (en) | Certification management system | |
CN107103447A (en) | Page configuration method and apparatus | |
CN114613031A (en) | Attendance checking method, device, equipment and medium based on multiple attendance checking positions | |
AU2022100094A4 (en) | Booking system for personnel supply chains | |
CN112396314A (en) | Task allocation method and device, electronic equipment and storage medium | |
CA2911023A1 (en) | User profile database system | |
KR20190117048A (en) | System and Method to prevent unjustifiable attendance based on location tracking for preventing personal information leakage | |
Siles et al. | An integrated academic system prototype using accidents and crises management as PBL | |
CN113850196A (en) | Conference monitoring device, conference monitoring equipment and conference monitoring storage medium based on artificial intelligence | |
CN112968932A (en) | Network course teaching method and device, computer equipment and storage medium | |
CN111415280A (en) | Teacher management system based on WeChat applet | |
CN109785198A (en) | Discipline restriction method, apparatus, medium and electronic equipment based on data analysis | |
Zefanya et al. | Design of student labor information system mobile application using ionic framework | |
Basri et al. | Digital campus | |
Sinthiya et al. | Electronic Attendance with Android-Based QR Code at STMIK Pringsewu to Improve Student and Lecturer Discipline in Lectures |
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 |