Punch card method and related equipment in weak network environment
By reading the historical configuration information of the mobile terminal in a weak network environment and performing clock synchronization, and combining positioning information to perform offline check-in, the problem of failed check-in or inaccurate results in a weak network environment is solved, and the problem of poor network conditions is achieved. Reliability and accuracy of punch-in.
Patent Information
- Application Number
- CN202211739868.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-12-30
AI Technical Summary
In a weak network environment, the existing technology cannot effectively solve the problem of clocking in failure or inaccurate attendance results caused by network instability when employees check in.
By reading the latest historical configuration information of the mobile terminal in a weak network environment, clock synchronization and positioning information are obtained, and offline clocking is performed based on this information. If the real-time configuration information cannot be obtained, select the historical configuration information that is closest to the current time or directly Perform clock synchronization and positioning information determination to check in.
When the network environment is poor, ensure that employees can clock in smoothly, avoid the problems of failed check-in or inaccurate results, and improve the reliability and real-timeness of attendance data.
Smart Images

Figure CN115966035B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of clocking in, and in particular to a clocking in method and related equipment in a weak network environment. Background Art
[0002] In order to better understand the work situation of employees and the operating status of the company, corporate managers need to timely and effectively grasp the attendance status and related attendance data of employees.
[0003] In actual application scenarios, employees' attendance is recorded through their personal mobile devices. However, the existing clock-in system relies on a good network environment. Once the server or network is unstable, clock-in cannot be performed or the attendance result is inaccurate. Summary of the invention
[0004] In view of the above problems, the present invention provides a clocking-in method and related equipment in a weak network environment, the main purpose of which is to solve the problem of lack of a better offline clocking-in method in a weak network environment.
[0005] In order to solve at least one of the above technical problems, in a first aspect, the present invention provides a clock-in method in a weak network environment, the method comprising:
[0006] In the case where the real-time configuration information of the mobile terminal cannot be obtained in a weak network environment, the latest historical configuration information of the mobile terminal is read;
[0007] If the latest historical configuration information is not read, synchronizing the clock of the mobile terminal and acquiring positioning information;
[0008] Offline clocking in is performed based on the clock synchronization information and the positioning information.
[0009] Optionally, the historical configuration information is automatically acquired and recorded by the mobile terminal at preset periodic intervals.
[0010] Optionally, the above method further includes:
[0011] When the real-time configuration information of the mobile terminal is acquired, saving the real-time configuration information;
[0012] Initialize the clock-in interface based on the real-time configuration information.
[0013] Optionally, the performing offline clocking in based on the clock synchronization information and the positioning information includes:
[0014] When the clock synchronization information matches the standard clock synchronization information, and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
[0015] Optionally, the above method further includes:
[0016] When it is detected that the punch-in permission is triggered, obtain the face comparison requirement information;
[0017] If the face comparison requirement information is not obtained, performing offline clocking in based on the clock synchronization information and the positioning information;
[0018] When the face comparison requirement information is obtained, the check-in is performed based on the face comparison result.
[0019] Optionally, the above method further includes:
[0020] When it is detected that the punch-in permission is triggered, obtaining a unique identification code of the mobile terminal;
[0021] Punch in based on the matching result between the unique identification code of the mobile terminal and the historical unique identification code.
[0022] Optionally, the historical unique identification code is determined based on a previous clock-in device used by the account that performs the clock-in operation.
[0023] In a second aspect, an embodiment of the present invention further provides a punch-in device in a weak network environment, including:
[0024] A reading unit, used to read the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in a weak network environment;
[0025] an acquisition unit, configured to synchronize the clock of the mobile terminal and acquire the positioning information when the latest historical configuration information is not read;
[0026] A clocking-in unit is used for performing offline clocking-in based on the clock synchronization information and the positioning information.
[0027] In order to achieve the above-mentioned purpose, according to the third aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the above-mentioned program is executed by a processor, the steps of the above-mentioned punch-in method in a weak network environment are implemented.
[0028] In order to achieve the above-mentioned purpose, according to the fourth aspect of the present invention, there is provided an electronic device, comprising at least one processor and at least one memory connected to the processor; wherein the above-mentioned processor is used to call the program instructions in the above-mentioned memory to execute the steps of the above-mentioned punch-in method in a weak network environment.
[0029] By means of the above technical scheme, the punch-in method and related equipment in a weak network environment provided by the present invention solve the problem of lack of a better offline punch-in method in a weak network environment. The present invention reads the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in the weak network environment; synchronizes the clock of the mobile terminal and obtains the positioning information when the latest historical configuration information is not read; and performs offline punch-in based on the clock synchronization information and the positioning information. In the above scheme, when the network environment is not good and the server cannot obtain the real-time configuration information of the mobile terminal, the historical configuration information is obtained, and the punch-in is performed by selecting the historical configuration information closest to the current time. If the latest historical configuration information cannot be obtained, the offline punch-in is performed, that is, the clock synchronization information is synchronized with the network to obtain the current time, and the location of the mobile terminal at that time is determined by obtaining the positioning information, so as to determine whether the mobile terminal is at the specified time and the specified place, and perform offline punch-in.
[0030] Correspondingly, the punch-in device, equipment and computer-readable storage medium in a weak network environment provided by the embodiments of the present invention also have the above-mentioned technical effects.
[0031] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0033] Figure 1 A schematic diagram of a process of clocking in under a weak network environment provided by an embodiment of the present invention is shown;
[0034] Figure 2 A schematic block diagram showing the composition of a punch-in device in a weak network environment provided by an embodiment of the present invention;
[0035] Figure 3 A schematic block diagram of the composition of an electronic punch-in device in a weak network environment provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0036] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0037] In order to solve the problem of lack of a better offline clocking-in method in a weak network environment, an embodiment of the present invention provides a clocking-in method in a weak network environment, such as Figure 1 As shown, the method includes:
[0038] S101, reading the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in a weak network environment;
[0039] For example, in a weak network environment, if the mobile terminal loses connection with the server or the connection is poor, the real-time configuration information of the mobile terminal cannot be obtained. At this time, if the real-time information cannot be obtained, the most recent historical configuration information obtained closest to the current time can be read.
[0040] S102: If the latest historical configuration information is not read, synchronize the clock of the mobile terminal and obtain positioning information;
[0041] Exemplarily, if the latest historical configuration information cannot be obtained, offline clocking in is performed by obtaining the current location of the mobile terminal and the current time through clock synchronization.
[0042] S103: Perform offline clocking in based on the clock synchronization information and the positioning information.
[0043] By means of the above technical scheme, the punch-in method in a weak network environment provided by the present invention solves the problem of lack of a better offline punch-in method in a weak network environment. The present invention reads the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in the weak network environment; synchronizes the clock of the mobile terminal and obtains the positioning information when the latest historical configuration information is not read; and performs offline punch-in based on the clock synchronization information and the positioning information. In the above scheme, when the network environment is not good and the server cannot obtain the real-time configuration information of the mobile terminal, the historical configuration information is obtained, and the punch-in is performed by selecting the historical configuration information closest to the current time. If the latest historical configuration information cannot be obtained, the offline punch-in is performed, that is, the clock synchronization information is synchronized with the network to obtain the current time, and the location of the mobile terminal at that time is determined by obtaining the positioning information, so as to determine whether the mobile terminal is at the specified time and the specified place, and perform offline punch-in.
[0044] In one embodiment, the historical configuration information is automatically acquired and recorded by the mobile terminal at preset intervals.
[0045] Exemplarily, to prevent the inability to obtain real-time configuration information in a weak network environment, the mobile terminal device automatically obtains and stores the configuration information record once every preset period, so that historical configuration information can be called in a weak network or offline situation. The shorter the preset period is, the higher the frequency of acquisition, and the higher the real-time nature of the historical configuration information obtained. The longer the preset period is, the lower the frequency of acquisition, and the poorer the real-time nature of the historical configuration information obtained. However, it will also save the running computing power and thread occupancy of offline devices accordingly. Therefore, the above preset period can be customized based on the needs of enterprises and users.
[0046] In one embodiment, the method further includes:
[0047] When the real-time configuration information of the mobile terminal is acquired, saving the real-time configuration information;
[0048] Initialize the clock-in interface based on the real-time configuration information.
[0049] Exemplarily, if the network conditions are good and the real-time configuration information of the mobile terminal can be obtained, the check-in interface is initialized based on the real-time configuration information, for example: obtaining the current time, current location, required check-in time and required check-in location, and based on the above information, the check-in interface is initialized and displayed to the user for easy observation by the user.
[0050] In one embodiment, the performing offline clocking in based on the clock synchronization information and the positioning information includes:
[0051] When the clock synchronization information matches the standard clock synchronization information, and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
[0052] Exemplarily, if offline clocking in is required, the current time is verified, and the clock synchronization method is used to match it with the standard clocking in time and the above-mentioned standard clock synchronization information. At the same time, the positioning information of the mobile terminal is also verified, and offline clocking in is performed by verifying the clock and current time and locating the current location.
[0053] In one embodiment, the method further includes:
[0054] When it is detected that the punch-in permission is triggered, obtain the face comparison requirement information;
[0055] If the face comparison requirement information is not obtained, performing offline clocking in based on the clock synchronization information and the positioning information;
[0056] When the face comparison requirement information is obtained, the check-in is performed based on the face comparison result.
[0057] For example, if it is detected that the user clicks the punch-in button, the above-mentioned punch-in authority is triggered, and the face comparison requirement information is obtained at this time to determine whether the account corresponding to the current user requires face comparison. If the face comparison requirement information is not obtained, offline punch-in is performed directly. If it is determined that the user corresponding to the current account needs face comparison, the punch-in is performed based on the result of the face comparison.
[0058] In one embodiment, the method further includes:
[0059] When it is detected that the punch-in permission is triggered, obtaining a unique identification code of the mobile terminal;
[0060] Punch in based on the matching result between the unique identification code of the mobile terminal and the historical unique identification code.
[0061] Exemplarily, if the punch-in permission is triggered, the unique identification code of the mobile terminal is obtained, and the punch-in can be performed only when the unique identification code of the mobile terminal matches the historical unique identification code.
[0062] In one embodiment, the historical unique identification code is determined based on a previous clock-in device used by the account that performs the clock-in operation.
[0063] For example, if it is found that the user whose mobile terminal has been replaced does not use the mobile terminal used in the past, this abnormal behavior will be recorded.
[0064] Furthermore, as a response to the above Figure 1 In order to realize the method shown in the figure, the embodiment of the present invention also provides a punch card device in a weak network environment, which is used to Figure 1 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 2 As shown, the device includes: a reading unit 21, an acquisition unit 22 and a punching unit 23, wherein
[0065] The reading unit 21 is used to read the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in a weak network environment;
[0066] The acquisition unit 22 is used to synchronize the clock of the mobile terminal and acquire the positioning information when the latest historical configuration information is not read;
[0067] The clocking-in unit 23 is configured to perform offline clocking-in based on the clock synchronization information and the positioning information.
[0068] Exemplarily, the historical configuration information is automatically acquired and recorded by the mobile terminal at preset intervals.
[0069] Exemplarily, the above unit is also used for:
[0070] When the real-time configuration information of the mobile terminal is acquired, saving the real-time configuration information;
[0071] Initialize the clock-in interface based on the real-time configuration information.
[0072] Exemplarily, the performing offline clocking in based on the clock synchronization information and the positioning information includes:
[0073] When the clock synchronization information matches the standard clock synchronization information, and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
[0074] Exemplarily, the above unit is also used for:
[0075] When it is detected that the punch-in permission is triggered, obtain the face comparison requirement information;
[0076] If the face comparison requirement information is not obtained, performing offline clocking in based on the clock synchronization information and the positioning information;
[0077] When the face comparison requirement information is obtained, the check-in is performed based on the face comparison result.
[0078] Exemplarily, the above unit is also used for:
[0079] When it is detected that the punch-in permission is triggered, obtaining a unique identification code of the mobile terminal;
[0080] Punch in based on the matching result between the unique identification code of the mobile terminal and the historical unique identification code.
[0081] Exemplarily, the historical unique identification code is determined based on a previous clock-in device used by the account that performs the clock-in operation.
[0082] By means of the above technical scheme, the punch-in device in a weak network environment provided by the present invention solves the problem of lack of a better offline punch-in method in a weak network environment. The present invention reads the latest historical configuration information of the mobile terminal when the real-time configuration information of the mobile terminal cannot be obtained in the weak network environment; synchronizes the clock of the mobile terminal and obtains the positioning information when the latest historical configuration information is not read; and performs offline punch-in based on the clock synchronization information and the positioning information. In the above scheme, when the network environment is not good and the server cannot obtain the real-time configuration information of the mobile terminal, the historical configuration information is obtained, and the punch-in is performed by selecting the historical configuration information closest to the current time. If the latest historical configuration information cannot be obtained, the offline punch-in is performed, that is, the clock synchronization information is synchronized with the network to obtain the current time, and the location of the mobile terminal at that time is determined by obtaining the positioning information, so as to determine whether the mobile terminal is at the specified time and the specified place, and perform offline punch-in.
[0083] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and a clock-in method in a weak network environment can be implemented by adjusting kernel parameters, which can solve the problem of lack of a better offline clock-in method in a weak network environment.
[0084] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is executed by a processor, the punch-in method in the weak network environment is implemented.
[0085] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the punch-in method in the weak network environment when running.
[0086] An embodiment of the present invention provides an electronic device, the electronic device comprising at least one processor and at least one memory connected to the processor; wherein the processor is used to call program instructions in the memory to execute the punch-in method in a weak network environment as described above
[0087] An embodiment of the present invention provides an electronic device 30, such as Figure 3 As shown, the electronic device includes at least one processor 301, and at least one memory 302 and a bus 303 connected to the processor; wherein the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call the program instructions in the memory to execute the above-mentioned punch-in method in a weak network environment.
[0088] The intelligent electronic devices in this article can be PCs, PADs, mobile phones, etc.
[0089] The present application also provides a computer program product, which, when executed on a process management electronic device, is suitable for executing a program for initializing the following method steps:
[0090] In the case where the real-time configuration information of the mobile terminal cannot be obtained in a weak network environment, the latest historical configuration information of the mobile terminal is read;
[0091] If the latest historical configuration information is not read, synchronizing the clock of the mobile terminal and acquiring positioning information;
[0092] Offline clocking in is performed based on the clock synchronization information and the positioning information.
[0093] Furthermore, the historical configuration information is automatically acquired and recorded by the mobile terminal at preset intervals.
[0094] Furthermore, the above method also includes:
[0095] When the real-time configuration information of the mobile terminal is acquired, saving the real-time configuration information;
[0096] Initialize the clock-in interface based on the real-time configuration information.
[0097] Further, the offline clocking in based on the clock synchronization information and the positioning information includes:
[0098] When the clock synchronization information matches the standard clock synchronization information, and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
[0099] Furthermore, the above method also includes:
[0100] When it is detected that the punch-in permission is triggered, obtain the face comparison requirement information;
[0101] If the face comparison requirement information is not obtained, performing offline clocking in based on the clock synchronization information and the positioning information;
[0102] When the face comparison requirement information is obtained, the check-in is performed based on the face comparison result.
[0103] Furthermore, the above method also includes:
[0104] When it is detected that the punch-in permission is triggered, obtaining a unique identification code of the mobile terminal;
[0105] Punch in based on the matching result between the unique identification code of the mobile terminal and the historical unique identification code.
[0106] Furthermore, the historical unique identification code is determined based on a previous clock-in device used by the account that performs the clock-in operation.
[0107] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0108] 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.
[0109] 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 computer, 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.
[0110] 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 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] 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.
[0112] The present application also provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device is caused to execute the following Figure 1 This corresponds to the flow of control of the memory in the embodiment.
[0113] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
[0114] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0115] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0119] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A clock-in method in a weak network environment, characterized in that: include: In a weak network environment, if the server cannot obtain the real-time configuration information of the mobile terminal, the server reads the latest historical configuration information of the mobile terminal. The real-time configuration information includes: the current time, the current location, the required clock-in time, and the required clock-in location. The historical configuration information is automatically obtained and recorded by the mobile terminal at preset intervals. If the server fails to read the latest historical configuration information, synchronizing the clock of the mobile terminal and obtaining positioning information; Performing offline clocking in based on the clock synchronization information and the positioning information; The offline clocking in based on the clock synchronization information and the positioning information includes: In a case where the clock synchronization information matches the standard clock synchronization information and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
2. The method according to claim 1, characterized in that Also includes: When the real-time configuration information of the mobile terminal is obtained, saving the real-time configuration information; Initialize the clock-in interface based on the real-time configuration information.
3. The method according to claim 1, characterized in that Also includes: When it is detected that the clock-in permission is triggered, obtain the face comparison requirement information; If the face comparison requirement information is not obtained, performing offline clocking in based on the clock synchronization information and the positioning information; When the face comparison requirement information is obtained, the user punches in based on the face comparison result.
4. The method according to claim 1, wherein Also includes: When it is detected that the punch-in permission is triggered, obtaining the unique identification code of the mobile terminal; Punching in is performed based on a matching result between the unique identification code of the mobile terminal and a historical unique identification code.
5. The method according to claim 4, characterized in that The historical unique identification code is determined based on the previous clock-in device used by the account that performs the clock-in operation.
6. A clocking device in a weak network environment, characterized in that: include: a reading unit, configured to read the latest historical configuration information of the mobile terminal when the server is unable to obtain the real-time configuration information of the mobile terminal in a weak network environment, wherein the real-time configuration information includes: the current time, the current location, the required clock-in time, and the required clock-in location; and the historical configuration information is automatically obtained and recorded by the mobile terminal at predetermined intervals; an acquiring unit, configured to synchronize the clock of the mobile terminal and acquire positioning information when the server fails to read the latest historical configuration information; A clocking unit, configured to perform offline clocking based on the clock synchronization information and the positioning information; The offline clocking in based on the clock synchronization information and the positioning information includes: In a case where the clock synchronization information matches the standard clock synchronization information and the positioning information matches the standard positioning information, the clock synchronization information and the positioning information are recorded to implement offline clocking in.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed by a processor, the punch-in method in a weak network environment according to any one of claims 1 to 5 is implemented.
8. An electronic device, characterized in that: The electronic device includes at least one processor and at least one memory connected to the processor; wherein the processor is used to call program instructions in the memory to execute the punch-in method in a weak network environment according to any one of claims 1 to 5.
