Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of classroom based on electronic equipment method of automatically registering, the user profile (student number, name) of teacher and student's electronic equipment (as mobile phone) used first is pre-stored in to server, serve as a teacher in the time of need to be called the roll, can know rapidly in classroom How many people is arranged, who has arrived, and who has been late, who has been cut classes, and fast the roll-call situation is carried out to record.
Fundamental purpose of the present invention is to reduce the teacher and calls the roll the time used, and guarantees to record exactly student's the situation of registering.In wide area network, the electronic equipment user generally adopts gprs, 3G or 4G network, and this network need only the user be with mobile phone to realize.
A kind of classroom method of automatically registering comprises step: the prestore user profile of the first electronic equipment and some default the second electronic equipments of server; Described the first electronic equipment sends request instruction and the first geographical location information to server; Described server obtains the geographical location information of described some default the second electronic equipments after receiving request instruction; Add up the quantity of second electronic equipment of distance within predeterminable range of described geographical location information and described the first geographical location information, draw the first statistical magnitude; Count the quantity of student in classroom by image recognition, draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, described server carries out record according to described the first statistical magnitude to student's work attendance situation.
Described geographical location information comprises time and geographic coordinate information.
The user's of the second electronic equipment in described the first statistical magnitude work attendance state is normal.
If the quantity of the second electronic equipment increases in the first Preset Time, the user's of the second electronic equipment that correspondence is increased work attendance state recording is for late.
If the quantity of the second electronic equipment reduces in the second Preset Time, the user's of the second electronic equipment that correspondence is reduced work attendance state recording is for leaving early.
The prestore step of user profile of the first electronic equipment and some default the second electronic equipments of described server, comprise: detect described the first electronic equipment touch gestures, glide direction Information generation request data package according to touch gestures, if in the first Preset Time described the first electronic equipment receive by the response data packet of described the second electronic equipment touch gestures glide direction Information generation, and the glide direction information of the second electronic equipment touch gestures in described response data packet is default glide direction information; The prestore user profile of described the first electronic equipment and described the second electronic equipment of described server.
Described server prestores before the user profile of the first electronic equipment and some default the second electronic equipments, to described the first electronic equipment and some default the second electronic equipments, sends consultation information.
The user profile of described the first electronic equipment comprises teacher's name and teacher's job number.
The user profile of described the second electronic equipment comprises student name, student's student number and phone number.
The user profile of described the second electronic equipment within predeterminable range and before Preset Time of server record, and it is normal to be designated work attendance.
Described server sends prompting message to described not the second electronic equipment within predeterminable range.
A kind of server, for the user profile of prestore the first electronic equipment and some default the second electronic equipments; And, after the request instruction that receives described the first electronic equipment and the first geographical location information, obtain the geographical location information of described some default the second electronic equipments; Add up the quantity of second electronic equipment of distance within predeterminable range of described geographical location information and described the first geographical location information, draw the first statistical magnitude; Count again the quantity of student in classroom by image recognition, draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, described server carries out record according to described the first statistical magnitude to student's work attendance situation.
Described geographical location information comprises time and geographic coordinate information.
The prestore step of user profile of the first electronic equipment and some default the second electronic equipments of described server, comprise: detect described the first electronic equipment touch gestures, glide direction Information generation request data package according to touch gestures, if in the first Preset Time described the first electronic equipment receive by the response data packet of described the second electronic equipment touch gestures glide direction Information generation, and the glide direction information of the second electronic equipment touch gestures in described response data packet is default glide direction information; The prestore user profile of described the first electronic equipment and described the second electronic equipment of described server.
The user profile of described the first electronic equipment comprises teacher's name and teacher's job number.
The user profile of described the second electronic equipment comprises student name, student's student number and phone number.
Described server sends prompting message to described not the second electronic equipment within predeterminable range.
Compared to prior art, the classroom provided by the invention method of automatically registering is simple to operate, can, on the basis that does not increase hardware cost, greatly reduce the time that class-teaching of teacher is called the roll and after class work attendance recorded; Accurately, solve easily " work attendance difficulty " problem of the vast colleges and universities in ground, the authenticity of raising attendance record.。
Embodiment
Below in conjunction with better embodiment wherein, the present invention program is described in detail.
Automatically the register schematic flow sheet of embodiment of the method for classroom of the present invention has been shown in Fig. 1.
As shown in Figure 1, the method in the present embodiment comprises step:
S101: server the prestore user profile of the first electronic equipment and the user profile of some default the second electronic equipments;
In this embodiment, server prestores user profile can be by manually being inputted, and the user profile of input is managed.Here the user profile of the first electronic equipment of input comprises teacher's name and teacher's job number, and the user profile of the second electronic equipment comprises student name, student's student number and phone number.
But, because uploading of individual geographic position can have influence on individual privacy, electronic equipment in the present embodiment is uploaded geographic position when implementing, and the user that uses electronic equipment is preferably arranged with being intended to certain period or certain section distance can be uploaded user profile and geographical location information etc.The course of university arranges out schedule of classes and times weekly by school often, the student weekly which section period where attend class, a more specific arrangement all can be arranged.Thereby server can be set in. it is just passable that time period is weekly accepted the geographical location information that student's the electronic equipment of which class uploads.Therefore, when the server in the present embodiment prestores the user profile of the first electronic equipment and some default the second electronic equipments, first detect the first electronic equipment touch gestures, glide direction Information generation request data package according to touch gestures, if in the first Preset Time described the first electronic equipment receive by the response data packet of the second electronic equipment touch gestures glide direction Information generation, and the glide direction information of the second electronic equipment touch gestures in response data packet is default glide direction information; Just the prestore user profile of the first electronic equipment and described the second electronic equipment of server.The glide direction of carrying out in the first Preset Time by the first such electronic equipment combination, can be so that server only stores the user profile of the electronic equipment of appointment within that time period, and then user's privacy has been arrived in protection.
Detect touch gestures after the first electronic equipment presupposed information range of receiving, according to glide direction information and first geographical location information of touch gestures, generate request data package, send afterwards this packet in server; In the present embodiment, the first electronic equipment is at first according to user's request presupposed information range of receiving, and this presupposed information range of receiving is generally that the user arranges by own current occasion.As in classroom, the user will send to the information of oneself, and he can the configuration information range of receiving be 100 meters (take its mobile phone centered by radius in the scope of 100 meters).Afterwards, detect whether finger (or touch objects) touch screen is arranged, if (100ms) finger is slided left by touch point in Preset Time, the request data package produced comprises the information moved to left.If have a plurality of fingers to move toward different directions, and the request msg produced comprises the mobile message of different directions.Now, the first electronic equipment can generate corresponding request data package according to different glide direction information and the first geographical location information (geographical location information of the first electronic equipment), and this request data package is sent in the webserver, wait for the response of the second electronic equipment.Here the network of saying, mainly that current electronic equipment generally uses gprs, 3G or 4G network, and use the number of users of the formed platform of this network may be many especially, within the default time, may use the user of identical slip gesture also very many, cause the first electronic equipment user communication may be given to non-targeted customer's situation, and being set, little information range of receiving can get rid of in Preset Time the slip information that has other areas to produce, such as, the user in Guangzhou is in order to have adopted with the exchange contact details information of moving to left.The same time, the user in Hangzhou also may adopt the information of moving to left to be exchanged the method for contact details, thereby can the configuration information range of receiving, can make the user receive more accurately oneself to want the targeted customer who receives, the teacher in same like this classroom and student's information just can together with prestore in server.The set range of receiving of the first electronic equipment is that the first electronic equipment and other the second electronic equipments determine whether the predeterminable range in scope in this embodiment, and this preset range should cover the scope in whole classroom.
In addition, by manually to server, inputting corresponding user profile, then the information that sends is to corresponding electronic equipment, by the user who uses electronic equipment, confirmed, also can obtain corresponding authority.As the information of user A, B, C by manually depositing respectively server in, use this time server or other electronic equipments to send short messages or other information notices to A, B, C, allow A, B, C agree to allow at a time between section or a certain distance upload own geographical location information to server, the user just can have to the privacy situation of oneself a good understanding like this.
S102: the first electronic equipment sends request instruction and the first geographical location information to server; Server obtains the geographical location information of described some default the second electronic equipments after receiving request instruction.
The first electronic equipment sends request instruction by actions such as click or slips, own current geographical location information is sent to server, and server obtains the geographical location information of each the second electronic equipment in the user profile that has received some default the second electronic equipments that just prestore according to S101 after the request instruction simultaneously.Geographical location information in the present embodiment comprises the information such as time and geographic coordinate.
S103: add up the quantity of second electronic equipment of distance within predeterminable range of described geographical location information and described the first geographical location information, draw the first statistical magnitude.
After server obtains the geographical location information of each the second electronic equipment, geographical location information with regard to these the second electronic equipments is compared with the geographical location information of the first electronic equipment one by one, then adds up the quantity apart from the second electronic equipment within predeterminable range of geographical location information and first geographical location information of the second electronic equipment; And send statistical magnitude to the first electronic equipment.
Now, if the first above-mentioned statistical magnitude is less than predetermined number, server is to described the first electronic equipment information of giving notice, and the predetermined number here is less than or equal to the quantity sum that is pre-stored in the second electronic equipment in server.In general, if statistical magnitude and predetermined number (being pre-stored in the quantity of the electronic equipment in server) are inconsistent, show that the people in classroom does not also have here (have the student to cut classes or be late), at this time server will, to the first electronic equipment information of giving notice, make it can notify in time the student who does not come to class in time.And if statistical magnitude is consistent with predetermined number, notify the first electronic equipment people all here get final product.
When the first electronic equipment user (teacher) obtains this statistical magnitude or is notified information, just can know that whether the student in current classroom is here.If do not have here, with regard to inciting somebody to action the not user profile of the second electronic equipment within predeterminable range, on the screen of the first electronic equipment, shown, at this time, teacher l just can directly click corresponding user profile, just can know very like a cork that who does not come to class.Compare the existing method of processing this situation, whether the method does not need the teacher to call the roll one by one on register to confirm the student in classroom.In addition, late or cut classes when finding which student is situation that the student is less than do not need to go for one by one specifically yet, can directly be found out and record by system or server.Reduce teacher's workload, increased the time that the student obtains knowledge.
The said distance of the present embodiment refers to the horizontal range of two electric rooms, and the first predeterminable range is setting value, generally can be by manually setting in server.Along with the raising of the positioning precision of satellite navigation system, the distance of this embodiment also can refer to the three-dimensional distance of two electronic equipments, and three-dimensional distance goes for the student of the different floors in teaching building and the scene such as the teacher is distant.
S104: gather the classroom scene image, and count the quantity of student in classroom by image recognition, draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, described server carries out record according to described the first statistical magnitude to student's work attendance situation.
In implementation step due to S101 to S103, suppose the second electronic equipment be every student all with oneself electronic equipment, and got rid of a student simultaneously with the situation of multi-section electronic equipment, so just easily produce the behavior of work attendance cheating.And the classmate's of each class quantity is certain, adopt the image recognition number can know truly the student's who attended class at that time quantity in classroom, even a student has been with a plurality of electronic equipments like this, in image recognition, data out and the geographical location information data one of uploading relatively, can know whether people's work attendance cheating.The image recognition of the present embodiment the method for statistical number of person, mainly with reference to application number 200910045026. 7 described a kind of " detection method based on head identification and tracking characteristics " and application number 201110132349. 7 described a kind of " classroom management system based on image recognition and network ".In addition, also can be used for taking the people crown by directly over camera installation and teacher, and the mode of statistical number of person is carried out on the identification crown.Because these modes all can be added up into the teacher, so in the classroom of saying, student's quantity is that the total number of persons that image recognition comes out deducts one, get rid of teacher's quantity (i.e. the second statistical magnitude=total number of persons-1) here.The current existing relevant paper of method and the technology of identifying and count number based on image acquisition are relatively many, do not do herein and launch to describe.
In general, each classroom has the student of several classes to be determined by the course arrangement of school.And course arrangement weekly roughly just can make at the beginning of term.So, only the data cases in the student information of corresponding class (comprising that student number, name and phone number are corresponding one by one), curriculum schedule and the classroom used of attending class first need be pre-stored in the middle of server, can realize attendance record.The present embodiment is to using teacher's request instruction as the trigger mechanism that checks the work attendance situation, is a teacher while using electronic equipment to send request instruction, with the time point that triggers this request instruction, student's the situation of turning out for work is carried out to record.Now, student's the situation of turning out for work only has two kinds: normally attend class and absent, before the time point of request instruction to the student for normally attending class, otherwise be absence.
As more excellent examples of implementation, also can allow system automatically set and check the work attendance situation.Now trigger point using the time that starts to attend class of the corresponding curriculum schedule of student as the self-verifying work attendance (take the time point that time of starting to attend class is the geographical location information collecting the student and upload, and the time in the time of the geographical location information by this time point of contrast and each the second electronic equipment).Simultaneously, also can using teacher's request instruction as the trigger mechanism that checks the work attendance situation, then the time that arrives classroom with time of starting to attend class and each student compares to determine student's work attendance situation.Because the geographical location information that the second electronic equipment is uploaded comprises time and geographic coordinate information.When obtaining the first statistical magnitude, the user's of corresponding the second electronic equipment of this quantity work attendance state is normal, and when being appreciated that becoming teacher calls the roll, the student just exists, so the work attendance state is to attend class normally.If the quantity of the second electronic equipment increases in the first Preset Time, the user's of the second electronic equipment that correspondence is increased work attendance state recording is " being late ".The first Preset Time herein mainly refers to a few minutes after class, can formulate according to the work attendance rule here.And on obviously belong to late at the second electronic equipment increased after class.If the quantity of the second electronic equipment reduces in the second Preset Time, the user's of the second electronic equipment that correspondence is reduced work attendance state recording is " leaving early ".Second Preset Time here refers in class has not also been gone up and if the student has not gone up and just left classroom (the positional information of the second electronic equipment is not in preset range) at class, obviously to belong to the behavior of leaving early sometime.
As the time that starts to attend class is that 8:30(supposes that every class is 45 minutes); Student A, B, C are respectively 8:26,8:32 and 9:16 to the time in classroom, and A separates classroom at 9:11 simultaneously.So, the work attendance situation of student A, B, C is respectively that A leaves early, B is late, C cuts classes.The concrete setting of work attendance situation can lay down a regulation with reference to existing work attendance, does not repeat herein.By so automatic work attendance judgement and record, can reduce the problem that roll-call mode is traditionally brought.As the teacher must spend a lot of time one by one, call the roll, and the exclusive segment student the teacher, call the roll during enter the classroom and not very late and part student leave early and do not have found situation, greatly improve the fairness of attendance checking system.
Automatically the register structural representation of system embodiment of a kind of classroom of the present invention has been shown in Fig. 2.
A kind of classroom system of automatically registering, applied the method for registering automatically in above-mentioned classroom, comprising: the first electronic equipment, server and some the second electronic equipments, described each device signal connects.
Wherein, the first electronic equipment comprises: the first locating module and request module.
The first locating module, for uploading the geographical location information of the first electronic equipment, the geographical location information of saying here comprises the information such as time and geographic coordinate;
Request module, the request for the user according to the first electronic equipment, send request instruction to server.
Image capture module, for gathering the image in classroom, and image transmitting is to the data processing module of server; In addition, also can add image processing module, the image of image capture module collection is analyzed, identify corresponding student, the line number of going forward side by side amount statistics, draw the second statistical magnitude, and issue data processing module.
Server, comprise data processing module, data management module and control module.
Data management module, for the user profile of prestore the first electronic equipment and some default the second electronic equipments, and the quantity of good all the second electronic equipments of statistics, as predetermined number.
Data processing module, for request instruction and the first geographical location information sent according to the first electronic equipment; Obtain the geographical location information of described some default the second electronic equipments, and the geographical location information of each the second electronic equipment of obtaining of statistics and the first geographical location information apart from the quantity of the second electronic equipment within predeterminable range not, draw the first statistical magnitude; Send described the first statistical magnitude to the first electronic equipment, and accept the image that image capture module sends and identified, and draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, described server carries out record according to described the first statistical magnitude to student's work attendance situation.
Control module, when above-mentioned statistical magnitude is less than predetermined number, server is to described the first electronic equipment information of giving notice.Here say, the first electronic equipment is less than or equal to the quantity sum that is pre-stored in all the second electronic equipments in server by the described predetermined number of this information.
As better example, when the first electronic equipment user (teacher) obtains statistical magnitude or is notified information, just can know that whether the student in current classroom is here.If do not have here, with regard to will be not the user profile of the second electronic equipment within predeterminable range on the screen of the first electronic equipment, shown, can know absent personnel at once.At this time, the teacher just can directly click corresponding user profile, is understood.Simultaneously, server also can notify corresponding student to attend class to classroom in time accordingly.
The second electronic equipment comprises: the second locating module, and for uploading the geographical location information of corresponding the second electronic equipment.
In the present embodiment, the principle of work of modules is: first the prestore user profile of the first electronic equipment and some default the second electronic equipments of data management module, and the quantity of statistics the first electronic equipment and all the second electronic equipments, as predetermined number; After user's trigger request module of the first electronic equipment sends request instruction to server, server just obtains the geographical location information of each the second electronic equipment from the first locating module obtains the first geographical location information and each second locating module, then in data processing module, adds up the quantity apart from the second electronic equipment within predeterminable range of geographical location information with first geographical location information of obtained each the second electronic equipment; Send described statistical magnitude to the first electronic equipment, and according to statistical magnitude, student's work attendance situation is carried out to record.Here can be that server can be also that the first electronic equipment carries out record to student's work attendance situation.
Last control module is carried out respective handling or control according to the data of statistics to current the first electronic equipment, and when above-mentioned statistical magnitude is less than predetermined number, server is to described the first electronic equipment information of giving notice.Further, when the first electronic equipment user (teacher) obtains statistical magnitude or is notified information, just can know that whether the student in current classroom is here.If do not have here, with regard to will be not the user profile of the second electronic equipment within predeterminable range on the screen of the first electronic equipment, shown, can know absent personnel at once.At this time, the teacher just can directly click corresponding user profile, is understood.Simultaneously, server also can notify corresponding student to attend class to classroom in time accordingly.
Embodiments of the invention also disclose, and are applied to automatically the register server of method of this classroom.As described below: this server is for the user profile of prestore the first electronic equipment and some default the second electronic equipments; And after the request instruction that receives described the first electronic equipment and the first geographical location information, obtain the geographical location information of some default the second electronic equipments, add up the quantity of second electronic equipment of distance within predeterminable range of described geographical location information and described the first geographical location information, draw the first statistical magnitude; Count again the quantity of student in classroom by image recognition, draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, this server carries out record according to described the first statistical magnitude to student's work attendance situation.
The prestore step of user profile of the first electronic equipment and some default the second electronic equipments of this server, comprise: detect the first electronic equipment touch gestures, glide direction Information generation request data package according to touch gestures, if in the first Preset Time described the first electronic equipment receive by the response data packet of described the second electronic equipment touch gestures glide direction Information generation, and the glide direction information of the second electronic equipment touch gestures in described response data packet is default glide direction information; The prestore user profile of described the first electronic equipment and described the second electronic equipment of server.
In addition; this server prestores before the user profile of the first electronic equipment and some default the second electronic equipments; also can send consultation information to the first electronic equipment and some default the second electronic equipments, this is mainly in order to protect the privacy of user in other times or place.
Simultaneously, if this server detects statistical magnitude, be less than predetermined number, this server is to the first electronic equipment information of giving notice; Here say, predetermined number equals to be pre-stored in the quantity sum of each the second electronic equipment in server.After learning announcement information, the described not user profile of the second electronic equipment within predeterminable range is shown on the screen of the first electronic equipment, can allow like this teacher learn soon is which student does not also attend class to classroom.
In order to coordinate the data recording of server, the user profile of the first electronic equipment comprises that the user profile of teacher's name and teacher's job number, the second electronic equipment comprises student name, student's student number and phone number here.If need other information of teacher or student, can increase on this basis new information.Simultaneously, in order to allow server energy automatic identification student's work attendance situation, the geographical location information that electronic equipment is uploaded here comprises the information such as time and geographic coordinate, adopts the various dimensions records such as time and space.The classroom said work attendance state discrimination method of method of automatically registering is the same, does not do herein and launches to describe.
Simultaneously, server can set from trend not the second electronic equipment within predeterminable range send prompting message.As the first electronic equipment can automatically send " so-and-so classmate of X class, please attend class to classroom in time " similar note.By such operation, just can be so that the teacher need not go to check the number of people one by one, and it is late or cut classes whom is confirmed to be one by one, can automatically solve problems by this system or server.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.