CN105160956A - Classroom teaching auxiliary system and communication method thereof - Google Patents

Classroom teaching auxiliary system and communication method thereof Download PDF

Info

Publication number
CN105160956A
CN105160956A CN201510695512.9A CN201510695512A CN105160956A CN 105160956 A CN105160956 A CN 105160956A CN 201510695512 A CN201510695512 A CN 201510695512A CN 105160956 A CN105160956 A CN 105160956A
Authority
CN
China
Prior art keywords
equipment
student
byte
teacher
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510695512.9A
Other languages
Chinese (zh)
Other versions
CN105160956B (en
Inventor
刘学君
卓思超
栾海英
戴波
栾婧
江帆
李京
刘丽丽
蒋曼琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Petrochemical Technology
Original Assignee
Beijing Institute of Petrochemical Technology
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 Beijing Institute of Petrochemical Technology filed Critical Beijing Institute of Petrochemical Technology
Priority to CN201510695512.9A priority Critical patent/CN105160956B/en
Publication of CN105160956A publication Critical patent/CN105160956A/en
Application granted granted Critical
Publication of CN105160956B publication Critical patent/CN105160956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/08Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
    • G09B5/14Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations with provision for individual teacher-student communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The invention discloses a classroom teaching auxiliary system and a communication method thereof, The system comprises multiple student devices, a teacher device and a host computer. Each student device comprises a first wireless transmit-receive device, a first microcontroller and an input/output device. The teacher device comprises a second wireless transmit-receive device, a second microcomputer and a USB to serial port device. The host computer comprises a USB interface, wherein the USB interface is connected to the USB to serial port device of the teacher device. With the technical scheme of the invention, real-time wireless communication between the student and the teacher in the classroom is achieved, the student's participation is effectively improved, and the teaching quality is improved.

Description

Classroom instruction backup system and communication means thereof
Technical field
The present invention relates to the communications field, in particular to a kind of classroom instruction backup system and communication means thereof.
Background technology
" national medium-term and long-term educational reform and development planning outline (2010-the year two thousand twenty) " that the Central Committee of the Communist Party of China, State Council print and distribute, proposition will develop raising quality core missions as educational reform, focus on educational resource configuration and Schools Work emphasis enhance teaching link, improve in the quality of education.
The basic index of Classroom Teaching is weighed beyond doubt to class rate and Initiative degree, and for a long time, most domestic school, that takes arrives class rate statistical still for teacher point is to this mode the most traditional, although this mode is simple, but but directly waste the classroom hours of instruction of teacher, reduce quality of instruction.Classroom interactions on classroom, also usually adopt the mode of Faculty and Students' question and answer one to one, Initiative degree is lower.
Summary of the invention
Fundamental purpose of the present invention is to disclose a kind of classroom instruction backup system and communication means thereof, adopts Traditional Classroom interaction mode to cause the problem that students' participation rate is low at least to solve in correlation technique.
According to an aspect of the present invention, a kind of classroom instruction backup system is disclosed.
Classroom instruction backup system according to the present invention comprises: multiple student's equipment, each student includes with equipment: the first wireless transmitter, first microcontroller, input-output unit, wherein, the data coming from student collected by described first microcontroller via described input-output unit, and are sent to teacher's equipment via described first wireless transmitter; Described teacher's equipment, comprise: the second wireless transmitter, second microcontroller, USB turn serial port device, wherein, described second microcontroller receives via the second wireless transmitter and comes from the data of described first wireless transmitter, and turns serial port device via the serial ports of the second microcontroller and described USB and send to host computer; Host computer, comprise: USB interface, wherein, described USB interface turns serial port device with the described USB of described teacher's equipment and is connected, described host computer receives the described data coming from described teacher's equipment via described USB interface, carry out process and Graphics Processing result to described data.
According to a further aspect in the invention, a kind of communication means of classroom instruction backup system is disclosed.
Communication means according to classroom instruction backup system of the present invention comprises: steering order is sent to teacher's equipment according to predetermined first time transmission control command protocols by host computer, wherein, described first time transmission control command protocols comprises: the protocol IP start address byte interconnected between instruction type byte, network, IP end address byte, reserved place byte, end mark byte; Described steering order is sent to multiple student's equipment with equipment according to predetermined second time transmission control command protocols by described teacher, wherein, described second time transmission control command protocols comprises: guide word, instruction type byte, IP start address byte, IP end address byte, exercise question numbering byte or reserved byte, end mark byte, reserved place byte, CRC byte.
By classroom instruction backup system provided by the invention and communication means thereof, to solve in correlation technique classroom interactions on classroom, adopt the mode of Faculty and Students' question and answer one to one, cause the problem that Initiative degree is lower, adopt system provided by the invention that student can be made on classroom to carry out real-time radio communication with teacher, for the problem that teacher proposes, classroom is test, the interactive teaching contents such as classroom contest, student can make answer by this system, and by data upload to host computer process and display, therefore effectively improve student classroom participation, improve quality of instruction.
Accompanying drawing explanation
Fig. 1 is the Organization Chart of the classroom instruction backup system according to the embodiment of the present invention;
Fig. 2 is the structural representation of teacher's equipment according to the preferred embodiment of the invention;
Fig. 3 is the structural representation of student's equipment according to the preferred embodiment of the invention;
Fig. 4 is the process flow diagram of the communication means of classroom instruction backup system according to the embodiment of the present invention;
Fig. 5 is the information interaction schematic diagram of mode protocol of calling the roll according to the preferred embodiment of the invention;
Fig. 6 is the information interaction schematic diagram of answer mode protocol according to the preferred embodiment of the invention;
Fig. 7 is the main program flow chart of host computer according to the preferred embodiment of the invention;
Fig. 8 is the main program flow chart of teacher's equipment according to the preferred embodiment of the invention; And
Fig. 9 is the main program flow chart of student's equipment according to the preferred embodiment of the invention.
Embodiment
Below in conjunction with Figure of description, specific implementation of the present invention is made a detailed description.
Fig. 1 is the Organization Chart of the classroom instruction backup system according to the embodiment of the present invention.As shown in Figure 1, this classroom instruction backup system comprises:
Multiple student is with equipment 10, each student includes with equipment: the first wireless transmitter 100, first microcontroller 102, input-output unit 104, wherein, the data coming from student collected by above-mentioned first microcontroller 102 via above-mentioned input-output unit 104, and are sent to teacher's equipment via above-mentioned first wireless transmitter 100;
Above-mentioned teacher is with equipment 12, comprise: the second wireless transmitter 120, second microcontroller 122, USB turn serial port device 124, wherein, above-mentioned second microcontroller 102 receives via the second wireless transmitter 120 and comes from the data of above-mentioned first wireless transmitter 100, and turns serial port device 124 via the serial ports of the second microcontroller 122 and above-mentioned USB and send to host computer;
Host computer 14, comprise: usb 1 40, wherein, above-mentioned usb 1 40 turns serial port device 124 with the above-mentioned USB of above-mentioned teacher's equipment and is connected, above-mentioned host computer 14 receives the above-mentioned data coming from above-mentioned teacher's equipment via above-mentioned usb 1 40, carry out process and Graphics Processing result to above-mentioned data.
Classroom interactions on classroom in correlation technique, adopt the mode of Faculty and Students' question and answer one to one, cause the problem that Initiative degree is lower, the system shown in Fig. 1 of employing, student can be made on classroom to carry out real-time radio communication with teacher, for the interactive teaching content such as problem, classroom test, classroom contest that teacher proposes, student can make answer by this system, and by data upload to host computer process and display, therefore effectively improve student classroom participation, improve quality of instruction.
Preferably, above-mentioned host computer 14, also uses equipment sending controling instruction via above-mentioned usb 1 40 to above-mentioned teacher; Above-mentioned teacher with equipment 12, also turns serial port device 124 via above-mentioned USB and receives the steering order coming from above-mentioned host computer, and above-mentioned steering order is sent to above-mentioned multiple student with equipment 10 via above-mentioned second wireless transmitter 120; Above-mentioned multiple student, with equipment 10, also receives via above-mentioned first wireless transmitter 100 and comes from the above-mentioned steering order of above-mentioned teacher with equipment 12.
Wherein, above-mentioned steering order includes but not limited to: roll-call instruction, answer instruction, halt instruction, and native system can be set as roll-call, answer and stopping isotype, and teacher carries out model selection by host computer (such as, PC).
In carrier communication process, for ensureing stability and the anti-interference of system, between teacher's equipment and multiple student's equipment, be built into a kind of wireless micro-network network of stelliform connection topology configuration by wireless channel (such as, 433MHz channel).This network is a single-hop systems, and in network, all students carry out two-way communication with teacher with equipment with equipment, does not communicate between each student's node.
In preferred implementation process, then each student uploads to teacher's equipment by the first wireless transmitter by the data that equipment primary responsibility collects student's input.Teacher is responsible for receiving the data uploaded with equipment from each student with equipment on the one hand, and data packing is uploaded to upper PC what receive by serial communication mode; Receive the steering order from host computer on the other hand, and instruction is issued to each student's equipment, carried out exercise question and issued, to tasks such as class rate statistics.Host computer is responsible for the data that reception teacher uploads with equipment on the one hand, and processes accordingly it and show, and receives the steering order of teacher on the other hand, and is issued to student equipment with equipment with broadcast mode by teacher.
Preferably, each above-mentioned student all also comprises with equipment: the first direct supply 106, and above-mentioned teacher also comprises with equipment: the second direct supply 126.
In preferred implementation process, the first direct supply 106 and the second direct supply 126 can be all 3.3V direct supply.Consider that by student's equipment and teacher's equipment de-sign be a kind of handheld device, therefore low-power consumption is an important considerations.
Preferably, as shown in Figure 2, in teacher's equipment, above-mentioned first wireless transmitter comprises: radio frequency chip nRF905; First microcontroller is single-chip microcomputer MSP430 series MSP4302553; Input-output unit comprises: LED lamp, button; And the 3.3V direct supply of power supply.
Preferably, as shown in Figure 3, in student's equipment, above-mentioned second wireless transmitter comprises: radio frequency chip nRF905; Second microcontroller is single-chip microcomputer MSP430 series MSP4302553; Above-mentioned USB turns serial port device and comprises: USB turns serial port chip CH304; And the 3.3V direct supply of power supply.
Microcontroller is the control center of teacher's equipment and student's equipment, native system is from the viewpoint of low-power consumption, select low-power consumption 16 single-chip microcomputer MSP430G2553 that TI company produces, this single-chip microcomputer service area is 1.8 ~ 3.6V, there is the flash memory of 16kB and the RAM of 512B, there are super low-power consumption and 5 kinds of energy saver modes, under 1MHz frequency and 2.2V voltage conditions, operational mode power consumption is 230 μ A, standby mode only has 0.5 μ A super low-power consumption, 2 built-in 16 bit timing devices, 1 common serial communication interface.
Wireless transmitter is responsible for Wireless Data Transmission in systems in which, and native system adopts the radio frequency chip nRF905 of Nordic company of Norway.Its power consumption is very low, and work in electric current when launching with the output power of-10dBm and only have 11mA, electric current when working in receiving mode is 12.5mA.Built-in idle pulley and shutdown mode, be easy to realize energy-conservation.This chip carries out Wireless data transmission by SPI interface and microcontroller, and utilize the ShockBurst technology of Nordic company and microcontroller to carry out high speed wireless data to transmit and do not need expensive High Speed Microcontroller to carry out data processing, information transmission is at a high speed and reliable.Volume of transmitted data mostly once is most 32B, and maximum transfer speed can reach 100kbps, and emissive power is maximum reaches 10dBm, receives sensitively to be-100dBm to the maximum.Operating voltage is 1.9 ~ 3.6V, the Embedded modules such as power management, crystal oscillator, low noise amplifier, frequency synthesizer power amplifier, do not need additional SAW (Surface Acoustic Wave) filter, Manchester's cde/decode is completed by hardware in sheet, carries out Manchester's cde without the need to user to data.And there is the ShockBurst mode of operation of low-power consumption, and can realize in such a mode automatically processing the function such as prefix, CRC CRC, therefore very easy to use.
NRF905 is operated in 433/868/915MHz tri-frequency ranges, because domestic 433MHz frequency range can freely use, so native system preferably uses 433MHz channel to carry out wireless data communications.The built-in point-to-multipoint delivery address of nRF905 controls, and is applicable to native system teacher node and communicates with each student is internodal.According to this application demand, radio-frequency (RF) receiving and transmission module selects 3.5dBi high-gain aerial.
Serial communication is between the embedded system such as current single-chip microcomputer and DSP, and a kind of extremely important between embedded system and PC or wireless module and the communication mode generally used.To give full play to computing machine and smart machine resources advantage separately.But present computing machine, particularly notebook computer there is no band RS232 serial ports, and adopt USB interface more widely.Communication between serial communication module primary responsibility host node and upper PC.So the communication function that native system adopts USB to turn serial port chip CH340T to be realized between serial port of single chip computer and USB interface of computer.
CH340T in teacher's equipment is a interface conversion and SCM peripheral chip, supports USB2.0.Built-in chip type power supply electrifying reset circuit, built-in independently receives and dispatches buffer zone, supports single work, half-duplex or full duplex asynchronous serial communication, supports odd, even parity check, checkmark, blank check.Serial data comprises 1 low level start bit, 5,6,7 or 8 data bit, 1 or 2 high level position of rests, can realize USB and turn serial ports, expansion computing machine asynchronous serial port and USB and turn the infrared or USB of IrDA and turn the functions such as LPT.The design only turns serial ports as USB and uses, serial ports after changing is full duplex serial ports, built-in receipts and a buffer zone, support that communication baud rate is from 50bps to 2Mbps, serial ports sends the error of baud rate <0.3% of signal, the error of baud rate <2% of serial ports Received signal strength.Its using method is fairly simple.Native system is when host node and upper PC carry out serial communication, and optimum configurations is baud rate 115200,8 bit data positions, 1 position of rest, no parity position.
Input-output unit in student's equipment, comprises light emitting diode (LED) lamp and button, such as, can design four buttons, corresponding A, and B, C, D tetra-options, LED and button match, and are used to refer to the key information of student.
Fig. 4 is the process flow diagram of the communication means of classroom instruction backup system according to the embodiment of the present invention.As shown in Figure 4, the communication means of this classroom instruction backup system comprises:
Step S401: steering order is sent to teacher's equipment according to predetermined first time transmission control command protocols by host computer, wherein, above-mentioned first time transmission control command protocols comprises: the protocol IP start address byte interconnected between instruction type byte, network, IP end address byte, reserved place byte, end mark byte;
Step S403: above-mentioned steering order is sent to multiple student's equipment with equipment according to predetermined second time transmission control command protocols by above-mentioned teacher, wherein, above-mentioned second time transmission control command protocols comprises: guide word, instruction type byte, IP start address byte, IP end address byte, exercise question numbering byte or reserved byte, end mark byte, reserved place byte, CRC byte.
When student's equipment and teacher's equipment transmission data, need the packing and the fractionation that design user-defined format Frame, and formulate corresponding application layer host-host protocol.The invention provides the communication protocol of teacher's node and upper PC, and Frame enables mutual serial communication be correctly identified and read.Devise teacher's node and the internodal communication protocol of student and Frame, enable mutual wireless telecommunications be correctly identified and read.
In preferred implementation process, above-mentioned steering order can be: roll-call instruction, halt instruction or answer instruction etc.
Such as, when steering order is roll-call instruction, first time transmission control command protocols specifically can see table 1.
Table 1
Sequence number 0 1 2 3 4
Function 0x11 IP start address IP end address 0X00 (reservation) 0XFE
Such as, when steering order is halt instruction, first time transmission control command protocols specifically can see table 2.
Table 2
Sequence number 0 1 2 3 4
Function 0x55 IP start address IP end address 0X00 (reservation) 0XFE
Such as, when steering order is answer instruction, first time transmission control command protocols specifically can see table 2.
Table 3
Sequence number 0 1 2 3 4
Function 0x66 IP start address IP end address Exercise question is numbered 0XFE
Such as, when steering order is roll-call instruction, second time transmission control command protocols specifically can see table 4.
Table 4
Such as, when steering order is halt instruction, second time transmission control command protocols specifically can see table 5.
Table 5
Such as, when steering order is answer instruction, second time transmission control command protocols specifically can see table 6.
Table 6
In preferred implementation process, when radio transmitting and receiving chip nRF905 is in emission mode, guide word and CRC (CRC) are loaded automatically by nRF905.When nRF905 is in receiving mode, after receiving packet, automatically process prefix and CRC.
Preferably, after steering order is sent to multiple student's equipment with equipment by above-mentioned teacher, can also comprise: for each above-mentioned student's equipment, judge whether this student is in above-mentioned IP start address byte in the bytes range of IP end address with the unique ip address that equipment is corresponding; With equipment, this student determines that above-mentioned unique ip address is in above-mentioned IP start address byte in the bytes range of IP end address, receive above-mentioned steering order.
In preferred implementation process, address bit is divided into teacher to use equipment physical address, and student uses equipment physical address.Teacher only has one with equipment physical address, physical address 0X50515253, but due to the network system that native system is point-to-points student's node single Teacher's Day, for realizing the function of teacher's node the whole network broadcast, identical physical address 0XE7E7E7E7 is both defined within the physical layer for each student's equipment, in order to distinguish each student's node, be that each student's equipment is assigned with unique IP address in network layer, consider that current school classroom number of student is generally no more than 250 (8 classes), therefore native system IP address adopts 8bit, namely 256 student's nodes can be had at most, satisfy the demands.In specific implementation process, for setting up the one-to-one relationship of student and student's node device efficiently and exactly, before class, student need get student's handheld device of reference numeral according to student number, realize the mapping one by one of student number and IP address, the unique data as check class attendance and answer is originated.Teacher's node is after receiving reply data, judge that the data received are which student's node transmits by IP address, student with equipment by IP address judge steering order that teacher issues with equipment whether to oneself, if not then not receiving.
It should be noted that, teacher with device broadcasts be sent to the roll-call instruction of each student's equipment, teacher issues exercise question instruction and teacher by device broadcasts to each student's node and to be sent in the halt instruction of each student's equipment the 1st by device broadcasts, 2 address byte positions are respectively IP start address and IP end address, and teacher can select whole student or specified portions student to carry out calling the roll accordingly, answer activity.If select whole student, IP start address is the IP address (can be student number) of class first student, and IP end address is the IP address (can be student number) of last student.If selection partial students, the rising of correspondent section student, only IP address only need be inputted.
Preferably, this student with equipment reception above-mentioned steering order after, can also comprise: this student returns first response instruction to above-mentioned teacher with equipment according to the first predetermined response protocol with equipment, wherein, above-mentioned first response protocol comprises: guide word, instruction type byte, this student are by corresponding unique ip address byte, exercise question numbering byte or the reserved byte of equipment, end mark byte, reserved place byte, CRC byte.
Such as, when steering order is roll-call instruction, the first response protocol specifically can see table 7.
Table 7
Such as, when steering order is halt instruction, the first response protocol specifically can see table 8.
Table 8
Such as, when steering order is answer instruction, the first response protocol specifically can see table 9.
Table 9
Preferably, when above-mentioned steering order is answer instruction, after this student to return above-mentioned first response instruction with equipment to above-mentioned teacher with equipment, can also comprise: this student sends answer data to above-mentioned teacher with equipment according to the first predetermined uploading data agreement with equipment, wherein, above-mentioned first uploading data agreement comprises: the unique ip address byte of guide word, instruction type byte, this student's equipment, exercise question numbering byte, answer byte, reserved place byte, CRC byte; Above-mentioned teacher returns second response instruction to this student with equipment according to the second response protocol with equipment, wherein, above-mentioned second response protocol comprises: the unique ip address byte of guide word, instruction type byte, this student's equipment, exercise question numbering byte, end mark byte, CRC byte; The answer data received is sent to host computer with equipment according to the second uploading data agreement by above-mentioned teacher, wherein, above-mentioned second uploading data agreement comprises: the unique ip address byte of instruction type byte, this student's equipment, exercise question numbering byte, answer byte.
Such as, when steering order is answer instruction, student needs to be uploaded to teacher with equipment and uses equipment answer data, and the first uploading data agreement specifically can see table 10.
Table 10
Serve as a teacher when receiving with equipment the answer data that student uploads with equipment, need feedback second to reply, the second response protocol specifically can see table 11.
Table 11
After teacher to receive the answer data that student uploads with equipment with equipment, also need to upload answer data to host computer, the second uploading data agreement specifically can see table 12.
Table 12
Sequence number 0 1 2 3 4
Function 0x66 IP address IP address Exercise question is numbered Answer
Above-mentioned preferred implementation is further described below in conjunction with Fig. 5 and Fig. 6.
For ensureing stability and the high efficiency of system, as shown in Figure 5, when selecting roll-call pattern, student returns ACK with teacher's node sets up communication link to receive the steering order of being sent with equipment by teacher with equipment after, and both sides' node all enters idle condition immediately, and dismounting communication link terminates.As shown in Figure 6, after student to receive the steering order sent with equipment by teacher with equipment, return ACK (being equivalent to above-mentioned first response instruction) during answer pattern set up communication link with teacher's node, student's node sends answer to teacher's node more afterwards, ACK (being equivalent to above-mentioned second response instruction) was returned to student after Teacher's Day, point received answer, both sides' node nRF905 enters idle pulley afterwards, remove communication link, sign off.
It should be noted that, because native system adopts star topology to form small-sized short-distance radio network system, all students carry out radio communication with teacher with equipment with equipment, the channel that may occur current use in wireless communication procedure there is node in transmission information, other nodes also prepare the situation entering channel, will cause conflict like this, native system adopts CSMA/CA agreement for this reason.Namely the method for Carrier Sense Multiple Access decreases the possibility clashed.The principle of work of CSMA/CA technology is: any equipment must first detect current spectral before transmitting data, if current spectral is idle condition, can send data, otherwise enters standby mode and once detect on starting after wait terminates.
Preferably, send after answer data to above-mentioned teacher with equipment with equipment this student, can also comprise: this student judges whether receive above-mentioned second response instruction in the given time with equipment, if not, then again send answer data to above-mentioned teacher with equipment, until receive above-mentioned second response instruction;
Preferably, after steering order is sent to above-mentioned multiple student's equipment with equipment by above-mentioned teacher, can also comprise: above-mentioned teacher judges whether receive above-mentioned first response instruction in the given time with equipment, if not, then again use equipment sending controling instruction to this student, if do not receive above-mentioned first response instruction when time threshold reaches, then determine that this steering order sends unsuccessfully and feeds back to above-mentioned host computer.
If number is reportedly defeated send the situation such as mistake or on-the-spot power failure because disturbing, each equipment then can not receive the response message of passback, is to ensure reliable communications, and native system sets data re-transmitting mechanism when teacher's equipment and student's devices communicating.Serve as a teacher when receiving with equipment the data that student uploads with equipment and need to reply to student's node ACK answer signal in time, student's node receives ACK and shows that data upload completes, otherwise carries out data re-transmitting, until receive ACK.Equally also can reply to teacher's node reverts back ACK when student's node receives the steering order that teacher's node issues, with this signal, teacher's node judges that student's node receives steering order, if, do not retransmit, but teacher's node does not still receive ACK after 5s, then think that this steering order sends unsuccessfully, teacher's node thinks that this student's node is made mistakes, and feeds back to upper PC.
The communication protocol of each ingredient in above-mentioned classroom instruction backup system, both each ingredient is mutual in guarantee system wireless communication data can be correctly identified and read, also do not consume unnecessary bandwidth resources.
The preferred implementation of the communication means of classroom instruction backup system is further described below in conjunction with Fig. 7 to Fig. 9.
Fig. 7 is the main program flow chart of host computer according to the preferred embodiment of the invention.As shown in Figure 7, the master routine of this host computer comprises:
Step S701: master system initialization.
Step S703: host computer opens RS232 serial ports.
Step S705: host computer receives data.
Step S707: host computer judges whether teacher sends instructions down, if so, performs step S709, otherwise, return and perform step S705.
Step 709: host computer issues steering order to teacher's equipment, returns afterwards and performs step S705.
Host computer (PC) master routine mainly completes the reception of each student's device data, analysis and storage.Assign the steering order coming from teacher with equipment Xiang teacher.
Fig. 8 is the main program flow chart of teacher's equipment according to the preferred embodiment of the invention.As shown in Figure 8, the master routine of this teacher's equipment comprises:
Step S801: teacher uses device systems initialization.
Step S803: wireless data sending chip nRF905 initialization.
Step S805: timer initialization.
Step S807: serial ports initialization.
Step S809: teacher is in idle condition with equipment.
Step S811: judge whether host computer issues steering order, if so, performs step S813, otherwise, perform step S809.
Step S813: the steering order that teacher issues with equipment reception host computer.
Step S815: teacher is switched to corresponding pattern with equipment according to the steering order received.
Teacher mainly completes the data receiving and each student's equipment transmits with equipment master routine, and carry out serial communication with host computer (PC), instruction is handed down to corresponding student's equipment when upper PC issues steering order, teacher is the tie between upper PC and student's equipment with equipment.
In preferred implementation process, the wherein communication process of teacher's equipment and student's equipment, mainly as follows: native system for the setting of teacher's equipment is idle, call the roll, call the roll after wait for ACK, issue exercise question, issue exercise question after wait for that ACK, answer and answer terminate 7 kinds of states.When serving as a teacher selected element name pattern, instruction is handed down to teacher's equipment by upper PC, teacher is become " roll-call state " from " idle condition " with equipment, " roll-call instruction " is sent by device broadcasts to all students, student receives this steering order with equipment and returns ACK response immediately, teacher with equipment according to this ACK answer signal judge whether all students with equipment all on line, and by data feedback give upper PC, teacher can according to the data statistics student fed back to class rate.
Serve as a teacher when selecting answer pattern, teacher needs on upper PC, input exercise question numbering, now upper PC response operation of teacher, can be also that all students carry out answer according to actual conditions setting, or specified portions student or single classmate answer a question.The steering order of " issuing exercise question " is handed down to teacher's equipment by upper PC, teacher is become from " idle condition " " issuing exercise question state " with equipment, first student carries out IP address and judges after receiving steering order with equipment, if within the scope of the answer student that this student specifies teacher with equipment, receive instruction, carry out answer by student.If do not exist, do not receive this instruction.The answer upload that student inputs with equipment by student is to teacher's equipment, teacher with equipment every the schedule time (such as, the data once receiving and receive 10s) are uploaded to upper PC, or in real time to upper PC uploading data, whether teacher will stop answer with environment inquiry host computer.If teacher does not issue all the time " halt instruction ", so automatically enter stop mode afterwards entering the answer pattern schedule time (such as, 5 minutes).
Serve as a teacher after selecting stop mode or system automatically to enter stop mode, teacher will receive after data that student's equipment transmits are uploaded to upper PC after packing arranges with equipment, teacher's equipment and student enter idle condition with equipment, monitor the transmission of this channel data, the PC control instruction that wait-receiving mode is new.
Fig. 9 is the main program flow chart of student's equipment according to the preferred embodiment of the invention.As shown in Figure 9, the master routine of this student's equipment comprises:
Step S901: student uses device systems initialization.
Step S903: the wireless data sending chip nRF905 initialization of student's equipment.
Step S905: timer initialization.
Step S907: input through keyboard.
Step S909: student is in idle condition with equipment.
Step S911: judge whether student receives the steering order of teacher's equipment with equipment.
Step S913: determine whether the data of this student by IP address of equipment.If so, perform step S915, otherwise perform step S907.
Step S915: student preserves the data received with equipment.
Step S917: student determines whether roll-call instruction with equipment.If so, step S919 is performed, otherwise, perform step S925.
Step S919: whether monitoring carrier wave channel is idle, if so, performs step S921, otherwise, continue monitoring carrier wave channel.
Step S921: student returns ACK response to teacher with equipment with equipment.
Step S923: student switches to idle condition with equipment.
Step S925: student determines whether answer instruction with equipment.If so, step S927 is performed, otherwise, perform step S939.
Step S927: whether monitoring carrier wave channel is idle, if so, performs step S929, otherwise, continue monitoring carrier wave channel.
Step S929: student returns ACK response to teacher with equipment with equipment.
Step S931: student obtains student's answer with equipment.
Step S933: whether monitoring carrier wave channel is idle, if so, performs step S935, otherwise, continue monitoring carrier wave channel.
Step S935: student with equipment by answer upload to teacher's equipment.
Step S937: student is switched to idle condition with equipment.
Step S939: student determines whether halt instruction with equipment.If so, step S941 is performed, otherwise, perform step S907.
Step S941: whether monitoring carrier wave channel is idle, if so, performs step S943, otherwise, continue monitoring carrier wave channel.
Step S943: student returns ACK response to teacher with equipment with equipment.
Step S945: student is switched to idle condition with equipment.
Student receives the answer information of student with equipment primary responsibility, and by data upload to teacher's equipment.For system power consumption is considered, be operated in idle condition after student's device initialize, wait instruction.NRF905 has the special pin CD for carrier monitoring, and when there being the carrier wave of same frequency to exist in transmission medium, CD pin will export high level.
In order to the correctness of verification system scheme, in the system of example, 10 student's equipment are set, 1 teacher's equipment and 1 upper PC.Each equipment carries out IP address number in order.Upper PC adopts serial ports and teacher to transmit with device data, and teacher adopts wireless transmission and each student's devices communicating with equipment.Communication distance ward is about 100 meters.Upper PC sends steering order, and student accurately can receive data with equipment in 1S, realizes controlling the states such as roll-call, answer, stopping in real time and switches.10 students can complete accurately uploading of answer with equipment in 1S simultaneously, and upper PC can giving a mark with hall examination to every classmate.For the design, this time delay can be ignored.This system continuous working 24 hours, controlling of sampling normal operation, possesses reliable and stable advantage.
In sum, by above-described embodiment provided by the invention, with MSP430 single-chip microcomputer for core, in conjunction with NRF905 wireless communication designs based on the classroom instruction backup system of NRF905, program operational excellence, reliability is high, can realize the real-time roll-call work attendance to multiple student, with the answer of hall course and the score of the examination.Further, the invention allows for the communication protocol of each ingredient in above-mentioned classroom instruction backup system, both each ingredient is mutual in guarantee system wireless communication data can be correctly identified and read, and also do not consume unnecessary bandwidth resources.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. a classroom instruction backup system, is characterized in that, comprising:
Multiple student's equipment, each student includes with equipment: the first wireless transmitter, first microcontroller, input-output unit, wherein, the data coming from student collected by described first microcontroller via described input-output unit, and are sent to teacher's equipment via described first wireless transmitter;
Described teacher's equipment, comprise: the second wireless transmitter, second microcontroller, USB turn serial port device, wherein, described second microcontroller receives via the second wireless transmitter and comes from the data of described first wireless transmitter, and turns serial port device via the serial ports of the second microcontroller and described USB and send to host computer;
Host computer, comprise: USB interface, wherein, described USB interface turns serial port device with the described USB of described teacher's equipment and is connected, described host computer receives the described data coming from described teacher's equipment via described USB interface, carry out process and Graphics Processing result to described data.
2. system according to claim 1, is characterized in that,
Described host computer, also uses equipment sending controling instruction via described USB interface to described teacher;
Described teacher's equipment, also turns serial port device via described USB and receives the steering order coming from described host computer, and via described second wireless transmitter, described steering order is sent to described multiple student's equipment;
Described multiple student's equipment, also receives via described first wireless transmitter the described steering order coming from described teacher's equipment.
3. system according to claim 1, is characterized in that, described in each, student all also comprises with equipment: the first direct supply, and described teacher also comprises with equipment: the second direct supply.
4. system according to claim 1, is characterized in that, described first wireless transmitter comprises: radio frequency chip nRF905; First microcontroller is single-chip microcomputer MSP430; Input-output unit comprises: LED lamp, button.
5. system according to claim 1, is characterized in that, described second wireless transmitter comprises: radio frequency chip nRF905; Second microcontroller is single-chip microcomputer MSP430; Described USB turns serial port device and comprises: USB turns serial port chip CH304.
6. as described in the communication means of classroom instruction backup system according to any one of claim 1 to 5, it is characterized in that,
Steering order is sent to teacher's equipment according to predetermined first time transmission control command protocols by host computer, wherein, described first time transmission control command protocols comprises: the protocol IP start address byte interconnected between instruction type byte, network, IP end address byte, reserved place byte, end mark byte;
Described steering order is sent to multiple student's equipment with equipment according to predetermined second time transmission control command protocols by described teacher, wherein, described second time transmission control command protocols comprises: guide word, instruction type byte, IP start address byte, IP end address byte, exercise question numbering byte or reserved byte, end mark byte, reserved place byte, CRC byte.
7. method according to claim 6, is characterized in that, after steering order is sent to multiple student's equipment with equipment by described teacher, also comprises:
For each described student's equipment, judge whether this student is in described IP start address byte in the bytes range of IP end address with the unique ip address that equipment is corresponding;
With equipment, this student determines that described unique ip address is in described IP start address byte in the bytes range of IP end address, receive described steering order.
8. method according to claim 7, is characterized in that, this student with equipment reception described steering order after, also comprise:
This student returns first response instruction to described teacher with equipment according to the first predetermined response protocol with equipment, wherein, described first response protocol comprises: guide word, instruction type byte, this student are by corresponding unique ip address byte, exercise question numbering byte or the reserved byte of equipment, end mark byte, reserved place byte, CRC byte.
9. method according to claim 8, is characterized in that, when described steering order is answer instruction, after this student to return described first response instruction with equipment to described teacher with equipment, also comprises:
This student sends answer data to described teacher with equipment according to the first predetermined uploading data agreement with equipment, wherein, described first uploading data agreement comprises: the unique ip address byte of guide word, instruction type byte, this student's equipment, exercise question numbering byte, answer byte, reserved place byte, CRC byte;
Described teacher returns second response instruction to this student with equipment according to the second response protocol with equipment, wherein, described second response protocol comprises: the unique ip address byte of guide word, instruction type byte, this student's equipment, exercise question numbering byte, end mark byte, CRC byte;
The answer data received is sent to host computer with equipment according to the second uploading data agreement by described teacher, wherein, described second uploading data agreement comprises: the unique ip address byte of instruction type byte, this student's equipment, exercise question numbering byte, answer byte.
10. method according to claim 9, is characterized in that,
Send after answer data to described teacher with equipment with equipment this student, also comprise: this student judges whether receive described second response instruction in the given time with equipment, if not, then again send answer data to described teacher with equipment, until receive described second response instruction;
After steering order is sent to described multiple student's equipment with equipment by described teacher, also comprise:
Described teacher judges whether receive described first response instruction in the given time with equipment, if not, then again use equipment sending controling instruction to this student, if do not receive described first response instruction when time threshold reaches, then determine that this steering order sends unsuccessfully and feeds back to described host computer.
CN201510695512.9A 2015-10-22 2015-10-22 Classroom instruction accessory system and its communication means Active CN105160956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695512.9A CN105160956B (en) 2015-10-22 2015-10-22 Classroom instruction accessory system and its communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695512.9A CN105160956B (en) 2015-10-22 2015-10-22 Classroom instruction accessory system and its communication means

Publications (2)

Publication Number Publication Date
CN105160956A true CN105160956A (en) 2015-12-16
CN105160956B CN105160956B (en) 2017-08-29

Family

ID=54801792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695512.9A Active CN105160956B (en) 2015-10-22 2015-10-22 Classroom instruction accessory system and its communication means

Country Status (1)

Country Link
CN (1) CN105160956B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105957408A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for oral practice of student in classroom
CN105957406A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for oral feedback of student in classroom
CN105957416A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for classroom student interaction assessment
CN106228788A (en) * 2016-08-31 2016-12-14 张志军 A kind of input equipment for multimedia teaching
CN106652617A (en) * 2016-11-15 2017-05-10 武汉瑞纳捷电子技术有限公司 Electronic answering device configuration data wireless loading apparatus and method
CN108577190A (en) * 2018-05-08 2018-09-28 重庆医药高等专科学校 Interactive learning dais for English teaching
CN110111615A (en) * 2019-04-09 2019-08-09 广西俊锦科技有限公司 Multimedia education system
CN110299040A (en) * 2019-05-14 2019-10-01 深圳小西科技有限公司 A kind of word-forming method, word-forming slave and word spelling system
CN110944049A (en) * 2019-11-29 2020-03-31 苏州维伟思医疗科技有限公司 Training device control method, teacher terminal and training device
CN111830868A (en) * 2020-07-01 2020-10-27 孙安萍 Functional module, communication method and calorimeter applying functional module
CN112183690A (en) * 2020-09-30 2021-01-05 深圳市快易典教育科技有限公司 Integrated learning management method and system for teaching and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295434A (en) * 2012-11-15 2013-09-11 李亦文 Interactive experience type education system
KR20130124694A (en) * 2012-05-07 2013-11-15 이화여자대학교 산학협력단 Apparatus, system and method for assisting practical lectures
US20140205984A1 (en) * 2013-01-22 2014-07-24 Desire2Learn Incorporated Systems and methods for monitoring learner engagement during a learning event
CN104106106A (en) * 2012-01-04 2014-10-15 马维尔国际贸易有限公司 Method and apparatus for wirelessly managing classroom environment
CN104392635A (en) * 2014-12-17 2015-03-04 南京化工职业技术学院 Interactive informationization teaching system
CN205318658U (en) * 2015-10-22 2016-06-15 北京石油化工学院 Classroom teaching auxiliary system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106106A (en) * 2012-01-04 2014-10-15 马维尔国际贸易有限公司 Method and apparatus for wirelessly managing classroom environment
KR20130124694A (en) * 2012-05-07 2013-11-15 이화여자대학교 산학협력단 Apparatus, system and method for assisting practical lectures
CN103295434A (en) * 2012-11-15 2013-09-11 李亦文 Interactive experience type education system
US20140205984A1 (en) * 2013-01-22 2014-07-24 Desire2Learn Incorporated Systems and methods for monitoring learner engagement during a learning event
CN104392635A (en) * 2014-12-17 2015-03-04 南京化工职业技术学院 Interactive informationization teaching system
CN205318658U (en) * 2015-10-22 2016-06-15 北京石油化工学院 Classroom teaching auxiliary system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105957408A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for oral practice of student in classroom
CN105957406A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for oral feedback of student in classroom
CN105957416A (en) * 2016-06-30 2016-09-21 深圳市采集科技有限公司 Measuring method and system for classroom student interaction assessment
CN106228788A (en) * 2016-08-31 2016-12-14 张志军 A kind of input equipment for multimedia teaching
CN106652617A (en) * 2016-11-15 2017-05-10 武汉瑞纳捷电子技术有限公司 Electronic answering device configuration data wireless loading apparatus and method
CN108577190A (en) * 2018-05-08 2018-09-28 重庆医药高等专科学校 Interactive learning dais for English teaching
CN110111615A (en) * 2019-04-09 2019-08-09 广西俊锦科技有限公司 Multimedia education system
CN110299040A (en) * 2019-05-14 2019-10-01 深圳小西科技有限公司 A kind of word-forming method, word-forming slave and word spelling system
CN110944049A (en) * 2019-11-29 2020-03-31 苏州维伟思医疗科技有限公司 Training device control method, teacher terminal and training device
CN111830868A (en) * 2020-07-01 2020-10-27 孙安萍 Functional module, communication method and calorimeter applying functional module
CN112183690A (en) * 2020-09-30 2021-01-05 深圳市快易典教育科技有限公司 Integrated learning management method and system for teaching and electronic equipment

Also Published As

Publication number Publication date
CN105160956B (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN105160956A (en) Classroom teaching auxiliary system and communication method thereof
CN201927209U (en) Student response system based on wireless communication
CN103175286B (en) Be applicable to conditioner and the remote control thereof thereof of operation by blind
WO2019184057A1 (en) Student terminal and interactive classroom question answering system
CN102497648B (en) Device and method for achieving remote debugging
CN205318658U (en) Classroom teaching auxiliary system
CN103366540B (en) Wireless network dynamic route kilowatt meter reading-out system and meter register method thereof
CN203178949U (en) Wireless touch screen control system
CN202042049U (en) Zigbee wireless learning infrared transponder
CN204666186U (en) Based on the storage environment monitoring system of wireless network
CN103596300A (en) Wireless router, wireless communication method and wireless communication system of local area network
CN106775002A (en) Smart pen, control method and device, interactive device, exchange method and system
CN206021633U (en) classroom interaction networking control system based on wireless technology
CN203397543U (en) A portable wireless teaching terminal
CN202383740U (en) Handheld wireless terminal-based judge scoring system
CN103139929A (en) Wireless interlinking technique applied to intelligent housing system
CN107807889A (en) A kind of method of USB device and USB device driving initialization
CN103751998A (en) Intelligent efficient crawl training system and method
CN102799933A (en) Intelligent card based on Internet of things and control method of intelligent card
CN202929469U (en) Solar remote monitoring system based on ZigBee network
CN205486064U (en) Serial port communication debug system
CN207216602U (en) A kind of network multiple single chip microcomputer once brush machine system
CN203894971U (en) Electronic answering system based on ZigBee protocol
CN203386477U (en) Wireless U disk system
CN202587527U (en) System with network controlled power supply switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant