Attendance checking method and device and computer equipment
By generating a dynamic attendance reference signal list and comparing wireless local communication signals with similarity thresholds, the problems of establishing a signal fingerprint database and signal tampering in mobile terminal attendance are solved, enabling accurate attendance check-in at temporary locations and preventing remote proxy check-in.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-17
- Publication Date
- 2026-03-31
AI Technical Summary
In scenarios such as corporate training, when using mobile terminals for attendance tracking, there are problems such as difficulty in establishing an environmental signal fingerprint database, location signal deviation, and susceptibility to tampering, leading to inaccurate attendance statistics.
By acquiring a list of wireless local area communication signals identified by the terminal, a dynamic attendance reference signal list and similarity threshold are generated. Based on the comparison of the signal list, it is verified whether the check-in terminals are in the same physical environment. The organization's unique identifier is used to filter fixed device signals, and the validity of the check-in request is judged by combining the signal strength and overlap.
It enables accurate attendance tracking without the need for a pre-set signal fingerprint database, is suitable for temporary venues, improves the accuracy of indoor attendance tracking, and prevents remote signature-for-signal and signal forgery.
Smart Images

Figure CN121768091A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile Internet location service technology, and in particular to an attendance method, device and computer equipment. Background Technology
[0002] Mobile attendance tracking avoids the need for dedicated hardware; employees can complete attendance checks using only their smartphones, significantly simplifying the process, improving efficiency, and offering advantages such as convenience, low cost, and ease of deployment. However, in scenarios like corporate training attendance, the temporary and variable nature of the check-in location presents challenges. Firstly, while traditional wireless fingerprint recognition methods offer high accuracy, they require pre-collecting signal fingerprints and maintaining a static fingerprint database. For frequently changing check-in locations, this method is costly and inflexible. Secondly, indoor positioning signals can be obstructed or drift, and are susceptible to software tampering and remote proxy signing, making accurate attendance statistics difficult. Therefore, a new attendance method, device, and computer equipment are urgently needed to overcome these problems. Summary of the Invention
[0003] To address the challenges of establishing an environmental signal fingerprint database, location signal deviation, and susceptibility to tampering encountered when using mobile terminals for attendance tracking, this application provides the following technical solutions.
[0004] Firstly, an attendance method is provided, including: In response to receiving an attendance request initiated by the first terminal, the system obtains a list of first signals identified by the first terminal, wherein the list of first signals includes the first wireless local area communication signal identified by the first terminal.
[0005] Based on the first signal list, determine the attendance reference signal list.
[0006] Based on the attendance reference signal list, a similarity threshold is determined, which is used to determine whether the check-in request from the second terminal is valid.
[0007] The system receives a check-in request from the second terminal and obtains a list of second signals identified by the second terminal, wherein the list of second signals includes second wireless local area communication signals identified by the second terminal.
[0008] The response result for the check-in request is determined based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0009] Further, based on the first signal list, an attendance reference signal list is determined, including: Obtain the organization unique identifier of the device that generates any first wireless local area communication signal in the first signal list.
[0010] According to the organization unique identifier, filter out the fixed device signal list from the first signal list, where the fixed device signal list includes fixed device signals, and the fixed device signals are wireless local area communication signals generated by fixed devices.
[0011] Determine the attendance reference signal list according to the fixed device signal list.
[0012] Further, determining the attendance reference signal list according to the fixed device signal list includes: Generate an attendance reference signal list based on any fixed device signal in the fixed device signal list.
[0013] Further, determining the attendance reference signal list according to the fixed device signal list further includes: Send the fixed device signal list to the first terminal for the user of the first terminal to select and feedback at least one fixed device signal.
[0014] Obtain at least one fixed device signal feedback by the user of the first terminal.
[0015] Generate an attendance reference signal list based on at least one fixed device signal.
[0016] Further, the attendance reference signal list includes at least one attendance reference signal. According to the attendance reference signal list, determining the similarity threshold includes: In response to N S < N, then take the product of the number of attendance reference signals and the base weight as the similarity threshold, where N S represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number.
[0017] In response to N S ≥ N, then take the similarity preset value as the similarity threshold.
[0018] Further, according to the attendance reference signal list, the second signal list, and the similarity threshold, determining the response result of the check-in request includes: Traverse the second wireless local area communication signals in the second signal list, compare any second wireless local area communication signal with the attendance reference list, and determine the matching score of the second wireless local area communication signal. [[ID= forty-two]]
[0019] According to the matching score of any second wireless local area communication signal in the second signal list, determine the total matching score corresponding to the check-in request. >
[0020] Compare the total matching score with the similarity threshold.
[0021] In response to the total matching score being greater than the similarity threshold, the first result is used as the response result, where the first result is used to indicate successful check-in.
[0022] Furthermore, comparing any second wireless local area communication signal with the attendance reference list to determine the matching score of the second wireless local area communication signal includes: According to: S i = M i · (W B + W R · P i ), determine the matching score of the second wireless local area communication signal, where S i represents the matching score of the second wireless local area communication signal, i is a natural number used to correspond to the second wireless local area communication signal in the second signal list, W B represents the basic weight, W R represents the precision weight, M i takes a value of 0 or 1. When M i takes a value of 0, it means that the second wireless local area communication signal does not exist in the attendance reference list. When M i takes a value of 1, it means that the second wireless local area communication signal exists in the attendance reference list. P i takes a value of 0 or 1. When P i takes a value of 0, it means that: |R T - R S | ≥ R. When P i takes a value of 1, it means that: |R T - R S | < R, where R T represents the signal strength recognized by the first terminal for the signal corresponding to the second wireless local area communication signal in the attendance reference list, R S represents the signal strength recognized by the second terminal for the second wireless local area communication signal, and R represents the signal strength difference threshold.
[0023] Furthermore, the attendance method further includes: In response to the response result being the second result, record the second result in the log, and / or send a prompt message to the second terminal, where the second result is used to indicate failed check-in.
[0024] In a second aspect, an attendance device is provided, including: A first signal acquisition module, configured to, in response to receiving an attendance request initiated by a first terminal, acquire a first signal list recognized by the first terminal, where the first signal list includes a first wireless local area communication signal recognized by the first terminal.
[0025] The reference list generation module is used to determine the attendance reference signal list based on the first signal list.
[0026] The threshold determination module is used to determine the similarity threshold based on the attendance reference signal list. The similarity threshold is used to determine whether the check-in request of the second terminal is valid.
[0027] The second signal acquisition module is used to receive the check-in request from the second terminal and acquire the second signal list identified by the second terminal, wherein the second signal list includes the second wireless local area communication signal identified by the second terminal.
[0028] The attendance determination module is used to determine the response result of the check-in request based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0029] Thirdly, a computer device is provided, including a memory, a processor, and an attendance program stored in the memory and executable on the processor. When the processor executes the attendance program, it implements the attendance method described in the first aspect.
[0030] Fourthly, a computer-readable storage medium is provided, on which an attendance program is stored, wherein when the attendance program is executed by a processor, the attendance method described in the first aspect is implemented.
[0031] Fifthly, a computer program product is provided, including a computer program that, when executed by a processor, implements the attendance method described in the first aspect.
[0032] The beneficial effects of the technical solution provided in this application are as follows: By implementing the attendance method, apparatus, and computer equipment disclosed in this application, dynamic attendance reference signals and similarity thresholds can be generated based on the first signal list identified by the first terminal. These signals are then compared with the second signal list identified by the second terminal to verify whether the second terminal performing attendance check-in is in the same physical environment. This achieves an attendance mechanism that does not rely on a preset signal fingerprint database, requires no positioning signals, and is suitable for temporary locations. By establishing a "relative reference system" of wireless local area communication signals to replace the "absolute position" of the check-in terminal, the accuracy of indoor attendance can be improved. This eliminates the need for pre-deploying an environmental fingerprint database, avoids inaccurate indoor positioning, and prevents remote proxy check-in. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a schematic diagram of an attendance method provided in an embodiment of this application; Figure 2 This is a schematic diagram of an attendance device provided in an embodiment of this application; Figure 3 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0036] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The numbers in the accompanying drawings are only used to distinguish individual functional parts or modules and do not indicate logical relationships between parts or modules. The terms “comprising,” “including,” or “including,” and similar terms mean that the element or object preceding the term encompasses the element or object listed following the term and its equivalents, without excluding other elements or objects. The terms “connected,” “linked,” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. “Above,” “below,” “left,” “right,” etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0037] The various embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that in the drawings, the same reference numerals are assigned to components having substantially the same or similar structure and function, and repeated descriptions of them will be omitted.
[0038] To address the problems of establishing an environmental signal fingerprint database, location signal deviation, and susceptibility to tampering when using mobile terminals for attendance tracking, this application provides the following embodiments: In some embodiments, such as Figure 1 As shown, an attendance method includes: S100: In response to receiving an attendance request initiated by the first terminal, the system obtains a list of first signals identified by the first terminal, wherein the list of first signals includes the first wireless local area communication signal identified by the first terminal.
[0039] S200: Determine the attendance reference signal list based on the first signal list.
[0040] S300: Determine the similarity threshold based on the attendance reference signal list. The similarity threshold is used to determine whether the check-in request of the second terminal is valid.
[0041] S400: Receives the check-in request from the second terminal and obtains the second signal list identified by the second terminal, wherein the second signal list includes the second wireless local area communication signal identified by the second terminal.
[0042] S500: Determine the response result of the check-in request based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0043] The first terminal refers to the terminal device that initiates the attendance request. This terminal device communicates with the management backend via a network and is at least capable of searching for existing wireless local area communication signals in the space. It can be a personal computer equipped with a wireless network card, or a mobile terminal such as a smartphone, tablet, or laptop. A smartphone is preferred.
[0044] In this application, the management backend can execute the aforementioned attendance method. Before executing the attendance method, it grants the terminal device the permission of a first terminal, namely, the permission to initiate an attendance request. The management backend records the personnel and their corresponding terminal devices. Based on the actual check-in scenario, it grants a certain person's corresponding terminal device the permission of a first terminal, enabling them to initiate a check-in request. For example, in a certain class, there are three participants: A, B, and C. Among them, A is the teacher of this class, and B and C are students. The management backend will grant A the permission to initiate a check-in request so that B and C can check in. In this scenario, the terminal device corresponding to A is the first terminal, and the terminal devices corresponding to B and C are both second terminals.
[0045] Wireless local area communication (WLAN) signals refer to communication signals that enable data transmission between devices via radio waves within a limited spatial range. They are used to construct wireless local area networks (WLANs) or for short-range point-to-point or point-to-multipoint communication. Illustratively, WiFi signals, Bluetooth signals, Zigbee signals, Z-Wave signals, and UWB signals all fall under this category. Among these, WiFi and Bluetooth signals are the most widely used. This application will use WiFi signals as an example to illustrate the implementation method, but it does not limit the technical solutions implemented using other signals besides WiFi.
[0046] The first wireless local area communication signal refers to the wireless local area communication signal identified by the first terminal. Taking WiFi signals as an example, the first terminal identifies the first wireless local area communication signal by actively scanning the wireless signals broadcast by access points (APs) in the surrounding environment through the wireless network card or WiFi chip built into the first terminal. First, the phone's WiFi chip listens to each channel on the 2.4GHz and / or 5GHz frequency bands in the background or when triggered by the user; it sends "probe request" frames to inquire about nearby WiFi networks; after receiving the frames, the surrounding access points reply with "beacon frames" or periodically broadcast beacon frames. Second, the operating system of the first terminal (e.g., Android / iOS) organizes the received information into a WiFi scan result list. Subsequently, this scan result list is organized into the first signal list.
[0047] An access point is a network device that provides a bridge for wireless devices to connect to a wired network or the Internet. Common access points are fixed devices (such as wireless routers) or WiFi hotspot devices. WiFi hotspot devices are devices with cellular network connectivity and support network sharing functions. Common WiFi hotspot devices include: smartphones, dedicated mobile hotspot devices (such as MiFi devices), cellular routers, tablets, laptops, combinations of USB cellular network cards and computers, in-vehicle hotspot systems, IoT gateway devices, smartwatches, emergency communication devices, and portable base stations. In this application, WiFi hotspot devices will be excluded from the attendance reference signal list.
[0048] The attendance reference signal list, in this embodiment of the application, is a list of signals used in conjunction with a similarity threshold to compare whether the second terminal has performed a valid attendance check-in. Its specific content will be described in detail below.
[0049] In this embodiment, the second terminal is used for check-in. Preferably, it is a mobile terminal. Indicatively, the second terminal can be a smartphone, tablet computer (PAD), laptop computer, smartwatch, or other similar device.
[0050] The second wireless local area communication signal refers to the wireless local area communication signal identified by the second terminal.
[0051] The response to the check-in request is a prompt indicating whether the check-in was successful or failed. This application does not specify the specific format.
[0052] By implementing the above method, dynamic attendance reference signals and similarity thresholds can be generated based on the first signal list identified by the first terminal. These signals are then compared with the second signal list identified by the second terminal to verify whether the second terminal performing attendance check-in is in the same physical environment. This achieves an attendance mechanism that does not rely on a preset signal fingerprint database, requires no location signals, and is suitable for temporary locations. By establishing a wireless local area communication signal comparison mechanism, indoor attendance accuracy is improved.
[0053] Specifically, S200: Based on the first signal list, determine the attendance reference signal list, including: S210: Obtain the organization-unique identifier of the device that generates any of the first wireless local area communication signals in the first signal list.
[0054] S220: Based on the organization's unique identifier, filter the first signal list to obtain a fixed device signal list, wherein the fixed device signal list includes fixed device signals, which are wireless local area communication signals generated by fixed devices.
[0055] S230: Determine the attendance reference signal list based on the fixed equipment signal list.
[0056] The device that generates any of the first wireless local area communication signals in the first signal list includes: fixed devices and WiFi hotspot devices.
[0057] An Organizationally Unique Identifier (OUI) is a 24-bit (6 hexadecimal characters) unique prefix assigned by the IEEE (Institute of Electrical and Electronics Engineers) to equipment manufacturers to identify the manufacturer of network equipment.
[0058] The signals included in the fixed equipment signal list are all generated by fixed equipment in the surrounding environment.
[0059] The OUI of a fixed device can be obtained by querying the official IEEE OUI database or a public database. The first 6 characters of the MAC address are then compared with the hexadecimal value to filter fixed devices.
[0060] To illustrate, the OUI of common device manufacturers is as follows: Apple iPhone: AC:DE:48, FC:EC:DA; Samsung phones: D0: 22: BE, A4: 77: 33; Huawei phones: 2C:5B:B8, BC:92:6B; TP-Link: F4: 8E: 09.
[0061] In this application, signals such as those from TP-Link are generated by fixed devices, while signals from Apple, Samsung, and Huawei phones are WiFi hotspots. Devices from other manufacturers can be found by looking up their corresponding OUI tables, and are not listed here.
[0062] The pseudocode for implementing the above process is as follows: public boolean verify(Fingerprint teacher, Fingerprint student) { / / Filter mobile hotspots (Anti-Hotspot) filterMobileHotspots(teacher); filterMobileHotspots(student); By identifying and extracting WiFi hotspot signals using the organization's unique identifier in the MAC address, only signals emitted by fixed devices are retained as attendance reference signals. This improves the stability and spatial uniqueness of environmental fingerprinting, avoiding misjudgments caused by interference from temporary mobile devices.
[0063] Optionally, the attendance reference signal list can be determined based on the fixed equipment signal list in two ways: Firstly: S231a: Generate an attendance reference signal list based on any fixed equipment signal in the fixed equipment signal list.
[0064] That is, all signals in the fixed equipment signal list can be used as attendance reference signals.
[0065] Secondly: S231b: Send a list of fixed device signals to the first terminal so that the user of the first terminal can select and provide feedback on at least one fixed device signal.
[0066] S232b: Acquire at least one fixed device signal from user feedback at the first terminal.
[0067] S233b: Generate a list of attendance reference signals based on signals from at least one fixed device.
[0068] The first end user selects a portion of the fixed equipment signal list as the attendance reference signal.
[0069] Teachers, as the primary end-users, can improve the flexibility of attendance reference signal selection by filtering the fixed equipment signal list. This makes the sign-in verification conditions more stringent, thereby improving the accuracy of student sign-in.
[0070] The attendance reference signal list includes at least one attendance reference signal. Specifically, S300: determining a similarity threshold according to the attendance reference signal list, including: S310: in response to N S < N, then take the product of the number of attendance reference signals and the base weight as the similarity threshold, where N S represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number.
[0071] S320: in response to N S ≥ N, then take the similarity preset value as the similarity threshold.
[0072] Schematically, the base weight is 20, the similarity preset value is 60, and the preset number N = 3.
[0073] When N S = 2, that is, the number of attendance reference signals in the attendance reference signal list is 2, and the similarity threshold is 40; When N S = 4, the similarity threshold is 60.
[0074] The pseudo-code for implementing the above process is: / / Dynamically calculate the threshold double threshold = calculateDynamicThreshold(teacher.size()); According to the number N of attendance reference signals in the attendance reference signal list S Adaptively adjust the passing threshold, so that full matching is required when the signals are sparse, and a fixed standard score is adopted when the signals are rich. Solve the problem of different WiFi coverage densities in different venues, and avoid false rejections due to too high thresholds in environments with few signals (such as small meeting rooms), or false acceptances due to too low thresholds in environments with many signals; improve the robustness and universality of the system.
[0075] S500: determining the response result of the check-in request according to the attendance reference signal list, the second signal list, and the similarity threshold, including: S510: Traverse the second wireless local area communication signals in the second signal list, compare any second wireless local area communication signal with the attendance reference list, and determine the matching score of the second wireless local area communication signal.
[0076] S520: Determine the total matching score corresponding to the check-in request according to the matching score of any second wireless local area communication signal in the second signal list.
[0077] S530: Compare the total matching score with the similarity threshold.
[0078] S540: If the total matching score is greater than the similarity threshold, the first result is used as the response result, where the first result is used to indicate successful check-in.
[0079] Compare the student signal with the attendance reference list item by item, accumulate the scores, and compare with the dynamic similarity threshold to finally determine whether the check-in is valid. Implement a quantitative and configurable verification logic to make the attendance result have an objective basis.
[0080] Specifically, compare any second wireless local area communication signal with the attendance reference list to determine the matching score of the second wireless local area communication signal, including: According to: S i = M i · (W B + W R · P i ), determine the matching score of the second wireless local area communication signal, where S i represents the matching score of the second wireless local area communication signal, i is a natural number used to correspond to the second wireless local area communication signal in the second signal list, W<s B represents the basic weight, W R represents the precision weight, M i takes a value of 0 or 1. When the value of M i ]>is 0, it means that the second wireless local area communication signal does not exist in the attendance reference list. When the value of M i is 1, it means that the second wireless local area communication signal exists in the attendance reference list. P i takes a value of O or 1. When the value of P i is 0, it means that: |R T - R S | ≥ R. When the value of P i is 1, it means that: |R T - R S | < R, where R T represents the signal strength of the signal corresponding to the second wireless local area communication signal in the attendance reference list recognized by the first terminal, R S represents the signal strength of the second wireless local area communication signal recognized by the second terminal, and R represents the signal strength difference threshold.
[0081] Optionally, set the value of R to 15.
[0082] Schematically, Teacher A scans the WiFi signals around the space and gets the following results: <00Next, verify the signal strength differences of F4:8E:09:A1:B2:C3 and 64:70:02:11:22:33 respectively.
[0084] The signal strength difference between F4:8E:09:A1:B2:C3 is: | -55 – (-58)| = 3 dBm, which is a precision match.
[0085] The signal strength difference at 64:70:02:11:22:33 is: | -60 - (-62)| = 2 dBm, which is a precision match.
[0086] Its S1 = 60, while the corresponding similarity threshold is 40. Student B has passed the check-in.
[0087] Trainee C, whose actual location is 20 meters away from the conference room, has the following scan results: Student C only scanned “F4:8E:09:A1:B2:C3”, but not “64:70:02:11:22:33”.
[0088] The signal strength difference between F4:8E:09:A1:B2:C3 is: | -85 – (-58)| = 30 dBm > 15 dBm. Precision mismatch.
[0089] Therefore, student C's score S2 = 20, corresponding to a similarity threshold of 40. Student C's attendance check-in is unsuccessful.
[0090] For each matched wireless signal, both an existence score (whether it is in the reference list) and a distance accuracy score (whether the RSSI difference is within the tolerance) are calculated simultaneously and then summed with weights.
[0091] The pseudocode for implementing the above process is as follows: / / Calculate weighted score double score = 0; for (AP ap : student.getAccessPoints()) { AP ref = teacher.findAP(ap.bssid); if (ref != null) { score += WEIGHT_BASE; / / Base overlap score / / Signal attenuation verification if (Math.abs(ref.rssi - ap.rssi) <RSSI_TOLERANCE) { score += WEIGHT_PRECISION; / / Distance precision score } } } return score>= threshold; } The dual verification mechanism of signal overlap and signal strength difference significantly improves the accuracy of location determination and effectively resists cheating behaviors such as "remote signing" and "signal forgery".
[0092] Preferably, the attendance method further includes: S600: If the response result is the second result, then the second result will be recorded in the log. And / or send a notification message to a second terminal, wherein the second result is used to indicate that the check-in failed.
[0093] The logs retain the check-in results from the second terminal. Preferably, the management backend can also send the check-in results to the corresponding second terminal, reminding the relevant user to complete the check-in.
[0094] Logging out failed check-in attempts and / or sending notifications to users can improve system maintainability and user experience. Logs facilitate post-event auditing and troubleshooting, and real-time notifications can help users retry or contact the administrator promptly.
[0095] By implementing the attendance method, apparatus, and computer equipment disclosed in this application, dynamic attendance reference signals and similarity thresholds can be generated based on a first signal list identified by a first terminal. These signals are then compared with a second signal list identified by a second terminal to verify whether the second terminal performing attendance check-in is in the same physical environment. This achieves an attendance mechanism that does not rely on a preset signal fingerprint database, requires no positioning signals, and is suitable for temporary locations. By establishing a "relative reference system" of wireless local area communication signals to replace the "absolute position" of the check-in terminal, indoor attendance accuracy can be improved. This eliminates the need for pre-deployment of an environmental fingerprint database, avoids inaccurate indoor positioning, and prevents remote proxy check-in.
[0096] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0097] In other embodiments, such as Figure 2 As shown, an attendance device includes: The first signal acquisition module is used to, in response to receiving an attendance request initiated by the first terminal, acquire a first signal list identified by the first terminal, wherein the first signal list includes a first wireless local area communication signal identified by the first terminal.
[0098] The reference list generation module is used to determine the attendance reference signal list based on the first signal list.
[0099] The threshold determination module is used to determine the similarity threshold based on the attendance reference signal list. The similarity threshold is used to determine whether the check-in request of the second terminal is valid.
[0100] The second signal acquisition module is used to receive the check-in request from the second terminal and acquire the second signal list identified by the second terminal, wherein the second signal list includes the second wireless local area communication signal identified by the second terminal.
[0101] The attendance determination module is used to determine the response result of the check-in request based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0102] By implementing the attendance device disclosed in the embodiments of this application, dynamic attendance reference signals and similarity thresholds can be generated based on a first signal list identified by a first terminal. These signals are then compared with a second signal list identified by a second terminal to verify whether the second terminal performing attendance check-in is in the same physical environment. This achieves an attendance mechanism that does not rely on a preset signal fingerprint database, requires no positioning signals, and is suitable for temporary locations. By establishing a comparison mechanism for wireless local area communication signals, the accuracy of indoor attendance is improved.
[0103] For specific limitations regarding the attendance device described above, please refer to the limitations on the attendance method above; they will not be repeated here. Each module in the aforementioned attendance device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0104] In other embodiments, such as Figure 3 As shown, a computer device includes a memory, a processor, and an attendance program stored in the memory and executable on the processor. When the processor executes the attendance program, it implements the attendance method described above. Specifically, it includes: S100: In response to receiving an attendance request initiated by the first terminal, the system obtains a list of first signals identified by the first terminal, wherein the list of first signals includes the first wireless local area communication signal identified by the first terminal.
[0105] S200: Determine the attendance reference signal list based on the first signal list.
[0106] S300: Determine the similarity threshold based on the attendance reference signal list. The similarity threshold is used to determine whether the check-in request of the second terminal is valid.
[0107] S400: Receives the check-in request from the second terminal and obtains the second signal list identified by the second terminal, wherein the second signal list includes the second wireless local area communication signal identified by the second terminal.
[0108] S500: Determine the response result of the check-in request based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0109] The attendance reference signal list is determined based on the first signal list, including: S210: Obtain the organization-unique identifier of the device that generates any of the first wireless local area communication signals in the first signal list.
[0110] S220: Based on the organization's unique identifier, filter the first signal list to obtain a fixed device signal list, wherein the fixed device signal list includes fixed device signals, which are wireless local area communication signals generated by fixed devices.
[0111] S230: Determine the attendance reference signal list based on the fixed equipment signal list.
[0112] Optionally, based on the fixed equipment signal list, a time and attendance reference signal list is determined, including: S231a: Generate an attendance reference signal list based on any fixed equipment signal in the fixed equipment signal list.
[0113] Optionally, determining the attendance reference signal list based on the fixed equipment signal list also includes: S231b: Send a list of fixed device signals to the first terminal so that the user of the first terminal can select and provide feedback on at least one fixed device signal.
[0114] S232b: Acquire at least one fixed device signal from user feedback at the first terminal.
[0115] S233b: Generate an attendance reference signal list based on at least one fixed device signal.
[0116] The attendance reference signal list includes at least one attendance reference signal. Specifically, S300: Determine a similarity threshold according to the attendance reference signal list, including: S310: In response to N S < N, take the product of the number of attendance reference signals and the base weight as the similarity threshold, where N S represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number.
[0117] S320: In response to N S ≥ N, take the preset similarity value as the similarity threshold.
[0118] Specifically, further, S500: Determine the response result of the check-in request according to the attendance reference signal list, the second signal list, and the similarity threshold, including: S510: Traverse the second wireless local area communication signals in the second signal list, compare any second wireless local area communication signal with the attendance reference list, and determine the matching score of the second wireless local area communication signal.
[0119] S520: Determine the total matching score corresponding to the check-in request according to the matching score of any second wireless local area communication signal in the second signal list.
[0120] S530: Compare the total matching score with the similarity threshold.
[0121] S540: In response to the total matching score being greater than the similarity threshold, take the first result as the response result, where the first result is used to indicate successful check-in.
[0122] Among them, comparing any second wireless local area communication signal with the attendance reference list to determine the matching score of the second wireless local area communication signal includes: According to: S i = M i · (W B + W R ) · P i ), determine the matching score of the second wireless local area communication signal, where S i represents the matching score of the second wireless local area communication signal, i is a natural number used to correspond to the second wireless local area communication signal in the second signal list, W B represents the base weight, W R represents the precision weight, the value of M i is 0 or 1. When M iWhen the value of is 0, it indicates that the second wireless local area communication signal does not exist in the attendance reference list. When M i When the value of is 1, it indicates that the second wireless local area communication signal exists in the attendance reference list. P i The value of is 0 or 1. When P i When the value of is 0, it indicates: |R T - R S | ≥ R. When P i When the value of is 1, it indicates: |R T - R S |< R, where R T represents the signal strength of the signal corresponding to the second wireless local area communication signal in the attendance reference list recognized by the first terminal, and R S represents the signal strength of the second wireless local area communication signal recognized by the second terminal, and R represents the signal strength difference threshold. [[ID=S210: Obtain the organization unique identifier of the device that generates any first wireless local area communication signal in the first signal list.
[0130] S220: Filter out the fixed device signal list from the first signal list according to the organization unique identifier, where the fixed device signal list includes fixed device signals, and the fixed device signals are wireless local area communication signals generated by fixed devices.
[0131] S230: Determine the attendance reference signal list according to the fixed device signal list.
[0132] Optionally, determining the attendance reference signal list according to the fixed device signal list includes: S231a: Generate the attendance reference signal list based on any fixed device signal in the fixed device signal list.
[0133] Optionally, determining the attendance reference signal list according to the fixed device signal list further includes: S231b: Send the fixed device signal list to the first terminal for the user of the first terminal to select and feedback at least one fixed device signal.
[0134] S232b: Obtain at least one fixed device signal feedback by the user of the first terminal.
[0135] S233b: Generate the attendance reference signal list based on at least one fixed device signal.
[0136] The attendance reference signal list includes at least one attendance reference signal. Specifically, S300: Determine the similarity threshold according to the attendance reference signal list, including: S310: In response to N S < N, then take the product of the number of attendance reference signals and the base weight as the similarity threshold, where N S represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number.
[0137] S320: In response to N S ≥ N, then take the similarity preset value as the similarity threshold.
[0138] Specifically, further, S500: Determine the response result of the check-in request according to the attendance reference signal list, the second signal list, and the similarity threshold, including: S510: Traverse the second wireless local area communication signals in the second signal list, compare any second wireless local area communication signal with the attendance reference list, and determine the matching score of the second wireless local area communication signal.
[0139] S520: Determine the total matching score corresponding to the check-in request according to the matching score of any second wireless local area communication signal in the second signal list.
[0140] S530: Compare the total matching score with the similarity threshold.
[0141] S540: In response to the total matching score being greater than the similarity threshold, take the first result as the response result, where the first result is used to indicate successful check-in.
[0142] Among them, comparing any second wireless local area communication signal with the attendance reference list to determine the matching score of the second wireless local area communication signal includes: According to: S i = M i · (W B + W R · P i ), determine the matching score of the second wireless local area communication signal, where S i represents the matching score of the second wireless local area communication signal, i is a natural number, used to correspond to the second wireless local area communication signal in the second signal list, W B represents the basic weight, W R represents the precision weight, M i takes a value of 0 or 1. When the value of M i is 0, it means that the second wireless local area communication signal does not exist in the attendance reference list. When the value of M i is 1, it means that the second wireless local area communication signal exists in the attendance reference list. P i takes a value of 0 or 1. When the value of P i is 0, it means that: |R T - R S | ≥ R. When the value of P i is 1, it means that: |R T - R S | < R, where R T represents the signal strength of the signal corresponding to the second wireless local area communication signal in the attendance reference list recognized by the first terminal, R S represents the signal strength of the second wireless local area communication signal recognized by the second terminal, and R represents the signal strength difference threshold.
[0143] Preferably, the attendance method further includes: S600: In response to the response result being the second result, record the second result in the log, and / or send a prompt message to the second terminal, where the second result is used to indicate failed check-in.
[0144] In other embodiments, a computer program product includes a computer program that, when executed by a processor, implements the attendance method described above. Specifically, it includes: S100: In response to receiving an attendance request initiated by the first terminal, the system obtains a list of first signals identified by the first terminal, wherein the list of first signals includes the first wireless local area communication signal identified by the first terminal.
[0145] S200: Determine the attendance reference signal list based on the first signal list.
[0146] S300: Determine the similarity threshold based on the attendance reference signal list. The similarity threshold is used to determine whether the check-in request of the second terminal is valid.
[0147] S400: Receives the check-in request from the second terminal and obtains the second signal list identified by the second terminal, wherein the second signal list includes the second wireless local area communication signal identified by the second terminal.
[0148] S500: Determine the response result of the check-in request based on the attendance reference signal list, the second signal list, and the similarity threshold.
[0149] The attendance reference signal list is determined based on the first signal list, including: S210: Obtain the organization-unique identifier of the device that generates any of the first wireless local area communication signals in the first signal list.
[0150] S220: Based on the organization's unique identifier, filter the first signal list to obtain a fixed device signal list, wherein the fixed device signal list includes fixed device signals, which are wireless local area communication signals generated by fixed devices.
[0151] S230: Determine the attendance reference signal list based on the fixed equipment signal list.
[0152] Optionally, based on the fixed equipment signal list, a time and attendance reference signal list is determined, including: S231a: Generate an attendance reference signal list based on any fixed equipment signal in the fixed equipment signal list.
[0153] Optionally, determining the attendance reference signal list based on the fixed equipment signal list also includes: S231b: Send a list of fixed device signals to the first terminal so that the user of the first terminal can select and provide feedback on at least one fixed device signal.
[0154] S232b: Acquire at least one fixed device signal from user feedback at the first terminal.
[0155] S233b: Generate an attendance reference signal list based on at least one fixed device signal.
[0156] The attendance reference signal list includes at least one attendance reference signal. Specifically, S300: Determine a similarity threshold according to the attendance reference signal list, including: S310: In response to N S < N, then use the product of the number of attendance reference signals and the base weight as the similarity threshold, where N S represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number.
[0157] S320: In response to N S ≥ N, then use the preset similarity value as the similarity threshold.
[0158] Specifically, further, S500: Determine the response result of the check-in request according to the attendance reference signal list, the second signal list, and the similarity threshold, including: S510: Traverse the second wireless local area communication signals in the second signal list, compare any second wireless local area communication signal with the attendance reference list, and determine the matching score of the second wireless local area communication signal.
[0159] S520: Determine the total matching score corresponding to the check-in request according to the matching score of any second wireless local area communication signal in the second signal list.
[0160] S530: Compare the total matching score with the similarity threshold.
[0161] S540: In response to the total matching score being greater than the similarity threshold, use the first result as the response result, where the first result is used to indicate successful check-in.
[0162] Among them, comparing any second wireless local area communication signal with the attendance reference list to determine the matching score of the second wireless local area communication signal includes: According to: S i = M i · (W B + W R · P i ), determine the matching score of the second wireless local area communication signal, where S i represents the matching score of the second wireless local area communication signal, i is a natural number used to correspond to the second wireless local area communication signal in the second signal list, W B represents the base weight, W R represents the precision weight, M i takes a value of 0 or 1. When M iWhen the value of is 0, it indicates that the second wireless local communication signal does not exist in the attendance reference list. When M i When the value of is 1, it indicates that the second wireless local communication signal exists in the attendance reference list. P i The value of is 0 or 1. When P i When the value of is 0, it indicates that: | R T - R S | ≥ R. When P i When the value of is 1, it indicates that: | R T - R S |<R, where R T represents the signal strength of the signal corresponding to the second wireless local communication signal in the attendance reference list recognized by the first terminal, and R S represents the signal strength of the second wireless local communication signal recognized by the second terminal, and R represents the signal strength difference threshold.
[0163] Preferably, the attendance method further includes: S600: In response to the response result being the second result, record the second result in the log, and / or send a prompt message to the second terminal, where the second result is used to indicate that the sign-in fails.
[0164] By implementing an attendance method, device, and computer device disclosed in the embodiments of the present application, it is possible to generate a dynamic attendance reference signal and a similarity threshold based on the first signal list recognized by the first terminal, and then compare the second signal list recognized by the second terminal to verify whether the second terminal for attendance sign-in is in the same physical environment. An attendance mechanism that does not rely on a preset signal fingerprint database, does not require signal positioning, and is applicable to temporary venues is realized. By establishing a "relative reference system" of wireless local communication signals to replace the "absolute position" of the sign-in terminal, it is possible to improve the accuracy of indoor attendance, achieve the goal of not requiring prior deployment of an environmental fingerprint database, avoid inaccurate indoor positioning, and prevent remote proxy signing.
[0165] All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, which will not be elaborated here one by one.
[0166] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program loaded on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from memory, or installed from ROM. When the computer program is executed by an external processor, it performs the functions defined in the methods of embodiments of this application.
[0167] It should be noted that the computer-readable medium in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the embodiments of this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.
[0168] The aforementioned computer-readable medium may be included in the aforementioned server; or it may exist independently and not assembled into the server. The aforementioned computer-readable medium carries one or more programs that, when executed by the server, cause the server to: in response to detecting that the peripheral mode of the terminal is not activated, acquire the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determine whether the user is acquiring the terminal's screen information; and in response to the determination that the user is not acquiring the terminal's screen information, control the screen to enter an immediate dimming mode.
[0169] Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0170] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0171] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
[0172] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An attendance management method characterized by comprising: The method comprises: in response to receiving a check-in request initiated by a first terminal, obtaining a first signal list identified by the first terminal, wherein the first signal list comprises a first wireless local area communication signal identified by the first terminal; determining a check-in reference signal list according to the first signal list; determining a similarity threshold according to the check-in reference signal list, wherein the similarity threshold is used to determine whether a check-in request of a second terminal is valid; receiving the check-in request of the second terminal and obtaining a second signal list identified by the second terminal, wherein the second signal list comprises a second wireless local area communication signal identified by the second terminal; determining a response result of the check-in request according to the check-in reference signal list, the second signal list, and the similarity threshold.
2. The attendance management method according to claim 1, wherein The method further comprises: determining a check-in reference signal list according to the first signal list, comprising: obtaining an organization unique identifier of a device generating any first wireless local area communication signal in the first signal list; screening a fixed device signal list from the first signal list according to the organization unique identifier, wherein the fixed device signal list comprises a fixed device signal, and the fixed device signal is a wireless local area communication signal generated by a fixed device; 3. The attendance management method according to claim 2, wherein determining a check-in reference signal list according to the fixed device signal list. The method further comprises:
4. The method of claim 2, wherein, determining a check-in reference signal list according to the fixed device signal list, comprising: generating the check-in reference signal list based on any fixed device signal in the fixed device signal list. The method further comprises: determining a check-in reference signal list according to the fixed device signal list, further comprising:
5. The attendance management method according to claim 1, wherein sending the fixed device signal list to the first terminal, so that a user of the first terminal selects and feeds back at least one fixed device signal; In response to N S < N, the product of the number of attendance reference signals and the base weight is taken as the similarity threshold, wherein N S N represents the number of attendance reference signals in the attendance reference signal list, and N is a preset number. In response to N S ≥ N, the similarity preset value is taken as the similarity threshold.
6. The attendance taking method of claim 1, wherein, obtaining the at least one fixed device signal fed back by the user of the first terminal; generating the check-in reference signal list based on the at least one fixed device signal. The check-in reference signal list comprises at least one check-in reference signal, and determining a similarity threshold according to the check-in reference signal list comprises: The method further comprises: determining a response result of the check-in request according to the check-in reference signal list, the second signal list, and the similarity threshold, comprising:
7. The attendance management method according to claim 6, wherein traversing the second wireless local area communication signals in the second signal list, comparing any second wireless local area communication signal with the check-in reference list to determine a matching score of the second wireless local area communication signal; According to: S i = M i · (W) B + W R · P i ) Determine the matching score of the second wireless local area communication signal, where S i This represents the matching score of the second wireless local area communication signal, where i is a natural number used to correspond to the second wireless local area communication signal in the second signal list, and W... B W represents the basic weights. R M represents the precision weight. i The value of M is 0 or 1. i When the value is 0, it indicates that the second wireless local area communication signal does not exist in the attendance reference list. i When the value is 1, it indicates that the second wireless local area communication signal exists in the attendance reference list, P i The value of P is 0 or 1. i When the value of is 0, it means: |R T - R S | ≥ R, when P i When the value of is 1, it means: | R T - R S | < R, where R T R represents the signal strength of the signal corresponding to the second wireless local area communication signal in the attendance reference list, which is identified by the first terminal. S R represents the signal strength of the second wireless local area communication signal as identified by the second terminal, and R represents the signal strength difference threshold.
8. The method of claim 1, wherein, determining a total matching score corresponding to the check-in request according to the matching score of any second wireless local area communication signal in the second signal list; comparing the total matching score with the similarity threshold; in response to the total matching score being greater than the similarity threshold, determining a first result as the response result, wherein the first result is used to indicate that the check-in is successful. The method further comprises: In response to the response result being a second result, recording the second result in a log, and / or sending prompt information to the second terminal, wherein the second result indicates a sign-in failure. The method comprises:
9. An attendance device characterized by comprising: A first signal acquisition module, configured to, in response to receiving an attendance request initiated by a first terminal, acquire a first signal list identified by the first terminal, wherein the first signal list comprises a first wireless local area communication signal identified by the first terminal; A reference list generation module, configured to determine an attendance reference signal list according to the first signal list; A threshold determination module, configured to determine a similarity threshold according to the attendance reference signal list, wherein the similarity threshold is used to determine whether a sign-in request of a second terminal is valid; A second signal acquisition module, configured to receive the sign-in request of the second terminal and acquire a second signal list identified by the second terminal, wherein the second signal list comprises a second wireless local area communication signal identified by the second terminal; An attendance determination module, configured to determine a response result of the sign-in request according to the attendance reference signal list, the second signal list, and the similarity threshold. The processor executes the computer program to implement the attendance method in any one of claims 1 to 8.
10. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that,