A mobile phone attendance system based on industrial permanent magnets

By using a working permanent magnet and Hall sensor in the classroom to detect the storage status of the mobile phone, combined with the MCU module and the host computer to monitor and upload data in real time, the problem that the existing technology cannot upload the storage status and class rate of the mobile phone of the whole class in real time is solved. Timely monitoring and evaluation of classroom teaching has been achieved.

CN110969714BActive Publication Date: 2024-12-03TIANJIN YUNWEIXIANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911125796.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-18
Publication Date
2024-12-03
Estimated Expiration
2039-11-18

AI Technical Summary

Technical Problem

The existing classroom mobile phone storage bag cannot be uploaded in real time for the storage status and class attendance rate of the whole class to the teaching management system, making it difficult to detect abnormal classroom teaching in a timely manner.

Method used

Design a mobile phone attendance system based on a work-type permanent magnet, including a monitor, cabinet, speaker, card swiping area, box, lock, Hall sensor module, MCU module, voice module and card reading module, and use Hall sensor to detect The storage status of the mobile phone and the real-time monitoring and uploading of data through the MCU module and the host computer.

Benefits of technology

Real-time monitoring and uploading of the mobile phone storage status and class rate of the whole class is realized, preventing students from pretending to swipe cards, promptly detecting classroom teaching abnormalities, and providing data to support teaching evaluation and class evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110969714B_ABST
    Figure CN110969714B_ABST
Patent Text Reader

Abstract

The present invention proposes a mobile phone storage attendance system based on I-shaped permanent magnets. The present invention includes: a cabinet, a card swiping area, a first-layer box, a second-layer box, a third-layer box, a plurality of mobile phone storage boxes, a plurality of I-shaped permanent magnets, a plurality of Hall sensor modules, a host computer, an MCU module, a voice module, a display module, and a card reading module. The present invention sets the position numbers of the storage boxes under the first-layer box, the second-layer box, and the third-layer box; records the total number of mobile phones that have been successfully stored by students who swipe their cards for attendance, and monitors online whether the mobile phones are returned to the mobile phone storage boxes in a certain period of time during class breaks. The present invention can prevent students from using mobile phone models to impersonate mobile phone swiping cards for attendance, and at the same time, timely upload the mobile phone storage situation and attendance rate of each student in the class to the teaching management system platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of teaching equipment, and in particular relates to a mobile phone storage attendance system based on an I-shaped permanent magnet. Background Art

[0002] Students skip classes due to poor self-control and often play with their mobile phones in class, resulting in poor learning results. Therefore, it is necessary to prohibit students from playing with their mobile phones in class and to record the attendance rate of all students in the class. Although there are mobile phone storage bags in the classroom, the storage status and attendance rate of each student in the class cannot be uploaded to the teaching management system platform in time. Therefore, a mobile phone storage attendance system based on industrial permanent magnets is designed. Summary of the invention

[0003] The purpose of the present invention is to solve the deficiencies in the prior art and provide a mobile phone storage attendance system based on I-shaped permanent magnets.

[0004] The technical solution of the present invention is a mobile phone storage attendance system based on industrial permanent magnets, which is characterized by comprising: a display, a cabinet, a speaker, a card swiping area, a first layer of boxes, a second layer of boxes, a lock, a third layer of boxes, an organic glass door, a plurality of mobile phone storage boxes, a plurality of industrial permanent magnets, a plurality of Hall sensor modules, a host computer, an MCU module, a voice module, a display module, and a card reading module; the number of the mobile phone storage boxes, industrial permanent magnets, and Hall sensor modules is equal;

[0005] A single organic glass door is installed in front of the cabinet, the display is installed on the left side of the front upper end, the card swiping area is provided on the right side of the front upper end, the speaker of the voice module is provided in the middle of the front upper end, and the lock is installed in the rightmost middle of the organic glass door. The first layer of boxes, the second layer of boxes, and the third layer of boxes in the cabinet are fixedly connected and installed in the cabinet in sequence. The spacing between the first layer of boxes and the second layer of boxes is equal to the spacing between the second layer of boxes and the third layer of boxes. A plurality of mobile phone storage boxes are arranged in the first layer of boxes, the second layer of boxes, and the third layer of boxes. The mobile phone storage box is open in the front, and the material of the mobile phone storage box is pearl cotton. A plurality of mobile phone storage boxes are fixed adjacent to each other horizontally without intervals, and there are corresponding digital position numbers directly below the mobile phone storage boxes. The I-shaped permanent magnet is horizontally fixedly embedded in the center of the back of the mobile phone storage box. The inner surface of the long S pole of the I-shaped permanent magnet is located in the same plane as the inner wall of the mobile phone storage box, and the inner surface of the long N pole of the I-shaped permanent magnet is located in the same plane. The inner surface of the magnetic column located on the side of the long S pole of the I-shaped permanent magnet and the long N pole of the I-shaped permanent magnet is located in the same plane as the inner wall of the back side of the mobile phone storage box, the outer surface of the magnetic column located on the side of the short S pole of the I-shaped permanent magnet and the short N pole of the I-shaped permanent magnet is located in the same plane as the outer wall of the back side of the mobile phone storage box, the distance between the outer surface and the inner surface of the magnetic column is equal to the back width of the mobile phone storage box, the long S pole of the I-shaped permanent magnet is located at the same plane as the inner wall of the back side of the I-shaped permanent magnet. The inner spacing between the long N poles is equal to the width of the inner walls on the left and right sides of the mobile phone storage box, the length of the long N pole of the I-shaped permanent magnet is equal to the length of the long S pole of the I-shaped permanent magnet, the length of the short N pole of the I-shaped permanent magnet is equal to the length of the short S pole of the I-shaped permanent magnet, the magnetic poles of the I-shaped permanent magnets in any two adjacent mobile phone storage boxes in each layer of the box are horizontally adjacent with the same polarity, and the Hall sensor module is fixedly installed between the short N pole of the I-shaped permanent magnet and the short S pole of the I-shaped permanent magnet;

[0006] The MCU module is respectively connected with the Hall sensor module, the display module, the voice module, the card reader module, and the host computer in sequence by wired means; the card reader module is fixedly installed on the front and back of the card swiping area;

[0007] Preferably, the length×width×height of the inner wall of the mobile phone storage box is equal to 180mm×15mm×100mm, and the length×width×height of the outer wall of the mobile phone storage box is equal to 185mm×30mm×120mm;

[0008] The technical solution of the method of the present invention is:

[0009] Step 1: setting the position numbers of the mobile phone storage boxes on the first row of boxes, the second row of boxes, and the third row of boxes;

[0010] Preferably, the position numbers of the mobile phone storage boxes arranged on the first layer of boxes, the second layer of boxes, and the third layer of boxes in step 1 are specifically:

[0011] The position numbers of the multiple mobile phone storage boxes in the i-th row of boxes are respectively as follows from left to right:

[0012] X i,1 ,X i,2 , ..., X i,N i∈[1,3]

[0013] Among them, X i,j is the jth mobile phone storage box in the i-th row of boxes, and N is the number of mobile phone storage boxes in each row of boxes;

[0014] Step 2: Record the total number of mobile phones that have been stored by students who have successfully swiped their cards for attendance, and monitor online during class breaks whether the mobile phones are returned to the mobile phone storage box in a timely manner within a certain period of time;

[0015] As a preferred method, the total number of mobile phones that have stored the records of students' successful card attendance in step 2 is:

[0016] Before class, the lock is used to open the organic glass door of the cabinet. After the card reader module reads the student information in the student card, the student information is sent to the MCU module and saved. Then the student puts his mobile phone into the position numbered X. i,j The mobile phone storage box, the X i,j The Hall sensor module outputs a rising edge signal to the MCU module, and the student information is uploaded to the host computer. The MCU module controls the voice module to emit a successful card swiping prompt tone, indicating that the student has successfully swiped the card for attendance, and outputs the total number of mobile phone storage to the display module for display, and the total number of mobile phone storage is M;

[0017] Every time a mobile phone is stored, M increases by 1;

[0018] Every time a mobile phone is taken out, M decreases by 1;

[0019] If the student only stores the mobile phone but does not swipe the student card, or only swipes the student card but does not store the mobile phone, the MCU module will not upload the student information to the host computer;

[0020] In step 2, online monitoring of whether the mobile phone is returned to the mobile phone storage box in time within a certain period of time during the class break is as follows:

[0021] Students place their mobile phones in the location numbered X.i,j After the mobile phone is stored in the box, if later, during the class break, the student moves the mobile phone from the location number X to i,j The mobile phone is taken out from the storage box, a falling edge signal is generated, and the MCU module sets the timing time;

[0022] If the student has not put the mobile phone back into the mobile phone storage box within the time limit, the MCU module controls the voice module to continuously send out an alarm prompt tone, forcing the student to store the mobile phone in the mobile phone storage box again.

[0023] Compared with the prior art, the present invention has the following advantages and effects: it can prevent students from using mobile phone models to impersonate mobile phones to swipe cards for attendance, and at the same time, the mobile phone storage status and attendance rate of each student in the class in each class are uploaded to the teaching management system platform in a timely manner, so as to timely discover abnormal situations in classroom teaching and provide data for various subsequent classroom teaching evaluations and class evaluations. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 : It is a schematic diagram of the cabinet structure of the present invention.

[0025] Figure 2 : Schematic diagram of the horizontal anatomical structure of the row box.

[0026] Figure 3 : Schematic diagram of the horizontal anatomical structure of the mobile phone storage box with position number 01.

[0027] Figure 4 : Schematic diagram of the I-type permanent magnet structure.

[0028] Figure 5 : This is a schematic diagram of the back structure of the mobile phone storage box with position number 01.

[0029] Figure 6 : It is the circuit structure connection diagram of the system.

[0030] Figure 7 :Connection diagram of STM32F103V8T6 and Hall sensor module.

[0031] Figure 8 : This is the specific connection diagram of the Hall sensor module with position number 01.

[0032] Fig. 9 :This is the specific connection diagram of STM32F103V8T6 and RC522 circuit.

[0033] Fig.10 :This is the specific connection diagram of STM32F103V8T6 and LCD12864 circuit.

[0034] In the figure: 1. display; 2. cabinet; 3. speaker; 4. card swiping area; 5. first row of boxes; 6. second row of boxes; 7. lock; 8. third row of boxes; 9. plexiglass door; 10. mobile phone storage box; 11. industrial permanent magnet; 12. short N pole; 13. short S pole; 14. long S pole; 15. long N pole; 16. Hall sensor module; 17. host computer; 18. MCU module; 19. voice module; 20. display module; 21. card reader module. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] like Figure 1-6As shown: a single organic glass door 9 is installed in front of the cabinet 2, a display 1 is installed on the left side of the front upper end, a card swiping area 4 is provided on the right side of the front upper end, a speaker 3 is provided in the middle of the front upper end, a lock 7 is installed in the middle of the rightmost side of the organic glass door 9, the first layer of boxes 5, the second layer of boxes 6 and the third layer of boxes 8 in the cabinet 2 are fixedly connected and installed in the cabinet 2 in sequence, the spacing between the first layer of boxes 5 and the second layer of boxes 6 and the spacing between the second layer of boxes 6 and the third layer of boxes 8 are both equal to 20mm, and the 10 mobile phone storage boxes 10 made of pearl cotton with openings in front of each layer of boxes are fixedly fixed in sequence horizontally without intervals, and each mobile phone storage box 10 has a corresponding number directly below it Position numbers, the position numbers of the 10 mobile phone storage boxes 10 in the first row of boxes 5 are 01, 02, 03, 04, 05, 06, 07, 08, 09, 10 from left to right, the position numbers of the 10 mobile phone storage boxes 10 in the second row of boxes 6 are 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 from left to right, and the position numbers of the 10 mobile phone storage boxes 10 in the third row of boxes 8 are 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 from left to right. The length × width × height of the inner wall of each mobile phone storage box 10 is equal to 180mm × 15mm × 100mm. The length×width×height of the outer wall of each mobile phone storage box 10 is equal to 185mm×30mm×120mm. An I-shaped permanent magnet 11 is horizontally fixed and embedded in the center of the back of each mobile phone storage box 10. Each I-shaped permanent magnet 11 is composed of a long N pole 15, a long S pole 14, a short N pole 12, a short S pole 13 and a magnetic column. The inner surface of the long S pole 14 of the I-shaped permanent magnet 11 is located in the same plane as the inner wall of the mobile phone storage box 10, the inner surface of the long N pole 15 is located in the same plane as the inner wall of the mobile phone storage box 10, the inner surface of the magnetic column located on one side of the long S pole 14 and the long N pole 15 is located in the same plane as the inner wall of the back of the mobile phone storage box 10, and the inner surface of the magnetic column located on one side of the short S pole 13 and the short N pole 12 is located in the same plane. The outer side of the magnetic column and the outer wall of the back of the mobile phone storage box 10 are located in the same plane, the spacing between the outer side and the inner side of the magnetic column is equal to the width of the back of the mobile phone storage box 10 8mm, the inner spacing between the long S pole 14 and the long N pole 15 is equal to the width of the inner wall of the left and right sides of the mobile phone storage box 10 15mm, the length of the long N pole 15 and the length of the long S pole 14 are both 80mm, the length of the short N pole 12 and the length of the short S pole 13 are both 20mm, the magnetic poles of the I-shaped permanent magnets 11 in any two adjacent mobile phone storage boxes 10 in each layer of the row box are horizontally adjacent with the same polarity, and the Hall sensor module 16 is fixedly installed between the short N pole 12 and the short S pole 13 of each I-shaped permanent magnet 11. The Hall sensor module 16 (such as the linear Hall integrated circuit UGN3501T) is connected to the display module 20 through the MCU module 18, the card reading module 21 is connected to the voice module 19 through the MCU module 18, and the MCU module 18 is also connected to the host computer 17.The card reader module 21 is fixedly mounted on the front and back of the card swiping area 4. The circuits of the Hall sensor module 16, the MCU module 18, the display module 20, the voice module 19 and the card reader module 21 are all conventional circuits, and the circuits formed by the connections between the circuits are also conventional circuits.

[0037] The working principle of the present invention is as follows: 10 minutes before class starts, the lock 7 is used to open the organic glass door 9 of the cabinet 2.

[0038] The student first places his / her student card in the card swiping area 4. After the card reader module 21 reads the student information in the student card, the student information is sent to the MCU module 18 and saved. Then the student puts his / her mobile phone into the mobile phone storage box 10. The Hall sensor module 16 on the mobile phone storage box 10 outputs a high level to the MCU module 18, that is, the MCU module 18 detects a rising edge. After the program in the MCU module 18 calculates, the student information is uploaded to the teaching management system platform in the host computer 17. At the same time, the MCU module 18 outputs a low level to the voice module 19. The voice module 19 emits two "di" sounds, indicating that the student swipes the card for attendance successfully. At this time, the MCU module 18 also outputs the total number of mobile phones stored to the display module 20. The display module 20 drives the display 1 to display the total number of mobile phones stored in the cabinet 2. In this process, each time a mobile phone is stored, the program in the MCU module 18 increases the total number of mobile phones stored by 1. Each time a mobile phone is taken out, the program in the MCU module 18 decreases the total number of mobile phones stored by 1.

[0039] In the above process of storing the mobile phone, if the student only stores the mobile phone without swiping the student card (i.e., the student information is not read), or only swipes the student card without storing the mobile phone (i.e., no rising edge is detected), then after the program operation in the MCU module 18, the student information will not be uploaded to the teaching management system platform in the host computer 17. At this time, the MCU module 18 does not output a low level to the voice module 19, and the voice module 19 does not emit two "di" sounds, indicating that the student's card swiping for attendance is unsuccessful.

[0040] After the student has stored the mobile phone in the mobile phone storage box 10, if the student takes the mobile phone out of the mobile phone storage box 10 afterwards, such as during the 10-minute break between the first and second classes, a falling edge is generated, and the program in the MCU module 18 will perform a software timing of 8 minutes. If the student has not put the mobile phone back into the mobile phone storage box 10 after the 8-minute timing, the MCU module 18 outputs a low level to the voice module 19, and the voice module 19 continuously emits three "beep, beep, beep" sounds, forcing the student to store the mobile phone in the mobile phone storage box 10 again.

[0041] After class, when all students have taken out their mobile phones, the organic glass door 9 of the cabinet 2 is closed by the lock 7. Wait for the attendance of the next class students.

[0042] Use NFC mobile phone to read student information (such as name, student number, etc.) in student card, and NFC mobile phone is set to card simulation mode. At this time, NFC mobile phone can replace student card to swipe card in card swiping area 4 for attendance.

[0043] The following will refer to the attached Figure 1-10 The exemplary embodiments of the present disclosure are described in more detail. These embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] Figure 7-10 The chip of MCU module 18 in the circuit adopts STM32F103V8T6 chip, the chip of display module 19 adopts LCD12864 chip, the chip of card reader module 21 adopts RC522 chip, the voice module 19 is composed of transistor T1, resistor R5 and speaker BY, the integrated circuit IC1 in Hall sensor module 16 adopts linear Hall integrated circuit UGN3501T, resistor R1 is 10K, resistor R2 is 5K, adjustable resistor RP1 and adjustable resistor RP2 are both 100K, resistor R3 is 5K, resistor R4 is 5K, integrated circuit IC2 and integrated circuit IC3 adopt LM339 comparator, integrated circuit IC2 The non-inverting end uses the 7th pin of LM339, the inverting end of IC2 uses the 6th pin of LM339, the output end of IC2 is the 1st pin of LM339, the non-inverting end of IC3 uses the 5th pin of LM339, the inverting end of IC3 uses the 4th pin of LM339, the output end of IC3 is the 2nd pin of LM339, IC4 uses the CD4066 switch circuit, the input end of IC4 uses the 1st pin of CD4066, the output end of IC4 uses the 2nd pin of CD4066, the control end of IC4 uses the 13th pin of CD4066, and the input end 1 of CD4066 is grounded. Transistor T1 is 9012, R5 is 1KΩ, and the adjustable potentiometer RP3 is 100KΩ.

[0045] Figure 7The specific circuit connections of the output ends of the Hall sensor modules 16 on the mobile phone storage boxes 10 with position numbers 01, 02, 03, 04, 05, 06, 07, 08, 09 and 10 in the first row of boxes 5 and the PB0, PB1, PC2, PC3, PC4, PC5, PC6, PC8, PC9 and PC10 ends of the STM32F103V8T6 in the MCU module 18 are respectively given, and the specific circuit connections of the output ends of the Hall sensor modules 16 on the mobile phone storage boxes 10 with position numbers 11, 12, 13, 14, 15, 16, 17, 18, 19 and 20 in the second row of boxes 6 and the MCU module 18 are respectively given. The specific circuit connections of the PC11, PC12, PD2, PD3, PD4, PD5, PD6, PD7, PD8 and PD9 terminals of the STM32F103V8T6 in the module 18 are given, and the specific circuit connections of the output terminals of the Hall sensor modules 16 on the mobile phone storage boxes 10 with position numbers 21, 22, 23, 24, 25, 26, 27, 28, 29 and 30 in the third row of boxes 8 and the PD10, PD11, PD12, PD13, PD14, PD15, PE2, PE3, PE4 and PE5 terminals of the STM32F103V8T6 in the MCU module 18 are given respectively. When the mobile phone is stored in the mobile phone storage box 10, the output end of the Hall sensor module 16 will output a high level (i.e., a rising edge is detected) to the STM32F103V8T6; when the mobile phone is taken out of the mobile phone storage box 10, the output end of the Hall sensor module 16 will output a low level (i.e., a falling edge is detected) to the STM32F103V8T6, thereby using the Hall sensor module 16 to detect whether a mobile phone is stored in the mobile phone storage box 10.

[0046] Figure 8 The specific circuit of the No. 01 Hall sensor module 16 is given. Its working principle is as follows.

[0047] When there is no mobile phone stored in the mobile phone storage box 10, the magnetic field strength between the short N pole 12 and the short S pole 13 of the I-shaped permanent magnet 11 is a constant value; when the mobile phone is stored in the mobile phone storage box 10, the magnetic resistance between the long N pole 15 and the long S pole 14 of the I-shaped permanent magnet 11 is reduced (there is magnetic conductive material in the mobile phone), resulting in a reduction in the magnetic field strength between the short N pole 12 and the short S pole 13 of the I-shaped permanent magnet 11; when a mobile phone model is stored in the mobile phone storage box 10, the magnetic resistance between the long N pole 15 and the long S pole 14 of the I-shaped permanent magnet 11 is further reduced (there is an iron block in the mobile phone model), resulting in a further reduction in the magnetic field strength between the short N pole 12 and the short S pole 13 of the I-shaped permanent magnet 11.

[0048] Adjust RP1 and set the upper threshold V reasonably ref1When there is no mobile phone stored in the mobile phone storage box 10, the magnetic field strength applied by the I-shaped permanent magnet 11 on the Hall sensor module 16 causes the 3rd pin of the Hall integrated circuit UGN3501T of IC1 to output a voltage signal V i , and make V i >V ref1 .

[0049] Adjust RP2 and set the lower threshold V reasonably ref2 When a mobile phone is stored in the mobile phone storage box 10, the magnetic field strength applied by the I-shaped permanent magnet 11 on the Hall sensor module 16 causes the 3rd pin of the Hall integrated circuit UGN3501T of IC1 to output a voltage signal V i , and make V ref2 <V i <V ref1 .

[0050] When no mobile phone is stored in the mobile phone storage box 10, that is, V i >V ref1 When the potential of the inverting terminal pin 6 of the LM339 comparator circuit IC2 is greater than the potential of the non-inverting terminal pin 7 of IC2, the output terminal pin 1 of the LM339 comparator circuit IC2 outputs a low level; at the same time, the potential of the inverting terminal pin 4 of the LM339 comparator circuit IC3 is greater than the potential of the non-inverting terminal pin 5 of IC3, the output terminal pin 2 of the LM339 comparator circuit IC3 also outputs a low level, and the control terminal pin 13 of the CD4066 switch circuit IC4 is a low level, and the pins 1 and 2 of the CD4066 switch circuit IC4 are not closed and turned on. At this time, the output signal is the low level of the output terminal pin 1 of the LM339 comparator circuit IC2, that is, the PB0 terminal of the STM32F103V8T6D is a low level, and no rising edge is detected at this time.

[0051] When the mobile phone model is stored in the mobile phone storage box 10, that is, V i <V ref2When the potential of the inverting terminal 6 pin of the LM339 comparator circuit IC2 is less than the potential of the inverting terminal 7 pin of IC2, the output terminal 1 pin of the LM339 comparator circuit IC2 outputs a high level; at the same time, the potential of the inverting terminal 4 pin of the LM339 comparator circuit IC3 is less than the potential of the inverting terminal 5 pin of IC3, the output terminal 2 pin of the LM339 comparator circuit IC3 outputs a high level, and the control terminal 13 of the CD4066 switch circuit IC4 is high, causing the CD4066 switch circuit IC4 to be turned on and closed, that is, the 1 terminal of the CD4066 switch circuit IC4 is turned on with the 2 terminal of the CD4066 switch circuit IC4. Although the output terminal 1 pin of the LM339 comparator circuit IC2 outputs a high level, because the output terminal of the LM339 comparator circuit IC2 is an OC gate, and the input terminal 1 of the CD4066 switch circuit IC4 is connected to a low level, the PB0 terminal of the STM32F103V8T6D is a low level, and no rising edge is detected at this time.

[0052] When the mobile phone is stored in the mobile phone storage box 10, even if the voltage signal V i In V ref2 <V i <V ref1 The potential of the inverting terminal pin 6 of the LM339 comparator circuit IC2 is less than the potential of the non-inverting terminal pin 7 of IC2, and the output terminal pin 1 of the LM339 comparator circuit IC2 outputs a high level; at the same time, the potential of the inverting terminal pin 4 of the LM339 comparator circuit IC3 is greater than the potential of the non-inverting terminal pin 5 of IC3, and the output terminal pin 2 of the LM339 comparator circuit IC3 outputs a low level. The control terminal 13 of the CD4066 switch circuit IC4 is low, resulting in the CD4066 switch circuit IC4 not being closed and turned on, and the 1 terminal of the CD4066 switch circuit IC4 is not connected to the 2 terminal of the CD4066 switch circuit IC4. At this time, the output signal is the high level of the output terminal pin 1 of the LM339 comparator circuit IC2, that is, the PB0 terminal of the STM32F103V8T6D is high, and a rising edge is detected at this time.

[0053] When the mobile phone is taken out from the No. 01 mobile phone storage box 10, V i >V ref1 At this time, the output signal is the low level of the output terminal 1 pin of the LM339 comparator circuit IC2, that is, the PB0 terminal of the STM32F103V8T6D changes from a high level to a low level, and a falling edge is detected at this time.

[0054] The circuit structure and working principle of the Hall sensor modules 16 on the remaining mobile phone storage boxes 10 with position numbers 02, 03, 04, 05, 06, 07, 08, 09 and 10 in the first row of boxes 5 are the same. The circuit structure and working principle of the Hall sensor modules 16 on the second row of boxes 6 and the third row of boxes 8 are the same as the circuit structure and working principle of the Hall sensor modules 16 on the first row of boxes 5.

[0055] Fig. 9 The PB12, PB13, PB14, PB15, and PC7 terminals of the STM32F103V8T6 are connected to the SDE, D5, D7, D6, and / RST terminals of the RC522 respectively. The communication between the RC522 and the STM32F103V8T6 in the card reader module 21 adopts the SPI mode. The EA terminal of the RC522 is connected to a high level by hardware. The I 2 The C-end hardware is connected to a low level, and the card reader module 21 adopts a commercially available card reader module 21 module. The PE1 end of STM32F103V8T6 is connected to the voice module 19. After the student swipes the card, RC522 reads the student information (such as student name, student number and class information) in the student card and sends it to STM32F103V8T6 for storage. Whether it is to store the mobile phone first and then swipe the card, or to swipe the card first and then store the mobile phone, as long as the card is swiped and the mobile phone is stored during the 2-minute software timer timing process, after the program operation, the PE1 end of STM32F103V8T6 outputs a low level, the transistor T1 is turned on, and the speaker emits a "drop" sound, indicating that the card swiping attendance is successful. As long as the card swiping and the mobile phone are not completed during the 2-minute software timer timing process, after the program operation, the PE1 end of STM32F103V8T6 outputs a high level, the transistor T1 is not turned on, and the speaker does not emit a "drop" sound, indicating that the card swiping attendance is unsuccessful.

[0056] Fig.10The specific circuit connections of the PB5, PB6, PB7, PE8, PE9, PE10, PE11, PE12, PE13, PE14 and PE15 terminals of the STM32F103V8T6 in the MCU module 18 and the 4th, 5th, 6th, 7th, 8th, 9th, 10th, 11th, 12th, 13th and 14th pins of the LCD12864 are given. The screen brightness is changed by adjusting the potential of the 3rd pin of the LCD12864 through the potentiometer RP3. The 15th pin of the LCD12864 is directly connected to +VCC by hardware, and the parallel mode is selected. After the STM32F103V8T6 receives the total number of mobile phones stored in the three-layer box, it is sent to the LCD12864 for display through the PE8, PE9, PE10, PE11, PE12, PE13, PE14 and PE15 terminals of the STM32F103V8T6. Whenever a mobile phone is stored in the mobile phone storage box 10, the STM32F103V8T6 will detect a rising edge, and after the program calculation, the total number of mobile phones stored will increase by one "1"; whenever a mobile phone is taken out of the mobile phone storage box 10, the STM32F103V8T6 will detect a falling edge, and after the program calculation, the total number of mobile phones stored will decrease by one "1". After the software program confirms that the student's card swiping attendance is successful, the STM32F103V8T6 will package the mobile phone storage status and card swiping attendance information data of each student in the class in each class, and upload them to the teaching management system platform in the upper computer 17 through the PA9 and PA10 terminals in a timely manner.

[0057] In this way, the mobile phone storage box 10, the I-shaped permanent magnet 11, the Hall sensor module 16 and the card reading module 21 are used to monitor the storage and card swiping conditions of the mobile phones of each student in the class.

[0058] It should be understood that parts not elaborated in detail in this specification belong to the prior art.

[0059] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.

Claims

1. An attendance method for storing mobile phone attendance system based on I-shaped permanent magnets, characterized in that: The I-shaped permanent magnet storage mobile phone attendance system comprises: a display, a cabinet, a speaker, a card swiping area, a first layer of boxes, a second layer of boxes, a lock, a third layer of boxes, an organic glass door, a plurality of mobile phone storage boxes, a plurality of I-shaped permanent magnets, a plurality of Hall sensor modules, a host computer, an MCU module, a voice module, a display module, and a card reading module; the number of the mobile phone storage boxes, I-shaped permanent magnets, and Hall sensor modules is equal; A single organic glass door is installed in front of the cabinet, the display is installed on the left side of the front upper end, the card swiping area is provided on the right side of the front upper end, the speaker of the voice module is provided in the middle of the front upper end, and the lock is installed in the rightmost middle of the organic glass door. The first layer of boxes, the second layer of boxes, and the third layer of boxes in the cabinet are fixedly connected and installed in the cabinet in sequence. The spacing between the first layer of boxes and the second layer of boxes is equal to the spacing between the second layer of boxes and the third layer of boxes. A plurality of mobile phone storage boxes are arranged in the first layer of boxes, the second layer of boxes, and the third layer of boxes. The mobile phone storage box is open in the front, and the material of the mobile phone storage box is pearl cotton. A plurality of mobile phone storage boxes are fixed adjacent to each other horizontally without intervals, and there are corresponding digital position numbers directly below the mobile phone storage boxes. The I-shaped permanent magnet is horizontally fixedly embedded in the center of the back of the mobile phone storage box. The inner surface of the long S pole of the I-shaped permanent magnet is located in the same plane as the inner wall of the mobile phone storage box. The long N pole of the I-shaped permanent magnet is located in the same plane as the inner wall of the mobile phone storage box. The inner surface of the magnetic column and the inner wall of the mobile phone storage box are located in the same plane, the inner surface of the magnetic column located on the side of the long S pole of the I-shaped permanent magnet and the long N pole of the I-shaped permanent magnet are located in the same plane with the back inner wall of the mobile phone storage box, the outer surface of the magnetic column located on the side of the short S pole of the I-shaped permanent magnet and the short N pole of the I-shaped permanent magnet are located in the same plane with the back outer wall of the mobile phone storage box, the distance between the outer surface and the inner surface of the magnetic column is equal to the back width of the mobile phone storage box, the long S pole of the I-shaped permanent magnet is close to the I-shaped permanent magnet The inner spacing between the long N poles of the magnet is equal to the width of the inner wall of the mobile phone storage box, the length of the long N pole of the I-shaped permanent magnet is equal to the length of the long S pole of the I-shaped permanent magnet, the length of the short N pole of the I-shaped permanent magnet is equal to the length of the short S pole of the I-shaped permanent magnet, the magnetic poles of the I-shaped permanent magnets in any two adjacent mobile phone storage boxes in each layer of the box are horizontally adjacent with the same polarity, and the Hall sensor module is fixedly installed between the short N pole of the I-shaped permanent magnet and the short S pole of the I-shaped permanent magnet; The MCU module is connected to the Hall sensor module, display module, voice module, card reader module and host computer in sequence through wired mode; the card reader module is fixedly installed on the front and back of the card swiping area The attendance method comprises the following steps: Step 1: setting the position numbers of the storage boxes on the first layer of boxes, the second layer of boxes, and the third layer of boxes; Step 2: Record the total number of mobile phones that have been stored by students who have successfully swiped their cards for attendance, and monitor online during class breaks whether the mobile phones are returned to the mobile phone storage box in a timely manner within a certain period of time; The position numbers of the storage boxes set on the first layer of boxes, the second layer of boxes, and the third layer of boxes in step 1 are specifically: The position numbers of the multiple mobile phone storage boxes in the i-th row of boxes are respectively as follows from left to right: X i,1 ,X i,2 ,...,X i,N i∈[1,3] Among them, X i,j is the jth mobile phone storage box in the i-th row of boxes, and N is the number of mobile phone storage boxes in each row of boxes; The total number of mobile phones that have successfully stored student attendance records in step 2 is: Before class, the lock is used to open the organic glass door of the cabinet. After the card reader module reads the student information in the student card, the student information is sent to the MCU module and saved. Then the student puts his mobile phone into the position numbered X. i,j The mobile phone storage box, the X i,j The Hall sensor module outputs a rising edge signal to the MCU module, and the student information is uploaded to the host computer. The MCU module controls the voice module to emit a successful card swiping prompt tone, indicating that the student has successfully swiped the card for attendance, and outputs the total number of mobile phone storage to the display module for display, and the total number of mobile phone storage is M; Every time a mobile phone is stored, M increases by 1; Every time a mobile phone is taken out, M decreases by 1; If the student only stores the mobile phone but does not swipe the student card, or only swipes the student card but does not store the mobile phone, the MCU module will not upload the student information to the host computer; In step 2, online monitoring of whether the mobile phone is returned to the mobile phone storage box in time within a certain period of time during the class break is as follows: Students place their phones in location number X. i,j After the mobile phone is stored in the box, if later, during the class break, the student moves the mobile phone from the location number X to i,j The mobile phone is taken out from the storage box, a falling edge signal is generated, and the MCU module sets the timing time; If the student has not put the mobile phone back into the mobile phone storage box within the time limit, the MCU module controls the voice module to continuously send out an alarm prompt tone, forcing the student to store the mobile phone in the mobile phone storage box again.