CN114071349B - Method and device for sign-in - Google Patents
Method and device for sign-in Download PDFInfo
- Publication number
- CN114071349B CN114071349B CN202111221290.9A CN202111221290A CN114071349B CN 114071349 B CN114071349 B CN 114071349B CN 202111221290 A CN202111221290 A CN 202111221290A CN 114071349 B CN114071349 B CN 114071349B
- Authority
- CN
- China
- Prior art keywords
- request
- schedule
- time
- check
- user
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000004044 response Effects 0.000 claims abstract description 69
- 230000001360 synchronised effect Effects 0.000 claims description 22
- 238000004891 communication Methods 0.000 abstract description 16
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 238000004590 computer program Methods 0.000 description 10
- 238000004080 punching Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 238000012549 training Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000003203 everyday effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000002354 daily effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method and equipment for sign-in. The method comprises the following steps: triggering the first device to send a first check-in request to the second device at the starting moment of the first schedule, wherein the first check-in request comprises user information of a user of the first device and the time for sending the first check-in request; the first device receives a first response message of the first check-in request from the second device, wherein the first response message is used for indicating that the check-in of the user of the first device is successful, and the check-in time of the user of the first device is the time for sending the first check-in request. Therefore, the communication between the first equipment and the second equipment is triggered at the starting moment of the first scheduling, automatic sign-in is realized, the condition that a user forgets to sign in is avoided, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of attendance checking, in particular to a method and equipment for checking in the technical field of attendance checking.
Background
In daily attendance management work, the traditional sign-in mode mainly carries out roll call sign-in by means of a roster, or the sign-in is completed by a user through handwriting signature, so that the mode not only consumes the energy of the user, but also wastes time, and is low in efficiency. Adopt fingerprint identification to check in to punch a card or the mode of face identification to check in to punch a card, when the user catch up with time or busy in other things, the condition that the user forgotten to punch a card probably appears to cause the user to check in to fail to adopt fingerprint identification's mode to accomplish the attendance and punch a card still needs the user to go to contact fingerprint identification device and accomplish the sign in, brings inconvenience for the user, leads to user experience poor.
Disclosure of Invention
The embodiment of the application provides a method and equipment for signing in, which are beneficial to users to finish signing in and improve user experience.
In a first aspect, embodiments of the present application provide a method for sign-in, the method including:
triggering a first device to send a first check-in request to a second device at a starting moment of a first schedule, wherein the first check-in request comprises user information of a user of the first device and time for sending the first check-in request;
the first device receives a first response message of the first check-in request from the second device, wherein the first response message is used for indicating that the check-in of the user of the first device is successful, and the check-in time of the user of the first device is the time when the first device sends the first check-in request;
the distance between the first device and the second device is smaller than a preset distance.
In the above technical solution, at the start time of the first schedule, the first device is triggered to send a first check-in request to the second device, and the first device receives a first response message of the first check-in request from the second device, where the first response message is used to indicate that the user of the first device checks in successfully. Therefore, the first equipment is triggered to communicate with the second equipment at the starting moment of the first scheduling, automatic check-in is realized, the situation that a user forgets to check-in due to other things can be avoided, meanwhile, the user can check-in without contact, and the user experience is improved.
Optionally, the first device is an intelligent card reader, and the second device is a sign-in device.
Optionally, the user information of the user of the first device is used to identify the user of the first device, for example, when the user of the first device is a student, the user information of the user of the first device may be a student number, and for example, when the user of the first device is a member, the user information of the user of the first device may be a job number of the user.
Optionally, the first device displays a first response message that the first device receives the first check-in request from the second device.
Optionally, the preset distance comprises a communication distance between the first device and the second device. Outside the preset distance, the first device and the second device cannot communicate.
In some possible implementations, if the first device does not receive the first response message of the first check-in request from the second device, after a preset duration, the first device sends a second check-in request to the second device, where the second check-in request includes user information of a user of the first device and a time of sending the second check-in request.
In the above technical solution, if the first device does not receive the first response message of the first check-in request from the second device, the first device may send the second check-in request to the second device again, and the check-in request is repeated, which is helpful for the user of the first device to check in successfully, for example, the first device may send the check-in request to the second device for 5 times.
Optionally, the preset duration may be set shorter, for example, the preset duration is 1s, so that it may be ensured that the check-in of more users is successful within 1min of the starting time.
In some possible implementations, the first schedule is a first lesson schedule of a student user of the first device, and a starting time of the first schedule is a starting lesson time of the first lesson schedule.
Optionally, the first schedule is a first training schedule of the user of the first device, and the starting time of the first schedule is a starting time of the first training schedule.
Optionally, the first schedule is a shift-on card-punching schedule of a user of the first device, and the starting time of the first schedule is a shift-on card-punching time of the shift-on card-punching schedule.
In some possible implementations, before triggering the first device to send the first check-in request to the second device at the start time of the first schedule, the method includes:
the first device sending a request for synchronization scheduling data to the second device;
the first device receives a second response message of the request for the synchronized schedule data from the second device, the second response message including schedule data of a user of the first device, the schedule data including each schedule including the first schedule, a start time of each schedule including a start time of the first schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the start time of each schedule including the start time of the first schedule, each device to which each schedule corresponds including the second device to which the first schedule corresponds;
Wherein triggering the first device to send a first check-in request to the second device at the start time of the first schedule includes:
triggering the first device to send the first check-in request to the second device through the frequency point information of the 2.4G wireless module of the second device at the starting moment of the first scheduling.
In the technical scheme, the first equipment and the second equipment are communicated by adopting the 2.4G wireless module, so that automatic communication between the first equipment and the second equipment can be realized, and manual operation of a user is avoided.
Optionally, after the first device receives the instruction of the synchronization scheduling data input by the user, the first device sends a request of the synchronization scheduling data to the second device.
Optionally, the first device displays a result of the request for the synchronization schedule data, for example, the synchronization schedule data succeeds or the synchronization schedule data fails.
In some possible implementations, before the first device sends a request for synchronization scheduling data to the second device, the method includes:
the first device sends a request for synchronizing time to the second device;
the first device receiving a third response message from the second device requesting the synchronization time, the third response message including clock information;
The first device updates the time of the first device according to the clock information included in the third response message.
Optionally, the request for the synchronization time includes a transmission time of the request for the first device to transmit the synchronization time, and the second device determines the clock information according to a comparison of a reception time of the request for the reception synchronization time and a transmission time of the request for the first device to transmit the synchronization time included in the request for the synchronization time.
Optionally, the clock information includes a receiving time when the second device receives the request for the synchronization time, the first device determines a clock difference value according to a comparison between a sending time when the first device sends the request for the synchronization time and a receiving time when the second device receives the request for the synchronization time, which is included in the clock information, and the first device updates the time of the first device according to the clock difference value.
Optionally, the clock information includes a sending time of the second device sending the third response message to the first device, the first device determines a clock difference value according to a receiving time of the third response message received and the sending time of the third response message included in the clock information, and the first device updates the time of the first device according to the clock difference value.
Optionally, the clock information includes a time next to a reception time at which the second device receives the request for the synchronization time.
In a second aspect, embodiments of the present application provide a method for sign-in, the method comprising:
the second device receives a first check-in request sent by the first device at the starting moment of the first scheduling, wherein the first check-in request comprises user information of a user of the first device and the time for sending the first check-in request;
the second device sends a first response message of the first check-in request to the first device, wherein the first response message is used for indicating that the check-in of the user of the first device is successful, and the check-in time of the user of the first device is the time for sending the first check-in request;
the distance between the first device and the second device is smaller than a preset distance.
Optionally, after receiving the first check-in request sent by the first device, the second device uploads user information of the user of the first device and a time of sending the first check-in request to the network server.
In some possible implementations, before the second device receives the first check-in request sent by the first device at the start time of the first schedule, the method includes:
the second device receives a request of synchronous scheduling data sent by the first device;
The second device sends a second response message of the request of the synchronous schedule data to the first device, the second response message including schedule data of a user of the first device, the schedule data including each schedule including the first schedule, a start time of each schedule including the start time of the first schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the start time of each schedule including the start time of the first schedule, each device to which each schedule corresponds including the second device to which the first schedule corresponds;
the second device receives a first sign-in request sent by the first device at the starting moment of the first scheduling, and the first sign-in request comprises:
and the second device receives the first check-in request sent by the first device through the frequency point information of the 2.4G wireless module of the second device at the starting moment of the first scheduling.
Optionally, before the second device receives the request for synchronizing the scheduling data sent by the first device, the second device obtains the scheduling data of each user from the network server, where each user includes a user of the first device. For example, the second device acquires the schedule data of each user from the web server 7 points a day before.
In some possible implementations, before the second device receives the request for synchronization scheduling data sent by the first device, the method includes:
the second equipment receives a request of synchronous time sent by the first equipment;
the second device sends a third response message of the request of the synchronous time to the first device, wherein the third response message comprises clock information, and the clock information included in the third response message is used for updating the time of the first device.
Optionally, before the second device receives the request sent by the first device to synchronize the time, the second device calibrates the time of the second device, for example, the second device calibrates the time of the second device 7 points a day before.
In some possible implementations, the second device displays failure information when network transmission of the second device fails.
In the above technical solution, when the network transmission of the second device fails, the second device may display failure information, so as to prompt the user to take corresponding countermeasures according to the failure information.
Optionally, the second device uploads the obtained check-in data of the first device to the network server, the network server counts the check-in data, and the second device adopts a mechanism of repeated uploading, so that the condition that the check-in data is failed due to unsuccessful uploading once is avoided.
In a third aspect, an embodiment of the present application provides a method for sign-off, where the method includes:
triggering a first device to send a first signing-in request to a second device at the end time of a first scheduling, wherein the first signing-in request comprises user information of a user of the first device and the time for sending the first signing-in request;
the first device receives a fourth response message of the first signing-in request from the second device, wherein the fourth response message is used for indicating that the signing-in of the user of the first device is successful, and the signing-in time of the user of the first device is the time when the first device sends the first signing-in request;
the distance between the first device and the second device is smaller than a preset distance.
In some possible implementations, if the first device does not receive the fourth response message of the first fallback request from the second device, after a preset duration, the first device sends a second fallback request to the second device, where the second fallback request includes user information of a user of the first device and a time of sending the second fallback request.
Alternatively, the first device may send a plurality of sign-on requests to the second device, e.g., the first device may send 5 sign-on requests to the second device in aggregate, which may help the user of the first device sign-on successfully.
In some possible implementations, the first schedule is a first lesson schedule of a student user of the first device, and an end time of the first schedule is an end lesson time of the first lesson schedule.
Optionally, the first schedule is a first training schedule of the user of the first device, and the end time of the first schedule is an end time of the first training schedule.
Optionally, the first schedule is a off-shift card-punching schedule of a user of the first device, and the end time of the first schedule is the off-shift card-punching time of the off-shift card-punching schedule.
In some possible implementations, before triggering the first device to send the first fallback request to the second device at the end time of the first schedule, the method includes:
the first device sending a request for synchronization scheduling data to the second device;
the first device receives a fifth response message of the request for the synchronized schedule data from the second device, the fifth response message including schedule data of a user of the first device, the schedule data including each schedule including the first schedule, an end time of each schedule including an end time of the first schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the end time of each schedule including the end time of the first schedule, each device to which each schedule corresponds including the second device to which the first schedule corresponds;
Triggering the first device to send a first sign-in request to the second device at the end time of the first scheduling, including:
triggering the first device to send the first signing-in request to the second device through the frequency point information of the 2.4G wireless module of the second device at the ending moment of the first scheduling.
In a fourth aspect, embodiments of the present application provide a method for sign-off, where the method includes:
the second device receives a first signing-in request sent by the first device at the ending moment of the first scheduling, wherein the first signing-in request comprises user information of a user of the first device and the time for sending the first signing-in request;
the second device sends a fourth response message of the first signing-in request to the first device, wherein the fourth response message is used for indicating that the signing-in of the user of the first device is successful, and the signing-in time of the user of the first device is the time for sending the first signing-in request;
the distance between the first device and the second device is smaller than a preset distance.
In some possible implementations, before the second device receives the first sign-on request sent by the first device at the end time of the first schedule, the method includes:
The second device receives a request of synchronous scheduling data sent by the first device;
the second device sends a fifth response message of the request of the synchronous schedule data to the first device, the fifth response message including schedule data of a user of the first device, the schedule data including each schedule, an end time of each schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the each schedule including the first schedule, the end time of each schedule including an end time of the first schedule, each device to which each schedule corresponds including the second device to which the first schedule corresponds;
the second device receives a first sign-in request sent by the first device at the end time of the first scheduling, and the first sign-in request comprises:
and the second device receives the first signing-in request sent by the first device through the frequency point information of the 2.4G wireless module of the second device at the ending moment of the first scheduling.
In a fifth aspect, the present application provides an apparatus, which is included in a device, having functionality to implement the above aspects and possible implementations of the above aspects. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. For example, an acquisition module or unit, a processing module or unit, etc.
In a sixth aspect, embodiments of the present application provide a computer device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method for check-in of any of the above first aspects when the computer program is executed.
In a seventh aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for sign-in of any one of the first aspects above.
In an eighth aspect, embodiments of the present application provide a computer program product, which when run on a computer device, causes the computer device to perform the method for check-in of any one of the first aspects above.
It will be appreciated that the advantages of the second to eighth aspects may be found in the relevant description of the first aspect, and are not repeated here.
Drawings
Fig. 1 is a schematic diagram of a method for sign-in according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 3 is a flow chart of a method for check-in provided by an embodiment of the present application;
FIG. 4 is a schematic view of an apparatus according to an embodiment of the present application;
FIG. 5 is a schematic view of another apparatus provided in an embodiment of the present application;
FIG. 6 is a schematic illustration of yet another apparatus provided by an embodiment of the present application;
fig. 7 is a schematic view of yet another apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Before explaining the embodiments of the present application in detail, application scenarios of the embodiments of the present application are described.
In daily attendance management work, the traditional sign-in mode mainly carries out roll call sign-in by means of a roster, or a user signs by handwriting to finish sign-in, for example, in the attendance management of a school, a teacher carries out roll call according to the roster, students respond, and the mode not only consumes the energy of the user, but also wastes time and is low in efficiency. Along with the development of science and technology, accomplish the attendance with the help of electronic equipment and get in and be used widely, for example, more and more companies or units adopt modes such as fingerprint identification check-in and punch card, facial identification check-in and punch card and nail software punch card, but when the user is in a driving time or busy with other things, the condition of forgetting to punch card probably appears to cause the user to check in and fail, and adopt fingerprint identification's mode to accomplish the attendance and punch card still need the user to come into contact with fingerprint identification check-in device and accomplish the check-in, inconvenience has been brought for the user, leads to user experience poor.
Therefore, the embodiment of the application provides a method and equipment for signing in, which are beneficial to users to finish signing in and improve user experience.
The following describes a method for check-in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a method for sign-in provided in an embodiment of the present application is shown. The method comprises the following steps:
s110, triggering the first device to send a first check-in request to the second device at the starting moment of the first scheduling, wherein the first check-in request comprises user information of a user of the first device and the time for sending the first check-in request.
Optionally, the first device is an intelligent school tablet of a student user, and the second device is an attendance checking device arranged in a classroom.
Optionally, when the user of the first device is a student, the user information of the user of the first device includes a student number, or when the user of the first device is a employee, the user information of the user of the first device includes an employee number.
Optionally, the first schedule is a first lesson schedule of the student user of the first device, and the starting time of the first schedule is a starting lesson time of the first lesson schedule; or, the first schedule is a on-duty card punching schedule of the user of the first device, and the starting time of the first schedule is the on-duty card punching time of the on-duty card punching schedule; alternatively, the first schedule is a first training schedule for the user of the first device, and the starting time of the first schedule is a starting time of the first training schedule.
Optionally, before sending the first check-in request to the second device, the first device sends a request for synchronizing scheduling data to the second device, and the second device sends a second response message for requesting synchronizing scheduling data to the first device, where the second response message includes scheduling data of a user of the first device, and the scheduling data includes each of the schedules, a starting time of each of the schedules, and frequency point information of a 2.4G wireless module of each of the devices corresponding to each of the schedules. For example, the smart card sends a request for synchronizing curriculum schedule data to the attendance device, the attendance device sends the curriculum schedule data to the smart card, the curriculum schedule data is curriculum schedule data of a student corresponding to the smart card, and the curriculum schedule data comprises curriculum of the student today and a week in the future, the time of taking lessons of each lesson, and the communication frequency point of the 2.4G wireless module of the attendance device corresponding to the classroom where each lesson is located. The school timetable data are one week of school timetable data, so that the situation that a student user fails to check in when in class on the next monday due to the fact that intelligent school cards cannot synchronize the school timetable data is avoided.
Optionally, the communication frequency point of the 2.4G wireless module of the attendance device corresponding to the classroom where each class is located is different, so that the situation that student users walk wrong classrooms to sign in by mistake is avoided. On the other hand, the communication distance between the attendance checking device and the intelligent school tablet is limited, and the situation that the attendance of student users fails due to the fact that the distance between adjacent classrooms is relatively close is avoided.
Alternatively, the first device may display that the first device has succeeded in synchronizing the scheduling data or that the synchronization scheduling data has failed for prompting the user of the first device. In the case that the first device fails to display the synchronization scheduling data, the user of the first device can further enable the first device to continuously send a request for the synchronization scheduling data to the second device through input instructions, so that the first device is facilitated to succeed in synchronizing the scheduling data.
Alternatively, the first device may synchronize the scheduling data in other ways, and the first device sends a request for the synchronization scheduling data to the third device, thereby implementing the synchronization scheduling data. For example, the intelligent school tablet divide into the mainboard of intelligent school tablet and the subplate of intelligent school tablet, and the mainboard operation of intelligent school tablet is tall and erect system, and the subplate of intelligent school tablet is used for realizing the student and signs in, and the subplate of intelligent school tablet sends the request of synchronous curriculum schedule data to the mainboard of intelligent school tablet through the serial ports, acquires curriculum schedule data from the mainboard of intelligent school tablet.
Optionally, the second device obtains the synchronization schedule data from the network server before the second device sends a second response message to the request for the synchronization schedule data to the first device. For example, the attendance device obtains curriculum schedule data from the network server at 7:00 am every day, so that the attendance device can update the curriculum schedule data in time under the condition of course adjustment or classroom change.
Optionally, before sending the request of the synchronization schedule data to the second device, the first device sends a request of the synchronization time to the second device, the second device sends a third response message of the request of the synchronization time to the first device, the third response message includes clock information, and the first device updates the time of the first device according to the clock information.
Illustratively, the time at which the first device updates the first device based on the clock information is discussed in several cases:
in a first case, the request of the synchronization time sent by the first device to the second device includes a sending time of the first device sending the synchronization request, the second device determines a time difference between the first device and the second device according to a receiving time of the request of the synchronization time and a sending time of the synchronization time request included in the request of the synchronization time sent by the first device, the second device determines clock information according to the time difference and sends the clock information to the first device, and the first device updates a time of the first device according to the clock information. For example, the sending time of the intelligent card sending synchronization time request included in the intelligent card sending synchronization time request is 8:19, the receiving time of the attendance device receiving the synchronization time request is 8:21, the attendance device determines that the time difference between the intelligent card and the attendance device is 2min, and then the attendance device sends clock information to the intelligent card to instruct the intelligent card to increase the time of the intelligent card by 2min.
In the second case, the clock information sent by the second device to the first device includes a receiving time when the second device receives the request for the synchronization time, the first device determines a time difference according to the sending time when the request for the synchronization time is sent and the receiving time when the second device included in the clock information receives the request for the synchronization time, and the first device updates the time of the first device according to the determined time difference. For example, the attendance device sends a third response message of the request of the synchronous time to the intelligent card, the third response message comprises clock information, the clock information comprises a receiving time 8:21 of the request of the synchronous time received by the attendance device, and the intelligent card determines that the intelligent card needs to increase the time by 2min according to the sending time 8:19 and the receiving time 8:21 of the request of the synchronous time.
In a third case, the clock information sent by the second device to the first device includes a sending time when the second device sends a third response message to the first device, the first device determines a clock difference value according to a receiving time when the third response message is received and the sending time when the third response message is included in the clock information, and the first device updates the time of the first device according to the clock difference value. For example, the sending time of the third response message sent by the attendance checking device to the intelligent card is 8:19, the receiving time of the third response message received by the intelligent card is 8:21, and the intelligent card determines that the intelligent card needs to reduce the time by 2min.
In the fourth case, the clock information sent by the second device to the first device is the current time of the second device, and after the first device receives the third response message sent by the second device, the first device sets the time of the first device as the current time of the second device, so that the time between the first device and the second device is approximately synchronous. For example, the current time of the attendance device is 8:19, and the intelligent card sets the time of the intelligent card to 8:19 after the intelligent card receives the clock information sent by the attendance device.
And fifthly, the clock information sent by the second device to the first device is the current time of the second device, the first device compares the received clock information of the second device with the first set clock information, if the comparison result is greater than a preset error range, for example, the preset error range is set to be 2s, the first device sets the time of the first device as the current time of the second device, and if the comparison result is less than the preset error range, the first device does not need to update the time of the first device.
Optionally, the clock information sent by the second device to the first device is the next second or the next two seconds of the current time of the second device, which is helpful to improve accuracy of time synchronization between the first device and the second device.
Optionally, before the second device sends the third response message of the synchronous time request to the first device, the second device updates the time of the second device through the network. For example, the attendance device calibrates the time of the attendance device through networking.
S120, the first device receives a first response message of a first check-in request from the second device, wherein the first response message is used for indicating that the user of the first device checks in successfully, and the check-in time of the user of the first device is the time when the first device sends the first check-in request; the distance between the first device and the second device is smaller than a preset distance.
Specifically, after receiving the first check-in request sent by the first device, the second device sends a first response message of the first message to the first device, where the first response message is used to indicate that the user of the first device checks in successfully, and if the first device does not receive the first response message, it indicates that the second device does not receive the first check-in request sent by the first device, and at this time, the first device may also display a check-in failure.
Optionally, if the first device does not receive the first response message of the first check-in request sent by the second device, the first device may send the second check-in request to the second device again after the preset duration, and if the first device does not receive the response message of the second check-in request sent by the second device, the first device may further send the third check-in request to the second device after the preset duration. In this way, if the first device sends the first check-in request to the second device once, the first device may send the second check-in request to the second device again after the preset time period, and through multiple sending, the user of the first device is helped to check-in successfully, for example, the first device may send the second check-in request for 5 times in an accumulated manner. The preset duration can be set shorter, so that the first device can complete check-in a short time. For example, the class time of a first section of course of a student user is 8:30 a.m., the intelligent card is triggered at 8:30 to send a first check-in request to the attendance checking device, and if the intelligent card shows a check-in failure, the intelligent card sends a second check-in request to the attendance checking device at an interval of 1s, so that the student user of the intelligent card can check in within 1min of 8:30.
Optionally, after receiving the first check-in request sent by the first device, the second device uploads user information of the user of the first device and time when the first device sends the first check-in request to the network server, and the check-in data of each user is counted through the network server. For example, after the attendance checking device acquires the check-in data of the intelligent school cards, the attendance checking device uploads the check-in data of the intelligent school cards to the network server, and the check-in data of each student user is counted through the network server.
Optionally, if the attendance device fails to upload the check-in data of the student user of the smart card to the network server once, the attendance device can upload the check-in data of the student user to the network server again, and the attendance device adopts a repeated sending mechanism, so that the timely uploading of the data is guaranteed.
Optionally, when the attendance device uploads the check-in data, if the network transmission fails, the attendance device can display failure information for reminding a user, so that the user can take corresponding countermeasures according to the failure information conveniently.
For example, as shown in fig. 2, the first device is a smart card for students, the second device is an attendance device, the attendance device is installed in a classroom, the smart card is carried by the students, the number of the students is stored in the smart card, and when the students go to the classroom and reach the class time, the smart card and the attendance device automatically communicate, so that the students can check in.
As an example, a flow chart for check-in is shown as shown in fig. 3. The attendance device can calibrate the time of the attendance device before the first lesson time every day, and acquire the curriculum schedule data from the network server before the first lesson is given, for example, the attendance device acquires the curriculum schedule data from the network server 7:00 every day, wherein the curriculum schedule data comprise the curriculum schedule data of the future week including the day, the time of giving lessons of each lesson, the communication frequency point information of the 2.4G wireless module of the attendance device corresponding to the classroom where each lesson is located and the number of the intelligent school cards corresponding to each student. The attendance checking device enters a standby state after the calibration time and the curriculum schedule data are acquired, monitors and receives the data request sent by the intelligent school cards of the students and responds correspondingly. For example, triggering the intelligent card to send a check-in request to the attendance checking device at the class time of the first section of course of the student, and after receiving the check-in request, the attendance checking device responds to the intelligent card and uploads check-in data of the intelligent card to the network server, wherein the intelligent card can display the sign of success or failure of check-in; the intelligent card can also send a request for synchronizing the curriculum schedule data to the attendance device, the intelligent card and the attendance device can synchronize the curriculum schedule data every day, so that the curriculum schedule data can be timely updated when the curriculum changes, and the attendance device sends the curriculum schedule data corresponding to the card number of the intelligent card to the intelligent card; in addition, the intelligent card can also send a request of synchronous time to the attendance device, the attendance device sends current time data of the attendance device to the intelligent card after receiving the request of synchronous time, the intelligent card sets the time of the intelligent card to be synchronous with the time of the attendance device, and the attendance device can be considered to send the current time of the attendance device or the next second of the current time to the intelligent card to realize the time synchronization of the intelligent card and the attendance device due to short communication time between the attendance device and the intelligent card.
The present embodiment provides an apparatus 400, the apparatus 400 comprising a transmitting module 410 and a receiving module 420. The transmitting module 410 may transmit a message to the outside and the receiving module 420 may receive the message from the outside. The transmitting module 410 and the receiving module 420 may also be referred to as communication interfaces or communication units.
For example, the transmitting module 410 is configured to implement operations related to transmitting a message performed by the first device in the above method, and the receiving module 420 is configured to implement operations for receiving a message performed by the first device in the above method.
For example, the transmitting module 410 is configured to implement operations related to transmitting a message performed by the second device in the above method, and the receiving module 420 is configured to implement operations for receiving a message performed by the second device in the above method.
Optionally, when the executing device is the first device, the first device may further perform functional module division according to the above method example, as shown in fig. 5, where the first device may include multiple functional modules. For example, the first device is an intelligent card, and the first device includes a single-chip microcomputer 510, a display module 520, a communication module 530, and an input module 540. Wherein, the singlechip 510 can process the data.
Optionally, the display module 520 is configured to display success or failure of check-in, and may also be configured to display information such as success or failure of data synchronization.
Optionally, the communication module 530 includes a 2.4G wireless module for communicating with a second device, such as an attendance checking apparatus.
Alternatively, the input module 540 may employ a key manner, and the user inputs an instruction to the first device by means of key input, and the first device may perform the relevant action according to the instruction input by the user.
Optionally, when the executing device is a second device, the second device may further perform functional module division according to the above method example, as shown in fig. 6, where the second device may include a plurality of functional modules. For example, the second device is an attendance checking device, and the second device includes a single-chip microcomputer 610, a display module 620, a communication module 630, and a clock module 640. Wherein the single-chip microcomputer 610 can be used for processing data.
Optionally, the display module 620 is implemented by a nixie tube display circuit, and the display module 620 may be used for displaying time and date, and may also be used for displaying fault information.
Optionally, the communication module 630 includes a 2.4G wireless module for communicating with a first device, such as a smart card. The communication module 630 further includes a network transmission module, which is configured to communicate with the network server by using the attendance checking device, obtain the curriculum schedule data through the network transmission module, and upload the attendance checking data to the network server through the network transmission module.
Alternatively, the clock module 640 is used to ensure accuracy of time, and the clock module 640 may be powered by direct current, for example, by converting 220V alternating current into 12V direct current through a 12V power adapter, or by being powered by a battery, for example, by using a 3V button cell battery.
Fig. 7 is a schematic structural diagram of a device for sign-in according to an embodiment of the present application. As shown in fig. 7, the apparatus 700 includes: processor 710, memory 720, and computer program 730 stored in memory 720 and executable on processor 710, processor 710 when executing computer program 730 implements the steps of the method for check-in the embodiments described above.
Device 700 may be a general purpose computer device or a special purpose computer device. In a specific implementation, the device 700 may be a desktop, a laptop, a web server, a palmtop, a mobile handset, a tablet, a wireless terminal device, a communication device, or an embedded device, and embodiments of the present application are not limited to the type of device 700. It will be appreciated by those skilled in the art that fig. 7 is merely an example of device 700 and is not intended to limit device 700, and may include more or fewer components than shown, or may combine certain components, or may include different components, such as may also include input-output devices, network access devices, etc.
The processor 710 may be a central processing unit (Central Processing Unit, CPU), and the processor 710 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or may be any conventional processor. Processor 710 may also be the single-chip microcomputer 510 or the single-chip microcomputer 610 described above.
Memory 720 may be an internal storage unit of device 700 in some embodiments, such as a hard disk or memory of device 700. Memory 720 may also be an external storage device of device 700 in other embodiments, such as a plug-in hard disk provided on device 700, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. Further, memory 720 may include both internal storage units and external storage devices of device 700. The memory 720 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs, such as program code for computer programs. The memory 720 may also be used to temporarily store data that has been output or is to be output.
The present embodiment also provides a computer-readable storage medium having stored therein computer instructions which, when executed on a device, enable the device to perform the above-described related method steps to implement the method for sign-in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-described relevant steps to implement the method for check-in the above-described embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the method for signing in the above method embodiments.
The apparatus, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the benefits achieved by the apparatus, the computer storage medium, the computer program product, or the chip can refer to the benefits in the corresponding methods provided above, and are not described herein.
It should be noted that, because the content of information interaction and execution process between the modules is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and details are not repeated herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (8)
1. A method for sign-in, the method comprising:
the first device sends a request for synchronizing scheduling data to the second device;
the first device receives a second response message of the request for the synchronized schedule data from the second device, the second response message including schedule data of a user of the first device, the schedule data including each schedule including a first schedule, a start time of each schedule including a start time of the first schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the each schedule including the second device to which the first schedule corresponds;
Triggering the first device to send a first check-in request to the second device through the frequency point information of the 2.4G wireless module of the second device at the starting moment of the first scheduling, wherein the first check-in request comprises user information of a user of the first device and the time for sending the first check-in request;
the first device receives a first response message of the first check-in request from the second device, wherein the first response message is used for indicating that the check-in of the user of the first device is successful, and the check-in time of the user of the first device is the time when the first device sends the first check-in request;
the distance between the first device and the second device is smaller than a preset distance.
2. The method according to claim 1, characterized in that the method comprises:
if the first device does not receive the first response message of the first check-in request from the second device, after a preset duration, the first device sends a second check-in request to the second device, wherein the second check-in request comprises user information of a user of the first device and time for sending the second check-in request.
3. The method of claim 1, wherein the first schedule is a first lesson schedule of a student user of the first device, and wherein a starting time of the first schedule is a starting lesson time of the first lesson schedule.
4. A method according to any one of claims 1 to 3, characterized in that before the first device sends a request for synchronization scheduling data to a second device, the method comprises:
the first device sends a request for synchronizing time to the second device;
the first device receiving a third response message from the second device requesting the synchronization time, the third response message including clock information;
the first device updates the time of the first device according to the clock information included in the third response message.
5. A method for sign-in, the method comprising:
the second equipment receives a request of synchronous scheduling data sent by the first equipment;
the second device sends a second response message of the request of the synchronous schedule data to the first device, the second response message including schedule data of a user of the first device, the schedule data including each schedule, a start time of each schedule, and frequency point information of a 2.4G wireless module of each device to which each schedule corresponds, the each schedule including a first schedule, the start time of each schedule including the start time of the first schedule, the each device to which each schedule corresponds including the second device to which the first schedule corresponds;
The second device receives a first check-in request sent by the first device through frequency point information of a 2.4G wireless module of the second device at the starting moment of the first scheduling, wherein the first check-in request comprises user information of a user of the first device and time for sending the first check-in request;
the second device sends a first response message of the first check-in request to the first device, wherein the first response message is used for indicating that the check-in of the user of the first device is successful, and the check-in time of the user of the first device is the time for sending the first check-in request;
the distance between the first device and the second device is smaller than a preset distance.
6. The method of claim 5, wherein prior to the second device receiving the request for synchronization scheduling data sent by the first device, the method comprises:
the second equipment receives a request of synchronous time sent by the first equipment;
the second device sends a third response message of the request of the synchronous time to the first device, wherein the third response message comprises clock information, and the clock information included in the third response message is used for updating the time of the first device.
7. An apparatus for sign-in comprising means for performing the method of any one of claims 1 to 4.
8. An apparatus for sign-in comprising means for performing the method of claim 5 or 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111221290.9A CN114071349B (en) | 2021-10-20 | 2021-10-20 | Method and device for sign-in |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111221290.9A CN114071349B (en) | 2021-10-20 | 2021-10-20 | Method and device for sign-in |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114071349A CN114071349A (en) | 2022-02-18 |
CN114071349B true CN114071349B (en) | 2024-03-19 |
Family
ID=80234980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111221290.9A Active CN114071349B (en) | 2021-10-20 | 2021-10-20 | Method and device for sign-in |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114071349B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123758A (en) * | 2013-04-28 | 2014-10-29 | 华为终端有限公司 | Sign-in method and terminals |
CN105704115A (en) * | 2015-12-23 | 2016-06-22 | 西安科技大学 | Sign-in method and server |
CN107464039A (en) * | 2017-07-07 | 2017-12-12 | 广东小天才科技有限公司 | Electronic sign-in method, device and system |
CN110874709A (en) * | 2018-08-30 | 2020-03-10 | 钉钉控股(开曼)有限公司 | Conference sign-in method, activity participation method, device and equipment |
CN111698645A (en) * | 2020-04-29 | 2020-09-22 | 中国平安财产保险股份有限公司 | Position information acquisition method and device, computer equipment and storage medium |
CN112435011A (en) * | 2020-12-02 | 2021-03-02 | 吉林建筑大学 | Student sign-in system, student sign-in method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150120362A1 (en) * | 2013-10-31 | 2015-04-30 | Core Principle, Inc. | System and method for monitoring class attendance |
US20210264374A1 (en) * | 2020-02-25 | 2021-08-26 | Tachyons Inc. | Time monitoring system |
-
2021
- 2021-10-20 CN CN202111221290.9A patent/CN114071349B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123758A (en) * | 2013-04-28 | 2014-10-29 | 华为终端有限公司 | Sign-in method and terminals |
CN105704115A (en) * | 2015-12-23 | 2016-06-22 | 西安科技大学 | Sign-in method and server |
CN107464039A (en) * | 2017-07-07 | 2017-12-12 | 广东小天才科技有限公司 | Electronic sign-in method, device and system |
CN110874709A (en) * | 2018-08-30 | 2020-03-10 | 钉钉控股(开曼)有限公司 | Conference sign-in method, activity participation method, device and equipment |
CN111698645A (en) * | 2020-04-29 | 2020-09-22 | 中国平安财产保险股份有限公司 | Position information acquisition method and device, computer equipment and storage medium |
CN112435011A (en) * | 2020-12-02 | 2021-03-02 | 吉林建筑大学 | Student sign-in system, student sign-in method and device |
Also Published As
Publication number | Publication date |
---|---|
CN114071349A (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mohamed et al. | Fingerprint attendance system for classroom needs | |
Singh et al. | Attendance management system | |
Konatham et al. | Attendance generating system using RFID and GSM | |
CN105303632A (en) | Mobile signing monitoring system and working method | |
CN103258254A (en) | Intelligent place resource managing method and device | |
CN108765613A (en) | Classroom is registered method, apparatus, first service end and storage medium | |
CN112163042A (en) | Method and device for synchronizing variable data, electronic device and storage medium | |
Ghosh et al. | Smart attendance system | |
CN107404706B (en) | Bluetooth based on co-located is registered method | |
CN105513150A (en) | Attendance registration method and device | |
CN110458734A (en) | A kind of based reminding method of curriculum information, device and computer readable storage medium | |
CN110557596B (en) | Conference system | |
CN114071349B (en) | Method and device for sign-in | |
CN109583163A (en) | A kind of Intelligent platform unlocking method and device | |
CN103941971A (en) | Screen unlocking method and system | |
CN206057896U (en) | A kind of multimedia controller | |
CN109005509B (en) | Terminal positioning method, device, terminal and storage medium | |
Choe et al. | Design Of Attendance Information System Using Rfid | |
CN211827379U (en) | Access control cluster management system suitable for school uses | |
CN113867758A (en) | Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium | |
Younis et al. | Development of an Attendance System Based on Cloud/Fog Computing with Data Recovery Capability | |
CN203849795U (en) | Conference voting system | |
CN202736323U (en) | Student learning-assisting apparatus based on wireless networking and radio frequency identification | |
Azmi et al. | UNITEN Smart Attendance System (UniSas) Using Beacons Sensor | |
CN210466482U (en) | Noninductive attendance device based on Internet of things |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park. Patentee after: New Cloud Technology Group Co.,Ltd. Country or region after: China Address before: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park. Patentee before: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd. Country or region before: China |