Card punching position determination method and device, and storage medium
By obtaining the current location information of the user terminal and the straight-line distance value of the preset check-in point and weighted fusion calculation of auxiliary judgment parameters, the problem of check-in misjudgment caused by GPS signal drift is solved, and the accuracy of check-in location judgment is improved.
Patent Information
- Application Number
- CN202510960102.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-10-03
AI Technical Summary
Traditional GPS positioning can easily misjudge an invalid clock-in under signal interference and in complex environments, resulting in insufficient clock-in accuracy.
By obtaining the straight-line distance value between the current location information of the user terminal and the preset check-in point coordinates, and collecting auxiliary judgment parameters such as accuracy parameter values, time deviation values, etc., a weighted fusion calculation is performed according to the preset weight allocation rules to generate a comprehensive score. When the comprehensive score is greater than or equal to the preset threshold, it is determined to be a valid check-in location.
The accuracy of clocking-in location determination is improved, especially in signal interference and complex environments, which can more accurately identify the valid clocking-in location.
Smart Images

Figure CN120751338A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication network technology, and in particular to a method, device, and storage medium for determining a check-in location. Background Art
[0002] Currently, similar technologies mainly rely on the GPS positioning capabilities of mobile phones to determine the user's location when they are mobile checking in. Specifically, they first obtain the longitude and latitude of the center of the pre-set check-in location and the radius range within which check-ins are allowed. Then, they call the GPS positioning interface provided by the mobile phone system to obtain the current longitude and latitude. The straight-line distance between the positioning longitude and latitude and the longitude and latitude of the set check-in location is calculated. When this distance is less than or equal to the check-in radius, the user is determined to be at the check-in location. However, the GPS positioning capabilities of the above solution are affected by signal interference and complex environments. Even if the user is within the check-in range, the GPS signal drift may misjudge it as an invalid check-in, resulting in insufficient check-in accuracy.
[0003] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention
[0004] The present application provides a method, device and storage medium for determining a punch-in location, aiming to solve the problem that conventional solutions may misjudge an invalid punch-in due to GPS signal drift, resulting in insufficient punch-in accuracy.
[0005] To achieve the above objectives, the present application provides a method for determining a clock-in location, the method comprising the following steps:
[0006] Obtain the current location information of the user terminal and calculate the straight-line distance between the current location information and the preset check-in point coordinates;
[0007] Collecting at least two auxiliary determination parameters corresponding to the user terminal, wherein the auxiliary determination parameters include an accuracy parameter value of the current location information and a time deviation value between the current time and the target punch-in time;
[0008] According to a preset weight distribution rule, a weighted fusion calculation is performed on the straight-line distance value, the accuracy parameter value, and the time deviation value to generate a comprehensive score;
[0009] When the comprehensive score is greater than or equal to a preset determination threshold, it is determined that the user terminal is in a valid check-in location.
[0010] In one embodiment, the step of obtaining the user's current location information and calculating the straight-line distance between the current location information and the preset check-in point coordinates includes:
[0011] After detecting that the user has entered the target range, the positioning operation is performed and the positioning result is cached;
[0012] When the user terminal triggers a position determination operation, calling the cached positioning result;
[0013] The straight-line distance value between the current position information and the preset check-in point coordinates is calculated based on the current position information in the positioning result.
[0014] In one embodiment, the step of performing weighted fusion calculation on the straight-line distance value, the accuracy parameter value, and the time deviation value according to a preset weight distribution rule to generate a comprehensive score includes:
[0015] Obtaining the preset weight allocation rule, and determining a distance weight value, an accuracy weight value, and a time weight value in the weight allocation rule;
[0016] Perform weighted fusion calculation on the straight-line distance value, the precision parameter value and the time deviation value according to the distance weight value, the precision weight value and the time weight value to generate a comprehensive score;
[0017] Among them, the smaller the straight-line distance value is, the more positively the score contribution increases; the smaller the accuracy parameter value is, the more positively the score contribution increases; and the smaller the time deviation parameter value is, the more positively the score contribution increases.
[0018] In one embodiment, after the steps of obtaining the current location information of the user terminal and calculating the straight-line distance between the current location information and the coordinates of the preset check-in point, the method further includes:
[0019] Acquire a historical location information set, the historical location information set including at least two positioning coordinates determined to meet target location requirements within a preset time period;
[0020] Calculating the distance between the current location information and each of the positioning coordinates in the historical positioning location information set;
[0021] If all distances do not exceed the preset stability threshold, it is determined that the user terminal is at the valid check-in location, and the weighted fusion calculation step is skipped.
[0022] In one embodiment, the auxiliary determination parameter further includes a wireless signal matching degree, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0023] Obtain a pre-stored signal identification set and scan the real-time wireless access point information of the current environment;
[0024] Matching the signal identification set with the real-time wireless access point information, and counting the number of successful matches;
[0025] generating the wireless signal matching degree according to the matching number;
[0026] The greater the wireless signal matching degree is, the greater the score contribution is.
[0027] In one embodiment, the auxiliary determination parameter further includes a user behavior credibility parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0028] Acquire historical positioning behavior data corresponding to the user terminal, the historical positioning behavior data including at least one of a historical positioning success rate, a historical positioning coordinate dispersion, and a historical positioning time deviation;
[0029] Calculate the user behavior credibility score corresponding to the historical positioning behavior data based on preset scoring rules;
[0030] Among them, the higher the user behavior credibility score is, the greater its score contribution is.
[0031] In one embodiment, the auxiliary determination parameter further includes a device positioning capability parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0032] Identifying the device model of the user terminal;
[0033] Determining the positioning capability level of the user terminal according to a preset mapping relationship between device model and positioning performance;
[0034] Converting the positioning capability level into the device positioning capability parameter;
[0035] The higher the device positioning capability parameter value is, the greater the score contribution is.
[0036] In one embodiment, after the step of performing weighted fusion calculation on the straight-line distance value, the accuracy parameter value, and the time deviation value according to a preset weight allocation rule to generate a comprehensive score, the step further includes:
[0037] Obtain historical positioning accuracy data of the preset target location;
[0038] Analyze and determine the deviation results corresponding to the historical positioning accuracy data;
[0039] When the deviation result is greater than a preset deviation threshold, the weight ratio of the accuracy parameter value in the comprehensive score is reduced.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a device for determining the clocking-in location, which includes: a memory, a processor, and a computer program stored on the memory and runnable on the processor, wherein the computer program is configured to implement the steps of the method for determining the clocking-in location as described above.
[0041] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the steps of the method for determining the check-in location as described above are implemented.
[0042] The present application provides a method for determining a punch-in location, a device for determining a punch-in location, and a storage medium. The present application obtains the current location information of a user terminal, calculates the straight-line distance value between the current location information and the coordinates of a preset punch-in point, and then collects at least two auxiliary determination parameters corresponding to the user terminal. Then, according to a preset weight distribution rule, a weighted fusion calculation is performed on the straight-line distance value, the accuracy parameter value, and the time deviation value to generate a comprehensive score. Finally, when the comprehensive score is greater than or equal to a preset determination threshold, it is determined that the user terminal is in a valid punch-in location. The present application determines the punch-in location by comprehensively scoring multiple dimensional factors such as the distance between the current location information of the user terminal and the preset punch-in point, positioning accuracy, and punch-in time deviation, thereby improving the accuracy of punching in. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0045] Figure 1 This is a flow chart of the first embodiment of the method for determining the clock-in location of this application;
[0046] Figure 2 This is a schematic diagram of the overall positioning process involved in the embodiment of the present application;
[0047] Figure 3 This is a flow chart of a second embodiment of the method for determining a check-in location of the present application;
[0048] Figure 4This is a flow chart of a third embodiment of the method for determining a check-in location of the present application;
[0049] Figure 5 This is a schematic diagram of the multi-dimensional determination process involved in the embodiment of the present application;
[0050] Figure 6 This is a schematic diagram of the architecture of the hardware operating environment of the clock-in location determination device involved in an embodiment of the present application.
[0051] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] To better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Instead, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0054] In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0055] The main solution of this application is to obtain the current location information of the user terminal and calculate the straight-line distance between the current location information and the preset check-in point coordinates;
[0056] Collecting at least two auxiliary determination parameters corresponding to the user terminal, wherein the auxiliary determination parameters include an accuracy parameter value of the current location information and a time deviation value between the current time and the target punch-in time;
[0057] According to a preset weight distribution rule, a weighted fusion calculation is performed on the straight-line distance value, the accuracy parameter value, and the time deviation value to generate a comprehensive score;
[0058] When the comprehensive score is greater than or equal to a preset determination threshold, it is determined that the user terminal is in a valid check-in location.
[0059] Currently, similar technologies mainly rely on the GPS positioning capabilities of mobile phones to determine the user's location when they are mobile checking in. Specifically, they first obtain the longitude and latitude of the center of the pre-set check-in location and the radius range within which check-ins are allowed. Then, they call the GPS positioning interface provided by the mobile phone system to obtain the current longitude and latitude. The straight-line distance between the positioning longitude and latitude and the longitude and latitude of the set check-in location is calculated. When this distance is less than or equal to the check-in radius, the user is determined to be at the check-in location. However, the GPS positioning capabilities of the above solution are affected by signal interference and complex environments. Even if the user is within the check-in range, the GPS signal drift may misjudge it as an invalid check-in, resulting in insufficient check-in accuracy.
[0060] By obtaining the current location information of the user terminal and calculating the straight-line distance value between the current location information and the preset check-in point coordinates, and then collecting at least two auxiliary judgment parameters corresponding to the user terminal, and then performing a weighted fusion calculation on the straight-line distance value, the accuracy parameter value and the time deviation value according to the preset weight distribution rule, a comprehensive score is generated. Finally, when the comprehensive score is greater than or equal to the preset judgment threshold, it is determined that the user terminal is in a valid check-in location. This application uses a comprehensive score based on multiple dimensional factors such as the distance between the current location information of the user terminal and the preset check-in point, positioning accuracy, and check-in time deviation to determine the check-in location and improve the accuracy of the check-in.
[0061] Example 1
[0062] Based on this, the embodiment of the present application provides a method for determining the clock-in location, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for determining a check-in location of the present application. The method for determining a check-in location includes steps S10 to S40:
[0063] Step S10: Obtain the current location information of the user terminal, and calculate the straight-line distance between the current location information and the preset check-in point coordinates.
[0064] In this embodiment, the processing action is performed by the clock-in location determination system. The current location information of the user terminal is data related to the geographic location of the user device, such as a mobile phone, obtained through positioning technology, and typically includes coordinate information such as longitude and latitude. The preset clock-in point coordinates are the coordinates of specific locations pre-set by the enterprise where employees are allowed to clock in. The straight-line distance value refers to the shortest distance between the user terminal's current location and the preset clock-in point. It can be calculated using a geometric formula. A commonly used calculation formula is the Haversine formula based on spherical trigonometry, which calculates the great-circle distance between two longitude and latitude points on the Earth's surface.
[0065] As an optional implementation method, first call the positioning function of the user terminal, such as a GPS module or a third-party positioning service SDK, to obtain the real-time location information of the user terminal, including longitude and latitude. Then, obtain the preset check-in point coordinates from the enterprise's preset check-in point data, which are usually stored in the server database or the application's configuration file. Next, substitute the current position coordinates of the user terminal and the preset check-in point coordinates into the pre-set distance calculation formula to calculate and obtain the straight-line distance value between the two. For example, assuming that the current position coordinates of the user terminal are (longitude 1, latitude 1), and the preset check-in point coordinates are (longitude 2, latitude 2), the Haversine formula is used to calculate that the straight-line distance between them is D meters.
[0066] It should be noted that before calling the positioning function, authorization must be obtained from the user terminal. This is indicated by a prompt on the interface indicating whether to authorize the acquisition of positioning information. The user can select whether to authorize the acquisition through the controls on the interface. After the user confirms the authorization, the positioning function can be called to obtain the current location information. If the user does not authorize the acquisition of the current location information, the current location information will not be obtained.
[0067] Optionally, in this embodiment, step S10 includes:
[0068] After detecting that the user has entered the target range, a positioning operation is performed and the positioning result is cached; when the user terminal triggers a location determination operation, the cached positioning result is called; based on the current location information in the positioning result, the straight-line distance value between the preset check-in point coordinates is calculated.
[0069] Specifically, the target range is the area within a pre-set radius centered on the preset check-in point. Positioning is the process of obtaining the user terminal's real-time location information through positioning technology. Caching positioning results temporarily stores the acquired positioning information in the user terminal or server's memory for quick access later.
[0070] First, the user terminal's location information is continuously monitored through a background positioning service. When the user terminal's location information meets the conditions for entering the target range, a positioning operation is triggered. For example, by calculating the distance between the user terminal and a preset check-in point and finding that the distance is less than the preset range radius, the user terminal's positioning function is then called, which can be a GPS module or a third-party positioning service SDK, to obtain the user terminal's current location information. The obtained current location information is stored in the terminal device's cache area or the server's cache database.
[0071] When a user clicks the check-in button on a check-in app or the system automatically triggers the check-in determination process, the system first checks whether there are previously cached positioning results. If so, the positioning result is extracted from the cache. This process typically involves searching for the corresponding positioning data record in the terminal device's cache storage area or the server's cache database. The current location coordinates of the user terminal are then extracted from the cached positioning result. The coordinates of the preset check-in point are obtained, which are typically stored in a server database or application configuration file. The two sets of coordinates are substituted into a pre-set distance calculation formula to calculate the straight-line distance value.
[0072] Furthermore, in this embodiment, after obtaining the current location information of the user terminal and calculating the straight-line distance between the current location information and the preset clock-in point coordinates, if the straight-line distance determines that the user is not within the designated clock-in range, it means that the user is clocking in for internal work. At this time, the internal work clock-in determination process is executed. The internal work clock-in determination process includes collecting at least two auxiliary determination parameters corresponding to the user terminal, and the following steps.
[0073] Step S20: collecting at least two auxiliary determination parameters corresponding to the user terminal, wherein the auxiliary determination parameters include an accuracy parameter value of the current location information and a time deviation value between the current time and the target punch-in time.
[0074] In this embodiment, the accuracy parameter value of the current location information is a quantitative indicator of the accuracy of the user terminal's location information obtained by the clock-in location determination system. It is typically expressed in meters and represents the error range of the positioning result. The time deviation value between the current time and the target clock-in time refers to the difference between the time the user actually clocks in and the standard clock-in time specified by the company. This can be used to measure the employee's punctuality. Furthermore, auxiliary determination parameters are not limited to the accuracy parameter value of the current location information and the time deviation value between the current time and the target clock-in time; they may also include other parameters used to determine the current location of the user terminal.
[0075] Specifically, the accuracy parameter value of the current location information is first extracted from the result returned by the positioning service. Different positioning service providers will provide this parameter in different ways, and it is generally included in the original data packet of the positioning result. Secondly, the current system time of the user terminal is obtained and compared with the corresponding target punch-in time specified by the enterprise. The time difference between the two is calculated to obtain the time deviation value. For example, if the accuracy parameter value returned by the positioning service is ±10 meters, the current system time is 9:00:05, and the specified target punch-in time is 9:00:00, the time deviation value is +5 seconds.
[0076] Optionally, the auxiliary determination parameter further includes a wireless signal matching degree, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0077] Obtain a pre-stored signal identifier set and scan real-time wireless access point information of the current environment; match the signal identifier set with the real-time wireless access point information and count the number of successful matches; generate the wireless signal matching degree based on the number of matches; wherein, the greater the wireless signal matching degree, the greater the score contribution.
[0078] Specifically, the pre-stored signal identifier set is pre-stored identification information of wireless access points associated with preset check-in points, such as WiFi hotspots and Bluetooth beacons, typically including unique identifiers such as MAC addresses. Real-time wireless access point information refers to real-time data on available wireless access points detected by the user terminal in the current environment, including signal strength, MAC addresses, etc. The wireless signal matching degree is a numerical value calculated based on the number of matches, reflecting the degree of similarity between the user terminal's current environment and the wireless environment of the preset check-in point, typically expressed as a percentage.
[0079] In this embodiment, the clock-in location determination system first retrieves a pre-stored set of signal identifiers from local storage. This data was previously collected and stored at the clock-in point. Simultaneously, it invokes the user terminal's wireless signal scanning function to obtain real-time wireless access point information in the current environment. For example, the system retrieves a pre-stored set of signal identifiers from a server, including the MAC addresses of five Wi-Fi hotspots surrounding the company's office. Then, using the mobile phone's Wi-Fi scanning function, it retrieves the MAC addresses and signal strength information for all available Wi-Fi hotspots in the current environment.
[0080] Next, the MAC addresses in the pre-stored signal identifier set are compared one by one with the identifiers in the real-time wireless access point information. For each pre-stored identifier, the system checks whether it exists in the real-time wireless access point information. If so, it counts as a successful match, and the number of successful matches is counted. For example, if the pre-stored signal identifier set contains 5 WiFi hotspot MAC addresses, and 3 of the real-time wireless access point information matches the MAC addresses in the pre-stored set, the number of matches is 3. Based on pre-set calculation rules, the number of matches is converted into a wireless signal matching degree. For example, if the pre-stored signal identifier set contains N identifiers and the number of matches is M, the wireless signal matching degree can be calculated as M / N. If the pre-stored set contains 5 identifiers and the number of matches is 3, the wireless signal matching degree is 3 / 5 = 0.6. The wireless signal matching degree is then used as an auxiliary decision parameter in the weighted fusion calculation of the comprehensive score, combined with the corresponding weight value. The higher the wireless signal matching degree, the higher the score in the weighted calculation, and thus the greater its contribution to the comprehensive score. For example, in the weighted fusion calculation formula, the weight of the wireless signal matching degree is 0.2. When the wireless signal matching degree is 0.8, its contribution to the comprehensive score is 0.2×0.8=0.16.
[0081] By introducing wireless signal matching as a new auxiliary determination parameter and specifying its collection and calculation process, the dimension and accuracy of clock-in location determination are further enriched. Compared with traditional methods that rely solely on GPS positioning, this method can more comprehensively analyze the characteristics of the user terminal's environment. Especially in scenarios with poor GPS signals, such as indoors, wireless signal matching can effectively supplement positioning information and improve the reliability of clock-in location determination.
[0082] Optionally, the auxiliary determination parameter further includes a user behavior credibility parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0083] Obtain historical positioning behavior data corresponding to the user terminal, the historical positioning behavior data including at least one of a historical positioning success rate, a historical positioning coordinate discreteness, and a historical positioning time deviation; and calculate a user behavior credibility score corresponding to the historical positioning behavior data based on a preset scoring rule; wherein, the higher the user behavior credibility score, the greater its score contribution.
[0084] Specifically, historical positioning behavior data refers to positioning-related behavior data generated by users during past clock-in processes. The historical positioning success rate is the ratio of the number of successful positioning attempts during previous clock-ins to the total number of clock-ins, reflecting the stability of the user's positioning. The dispersion of historical positioning coordinates refers to the degree of dispersion of the user's previous positioning coordinates relative to the preset clock-in points, typically measured by calculating the standard deviation or variance of the positioning coordinates. The historical positioning time deviation refers to the degree of deviation between the user's previous clock-in time and the specified clock-in time, reflecting the punctuality of the user's clock-in time. Pre-set scoring rules refer to the rules pre-set by the enterprise based on actual needs to convert historical positioning behavior data into a user behavior credibility score. The user behavior credibility score is a quantitative assessment of the reliability and stability of the user's past clock-in behavior. The higher the user behavior credibility score, the greater the improvement in the overall score. The higher the user behavior credibility score, the more stable and reliable the user's past clock-in behavior, and the more likely they are to be in a valid clock-in location.
[0085] In this embodiment, the historical positioning behavior data of the user terminal is read from the local storage. These data are usually automatically recorded and stored by the system each time a clock is punched in. For example, the system obtains the clock-in records of a user terminal for the past month from the server, including the positioning results, positioning time, and other information of each clock-in. From this, the historical positioning success rate (e.g., the number of successful positioning is 20 times, the total number of clock-ins is 25 times, and the success rate is 80%), the historical positioning coordinate dispersion (e.g., the calculated average standard deviation of the positioning coordinates is 15 meters), and the historical positioning time deviation (e.g., the average time deviation is 2 minutes) are extracted.
[0086] The acquired historical positioning behavior data is then calculated according to the preset scoring rules. For example, the preset scoring rules stipulate: a historical positioning success rate of 80% or above receives 40 points, 70%-80% receives 30 points, and less than 70% receives 20 points; a historical positioning coordinate dispersion of less than 20 meters receives 30 points, 20-50 meters receives 20 points, and greater than 50 meters receives 10 points. Each score is then added together to obtain the user behavior credibility score. Assuming a user's historical positioning success rate is 85% (40 points), the historical positioning coordinate dispersion is 10 meters (30 points), and the historical positioning time deviation is 3 minutes (30 points), the total score is 100 points. When calculating the comprehensive score through weighted fusion, the user behavior credibility score is included as an independent parameter. The higher the user behavior credibility score, the higher the score in the weighted calculation, and thus the greater its contribution to the comprehensive score.
[0087] Optionally, the auxiliary determination parameter further includes a device positioning capability parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes:
[0088] Identify the device model of the user terminal; determine the positioning capability level of the user terminal based on a preset mapping relationship between the device model and positioning performance; convert the positioning capability level into the device positioning capability parameter; wherein, the higher the value of the device positioning capability parameter, the greater the score contribution.
[0089] Specifically, the device model is the specific hardware model of the user terminal, such as mobile phones of different brands and models. Different device models differ in hardware configuration, sensor accuracy, signal reception capability, etc., and these differences will affect the positioning performance of the device. The preset mapping relationship between device models and positioning performance is based on common device models on the market, pre-testing and evaluating their positioning performance, and establishing a correspondence table between device models and positioning capability levels. The positioning capability level is a graded assessment of the device positioning performance, usually divided into multiple levels, such as high, medium, and low. The higher the device positioning capability parameter value, the stronger the effect on improving the overall score. The higher the device positioning capability parameter value, the better the positioning performance of the user terminal, the more likely it is to provide accurate positioning information, and thus the more likely it is to be in a valid check-in location.
[0090] In this embodiment, the model information of the device is obtained through the application program interface of the user terminal, and the preset mapping relationship table between the device model and the positioning performance is read from the server or local configuration file. The identified device model is matched with the mapping relationship table to find the corresponding positioning capability level. For example, the preset mapping relationship table stipulates that the positioning capability level of a certain brand and model of mobile phone is high, so it can be determined that the positioning capability level of the user terminal is high. Then, according to the preset conversion rules, the positioning capability level is converted into the device positioning capability parameter. For example, the preset conversion rule is: the parameter value corresponding to the high positioning capability level is 0.9, the intermediate level corresponds to 0.6, and the low level corresponds to 0.3. If the positioning capability level of the user terminal is high, the device positioning capability parameter is 0.9.
[0091] When calculating the weighted fusion comprehensive score, the device positioning capability parameter is used as an auxiliary judgment parameter in the calculation. The higher the device positioning capability parameter value, the higher the score in the weighted calculation, and thus the greater the contribution to the comprehensive score.
[0092] Step S30: performing weighted fusion calculation on the straight-line distance value, the accuracy parameter value, and the time deviation value according to a preset weight distribution rule to generate a comprehensive score.
[0093] In this embodiment, the preset weighting rules quantify the importance of each judgment parameter (straight-line distance, accuracy parameter, and time deviation) in the comprehensive score calculation, based on the company's needs and actual circumstances. Weighted fusion calculation involves linearly combining or performing other mathematical operations on each parameter according to the weighting rules, integrating the impact of multiple factors on the final result, and generating a single value that comprehensively reflects the user's check-in location judgment, i.e., the comprehensive score.
[0094] Specifically, first, the weights for each parameter are determined. For example, a weight of 0.5 is assigned to the linear distance value, 0.3 to the precision parameter, and 0.2 to the time deviation value. These weights are pre-set based on the company's assessment of the importance of each factor and stored in the system. Next, the linear distance, precision parameter, and time deviation values are normalized to the same dimensional range, for example, by converting them to values between 0 and 1 to facilitate subsequent weighted calculations. Normalization can be performed using linear normalization or methods based on statistical distributions. Next, according to the weighting rules, each normalized parameter value is multiplied by its corresponding weight and summed to obtain a comprehensive score. For example, if the normalized linear distance value is 0.8, the precision parameter value is 0.6, and the time deviation value is 0.4, the comprehensive score calculated using these weights is: 0.5 × 0.8 + 0.3 × 0.6 + 0.2 × 0.4 = 0.62.
[0095] Optionally, in this embodiment, step S30 includes:
[0096] Obtain the preset weight allocation rule, and determine the distance weight value, precision weight value and time weight value in the weight allocation rule; perform weighted fusion calculation on the straight-line distance value, the precision parameter value and the time deviation value according to the distance weight value, precision weight value and time weight value to generate a comprehensive score; wherein, the smaller the straight-line distance value, the greater the score contribution; the smaller the precision parameter value, the greater the score contribution; and the smaller the time deviation parameter value, the greater the score contribution.
[0097] Specifically, weighted fusion calculation refers to linearly combining or performing other mathematical operations on various parameters according to weight distribution rules, comprehensively considering the impact of multiple factors on the final result, and generating a value that can comprehensively reflect the determination of the user's check-in location, namely the comprehensive score. The straight-line distance value refers to the straight-line distance between the current location of the user terminal and the preset check-in point; the accuracy parameter value refers to the accuracy range of the positioning result; and the time deviation value refers to the time difference between the user's actual check-in time and the specified check-in time. A positive increase in score contribution means that the effect of the parameter on the comprehensive score increases as the parameter value decreases. The smaller the straight-line distance value, the closer the user terminal is to the preset check-in point; the smaller the accuracy parameter value, the more accurate the positioning result; and the smaller the time deviation value, the closer the user's check-in time is to the specified time.
[0098] The preset weighting rule data is read from a server or local configuration file. This data is typically stored as key-value pairs. After reading, the data is parsed to extract specific distance weights, precision weights, and time weights for use in subsequent weighted fusion calculations. The straight-line distance, precision parameter, and time offset values are each normalized to be within the same dimensional range. The normalization method, such as linear normalization, can be selected based on the actual situation. The normalized straight-line distance value is then multiplied by the distance weight, the normalized precision parameter value is multiplied by the precision weight, and the normalized time offset value is multiplied by the time weight. Finally, these three products are summed to obtain a comprehensive score. During the weighted fusion calculation, smaller straight-line distance values have larger normalized values and contribute more to the comprehensive score after multiplying by the distance weight. Similarly, smaller precision parameter and time offset values have larger normalized values and contribute more to the comprehensive score after multiplying by their corresponding weights.
[0099] For example, the closer the distance between the user and the workplace, the higher the score. Use f and x inversely proportional, gradient decreasing function, w controls the gradient, the specific formula is:
[0100] f score =e -w(x-radius) ,x∈(radius,+∞)
[0101] For the progress parameter value, the worse the accuracy, the higher the probability of off-duty caused by the error, and the higher the score. The function with decreasing gradient and proportional to f is used. The specific formula is:
[0102] f score =1-e -wx
[0103] For the time deviation value, that is, the difference from the working time, the closer to the working time, the greater the urgency; among them, the value of the card leaving / late for work is 0. The specific scoring formula is:
[0104] f score =e -w·Δtime
[0105] Finally, the total score calculation formula (F is the comprehensive score, f is the score corresponding to each auxiliary parameter):
[0106] F score =∑w i f score(i)
[0107] Step S40: When the comprehensive score is greater than or equal to a preset determination threshold, it is determined that the user terminal is in a valid check-in location.
[0108] In this embodiment, the preset judgment threshold is a standard value set by the enterprise based on clock-in requirements and actual circumstances, used to determine whether the comprehensive score meets the valid clock-in conditions. A valid clock-in location refers to the geographic location of the user terminal that is considered to be within the range of the enterprise's regulations for successful clock-in. The preset judgment threshold can also be used to determine whether a user is clocking in for back-office staff. It should be noted that the auxiliary judgment parameters and weighting rules for back-office staff clock-in differ from those for normal clock-in.
[0109] Specifically, the calculated comprehensive score is compared with a preset threshold. The preset threshold is typically stored in a server or application configuration file. If the comprehensive score is greater than or equal to the threshold, the user terminal is considered to be in a valid check-in location and the check-in is successful; otherwise, the check-in fails. For example, if the comprehensive score is 0.7 and the preset threshold is 0.6, the check-in is considered successful.
[0110] For example, Figure 2 As shown, Figure 2 This is a schematic diagram of the overall positioning process involved in the embodiment of the present application. When the user enters the APP workbench, a GPS position is immediately obtained and stored in the cache. If the positioning result has been obtained before entering the clock-in page, the user can immediately enter the back-office determination process when entering the clock-in page. At the same time, the user's behavior of refreshing the positioning number is recorded and saved. After obtaining the GPS positioning result, the straight-line distance between the positioning longitude and latitude and the longitude and latitude of the set clock-in location is calculated. When the distance is less than or equal to the clock-in radius, it is determined that the user is at the clock-in location. The user can then perform back-office clocking in. If the positioning result is not within the clock-in range, a multi-dimensional positioning judgment is performed based on the user behavior, clock-in time, positioning results, surrounding environment information and other factors recorded on the clock-in page, that is, the clock-in location judgment method of the present application, and a comprehensive score is output. Finally, it is determined whether it is in a valid clock-in location based on the comprehensive score. If so, the back-office clock-in is performed. Otherwise, it is prompted that it is not at the clock-in location.
[0111] In the technical solution provided in this embodiment, the current location information of the user terminal is obtained, and the straight-line distance value between the current location information and the preset check-in point coordinates is calculated. Then, at least two auxiliary judgment parameters corresponding to the user terminal are collected, wherein the auxiliary judgment parameters include the accuracy parameter value of the current location information and the time deviation value between the current time and the target check-in time. Then, according to the preset weight distribution rule, the straight-line distance value, the accuracy parameter value and the time deviation value are weighted and fused to generate a comprehensive score. Finally, when the comprehensive score is greater than or equal to the preset judgment threshold, it is determined that the user terminal is in a valid check-in location. The solution of this embodiment comprehensively considers multi-dimensional factors such as the distance between the current location information of the user terminal and the preset check-in point, positioning accuracy, and check-in time deviation, thereby determining the check-in location to improve the accuracy of check-in.
[0112] Example 2
[0113] Based on this, the present application also provides a second embodiment, referring to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the method for determining the check-in location of this application. After step S10, steps S50 to S70 are also included:
[0114] Step S50: Acquire a historical location information set, where the historical location information set includes at least two positioning coordinates that are determined to meet target location requirements within a preset time period.
[0115] Step S60: Calculate the distance between the current location information and each of the positioning coordinates in the historical positioning location information set.
[0116] Step S70: If all distances do not exceed the preset stability threshold, it is determined that the user terminal is at the valid check-in location, and the weighted fusion calculation step is skipped.
[0117] In this embodiment, the historical location information set is a collection of location coordinates of the user terminal that were determined to meet the target location requirements during a preset period of time. The preset period can be set based on actual needs, such as the past week or month. Location coordinates that meet the target location requirements are those determined to be valid check-in locations during the check-in process. The preset stability threshold is a distance value pre-set based on actual needs, used to determine whether the distance between the current location and historical valid check-in locations is within an acceptable range. If all distances are less than or equal to the threshold, the user terminal is considered to be in a stable and valid check-in location.
[0118] Specifically, a historical location information set is read from the server database or local storage. These data are usually automatically recorded and stored each time a valid clock-in is made. For example, the system obtains the location coordinates of all valid clock-ins of a user in the past week from the server, and these coordinates are stored in a list. The preset time period can be set to the past 7 days, and the clock-in location determination system will filter out all valid clock-in coordinates within this period. After obtaining the current location information, a distance calculation is performed between it and each location coordinate in the historical location information set. All calculated distances are then compared with the preset stability threshold to determine that the user terminal is in a valid clock-in position, and the subsequent weighted fusion calculation steps are directly skipped, and the result of a successful clock-in is directly returned.
[0119] The technical solution provided in this embodiment enhances the reliability and stability of the judgment results through comparative analysis of historical location information. Combined with weight distribution rules and weighted fusion calculations, historical location stability judgments can be rationally integrated into the comprehensive scoring system, further enhancing the credibility of the judgment results. Furthermore, this optimization approach effectively prevents delays caused by complex calculations, provides a smoother user experience, and promotes efficient clock-in operations for employees.
[0120] Example 3
[0121] Based on this, the present application also provides a third embodiment, referring to Figure 4 , Figure 4 This is a flow chart of the second embodiment of the method for determining the check-in location of this application. After step S30, steps S80 to S100 are also included:
[0122] Step S80: Acquire historical positioning accuracy data of a preset target location.
[0123] Step S90: Analyze and determine the deviation result corresponding to the historical positioning accuracy data.
[0124] Step S100: When the deviation result is greater than a preset deviation threshold, the weight ratio of the accuracy parameter value in the comprehensive score is reduced.
[0125] In this embodiment, the historical positioning accuracy data of the preset target location refers to the positioning accuracy information recorded by past positioning operations at the preset check-in point or its vicinity. The deviation result refers to the degree of positioning accuracy deviation obtained after statistical analysis of the historical positioning accuracy data. It is usually expressed by calculating statistical indicators such as the standard deviation, variance, or mean error of the historical positioning accuracy data. When the deviation result exceeds the preset deviation threshold, it indicates that the positioning accuracy fluctuates too much, which will affect the reliability of the judgment result. Reducing the weight ratio is to reduce the proportion of the accuracy parameter value in the comprehensive score calculation to reduce its impact on the comprehensive score.
[0126] Specifically, the historical positioning accuracy data of the preset target location is read from the server database or local storage. These data are usually automatically recorded and stored during each positioning operation. For example, the system obtains the accuracy data of all positioning operations of a certain check-in point in the past month from the server, including the error range and accuracy value of each positioning. The historical positioning accuracy data obtained is then statistically analyzed. For example, the standard deviation of the historical positioning accuracy data is calculated. If the standard deviation is large, it means that the positioning accuracy fluctuates greatly and the deviation result is significant. The deviation result can then be determined according to the preset calculation rules, such as calculating the average error or variance of the historical positioning accuracy data. Finally, the calculated deviation result is compared with the preset deviation threshold. For example, the preset deviation threshold is 20 meters, and the calculated deviation result is 25 meters, which exceeds the preset threshold. This will reduce the weight of the accuracy parameter value in the comprehensive score.
[0127] The technical solution provided in this embodiment combines historical location stability analysis with other auxiliary judgment parameters to further enhance the accuracy and adaptability of the comprehensive scoring. Furthermore, this dynamic adjustment mechanism effectively prevents misjudgments caused by positioning signal fluctuations, providing more stable and reliable clock-in location determination results, thereby improving the efficiency and effectiveness of enterprise attendance management.
[0128] Example 4
[0129] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the multi-dimensional determination process involved in the embodiment of the present application. First, switch to the backup positioning service SDK for positioning. The positioning results provided by different positioning service providers will have certain differences. If the distance calculation of the positioning result meets the conditions, the positioning result is back-office. Then obtain the user's last three back-office positioning results, and the back-office positioning results will be cached locally. If the distance between the coordinates obtained by positioning and the positioning coordinates of the last three times does not exceed the configured value, it can be determined that the user is at the back-office location, and the previously cached positioning results are invalid. If it exceeds the configured value, it is determined whether the administrator has configured the MAC address of the WIFI around the workplace. If the MAC address of the WIFI around the workplace is configured in advance, and the user allows the APP to obtain nearby WIFI information, the real-time WIFI information obtained is used to determine whether the user is at the workplace. If it is determined to be at the workplace, the determination process ends.
[0130] If none of the above judgments are valid, the score is calculated based on factors such as positioning distance, positioning accuracy, and number of user refreshes, combined with weight distribution rules and weighted fusion. If the score reaches the configured threshold, it is judged as internal work and the judgment process ends.
[0131] The present application provides a device for determining a clock-in location, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for determining a clock-in location in the above-mentioned embodiment one.
[0132] Reference below Figure 6 , which shows a schematic diagram of the structure of a device suitable for implementing the punch-in location determination device of the embodiment of the present application. The punch-in location determination device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The device for determining the clock-in location shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0133] like Figure 6As shown, the punch-in location determination device may include a processing device 1001 (e.g., a core processor, a graphics processor, etc.), which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the punch-in location determination device operation are also stored in the RAM 1004. The processing device 1001, the read-only memory 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the punch-in position determination device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a punch-in position determination device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems can be implemented or have instead.
[0134] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are performed.
[0135] The clock-in location determination device provided in this application utilizes the clock-in location determination method described in the aforementioned embodiment, resolving the technical issue with conventional solutions where GPS signal drift can lead to incorrect clock-in errors, resulting in insufficient clock-in accuracy. Compared to the prior art, the clock-in location determination device provided in this application achieves the same beneficial effects as the clock-in location determination method described in the aforementioned embodiment. Other technical features of this clock-in location determination device are the same as those disclosed in the aforementioned embodiment and are not further elaborated upon here.
[0136] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0137] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0138] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, and the computer-readable program instructions are used to execute the method for determining the punch-in location in the above embodiment.
[0139] The computer-readable storage medium provided in this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM, Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM, CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (RF, Radio Frequency), etc., or any suitable combination thereof.
[0140] The computer-readable storage medium may be included in the punch-in position determination device; or may exist independently without being incorporated into the punch-in position determination device.
[0141] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the punch-in location determination device, the punch-in location determination device: obtains the current location information of the user terminal, and calculates the straight-line distance value between the current location information and the preset punch-in point coordinates; collects at least two auxiliary determination parameters corresponding to the user terminal, wherein the auxiliary determination parameters include the accuracy parameter value of the current location information and the time deviation value between the current time and the target punch-in time; performs weighted fusion calculation on the straight-line distance value, the accuracy parameter value and the time deviation value according to the preset weight distribution rule to generate a comprehensive score; when the comprehensive score is greater than or equal to the preset determination threshold, it is determined that the user terminal is in a valid punch-in location.
[0142] The computer program code for performing the operations of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through 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., using an Internet service provider to connect via the Internet).
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of code, and the module, program segment or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0144] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0145] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned method for determining a check-in location. This computer-readable storage medium can address the technical issue of traditional methods misidentifying invalid check-ins due to GPS signal drift, resulting in insufficient check-in accuracy. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the method for determining a check-in location provided in the aforementioned embodiments, and are not further elaborated here.
[0146] An embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for determining a clock-in location as described above.
[0147] The computer program product provided in this application can address the technical issue of traditional solutions where GPS signal drift can lead to incorrect clock-in accuracy, misjudging invalid clock-ins. Compared to the prior art, the beneficial effects of the computer program product provided in this embodiment are similar to those of the clock-in location determination method provided in the aforementioned embodiment, and are not further elaborated here.
[0148] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A method for determining a check-in location, characterized in that: The method for determining the clock-in location comprises the following steps: Obtain the current location information of the user terminal and calculate the straight-line distance between the current location information and the preset check-in point coordinates; Collecting at least two auxiliary determination parameters corresponding to the user terminal, wherein the auxiliary determination parameters include an accuracy parameter value of the current location information and a time deviation value between the current time and the target punch-in time; According to a preset weight distribution rule, a weighted fusion calculation is performed on the straight-line distance value, the accuracy parameter value, and the time deviation value to generate a comprehensive score; When the comprehensive score is greater than or equal to a preset determination threshold, it is determined that the user terminal is in a valid check-in location.
2. The method according to claim 1, wherein The step of obtaining the user's current location information and calculating the straight-line distance between the current location information and the preset check-in point coordinates includes: After detecting that the user has entered the target range, the positioning operation is performed and the positioning result is cached; When the user terminal triggers a position determination operation, calling the cached positioning result; The straight-line distance value between the current position information and the preset check-in point coordinates is calculated based on the current position information in the positioning result.
3. The method according to claim 1, wherein The step of performing weighted fusion calculation on the straight-line distance value, the accuracy parameter value, and the time deviation value according to a preset weight distribution rule to generate a comprehensive score includes: Obtaining the preset weight allocation rule, and determining a distance weight value, an accuracy weight value, and a time weight value in the weight allocation rule; Perform weighted fusion calculation on the straight-line distance value, the precision parameter value and the time deviation value according to the distance weight value, the precision weight value and the time weight value to generate a comprehensive score; Among them, the smaller the straight-line distance value is, the more positively the score contribution increases; the smaller the accuracy parameter value is, the more positively the score contribution increases; and the smaller the time deviation parameter value is, the more positively the score contribution increases.
4. The method according to claim 1, wherein After the steps of obtaining the current location information of the user terminal and calculating the straight-line distance between the current location information and the preset check-in point coordinates, the method further includes: Acquire a historical location information set, the historical location information set including at least two positioning coordinates determined to meet target location requirements within a preset time period; Calculating the distance between the current location information and each of the positioning coordinates in the historical positioning location information set; If all distances do not exceed the preset stability threshold, it is determined that the user terminal is at the valid check-in location, and the weighted fusion calculation step is skipped.
5. The method according to claim 1, wherein The auxiliary determination parameter further includes a wireless signal matching degree, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes: Obtain a pre-stored signal identification set and scan the real-time wireless access point information of the current environment; Matching the signal identification set with the real-time wireless access point information, and counting the number of successful matches; generating the wireless signal matching degree according to the matching number; The greater the wireless signal matching degree is, the greater the score contribution is.
6. The method according to claim 1, wherein The auxiliary determination parameter further includes a user behavior credibility parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes: Acquire historical positioning behavior data corresponding to the user terminal, the historical positioning behavior data including at least one of a historical positioning success rate, a historical positioning coordinate dispersion, and a historical positioning time deviation; Calculate the user behavior credibility score corresponding to the historical positioning behavior data based on preset scoring rules; Among them, the higher the user behavior credibility score is, the greater its score contribution is.
7. The method according to claim 1, wherein The auxiliary determination parameter also includes a device positioning capability parameter, and the step of collecting at least two auxiliary determination parameters corresponding to the user terminal further includes: Identifying the device model of the user terminal; Determining the positioning capability level of the user terminal according to a preset mapping relationship between device model and positioning performance; Converting the positioning capability level into the device positioning capability parameter; The higher the device positioning capability parameter value is, the greater the score contribution is.
8. The method according to claim 1, wherein After the step of performing weighted fusion calculation on the straight-line distance value, the accuracy parameter value, and the time deviation value according to a preset weight distribution rule to generate a comprehensive score, the method further includes: Obtain historical positioning accuracy data of the preset target location; Analyze and determine the deviation results corresponding to the historical positioning accuracy data; When the deviation result is greater than a preset deviation threshold, the weight ratio of the accuracy parameter value in the comprehensive score is reduced.
9. A device for determining a check-in location, characterized in that: The punch-in location determination device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the punch-in location determination method according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for determining a check-in location according to any one of claims 1 to 8 are implemented.