Attendance method, device, equipment and medium based on multiple attendance locations

By generating attendance information lists and real-time monitoring of employee locations, the problem of the inability to support multiple points of remote attendance and employees' independent selection of attendance locations in the existing technology is solved, and the automatic binding and unbinding of employee lists and remote tasks is realized, improving the flexibility and efficiency of attendance management.

CN114613031BActive Publication Date: 2025-03-18PINGAN INT SMART CITY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210227414.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-08
Publication Date
2025-03-18
Estimated Expiration
2042-03-08

AI Technical Summary

Technical Problem

The existing attendance methods cannot flexibly support the need for multiple points to remote attendance and field employees to independently select attendance locations, and cannot automatically bind and release the attendance information list of employee lists and remote tasks.

Method used

By receiving a request to create a remote task, a list of attendance information is generated and the user allows the attendance range of the point address on the preset map. Monitor the distance between the employee position and the point address in real time. When the preset distance is reached, the attendance success information will be automatically generated, and the employee list and the attendance information list for remote tasks will be automatically bound or released.

Benefits of technology

It realizes flexible binding and unbinding between employees and multiple attendance locations, supports employees to independently select attendance locations, and reduces the administrator's operation steps and notification frequency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114613031B_ABST
    Figure CN114613031B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence technology, and provides an attendance method, device, equipment and medium based on multiple attendance locations. The method comprises: receiving a request for creating a remote task sent by a first user, generating an attendance information list according to the attribute information of the remote task; feeding back the attendance information list to the first user, setting the 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 an attendance access to the remote task, determining whether the ID information of the second user is stored in the attendance information list; if the ID information of the second user is stored, monitoring the second distance value between the location of the second user and the location of each branch address in real time, and generating the second user's attendance success information when any second distance value is less than or equal to the first distance value. The present invention also relates to the field of blockchain technology, and the above-mentioned attendance information list and ID information can also be stored in a node of a blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an attendance method, device, equipment and medium based on multiple attendance locations. Background Art

[0002] Currently, most online attendance methods are to install designated software on the mobile phones of field employees. When field employees arrive at the attendance location, they sign in through the software. Usually, each field employee is bound to the attendance location one-to-one, which is the main way to conduct attendance for field employees.

[0003] Due to some reasons (such as inconvenience for field employees to travel), it may be difficult to gather field employees in different geographical locations to execute requests (such as training, meetings) in one place, so a method of executing requests at multiple points has emerged (such as remote training and teaching at different points). However, at present, the existing attendance method cannot flexibly support the needs of multiple points for remote attendance and field employees to choose their own attendance locations. When field employees change their attendance locations midway, the existing attendance method can only notify the corresponding administrators one by one and modify the corresponding attendance information list, and cannot support the automatic binding and release of the field employee list with the attendance information list of all remote tasks. Summary of the invention

[0004] In view of the above, the present invention provides an attendance method, device, equipment and medium based on multiple attendance locations, which aims to solve the technical problems that the existing attendance method in the prior art cannot flexibly support the needs of remote attendance at multiple branches and field employees to independently select attendance locations, and when the attendance location of field employees changes midway, it cannot support the automatic binding and release of the list of field employees and the attendance information list of all remote tasks.

[0005] To achieve the above object, the present invention provides an attendance method based on multiple attendance locations, the method comprising:

[0006] 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;

[0007] Feedback the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user;

[0008] When it is detected that the second user initiates an attendance access to the remote task, determining whether the ID information of the second user is stored in the attendance information list of the remote task;

[0009] If the ID information of the second user is stored, the second distance value between the location of the second user and the location of each branch address is monitored in real time, and when any of the second distance values ​​is less than or equal to the first distance value, attendance success information of the second user is generated.

[0010] Preferably, before generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:

[0011] A preset itinerary is generated for the second user according to the basic information of the second user, the preset business trip location, the preset business trip time period and the name information of the remote task to be participated in, and the preset itinerary is stored in a preset database.

[0012] Preferably, generating the attendance information list of the remote task according to the attribute information of the remote task includes:

[0013] Generate an ID number of the remote task according to the name information, execution time information, and attendance time information of the remote task;

[0014] An attendance information list of the remote task is generated according to the ID number of the remote task and the multiple branch addresses of the remote task.

[0015] Preferably, generating the attendance information list of the remote task according to the ID number of the remote task and the multiple branch addresses of the remote task includes:

[0016] Acquire the ID information in the basic information of the second user from the preset database according to the name information of the remote task, and add the ID information of the second user to the attendance information list;

[0017] The attendance information list is associated with the preset schedule of the second user and stored in the preset database.

[0018] Preferably, the receiving the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map includes:

[0019] A1. Read any sub-point address of the remote task and determine the location information of the sub-point address from the preset map;

[0020] A2. Setting a first distance value to the location information of the sub-point address in the preset map according to the location information of the sub-point address to generate an attendance range for the sub-point address;

[0021] A3. Repeat A1-A2 until the attendance range of all the branch addresses of the remote task is obtained.

[0022] Preferably, the real-time monitoring of the second distance value between the location of the second user and the location of each branch address, when any of the second distance values ​​is less than or equal to the first distance value, generating the attendance success information of the second user, includes:

[0023] B1. Read the location information of any sub-point address of the remote task, and use the location information of the sub-point address and the latitude and longitude in the location information of the second user as parameters;

[0024] B2. Input the parameters into a preset distance calculation formula to perform calculation to obtain a second distance value of the location information of the second user reaching the sub-point address;

[0025] B3. Repeat B1-B2 until the second distance value of the second user to all the branch addresses is calculated.

[0026] B4. Monitor the changes in the location of the second user and the locations of all the branch addresses in real time, and when it is calculated that the second distance value from the second user to the arbitrary branch address is less than or equal to the first distance value of the branch address, generate the attendance success information of the second user in the attendance information list.

[0027] Preferably, the preset distance calculation formula includes:

[0028]

[0029] Wherein, w is the second distance value from the location of the second user to the location of the arbitrary point address, d is the tangent activation function of the latitude and longitude coordinates of the second user, f is the earth flattening, h1 is the first return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, h2 is the second return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, s 1 is the longitude value of the latitude and longitude coordinates of the second user, g 1 is the latitude value of the latitude and longitude coordinates of the second user, s 2 is the longitude value of the latitude and longitude coordinates of any point address of the remote task, g 2 is the latitude value of the longitude and latitude coordinates of any point address of the remote task, and PI is the pi.

[0030] To achieve the above object, the present invention further provides an attendance device based on multiple attendance locations, the device comprising:

[0031] A receiving module, the receiving module is used to: receive a request for creating a remote task sent by a first user, and generate an attendance information list of the remote task according to the attribute information of the remote task;

[0032] A feedback module, the feedback module is used to: feed back the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user;

[0033] A judgment module, the judgment module is used to: when monitoring that the second user initiates an attendance access to the remote task, determine whether the ID information of the second user is stored in the attendance information list of the remote task;

[0034] An application module, wherein the application module is used to: if the ID information of the second user is stored, monitor in real time the second distance value between the location of the second user and the location of each branch address, and generate attendance success information for the second user when any of the second distance values ​​is less than or equal to the first distance value.

[0035] To achieve the above object, the present invention further provides an electronic device, the electronic device comprising:

[0036] at least one processor; and,

[0037] a memory communicatively connected to the at least one processor; wherein,

[0038] The memory stores a program executable by the at least one processor, and the program is executed by the at least one processor so that the at least one processor can execute the attendance method based on multiple attendance locations as claimed in any one of claims 1 to 7.

[0039] To achieve the above objectives, the present invention also provides a computer-readable medium, which stores attendance programs for multiple attendance locations. When the attendance programs for multiple attendance locations are executed by a processor, the steps of the attendance method based on multiple attendance locations as described in any one of claims 1 to 7 are implemented.

[0040] The present invention generates an attendance information list of the remote task using the ID number of the remote task and multiple branch addresses of the remote task, thereby realizing one-to-many binding between employees and attendance locations. When an employee views the attendance information list, the distance from all positions of the employee to the position of each branch address is calculated according to a preset distance calculation formula, and the distance from the employee to each branch address is displayed in the attendance information list, so that the employee can flexibly and independently select the attendance location for attendance.

[0041] The employee's preset itinerary is associated with the attendance information list of the remote task and stored in the preset database. When the preset business trip location of the employee's preset itinerary changes, the employee's ID information is automatically added or deleted from the corresponding attendance information list according to the association, avoiding the prior art of notifying the corresponding administrator and modifying the attendance information list one by one, and supporting the automatic binding and release of the employee's list with the attendance information list of all remote tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flowchart diagram of a preferred embodiment of the attendance method based on multiple attendance locations of the present invention;

[0043] Figure 2 A schematic diagram of a module of a preferred embodiment of an attendance device for multiple attendance locations of the present invention;

[0044] Figure 3 A schematic diagram of a preferred embodiment of the electronic device of the present invention;

[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0047] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0048] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0049] The present invention provides an attendance method based on multiple attendance locations. Figure 1FIG. 1 is a flow chart of an embodiment of an attendance method based on multiple attendance locations of the present invention. The method can be executed by an electronic device, and the electronic device can be implemented by software and / or hardware. The attendance method based on multiple attendance locations includes:

[0050] 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.

[0051] In this embodiment, the first user refers to an administrator who has the authority to create remote tasks in the enterprise, and the enterprise refers to a head office with more than one branch or sub-branch. A remote task can be an online classroom for employee training organized by the enterprise in order to improve the professional level of employees. The remote task includes the task name (for example, the name of the newly created remote task), the task execution time (for example, the class time), the attendance time and the task address. The attendance information list refers to an online form for employee attendance. For example, the table generates the task number, name, subject content, speaker, start time of the task, attendance time, ID information of the task participants, task address and information buttons for attendance check-in, etc.

[0052] In one embodiment, before generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:

[0053] A preset itinerary is generated for the second user according to the basic information of the second user, the preset business trip location, the preset business trip time period and the name information of the remote task to be participated in, and the preset itinerary is stored in a preset database.

[0054] The second user refers to the field employee in the enterprise who is going to participate in the remote task. The basic information of the second user includes the name, ID information, position and other information of the second user. The preset database refers to the cloud HR database built by the enterprise. When each field employee participates in the remote task (for example, out-of-town business or training), the attendance data needs to be uploaded to the cloud HR database (for example, uploading employee information and the required time period), which is used to dynamically manage the employee's attendance. The preset business trip location refers to the location information of the second user to participate in the remote task. The preset business trip time period refers to the estimated time period for the second user to participate in the remote task. For example, employee A travels from the enterprise's A city branch to the enterprise's B city branch for training. The estimated time period is: December 18, 2021-December 22, 2021. This four-day time period includes the time between employee A's travel between the A city branch and the B city branch. Before leaving for the B city branch for training, employee A or the enterprise HR needs to upload employee A's preset itinerary to the enterprise's HR database.

[0055] In one embodiment, generating the attendance information list of the remote task according to the attribute information of the remote task includes:

[0056] Generate an ID number of the remote task according to the name information, execution time information, and attendance time information of the remote task;

[0057] An attendance information list of the remote task is generated according to the ID number of the remote task and the multiple branch addresses of the remote task.

[0058] The attribute information of the remote task includes task name, execution time, attendance time and other information. The ID number of the remote task refers to a digital sequence generated by splicing the name information, execution time information, attendance time information and branch address information of the remote task to be created (for example, the name of the remote task to be created is the 1st period of the B City Branch in 2021 (Community Marketing Remote Task), the class time is 9:30-11:30AM on December 20, 2021, and the attendance time is 9:00-9:30AM on December 20, 2021, and the remote task address is the first floor of Beijing Building, No. 1 Beijing Road, City B. A digital sequence is generated by splicing these information, for example, the digital sequence is 202112209301130).

[0059] Multiple branch addresses of a remote task means that a remote task has multiple addresses where tasks can be executed. For example, the first phase of the B City branch (community marketing remote task) has set up remote tasks D, E and F at three different locations in B City. These remote tasks can be delivered by lecturers remotely or by different lecturers on-site. Employees participating in the task can choose which task address to attend for attendance check-in.

[0060] In one embodiment, generating the attendance information list of the remote task according to the ID number of the remote task and the multiple branch addresses of the remote task includes:

[0061] Acquire the ID information in the basic information of the second user from the preset database according to the name information of the remote task, and add the ID information of the second user to the attendance information list;

[0062] The attendance information list is associated with the preset schedule of the second user and stored in the preset database.

[0063] According to the name information of the remote task, the first user obtains a list of all employees participating in the remote task from a preset database, and adds the ID information of each employee in the employee list to the attendance information list. In other embodiments, artificial intelligence matching can be performed based on the name information of the remote task and the name information of the remote task to be participated in the employee's preset schedule. After the match is successful, the employee's ID information is automatically added to the attendance information list, which can reduce the steps for the manager to manually add the employee's ID information to the attendance information list.

[0064] In order to be able to dynamically manage the attendance of employees participating in remote tasks in real time, the second user's preset itinerary is associated with the second user's corresponding attendance information list. When the second user's preset itinerary for participating in remote tasks or the preset business trip time period changes, the second user's ID information is automatically added or deleted from the attendance information list, thereby reducing the problem of complicated attendance modification procedures in the prior art.

[0065] For example, employee A's preset schedule: from December 18, 2021 to December 22, 2021, he will travel from the company's A city branch to the company's B city branch to participate in remote task D. However, on December 20, 2021, the company suddenly notified employee A to go to the company's H city branch to participate in an important remote task K. In this case, employee A or HR personnel will need to modify employee A's preset schedule (for example, the preset business trip location is changed from B city branch to H city branch, and the corresponding preset business trip time period is also modified). If there is a correlation between remote tasks D and remote tasks K, the ID information of employee A is automatically deleted from the attendance information list of remote task D, and correspondingly, the ID information of employee A is automatically added to the attendance information list of remote task K. When the attendance information list corresponding to employee A changes, a prompt message is fed back to the administrator of the corresponding attendance information list to remind the administrator that a certain employee is added or deleted from the attendance information list, so as to avoid the need to notify the corresponding administrators one by one and modify the corresponding attendance information list when the attendance of employees participating in remote tasks changes in the prior art.

[0066] Step S20: Feedback the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user.

[0067] In this embodiment, when the first user receives the attendance information list of the remote task, the location information of each sub-point address of the remote task is determined from the preset map (for example, the positioning center point of each sub-point address is determined by using the positioning system of an electronic device such as an IPAD or a mobile phone), and the attendance range is set as the first distance value of each sub-point address in the attendance information list. The preset map refers to an electronic map installed or built-in in the mobile terminal used by the server, administrator, or employee of the preset database. For example, the positioning center point of each sub-point address is determined in the preset map, and the first distance value (for example, 300 meters) is added to the positioning center point as the radius to generate the attendance range of each sub-point address.

[0068] In one embodiment, the receiving the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map includes:

[0069] A1. Read any sub-point address of the remote task and determine the location information of the sub-point address from the preset map;

[0070] A2. Setting a first distance value to the location information of the sub-point address in the preset map according to the location information of the sub-point address to generate an attendance range for the sub-point address;

[0071] A3. Repeat A1-A2 until the attendance range of all the branch addresses of the remote task is obtained.

[0072] When the first user receives the attendance information list of the remote task, the positioning system of the mobile terminal used by the administrator (for example, an electronic device with a positioning system such as an IPAD or a mobile phone) is used to determine the latitude and longitude of each sub-point address as the positioning center point of each sub-point address, and the first user adds a preset radius range to the positioning center point of each sub-point address according to actual scene requirements as the first distance value of each sub-point address, fills the first distance value of each sub-point address into the space corresponding to the attendance information list of the remote task to generate the attendance range of each sub-point address, and stores the filled attendance information list in the preset database and replaces the original stored attendance information list.

[0073] Step S30: When it is monitored that the second user initiates an attendance access to the remote task, it is determined whether the ID information of the second user is stored in the attendance information list of the remote task.

[0074] In this embodiment, when the second user views the remote task details page in the attendance information list from the preset database and clicks the "Attendance Sign-in" button, the account and password provided by the second user when logging into the preset database are read, and the ID information of the second user when registering the account is obtained from the account and password. The ID information of the second user is matched with the ID information of the list of all employees participating in the remote task in the attendance information list. If the ID information of the second user is stored in the attendance information list, the match is successful, that is, the second user can participate in the remote task and proceed to the next step of verification attendance sign-in.

[0075] Step S40: If the ID information of the second user is stored, the second distance value between the location of the second user and the location of each branch address is monitored in real time, and when any of the second distance values ​​is less than or equal to the first distance value, attendance success information of the second user is generated.

[0076] Specifically, step S40 includes:

[0077] B1. Read the location information of any sub-point address of the remote task, and use the location information of the sub-point address and the latitude and longitude in the location information of the second user as parameters;

[0078] B2. Input the parameters into a preset distance calculation formula to perform calculation to obtain a second distance value of the location information of the second user reaching the sub-point address;

[0079] B3. Repeat B1-B2 until the second distance value of the second user to all the branch addresses is calculated.

[0080] B4. Monitor the changes in the location of the second user and the locations of all the branch addresses in real time, and when it is calculated that the second distance value from the second user to the arbitrary branch address is less than or equal to the first distance value of the branch address, generate the attendance success information of the second user in the attendance information list.

[0081] According to the positioning system of the mobile terminal used by the second user to log in to the preset database, the location information of the second user in the preset map is determined, the latitude and longitude of the location information of the second user and the location information of each sub-point address are read and input into the preset distance calculation formula, and the second distance value of the second user to all sub-point addresses is obtained, and the second distance value change of the second user's location information to the location of each sub-point address is monitored in real time. When any second distance value is less than or equal to the first distance value, that is, the location of the second user is within the attendance range set by the remote task, the second user's attendance success information is generated and the second preset information (for example, hello, the attendance check-in has been completed) is fed back to the second user, and the attendance success information is filled into the corresponding space in the attendance information list of the remote task, so that the administrator can check which employees have completed the attendance check-in. If the second user arrives at the remote task site, due to the poor signal of the mobile terminal or other force majeure factors, the second user cannot check in for attendance, then the administrator will check in on behalf of the second user at the management end and store it in the database.

[0082] In one embodiment, the preset distance calculation formula includes:

[0083]

[0084] Wherein, w is the second distance value from the location of the second user to the location of the arbitrary point address, d is the tangent activation function of the latitude and longitude coordinates of the second user, f is the earth flattening, h1 is the first return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, h2 is the second return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, s 1 is the longitude value of the latitude and longitude coordinates of the second user, g 1 is the latitude value of the latitude and longitude coordinates of the second user, s 2 is the longitude value of the latitude and longitude coordinates of any point address of the remote task, g 2 is the latitude value of the longitude and latitude coordinates of any point address of the remote task, and PI is the pi.

[0085] In this embodiment, a connection port of a preset database is installed in the mobile terminal used by the second user, and the preset distance calculation formula is written into the mobile terminal of the second user through the connection port. When it is necessary to calculate the location information of the second user to each branch address, the CPU in the mobile terminal of the second user is used to calculate the preset distance calculation formula, and the CPU of the preset database is not required to calculate, which can avoid delays caused by poor network signals and improve calculation efficiency. In other embodiments, the preset distance calculation formula can also be written into the server of the preset database at the same time, and according to the preset network signal judgment module (for example, the network signal judgment module monitors the strength of the network signal), the mobile terminal of the second user or the server can be freely switched to calculate the preset distance calculation formula.

[0086] Reference Figure 2 FIG. 1 is a schematic diagram of functional modules of an attendance device 100 based on multiple attendance locations according to the present invention.

[0087] The attendance device 100 for multiple attendance positions of the present invention can be installed in an electronic device. According to the functions to be implemented, the attendance device 100 for multiple attendance positions can include a receiving module 110, a feedback module 120, a judgment module 130 and an application module 140. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0088] In this embodiment, the functions of each module / unit are as follows:

[0089] A receiving module, the receiving module is used to: receive a request for creating a remote task sent by a first user, and generate an attendance information list of the remote task according to the attribute information of the remote task;

[0090] A feedback module, the feedback module is used to: feed back the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user;

[0091] A judgment module, the judgment module is used to: when monitoring that the second user initiates an attendance access to the remote task, determine whether the ID information of the second user is stored in the attendance information list of the remote task;

[0092] An application module, wherein the application module is used to: if the ID information of the second user is stored, monitor in real time the second distance value between the location of the second user and the location of each branch address, and generate attendance success information for the second user when any of the second distance values ​​is less than or equal to the first distance value.

[0093] In one embodiment, before generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes:

[0094] A preset itinerary is generated for the second user according to the basic information of the second user, the preset business trip location, the preset business trip time period and the name information of the remote task to be participated in, and the preset itinerary is stored in a preset database.

[0095] In one embodiment, generating the attendance information list of the remote task according to the attribute information of the remote task includes:

[0096] Generate an ID number of the remote task according to the name information, execution time information, and attendance time information of the remote task;

[0097] An attendance information list of the remote task is generated according to the ID number of the remote task and the multiple branch addresses of the remote task.

[0098] In one embodiment, generating the attendance information list of the remote task according to the ID number of the remote task and the multiple branch addresses of the remote task includes:

[0099] Acquire the ID information in the basic information of the second user from the preset database according to the name information of the remote task, and add the ID information of the second user to the attendance information list;

[0100] The attendance information list is associated with the preset schedule of the second user and stored in the preset database.

[0101] In one embodiment, the receiving the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map includes:

[0102] A1. Read any sub-point address of the remote task and determine the location information of the sub-point address from the preset map;

[0103] A2. Setting a first distance value to the location information of the sub-point address in the preset map according to the location information of the sub-point address to generate an attendance range for the sub-point address;

[0104] A3. Repeat A1-A2 until the attendance range of all the branch addresses of the remote task is obtained.

[0105] In one embodiment, the real-time monitoring of the second distance value between the location of the second user and the location of each branch address, when any of the second distance values ​​is less than or equal to the first distance value, generating the attendance success information of the second user, includes:

[0106] B1. Read the location information of any sub-point address of the remote task, and use the location information of the sub-point address and the latitude and longitude in the location information of the second user as parameters;

[0107] B2. Input the parameters into a preset distance calculation formula to perform calculation to obtain a second distance value of the location information of the second user reaching the sub-point address;

[0108] B3. Repeat B1-B2 until the second distance value of the second user to all the branch addresses is calculated.

[0109] B4. Monitor the changes in the location of the second user and the locations of all the branch addresses in real time, and when it is calculated that the second distance value from the second user to the arbitrary branch address is less than or equal to the first distance value of the branch address, generate the attendance success information of the second user in the attendance information list.

[0110] In one embodiment, the preset distance calculation formula includes:

[0111]

[0112] Wherein, w is the second distance value from the location of the second user to the location of the arbitrary point address, d is the tangent activation function of the latitude and longitude coordinates of the second user, f is the earth flattening, h1 is the first return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, h2 is the second return value of the inverse tangent activation function of the latitude and longitude coordinates of the second user, s 1 is the longitude value of the latitude and longitude coordinates of the second user, g 1 is the latitude value of the latitude and longitude coordinates of the second user, s 2 is the longitude value of the latitude and longitude coordinates of any point address of the remote task, g 2 is the latitude value of the longitude and latitude coordinates of any point address of the remote task, and PI is the pi.

[0113] Reference Figure 3 FIG. 1 is a schematic diagram of a preferred embodiment of an electronic device 1 of the present invention.

[0114] The electronic device 1 includes but is not limited to: a memory 11, a processor 12, a display 13 and a network interface 14. The electronic device 1 is connected to a network through the network interface 14 to obtain raw data. The network may be a wireless or wired network such as an intranet, the Internet, a global system of mobile communication (GSM), a wideband code division multiple access (WCDMA), a 4G network, a 5G network, Bluetooth, Wi-Fi, a call network, etc.

[0115] The memory 11 includes at least one type of readable medium, and the readable medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a hard disk or memory of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped with the electronic device 1. Of course, the memory 11 can also include both the internal storage unit of the electronic device 1 and its external storage device. In this embodiment, the memory 11 is generally used to store the operating system and various application software installed on the electronic device 1, such as the program code of the attendance program 10 for multiple attendance locations, etc. In addition, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.

[0116] The processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 12 is generally used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication. In this embodiment, the processor 12 is used to run the program code stored in the memory 11 or process data, such as running the program code of the attendance program 10 for multiple attendance locations.

[0117] The display 13 may be referred to as a display screen or a display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light-emitting diode (OLED) touch device. The display 13 is used to display information processed in the electronic device 1 and to display a visual working interface, such as displaying the results of data statistics.

[0118] The network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and the network interface 14 is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0119] Figure 3 Only the electronic device 1 having components 11 - 14 and the attendance program 10 for multiple attendance locations is shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0120] Optionally, the electronic device 1 may further include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light-emitting diode (Organic Light-Emitting Diode, OLED) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0121] The electronic device 1 may further include a radio frequency (RF) circuit, a sensor, an audio circuit, etc., which will not be described in detail here.

[0122] In the above embodiment, the processor 12 can implement the following steps when executing the attendance program 10 for multiple attendance locations stored in the memory 11:

[0123] 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;

[0124] Feedback the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user;

[0125] When it is detected that the second user initiates an attendance access to the remote task, determining whether the ID information of the second user is stored in the attendance information list of the remote task;

[0126] If the ID information of the second user is stored, the second distance value between the location of the second user and the location of each branch address is monitored in real time, and when any of the second distance values ​​is less than or equal to the first distance value, attendance success information of the second user is generated.

[0127] The storage device may be the memory 11 of the electronic device 1 , or may be another storage device that is communicatively connected to the electronic device 1 .

[0128] For a detailed description of the above steps, please refer to the above Figure 2 Functional module diagram of the embodiment of the attendance device 100 for multiple attendance locations and Figure 1 Description of a flowchart of an embodiment of an attendance method for multiple attendance locations.

[0129] In addition, an embodiment of the present invention further proposes a computer-readable medium, which may be non-volatile or volatile. The computer-readable medium may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, etc. The computer-readable medium includes a data storage area and a program storage area, the data storage area stores data created according to the use of the blockchain node, and the program storage area stores attendance programs 10 for multiple attendance locations. When the attendance programs 10 for the multiple attendance locations are executed by the processor, the following operations are implemented:

[0130] 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;

[0131] Feedback the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user;

[0132] When it is detected that the second user initiates an attendance access to the remote task, determining whether the ID information of the second user is stored in the attendance information list of the remote task;

[0133] If the ID information of the second user is stored, the second distance value between the location of the second user and the location of each branch address is monitored in real time, and when any of the second distance values ​​is less than or equal to the first distance value, attendance success information of the second user is generated.

[0134] The specific implementation of the computer-readable medium of the present invention is substantially the same as the specific implementation of the attendance method based on multiple attendance locations described above, and will not be described in detail herein.

[0135] In another embodiment, the attendance method based on multiple attendance locations provided by the present invention can further ensure the privacy and security of all the above data, and all the above data can also be stored in a blockchain node. For example, attendance information list, ID information, these data can be stored in the blockchain node.

[0136] It should be noted that the blockchain referred to in the present invention is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0137] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can 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 a number of instructions for a terminal device (which can be a mobile phone, a computer, an electronic device, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0139] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An attendance method based on multiple attendance locations, characterized in that: The method comprises: 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; Feedback the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user; When it is detected that the second user initiates an attendance access to the remote task, determining whether the ID information of the second user is stored in the attendance information list of the remote task; If the ID information of the second user is stored, execute: B1. Read the location information of any sub-point address of the remote task, and use the location information of the sub-point address and the latitude and longitude in the location information of the second user as parameters; B2. Input the parameters into a preset distance calculation formula to perform calculation to obtain a second distance value of the location information of the second user reaching the sub-point address, wherein the preset distance calculation formula includes: in, is a second distance value from the location of the second user to the arbitrary point address, is the tangent activation function of the latitude and longitude coordinates of the second user, is the Earth's oblateness, is the first return value of the inverse activation function of the latitude and longitude coordinates of the second user, is the second return value of the inverse activation function of the latitude and longitude coordinates of the second user, is the longitude value of the latitude and longitude coordinates of the second user, is the latitude value of the latitude and longitude coordinates of the second user, is the longitude value of the latitude and longitude coordinates of any point address of the remote task, is the latitude value of the longitude and latitude coordinates of any point address of the remote task, is the ratio of pi; B3, repeat B1-B2 until the second distance value of the second user to all the branch addresses is calculated; B4. Monitor the changes in the location of the second user and the locations of all the branch addresses in real time, and when it is calculated that the second distance value from the second user to the arbitrary branch address is less than or equal to the first distance value of the branch address, generate the attendance success information of the second user in the attendance information list.

2. The attendance method based on multiple attendance locations as claimed in claim 1, characterized in that: Before generating the attendance information list of the remote task according to the attribute information of the remote task, the method further includes: A preset itinerary is generated for the second user according to the basic information of the second user, the preset business trip location, the preset business trip time period and the name information of the remote task to be participated in, and the preset itinerary is stored in a preset database.

3. The attendance method based on multiple attendance locations as claimed in claim 1, characterized in that: The step of generating the attendance information list of the remote task according to the attribute information of the remote task comprises: Generate an ID number of the remote task according to the name information, execution time information, and attendance time information of the remote task; An attendance information list of the remote task is generated according to the ID number of the remote task and the multiple branch addresses of the remote task.

4. The attendance method based on multiple attendance locations as claimed in claim 3, characterized in that: The step of generating the attendance information list of the remote task according to the ID number of the remote task and the multiple branch addresses of the remote task includes: According to the name information of the remote task, the ID information in the basic information of the second user is obtained from the preset database, and the ID information of the second user is added to the attendance information list; The attendance information list is associated with the preset schedule of the second user and stored in the preset database.

5. The attendance method based on multiple attendance locations as claimed in claim 1, characterized in that: The receiving the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map includes: A1. Read any sub-point address of the remote task and determine the location information of the sub-point address from the preset map; A2. Setting a first distance value to the location information of the sub-point address in the preset map according to the location information of the sub-point address to generate an attendance range for the sub-point address; A3. Repeat A1-A2 until the attendance range of all the branch addresses of the remote task is obtained.

6. An attendance device based on multiple attendance locations, used to execute the attendance method based on multiple attendance locations as described in any one of claims 1 to 5, characterized in that: The device comprises: A receiving module, the receiving module is used to: receive a request for creating a remote task sent by a first user, and generate an attendance information list of the remote task according to the attribute information of the remote task; A feedback module, the feedback module is used to: feed back the attendance information list of the remote task to the first user, receive the attendance range of each branch address of the remote task set by the first user in the attendance information list based on a preset map, and feed back the attendance information list of the remote task to the second user; A judgment module, the judgment module is used to: when monitoring that the second user initiates an attendance access to the remote task, determine whether the ID information of the second user is stored in the attendance information list of the remote task; An application module, wherein the application module is used to: if the ID information of the second user is stored, monitor in real time the second distance value between the location of the second user and the location of each branch address, and generate attendance success information for the second user when any of the second distance values ​​is less than or equal to the first distance value.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a program executable by the at least one processor, and the program is executed by the at least one processor so that the at least one processor can execute the attendance method based on multiple attendance locations as claimed in any one of claims 1 to 5.

8. A computer-readable medium, characterized in that The computer-readable medium stores attendance programs for multiple attendance locations. When the attendance programs for multiple attendance locations are executed by the processor, the steps of the attendance method based on multiple attendance locations as claimed in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Attendance monitoring system

    US20180047297A1