CN111600997A - Card punching reminding method and device, mobile terminal and storage medium - Google Patents

Card punching reminding method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN111600997A
CN111600997A CN202010432224.5A CN202010432224A CN111600997A CN 111600997 A CN111600997 A CN 111600997A CN 202010432224 A CN202010432224 A CN 202010432224A CN 111600997 A CN111600997 A CN 111600997A
Authority
CN
China
Prior art keywords
card
reminding
punching
mobile terminal
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010432224.5A
Other languages
Chinese (zh)
Other versions
CN111600997B (en
Inventor
朱鹏博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wingtech Information Technology Co Ltd
Original Assignee
Xian Wingtech Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wingtech Electronic Technology Co Ltd filed Critical Xian Wingtech Electronic Technology Co Ltd
Priority to CN202010432224.5A priority Critical patent/CN111600997B/en
Publication of CN111600997A publication Critical patent/CN111600997A/en
Application granted granted Critical
Publication of CN111600997B publication Critical patent/CN111600997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the technical field of mobile terminals, and provides a card punching reminding method, a device, a mobile terminal and a storage medium, wherein the method comprises the following steps: receiving an online message sent when a client logs in a card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program; judging whether the current system time is within a first preset time range or not based on the online message; and if the current system time is within a first preset time range, starting a first card punching prompt. Compared with the prior art, the client sends the online message to the mobile terminal based on the establishment of the connection between the client and the mobile terminal, and the mobile terminal starts the card punching reminding based on the online message, so that the timeliness of the card punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the card are avoided.

Description

Card punching reminding method and device, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a card punching reminding method and device, a mobile terminal and a storage medium.
Background
Card punching has become the most widespread employee check-in mode at present. In the actual attendance scene, the employee forgets to punch the card on duty or punch the card off duty, so that the generated attendance problem brings certain economic loss to the employee, the employee also brings a lot of unnecessary troubles in processing the card supplementing event, and meanwhile, the attendance investigation and statistics work of the internal human resources of the company is also aggravated.
The existing card punching reminding mode is as follows: the alarm is set on the mobile terminal by the user so as to remind at the time point of presetting the card punching.
This kind of warning mode needs user's manual setting, has additionally increased user operation on the one hand, and is not intelligent enough, has greatly influenced user experience, and on the other hand, because remind not timely enough, lead to reminding the effect not good.
Disclosure of Invention
The embodiment of the invention aims to provide a card punching reminding method, a card punching reminding device, a mobile terminal and a storage medium.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a card punch reminding method, which is applied to a mobile terminal, where the mobile terminal is in communication connection with a client, the mobile terminal is installed with a card punch reminding application program, and the client is installed with a card punch reminding client program corresponding to the card punch reminding application program, where the method includes:
receiving an online message sent when the client logs in the card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program;
judging whether the current system time is within a first preset time range or not based on the online message;
and if the current system time is within the first preset time range, starting a first card punching prompt.
In one embodiment, the step of determining whether the current system time is within a first preset time range based on the online message further comprises:
acquiring a first state mark representing whether the first card punching prompt is started or not;
and if the first state mark represents that the first card-punching reminding is started, judging whether the current system time is in a first preset time range or not based on the online message.
In one embodiment, the mobile terminal includes an audio device, and the step of starting the first punch-card reminder includes:
and starting the audio device, and playing a preset first preset audio corresponding to the online message to remind the user of punching a card.
In one embodiment, the method further comprises:
receiving an offline message sent when the client exits the card punching reminding client program;
judging whether the current system time is within a second preset time range or not based on the offline message;
and if the current system time is within the second preset time range, starting a second card punching prompt.
In one embodiment, the step of determining whether the current system time is within a second preset time range based on the offline message comprises:
acquiring a second state mark representing whether a second card punching prompt is started or not;
and if the second state mark represents that a second card punching prompt is started, judging whether the current system time is within a second preset time range or not based on the offline message.
In one embodiment, the mobile terminal includes an audio device, and the step of starting the second card punching reminder includes:
and starting the audio device, and playing preset second preset audio corresponding to the offline message so as to carry out card punching reminding.
In a second aspect, an embodiment of the present invention provides a card punch reminding device, which is applied to a mobile terminal, wherein the mobile terminal is in communication connection with a client, the mobile terminal is provided with a card punch reminding application program, the client is provided with a card punch reminding client program corresponding to the card punch reminding application program, and the device includes a first reminding module, and the first reminding module is configured to:
receiving an online message sent when the client logs in the card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program;
judging whether the current system time is within a first preset time range or not based on the online message;
and if the current system time is within the first preset time range, starting a first card punching prompt.
In one embodiment, the device for reminding of punch card further comprises a second reminding module, and the second reminding module is used for:
receiving an offline message sent when the client exits the card punching reminding client program;
judging whether the current system time is within a second preset time range or not based on the offline message;
and if the current system time is within the second preset time range, starting a second card punching prompt.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
one or more processors;
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a punch-card alert method as described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the above described card punching reminding method.
Compared with the prior art, the embodiment of the invention provides a card punching reminding method, a device, a mobile terminal and a storage medium, wherein a card punching reminding application program is installed on the mobile terminal of a user, when the user starts a client serving as a working computer and logs in a card punching reminding client program which is installed on the client and corresponds to the card punching reminding application program, the client sends an online message to the mobile terminal, the mobile terminal judges whether the current system time is within a first preset time range or not based on the online message, and if the current system is within the first preset time range, the first card punching reminding is started to remind the user to punch a card. Compared with the prior art, the client sends the online message to the mobile terminal based on the establishment of the connection between the client and the mobile terminal, and the mobile terminal starts the card punching reminding based on the online message, so that the timeliness of the card punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the card are avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows an application scenario diagram provided in an embodiment of the present invention.
Fig. 2 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 3 shows a flowchart of a card punching reminding method according to an embodiment of the present invention.
Fig. 4 shows a flowchart of another card punch reminding method according to an embodiment of the present invention.
Fig. 5 shows a flowchart of another card punch reminding method according to an embodiment of the present invention.
Fig. 6 shows a flowchart of another card punch reminding method according to an embodiment of the present invention.
Fig. 7 shows a block schematic diagram of a card punching reminding device provided by the embodiment of the invention.
Icon: 10-a mobile terminal; 11-a processor; 12-a memory; 13-a bus; 14-a communication interface; 15-an audio device; 20-a client; 100-a card punching reminding device; 110-a first reminder module; 120-a second reminder module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In order to reduce the user operation of manually setting the card punching reminding, another card punching reminding mode generally adopted for improving the user experience is as follows: the method comprises the steps that a card punching reminding function is embedded into a card punching program, when the current time is detected to be the preset card punching time, a reminding message of the card punching reminding is popped up so as to remind a user to punch a card, or a special cloud server is configured, and when the current time is detected to be the preset card punching time, the reminding message is sent to a plurality of appointed users in a unified mode, so that the card punching reminding of the users in batches is achieved. In most cases, the actual time of the user leaving work is not fixed, for example, a commuting peak needs to be avoided, or work overtime needs to be added, and so on, so that a prompt message of the card-punching reminder popped up by the card-punching program is usually ignored, and the user cannot timely and effectively punch the card to remind when really leaving work.
In view of the above problems, embodiments of the present invention provide a method for reminding a user of a card punch, which can remind the user of the card punch timely and effectively, and will be described in detail below.
Referring to fig. 1, fig. 1 shows an application scenario diagram provided by an embodiment of the present invention, in fig. 1, a mobile terminal 10 and a client 20 are in communication connection, where a specific connection mode may be a WIFI connection or a bluetooth connection.
The mobile terminal 10 may be a mobile intelligent electronic device such as a mobile phone, a tablet computer, a wearable device, etc. The mobile terminal 10 is installed with a card punching reminding application, the card punching reminding application can be downloaded to the mobile terminal 10 in an Android Package (APK) manner, when the card punching reminding application is installed and is started for the first time, a user needs to register an account and log in, and after logging in, the user can select a card punching reminding manner, such as an audio file for card punching reminding, a ring for card punching reminding, or a reminding message for card punching reminding.
The client 20 is usually a work computer of a user, and the user turns on the client 20 when going to work and turns off the client 20 when going to work. The client 20 is installed with a card punching reminding client program corresponding to the card punching reminding application program, and for convenience of use, a user can set automatic login after logging in the card punching reminding client program for the first time, so that the user can automatically log in the card punching reminding client program after the client 20 is started later. When a user logs in a card-punching reminding client program, the user can scan a two-dimensional code displayed by the card-punching reminding client program through the mobile terminal to log in, and can also log in through inputting an account number and a password, the account number used by the mobile terminal 10 for logging in the card-punching reminding application program and the account number used by the client 20 for logging in the card-punching reminding client program can be the same account number or different account numbers, however, the authentication information adopted by the account number used by the mobile terminal 10 for logging in the card-punching reminding application program is the same as the authentication information adopted by the account number used by the client 20 for logging in the card-punching reminding client program, namely, the card-punching reminding application program of the mobile terminal 10 and the card-punching reminding client of the client 20. For example, the account number used by the mobile terminal 10 for logging in the card-punching reminding application is a, the account number used by the client 20 for logging in the card-punching reminding client is b, and the authentication information of the account number a and the account number b is the same mobile phone number or the same identity card number, so that the relative independence between the card-punching reminding of a plurality of users is ensured through the linkage of the client of the user and the mobile terminal of the user, and the card-punching reminding for each user is realized.
After the user starts the client 20 during working, the client 20 sends an online message to the mobile terminal 10 when logging in a card punching reminding client program, the mobile terminal 10 judges whether the current system time is within a first preset time range or not based on the online message, and if the current system is within the first preset time range, a first card punching reminding is started to remind the user to punch a card during working.
When the user closes the client 20 during the off duty, the client 20 sends an off-line message to the mobile terminal 10 when exiting the punch-card reminding client program, the mobile terminal 10 judges whether the current system time is within a second preset time range or not based on the off-line message, and if the current system time is within the second preset time range, a second punch-card reminding is started to remind the user to punch a card during the off duty.
It should be noted that, the user may set the first reminding punch-card mode and the second reminding punch-card mode to be the same or different according to actual needs, and may also set the specific first reminding punch-card mode or the second reminding punch-card mode according to actual needs to be: and carrying out voice reminding by playing audio, or carrying out information display reminding by displaying prompt information, or carrying out reminding by controlling the flicker of a display lamp of the mobile terminal.
On the basis of fig. 1, a block diagram of the mobile terminal 10 in fig. 1 is further provided in the embodiment of the present invention, please refer to fig. 2, and fig. 2 shows a block diagram of the mobile terminal 10 provided in the embodiment of the present invention. The mobile terminal 10 includes a processor 11, a memory 12, a bus 13, a communication interface 14, and an audio device 15, and the processor 11, the memory 12, the communication interface 14, and the audio device 15 are connected through the bus 13.
The processor 11 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the card punching reminding method may be implemented by an integrated logic circuit of hardware in the processor 11 or instructions in the form of software. The Processor 11 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 12 is used for storing a program, such as the above described punch card reminding apparatus 100. The card punch reminder 100 includes at least one software function module which can be stored in the memory 12 in the form of software or firmware (firmware) or is solidified in an Operating System (OS) of the mobile terminal 10. After receiving the execution instruction, the processor 11 executes the program to implement the card punch reminding method disclosed in the following embodiment.
The mobile terminal 10 communicates with the client 20, or other peripheral devices, via the communication interface 14.
The audio device 15 may be a speaker or other device on the mobile terminal that can sound or play audio.
On the basis of fig. 1 and fig. 2, an embodiment of the present invention provides a flow chart of a card punch-out reminding method, and referring to fig. 3, fig. 3 shows a flow chart of a card punch-out reminding method provided by an embodiment of the present invention, the method includes the following steps:
step S110, receiving an online message sent when the client logs in the card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program.
In this embodiment, the card punching reminding application program and the card punching reminding client program are corresponding, and the difference is that the card punching reminding application program is a software program suitable for the mobile terminal 10, and the card punching reminding client program is a software program suitable for the client 20 (i.e. suitable for a personal computer PC), because there is a great difference between the hardware architecture and the software architecture of the mobile terminal 10 and the client 20, a mobile phone version suitable for the mobile terminal 10 and a PC version suitable for the client 20 are developed for the same software in general, and the same account number or different account numbers with the same authentication information can be logged in the mobile terminal 10 and the client 20 at the same time.
In this embodiment, in general, the user may start the client 20 during work, and when the user logs in the card punch reminding client program through the client 20, the client 20 sends an online message to the mobile terminal 10.
And step S120, judging whether the current system time is in a first preset time range or not based on the online message.
In this embodiment, the first preset time range may be a time range for performing a attendance card-punching reminder preset by a user, for example, the attendance time of the user is 8: 30, the first preset time range may be set to 8: 20-8: 30, or the user's elastic working time is: 8: 30-9: 30, the first preset time range may be set as: 8: 20-9: 30.
in this embodiment, the current system time may be the system time of the current mobile terminal 10, and in order to ensure the accuracy of the system time of the current mobile terminal 10, the server may be configured to periodically calibrate the system time of the mobile terminal 10, that is, periodically obtain the system time thereof from the server, and synchronize the system time of the server to the mobile terminal 10.
Step S130, if the current system time is within a first preset time range, a first card punch reminder is started.
In this embodiment, the first card punching reminder is a reminder corresponding to the online message, in an actual application scenario, the first card punching reminder may be an on-duty card punching reminder, and the first reminding card punching mode may be: the voice reminding is carried out by playing audio, or the information display reminding is carried out by displaying the prompt information, or the reminding is carried out by controlling the flicker of a display lamp of the mobile terminal, and the like.
According to the method provided by the embodiment of the invention, the client 20 sends the online message to the mobile terminal 10 based on the establishment of the connection between the client and the mobile terminal 10, and the mobile terminal 10 starts the on-duty card punching reminding based on the online message, so that the timeliness of the on-duty card punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the card are avoided.
On the basis of fig. 3, in order to avoid that the user experience is affected by performing the first card punching reminder for multiple times due to normal restart in the using process of the client, another card punching reminding method is further provided in this embodiment, please refer to fig. 4, where fig. 4 shows a flowchart of another card punching reminding method provided in the embodiment of the present invention, and the method further includes step S111 and step S112.
Step S111, acquiring a first state mark representing whether the first card-punching reminder is started or not;
in this embodiment, the first status flag is used to represent whether the first card-punching reminder is turned on, the user may manually turn on or turn off the first card-punching reminder as needed, or the user may turn off the first card-punching reminder when the first card-punching reminder is received for the first time or when the first preset number of times is received after the client 20 is turned on the same day, so as to prevent the subsequent repeated reminding from affecting the normal work of the user.
In this embodiment, as a specific implementation manner, the first status flag may indicate the turning on or off of the first card punching reminder by using different preset values, for example, the number "0" indicates that the first card punching reminder is turned on, the number "1" indicates that the first card punching reminder is turned off, and when the user turns off the first card punching reminder, the first status flag is updated from "1" to "0".
Step S112, if the first status flag indicates that the first card-punch reminder is to be activated, determining whether the current system time is within a first preset time range based on the online message.
In this embodiment, in order to avoid that the user repeatedly receives the first card-punching reminder, after receiving the online message, before determining whether the current system time is within the first preset time range, first, whether the first card-punching reminder is started is determined according to the first status flag, if the first card-punching reminder is started, the current system time is further determined whether the current system time is within the first preset time range, otherwise, the determination is not continued, and the reminder is not started subsequently. That is, in this embodiment, the conditions for starting the first card-punching reminder are as follows: (1) receiving an online message sent by the client 20; (2) the first state mark represents a first card-punching reminding start; (3) the current system time is within a first preset time range, and the three conditions are simultaneously met.
With continued reference to fig. 4, the step of starting the first card-punching reminder in step S130 further includes the following sub-steps:
and a substep S1301 of starting an audio device and playing a preset first preset audio corresponding to the online message to carry out card punching reminding.
In this embodiment, the first preset audio is an audio corresponding to the online message and used for performing the first card-punching reminding, the user may preset the first preset audio corresponding to the online message through the mobile terminal 10, the mobile terminal 10 includes the audio device 15, when the first card-punching reminding condition is met, the mobile terminal 10 starts the audio device, and the user is reminded to punch a card by playing the first preset audio.
It should be noted that steps S111 to S112 may be combined with sub-step S1301 or used alone to achieve the corresponding technical effect.
According to the method provided by the embodiment of the invention, the first state flag is set to control the first card-punching reminding to be turned on and off, so that great configuration flexibility is provided for a user, the user is effectively prevented from repeatedly receiving the first card-punching reminding, the user experience is improved, and in addition, the first preset audio is played through the audio device, so that the user can be more directly and more effectively reminded of card-punching on duty.
In this embodiment, in order to also provide an effective and timely reminder for a user to punch a card during work, an embodiment of the present invention further provides another method for reminding a user to punch a card during work, please refer to fig. 5, where fig. 5 shows a flowchart of another method for reminding a user to punch a card, where the method includes the following steps:
and step S210, receiving an offline message sent when the client quits the card punching reminding client program.
In this embodiment, when the user goes off duty, the client 20 is usually turned off, the turn-off client 20 will probably quit the punch reminder client, and the client 20 will send a logoff message to the mobile terminal 10 when quitting the punch reminder client. Of course, it is also possible to only quit the card-punching reminding client program without closing the client 20, and at this time, the client 20 will also send a logoff message to the mobile terminal 10 when quitting the card-punching reminding client program.
In this embodiment, it can be understood that, before step S210 is executed, the client 20 has logged in the card punch reminding client program, the mobile terminal 10 has logged in the card punch reminding application program, and the authentication information adopted by the two login accounts is the same.
Step S220, determining whether the current system time is within a second preset time range based on the offline message.
In this embodiment, the second preset time range may be a time range preset by the user for performing the off-duty card punching reminder, for example, the off-duty time of the user is 18: 00, the first preset time range may be set to 18: 00-22: 00, or 18: 00-23: 59.
in this embodiment, the current system time in step S220 is similar to the current system time in step S120, and may be the system time of the current mobile terminal 10, which is not described herein again.
In step S230, if the current system time is within a second preset time range, a second card punch-out reminder is started.
In this embodiment, the second punch-card reminder is a reminder corresponding to the offline message, in an actual application scenario, the second punch-card reminder may be a punch-card reminder for next work, and the second punch-card reminder may be: the voice reminding is carried out by playing audio, or the information display reminding is carried out by displaying the prompt information, or the reminding is carried out by controlling the flicker of a display lamp of the mobile terminal, and the like.
According to the method provided by the embodiment of the invention, the client 20 sends the offline message to the mobile terminal 10 based on the disconnection between the client and the mobile terminal 10, and the mobile terminal 10 starts the off-duty card-punching reminding based on the offline message, so that the timeliness of the off-duty card-punching reminding is ensured, and the trouble and extra workload caused by forgetting the off-duty card-punching are avoided.
On the basis of fig. 5, in order to avoid that the user experience is affected by performing the second card punching reminder for multiple times due to normal restart in the using process of the client, another card punching reminding method is further provided in this embodiment, please refer to fig. 6, where fig. 6 shows a flowchart of another card punching reminding method provided in this embodiment of the present invention, and the method further includes step S211.
Step S211, a second status flag indicating whether the second punch reminder is turned on is obtained.
In this embodiment, the second status flag is used to represent whether the second card punching reminder is turned on, the user may manually turn on or turn off the second card punching reminder as needed, or the user may turn off the second card punching reminder when the second card punching reminder is received for the first time or when the second preset number of times is received after the client 20 is turned on the same day, so as to prevent the user from being affected by subsequent repeated reminding again.
In this embodiment, the first punch-out reminder and the second punch-out reminder may be separately set according to the needs of the user, that is, the first punch-out reminder and the second punch-out reminder each have their own status flag, at this time, the first status flag and the second status flag are two different status flags, the user may also set the first punch-out reminder and the second punch-out reminder in a unified manner in order to reduce the setting operation, that is, both share one status flag, and at this time, the first status flag and the second status flag are the same status flag. Accordingly, the first preset number may be the same as the second preset number, or may be different from the second preset number.
In this embodiment, the method for representing the second status flag may be the same as or different from the method for representing the first status flag, for example, the number "0" represents that the second punch-out reminder is on, the number "1" represents that the second punch-out reminder is off, the character string "YES" represents that the second punch-out reminder is on, and the character string "NO" represents that the second punch-out reminder is off.
In step S212, if the second status flag indicates that the second card punch-out prompt is on, it is determined whether the current system time is within a second preset time range based on the offline message.
In this embodiment, in order to avoid that the user repeatedly receives the second card punching reminder, after receiving the offline message, before determining whether the current system time is within the second preset time range, first, whether the second card punching reminder is turned on is determined according to the second status flag, if the second card punching reminder is turned on, it is further determined whether the current system time is within the second preset time range, otherwise, the determination is not continued, and the reminder is not started subsequently. That is, in this embodiment, the conditions for starting the second card punching reminder are as follows: (1) receiving an offline message sent by the client 20; (2) the second state mark represents that a second card punching prompt is started; (3) and the current system time is in a second preset time range, and the three conditions are simultaneously met.
Referring to fig. 6, the step of starting the second card punching reminder in step S230 further includes the following sub-steps:
and a substep S2301 of starting the audio device and playing a preset second preset audio corresponding to the offline message to remind the user of punching the card.
In this embodiment, the second preset audio is an audio corresponding to the offline message and used for performing a second card punch-out prompt, the user may preset the second preset audio corresponding to the offline message through the mobile terminal 10, the mobile terminal 10 includes the audio device 15, when the second card punch-out prompt condition is met, the mobile terminal 10 starts the audio device, and the user is prompted to punch the card by playing the second preset audio.
In this embodiment, the second preset audio and the first preset audio may be the same or different, and the user may set the second preset audio and the first preset audio in a unified manner or separately as needed.
It should be noted that steps S211 to S212 may be combined with sub-step S2301 or used separately to achieve the corresponding technical effect.
According to the method provided by the embodiment of the invention, the second state flag is set to control the second punch-card reminding to be started and closed, so that great configuration flexibility is provided for a user, the user is effectively prevented from repeatedly receiving the second punch-card reminding, the user experience is improved, and in addition, the second preset audio is played through the audio device, so that the user can be more directly and more effectively reminded of punching cards off duty.
In order to execute the corresponding steps in the above embodiments and various possible implementations, an implementation of the punch reminder device 100 is given below. Referring to fig. 7, fig. 7 is a block diagram illustrating a card punching reminding device 100 according to an embodiment of the present invention. It should be noted that the basic principle and the generated technical effect of the punch card reminding device 100 provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no reference is made to this embodiment.
The card punching reminding device 100 comprises at least one software functional module which can be stored in the memory 12 in fig. 2 in the form of software or firmware (firmware), and the processor 11 reads the software functional module from the memory 12 and executes the software functional module after receiving an execution instruction, so as to implement the card punching reminding method disclosed by the above embodiment. The punch card reminding device 100 comprises a first reminding module 110 and a second reminding module 120.
The first reminder module 110 is configured to: receiving an online message sent when a client logs in a card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program; judging whether the current system time is within a first preset time range or not based on the online message; and if the current system time is within a first preset time range, starting a first card punching prompt.
In one embodiment, the first reminder module 110 is further configured to: acquiring a first state mark representing whether the first card punching reminder is started or not; and if the first state mark represents that the first card-punching reminding is started, judging whether the current system time is in a first preset time range or not based on the online message.
In one embodiment, the mobile terminal includes an audio device, and the first reminding module 110 is specifically configured to: and starting the audio device, and playing a preset first preset audio corresponding to the online message to remind the user of punching a card.
The second reminder module 120 is configured to: receiving an offline message sent when the client quits the card punching reminding client program; judging whether the current system time is within a second preset time range or not based on the offline message; and if the current system time is within a second preset time range, starting a second card punching prompt.
In one embodiment, the second reminder module 120 is further configured to: acquiring a second state mark representing whether a second card punching prompt is started or not; and if the second state mark represents that the second card punching reminding is started, judging whether the current system time is in a second preset time range or not based on the offline message.
In one embodiment, the mobile terminal includes an audio device, and the second reminding module 120 is specifically configured to: and starting the audio device, and playing preset second preset audio corresponding to the offline message to remind the user of punching the card.
In one embodiment, a mobile terminal is provided, the mobile terminal is in communication connection with a client, the mobile terminal is installed with a card punching reminding application program, the client is installed with a card punching reminding client program corresponding to the card punching reminding application program and comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: receiving an online message sent when a client logs in a card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program; judging whether the current system time is within a first preset time range or not based on the online message; and if the current system time is within a first preset time range, starting a first card punching prompt.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a first state mark representing whether the first card punching reminder is started or not; and if the first state mark represents that the first card-punching reminding is started, judging whether the current system time is in a first preset time range or not based on the online message.
In one embodiment, the mobile terminal comprises an audio device, and the processor when executing the computer program further performs the steps of: and starting the audio device, and playing a preset first preset audio corresponding to the online message to remind the user of punching a card.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving an offline message sent when the client quits the card punching reminding client program; judging whether the current system time is within a second preset time range or not based on the offline message; and if the current system time is within a second preset time range, starting a second card punching prompt.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a second state mark representing whether a second card punching prompt is started or not; and if the second state mark represents that the second card punching reminding is started, judging whether the current system time is in a second preset time range or not based on the offline message.
In one embodiment, the mobile terminal comprises an audio device, and the processor when executing the computer program further performs the steps of: and starting the audio device, and playing preset second preset audio corresponding to the offline message to remind the user of punching the card.
In the mobile terminal 10 provided in the embodiment of the present invention, first, the client 20 sends an online message to the mobile terminal 10 based on the establishment of the connection between the client and the mobile terminal 10, and the mobile terminal 10 starts the card-punching reminder based on the online message, so that the timeliness of the card-punching reminder is ensured, and the trouble and the extra workload caused by forgetting to punch the card are avoided; secondly, the first state flag is set to control the first card punching reminding to be turned on and turned off, great configuration flexibility is provided for a user, the user is effectively prevented from repeatedly receiving the first card punching reminding, user experience is improved, in addition, the first preset audio is played through the audio device, and the user can be provided with more direct and more effective on-duty card punching reminding; thirdly, the client 20 sends an offline message to the mobile terminal 10 based on the disconnection between the client and the mobile terminal 10, and the mobile terminal 10 starts the off-duty card-punching reminding based on the offline message, so that the timeliness of the off-duty card-punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the off-duty card are avoided; finally, the second state flag is set to control the second card punching reminding to be turned on and off, great configuration flexibility is provided for the user, the user is effectively prevented from repeatedly receiving the second card punching reminding, user experience is improved, in addition, the second preset audio is played through the audio device, and the user can be provided with more direct and more effective off-duty card punching reminding.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving an online message sent when a client logs in a card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program; judging whether the current system time is within a first preset time range or not based on the online message; and if the current system time is within a first preset time range, starting a first card punching prompt.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a first state mark representing whether the first card punching reminder is started or not; and if the first state mark represents that the first card-punching reminding is started, judging whether the current system time is in a first preset time range or not based on the online message.
In one embodiment, the mobile terminal comprises audio means, the computer program when executed by the processor further implementing the steps of: and starting the audio device, and playing a preset first preset audio corresponding to the online message to remind the user of punching a card.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving an offline message sent when the client quits the card punching reminding client program; judging whether the current system time is within a second preset time range or not based on the offline message; and if the current system time is within a second preset time range, starting a second card punching prompt.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a second state mark representing whether a second card punching prompt is started or not; and if the second state mark represents that the second card punching reminding is started, judging whether the current system time is in a second preset time range or not based on the offline message.
In one embodiment, the mobile terminal comprises audio means, the computer program when executed by the processor further implementing the steps of: and starting the audio device, and playing preset second preset audio corresponding to the offline message to remind the user of punching the card.
According to the computer-readable storage medium provided by the embodiment of the invention, firstly, the client 20 sends the online message to the mobile terminal 10 based on the establishment of the connection between the client and the mobile terminal 10, and the mobile terminal 10 starts the card punching reminding based on the online message, so that the timeliness of the card punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the card are avoided; secondly, the first state flag is set to control the first card punching reminding to be turned on and turned off, great configuration flexibility is provided for a user, the user is effectively prevented from repeatedly receiving the first card punching reminding, user experience is improved, in addition, the first preset audio is played through the audio device, and the user can be provided with more direct and more effective on-duty card punching reminding; thirdly, the client 20 sends an offline message to the mobile terminal 10 based on the disconnection between the client and the mobile terminal 10, and the mobile terminal 10 starts the off-duty card-punching reminding based on the offline message, so that the timeliness of the off-duty card-punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the off-duty card are avoided; finally, the second state flag is set to control the second card punching reminding to be turned on and off, great configuration flexibility is provided for the user, the user is effectively prevented from repeatedly receiving the second card punching reminding, user experience is improved, in addition, the second preset audio is played through the audio device, and the user can be provided with more direct and more effective off-duty card punching reminding.
In summary, embodiments of the present invention provide a method and an apparatus for card punch reminding, a mobile terminal and a storage medium, which are applied to a mobile terminal, where the mobile terminal is in communication connection with a client, the mobile terminal is installed with a card punch reminding application program, and the client is installed with a card punch reminding client program corresponding to the card punch reminding application program, and the method includes: receiving an online message sent when a client logs in a card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program; judging whether the current system time is within a first preset time range or not based on the online message; and if the current system time is within a first preset time range, starting a first card punching prompt. Compared with the prior art, the client sends the online message to the mobile terminal based on the establishment of the connection between the client and the mobile terminal, and the mobile terminal starts the card punching reminding based on the online message, so that the timeliness of the card punching reminding is ensured, and the trouble and extra workload caused by forgetting to punch the card are avoided.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A card punching reminding method is applied to a mobile terminal, the mobile terminal is in communication connection with a client, a card punching reminding application program is installed on the mobile terminal, a card punching reminding client program corresponding to the card punching reminding application program is installed on the client, and the method comprises the following steps:
receiving an online message sent when the client logs in the card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program;
judging whether the current system time is within a first preset time range or not based on the online message;
and if the current system time is within the first preset time range, starting a first card punching prompt.
2. The method for reminding of punching a card according to claim 1, wherein the step of determining whether the current system time is within a first preset time range based on the on-line message further comprises:
acquiring a first state mark representing whether the first card punching prompt is started or not;
and if the first state mark represents that the first card-punching reminding is started, judging whether the current system time is in a first preset time range or not based on the online message.
3. The card punch reminding method according to claim 1, wherein the mobile terminal comprises an audio device, and the step of starting the first card punch reminding comprises:
and starting the audio device, and playing a preset first preset audio corresponding to the online message to remind the user of punching a card.
4. The card punch reminder method of claim 1, further comprising:
receiving an offline message sent when the client exits the card punching reminding client program;
judging whether the current system time is within a second preset time range or not based on the offline message;
and if the current system time is within the second preset time range, starting a second card punching prompt.
5. The card punch reminding method according to claim 4, wherein the step of judging whether the current system time is within a second preset time range based on the offline message comprises:
acquiring a second state mark representing whether a second card punching prompt is started or not;
and if the second state mark represents that a second card punching prompt is started, judging whether the current system time is within a second preset time range or not based on the offline message.
6. The method for reminding when a card is punched according to claim 4, wherein the mobile terminal comprises an audio device, and the step of starting the second punching reminder comprises:
and starting the audio device, and playing preset second preset audio corresponding to the offline message so as to carry out card punching reminding.
7. The utility model provides a reminding device punches a card, its characterized in that is applied to mobile terminal, mobile terminal and customer end communication connection, mobile terminal installs the warning application program of punching a card, the customer end install with the warning application program of punching a card corresponds punches a card and reminds customer end procedure, the device includes first warning module, first warning module is used for:
receiving an online message sent when the client logs in the card punching reminding client program, wherein the authentication information when the client logs in the card punching reminding client program is the same as the authentication information when the mobile terminal logs in the card punching reminding application program;
judging whether the current system time is within a first preset time range or not based on the online message;
and if the current system time is within the first preset time range, starting a first card punching prompt.
8. The device for reminding of punching a card of claim 7, further comprising a second reminding module for:
receiving an offline message sent when the client exits the card punching reminding client program;
judging whether the current system time is within a second preset time range or not based on the offline message;
and if the current system time is within the second preset time range, starting a second card punching prompt.
9. A mobile terminal, characterized in that the mobile terminal comprises:
one or more processors;
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of claim 1-6.
10. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the method for reminding when a card is punched according to any one of claims 1 to 6.
CN202010432224.5A 2020-05-20 2020-05-20 Card punching reminding method and device, mobile terminal and storage medium Active CN111600997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010432224.5A CN111600997B (en) 2020-05-20 2020-05-20 Card punching reminding method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010432224.5A CN111600997B (en) 2020-05-20 2020-05-20 Card punching reminding method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111600997A true CN111600997A (en) 2020-08-28
CN111600997B CN111600997B (en) 2021-11-12

Family

ID=72189133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010432224.5A Active CN111600997B (en) 2020-05-20 2020-05-20 Card punching reminding method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111600997B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112634480A (en) * 2020-12-14 2021-04-09 四川长虹电器股份有限公司 Method for realizing mobile phone attendance based on intelligent wearable equipment
CN114095866A (en) * 2021-11-17 2022-02-25 中国银行股份有限公司 Method and device for reminding user of checking card on work or off work
CN115273265A (en) * 2022-09-22 2022-11-01 山东云小兵信息技术有限公司 Intelligent card punching reminding method, system, device and readable storage medium
CN115273426A (en) * 2022-07-20 2022-11-01 中国银行股份有限公司 Attendance prompting method and device and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203366395U (en) * 2013-03-28 2013-12-25 上海斐讯数据通信技术有限公司 Attendance system
CN107277245A (en) * 2017-06-15 2017-10-20 深圳天珑无线科技有限公司 Check card based reminding method and device
US20170309084A1 (en) * 2016-04-21 2017-10-26 Alibaba Group Holding Limited Method and system for offline attendance processing
CN107833302A (en) * 2017-11-29 2018-03-23 镇江京港科技信息咨询有限公司 A kind of system of registering of checking card with prompt facility
CN108156311A (en) * 2017-12-05 2018-06-12 北京小米移动软件有限公司 The method and device of prompting message
CN108601092A (en) * 2018-05-04 2018-09-28 河南礼恰网络科技有限公司 A kind of event memorandum based reminding method and system
CN108830562A (en) * 2018-06-14 2018-11-16 腾讯科技(深圳)有限公司 A kind of attendance punch card method and relevant device
CN108961451A (en) * 2018-07-25 2018-12-07 盯盯拍(深圳)技术股份有限公司 Check card based reminding method and the card punch reminder based on mobile unit based on mobile unit
WO2018223354A1 (en) * 2017-06-09 2018-12-13 深圳市乃斯网络科技有限公司 Positioning-based attendance recording method and system
CN109697604A (en) * 2018-12-29 2019-04-30 海南指间易购电子商务有限公司 A kind of Work attendance management system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203366395U (en) * 2013-03-28 2013-12-25 上海斐讯数据通信技术有限公司 Attendance system
US20170309084A1 (en) * 2016-04-21 2017-10-26 Alibaba Group Holding Limited Method and system for offline attendance processing
WO2018223354A1 (en) * 2017-06-09 2018-12-13 深圳市乃斯网络科技有限公司 Positioning-based attendance recording method and system
CN107277245A (en) * 2017-06-15 2017-10-20 深圳天珑无线科技有限公司 Check card based reminding method and device
CN107833302A (en) * 2017-11-29 2018-03-23 镇江京港科技信息咨询有限公司 A kind of system of registering of checking card with prompt facility
CN108156311A (en) * 2017-12-05 2018-06-12 北京小米移动软件有限公司 The method and device of prompting message
CN108601092A (en) * 2018-05-04 2018-09-28 河南礼恰网络科技有限公司 A kind of event memorandum based reminding method and system
CN108830562A (en) * 2018-06-14 2018-11-16 腾讯科技(深圳)有限公司 A kind of attendance punch card method and relevant device
CN108961451A (en) * 2018-07-25 2018-12-07 盯盯拍(深圳)技术股份有限公司 Check card based reminding method and the card punch reminder based on mobile unit based on mobile unit
CN109697604A (en) * 2018-12-29 2019-04-30 海南指间易购电子商务有限公司 A kind of Work attendance management system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112634480A (en) * 2020-12-14 2021-04-09 四川长虹电器股份有限公司 Method for realizing mobile phone attendance based on intelligent wearable equipment
CN114095866A (en) * 2021-11-17 2022-02-25 中国银行股份有限公司 Method and device for reminding user of checking card on work or off work
CN115273426A (en) * 2022-07-20 2022-11-01 中国银行股份有限公司 Attendance prompting method and device and related equipment
CN115273265A (en) * 2022-09-22 2022-11-01 山东云小兵信息技术有限公司 Intelligent card punching reminding method, system, device and readable storage medium

Also Published As

Publication number Publication date
CN111600997B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN111600997B (en) Card punching reminding method and device, mobile terminal and storage medium
CN107566650B (en) Unlocking control method and related product
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
WO2015188771A1 (en) Method and apparatus for processing application notification message, and terminal device
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
CN107831886B (en) Control method and device for associated starting application, storage medium and intelligent terminal
CN107943270B (en) Application service control method and device, storage medium and mobile terminal
CN106484461A (en) Service keepalive method and device in intelligent terminal
CN109656440B (en) Application icon display method, device and medium
WO2016188246A1 (en) Method and apparatus for processing communication event
CN109218410B (en) Message display method and terminal equipment
CN108337308B (en) Data communication method, device and system for LWM2M client and upper computer
EP4071695A2 (en) Recommendation method and terminal
CN108093138A (en) A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing
CN107885588B (en) Application service control method and device, storage medium and mobile terminal
CN111290926A (en) Terminal prompting method and device, storage medium and terminal
CN109495344B (en) Debugging method, device and equipment of test equipment and storage medium
CN113242308A (en) Information pushing method, device, equipment and storage medium
WO2016155554A1 (en) Interface display method and terminal
CN111107147B (en) Message pushing method and device
CN106850957A (en) Method, device and mobile terminal that applicative notifications are managed
CN115412381A (en) Notification method, intelligent access control equipment, doorbell module, server and storage medium
CN109064527A (en) Implementation method, device, storage medium and the android terminal of dynamic configuration animation
CN115002780A (en) Method and device for connecting somatosensory device and terminal and computer-readable storage medium
CN116564295A (en) Equipment control method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211221

Address after: 710086 Building 1, fengdongwangcheng, Fengdong new town, Xi'an City, Shaanxi Province

Patentee after: Xi'an Wentai Information Technology Co.,Ltd.

Address before: 10 / F, Zhongqing building, 42 Gaoxin 6th Road, high tech Zone, Xi'an City, Shaanxi Province, 710075

Patentee before: XI'AN WINGTECH ELECTRONIC TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right