Disclosure of Invention
In view of the above problems, the present invention provides an attendance statistical control method and related devices, and is mainly aimed at solving the problem that a more intelligent attendance card punching supervision control method is still lacking at present.
In order to solve at least one of the above technical problems, in a first aspect, the present invention provides an attendance checking statistical control method, which includes:
Acquiring the actual attendance checking and card punching time and a specified card punching time period of a target user;
storing the card punching result of the target user in a target storage unit of the local terminal under the condition that the actual attendance card punching time is in a specified card punching time period;
And uploading the card punching result to a cloud server under the condition that the current system time is in an unspecified card punching time period.
Optionally, the method further comprises:
under the condition of counting total card punching data of a target user in a preset time, acquiring a card punching record of the target user issued by a cloud server, wherein the card punching record is the total card punching record of the target user counted by the cloud server in the preset time;
and under the condition that the target user card punching record and the target user card punching record stored in the local end are not matched, determining that abnormal card punching data exists.
Optionally, the method further comprises:
and under the condition that abnormal card punching data exist, sending an update message to the cloud server, wherein the update message comprises a target user card punching record stored in a local end.
Optionally, the method further comprises:
Under the condition that the card punching result of the target user reflects that the target user does not punch cards in the specified card punching time period, acquiring meeting reservation conditions of the target user on a target workday;
Under the condition that a conference exists, monitoring the follow-up card punching condition and the adjacent conference holding time of the target user in real time;
And determining feedback information of the participants based on the follow-up card punching condition of the target user and the nearby meeting holding time.
Optionally, the determining the feedback information of the participants based on the subsequent card punching condition of the target user and the nearby meeting holding time includes:
And under the condition that the meeting is started and the follow-up card punching condition of the target user is not card punching, feeding back the card punching result of the target user to the statistical record of the meeting.
Optionally, the method further comprises:
Acquiring an online conference reservation condition of an office area to which a target user belongs under the condition that a card punching rule of the target user is based on a network connection state card punching;
Acquiring the ending time of the online conference under the condition that the preset condition of the online conference reflects that the network usage amount of the office area is higher than the preset usage amount;
And uploading the card punching result of the target user to a cloud server based on the ending time of the online meeting.
Optionally, the method further comprises:
acquiring multi-person cooperation statistical information;
the multi-person cooperation statistical information comprises a case bar of multi-person business trip item information, and business trip personnel information, business trip time information and business trip place information are determined according to the multi-person business trip item information;
generating temporary card punching task information based on the business trip personnel information, the business trip time information and the business trip place information;
and carrying out attendance statistics on the business trip personnel based on the temporary card punching task information.
In a second aspect, an embodiment of the present invention further provides an attendance statistics control apparatus, including:
The acquisition unit is used for acquiring the actual attendance checking and card punching time and the specified card punching time period of the target user;
The storage unit is used for storing the card punching result of the target user in the target storage unit of the local end under the condition that the actual attendance card punching time is in a specified card punching time period;
And the uploading unit is used for uploading the card punching result to the cloud server under the condition that the current system time is in an unspecified card punching time period.
In order to achieve the above object, according to a third aspect of the present invention, there is provided a computer-readable storage medium including a stored program, wherein the steps of the attendance statistical control method described above are implemented when the program is executed by a processor.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic device, including at least one processor and at least one memory connected to the processor, wherein the processor is configured to call program instructions in the memory, and execute the steps of the attendance statistics control method.
By means of the technical scheme, the attendance statistics control method and the related equipment provided by the invention solve the problem that a more intelligent attendance card punching supervision control method is still lacking at present, and the method is realized by acquiring the actual attendance card punching time and the specified card punching time period of a target user; storing the card punching result of the target user in a target storage unit of the local terminal under the condition that the actual attendance card punching time is in a specified card punching time period; and uploading the card punching result to a cloud server under the condition that the current system time is in an unspecified card punching time period. In the scheme, the card punching results of the target users are compared and judged through the card punching time, and the card punching results of the target users are not uploaded under the condition of the specified card punching time period, so that network congestion in a peak card punching period is prevented, and the uploading of the card punching results of the users is inaccurate. Under the condition that the user is successful in punching the card, firstly storing the punching result of the user into a local end, and uploading the punching data under the condition that the punching time period is not specified, namely, the off-peak punching time period, so that a more intelligent attendance checking and punching supervision control method is provided, and stable uploading of the punching data of the user is ensured.
Correspondingly, the attendance statistics control device, the attendance statistics control equipment and the computer readable storage medium provided by the embodiment of the invention also have the technical effects.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to solve the problem that a more intelligent attendance checking and card punching supervision control method is still lacking at present, an embodiment of the present invention provides an attendance checking statistical control method, as shown in fig. 1, which includes:
s101, acquiring actual attendance card punching time and a specified card punching time period of a target user;
For example, the local device may determine the actual attendance time when detecting that the user enters the attendance range or is connected to the attendance data or triggers the attendance button.
S102, storing the card punching result of the target user in a target storage unit of the local terminal under the condition that the actual attendance card punching time is in a specified card punching time period;
For example, if the actual attendance time is within the specified attendance time period, determining that the user is successful in punching the card, recording the actual attendance time, and storing the actual attendance time in the target storage unit of the local terminal, wherein the action of uploading the cloud is not executed at this time.
And S103, uploading the card punching result to a cloud server under the condition that the current system time is in an unspecified card punching time period.
In an exemplary embodiment, when the system time is in an unspecified time period, it is determined that the current network state is relatively smooth, and then the time period of the system time is defined, and the time period of the system time is defined, so that the situation that the time period of the system time is defined, and the time period is defined is not longer than the time period is defined.
According to the technical scheme, the attendance statistics control method provided by the invention solves the problem that a more intelligent attendance checking supervision control method is still lacking at present, the method comprises the steps of obtaining the actual attendance checking time and the specified time period of the target user, storing the checking result of the target user in a target storage unit of the local end under the condition that the actual attendance checking time is in the specified time period of the checking, and uploading the checking result to a cloud server under the condition that the current system time is in the non-specified time period of the checking. In the scheme, the card punching results of the target users are compared and judged through the card punching time, and the card punching results of the target users are not uploaded under the condition of the specified card punching time period, so that network congestion in a peak card punching period is prevented, and the uploading of the card punching results of the users is inaccurate. Under the condition that the user is successful in punching the card, firstly storing the punching result of the user into a local end, and uploading the punching data under the condition that the punching time period is not specified, namely, the off-peak punching time period, so that a more intelligent attendance checking and punching supervision control method is provided, and stable uploading of the punching data of the user is ensured.
In one embodiment, the method further comprises:
under the condition of counting total card punching data of a target user in a preset time, acquiring a card punching record of the target user issued by a cloud server, wherein the card punching record is the total card punching record of the target user counted by the cloud server in the preset time;
and under the condition that the target user card punching record and the target user card punching record stored in the local end are not matched, determining that abnormal card punching data exists.
The enterprise periodically counts the total card punching data of the user, so as to judge the attendance situation of the user, under the condition of counting the total card punching data of the target user, the target user card punching record issued by the cloud end is obtained, for example, the preset time is one month, the stored card punching record of the target user issued by the cloud end server in the past month is obtained, and is compared with the target user card punching record stored by the local end, if the two records are not matched, the situation that errors occur when the card punching result of the local end is uploaded to the cloud end, for example, the situation that the data is lost or the uploading fails, at the moment, the abnormal card punching data is determined to exist, at the moment, the attendance statistics is not directly performed based on the card punching record of the target user stored by the cloud end.
In one embodiment, the method further comprises:
and under the condition that abnormal card punching data exist, sending an update message to the cloud server, wherein the update message comprises a target user card punching record stored in a local end.
The local end sends an update message to the cloud server again under the condition that abnormal card punching data exist, and the card punching record of the target user stored by the mobile end is uploaded and synchronized to the cloud server, so that the data based on the data are accurate card punching results of the local end when the enterprise performs attendance statistics, and the situation that the data uploading fails due to the conditions of network congestion or data link disconnection and the like, and further the attendance statistics result errors of the user are caused is prevented.
In one embodiment, the method further comprises:
Under the condition that the card punching result of the target user reflects that the target user does not punch cards in the specified card punching time period, acquiring meeting reservation conditions of the target user on a target workday;
Under the condition that a conference exists, monitoring the follow-up card punching condition and the adjacent conference holding time of the target user in real time;
And determining feedback information of the participants based on the follow-up card punching condition of the target user and the nearby meeting holding time.
If the user does not punch a card in the specified punching time period, the preset meeting situation of the user on the same day is obtained, and if the user is determined to have the meeting on the same day, the follow-up punching action of the user and the holding time of the meeting are monitored in real time, for example, the user does not punch a card before 9 am in the specified punching time period, and has a meeting at 1 pm in the same day, at this time, whether the user subsequently punches a card is monitored, so that whether the user can participate in the meeting on the same day is indirectly monitored and predicted.
In one embodiment, the determining the feedback information of the participants based on the subsequent card-punching condition of the target user and the nearby meeting holding time includes:
And under the condition that the meeting is started and the follow-up card punching condition of the target user is not card punching, feeding back the card punching result of the target user to the statistical record of the meeting.
For example, if a meeting is nearby and the user still does not punch a card, the card punching record of the user is automatically fed back to the statistical record of the meeting, so that the user is indicated that the user does not punch a card and does not participate in the meeting
In one embodiment, the method further comprises:
Acquiring an online conference reservation condition of an office area to which a target user belongs under the condition that a card punching rule of the target user is based on a network connection state card punching;
Acquiring the ending time of the online conference under the condition that the preset condition of the online conference reflects that the network usage amount of the office area is higher than the preset usage amount;
And uploading the card punching result of the target user to a cloud server based on the ending time of the online meeting.
It is to be understood that, for example, the card punching rule may be based on a fixed card punch device set in a company, or may be based on a device of a mobile terminal owned by a user, and the card punching is performed by acquiring positioning information or a network connection state of the mobile terminal of the user, where in the case of card punching based on the network connection state, the embodiment of the present invention acquires an online meeting reservation condition of the user, if the scheduled condition of the online conference is more, the network usage amount of the office area is higher, the ending time of the online conference is acquired at the moment, and the card punching result is uploaded to the cloud server after the conference is ended, so that network congestion caused by more conferences is prevented, and the card punching result is uploaded to the cloud server at the moment, and the card punching result is possibly lost and the network conference is influenced.
In one embodiment, the method further comprises:
acquiring multi-person cooperation statistical information;
the multi-person cooperation statistical information comprises a case bar of multi-person business trip item information, and business trip personnel information, business trip time information and business trip place information are determined according to the multi-person business trip item information;
generating temporary card punching task information based on the business trip personnel information, the business trip time information and the business trip place information;
and carrying out attendance statistics on the business trip personnel based on the temporary card punching task information.
For example, in the case of a group business trip or the like, in the prior art, each person participating in the group business trip is still required to initiate a business trip flow respectively, and in the embodiment of the invention, multi-person cooperation statistical information is acquired, and in the case of multi-person business trip item information, business trip time and business trip places are determined and temporary card punching task information is generated, so that attendance of business trip persons is performed, for example A, B, C people are about to go to a certain city for business trip, the business trip time is from monday to friday, and at this time, card punching task information of the specific business trip places of A, B, C people to the certain city is correspondingly generated, thereby intelligently completing supervision of multi-person business trip.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides an attendance statistics control apparatus, which is configured to implement the method shown in fig. 1. The embodiment of the device corresponds to the embodiment of the method, and for convenience of reading, details of the embodiment of the method are not repeated one by one, but it should be clear that the device in the embodiment can correspondingly realize all the details of the embodiment of the method. As shown in FIG. 2, the device comprises an acquisition unit 21, a storage unit 22 and an uploading unit 23, wherein
An obtaining unit 21, configured to obtain an actual attendance card punching time and a specified card punching time period of a target user;
A storage unit 22, configured to store the card punching result of the target user in the target storage unit of the local side when the actual attendance card punching time is within a specified card punching time period;
and the uploading unit 23 is configured to upload the card punching result to the cloud server when the current system time is in the non-specified card punching time period.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and an attendance statistics control method is realized by adjusting kernel parameters, so that the problem that a more intelligent attendance card punching supervision control method is still lacking at present can be solved.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, and the program is executed by a processor to realize the attendance checking statistical control method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the attendance statistics control method is executed when the program runs.
The embodiment of the invention provides electronic equipment, which comprises at least one processor and at least one memory connected with the processor, wherein the processor is used for calling program instructions in the memory and executing the attendance statistical control method
The embodiment of the invention provides an electronic device 30, as shown in fig. 3, the electronic device includes at least one processor 301, and at least one memory 302 and a bus 303 connected to the processor, where the processor 301 and the memory 302 complete communication with each other through the bus 303, and the processor 301 is configured to call program instructions in the memory to execute the above-mentioned attendance statistics control method.
The intelligent electronic device herein may be a PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a program initialized with the above-mentioned attendance statistical control method steps when executed on a process management electronic device.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Embodiments of the present application also provide a computer program product comprising computer software instructions which, when run on a processing device, cause the processing device to perform a flow of control of a memory as in the corresponding embodiment of fig. 1.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may 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 may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be stored by a computer or data storage devices such as servers, data centers, etc. that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, hard disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)) or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of 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.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that the foregoing embodiments may be modified or equivalents may be substituted for some of the features thereof, and that the modifications or substitutions do not depart from the spirit and scope of the embodiments of the present application.