CN105741208A - NFC based intelligent teaching management system and method - Google Patents

NFC based intelligent teaching management system and method Download PDF

Info

Publication number
CN105741208A
CN105741208A CN201610049220.2A CN201610049220A CN105741208A CN 105741208 A CN105741208 A CN 105741208A CN 201610049220 A CN201610049220 A CN 201610049220A CN 105741208 A CN105741208 A CN 105741208A
Authority
CN
China
Prior art keywords
student
mobile terminal
nfc
module
nfc reader
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610049220.2A
Other languages
Chinese (zh)
Inventor
许培培
杨义
韩芳
户晨飞
蒋学芹
朱明达
周红伟
谢锡冬
杨彦中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Donghua University
National Dong Hwa University
Original Assignee
Donghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Donghua University filed Critical Donghua University
Priority to CN201610049220.2A priority Critical patent/CN105741208A/en
Publication of CN105741208A publication Critical patent/CN105741208A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Abstract

The present invention relates to an NFC based intelligent teaching management system. The system is characterized by comprising an attendance checking apparatus and a mobile terminal. The attendance checking apparatus at least comprises a PSoC3 system-on-chip module, a power source module, an NFC card reader module and an SD card storage module. Another aspect of the present invention provides an intelligent teaching management method based on the intelligent teaching management system. Due to adoption of the technical scheme, compared with the conventional teaching management apparatus, the intelligent teaching management system and method provided by the present invention has the following advantages and positive effects: an NFC near field communication technology is used as a core manner of data transmission, and student information in the mobile phone is read by means of the NFC card reader, so that the in-class attendance checking efficiency of teachers in teaching management is greatly improved, a large amount of manpower and material resources is conversed, and attendance checking information accuracy is ensured.

Description

A kind of teaching intelligent management system based on NFC and method
Technical field
The present invention relates to a kind of Education Administration Information System apparatus and method based on NFC, belong to intelligent movable equipment and apply in the technology of university educational management.
Background technology
Student is the main body of school, and School Discipline Construction is the most important thing that school imparts knowledge and educates people.In the teaching management of school, student attend class work attendance and submit to operation be usually a very important link.Good attendance can the living habit of training student health rule, submit to operation can strengthen the concept of time of student on time, these are all the prerequisite building the excellent style of study of colleges and universities.
In student attends class work attendance, general colleges and universities would generally adopt mode that traditional roll-call or student register to implement work attendance.But, along with the generally growth of colleges and universities' number, traditional work attendance mode cannot meet the demand of teaching management.They generally have following shortcoming: first: inefficiency, due to the manual statistics of calling the roll of needs, can waste a lot of time in classroom, even can delay normal teaching;Second: information accuracy rate is low, due to these methods it is possible that allograph or for the phenomenon such as answering so that the situation of statistics is inaccurate.In to student, teacher arranges that homework and student submit operation to, operation all can be copied to the computer in classroom by general College Teachers, then allow student copy again take back, or uploading to network and download operation for student, students' union's mode by copy operation to computer or by homework uploading to network submits operation to simultaneously.These modes are usually present following shortcoming: first: safety is low, and student uses USB flash disk copy operation, and USB flash disk carries virus sometimes, and the information of the computer injuring classroom is complete;Second: efficiency is low, a lot of students queue up copy operation, can waste the substantial amounts of time;3rd: upload to the mode of network, it is necessary to could download after connecting network or upload operation, can make troubles to student.Therefore, a kind of automated intelligent device is needed to realize check class attendance, obtain homework, submission operation in the function of one in university educational management urgently.
NFC is the abbreviation of NearFieldCommunication, i.e. near field communication technology, is a kind of short distance, high-frequency non contact angle measurement and transmission technology.The maximum efficient communication scope of NFC is 10cm, being generally operational in 1~4cm, the both sides of communication must be set up could setting up connection in close scope, it is ensured that the safety of intercommunication, simultaneously the connection speed of NFC only has 0.1s, and connection speed is apparently higher than WiFi and bluetooth.The transfer rate of NFC is relatively low, maximum only 414kbps, it is possible to be used for exchanging some important data.At present, a lot of mobile phones, all with NFC function, utilize NFC to realize mobile-phone payment, mass transit card, access card, smart poster, file transmission etc..
Summary of the invention
It is an object of the invention to realize fast automatic check class attendance, quick-downloading and submit the function of operation to, it is achieved thereby that the intelligentized teaching management of colleges and universities.
In order to achieve the above object, a technical scheme of the present invention there is provided a kind of teaching intelligent management system based on NFC, it is characterised in that includes Work attendance device and mobile terminal, wherein:
Student and teacher post respectively through the mobile terminal each carried name in an account book and password, account student's student number by name or teacher's job number, password is the identification card number of student or teacher, so that the data match of account name on mobile terminal and password and campus digitization information centre binding;
Mobile terminal at signing in, upload operation and download switching between operation, when mobile terminal is in signing in pattern, the student number information of student is sent to Work attendance device thus completing to register by the NFC function of mobile terminal, when mobile terminal is in and uploads work pattern, homework uploading in mobile terminal is will be stored in Work attendance device by the NFC function of mobile terminal, when mobile terminal is in download work pattern, by the NFC function of mobile terminal, the effect stored in Work attendance device is downloaded in mobile terminal;
Described Work attendance device at least includes PSoC3 SOC(system on a chip) module, power module, NFC reader module, SD card memory module, wherein:
PSoC3 SOC(system on a chip) module, for be responsible in SD card memory module the storage of data with the digital independent in reading, management NFC reader module and transmission, judge that selection makes Work attendance device be in signing in pattern, uploads work pattern or download work pattern;
The Attendance Sheet that SD card memory module is corresponding for storing different course, Attendance Sheet has the student number information of the student taking as an elective course this course, different courses are distinguished by different course ID, SD card memory module also stores work data that teacher arranges and the work data that student uploads, and adopts SWP agreement between SD card memory module and NFC reader module;
NFC reader module includes NFC reader, when mobile terminal near Work attendance device time, the mode of operation that Work attendance device is different, select the duty of NFC reader, when Work attendance device is operated in Checking on Work Attendance Mode, the data request information that first NFC reader module sends according to mobile terminal judges whether data request information includes teacher's job number, if including teacher's job number, then NFC reader module obtains course ID, read Attendance Sheet corresponding with this course ID in SD card memory module again, start work attendance, then the mobile terminal touching NFC reader that student is carried successively, NFC reader can receive and show the student number information received and make comparison with the student number information in Attendance Sheet, if existing, then student attendance success, otherwise work attendance is unsuccessful;When Work attendance device is operated in Down load homework pattern, the data request information that first NFC reader module can send according to mobile terminal judges whether to include teacher's job number, if including teacher's job number, then download operation to start, then the mobile terminal that student is carried successively is when the NFC reader region of intelligent apparatus system, and NFC reader can utilize NFC near-field communication mode that the students' work preserved in SD card memory module is transferred to mobile phone for pupil;When NFC reader module is operated in homework uploading pattern, the data request information that first NFC reader module can send according to mobile terminal judges whether to include teacher's job number, if including teacher's job number, then homework uploading starts, then the mobile terminal that student is carried successively is when the NFC reader region of intelligent apparatus system, and NFC reader can utilize NFC near-field communication mode by the homework uploading of storage in each student's mobile terminal to Work attendance device;
Power module is PSoC3 SOC(system on a chip) module, NFC reader module, SD card memory module provide running voltage.
Preferably, described Work attendance device also includes buzzer module, when Work attendance device is operated in Checking on Work Attendance Mode, if student registers successfully, is then sent prompt tone by buzzer module.
Preferably, described Work attendance device also includes LCD LCD MODULE, for showing the information of registering of course name and student.
Another technical scheme of the present invention there is provided a kind of intelligent teaching management method based on above-mentioned teaching intelligent management system, it is characterised in that comprises the following steps:
The first step, student and teacher utilize the mobile terminal himself carried to post name in an account book and password, account student's student number by name or teacher's job number, password is the identification card number of student or teacher, so that the data match of account name on mobile terminal and password and campus digitization information centre binding;
Second step, student or teacher select course ID on the mobile terminal himself carried, and set pattern information, and pattern includes Checking on Work Attendance Mode, uploads work pattern, downloads work pattern;
3rd step, Work attendance device NFC reader module start to receive request of data, student or teacher send request of data by the mobile terminal himself carried to NFC reader module, this request of data at least includes account name, pattern information and course ID;
4th step, after NFC reader module receives request of data, whether the account name in request of data is teacher's job number, if so, then according to pattern information enter corresponding pattern, wherein:
If entrance Checking on Work Attendance Mode, then NFC reader module reads the Attendance Sheet corresponding with this course ID of storage in SD card memory module according to course ID, student utilizes its mobile terminal carried to send request of data to NFC reader module, after NFC reader module receives request of data, check student's student number that the student's student number on Attendance Sheet is corresponding with account name in request of data, if matching, then current student attendance success;
If entering and uploading work pattern, student utilizes its mobile terminal carried to send request of data to NFC reader module, NFC reader module is set up NFC with mobile terminal after receiving request of data and is connected, and the operation of storage in its mobile terminal is uploaded to Work attendance device storage by NFC by student;
Work pattern is downloaded if entering, on the mobile terminal then first himself carried by teacher, the operation of storage is uploaded to Work attendance device by NFC reader module, its mobile terminal carried is utilized to send request of data to NFC reader module by student again, NFC reader module is set up NFC with mobile terminal after receiving request of data and is connected, and student will be stored in Down load homework in Work attendance device in its entrained mobile terminal by NFC.
Owing to have employed technique scheme, the present invention is compared with conventional teaching managing device, have the following advantages that and good effect: the present invention utilizes NFC technology as the core mode of transmission data, the student information in mobile phone is read by NFC reader device, greatly increase the efficiency of class-teaching of teacher work attendance in teaching management, save substantial amounts of human and material resources, it is ensured that the information accuracy rate of work attendance;Utilize NFC technique can carry out the feature of file transmission, obtain homework for student and submit to homework to provide very big convenience.Meanwhile, teacher is in teaching, it is only necessary to carry a SD card, utilizes SD card just can realize the function of work attendance, storage operation, not only convenient and swift, but also improves safety and the reliability of data storage.Mobile terminal is a APP based on mobile phone NFC function, the UI interface of simplicity generosity is provided, realize user registration, log in, mode of operation (work attendance of attending class, obtain operation, submit operation to) selects, read mobile phone this locality SD card file, NFC transmits the functions such as file, provides great convenience for student.The scheme that the present invention proposes has taken into account performance and the cost of system, provide a kind of fully meeting teaching management demand, under the premise of bringing great convenience for teaching management, simple and easy to do, with low cost, efficiency is high, motility is strong and the good teaching management intelligent system appts of autgmentability, the more competitive technical scheme of one can be provided for the related application demand in university educational management, student has been supervised to attend class on time, be timely completed operation better, contribute to building the better academic atmosphere of colleges and universities, create excellent style of study environment.
Accompanying drawing explanation
Fig. 1 is that the mobile terminal smart mobile phone APP software in the present invention uses flow chart;
Fig. 2 is the workflow diagram of the Work attendance device in the present invention;
Fig. 3 is the system composition of the Work attendance device in the present invention;
Fig. 4 is PSoC3 schematic diagram;
Fig. 5 is the schematic diagram of power module part;
Fig. 6 is the schematic diagram of SD card module part;
Fig. 7 is the schematic diagram of NFC reader module section;
Fig. 8 is the schematic diagram of LCD liquid crystal display screen part;
Fig. 9 is the drive circuit of buzzer module;
Figure 10 is APP software design flow chart;
Figure 11 is that TCP sets up connection procedure.
Detailed description of the invention
Below in conjunction with instantiation, the present invention is expanded on further.Should be understood that these embodiments are merely to illustrate the present invention rather than restriction the scope of the present invention.In addition, it is to be understood that after having read the content that the present invention lectures, the present invention can be made various changes or modifications by those skilled in the art, and these equivalent form of values fall within the application appended claims limited range equally.
The present invention relates to a kind of teaching management intelligent apparatus system based on NFC, this system includes Work attendance device and mobile terminal.Work attendance device is based on the intelligent apparatus of PSoC3, utilizes the point-to-point mode of operation of NFC reader to realize student and attends class the transmission of work attendance, job file.Mobile terminal is one based on the APP of smart mobile phone NFC function, it is achieved two kinds of role selectings of students and teacher, check class attendance, obtains operation and the selection submitting three kinds of mode of operations of operation to.All of data communication mode uses NFC near field communication.Detailed embodiment (design of intelligent apparatus working-flow, Work attendance device, host computer smart mobile phone APP design) is as described below.
Intelligent apparatus working-flow:
Mobile terminal smart mobile phone APP software in embodiment uses flow chart as shown in Figure 1.The Android intelligent with NFC function extensively universal on the market that mobile terminal in intelligent apparatus system is chosen.What choose in the present embodiment is the Nexus3 mobile phone that produces of Google company, simultaneously and save as the mobile phone EMS memory card of Jin Shidun Class10 in configuration for storing jumbo job file.Communication between mobile terminal smart mobile phone and Work attendance device is NFC near-field communication.
(1) download and the APK of the compiled teaching management intelligent apparatus system based on NFC be installed on mobile phone.First opening the NFC function of mobile phone, owing to APP is the exploitation realizing NFCP2P pattern, therefore must also open the AndroidBeam function of mobile phone, specifically in the arranging of Android.Open APP, program initialization, the guiding interface of this APP will be entered, guide the page will instruct the user how to use this APP.
(2) entering after homepage, student and teacher will complete the registration of this software according to the student number of oneself, teaching job job number and password, log in (needing registration when first logging into).This APP binds campus digitization information portal completely in the present embodiment, therefore without registration, it is only necessary to inputting oneself information in information portal can log in immediately.
(3) after having logged in, mobile phone interface will automatic jump to the course selection page, select required course CourseID.Specifying course number according to teacher, class period, course name in this example, therefore CouseID can as the mark identifying course.
(4), after entering the course center page, select different mode of operation button controls according to demand, be signing in, Down load homework, 3 buttons of homework uploading respectively.Under different mode of operations, the duty of Intelligent Checking on Work Attendance device is different.After choosing mode of operation, mobile phone is touched the NFC reader region of Work attendance device.Under the mode of operation of " signing in ", first selected " signing in " by teacher and touch NFC reader region, then Work attendance device automatically reads the student attendance table (work attendance represents with the Excel of course CourseID name, to ensure uniqueness) of this course corresponding in SD card and starts signing in;Then student selects " signing in " successively and touches NFC reader region, Work attendance device will the student login account that sent by mobile phone for pupil of automatic reception, if same student number can be read in the student attendance table of this course, then represent and register successfully, and number of times of registering adds 1 automatically.Under the mode of operation of " Down load homework ", first selected " Down load homework " by teacher and touch NFC reader region, namely Work attendance device starts " Down load homework ", then student touches the NFC reader region of Work attendance device successively, mobile phone will utilize the operation of this course in the SD card in mobile phone NFC function and Transmission Control Protocol automatic reception Work attendance device, and (homework each time is all named with the form of course CouseID+ operations number, to ensure uniqueness), be saved in simultaneously mobile phone local /sdcard catalogue under, i.e. Down load homework success.Under the mode of operation of " homework uploading ", first selected " homework uploading " by teacher and touch NFC reader region, namely Work attendance device starts to perform " homework uploading ", then student touches the NFC reader region of Work attendance device more successively, Work attendance device will pass through NFC reader, NFC communication and Transmission Control Protocol is utilized to receive from the operation (operation of submission is all named with the form of course CourseID+ student number, to ensure uniqueness) of this course received under mobile phone/sdcard catalogue being saved in the SD card of Work attendance device.
The workflow diagram of Work attendance device is as shown in Figure 2.
(1) before Work attendance device powers on every time, teacher is first by the SD draw-in groove of the SD card insertion apparatus of oneself this course.
(2) Work attendance device initializes each I/O port of chip, liquid crystal display module, buzzer module, clock module and NFC reader module afterwards after powering on.NFC reader module monitors oneself whether to receive request of data simultaneously.
(3) data message when NFC reader receives request of data, according to request, it is judged that whether data meet related protocol, if meeting agreement, carries out next step operation according to data.
(4) solicited message that Work attendance device receives first with NFC reader, and carry out the information received judging to resolve, then perform corresponding operating.When receiving the solicited message of " signing in ", the data request information that first NFC reader module can send according to mobile terminal judges whether login account is " teacher's job number ", if " teacher's job number " then reads the curriculum schedule of this corresponding course in SD card, start work attendance, " if not teacher's job number ", then not starting work attendance, student's account request cannot open " signing in ".Then mobile phone is touched NFC reader by student more successively, NFC reader can receive and the login account information (student number) that shows in the mobile terminal received make comparison with the student number in Attendance Sheet, if existing, then student attendance success, and in liquid crystal display screen display " * * * work attendance success ", and the work attendance number of times in Attendance Sheet adds 1;Otherwise work attendance is unsuccessful.When receiving the solicited message of " Down load homework ", the data request information that first NFC reader module can send according to mobile terminal judges whether login account is " teacher's job number ", starts if " teacher's job number " then downloads operation.Then student successively by mobile phone when the NFC reader region of intelligent apparatus system, NFC reader can utilize NFC near-field communication mode and Transmission Control Protocol by SD card preserve students' work be transferred to mobile phone for pupil.In like manner, when the solicited message receiving " homework uploading ", mobile phone for pupil also can by the job transfer under/sdcard to SD card.
Work attendance device designs:
The system of Work attendance device forms as shown in Figure 3.
What Work attendance device in the present invention adopted the is CY8C3866AXI-040 model PSoC chip produced by Cypress (Sai Pulasi) is as its kernel processor chip, and the packing forms of this chip is TQFP-100, and the schematic diagram of its correspondence is as shown in Figure 4.The low-power consumption Cortex-M0 kernel of PSoC analog architectures and digital architecture and ARM is perfectly merged by it.The conventional analog functuion of it some has amplifier, ADC, DAC, comparator and wave filter etc..Digital function conventional in PSoC4 programmable system on chip has intervalometer, enumerator, PWM, SPI, I2C and UART etc..The development environment used in the present invention is PSOCCreator3.0.Compared to developing 51 traditional single-chip microcomputers or PIC single chip microcomputer, the exploitation of this environment greatly reduces development difficulty, shortens the construction cycle.In order to improve the anti-interference of CY8C3866AXI-040 chip, have employed the design of modulus subregion.On the power supply input pin of CY8C3866AXI-040, using the Surface Mount ceramic condenser of 0805 encapsulation to carry out decoupling aluminium foil, concrete value is as shown in Figure 4.System uses the passive crystal oscillator of 24MHz, and it is connected with CY8C3866AXI-040 with 43 pins by 42.The connection of reset pin XRES (15) and ground plane, by on-off control, is used for inputting outside low level reset signal.In the present invention, the control of CY8C3866AXI-040 chip primary responsibility NFC reader, LCD show, the read-write etc. of SD card.
Due in the present invention, in order to improve the anti-interference of CY8C3866AXI-040, what take is the design of modulus subregion.Therefore its simulation power pack (VA) uses one piece of LM1117 to be individually powered so that exclusive PCR with digital power system part (VD) respectively, and supply voltage is 3.3V.Laid corresponding filter capacitor at input/output terminal simultaneously.Cell output voltage Vcc inputs the P2_4 pin of CY8C3866AXI-040 after Rk1 and Rk2 dividing potential drop, for battery-powered state is detected.The power module partial schematic diagram of system is as shown in Figure 5.
What SD card memory module in the present invention was selected is Kingston (Jin Shidun) card, is used for storing homework that teacher arranges and the submitted homework of student.Owing to SD card has cheap, the advantage such as memory capacity is big, easy to use, highly versatile and high safety, SD card has become as storage card the most general at present.Two kinds of mode bus supported by SD card: SPI mode and SD mode.The present invention adopt SPI mode SD card is written and read, SPI mode is to adopt 4 line systems, uses CS (main frame to the chip selection signal of card), CLK (main frame to the clock signal of card), DataIn (main frame to the data signal of card), DataOut (snapping into the data signal of main frame) to carry out data communication.SPI mode supports the read command to single piece and many pouring weights and write operation.The connection figure of SD card and CY8C3866AXI-040 is as shown in Figure 6.Owing to adopting SPI mode to communicate, therefore only CD/DAT3 (this pin is used for chip select) need to be connected with 72 pins, CMD (data write) is connected with 71 pins, CLK (clock pins) is connected with 21 pins, and DAT0 (data read-out) is connected with 70 pins.Just the read-write to SD card can be realized by above on-link mode (OLM).In the present embodiment, when Work attendance device is operated under " work attendance of attending class " pattern time, SD card is in write data state, the information of the student that write reads;When Work attendance device is operated under the pattern of " download operation " time, SD card is in read command state, reading operation;When Work attendance device is operated under the pattern of " uploading operation " time, SD card is in write operation state, writes the operation of student in SD card.
What NFC reader module in the present invention was selected is PN532NFC radio frequency chip, is used for the NFC communication realizing between smart mobile phone, it is therefore an objective to for the work attendance that realizes attending class, downloads operation, upload the function of operation.PN532 is a kind of highly integrated non-contact read-write chip, and it comprises the microcontroller core of 80C51, is integrated with the various active and passive non-contact communication method under 13.56MHz and agreement.The transport module of PN532 supports 3 kinds of working method: Peer-to-peer (ad hoc mode), Reader/Writer (read/write mode), Cardemulation (mode card).Itself is with the 80C51 microcontroller core of ROM and the 1kBRAM of 40kB, highly integrated analog circuit, solves mediation decoding response, and output buffering driver connects antenna by minimal amount of external passive device, it is integrated with RF field detector, is integrated with data pattern detector.When it is in reader/writer mode, exemplary operation distance is more than 50mm, and concrete distance is to determine according to antenna size, tuning and power supply.And exemplary operation distance is about 100mm in card operator scheme, concrete distance is then determined by antenna size, tuning and external field strength.When read-write mode, support MifareClassic encryption, message transmission rate two kinds higher for 212kbit/s and 424kbit/s can be supported, under FeliCa pattern, support the communication baud rate of 106kbit/s, 212kbit/s and 424kbit/s, inheriting NFCIP-1 interface, transfer rate is up to 424kbit/s.PN532 supports that HPI has three classes: SPI interface, I2C interface, high speed serialization UART interface.In an embodiment of the present invention, what it and CY8C3866AXI-040 were connected by is high speed serialization UART interface.Having only to SCL, SDA and 4,5 pins connect just can realize communication.Meanwhile, the antenna circuit of PN532 module can utilize electromagnetic induction principle object contact type intelligent card to power, moreover it is possible to the data being completed card reader and contact type intelligent card by electromagnetic wave signal are exchanged.It is accomplished that the data of card reader and cell phone intelligent terminal exchange in the present invention.Antenna circuit includes EMC wave filter, receives circuit and antenna-matching circuit three part.NFC produces the dominant frequency of 13.56MHz by crystal oscillator, and subsidiary also can produce the higher hamonic wave signal that frequency is dominant frequency frequency multiplication, and these signals are harmful interferences, devise a low pass filter, the higher hamonic wave of high frequency filtered in the present invention.The width that card reader antenna in the present invention is selected is 1mm, and the gross area is the antenna of 65*54mm, be the number of turns is the square antenna of 4 circles for what guarantee that reading/writing distance and stability adopts.In the present invention, adopting SWP agreement between NFC reader and SD card, it so that system directly accesses SD card, can have good Consumer's Experience.The schematic diagram of NFC reader is as shown in Figure 7.
What the LCD LCD MODULE in the present invention was selected is 1602 liquid crystal display modules, 1602 liquid crystal display modules are that 5V voltage drives, band backlight, two row can be shown, 16 characters of each row, energy Display of Chinese characters, the built-in ascii character-set character library containing 128 characters, only parallel interface, it does not have serial line interface.In an embodiment of the present invention, this display panel module display real-time time, show student information when student attendance, including name, student number, simultaneously when showing corresponding informance after student attendance success.The schematic diagram of LCD liquid crystal display screen is as shown in Figure 8.
Buzzer module in the present invention be mainly used in when student attend class work attendance, download operation, upload job success after send " drip drip " prompt tone.Owing to the I/O load fan-out capability of CY8C3866AXI-040 is not enough to drive buzzer, so selecting the audion of a NPN type number to carry out amplified current signal in an embodiment of the present invention, for the driving of buzzer.The drive circuit of buzzer module is as shown in Figure 9.
In accordance with the above, the hardware unit system of the present invention can just be realized.
After designing based on the hardware Work attendance device of the teaching management intelligent apparatus of NFC, in addition it is also necessary to design a APP based on mobile phone NFC function so that it is realize communicating with Work attendance device.This mobile phone A PP mainly utilize the NFC of mobile phone point to point operation pattern realize attend class work attendance, Down load homework, upload the functions such as operation.NFC can adopt three kinds of mode of operations according to the difference of application: read-write mode (card reader pattern), P2P (ad hoc mode), card simulation model.Communication pattern in mode of operation is divided into again aggressive mode and Passive Mode.
(1) read-write mode: NFC terminal has contactless reader functionality, it is possible to read-write outside contactless formula card image.
(2) ad hoc mode: NFC terminal can carry out data exchange with other NFC device, it is achieved the transmission of down-load music, file and synchronization process communication function.
(3) card simulation model: NFC terminal is modeled to a non-contact card and interacts with card reader.
Therefore, the mode of operation of mobile terminal NFC can have two kinds in the present invention, card simulation model and ad hoc mode.When mobile terminal is in the work of card simulation model time, Work attendance device is in card reader pattern.When mobile terminal is under ad hoc mode work time, Work attendance device is also at point to point operation pattern.So far unified standard is not stablized due to card simulation model.In Android ecosystem system, card simulation model is temporarily not support, and it is also contemplated that a lot of security mechanism.Therefore in an embodiment of the present invention, the ad hoc mode of Selection utilization NFC realizes required function.
APP software design in embodiments of the invention realizes P2P flow chart as shown in Figure 10.
(1) if to use NFC function in the application and development of Android, it is necessary first to add NFC authority in AndroidManifest and use the NFC hardware of Android.Namely statement is added<uses-permissionandroid:name=" android.permission.NFC " and<uses-sdkandroid:minSdkVersion="10">.
(2) adding after authority completes, need to utilize AndroidNFCAPI function in Java code, namely detect the mobile phone of user by the availability of NfcAdapter and whether there is the NFC function of NFC function and the user mobile phone with NFC function whether open.Owing in embodiments of the invention, mobile terminal is to be operated under P2P pattern, and becoming Beam by transmitting data by P2P between two equipment, to complete Beam function between both devices needs to open mobile phone A ndroidBeam function.Therefore use NfcAdapter.getDefaultAdapter (this) to obtain NFC adapter in code, judge whether current device supports NFC function by it.Judged by mNfcAdapter.isEnabled () whether the NFC function of current device opens.Judged by mNfcAdapter.isNdefPushEnabled () whether the Beam function of current device opens.
(3) in login page, arranging account, two edit boxes of password, namely two variable UserName and Password of definition, facilitate user to input login.In an embodiment of the present invention, the account of this APP, password mate with the user data of campus digitization information centre and bind, so account name respectively student's student number, teacher's job number, password is identification card number.Meanwhile, after binding with the user data at campus digitization center, user is without re-registration.After opening APP input account, password and clicking login, the UserName of each user will be saved in the nfc card of mobile phone with the form of NDEF automatically.
(4), after having logged in, it will automatic jump to the course selection page, the course number choosing this course is CourseID.In the present invention, course CourseID is to discriminate between unique mark of different course.
(5) course selection complete after, click " determination " button, it will jump to the course center of this course.In this page, define three button controls namely attend class work attendance, download operation, upload operation.Click different buttons, different mode of operations will be entered.
(6) clicking " work attendance of attending class " button, the UserName preserved with NDEF data form in mobile phone can be sent to Work attendance device by mobile terminal automatically, has only to touching Work attendance device when transmission.NDEF is that NFC forum defines the universal data format becoming NFC data DIF (NDEF) in order to realize the interactive communication between NFC label, NFC device and NFC device.NDEF message is made up of one or more NDEF record.When realizing data transmission by Beam between two NFC device, namely data sending terminal sends BeamNDEF message end (BNM), and namely data receiver receives Beam message end (RBM).When realize attending class the function of work attendance time, mobile terminal is BNM end, therefore uses setNdefPushMessageCallback () method to realize AndroidBeam in the present invention.In this mode, mobile terminal part is mainly message sending end, it is only necessary to the code of design BNM part.Mainly comprise the steps that (1) realizes CreateNdefMessageCallback interface (implement) in current Activity in BNM Code Design part;(2) setNdefPushMessageCallback () is called in the place needed;(3) call back function createNdefMessage (NfcEventevent) realizes Beamdata.Now when finding to have the equipment supporting Beam, this callback interface is automatically activated, now the message using the UserName of NDEF data form preservation needing Beam is ready to and is returned as NdefMessage.(4) the NDEF message of the UserName with the input of Text type is generated by calling BobNdefMessage.getNdefMsg_from_RTD_TEXT (Stringtext, BooleanencodeInUtf8, booleanflagAddAAR) method.By mobile terminal Work attendance device, the information of UserName can be sent to Work attendance device, complete work attendance.
(8) when the button clicking " uploading operation ", mobile terminal can automatically will/job file of this course of the correspondence of sdcard is transferred to the SD card in Work attendance device.NFC device is by the exchange of near field contactless communication radio frequency progress row data, in order to provide the user with reliable and secure communication service, it is necessary to sets up and connects reliably and communication link.In this operating mode, mobile terminal is mainly message sending end, it is only necessary to the code of design BNM, Code Design step is described above.Select tcp transmission control protocol in the present invention, set up the link of communication link by TCP.Namely in bottom, the socket method of TCP transmitting terminal and sender terminal is added, it is ensured that the reliability of transmission link.It is Connection-oriented Protocol, namely before using Transmission Control Protocol, it is necessary to first sets up TCP and connects, after transmission data complete, it is necessary to the TCP that release is set up connects.When clicking " upload button ", the NFC reader region of the NFC radio wave perception Work attendance device of mobile terminal also realizes message intercommunication, then uses TCP three-way handshake to set up and just starts after connection completes to transmit data.TCP as shown in figure 11 sets up connection procedure.It is that initiator sends write () connection request to recipient that first time shakes hands, and enters SYN_SEND state, waits the confirmation of recipient;Second handshake is that recipient read () have received request, it is necessary to confirm the SYN of initiator;It is send confirmation bag to recipient after initiator have received the confirmation packet of recipient that third time is shaken hands.Initiator and recipient have entered the state of connection establishment, complete three-way handshake.Generally, TCP connects once be based upon either party of communicating pair and actively closing before close connects, and TCP connects and will be kept down.Disconnecting close () is that both sides all actively initiate to disconnect request.After establishing reliable communication link, just the transmission of file can be realized, in Java code, a single-threaded ConnectedThread () being connected is set up sending after thread AcceptThread () is opened, data read () is entered, provides cancle () method can cancel transmission simultaneously.After setting up transmission success, mobile phone just can be realized the submission of operation by student near Work attendance device.
(9) when clicking " Down load homework " button, mobile terminal can below the specified path of the operation of this course in automatic reception Work attendance device SD card being saved in/sdcard.Mobile terminal mainly realizes the function of receiving terminal RBM in this operating mode, then utilizes Transmission Control Protocol to complete the reception of file, and the file received will be arranged the store path of acquiescence, convenient management by last mobile phone terminal.The realization of Transmission Control Protocol is described above.The realization of mobile terminal RBM function is mainly sketched at this.Code Design part at RBM mainly comprises the steps that (1) heavy duty onNewIntent (Intentintent) in Activity, and is setIntent (inent) wherein;(2) heavy duty Onresume () in Activity, does message wherein and differentiates;(3) when message is determined as the Beam of needs time, the data received are processed.Obtain concrete message data by intent.getParcelableArrayExtra (NfcAdapter.EXTRA_NDEF_MESSAGES), be then saved in NdefMessage [];(4) whether obtain NdefMessage [] in resolveIntent (Intentintent), first detecting it is empty, then process the record in each message and each message successively.(5) utilize parseUriRecord (NdefRecordrecord) function, complete the current record of acquisition is resolved the final data (payload) obtained.(6), after getting final data, the job file that receives will be preserved to the assigned catalogue of/sdcard by mobile terminal according to request of data.

Claims (4)

1. the teaching intelligent management system based on NFC, it is characterised in that include Work attendance device and mobile terminal, wherein:
Student and teacher post respectively through the mobile terminal each carried name in an account book and password, account student's student number by name or teacher's job number, password is the identification card number of student or teacher, so that the data match of account name on mobile terminal and password and campus digitization information centre binding;
Mobile terminal at signing in, upload operation and download switching between operation, when mobile terminal is in signing in pattern, the student number information of student is sent to Work attendance device thus completing to register by the NFC function of mobile terminal, when mobile terminal is in and uploads work pattern, homework uploading in mobile terminal is will be stored in Work attendance device by the NFC function of mobile terminal, when mobile terminal is in download work pattern, by the NFC function of mobile terminal, the effect stored in Work attendance device is downloaded in mobile terminal;
Described Work attendance device at least includes PSoC3 SOC(system on a chip) module, power module, NFC reader module, SD card memory module, wherein:
PSoC3 SOC(system on a chip) module, for be responsible in SD card memory module the storage of data with the digital independent in reading, management NFC reader module and transmission, judge that selection makes Work attendance device be in signing in pattern, uploads work pattern or download work pattern;
The Attendance Sheet that SD card memory module is corresponding for storing different course, Attendance Sheet has the student number information of the student taking as an elective course this course, different courses are distinguished by different course ID, SD card memory module also stores work data that teacher arranges and the work data that student uploads, and adopts SWP agreement between SD card memory module and NFC reader module;
NFC reader module includes NFC reader, when mobile terminal near Work attendance device time, the mode of operation that Work attendance device is different, select the duty of NFC reader, when Work attendance device is operated in Checking on Work Attendance Mode, the data request information that first NFC reader module sends according to mobile terminal judges whether data request information includes teacher's job number, if including teacher's job number, then NFC reader module obtains course ID, read Attendance Sheet corresponding with this course ID in SD card memory module again, start work attendance, then the mobile terminal touching NFC reader that student is carried successively, NFC reader can receive and show the student number information received and make comparison with the student number information in Attendance Sheet, if existing, then student attendance success, otherwise work attendance is unsuccessful;When Work attendance device is operated in Down load homework pattern, the data request information that first NFC reader module can send according to mobile terminal judges whether to include teacher's job number, if including teacher's job number, then download operation to start, then the mobile terminal that student is carried successively is when the NFC reader region of intelligent apparatus system, and NFC reader can utilize NFC near-field communication mode that the students' work preserved in SD card memory module is transferred to mobile phone for pupil;When NFC reader module is operated in homework uploading pattern, the data request information that first NFC reader module can send according to mobile terminal judges whether to include teacher's job number, if including teacher's job number, then homework uploading starts, then the mobile terminal that student is carried successively is when the NFC reader region of intelligent apparatus system, and NFC reader can utilize NFC near-field communication mode by the homework uploading of storage in each student's mobile terminal to Work attendance device;
Power module is PSoC3 SOC(system on a chip) module, NFC reader module, SD card memory module provide running voltage.
2. a kind of teaching intelligent management system based on NFC as claimed in claim 1, it is characterised in that described Work attendance device also includes buzzer module, when Work attendance device is operated in Checking on Work Attendance Mode, if student registers successfully, is then sent prompt tone by buzzer module.
3. a kind of teaching intelligent management system based on NFC as claimed in claim 1, it is characterised in that described Work attendance device also includes LCD LCD MODULE, for showing the information of registering of course name and student.
4. the intelligent teaching management method based on teaching intelligent management system as claimed in claim 1, it is characterised in that comprise the following steps:
The first step, student and teacher utilize the mobile terminal himself carried to post name in an account book and password, account student's student number by name or teacher's job number, password is the identification card number of student or teacher, so that the data match of account name on mobile terminal and password and campus digitization information centre binding;
Second step, student or teacher select course ID on the mobile terminal himself carried, and set pattern information, and pattern includes Checking on Work Attendance Mode, uploads work pattern, downloads work pattern;
3rd step, Work attendance device NFC reader module start to receive request of data, student or teacher send request of data by the mobile terminal himself carried to NFC reader module, this request of data at least includes account name, pattern information and course ID;
4th step, after NFC reader module receives request of data, whether the account name in request of data is teacher's job number, if so, then according to pattern information enter corresponding pattern, wherein:
If entrance Checking on Work Attendance Mode, then NFC reader module reads the Attendance Sheet corresponding with this course ID of storage in SD card memory module according to course ID, student utilizes its mobile terminal carried to send request of data to NFC reader module, after NFC reader module receives request of data, check student's student number that the student's student number on Attendance Sheet is corresponding with account name in request of data, if matching, then current student attendance success;
If entering and uploading work pattern, student utilizes its mobile terminal carried to send request of data to NFC reader module, NFC reader module is set up NFC with mobile terminal after receiving request of data and is connected, and the operation of storage in its mobile terminal is uploaded to Work attendance device storage by NFC by student;
Work pattern is downloaded if entering, on the mobile terminal then first himself carried by teacher, the operation of storage is uploaded to Work attendance device by NFC reader module, its mobile terminal carried is utilized to send request of data to NFC reader module by student again, NFC reader module is set up NFC with mobile terminal after receiving request of data and is connected, and student will be stored in Down load homework in Work attendance device in its entrained mobile terminal by NFC.
CN201610049220.2A 2016-01-25 2016-01-25 NFC based intelligent teaching management system and method Pending CN105741208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610049220.2A CN105741208A (en) 2016-01-25 2016-01-25 NFC based intelligent teaching management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610049220.2A CN105741208A (en) 2016-01-25 2016-01-25 NFC based intelligent teaching management system and method

Publications (1)

Publication Number Publication Date
CN105741208A true CN105741208A (en) 2016-07-06

Family

ID=56246558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610049220.2A Pending CN105741208A (en) 2016-01-25 2016-01-25 NFC based intelligent teaching management system and method

Country Status (1)

Country Link
CN (1) CN105741208A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846086A (en) * 2018-06-12 2018-11-20 黄淮学院 A kind of colleges and universities' class practical teaching achievements exhibition platform
CN108986575A (en) * 2018-10-19 2018-12-11 科盟(福州)电子科技有限公司 A kind of wireless enhanced interactive teaching and learning system and method
CN109147077A (en) * 2018-09-04 2019-01-04 北京工业大学 Movable attendance checking method, apparatus and server
CN109741223A (en) * 2018-12-29 2019-05-10 滨州学院 A kind of computer based Students'Management System
CN112230554A (en) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 Linkage control method and system, terminal, computer device and storage medium
CN113240861A (en) * 2021-05-17 2021-08-10 上海中通吉网络技术有限公司 Express delivery cabinet pickup system, method and equipment based on NFC
CN113763582A (en) * 2020-06-05 2021-12-07 淄博职业学院 Primary and secondary formula student management device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184593A (en) * 2011-02-25 2011-09-14 惠州Tcl移动通信有限公司 One-card system based on mobile communication terminal
CN202049533U (en) * 2010-12-31 2011-11-23 惠州Tcl移动通信有限公司 Attendance system
CN102802256A (en) * 2011-05-26 2012-11-28 和硕联合科技股份有限公司 Data synchronization method and system for mobile communication device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202049533U (en) * 2010-12-31 2011-11-23 惠州Tcl移动通信有限公司 Attendance system
CN102184593A (en) * 2011-02-25 2011-09-14 惠州Tcl移动通信有限公司 One-card system based on mobile communication terminal
CN102802256A (en) * 2011-05-26 2012-11-28 和硕联合科技股份有限公司 Data synchronization method and system for mobile communication device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846086A (en) * 2018-06-12 2018-11-20 黄淮学院 A kind of colleges and universities' class practical teaching achievements exhibition platform
CN109147077A (en) * 2018-09-04 2019-01-04 北京工业大学 Movable attendance checking method, apparatus and server
CN108986575A (en) * 2018-10-19 2018-12-11 科盟(福州)电子科技有限公司 A kind of wireless enhanced interactive teaching and learning system and method
CN109741223A (en) * 2018-12-29 2019-05-10 滨州学院 A kind of computer based Students'Management System
CN112230554A (en) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 Linkage control method and system, terminal, computer device and storage medium
CN113763582A (en) * 2020-06-05 2021-12-07 淄博职业学院 Primary and secondary formula student management device
CN113240861A (en) * 2021-05-17 2021-08-10 上海中通吉网络技术有限公司 Express delivery cabinet pickup system, method and equipment based on NFC

Similar Documents

Publication Publication Date Title
CN105741208A (en) NFC based intelligent teaching management system and method
JP6193859B2 (en) RFID card management method and terminal
CN205680208U (en) A kind of single node bluetooth controlled in wireless self-help terminal equipment
US20150188838A1 (en) Disabling Network Connectivity on Student Devices
TWM243761U (en) Memory disk with wireless data transmitting and rceiving function
CN104363590B (en) Access point method of attachment and device
CN204946383U (en) A kind of technology of Internet of things experimental box
CN101145202A (en) School bag intelligent supervisor
CN103873566A (en) Method and device of accessing mobile equipment
CN113867758A (en) Unmanned aerial vehicle automatic upgrading method and device, unmanned aerial vehicle, remote control terminal and storage medium
CN102647317B (en) System and method for improving accessibility of sensor
CN102695107A (en) Combined microphone for teaching
CN109977647A (en) A kind of binding management method and system of home-teaching study machine
CN202736323U (en) Student learning-assisting apparatus based on wireless networking and radio frequency identification
KR101003117B1 (en) Experience learning system
US20150149331A1 (en) Taking Device Inventory using Dynamically Generated Symbols
Choe et al. Design Of Attendance Information System Using Rfid
CN107807889A (en) A kind of method of USB device and USB device driving initialization
CN211483205U (en) NFC (near field communication) chest card device
CN102945622B (en) A kind of intellectual education learning system based on NFC
CN202523087U (en) Radio frequency identification (RFID)-based self-service voice system
CN102157080A (en) Method for broadcasting classroom screen contents based on electronic paper reading devices
CN205847259U (en) A kind of bluetooth equipment and Bluetooth system
CN205210967U (en) Multi -functional attendance system based on RFID campus card
CN105139708A (en) Hand-held electronic multimedia teaching system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160706

WD01 Invention patent application deemed withdrawn after publication