CN114882607A - Automatic card punching method and device, processor and electronic equipment - Google Patents
Automatic card punching method and device, processor and electronic equipment Download PDFInfo
- Publication number
- CN114882607A CN114882607A CN202210499816.8A CN202210499816A CN114882607A CN 114882607 A CN114882607 A CN 114882607A CN 202210499816 A CN202210499816 A CN 202210499816A CN 114882607 A CN114882607 A CN 114882607A
- Authority
- CN
- China
- Prior art keywords
- card punching
- range
- card
- punching
- satellite positioning
- 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.)
- Pending
Links
- 238000004080 punching Methods 0.000 title claims abstract description 404
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000007246 mechanism Effects 0.000 claims description 29
- 230000006870 function Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 description 13
- 238000003860 storage Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 10
- 230000001960 triggered effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/14—Receivers specially adapted for specific applications
Abstract
The application discloses a method and a device for automatically punching a card, a processor and electronic equipment, and relates to the field of financial science and technology, wherein the method comprises the following steps: obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; and triggering and executing card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information. Through the method and the device, the problem that the card punching efficiency is low due to the fact that the card punching is carried out in a manual mode in the related technology is solved.
Description
Technical Field
The application relates to the field of financial science and technology, in particular to an automatic card punching method and device, a processor and electronic equipment.
Background
The current attendance card punching system is completed by a smart phone with opened positioning and an APP with an attendance card punching system. If the card punching is needed, the APP program on the mobile device needs to be started manually, the program obtains the current positioning information and the card punching range information, and if the current positioning of the user is within the card punching range, the attendance card punching system shown in fig. 1 is allowed to punch the card to work or work. The existing card punching system needs man-machine interaction when punching a card each time, so that troubles are caused to a user, and the card punching efficiency is low.
Aiming at the problem that the card punching efficiency is low due to the fact that the card punching is carried out in a manual mode in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The application mainly aims to provide an automatic card punching method and device, a processor and electronic equipment, so as to solve the problem that the card punching efficiency is low due to the fact that the card punching is carried out in a manual mode in the related art.
To achieve the above object, according to one aspect of the present application, there is provided an automatic card punching method. The method comprises the following steps: obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; and triggering and executing card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
Further, according to the card punching range, the card punching boundary range and the satellite positioning information, triggering and executing card punching operation comprises: and if the satellite positioning information is detected to enter the card punching boundary range from a non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range, triggering to execute card punching operation.
Further, obtaining the punch range and the punch boundary range includes: obtaining the card punching range through a preset function; setting the card punching boundary range according to the card punching range and the map tool; and storing the card punching range and the card punching boundary range into a configuration file of the card punching program.
Further, before the satellite positioning information of the target object is acquired through the card punching program, the method further comprises: acquiring a background running authority and a self-starting authority of the card punching program; and setting the self-starting time of the card punching program.
Further, after triggering the execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further comprises the following steps: if a signal I of the pre-success of the card punching operation is detected, acquiring a current time point; judging whether the current time point is within a preset time range or not; and if the current time point is within the preset time range, returning a second signal of successful card punching.
Further, after returning a second signal that the card was successfully punched if the current time point is within the preset time range, the method further includes: if the signal II is detected or the closing operation of the card punching program is detected, closing the card punching program; and if a third signal of card punching failure is detected, triggering a first reminding mechanism, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Further, before triggering the execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further comprises the following steps: and if the satellite positioning information is detected to be changed and the card punching boundary range is not passed, triggering a second reminding mechanism, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation.
In order to achieve the above object, according to another aspect of the present application, there is provided an automatic card punching apparatus. The device includes: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a card punching range and a card punching boundary range, and the card punching range comprises the card punching boundary range; the acquisition unit is used for acquiring the satellite positioning information of the target object through a card punching program; and the triggering unit is used for triggering and executing the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
Further, the trigger unit includes: the detection module is used for triggering the execution of the card punching operation if the satellite positioning information is detected to enter the card punching boundary range from a non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range.
Further, the first acquisition unit includes: the acquisition module is used for acquiring the card punching range through a preset function; the setting module is used for setting the card punching boundary range according to the card punching range and the map tool; and the storage module is used for storing the card punching range and the card punching boundary range into a configuration file of the card punching program.
Further, the apparatus further comprises: the third acquisition unit is used for acquiring the background operation authority and the self-starting authority of the card punching program before the satellite positioning information of the target object is acquired through the card punching program; and the setting unit is used for setting the self-starting time of the card punching program.
Further, the apparatus further comprises: the fourth obtaining unit is used for obtaining the current time point if a signal I of the card punching operation success is detected after the card punching operation is triggered to be executed according to the card punching range, the card punching boundary range and the satellite positioning information; the judging unit is used for judging whether the current time point is within a preset time range or not; and the first processing unit is used for returning a second signal of successful card punching if the current time point is within the preset time range.
Further, the apparatus further comprises: the second processing unit is used for returning a second signal of successful card punching if the current time point is within the preset time range, and closing the card punching program if the second signal is detected or the closing operation of the card punching program is detected; and the third processing unit is used for triggering a first reminding mechanism if a third signal of card punching failure is detected, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Further, the apparatus further comprises: and the fourth processing unit is used for triggering a second reminding mechanism if the satellite positioning information is detected to be changed and does not pass through the card punching boundary range before the card punching operation is triggered and executed according to the card punching range, the card punching boundary range and the satellite positioning information, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation.
In order to achieve the above object, according to one aspect of the present application, there is provided a processor for executing a program, wherein the program executes to perform the automatic card punching method according to any one of the above.
To achieve the above object, according to one aspect of the present application, there is provided an electronic device including one or more processors and a memory, the memory storing the one or more processors implementing the method for automatic card punching as described in any one of the above.
Through the application, the following steps are adopted: obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; according to the card punching range, the card punching boundary range and the satellite positioning information, the card punching operation is triggered and executed, and the problem that the card punching efficiency is low due to the fact that the card punching is carried out in a manual mode in the related technology is solved. Through the card punching range, the card punching boundary range and the satellite positioning information of the target object, the card punching program automatically triggers the card punching operation, so that the card punching operation is avoided in a manual mode, and the effect of improving the card punching efficiency is further achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a schematic diagram of a prior art card punch system;
FIG. 2 is a flow chart of a method for automatic card punching provided according to an embodiment of the application;
FIG. 3 is a schematic view of a card punching range and a card punching boundary range provided according to an embodiment of the application;
FIG. 4 is a flowchart of an alternative automatic card punching method provided according to an embodiment of the present application
FIG. 5 is a schematic diagram of an automatic card punching device provided according to an embodiment of the application;
fig. 6 is a schematic diagram of an electronic device provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data that are authorized by the user or sufficiently authorized by various parties. For example, an interface is provided between the system and the relevant user or organization, before obtaining the relevant information, an obtaining request needs to be sent to the user or organization through the interface, and after receiving the consent information fed back by the user or organization, the relevant information is obtained.
The present invention is described below with reference to preferred implementation steps, and fig. 2 is a flowchart of an automatic card punching method according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S201, a card punching range and a card punching boundary range are obtained, wherein the card punching range comprises the card punching boundary range.
Specifically, a card punching range and a card punching boundary range are set according to actual requirements, wherein the card punching range refers to a given geographic range (longitude and latitude range) for accepting card punching, and attendance information can be successfully registered by performing card punching operation when a terminal mobile device (for example, a smart phone) where a card punching program is located is in the range. The card punching boundary area is a part of the card punching range, and the card punching boundary area is also a geographic area defined based on longitude and latitude and is necessarily a subset of the card punching range. The card punch boundary region is located at an edge of the card punch range, for example, near a large portal of a company, and a user enters the card punch boundary region. As shown in fig. 3, if the circular area in fig. 3 is a punching area of a certain company, the slant line area may be set as a punching boundary area, and the other areas are non-punching areas.
Step S202, satellite positioning information of the target object is obtained through a card punching program.
Specifically, the card punching program is automatically started according to preset time, then satellite positioning information of the target object is obtained, and longitude and latitude and height information of an observation point (namely the target object) can be accurately obtained through a satellite navigation system.
And step S203, triggering and executing the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
Specifically, the card punching program can carry out automatic card punching work according to the card punching range, the card punching boundary range and the satellite positioning information.
Optionally, in the method for automatically punching a card provided in the embodiment of the present application, triggering execution of a card punching operation according to the card punching range, the card punching boundary range, and the satellite positioning information includes: and if the satellite positioning information is detected to enter the card punching boundary range from the non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range, triggering to execute the card punching operation.
Specifically, when the satellite positioning information of the target object changes from the non-card punching range to the card punching boundary range, the on-duty card punching is performed. And when the satellite positioning information of the target object is changed from the non-card punching boundary range to the card punching boundary range in the card punching range, performing off-duty card punching. Through the steps, whether the work of punching the card is carried out can be accurately judged, and the accuracy of punching the card on duty and off duty is improved.
Optionally, in the method for automatically punching a card provided in the embodiment of the present application, obtaining the card punching range and the card punching boundary range includes: obtaining a card punching range through a preset function; setting a card punching boundary range according to the card punching range and the map tool; and storing the card punching range and the card punching boundary range into a configuration file of a card punching program.
Specifically, generally, the card punching range is a circular range with a center point as a circle center and a preset length as a radius, the card punching range can be obtained through a geographic range generating function, then the card punching boundary range is set according to the actual requirement of the target object, and then the card punching range and the card punching boundary range are stored in a configuration file of a card punching program, so that the range can be called subsequently to perform position judgment, and the card punching work is realized.
Optionally, in the method for automatically punching a card provided in an embodiment of the present application, before obtaining the satellite positioning information of the target object through the card punching program, the method further includes: acquiring a background running authority and a self-starting authority of a card punching program; and setting the self-starting time of the card punching program.
Specifically, after the card punching program is deployed to the terminal mobile device, the background running authority and the self-starting authority of the card punching program need to be set, and the self-starting time of the card punching program needs to be set. For example, if a user (i.e., the target object) has a scheduled work attendance of 8:30 to 17:30, and the user's lifestyle is typically from 8:00 to 8:30 in the morning to the company and from 17:30 to 19:00 in the evening, the timed self-start time may be set to 7: 50 and 17:20, so as to ensure that the card punching program is in a running state when entering the company card punching range and leaving the card punching range and can monitor the satellite positioning information change of the user in real time. By the steps, the background running time of the card punching program can be effectively reduced, and the effect of saving resources is further achieved.
Optionally, in the method for automatically punching a card provided in the embodiment of the present application, after triggering execution of a card punching operation according to the card punching range, the card punching boundary range, and the satellite positioning information, the method further includes: if a signal I of the pre-success of the card punching operation is detected, acquiring a current time point; judging whether the current time point is within a preset time range or not; and if the current time point is within the preset time range, returning a second signal of successful card punching.
Specifically, after the card punching operation is performed, if the card punching operation is successful, the operation time of the current card punching (i.e., the current time point described above) needs to be acquired. And if the operation time is within the preset time range, returning a second signal of successful card punching to the target object. Here, in order to avoid invalid card punching during non-card punching time, for example, normal work card punching time is 8: 30-9:00 (namely the preset time range), and the target object needs to trigger the card punching mechanism in the non-card punching time due to work, so that the card punching is invalid at the moment, the card punching program is not closed, and relevant card punching records are not carried out. Through the steps, the target object can be guaranteed to be successfully punched, and the situation that the punching program is automatically closed due to the punching operation outside the punching time range is avoided, so that the user does not punch the card due to the fact that the punching program is closed in the normal off duty time period on the same day.
Optionally, in the method for automatically punching a card provided in the embodiment of the present application, after returning a second signal indicating that the card punching is successful if the current time point is within the preset time range, the method further includes: if the signal II is detected or the closing operation of the card punching program is detected, closing the card punching program; and if a third signal of card punching failure is detected, triggering a first reminding mechanism, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Particularly, when the card is successfully punched or the card punching program is manually closed, the operation can effectively reduce the background running time and the power consumption of the mobile terminal. In practical application, various special conditions (such as poor network signals, system card pause and the like) exist to cause the problem that the card cannot be punched successfully, and when the card punching is unsuccessful, a reminding function (ringing or vibrating) is triggered to remind a user of the card punching failure. Such operation can effectively avoid the problem of unsuccessful card punching caused by various special conditions.
Optionally, in the method for automatically punching a card provided in the embodiment of the present application, before triggering execution of a card punching operation according to the card punching range, the card punching boundary range, and the satellite positioning information, the method further includes: and if the satellite positioning information is detected to be changed and the card punching boundary range is not passed, triggering a second reminding mechanism, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation.
Specifically, in practical applications, it is also necessary to avoid the problem that the card cannot be punched due to the excessively fast moving speed of the target object, so if the satellite positioning information of the user does not pass through the preset card punching boundary range (for example, the satellite positioning information directly changes from the non-card punching boundary range in the card punching range to the non-card punching range, or the satellite positioning information directly changes from the non-card punching range to the non-card punching boundary range in the card punching range), a warning function is triggered to warn the user that the card is not punched.
It should be noted that, for the existing card punching system, as shown in fig. 1, the judgment and execution of automatic card punching can be used as a new system to assist the existing card punching system, thereby reducing the problems of development cost and resource waste.
As shown in fig. 4, a flow chart of an optional automatic card punching provided according to an embodiment of the present application is shown. Firstly, setting a card punching range and a card punching boundary range; step two, setting timing start, successful card punch closing and the like; thirdly, monitoring satellite positioning of the terminal in real time; fourthly, automatically initiating a card punching operation when the terminal position moves from the non-card punching range to the card punching boundary region range; and automatically initiating the card punching operation when the terminal position moves from the non-card punching boundary area range of the card punching range to the card punching boundary area range.
According to the method for automatically punching the card, the card punching range and the card punching boundary range are obtained, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; according to the card punching range, the card punching boundary range and the satellite positioning information, the card punching operation is triggered and executed, and the problem that the card punching efficiency is low due to the fact that the card punching is carried out in a manual mode in the related technology is solved. Through the card punching range, the card punching boundary range and the satellite positioning information of the target object, the card punching program automatically triggers the card punching operation, so that the card punching operation is avoided in a manual mode, and the effect of improving the card punching efficiency is further achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides an automatic card punching device, and it should be noted that the automatic card punching device of the embodiment of the present application may be used to execute the method for automatic card punching provided by the embodiment of the present application. The following describes an automatic card punching device provided by the embodiment of the application.
Fig. 5 is a schematic diagram of an automatic card punching device according to an embodiment of the application. As shown in fig. 5, the apparatus includes: a first acquisition unit 501, a second acquisition unit 502 and a trigger unit 503.
The first obtaining unit 501 is configured to obtain a card punching range and a card punching boundary range, where the card punching range includes the card punching boundary range.
A second obtaining unit 502, configured to obtain satellite positioning information of the target object through a card punching program.
The triggering unit 503 is configured to trigger execution of a card punching operation according to the card punching range, the card punching boundary range, and the satellite positioning information.
According to the automatic card punching device provided by the embodiment of the application, a card punching range and a card punching boundary range are obtained through a first obtaining unit 501, wherein the card punching range comprises the card punching boundary range; the second acquisition unit 502 acquires satellite positioning information of the target object through a card punching program; the triggering unit 503 triggers and executes the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, so that the problem of low card punching efficiency caused by manual card punching in the related art is solved. Through the card punching range, the card punching boundary range and the satellite positioning information of the target object, the card punching program automatically triggers the card punching operation, so that the card punching operation is avoided in a manual mode, and the effect of improving the card punching efficiency is further achieved.
Optionally, in the automatic card punching device provided in the embodiment of the present application, the triggering unit 503 includes: the detection module is used for triggering the execution of the card punching operation if the satellite positioning information is detected to enter the card punching boundary range from the non-card punching range or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range.
Optionally, in the apparatus for automatically punching a card provided in the embodiment of the present application, the first obtaining unit 501 includes: the acquisition module is used for acquiring a card punching range through a preset function; the setting module is used for setting a card punching boundary range according to the card punching range and the map tool; and the storage module is used for storing the card punching range and the card punching boundary range into a configuration file of the card punching program.
Optionally, in the device for automatically punching a card provided in the embodiment of the present application, the device further includes: the third acquisition unit is used for acquiring the background operation authority and the self-starting authority of the card punching program before the satellite positioning information of the target object is acquired through the card punching program; and the setting unit is used for setting the self-starting time of the card punching program.
Optionally, in the device for automatically punching a card provided in the embodiment of the present application, the device further includes: the fourth acquisition unit is used for acquiring the current time point if a signal I of the card punching operation success is detected after the card punching operation is triggered to be executed according to the card punching range, the card punching boundary range and the satellite positioning information; the judging unit is used for judging whether the current time point is within a preset time range or not; and the first processing unit is used for returning a second signal of successful card punching if the current time point is within a preset time range.
Optionally, in the device for automatically punching a card provided in the embodiment of the present application, the device further includes: the second processing unit is used for returning a second signal of successful card punching if the current time point is within the preset time range, and closing the card punching program if the second signal is detected or the closing operation of the card punching program is detected; and the third processing unit is used for triggering a first reminding mechanism if a third signal of card punching failure is detected, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Optionally, in the device for automatically punching a card provided in the embodiment of the present application, the device further includes: and the fourth processing unit is used for triggering a second reminding mechanism if the satellite positioning information is detected to be changed and does not pass through the card punching boundary range before the card punching operation is triggered and executed according to the card punching range, the card punching boundary range and the satellite positioning information, wherein the second reminding mechanism is used for reminding a target object of not executing the card punching operation.
It should be noted that the first obtaining unit 501 in this embodiment may be configured to execute step S201 in this embodiment, the second obtaining unit 502 in this embodiment may be configured to execute step S202 in this embodiment, and the triggering unit 503 in this embodiment may be configured to execute step S203 in this embodiment. The modules are the same as the corresponding steps in the realized examples and application scenarios, but are not limited to the disclosure of the above embodiments.
The automatic card punching device comprises a processor and a memory, wherein the first acquiring unit 501, the second acquiring unit 502, the triggering unit 503 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and automatic card punching is realized by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a processor, which is used for running a program, wherein an automatic card punching method is executed when the program runs.
As shown in fig. 6, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor executes the program to implement the following steps: obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; and triggering to execute the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
Optionally, triggering execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information includes: and if the satellite positioning information is detected to enter the card punching boundary range from the non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range, triggering to execute the card punching operation.
Optionally, the obtaining the punch-out range and the punch-out boundary range includes: obtaining a card punching range through a preset function; setting a card punching boundary range according to the card punching range and the map tool; and storing the card punching range and the card punching boundary range into a configuration file of a card punching program.
Optionally, before the obtaining the satellite positioning information of the target object by the card punching program, the method further comprises: acquiring a background running authority and a self-starting authority of a card punching program; and setting the self-starting time of the card punching program.
Optionally, after triggering execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further includes: if a signal I of the pre-success of the card punching operation is detected, acquiring a current time point; judging whether the current time point is within a preset time range or not; and if the current time point is within the preset time range, returning a second signal of successful card punching.
Optionally, after returning a second signal that the card punching is successful if the current time point is within the preset time range, the method further includes: if the signal II is detected or the closing operation of the card punching program is detected, closing the card punching program; and if a third signal of card punching failure is detected, triggering a first reminding mechanism, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Optionally, before triggering the execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further includes: and if the satellite positioning information is detected to be changed and the card punching boundary range is not passed, triggering a second reminding mechanism, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range; acquiring satellite positioning information of a target object through a card punching program; and triggering to execute the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
Optionally, triggering execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information includes: and if the satellite positioning information is detected to enter the card punching boundary range from the non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range, triggering to execute the card punching operation.
Optionally, the obtaining the punch-out range and the punch-out boundary range includes: obtaining a card punching range through a preset function; setting a card punching boundary range according to the card punching range and the map tool; and storing the card punching range and the card punching boundary range into a configuration file of a card punching program.
Optionally, before the obtaining the satellite positioning information of the target object by the card punching program, the method further comprises: acquiring a background running authority and a self-starting authority of a card punching program; and setting the self-starting time of the card punching program.
Optionally, after triggering the execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further includes: if a signal I of the pre-success of the card punching operation is detected, acquiring a current time point; judging whether the current time point is within a preset time range or not; and if the current time point is within the preset time range, returning a second signal of successful card punching.
Optionally, after returning a second signal that the card punching is successful if the current time point is within the preset time range, the method further includes: if the signal II is detected or the closing operation of the card punching program is detected, closing the card punching program; and if a third signal of card punching failure is detected, triggering a first reminding mechanism, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
Optionally, before triggering the execution of the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information, the method further includes: and if the satellite positioning information is detected to be changed and the card punching boundary range is not passed, triggering a second reminding mechanism, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 processor, 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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, 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 above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. An automatic card punching method is characterized by comprising the following steps:
obtaining a card punching range and a card punching boundary range, wherein the card punching range comprises the card punching boundary range;
acquiring satellite positioning information of a target object through a card punching program;
and triggering and executing card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
2. The method of claim 1, wherein triggering execution of a card punch operation according to the card punch range, the card punch boundary range and the satellite positioning information comprises:
and if the satellite positioning information is detected to enter the card punching boundary range from a non-card punching range, or the satellite positioning information is detected to enter the card punching boundary range from the non-card punching boundary range in the card punching range, triggering to execute card punching operation.
3. The method of claim 1, wherein obtaining a punch-out range and a punch-out boundary range comprises:
obtaining the card punching range through a preset function;
setting the card punching boundary range according to the card punching range and the map tool;
and storing the card punching range and the card punching boundary range into a configuration file of the card punching program.
4. The method of claim 1, wherein prior to obtaining satellite positioning information for a target object via a card punch, the method further comprises:
acquiring a background running authority and a self-starting authority of the card punching program;
and setting the self-starting time of the card punching program.
5. The method of claim 2, wherein after triggering execution of a card punch operation based on the card punch range, the card punch boundary range, and the satellite positioning information, the method further comprises:
if a signal I of the pre-success of the card punching operation is detected, acquiring a current time point;
judging whether the current time point is within a preset time range or not;
and if the current time point is within the preset time range, returning a second signal of successful card punching.
6. The method of claim 5, wherein after returning a second signal of successful card punching if the current time point is within the preset time range, the method further comprises:
if the signal II is detected or the closing operation of the card punching program is detected, closing the card punching program;
and if a third signal of card punching failure is detected, triggering a first reminding mechanism, wherein the first reminding mechanism is used for reminding the target object of card punching failure.
7. The method of claim 5, wherein before triggering execution of a card punch operation based on the card punch range, the card punch boundary range, and the satellite positioning information, the method further comprises:
and if the satellite positioning information is detected to be changed and the card punching boundary range is not passed, triggering a second reminding mechanism, wherein the second reminding mechanism is used for reminding the target object of not executing the card punching operation.
8. An automatic card punching device, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a card punching range and a card punching boundary range, and the card punching range comprises the card punching boundary range;
the second acquisition unit is used for acquiring the satellite positioning information of the target object through a card punching program;
and the triggering unit is used for triggering and executing the card punching operation according to the card punching range, the card punching boundary range and the satellite positioning information.
9. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of automatic card punching according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and memory storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of automatic card punching of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210499816.8A CN114882607A (en) | 2022-05-09 | 2022-05-09 | Automatic card punching method and device, processor and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210499816.8A CN114882607A (en) | 2022-05-09 | 2022-05-09 | Automatic card punching method and device, processor and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114882607A true CN114882607A (en) | 2022-08-09 |
Family
ID=82673526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210499816.8A Pending CN114882607A (en) | 2022-05-09 | 2022-05-09 | Automatic card punching method and device, processor and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114882607A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115497186A (en) * | 2022-09-15 | 2022-12-20 | 中国工商银行股份有限公司 | Positioning card punching method and device, computer equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369635A (en) * | 2013-07-29 | 2013-10-23 | 广州市沃希信息科技有限公司 | Sign-in method, mobile terminal and sign-in server |
CN108764827A (en) * | 2018-05-15 | 2018-11-06 | 中国平安人寿保险股份有限公司 | Movable attendance checking method, apparatus, computer equipment and storage medium |
CN108805512A (en) * | 2017-05-04 | 2018-11-13 | 腾讯科技(深圳)有限公司 | A kind of attendance information recording method and its equipment, system |
CN208737505U (en) * | 2018-08-30 | 2019-04-12 | 河南工程学院 | Personnel safety monitoring and Time Attendance Device based on wireless sensor network |
CN111050280A (en) * | 2018-10-15 | 2020-04-21 | 珠海格力电器股份有限公司 | Attendance positioning judgment method, attendance method and system and mobile terminal |
CN111707233A (en) * | 2020-06-15 | 2020-09-25 | Oppo广东移动通信有限公司 | Terminal device positioning method and device, terminal device and storage medium |
CN111798584A (en) * | 2020-08-09 | 2020-10-20 | 泉州征之魂智能科技服务有限公司 | Remote automatic attendance checking method based on mobile terminal |
CN111898995A (en) * | 2020-08-07 | 2020-11-06 | 工银科技有限公司 | Attendance checking method, device and system |
JP2021033485A (en) * | 2019-08-21 | 2021-03-01 | 株式会社サテライトオフィス | Location confirmation system, program for location confirmation system, attendance management system, and program for attendance management system |
CN112734961A (en) * | 2020-12-24 | 2021-04-30 | 深圳市兴海物联科技有限公司 | Attendance card punching method, device, equipment and computer storage medium |
CN112927382A (en) * | 2021-02-03 | 2021-06-08 | 广东共德信息科技有限公司 | Face recognition attendance system and method based on GIS service |
CN113298970A (en) * | 2021-05-24 | 2021-08-24 | 罗华龙 | Human resource management system and method |
CN114095866A (en) * | 2021-11-17 | 2022-02-25 | 中国银行股份有限公司 | Method and device for reminding user of checking card on work or off work |
-
2022
- 2022-05-09 CN CN202210499816.8A patent/CN114882607A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369635A (en) * | 2013-07-29 | 2013-10-23 | 广州市沃希信息科技有限公司 | Sign-in method, mobile terminal and sign-in server |
CN108805512A (en) * | 2017-05-04 | 2018-11-13 | 腾讯科技(深圳)有限公司 | A kind of attendance information recording method and its equipment, system |
CN108764827A (en) * | 2018-05-15 | 2018-11-06 | 中国平安人寿保险股份有限公司 | Movable attendance checking method, apparatus, computer equipment and storage medium |
CN208737505U (en) * | 2018-08-30 | 2019-04-12 | 河南工程学院 | Personnel safety monitoring and Time Attendance Device based on wireless sensor network |
CN111050280A (en) * | 2018-10-15 | 2020-04-21 | 珠海格力电器股份有限公司 | Attendance positioning judgment method, attendance method and system and mobile terminal |
JP2021033485A (en) * | 2019-08-21 | 2021-03-01 | 株式会社サテライトオフィス | Location confirmation system, program for location confirmation system, attendance management system, and program for attendance management system |
CN111707233A (en) * | 2020-06-15 | 2020-09-25 | Oppo广东移动通信有限公司 | Terminal device positioning method and device, terminal device and storage medium |
CN111898995A (en) * | 2020-08-07 | 2020-11-06 | 工银科技有限公司 | Attendance checking method, device and system |
CN111798584A (en) * | 2020-08-09 | 2020-10-20 | 泉州征之魂智能科技服务有限公司 | Remote automatic attendance checking method based on mobile terminal |
CN112734961A (en) * | 2020-12-24 | 2021-04-30 | 深圳市兴海物联科技有限公司 | Attendance card punching method, device, equipment and computer storage medium |
CN112927382A (en) * | 2021-02-03 | 2021-06-08 | 广东共德信息科技有限公司 | Face recognition attendance system and method based on GIS service |
CN113298970A (en) * | 2021-05-24 | 2021-08-24 | 罗华龙 | Human resource management system and method |
CN114095866A (en) * | 2021-11-17 | 2022-02-25 | 中国银行股份有限公司 | Method and device for reminding user of checking card on work or off work |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115497186A (en) * | 2022-09-15 | 2022-12-20 | 中国工商银行股份有限公司 | Positioning card punching method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11616840B2 (en) | Method, apparatus and system for processing unmanned vehicle data, and storage medium | |
CN110032880B (en) | Screen recording evidence obtaining method and system based on block chain and electronic equipment | |
US20170109948A1 (en) | Vehicle data collection and verification | |
CN111131783A (en) | Monitoring method and device based on electronic fence, terminal equipment and storage medium | |
CN114095866A (en) | Method and device for reminding user of checking card on work or off work | |
CN114882607A (en) | Automatic card punching method and device, processor and electronic equipment | |
WO2015188761A1 (en) | Traffic acquiring method and apparatus based on operating system | |
CN108806679B (en) | Voice wake-up method and device | |
CN112347404A (en) | SPA page rendering method, device and system and storage medium | |
CN111580769B (en) | Display control system, method, device, storage medium and processor | |
CN111277659B (en) | Method and device for detecting display state of transverse screen and vertical screen of mobile phone | |
CN114415973A (en) | Slow disk detection method and device, electronic equipment and storage medium | |
CN114356434B (en) | Page loading method, device, apparatus, storage medium and program product | |
CN108924915B (en) | Data updating method and device based on flight mode | |
CN110930537A (en) | Vehicle data acquisition method, device and equipment based on big data and storage medium | |
EP3550536A1 (en) | Method and device for determining geographical location of user taking a vehicle | |
CN108133123B (en) | Application program identification method and system | |
CN108769152B (en) | Service refresh policy registration method, service refresh request method, device and equipment | |
CN112241362A (en) | Test method, test device, server and storage medium | |
CN115503693A (en) | Dynamic management method and device for vehicle parking map | |
CN115688102A (en) | Window processing method and device, processor and electronic equipment | |
CN113885969A (en) | Embedded device, embedded software loading method and storage medium | |
CN115048186A (en) | Method and device for processing expansion and contraction of service container, storage medium and electronic equipment | |
CN107908516B (en) | Data display method and device | |
CN115905137A (en) | File descriptor leakage monitoring method, device, equipment and storage medium |
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 |