CN106844667A - A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements - Google Patents

A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements Download PDF

Info

Publication number
CN106844667A
CN106844667A CN201710051907.4A CN201710051907A CN106844667A CN 106844667 A CN106844667 A CN 106844667A CN 201710051907 A CN201710051907 A CN 201710051907A CN 106844667 A CN106844667 A CN 106844667A
Authority
CN
China
Prior art keywords
mobile terminal
mqtt
examination question
student
teacher
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
CN201710051907.4A
Other languages
Chinese (zh)
Other versions
CN106844667B (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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201710051907.4A priority Critical patent/CN106844667B/en
Publication of CN106844667A publication Critical patent/CN106844667A/en
Application granted granted Critical
Publication of CN106844667B publication Critical patent/CN106844667B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • 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

Abstract

A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements disclosed by the invention, teacher sends test question information by the teacher side in mobile device with JSON forms, student side in mobile device is distributed to by MQTT servers, student side is received after examination question, answered and result is sent to teacher side again by MQTT servers, teacher is received student and answered and scored after result.The method of the present invention, during examination question is distributed and answered, if examination question or result of answering are picture format, needs to be uploaded to special file server, or downloaded from file server;Examination question distribute, examination question answer and Item evaluation during produce related data, be all uploaded in special data statistics server, whole statistics therein, all meet xAPI education big data standard.

Description

A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements
Technical field
The present invention relates to classroom instruction field, more particularly to a kind of mobile terminal examination question based on MQTT agreements is distributed and is answered Method.
Background technology
With the fast development of mobile terminal and mobile Internet, the digitlization of school classroom is popularized therewith, relative to biography The teaching method of system, uses mobile terminal as educational aid on classroom, can greatly improve the efficiency of many teaching links, its In it is very representative be exactly examination question distribution and link of answering.Teacher only needs to set exercise question on mobile terminal, distribution To student, student can be answered immediately, and result is fed back to teacher, and record answer knot, for analyzing and counting.
This is the perfect condition reached desired by a kind of people at present, not a kind of very ripe in actual applications Way meets the demand of people.
The content of the invention
Shortcoming and deficiency it is an object of the invention to overcome prior art, there is provided a kind of mobile terminal based on MQTT agreements Examination question distributes the method with answering.
The purpose of the present invention is realized by following technical scheme:
A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements, comprises the following steps:
S1, teacher log in the teacher side application in mobile terminal, log in MQTT servers, and using MQTT protocol encapsulations storehouse, Subscribe to " school " theme;
Student side application in S2, student login mobile terminal, logs in MQTT servers, using MQTT protocol encapsulations storehouse, orders Read " teacher " theme;
S3, teacher's selection exercise question, JSON forms are encapsulated as by topic information, and it is main that JSON texts are distributed into " school " Topic (being distributed to all students), at the same the data that will distribute produced by examination question link (including theme person, content of setting a question are set a question The data such as time), data acquisition server is uploaded to xAPI reference formats;
After S4, student receive the exercise question of JSON forms, parsed, be reduced to former exercise question, represented to student side interface, For learner answering questionses;
After S5, learner answering questionses are finished, object information on the one hand is encapsulated as into JSON forms, and to be distributed to " teacher " theme (i.e. anti- Feed teacher), on the other hand by the data (including answerer, answer the data such as result, duration of answering) produced by link of answering Data acquisition server is uploaded to xAPI reference formats;
After S6, teacher side receive the JSON texts of the result of answering of student, parsed, be reduced to the knot that student answers Really, represent to teacher side interface, answered situation for instructor view student, and scored;
In S7, the database of data acquisition server, with all data that xAPI standards are preserved, according to different demands, open Send out interface various, check all information of setting a question, information of answering, score information for student side or teacher side or other are more complicated Data.
In step S1 and S2, the login MQTT servers need to be using MQTT in the encapsulation storehouse of each mobile terminal, while setting Parameter, the parameter includes server ip, port numbers, user name, password, heart time, time-out time;After logging in successfully, need Set up background message monitoring mechanism, the message that wait-for-response MQTT servers are sent to.
In step S3, the exercise question has two kinds of generating modes:One kind is to use Office correlation plug-in units or other third parties Examination question edit tool and the text data on exercise question that generates, another is to use mobile terminal screenshotss function or work(of taking pictures The picture format that can be formed.
If the exercise question text formatting, it is directly encapsulated as the transmission of JSON forms;If the exercise question picture format, Then need to build a file server in addition, first by files passe to server, and obtain picture after the URL of server, incite somebody to action URL sends in being encapsulated into JSON.
The form of the text data is XML or JSON.
In step S4, if the exercise question picture format, then need first according to the picture URL for receiving, picture is taken from file Downloaded in business device.
In step S5, if the exercise question objective item (including True-False, multiple-choice question) is direct after student answers and finishes, Directly result of answering is shown in student side;If student answers, result is picture format, is needed first by files passe to server, and Picture is obtained after the URL of server, URL is encapsulated into JSON and is sent.
The teacher side allows teacher to force all students to submit result of answering to;Directly show if entitled objective item simultaneously Show answer result and the fraction for having been filed on student;If subjective item, then teacher is allowed to be scored immediately, and appraisal result is sent out Deliver to response student;It is final no matter subjective item or objective item, be required for a scores to be uploaded to clothes with xAPI reference formats Business device;Meanwhile, if the result that student answers is picture format, need first according to the picture URL for receiving, by picture from file service Downloaded in device.
In step S7, the data acquisition server using non-relational database data storage (including Redis, MongoDB)。
The mobile terminal includes Android device, WP equipment or iOS device.
The present invention compared with prior art, has the following advantages that and beneficial effect:
1st, MQTT (Message Queuing Telemetry Transport) agreement of the present invention, is IBM institutes A kind of instant communication protocol based on publish/subscribe model of exploitation, the agreement has the characteristics that:
Transmission very light weight, the length of its fixing head only has two bytes, and relatively more power saving saves flow.
Itself supports one-to-many transmission pattern.
The Qos fields of its head, it is ensured that the number of times of message transmission, and its Testament, Last Will characteristics The abnormal interrupt of client can be notified, this all makes its relatively reliable.
As can be seen here, MQTT agreements are particularly suitable for working in that number of devices is more, and equipment computing capability is relatively low, network environment Under more unstable one-to-many scene.Therefore use the agreement to distribute the basic agreement right and wrong of examination question to student as teacher in classroom Often preferably.
2nd, xAPI (Experience API) is counted for education is big by what the U.S. " advanced distributed learning " tissue was issued According to a series of data format standard formulated.This standard pin is to education sector, it is intended to solve education sector big data Data interoperability, standard data format, the problems such as data, services extend.Own in examination question statistics and analysis part of the present invention The data of collection, defer to xAPI standards completely.
3rd, due to using MQTT agreements as communications protocol, this programme has all advantages of MQTT agreements, for example, save Flow, saves electricity, simply, easily extension etc..
4th, using xAPI standards, the standard pin solves the problems of education big data to education sector, also allow for Other have used the system rapid abutting joint of the standard.
5th, various examination question forms are supported, the text class examination question with XML or JSON as form is not only supported, while also supports figure The examination question of piece form.
6th, backstage statistical information uses non-relational database, on the one hand, for this kind of mass data, non-relational data Storehouse execution efficiency is higher, and is easy to use Hadoop etc. and carries out big data calculating.Another aspect xAPI standards in itself can be with base In JSON, it is well suited for using non-relational database.
Brief description of the drawings
Fig. 1 is the flow chart of a kind of mobile terminal examination question distribution based on MQTT agreements of the present invention and the method answered.
Fig. 2 is the hardware structure figure for implementing Fig. 1 methods describeds.
Specific embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited In this.
Such as Fig. 1,2, a kind of mobile terminal examination question distribution and the method answered based on MQTT agreements are comprised the steps of:
S1, teacher side application log in MQTT servers, subscribe to " teacher " topic, and begin listening for from MQTT servers Message.
S2, student side application log in MQTT servers, subscribe to " whole students " topic, and begin listening for being serviced from MQTT The message of device.
If the examination question that S3, teacher send is picture format, examination question picture need to be uploaded to file server first.Otherwise jump To S5.
S4, teacher side receive the URL paths of the examination question picture of picture servers return.
Test question information is distributed to " whole students " topic by S5, teacher side with JSON forms.
S6, student side receive the examination question of JSON forms, and carry out parsing and examination question represents.
If the examination question of S7, teacher side distribution is picture format, student side then initiates download figure picture to file server please Ask.Otherwise skip to S9.
S8, student side receive the URL paths of the examination question picture of picture servers return.
S9, student answer.
Examination question distribution information is uploaded to data statistics server by S10, teacher side.
If the result that S11, student answer is picture format, uploads student and answer picture to file server, otherwise jump To S12.
The student that S12, student side receive picture servers return answers the URL paths of picture.
The information of answering is distributed to " teacher " topic by S13, student side.
S14, teacher receive student and answer result.
If the student that S15, teacher side are received answers, result is picture format, initiates to download student's work to file server The request of picture pic is answered, S16 is otherwise skipped to.
The student that S16, teacher side receive picture servers return answers the URL paths of picture.
The information of answering of student is uploaded to data statistics server by S17, student side.
S18, instructor view student answer result, and score.
S19, teacher's score information is uploaded to data statistics server.
S20, student side are initiated to ask to data statistics server, check all kinds of statisticses.
S21, student side receive the result after data statistics server is counted.
S22, teacher side are initiated to ask to data statistics server, check all kinds of statisticses.
S23, teacher side receive the result after data statistics server is counted.
Above-described embodiment is the present invention preferably implementation method, but embodiments of the present invention are not by above-described embodiment Limitation, it is other it is any without departing from Spirit Essence of the invention and the change, modification, replacement made under principle, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (10)

1. a kind of mobile terminal examination question distribution and the method answered based on MQTT agreements, it is characterised in that comprise the following steps:
S1, teacher log in the teacher side application in mobile terminal, log in MQTT servers, and using MQTT protocol encapsulations storehouse, subscribe to " school " theme;
Student side application in S2, student login mobile terminal, logs in MQTT servers, using MQTT protocol encapsulations storehouse, subscribes to " religion Teacher " theme;
S3, teacher's selection exercise question, JSON forms are encapsulated as by topic information, and JSON texts are distributed into " school " theme, The data produced by examination question link will be distributed simultaneously, data acquisition server is uploaded to xAPI reference formats;
After S4, student receive the exercise question of JSON forms, parsed, be reduced to former exercise question, represented to student side interface, for learning It is raw to answer;
After S5, learner answering questionses are finished, object information is on the one hand encapsulated as JSON forms and is distributed to " teacher " theme, on the other hand The data answered produced by link are uploaded to data acquisition server with xAPI reference formats;
After S6, teacher side receive the JSON texts of the result of answering of student, parsed, be reduced to the result that student answers, opened up Now to teacher side interface, answered situation for instructor view student, and scored;
In S7, the database of data acquisition server, with all data that xAPI standards are preserved, according to different demands, exploitation is each Interface is planted, all information of setting a question, information of answering, score information or other data are checked for student side or teacher side.
2. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that step In rapid S1 and S2, the login MQTT servers need to be using MQTT in the encapsulation storehouse of each mobile terminal, while arrange parameter, described Parameter includes server ip, port numbers, user name, password, heart time, time-out time;After logging in successfully, backstage need to be set up and disappeared Breath monitoring mechanism, the message that wait-for-response MQTT servers are sent to.
3. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that step In rapid S3, the exercise question has two kinds of generating modes:One kind is to use Office correlation plug-in units or other third party's examination question editor's works The text data on exercise question for having and generating, another is formed using mobile terminal screenshotss function or camera function Picture format.
4. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 3, it is characterised in that institute If stating exercise question text formatting, it is directly encapsulated as the transmission of JSON forms;If the exercise question picture format, then need to take in addition A file server is built, first by files passe to server, and picture is obtained after the URL of server, URL is encapsulated into Sent in JSON.
5. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 3, it is characterised in that institute The form for stating text data is XML or JSON.
6. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that step In rapid S4, if the exercise question picture format, then need first according to the picture URL for receiving, picture is downloaded from file server Get off.
7. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that step In rapid S5, if the exercise question objective item is direct after student answers and finishes, directly result of answering is shown in student side;If learning Life answers result for picture format, then need first by files passe to server, and obtain picture after the URL of server, by URL It is encapsulated into transmission in JSON.
8. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that institute Stating teacher side allows teacher to force all students to submit result of answering to;Directly displayed if entitled objective item simultaneously and have been filed on learning Raw answer result and fraction;If subjective item, then allow teacher to be scored immediately, and appraisal result is sent to response It is raw;It is final no matter subjective item or objective item, be required for a scores to be uploaded onto the server with xAPI reference formats;Meanwhile, If the result that student answers is picture format, need first according to the picture URL for receiving, under picture is downloaded from file server Come.
9. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that step In rapid S7, the data acquisition server uses non-relational database data storage.
10. the mobile terminal examination question based on MQTT agreements distributes the method with answering according to claim 1, it is characterised in that The mobile terminal includes Android device, WP equipment or iOS device.
CN201710051907.4A 2017-01-20 2017-01-20 MQTT protocol-based mobile terminal test question distribution and answering method Expired - Fee Related CN106844667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710051907.4A CN106844667B (en) 2017-01-20 2017-01-20 MQTT protocol-based mobile terminal test question distribution and answering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710051907.4A CN106844667B (en) 2017-01-20 2017-01-20 MQTT protocol-based mobile terminal test question distribution and answering method

Publications (2)

Publication Number Publication Date
CN106844667A true CN106844667A (en) 2017-06-13
CN106844667B CN106844667B (en) 2020-06-19

Family

ID=59119671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710051907.4A Expired - Fee Related CN106844667B (en) 2017-01-20 2017-01-20 MQTT protocol-based mobile terminal test question distribution and answering method

Country Status (1)

Country Link
CN (1) CN106844667B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616584A (en) * 2018-04-19 2018-10-02 华南师范大学 A kind of wisdom classroom collecting method and system based on xAPI
CN108897507A (en) * 2018-05-02 2018-11-27 华南理工大学 A kind of synchronizing white display methods and system based on Android end wisdom classroom
CN109243225A (en) * 2018-10-23 2019-01-18 安徽慧视金瞳科技有限公司 A kind of intelligent Teaching System and method based on cloud
CN109800244A (en) * 2019-01-17 2019-05-24 恒峰信息技术有限公司 A kind of online testing data processing method and system
CN110247941A (en) * 2018-03-09 2019-09-17 鸿合科技股份有限公司 The method and system of switching terminal use state
CN110473437A (en) * 2018-05-11 2019-11-19 鸿合科技股份有限公司 A kind of method and apparatus set a question of taking pictures
CN110941653A (en) * 2019-12-19 2020-03-31 北京大米未来科技有限公司 Data processing method, device, storage medium and terminal
CN111385346A (en) * 2019-04-12 2020-07-07 鸿合科技股份有限公司 Interactive answer method, client and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682640A (en) * 2012-05-17 2012-09-19 江苏中科梦兰电子科技有限公司 Electronic lesson test system and test method
CN105099882A (en) * 2015-07-09 2015-11-25 杭州电子科技大学 MQTT-based cloud pushing method and system
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services
US20160337465A1 (en) * 2015-05-15 2016-11-17 Cisco Technology, Inc. Multi-datacenter message queue

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682640A (en) * 2012-05-17 2012-09-19 江苏中科梦兰电子科技有限公司 Electronic lesson test system and test method
US20160337465A1 (en) * 2015-05-15 2016-11-17 Cisco Technology, Inc. Multi-datacenter message queue
CN105099882A (en) * 2015-07-09 2015-11-25 杭州电子科技大学 MQTT-based cloud pushing method and system
CN105577780A (en) * 2015-12-21 2016-05-11 武汉理工大学 College teaching cloud platform based on micro services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨鹏: "基于MQTT协议的信息推送平台系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247941A (en) * 2018-03-09 2019-09-17 鸿合科技股份有限公司 The method and system of switching terminal use state
CN110247941B (en) * 2018-03-09 2022-12-13 鸿合科技股份有限公司 Method and system for switching use state of terminal
CN108616584A (en) * 2018-04-19 2018-10-02 华南师范大学 A kind of wisdom classroom collecting method and system based on xAPI
CN108897507A (en) * 2018-05-02 2018-11-27 华南理工大学 A kind of synchronizing white display methods and system based on Android end wisdom classroom
CN108897507B (en) * 2018-05-02 2021-11-23 华南理工大学 Whiteboard synchronous display method and system based on android intelligent classroom
CN110473437A (en) * 2018-05-11 2019-11-19 鸿合科技股份有限公司 A kind of method and apparatus set a question of taking pictures
CN109243225A (en) * 2018-10-23 2019-01-18 安徽慧视金瞳科技有限公司 A kind of intelligent Teaching System and method based on cloud
CN109800244A (en) * 2019-01-17 2019-05-24 恒峰信息技术有限公司 A kind of online testing data processing method and system
CN111385346A (en) * 2019-04-12 2020-07-07 鸿合科技股份有限公司 Interactive answer method, client and electronic equipment
CN110941653A (en) * 2019-12-19 2020-03-31 北京大米未来科技有限公司 Data processing method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN106844667B (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN106844667A (en) A kind of mobile terminal examination question method of the distribution with answering based on MQTT agreements
Grönlund et al. A mobile e-learning environment for developing countries: The Bangladesh virtual interactive classroom
US20080225757A1 (en) Web-based interactive learning system and method
US20030034999A1 (en) Enhancing interactive presentations
CN108616584A (en) A kind of wisdom classroom collecting method and system based on xAPI
CN103473297A (en) Multimedia question-answering system and method based on intelligent mobile terminal
Kumar et al. The virtual learning environment system
CN106971635A (en) A kind of teaching, training method and system
CN107517240A (en) Intelligent terminal online education platform
CN111338865A (en) Test method, test device and computer readable storage medium
CN105225560A (en) System and the method thereof of on-line study are provided in mobile learning environment
CN108766078A (en) A kind of multiple terminals distance education and training system and method
CN112185197A (en) Fusion education system based on cloud platform
Jevremovic et al. IP addressing: problem-based learning approach on computer networks
Li et al. Design of distance education system for ideological and political courses of electronic engineering specialty based on big data
Schön et al. MobileQuiz-a lecture survey tool using smartphones and QR tags
Leelathakul et al. Quantitative effects of using Facebook as a learning tool on students' performance
Kühbeck et al. OnlineTED. com− a novel web-based audience response system for higher education. A pilot study to evaluate user acceptance
JP2016040591A (en) Learning ability development system using smart phone
Suanpang The development IPTV to mobile IPTV: Implications for teaching and learning
CN107909874A (en) A kind of multimedia interaction tutoring system and its implementation
CN109963088A (en) Live network broadcast method, apparatus and system based on augmented reality AR
Yu et al. The design and implementation of a mobile Massive Open Online Courses platform
Premadasa et al. Two-way text messaging: an interactive mobile learning environment in higher education
CN110008356B (en) Error correction book generation system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Lu Lu

Inventor after: Gu Shaoyuan

Inventor after: Jia Jianye

Inventor before: Lu Lu

Inventor before: Jia Jianye

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200619