Automatic punch-in method and device, processor and electronic device
By obtaining the satellite positioning information of the punch-in range and boundary range, the clock-in operation is automatically triggered, which solves the problem of low clock-in efficiency caused by manual startup in the existing technology, and achieves more efficient and accurate attendance punch-in.
Patent Information
- Application Number
- CN202210499816.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-05-09
AI Technical Summary
The existing attendance and clock-in system requires manual activation of the APP, resulting in low clock-in efficiency.
By obtaining satellite positioning information of the check-in range and check-in boundary range, the check-in operation is automatically triggered, including setting self-start permissions and reminder mechanisms to ensure that the check-in operation is completed within the preset time.
It improves the efficiency of clocking in, reduces manual intervention, and ensures the accuracy and timeliness of clocking in.
Smart Images

Figure CN114882607B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and more specifically, to a method and device for automatic clocking in, a processor, and an electronic device. Background Art
[0002] The current attendance punching system is completed through a smart phone with positioning turned on and an attendance punching system APP installed. If you need to punch in, you need to manually start the APP program on the mobile device. The program obtains the current positioning information and punching range information. If the user's current location is within the punching range, you are allowed to punch in and out. Figure 1 The attendance punching system shown in the figure. Since the current punching system requires human-computer interaction every time the clock is punched, it causes trouble to the user and also leads to low clocking efficiency.
[0003] With regard to the problem that the punch-in efficiency is relatively low due to the manual punch-in method used in related technologies, no effective solution has been proposed so far. Summary of the invention
[0004] The main purpose of the present application is to provide a method and device for automatic clocking in, a processor and an electronic device to solve the problem of low clocking in efficiency caused by manual clocking in in the related art.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for automatic clocking in is provided. The method comprises: obtaining a clocking in range and a clocking in boundary range, wherein the clocking in range includes the clocking in boundary range; obtaining satellite positioning information of a target object through a clocking in program; and triggering a clocking in operation according to the clocking in range, the clocking in boundary range and the satellite positioning information.
[0006] Further, based on the punch-in range, the punch-in boundary range and the satellite positioning information, triggering the punch-in operation includes: if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in range, or if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in boundary range in the punch-in range to the punch-in boundary range, then triggering the punch-in operation.
[0007] Furthermore, obtaining the punch-in range and the punch-in boundary range includes: obtaining the punch-in range through a preset function; setting the punch-in boundary range according to the punch-in range and a map tool; and storing the punch-in range and the punch-in boundary range in a configuration file of the punch-in program.
[0008] Furthermore, before obtaining the satellite positioning information of the target object through the clock-in program, the method also includes: obtaining the background running permission and self-starting permission of the clock-in program; and setting the self-starting time of the clock-in program.
[0009] Furthermore, after triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method also includes: if signal one indicating a successful punch-in operation is detected, obtaining the current time point; determining whether the current time point is within a preset time range; if the current time point is within the preset time range, returning signal two indicating a successful punch-in.
[0010] Furthermore, after returning signal 2 indicating successful clocking in if the current time point is within the preset time range, the method also includes: if signal 2 is detected or a closing operation of the clocking in program is detected, closing the clocking in program; if signal 3 indicating a failed clocking in is detected, triggering reminder mechanism 1, wherein reminder mechanism 1 is used to remind the target object that the clocking in failed.
[0011] Furthermore, before triggering the execution of the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method also includes: if it is detected that the satellite positioning information has changed and has not passed the punch-in boundary range, triggering reminder mechanism 2, wherein the reminder mechanism 2 is used to remind the target object that the punch-in operation has not been performed.
[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for automatic clocking in is provided. The device comprises: a first acquisition unit, used to acquire a clocking in range and a clocking in boundary range, wherein the clocking in range includes the clocking in boundary range; a second acquisition unit, used to acquire satellite positioning information of a target object through a clocking in procedure; and a trigger unit, used to trigger the execution of a clocking in operation according to the clocking in range, the clocking in boundary range and the satellite positioning information.
[0013] Further, the trigger unit includes: a detection module, which is used to trigger the punch-in operation if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in range, or if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in boundary range in the punch-in range.
[0014] Furthermore, the first acquisition unit includes: an acquisition module, used to obtain the punch-in range through a preset function; a setting module, used to set the punch-in boundary range according to the punch-in range and a map tool; and a storage module, used to store the punch-in range and the punch-in boundary range in a configuration file of the punch-in program.
[0015] Furthermore, the device also includes: a third acquisition unit, used to obtain the background running permission and self-starting permission of the punching program before obtaining the satellite positioning information of the target object through the punching program; a setting unit, used to set the self-starting time of the punching program.
[0016] Furthermore, the device also includes: a fourth acquisition unit, which is used to acquire the current time point if a signal one indicating a pre-successful punch-in operation is detected after triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information; a judgment unit, which is used to judge whether the current time point is within a preset time range; and a first processing unit, which is used to return a signal two indicating a successful punch-in if the current time point is within the preset time range.
[0017] Furthermore, the device also includes: a second processing unit, which is used to return signal two indicating successful clocking in if the current time point is within the preset time range, and then close the clocking in program if signal two is detected or a closing operation of the clocking in program is detected; a third processing unit, which is used to trigger reminder mechanism one if signal three indicating a failed clocking in is detected, wherein the reminder mechanism one is used to remind the target object of a failed clocking in.
[0018] Furthermore, the device also includes: a fourth processing unit, which is used to trigger reminder mechanism 2 before triggering the execution of the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, if it is detected that the satellite positioning information has changed and has not passed the punch-in boundary range, wherein the reminder mechanism 2 is used to remind the target object that the punch-in operation has not been performed.
[0019] In order to achieve the above objective, according to one aspect of the present application, a processor is provided, and the processor is used to run a program, wherein the program executes any one of the above-mentioned automatic clocking-in methods when running.
[0020] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an electronic device is provided, and the electronic device includes one or more processors and a memory, and the memory is used to store the method of automatic clocking in as described above implemented by one or more processors.
[0021] Through this application, the following steps are adopted: obtaining the punch-in range and the punch-in boundary range, wherein the punch-in range includes the punch-in boundary range; obtaining the satellite positioning information of the target object through the punch-in program; triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, which solves the problem of low punch-in efficiency caused by manual punch-in in the related technology. Through the punch-in range, the punch-in boundary range and the satellite positioning information of the target object, the punch-in program automatically triggers the punch-in operation, avoiding manual punch-in, thereby achieving the effect of improving the punch-in efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0023] Figure 1 It is a schematic diagram of a punch card system in the prior art;
[0024] Figure 2 is a flow chart of an automatic clock-in method provided according to an embodiment of the present application;
[0025] Figure 3 It is a schematic diagram of the punch-in range and punch-in boundary range provided according to an embodiment of the present application;
[0026] Figure 4 This is a flowchart of an optional automatic clock-in method provided according to an embodiment of the present application.
[0027] Figure 5 is a schematic diagram of an automatic clock-in device provided according to an embodiment of the present application;
[0028] Figure 6 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0030] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0033] The present invention is described below in conjunction with preferred implementation steps. Figure 2 is a flow chart of the automatic clock-in method provided in accordance with an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0034] Step S201, obtaining a clock-in range and a clock-in boundary range, wherein the clock-in range includes a clock-in boundary range.
[0035] Specifically, the punch-in range and punch-in boundary range are set according to actual needs. The punch-in range refers to a given geographical range (longitude and latitude range) that accepts punch-ins. When the terminal mobile device where the punch-in program is located (for example, a smart phone) is within this range, the punch-in operation can successfully register attendance information. The punch-in boundary area is a part of the punch-in range. The punch-in boundary area is also a geographical range defined based on longitude and latitude and must be a subset of the punch-in range. The punch-in boundary area is at the edge of the punch-in range, for example, near the company's front door, and the user enters the punch-in boundary area. Figure 3 As shown, Figure 3 The circular range in the figure is the clock-in range of a company. Then the diagonal range can be set as the clock-in boundary area, and the other areas are non-clock-in ranges.
[0036] Step S202, obtaining the satellite positioning information of the target object through the clock-in program.
[0037] Specifically, the clock-in program starts automatically at a preset time, and then obtains the satellite positioning information of the target object. The longitude, latitude and altitude information of the observation point (ie the target object mentioned above) can be accurately obtained through the satellite navigation system.
[0038] Step S203, triggering the punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information.
[0039] Specifically, the clock-in program will automatically clock in based on the clock-in range, clock-in boundary range and satellite positioning information.
[0040] Optionally, in the automatic clocking-in method provided in an embodiment of the present application, triggering the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information includes: if it is detected that the satellite positioning information enters the clocking-in boundary range from the non-clocking-in range, or if it is detected that the satellite positioning information enters the clocking-in boundary range from the non-clocking-in boundary range in the clocking-in range to the clocking-in boundary range, then triggering the clocking-in operation.
[0041] Specifically, when the satellite positioning information of the target object changes from the non-punching range to the punching boundary range, the clocking in is performed. When the satellite positioning information of the target object changes from the non-punching boundary range in the punching range to the punching boundary range, the clocking out is performed. Through the above steps, it is possible to accurately determine whether to punch in, thereby improving the accuracy of clocking in and out.
[0042] Optionally, in the automatic punch-in method provided in an embodiment of the present application, obtaining the punch-in range and the punch-in boundary range includes: obtaining the punch-in range through a preset function; setting the punch-in boundary range based on the punch-in range and the map tool; and storing the punch-in range and the punch-in boundary range in a configuration file of the punch-in program.
[0043] Specifically, generally speaking, the punch-in range is a circular range with a central point as the center and a preset length as the radius. The punch-in range can be obtained through the geographic range generation function, and then the punch-in boundary range is set according to the actual needs of the target object. The punch-in range and the punch-in boundary range are then saved in the configuration file of the punch-in program, which is convenient for subsequent calls to the range for location judgment to realize the punch-in work.
[0044] Optionally, in the automatic clocking-in method provided in an embodiment of the present application, before obtaining the satellite positioning information of the target object through the clocking-in program, the method also includes: obtaining the background running permission and self-starting permission of the clocking-in program; and setting the self-starting time of the clocking-in program.
[0045] Specifically, after the clock-in program is deployed to the terminal mobile device, it is necessary to set the background running permission and self-starting permission of the clock-in program, and set the self-starting time of the clock-in program. For example, the user (i.e., the target object mentioned above) has a prescribed commuting time of 8:30-17:30, and the user's living habits usually lead him to arrive at the company between 8:00 and 8:30 in the morning, and get off work between 17:30 and 19:00 in the evening. In this case, the scheduled self-starting time can be set to 7:50 and 17:20 to ensure that the clock-in program is running when entering and leaving the company's clock-in range and can monitor the changes in the user's satellite positioning information in real time. The above steps can effectively reduce the background running time of the clock-in program, thereby achieving the effect of saving resources.
[0046] Optionally, in the automatic clocking-in method provided in an embodiment of the present application, after triggering the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information, the method further includes: if a signal one indicating a pre-successful clocking-in operation is detected, obtaining the current time point; determining whether the current time point is within a preset time range; if the current time point is within the preset time range, returning a signal two indicating a successful clocking-in.
[0047] Specifically, after executing the clock-in operation, if the clock-in operation is successful, then it is necessary to obtain the current clock-in operation time (i.e., the current time point mentioned above). If the operation time is within the preset time range, then a successful clock-in signal is returned to the target object. This is to avoid invalid clock-ins during non-clock-in time. For example, the normal clock-in time for work is 8:30-9:00 in the morning (i.e., the preset time range mentioned above), and the target object triggers the clock-in mechanism during non-clock-in time due to work needs. In this case, the clock-in at this time is invalid, the clock-in program will not be closed, and no related clock-in records will be made. Through the above steps, it is ensured that the target object can clock in successfully, and it is avoided that the clock-in operation outside the clock-in time range causes the clock-in program to be automatically closed, resulting in the user not being able to clock in during the normal off-duty period of the day because the clock-in program has been closed.
[0048] Optionally, in the automatic clocking-in method provided in an embodiment of the present application, after returning signal two indicating successful clocking-in if the current time point is within a preset time range, the method further includes: if signal two is detected or a closing operation of the clocking-in program is detected, closing the clocking-in program; if signal three indicating a failed clocking-in is detected, triggering reminder mechanism one, wherein reminder mechanism one is used to remind the target object of a failed clocking-in.
[0049] Specifically, when the clock-in is successful or the operation is manually closed, the clock-in program is closed. Such an operation can effectively reduce the background running time and reduce the power consumption of the mobile terminal. In actual application, there are various special situations (for example, poor network signal, system freeze, etc.) that lead to the problem of failure to clock in successfully. When the clock-in is unsuccessful, a reminder function (ringing or vibrating) will be triggered to remind the user that the clock-in failed. Such an operation can effectively avoid the problem of failure to clock in successfully due to various special situations.
[0050] Optionally, in the automatic clocking-in method provided in an embodiment of the present application, before triggering the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information, the method also includes: if it is detected that the satellite positioning information has changed and has not passed the clocking-in boundary range, then triggering reminder mechanism two, wherein reminder mechanism two is used to remind the target object that the clocking-in operation has not been performed.
[0051] Specifically, in actual applications, it is also necessary to avoid the problem of failing to clock in due to the target object moving too fast. Therefore, if the user's satellite positioning information does not pass through the preset clock-in boundary range (for example, the satellite positioning information changes directly from the non-clock-in boundary range in the clock-in range to the non-clock-in range, or the satellite positioning information changes directly from the non-clock-in range to the non-clock-in boundary range in the clock-in range), the reminder function is triggered to remind the user that he has not clocked in.
[0052] It should be noted that for existing clock-in systems, such as Figure 1 As shown, the judgment and execution of automatic punching can be used as a new system to assist the existing punching system and reduce development costs and resource waste.
[0053] like Figure 4 As shown, a flowchart of optional automatic clocking in provided according to an embodiment of the present application. The first step is to set the clocking in range and the clocking in boundary range; the second step is to set the timed start and the clocking in succession shutdown, etc.; the third step is to monitor the satellite positioning of the terminal in real time; the fourth step is to automatically initiate the clocking in operation when the terminal position moves from the non-clocking in range to the clocking in boundary area; the clocking in operation is automatically initiated when the terminal position moves from the non-clocking in boundary area of the clocking in range to the clocking in boundary area.
[0054] The automatic clocking-in method provided in the embodiment of the present application obtains the clocking-in range and the clocking-in boundary range, wherein the clocking-in range includes the clocking-in boundary range; obtains the satellite positioning information of the target object through the clocking-in program; triggers the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information, thereby solving the problem of low clocking-in efficiency caused by manual clocking-in in the related art. The clocking-in program automatically triggers the clocking-in operation through the clocking-in range, the clocking-in boundary range and the satellite positioning information of the target object, thereby avoiding the need to clock in manually, thereby achieving the effect of improving the clocking-in efficiency.
[0055] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0056] The embodiment of the present application also provides an automatic clocking-in device. It should be noted that the automatic clocking-in device of the embodiment of the present application can be used to execute the automatic clocking-in method provided in the embodiment of the present application. The automatic clocking-in device provided in the embodiment of the present application is introduced below.
[0057] Figure 5 Schematic diagram of an automatic clock-in device according to an embodiment of the present application. Figure 5 As shown, the device includes: a first acquisition unit 501, a second acquisition unit 502 and a trigger unit 503.
[0058] The first acquisition unit 501 is used to acquire a clock-in range and a clock-in boundary range, wherein the clock-in range includes a clock-in boundary range.
[0059] The second acquisition unit 502 is used to acquire the satellite positioning information of the target object through the clock-in program.
[0060] The trigger unit 503 is used to trigger the execution of the punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information.
[0061] The automatic clocking-in device provided in the embodiment of the present application obtains the clocking-in range and the clocking-in boundary range through the first acquisition unit 501, wherein the clocking-in range includes the clocking-in boundary range; the second acquisition unit 502 obtains the satellite positioning information of the target object through the clocking-in program; the trigger unit 503 triggers the clocking-in operation according to the clocking-in range, the clocking-in boundary range and the satellite positioning information, thereby solving the problem of low clocking-in efficiency caused by the manual clocking-in in the related art. Through the clocking-in range, the clocking-in boundary range and the satellite positioning information of the target object, the clocking-in program automatically triggers the clocking-in operation, avoiding the manual clocking-in, thereby achieving the effect of improving the clocking-in efficiency.
[0062] Optionally, in the automatic clocking-in device provided in an embodiment of the present application, the trigger unit 503 includes: a detection module, which is used to trigger the clocking-in operation if it is detected that the satellite positioning information enters the clocking-in boundary range from a non-clocking-in range, or if it is detected that the satellite positioning information enters the clocking-in boundary range from a non-clocking-in boundary range in the clocking-in range.
[0063] Optionally, in the automatic clocking-in device provided in an embodiment of the present application, the first acquisition unit 501 includes: an acquisition module, used to obtain the clocking-in range through a preset function; a setting module, used to set the clocking-in boundary range based on the clocking-in range and the map tool; and a storage module, used to store the clocking-in range and the clocking-in boundary range in a configuration file of the clocking-in program.
[0064] Optionally, in the automatic clocking-in device provided in an embodiment of the present application, the device also includes: a third acquisition unit, used to obtain the background running permission and self-starting permission of the clocking-in program before obtaining the satellite positioning information of the target object through the clocking-in program; a setting unit, used to set the self-starting time of the clocking-in program.
[0065] Optionally, in the automatic clocking-in device provided in the embodiment of the present application, the device also includes: a fourth acquisition unit, for acquiring the current time point if a signal one indicating a pre-successful clocking-in operation is detected after triggering the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information; a judgment unit, for judging whether the current time point is within a preset time range; and a first processing unit, for returning a signal two indicating a successful clocking-in if the current time point is within the preset time range.
[0066] Optionally, in the automatic clocking-in device provided in the embodiment of the present application, the device also includes: a second processing unit, for returning signal two indicating successful clocking-in if the current time point is within a preset time range, and then closing the clocking-in program if signal two is detected or a closing operation of the clocking-in program is detected; and a third processing unit, for triggering reminder mechanism one if signal three indicating a clocking-in failure is detected, wherein reminder mechanism one is used to remind the target object of a clocking-in failure.
[0067] Optionally, in the automatic clocking-in device provided in an embodiment of the present application, the device also includes: a fourth processing unit, which is used to trigger reminder mechanism two if it is detected that the satellite positioning information has changed and has not passed the clocking-in boundary range before triggering the clocking-in operation based on the clocking-in range, the clocking-in boundary range and the satellite positioning information, wherein reminder mechanism two is used to remind the target object that the clocking-in operation has not been performed.
[0068] It should be noted that the first acquisition unit 501 in this embodiment can be used to execute step S201 in the embodiment of the present application, the second acquisition unit 502 in this embodiment can be used to execute step S202 in the embodiment of the present application, and the trigger unit 503 in this embodiment can be used to execute step S203 in the embodiment of the present application. The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.
[0069] The automatic clocking-in device includes a processor and a memory. The first acquisition unit 501, the second acquisition unit 502 and the trigger unit 503 are all stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.
[0070] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and automatic clocking in can be achieved by adjusting kernel parameters.
[0071] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0072] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes an automatic clock-in method when the program is running.
[0073] like Figure 6 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: obtaining a punch-in range and a punch-in boundary range, wherein the punch-in range includes a punch-in boundary range; obtaining satellite positioning information of the target object through the punch-in program; triggering the execution of the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information.
[0074] Optionally, based on the punch-in range, the punch-in boundary range and the satellite positioning information, triggering the punch-in operation includes: if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in range, or if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in boundary range in the punch-in range to the punch-in boundary range, then the punch-in operation is triggered.
[0075] Optionally, obtaining the punch-in range and the punch-in boundary range includes: obtaining the punch-in range through a preset function; setting the punch-in boundary range according to the punch-in range and a map tool; and storing the punch-in range and the punch-in boundary range in a configuration file of the punch-in program.
[0076] Optionally, before obtaining the satellite positioning information of the target object through the clock-in program, the method further includes: obtaining background running permission and self-starting permission of the clock-in program; and setting the self-starting time of the clock-in program.
[0077] Optionally, after triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method also includes: if a signal one indicating a successful punch-in operation is detected, obtaining the current time point; determining whether the current time point is within a preset time range; if the current time point is within the preset time range, returning a signal two indicating a successful punch-in.
[0078] Optionally, after returning signal two indicating successful clocking in if the current time point is within a preset time range, the method further includes: if signal two is detected or a closing operation of the clocking in program is detected, closing the clocking in program; if signal three indicating a failed clocking in is detected, triggering reminder mechanism one, wherein reminder mechanism one is used to remind the target object of a failed clocking in.
[0079] Optionally, before triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method further includes: if it is detected that the satellite positioning information has changed and has not passed the punch-in boundary range, triggering a second reminder mechanism, wherein the second reminder mechanism is used to remind the target object that the punch-in operation has not been performed. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0080] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: obtaining a punch-in range and a punch-in boundary range, wherein the punch-in range includes a punch-in boundary range; obtaining satellite positioning information of the target object through the punch-in program; and triggering the execution of a punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information.
[0081] Optionally, based on the punch-in range, the punch-in boundary range and the satellite positioning information, triggering the punch-in operation includes: if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in range, or if it is detected that the satellite positioning information enters the punch-in boundary range from the non-punch-in boundary range in the punch-in range to the punch-in boundary range, then the punch-in operation is triggered.
[0082] Optionally, obtaining the punch-in range and the punch-in boundary range includes: obtaining the punch-in range through a preset function; setting the punch-in boundary range according to the punch-in range and a map tool; and storing the punch-in range and the punch-in boundary range in a configuration file of the punch-in program.
[0083] Optionally, before obtaining the satellite positioning information of the target object through the clock-in program, the method further includes: obtaining background running permission and self-starting permission of the clock-in program; and setting the self-starting time of the clock-in program.
[0084] Optionally, after triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method also includes: if a signal one indicating a successful punch-in operation is detected, obtaining the current time point; determining whether the current time point is within a preset time range; if the current time point is within the preset time range, returning a signal two indicating a successful punch-in.
[0085] Optionally, after returning signal two indicating successful clocking in if the current time point is within a preset time range, the method further includes: if signal two is detected or a closing operation of the clocking in program is detected, closing the clocking in program; if signal three indicating a failed clocking in is detected, triggering reminder mechanism one, wherein reminder mechanism one is used to remind the target object of a failed clocking in.
[0086] Optionally, before triggering the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, the method also includes: if it is detected that the satellite positioning information has changed and has not passed the punch-in boundary range, triggering reminder mechanism 2, wherein reminder mechanism 2 is used to remind the target object that the punch-in operation has not been performed.
[0087] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0088] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0089] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0091] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0092] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0093] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0094] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0095] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0096] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for automatic clocking in, characterized in that: include: Obtaining a clock-in range and a clock-in boundary range, wherein the clock-in range includes the clock-in boundary range; Obtain satellite positioning information of the target object through the clock-in program; Triggering a punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information; After triggering the punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information, the method further includes: If a signal indicating successful punch-in operation is detected, the current time point is obtained; Determine whether the current time point is within a preset time range; If the current time point is within the preset time range, a second signal of successful clocking in is returned; If the second signal is detected or the closing operation of the punch-in program is detected, the punch-in program is closed; According to the punch-in range, the punch-in boundary range and the satellite positioning information, triggering the punch-in operation includes: If it is detected that the satellite positioning information enters the clock-in boundary range from the non-clock-in range, or if it is detected that the satellite positioning information enters the clock-in boundary range from the non-clock-in boundary range in the clock-in range, a clock-in operation is triggered; Obtaining the clock-in range and clock-in boundary range includes: Obtain the clock-in range through a preset function; According to the punch-in range and map tool, set the punch-in boundary range; Storing the clock-in range and the clock-in boundary range in a configuration file of the clock-in program; Before triggering a punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information, the method further includes: If it is detected that the satellite positioning information has changed and has not passed through the punch-in boundary range, a second reminder mechanism is triggered, wherein the second reminder mechanism is used to remind the target object that the punch-in operation has not been performed.
2. The method according to claim 1, characterized in that Before obtaining the satellite positioning information of the target object through the clock-in procedure, the method further includes: Obtain the background running permission and self-starting permission of the clock-in program; Set the self-start time of the clock-in program.
3. The method according to claim 1, characterized in that If the current time point is within the preset time range, after returning a second signal of successful clocking in, the method further includes: If signal three of failed clock-in is detected, reminder mechanism one is triggered, wherein the reminder mechanism one is used to remind the target object of the failed clock-in.
4. An automatic clock-in device, characterized in that: include: A first acquisition unit is used to acquire a punch-in range and a punch-in boundary range, wherein the punch-in range includes the punch-in boundary range; A second acquisition unit is used to acquire satellite positioning information of a target object through a clock-in program; A trigger unit, configured to trigger a punch-in operation according to the punch-in range, the punch-in boundary range and the satellite positioning information; The device further includes: a fourth acquisition unit, configured to acquire the current time point if a signal indicating a successful punch-in operation is detected after the punch-in operation is triggered according to the punch-in range, the punch-in boundary range and the satellite positioning information; a judgment unit, configured to judge whether the current time point is within a preset time range; and a first processing unit, configured to return a signal indicating a successful punch-in if the current time point is within the preset time range; The device further includes: a second processing unit, configured to, after returning a second signal indicating successful clocking in if the current time point is within the preset time range, close the clocking in program if the second signal is detected or a closing operation of the clocking in program is detected; The trigger unit includes: a detection module, configured to trigger a punch-in operation if it is detected that the satellite positioning information enters the punch-in boundary range from a non-punch-in range, or if it is detected that the satellite positioning information enters the punch-in boundary range from a non-punch-in boundary range in the punch-in range; The first acquisition unit includes: an acquisition module, used to acquire the punch-in range through a preset function; a setting module, used to set the punch-in boundary range according to the punch-in range and a map tool; a storage module, used to store the punch-in range and the punch-in boundary range in a configuration file of the punch-in program; The device also includes: a fourth processing unit, which is used to trigger reminder mechanism 2 before triggering the execution of the punch-in operation based on the punch-in range, the punch-in boundary range and the satellite positioning information, if it is detected that the satellite positioning information has changed and has not passed through the punch-in boundary range, wherein the reminder mechanism 2 is used to remind the target object that the punch-in operation has not been performed.
5. A processor, characterized in that: The processor is used to run a program, wherein the program executes the automatic clocking-in method described in any one of claims 1 to 3 when running.
6. An electronic device, characterized in that: It comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the automatic clocking-in method described in any one of claims 1 to 3.
