Card punching method, device, equipment, system and storage medium
Through distributed soft bus technology, the clock-in device automatically identifies the user device and records the connection time, solving the problem of clock-in failure caused by GPS positioning and network transmission failure in the existing technology, achieving efficient and stable automatic clock-in, and improving the user experience.
Patent Information
- Application Number
- CN202310171895.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
The existing check-in APP cannot check in when GPS positioning fails or network transmission fails, and users need to manually open the APP to check in, resulting in low efficiency and poor user experience.
Using distributed soft bus technology, the check-in device actively identifies the user equipment and records the connection time, and automatically marks the check-in without user operation. It solves the problem of GPS positioning and network transmission failure, and is improved through low-latency and high-stability networking. Check-in efficiency and user experience.
It realizes automatic check-in when GPS positioning and network transmission fail, improves check-in efficiency and user experience, and ensures the accuracy and stability of check-in.
Smart Images

Figure CN118550864A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a clocking-in method, device, equipment, system and storage medium. Background Art
[0002] With the rapid development of communication technology, accurate and efficient attendance management of specific groups of people can be carried out through clock-in APP (Application).
[0003] Current clock-in apps usually obtain employees' location information through GPS (Global Positioning System), determine whether employees have arrived at the company based on the location information, and require employees to actively click the clock-in button after arriving at the company, and transmit the clock-in information to the backend server through the network to complete the clock-in. However, in the above scheme, clock-in cannot be performed when GPS positioning fails or network transmission fails, and it is impossible to automatically clock in without opening the app, that is, there are problems such as cumbersome clock-in process, low efficiency, and poor user experience. Summary of the invention
[0004] The present invention provides a clocking-in method, device, equipment, system and storage medium, which are used to solve the problems of low clocking-in efficiency and complicated clocking-in process of users.
[0005] In a first aspect, the present invention provides a punch-in method, which is applied to a punch-in device, wherein the punch-in device is equipped with a preset system; the preset system is a system that supports the punch-in device to establish a distributed soft bus connection; the method comprises:
[0006] When at least one user device establishes a connection with the punch-in device through the distributed soft bus, the connection establishment time is recorded respectively; the user device is equipped with the preset system;
[0007] For each user device, a first clock-in mark is performed on the employee information corresponding to the user device according to the connection establishment time.
[0008] Optionally, performing a first clock-in mark on the employee information corresponding to the user device according to the connection establishment time includes:
[0009] Acquire device identification information corresponding to the user equipment;
[0010] Determine whether the pre-stored employee information table contains the device identification information; the employee information includes the corresponding relationship between the employee information and the device identification information;
[0011] If included, the employee information corresponding to the device identification information is obtained, and a first punch-in mark is performed on the employee information according to the connection establishment time.
[0012] Optionally, the method further includes:
[0013] When the user device is disconnected from the punch-in device through the distributed soft bus monitoring, the disconnection time is recorded;
[0014] Determine whether the disconnection time is within the off-get off work time range;
[0015] If so, a second clock-in mark is performed on the employee information corresponding to the user device according to the disconnection time.
[0016] Optionally, the method further includes:
[0017] If not, a prompt message is sent to the user asking whether to clock out after get off work;
[0018] Receive user feedback information, and determine whether to perform a second check-in mark based on the user feedback information.
[0019] Optionally, the method further includes:
[0020] If the current time meets the preset condition, obtain the user device that is connected to the clock-in device; the satisfying of the preset condition indicates that the current time is the start time of off-get off work;
[0021] Performing a third clock-in mark on the employee information corresponding to the user device in the connected state;
[0022] The overtime hours are determined according to the times corresponding to the second clock-in mark and the third clock-in mark respectively.
[0023] Optionally, performing a first clock-in mark on the employee information corresponding to the user device according to the connection establishment time includes:
[0024] Obtain the shift schedule corresponding to the employee information;
[0025] If the current date is within the scheduled date, a first clock-in mark is performed on the employee information corresponding to the user device according to the record creation time.
[0026] In a second aspect, the present invention provides a punching device, which is applied to a punching device, wherein the punching device is equipped with a preset system; the preset system is provided with a distributed soft bus; the device comprises:
[0027] A recording module, configured to respectively record the time of establishing a connection when monitoring at least one user device establishing a connection with the punch-in device through a distributed soft bus; the user device is equipped with the preset system;
[0028] The marking module is used to perform a first punch-in mark on the employee information corresponding to each user device according to the record creation time.
[0029] In a third aspect, the invention provides a punch card device, comprising: at least one processor and a memory;
[0030] The memory stores computer-executable instructions;
[0031] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method as described in any one of the first aspects.
[0032] In a fourth aspect, the present invention provides a punch-in system, comprising the punch-in device described in the third aspect and at least one user device connected to the punch-in device; the punch-in device is equipped with a preset system; the preset system is provided with a distributed soft bus; and the user device is equipped with the preset system.
[0033] In a fifth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method described in any one of the first aspects is implemented.
[0034] The present invention provides a clocking-in method, device, equipment, system and storage medium. The method is applied to a clocking-in device, and the clocking-in device is equipped with a preset system. The preset system is a system that supports the clocking-in device to establish a distributed soft bus connection. The method includes: when at least one user device is monitored to establish a connection with the clocking-in device through a distributed soft bus, the connection establishment time is recorded respectively, and the user device is equipped with the preset system. For each user device, a first clocking-in mark is performed on the employee information corresponding to the user device according to the connection establishment time. The clocking-in device actively identifies the user device to mark the clocking-in of the corresponding user, and the user does not need to open the clocking-in APP and click on the clocking-in operation, thereby improving the clocking-in efficiency and user experience. The clocking-in device and the user terminal are networked through the distributed soft bus, which has the advantages of low latency and high transmission stability, and solves the problem of clocking-in failure caused by GPS positioning failure and network transmission failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] Figure 1 A schematic diagram of an application scenario of a clock-in method provided by an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a clock-in method provided in an embodiment of the present invention;
[0038] Figure 3 A schematic diagram of a flow chart of another clock-in method provided by an embodiment of the present invention;
[0039] Figure 4 A flowchart of another clock-in method provided by an embodiment of the present invention;
[0040] Figure 5 A structural diagram of a punch card device provided by an embodiment of the present invention;
[0041] Figure 6 A schematic diagram of the hardware structure of a punch card device provided in an embodiment of the present invention.
[0042] The above drawings have shown clear embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0043] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention.
[0044] The existing clock-in method is usually as follows: when an employee arrives near the company, he / she opens the clock-in APP, and after the employee is determined to have arrived near the company through GPS positioning, the clock-in information is transmitted to the backend server through the network.
[0045] However, the above method may result in clock-in failure, such as GPS positioning failure or network transmission failure; in addition, the method requires the user to open the clock-in APP and click the clock-in button, which may cause the employee to forget to clock in.
[0046] Based on the above problems, this application considers setting up a clock-in device in the company, which can automatically identify employees within the company's clock-in range and clock in automatically without the employees having to perform any operations, thereby solving the problem of employees forgetting to clock in. Figure 1 A schematic diagram of an application scenario of a clock-in method provided by an embodiment of the present invention is shown in FIG. Figure 1As shown, the clock-in device is set up in the company. When the device is turned on, it can quickly identify the user device within the clock-in range through the distributed soft bus and establish a connection, so as to clock-in and mark the employee information corresponding to the user device.
[0047] The company's equipment actively identifies employees and marks their punch-ins, replacing the traditional process where employees open the punch-in APP and punch in manually after arriving at the company. Employees do not need to perform any operations, achieving seamless punch-in, improving punch-in efficiency, and saving employee time. At the same time, the distributed soft bus networking has the advantages of low latency and high transmission stability, solving the problem of punch-in failure caused by GPS positioning failure and network transmission failure.
[0048] Figure 2 A schematic flow chart of a punch-in method provided in an embodiment of the present invention is provided. The method can be applied to a punch-in device, and the punch-in device is equipped with a preset system; the preset system is a system that supports the punch-in device to establish a distributed soft bus connection; the method includes step S201 and step S202:
[0049] Step S201: When at least one user device establishes a connection with the punch-in device through the distributed soft bus, the connection establishment time is recorded respectively; the user device is equipped with the preset system.
[0050] In order to enable the clock-in device to actively identify and connect to user devices within a preset range, this can be implemented based on a distributed soft bus. The clock-in device can be provided with a preset system, and the preset system supports the device that relies on it to have a distributed soft bus function. In order to identify user devices based on a distributed soft bus, the user device also needs to be equipped with a preset system to support the clock-in device to identify and connect to the user device. Exemplarily, the preset system can be a Hongmeng system.
[0051] The user device may be a mobile terminal such as a mobile phone, or a wearable device such as a bracelet or a watch, or a smart work card. All of the above user devices need to be equipped with a preset system.
[0052] The clock-in device can obtain the user terminal that has established a connection with the clock-in device by monitoring. For example, when user device 1 enters the clock-in range, the clock-in device can quickly discover the user device based on the distributed soft bus and actively establish a connection with the user device. When the above process is completed, it means that a user device has been monitored to establish a connection with the clock-in device.
[0053] When the distance between the user device and the punch-in device is less than the preset distance, the punch-in device can discover the user device based on the distributed soft bus. The user device that changes from the unconnected state to the connected state can be obtained in real time by monitoring the distributed soft bus. For example, at a certain moment, three user devices enter the preset range of the punch-in device and connect to the opening device, and these three user devices can be monitored.
[0054] When it is monitored that a user device establishes a connection with a clock-in device, the time of establishing the connection may be recorded to facilitate determining the clock-in time of the user device.
[0055] Step S202: For each user device, a first clock-in mark is performed on the employee information corresponding to the user device according to the connection establishment time.
[0056] For each monitored user device, the employee information corresponding to the user device may be marked as a first clock-in / out mark based on the connection establishment time, so as to determine the connection establishment time as the clock-in / out time of the corresponding employee.
[0057] Exemplarily, when the user device establishes a connection with the clock-in device, it means that the employee arrives near the company at work, the first clock-in mark indicates clocking in for work, and the clock-in time is the time when the connection is established.
[0058] In addition, after performing the first clock-in mark, the clock-in device may also send a clock-in success message to the user device.
[0059] When clocking in based on a clock-in APP, it needs to be implemented based on traditional WIFI networking. The security of WIFI networking is poor, the number of device connections is small, and there is a certain connection delay. At the same time, there is a possibility of loss when transmitting data, and the stability is not high. The distributed soft bus networking method in this application solves the above problems. It has high security, no limit on the number of device connections, and almost zero delay when connecting, and has high stability when transmitting data. The above characteristics of the distributed soft bus make it less likely to fail to clock in during the clock-in process.
[0060] The present invention provides a clocking-in method, which is applied to a clocking-in device, wherein the clocking-in device is equipped with a preset system; the preset system is a system that supports the clocking-in device to establish a distributed soft bus connection, and when at least one user device is monitored to establish a connection with the clocking-in device through the distributed soft bus, the connection establishment time is recorded respectively, and the user device is equipped with the preset system, and for each user device, a first clocking-in mark is performed on the employee information corresponding to the user device according to the connection establishment time, and the clocking-in of the corresponding user is marked by actively identifying the user device by the clocking-in device, without the user opening the clocking-in APP and clicking on the clocking-in operation, thereby improving the clocking-in efficiency and user experience, and networking the clocking-in device with the user terminal through the distributed soft bus has the advantages of low latency and high transmission stability, and solves the problem of clocking-in failure caused by GPS positioning failure and network transmission failure.
[0061] Figure 3 A flowchart of another clock-in method provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the above step S202 includes:
[0062] Step S301: Acquire device identification information corresponding to the user equipment;
[0063] Step S302: determine whether the pre-stored employee information table contains the device identification information; the employee information includes the corresponding relationship between the employee information and the device identification information;
[0064] Step S303: If included, obtain the employee information corresponding to the device identification information, and perform a first clock-in mark on the employee information according to the connection establishment time.
[0065] The clock-in device can be connected to all user devices that support the distributed soft bus, but not all connected user devices correspond to the company's employees. Therefore, it is necessary to filter all the user devices that have established connections to obtain the user devices corresponding to the company's employees.
[0066] When the employee information corresponding to the user device is first clocked in and out according to the connection establishment time, the specific process is as follows: after the connection between the clocking in and out device and the user device is established through the distributed soft bus, the clocking in and out device can obtain relevant information from the user device, such as device identification information, wherein one user device corresponds to one device identification information. The device identification information can be a device ID. After the device identification information is obtained, the user devices corresponding to the company employees are screened based on the device identification information.
[0067] In order to accurately screen the user devices corresponding to company employees, the clock-in device can pre-store an employee information table, which is the correspondence between employee information and device identification information. One employee information can correspond to one or more device identification information to meet the needs of employees who can clock in when they bring different user devices to work. The employee information can be information such as the employee name or employee ID.
[0068] After obtaining the device identification information of the connected device, it can be determined whether the device identification information is contained in the pre-stored employee information table. If it is contained, it means that the employee corresponding to the user device is a company employee. On the contrary, if it is not contained, it means that the employee corresponding to the user device is not a company employee, thereby accurately screening out user devices corresponding to company employees.
[0069] When it is determined that the employee corresponding to the user device is an employee of the company, the first clock-in mark can be performed on the corresponding employee based on the connection establishment time, that is, the corresponding employee is marked as having successfully clocked in, and the clock-in time is the connection establishment time.
[0070] By pre-storing the correspondence between employee information and device identification information, the clock-in device can accurately determine whether the user device establishing a connection is a device of a company employee, so as to accurately clock in the company employees.
[0071] Figure 4 A flowchart of another clock-in method provided by an embodiment of the present invention is shown as follows: Figure 4 As shown, the method includes:
[0072] Step S401: When the user device is disconnected from the clock-in device through the distributed soft bus monitoring, the disconnection time is recorded;
[0073] Step S402: determine whether the disconnection time is within the off-duty time range;
[0074] Step S403: If yes, a second clock-in mark is performed on the employee information corresponding to the user device according to the disconnection time.
[0075] When a user needs to clock in before leaving get off work, there is no need to clock in manually. When the distance between the user device and the clock in device is greater than the preset distance, the two will be disconnected. The clock in device can monitor the disconnection between the user device and the clock in device through the distributed soft bus, and the disconnection time can be recorded at this time. When the disconnection time is within the off-duty time range, a second clock in mark can be made for the corresponding employee information, where the second clock in mark indicates that the employee successfully clocked in after get off work, and the disconnection time is the employee's actual off-duty time.
[0076] The off-duty time range for each employee may be different, and the off-duty time range corresponding to each employee's information may be stored in the clock-in device.
[0077] By monitoring the disconnection between the user device and the clock-in device, the user is marked as clocking out to determine the employee's actual time of leaving get off work. Employees do not need to manually clock in when leaving the company to record the actual time of leaving get off work.
[0078] Optionally, the method further includes:
[0079] If not, a prompt message is sent to the user asking whether to clock out after get off work;
[0080] Receive user feedback information, and determine whether to perform a second check-in mark based on the user feedback information.
[0081] When the user leaves work early or goes out, the user will leave the company, and the user device will be disconnected from the open device, that is, when the disconnection time is not within the off-get off work time range, the user can decide whether to perform a second clock-in mark. Specifically, the clock-in device can send a prompt message to the user device, and the prompt message is used to remind the user whether to clock in after get off work. The user can enter feedback information, and the clock-in device can determine whether to perform a second clock-in mark or not based on the feedback information. When the feedback information is "yes", the second clock-in mark is performed, and when the feedback information is "no", the second clock-in mark is not performed.
[0082] When the disconnection time is not within the off-get off work time range, whether to perform a second clock-in mark can be determined based on user feedback information to avoid employees accidentally clocking in due to temporary leave of the company, and to avoid users leaving get off work early without successfully clocking in.
[0083] Optionally, the method further includes:
[0084] If the current time meets the preset condition, obtain the user device that is connected to the clock-in device; the satisfying of the preset condition indicates that the current time is the start time of off-get off work;
[0085] Performing a third clock-in mark on the employee information corresponding to the user device in the connected state;
[0086] The overtime hours are determined according to the times corresponding to the second clock-in mark and the third clock-in mark respectively.
[0087] In addition, when employees work overtime, the overtime hours can be automatically counted. The clock-in device can obtain the current time. If the current time is the start time of off-get off work, the user device connected to the clock-in device is obtained, and the employee information corresponding to the user device is marked as a third clock-in. Here, all user devices currently connected can be obtained by calling getDevices, that is, all user devices within the clock-in range can be obtained, and user devices corresponding to company employees can be filtered based on the employee information table.
[0088] For example, if the off-get off work start time is 6:00 p.m., when it reaches 6:00 p.m., the clock-in device obtains all user devices connected to the clock-in device through the distributed soft bus, and performs a third clock-in mark, and the clock-in time is the off-get off work start time. The third clock-in mark also indicates that the employee successfully clocks out of get off work, and the time is the employee's prescribed off-get off work time.
[0089] When a user works overtime, a second punch-in mark will be made when the employee leaves the company. The overtime hours can be determined based on the time corresponding to the second punch-in mark and the time corresponding to the third punch-in mark. The overtime hours are equal to the time corresponding to the second punch-in mark minus the time corresponding to the third punch-in mark.
[0090] By clocking in and out of all connected user devices when the specified off-get off work time is reached, overtime hours can be automatically and accurately counted without any user operation.
[0091] Optionally, performing a first clock-in mark on the employee information corresponding to the user device according to the connection establishment time includes:
[0092] Obtain the shift schedule corresponding to the employee information;
[0093] If the current date is within the scheduled date, a first clock-in mark is performed on the employee information corresponding to the user device according to the record creation time.
[0094] In order to avoid marking employee information on non-working days, the scheduling date corresponding to the employee information can also be obtained. If the current date is within the scheduling date, the first marking can be performed. The above judgment can also be performed on whether to perform the second marking and the third marking.
[0095] For example, when employee A is not scheduled on Saturday, when it is monitored that the user device of employee A is connected to the clock-in device on Saturday, the first clock-in mark is not performed on the employee information.
[0096] By comparing the current date with the scheduled date, it is possible to implement a non-scheduled date without clocking in or out even if the employee's user device is connected to the clocking in device.
[0097] Figure 5 A structural diagram of a punch card device provided by an embodiment of the present invention, such as Figure 5 As shown, the device is applied to a punch card device, and the punch card device is equipped with a preset system; the preset system is provided with a distributed soft bus; the device includes:
[0098] The recording module 501 is used to respectively record the time of establishing a connection when monitoring at least one user device and the punch-in device through the distributed soft bus; the user device is equipped with the preset system;
[0099] The marking module 502 is used to perform a first punch-in mark on the employee information corresponding to each user device according to the record creation time.
[0100] Optionally, the marking module 502 is specifically used for:
[0101] Acquire device identification information corresponding to the user equipment;
[0102] Determine whether the pre-stored employee information table contains the device identification information; the employee information includes the corresponding relationship between the employee information and the device identification information;
[0103] If included, the employee information corresponding to the device identification information is obtained, and a first punch-in mark is performed on the employee information according to the connection establishment time.
[0104] Optionally, the device further comprises a processing module, configured to:
[0105] When the user device is disconnected from the punch-in device through the distributed soft bus monitoring, the disconnection time is recorded;
[0106] Determine whether the disconnection time is within the off-get off work time range;
[0107] If so, performing a second clock-in mark on the employee information corresponding to the user device according to the disconnection time;
[0108] Optionally, the processing module is further used for:
[0109] If not, a prompt message is sent to the user asking whether to clock out after get off work;
[0110] Receive user feedback information, and determine whether to perform a second check-in mark based on the user feedback information.
[0111] Optionally, the device further includes an overtime determination module, which is specifically used to:
[0112] If the current time meets the preset condition, obtain the user device that is connected to the clock-in device; the satisfying of the preset condition indicates that the current time is the start time of off-get off work;
[0113] Performing a third clock-in mark on the employee information corresponding to the user device in the connected state;
[0114] The overtime hours are determined according to the times corresponding to the second clock-in mark and the third clock-in mark respectively.
[0115] Optionally, the marking module 502 is specifically used for:
[0116] Obtain the shift schedule corresponding to the employee information;
[0117] If the current date is within the scheduled date, a first clock-in mark is performed on the employee information corresponding to the user device according to the record creation time.
[0118] The punch card device provided in the embodiment of the present invention can realize the above-mentioned Figures 2 to 4 The clock-in method of the embodiment shown has similar implementation principles and technical effects, which will not be described again here.
[0119] Figure 6 The hardware structure diagram of a punch card device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the card punching device provided in this embodiment includes: at least one processor 601 and a memory 602. The processor 601 and the memory 602 are connected via a bus 603.
[0120] In a specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, so that at least one processor 601 executes the method in the above method embodiment.
[0121] The specific implementation process of the processor 601 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0122] In the above Figure 6In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0123] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0124] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0125] An embodiment of the present invention also provides a punch-in system, which includes the punch-in device described in the above embodiment and at least one user device connected to the punch-in device; the punch-in device is equipped with a preset system; the preset system is provided with a distributed soft bus; and the user device is equipped with the preset system.
[0126] An embodiment of the present invention further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method of the above method embodiment is implemented.
[0127] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0128] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0129] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. 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 or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A clock-in method, characterized in that: The method is applied to a punch card device, and the punch card device is equipped with a preset system; the preset system is a system that supports the punch card device to establish a distributed soft bus connection; the method includes: When at least one user device establishes a connection with the punch-in device through the distributed soft bus, the connection establishment time is recorded respectively; the user device is equipped with the preset system; For each user device, a first clock-in mark is performed on the employee information corresponding to the user device according to the connection establishment time.
2. The method according to claim 1, characterized in that Performing a first clock-in mark on the employee information corresponding to the user device according to the connection establishment time includes: Acquire device identification information corresponding to the user equipment; Determine whether the pre-stored employee information table contains the device identification information; the employee information includes the corresponding relationship between the employee information and the device identification information; If included, the employee information corresponding to the device identification information is obtained, and a first punch-in mark is performed on the employee information according to the connection establishment time.
3. The method according to claim 1, characterized in that The method further comprises: When the user device is disconnected from the punch-in device through the distributed soft bus monitoring, the disconnection time is recorded; Determine whether the disconnection time is within the off-get off work time range; If so, a second clock-in mark is performed on the employee information corresponding to the user device according to the disconnection time.
4. The method according to claim 3, characterized in that The method further comprises: If not, a prompt message is sent to the user asking whether to clock out after get off work; Receive user feedback information, and determine whether to perform a second check-in mark based on the user feedback information.
5. The method according to claim 3, characterized in that: The method further comprises: If the current time meets the preset condition, obtain the user device that is connected to the clock-in device; the satisfying of the preset condition indicates that the current time is the start time of off-get off work; Performing a third clock-in mark on the employee information corresponding to the user device in the connected state; The overtime hours are determined according to the times corresponding to the second clock-in mark and the third clock-in mark respectively.
6. The method according to any one of claims 1 to 5, characterized in that: Performing a first clock-in mark on the employee information corresponding to the user device according to the connection establishment time includes: Obtain the shift schedule corresponding to the employee information; If the current date is within the scheduled date, a first clock-in mark is performed on the employee information corresponding to the user device according to the record creation time.
7. A punch card device, characterized in that: The device is applied to a punch card device, and the punch card device is equipped with a preset system; the preset system is provided with a distributed soft bus; the device comprises: A recording module, configured to respectively record the time of establishing a connection when monitoring at least one user device establishing a connection with the punch-in device through a distributed soft bus; the user device is equipped with the preset system; The marking module is used to perform a first punch-in mark on the employee information corresponding to each user device according to the record creation time.
8. A clock-in device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 6.
9. A clock-in system, characterized in that: The clock-in system includes the clock-in device described in claim 8 and at least one user device connected to the clock-in device; the clock-in device is equipped with a preset system; the preset system is provided with a distributed soft bus; and the user device is equipped with the preset system.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 6 is implemented.
