Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of classroom based on electronic equipment automatically to register method, the user profile (student number, name) of teacher and student's electronic equipment (as mobile phone) used is first pre-stored in server, serve as a teacher needs when calling the roll, can know in classroom have how many people rapidly, who has arrived, and who has been late, who has been cut classes, and carries out record to roll-call situation fast.
Fundamental purpose of the present invention is that reducing teacher calls the roll the time used, and ensures the situation of registering recording student exactly.
Registering a method automatically in classroom based on wifi, comprises step: pre-set wifi network; Server prestores the first electronic equipment and somely preset the user profile of the second electronic equipment; After described first electronic equipment sends request instruction, described server obtains described some information preset the second electronic equipment and connect wifi network after receiving request instruction; Statistics connects the quantity of described wifi network second electronic equipment, draws the first statistical magnitude; Counted 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 the work attendance situation of described first statistical magnitude to student.
The checking-in state of the user of the second electronic equipment in described first statistical magnitude is recorded as normally.
The described time of recording described some default second electronic equipments and connecting wifi network.
If the quantity of the second electronic equipment increases in the first Preset Time, the checking-in state of the user of the second electronic equipment correspondence increased is recorded as late.
If the quantity of the second electronic equipment reduces in the second Preset Time, the checking-in state of the user of the second electronic equipment correspondence reduced is recorded as leaves early.
Described server prestores the first electronic equipment and some steps of user profile presetting the second electronic equipment, comprise: detect described first electronic equipment touch gestures, glide direction information according to touch gestures generates request data package, if in the first Preset Time described first electronic equipment receive by the response data packet that generates of described second electronic equipment touch gestures glide direction information, and the glide direction information of the second electronic equipment touch gestures in described response data packet is for presetting glide direction information; Described server prestores the user profile of described first electronic equipment and described second electronic equipment.
Described server prestore the first electronic equipment and some preset the second electronic equipment user profile before, to described first electronic equipment and some preset the second electronic equipment send consultation information.
The user profile of described first electronic equipment comprises teacher's name and teacher's job number.
The user profile of described second electronic equipment comprises student name, student's student number and phone number.
The invention also discloses, register system automatically in a kind of a kind of classroom applying said method.
A kind of server, is characterized in that, described server is for connecting wifi network and prestore the first electronic equipment and some user profile presetting the second electronic equipment; After described first electronic equipment sends request instruction, described server obtains described some information preset the second electronic equipment and connect wifi network after receiving request instruction; Statistics connects the quantity of described wifi network second electronic equipment, draws the first statistical magnitude; Counted 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 the work attendance situation of described first statistical magnitude to student.
The checking-in state of the user of the second electronic equipment in described first statistical magnitude is recorded as normally.
The user profile of described first electronic equipment comprises teacher's name and teacher's job number.
The user profile of described second electronic equipment comprises student name, student's student number and phone number.
Compared to prior art, classroom provided by the invention method of automatically registering is simple to operate, can not increase on the basis of hardware cost, greatly reduces class-teaching of teacher and to call the roll and after class to the time that work attendance is recorded; Solve " work attendance is difficult " problem of vast colleges and universities accurately, easily, improve the authenticity of attendance record.
Embodiment
Below in conjunction with better embodiment wherein, the present invention program is described in detail.
Illustrate in Fig. 1 to register the schematic flow sheet of embodiment of the method automatically in classroom of the present invention.
As shown in Figure 1, the method in the present embodiment comprises step:
S101: preset wifi network and the user profile of first electronic equipment that prestores in the server and some user profile presetting the second electronic equipment;
In this embodiment, server prestored user information by manually inputting, and can manage the user profile of input.The user profile of the first electronic equipment inputted here comprises teacher's name and teacher's job number, wifi network user ID, and the user profile of the second electronic equipment comprises student name, student's student number, wifi network user ID and phone number.
When practical operation, because each teacher likely teaches the student of several classes simultaneously, and the foundation of student database also can increase management difficulty along with the increase of quantity.Server in the present embodiment prestores the first electronic equipment and some when presetting the user profile of the second electronic equipment, first detect the first electronic equipment touch gestures, glide direction information according to touch gestures generates request data package, if in the first Preset Time described first electronic equipment receive by the response data packet that generates of the second electronic equipment touch gestures glide direction information, and the glide direction information of the second electronic equipment touch gestures in response data packet is for presetting glide direction information; Server just prestores the user profile of the first electronic equipment and described second electronic equipment.The glide direction combination carried out in the first Preset Time by the first such electronic equipment, the user profile being only stored into the electronic equipment of specifying in that time period server can be made, and then the user profile of the first electronic equipment and the second electronic equipment that enter this wifi network within that time directly can be preserved by this operation, namely the workload of data input can be greatly reduced, again can more exactly by the data input base of student in classroom.Meanwhile, by the user of the first electronic equipment of this mode of operation and the user of the second electronic equipment can the class's of foundation member relation, teacher can be managed group member in classroom like a cork by the first electronic equipment.
The course of university goes out schedule of classes and times weekly by school schedules often, and where attend class weekly by which section period for student, all can have the arrangement that more specific.Thus, the information that server can be set in the wifi network that electronic equipment that time period weekly receives the student of which class connects is just passable, just the range of receiving of wifi network is relatively limited, if use in teaching area, the corresponding router of outfit in a not classroom preferably can be made.And student is when first time logs in wifi network, the setting of corresponding login account and password first must be carried out.Like this, the electronic device names of the student of same class, name and for student number, just can be obtained by query router after logging in wifi network.
S102: after described first electronic equipment sends request instruction, described server obtains described some information preset the second electronic equipment and connect wifi network after receiving request instruction.
First electronic equipment is by click or the action such as slip sends request instruction to server, and some user profile presetting the second electronic equipment that server just prestores according to S101 after have received request instruction obtain the information that each second electronic equipment connects wifi network.The information of the second electronic equipment connection wifi network in the present embodiment comprises the second electronic equipment and is connected to the information such as the time of wifi network and user's student number of correspondence.
S103: statistics connects the quantity of wifi network second electronic equipment, draws the first statistical magnitude.
After server obtains the information of each second electronic equipment connection wifi network, just these second electronic equipments are carried out to the mark of " work attendance is normal ", then statistics is connected to the quantity of the second electronic equipment of wifi network, draws the first statistical magnitude.
As more excellent embodiment, now, if the first above-mentioned statistical magnitude is less than predetermined number, server to be given notice information to described first electronic equipment, and predetermined number is here less than or equal to the quantity sum of the second electronic equipment prestored in the server.In general, if statistical magnitude and predetermined number (quantity of the electronic equipment in server that prestores again) inconsistent, then show that the people in classroom does not also have here (have student to cut classes or be late), at this time server will to be given notice information to the first electronic equipment, makes it can notify the student do not come to class in time in time.And if statistical magnitude is consistent with predetermined number, then notify that the first electronic equipment people is here.
When the first electronic device user (teacher) obtains this statistical magnitude or is notified information time, just can know that whether the student in current classroom is here.If not here, just the user profile of the second electronic equipment not connecting wifi network is shown on the screen of the first electronic equipment, at this time, teacher just can directly click corresponding user profile, just can know that who is not come to class very like a cork.Compare the method for this situation of existing process, the method does not need teacher to call the roll one by one on register to confirm that student is whether in classroom.In addition, late or cut classes when finding that student's situation about being less than does not need to go for one by one specifically which student yet, directly can be found out and record by system or server.Decrease the workload of teacher, add the time that student obtains knowledge.
S104: gather classroom scene image, and counted 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 the work attendance situation of described first statistical magnitude to student.
Due in the implementation step of S101 to S103, suppose the second electronic equipment be every student all with the electronic equipment of oneself, and eliminate the situation of a student simultaneously with multi-section electronic equipment, so just easily produce the behavior of work attendance cheating.And the quantity of the classmate of each class is certain, adopt image recognition number can know the quantity of the student attended class in classroom at that time truly, even if a student has been with multiple electronic equipment like this, compare with the quantity one of the second electronic equipment being connected to wifi network in image recognition data out, can know whether that people's work attendance is practised fraud.The image recognition of the present embodiment the method for statistical number of person, the one of Primary Reference described in application number 200910045026.7 " detection method based on head identification and tracking characteristics " and the one described in application number 201110132349.7 " classroom management system based on image recognition and network ".In addition, also camera can be installed and directly over classroom, be used for taking the people crown, and identify that the mode of statistical number of person is carried out on the crown.Because teacher's statistics all can be entered, so the quantity of student is that the total number of persons that image recognition comes out deducts one (i.e. the second statistical magnitude=total number of persons-1) in the classroom said here by these modes.Based on image acquisition identification and count the current existing correlative theses of method of number and technology 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 the class of correspondence (comprising student number, name and phone number one_to_one corresponding), curriculum schedule and classroom used of attending class first need be pre-stored in the middle of server, can attendance record be realized.The present embodiment is using the request instruction of teacher as the trigger mechanism checking work attendance situation, when the use electronic equipment that is a teacher sends request instruction, carries out record with the time point triggering this request instruction to the situation of turning out for work of student.Now, the situation of turning out for work of student only has two kinds: normally attend class and absent, before the time point of request instruction to student for normally to attend class, otherwise be absence.
As more excellent examples of implementation, system also can be allowed automatically to set and to check work attendance situation.Now using the trigger point (namely to start the time of the attending class time point of geographical location information for collect student upload, and by time in the time of the geographical location information of contrast this time point and each second electronic equipment) of the time starting to attend class of the curriculum schedule corresponding to student as self-verifying work attendance.Meanwhile, also can using the request instruction of teacher as the trigger mechanism checking work attendance situation, then the time arriving classroom to start time of attending class and each student compares the work attendance situation determining student.Because the geographical location information that the second electronic equipment is uploaded comprises time and geographic coordinate information.In time obtaining the first statistical magnitude, the checking-in state of the user of the second electronic equipment corresponding to this quantity is normal, and when being appreciated that becoming teacher calls the roll, student just exists, and therefore checking-in state is attended class normally.If the quantity of the second electronic equipment increases in the first Preset Time, the checking-in state of the user of the second electronic equipment correspondence increased is recorded as " being late ".The first Preset Time herein mainly refers to a few minutes after attending class, and can formulate here according to work attendance rule.And on after class increase the second electronic equipment obviously belong to late.If the quantity of the second electronic equipment reduces in the second Preset Time, the checking-in state of the user of the second electronic equipment correspondence reduced is recorded as " leaving early ".Here the second Preset Time to refer in class has not also been gone up sometime, if student has not gone up at class just leave classroom (i.e. the disconnection wifi network of the second electronic equipment), obviously belongs to the behavior of leaving early.
The time of attending class as started 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 refer to existing work attendance and lays down a regulation, and does not repeat herein.By so automatic work attendance judgement and record, the problem that roll-call mode is traditionally brought can be reduced.Call the roll one by one as teacher must spend a lot of time, and exclusive segment student enters the classroom and the not very late and partial students situation of leaving early and not being found during teacher calls the roll, and greatly improves the fairness of attendance checking system.
Illustrate in Fig. 2 to register the structural representation of system embodiment automatically in a kind of classroom of the present invention.
Register system automatically in a kind of classroom, apply the method registered automatically in above-mentioned classroom, comprising: the first electronic equipment, server and some second electronic equipments, each device signal described connects.
Wherein, the first electronic equipment, comprising: Wifi module and a request module.
One Wifi module, for detecting the wifi signal of surrounding, and according to the account set and password, is connected to default wifi network module; Meanwhile, the user profile of the first electronic equipment is provided.
Request module, for the request of the user according to the first electronic equipment, sends request instruction to server.
Second electronic equipment, comprising: a Wifi module, and according to the account set and password, is connected to wifi network module; Meanwhile, the user profile of the second electronic equipment is provided.
Camera, comprises image capture module, also can comprise image processing module.
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, and carry out quantity statistics, draw the second statistical magnitude, and issue data processing module.
Server, comprises wifi network module, data processing module, data management module and control module.
Wifi mixed-media network modules mixed-media, provides wifi signal, and receives the link information from the first wifi module and the second wifi module.
Data management module, for the first electronic equipment and the some user profile presetting the second electronic equipment of prestoring, and the quantity of good all second electronic equipments of statistics, as predetermined number.
Data processing module, for the request instruction that sends according to the first electronic equipment and the first geographical location information; Obtain described some geographical location information presetting the second electronic equipment, and add up the quantity of the geographical location information of each the second electronic equipment and second electronic equipment of distance not within predeterminable range of the first geographical location information obtained, draw the first statistical magnitude; Send described first statistical magnitude to the first electronic equipment, and receive the image that image capture module sends and identify, and draw the second statistical magnitude; If the second statistical magnitude equals the first statistical magnitude, described server carries out record according to the work attendance situation of described first statistical magnitude to student.
Control module, when above-mentioned statistical magnitude is less than predetermined number, server to be given notice information to described first electronic equipment.Here say, the first electronic equipment is less than or equal to the quantity sum of all second electronic equipments in the server of prestoring by predetermined number described in this information.
As better example, when the first electronic device user (teacher) obtains statistical magnitude or is notified information time, just can know that whether the student in current classroom is here.If do not have here, just the user profile of the second electronic equipment not being connected to wifi network is shown on the screen of the first electronic equipment, absent personnel can be known at once.At this time, teacher just can directly click corresponding user profile, understands.Meanwhile, server also can notify that corresponding student attends class to classroom in time accordingly.
In the present embodiment, the principle of work of modules is: data management module first prestores the first electronic equipment and somely preset the user profile of the second electronic equipment, and the quantity of statistics the first electronic equipment and all 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 information of the connection wifi network of each the second electronic equipment from each the 2nd Wifi module, then in data processing module, add up the quantity of obtained corresponding second electronic equipment, draw the first statistical magnitude; Simultaneously, image capture module, for gathering the image in classroom, identified by image processing module (or data processing module) and add up the quantity of student in classroom, draw the second statistical magnitude, if the second statistical magnitude equals the first statistical magnitude, illustrate that work attendance does not occur exception substantially, server carries out record according to the work attendance situation of described first statistical magnitude to student.Here can be server also can be that the work attendance situation of the first electronic equipment to student carries out record.
Last control module carries out respective handling or control according to the data of statistics to current first electronic equipment, and when above-mentioned statistical magnitude is less than predetermined number, server to be given notice information to described first electronic equipment.Further, when the first electronic device user (teacher) obtains statistical magnitude or is notified information time, just can know that whether the student in current classroom is here.If do not have here, just the user profile of the second electronic equipment not within predeterminable range is shown on the screen of the first electronic equipment, absent personnel can be known at once.At this time, teacher just can directly click corresponding user profile, understands.Meanwhile, server also can notify that corresponding student attends class to classroom in time accordingly.
Embodiments of the invention also disclose, and are applied to this classroom and automatically register the server of method.As described below: this server is for connecting wifi network and prestore the first electronic equipment and some user profile presetting the second electronic equipment; After first electronic equipment sends request instruction, this server obtains described some information preset the second electronic equipment and connect wifi network after receiving request instruction; Statistics connects the quantity of described wifi network second electronic equipment, draws the first statistical magnitude; Counted 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 the work attendance situation of described first statistical magnitude to student.
Server prestores, and the mode that records of the method for registering is consistent automatically for the first electronic equipment and some user profile and a kind of classrooms based on wifi of the present invention of presetting the second electronic equipment, does not do expansion explanation herein.
Meanwhile, if this server detects that statistical magnitude is less than predetermined number, this server to be given notice information to the first electronic equipment; Here say, predetermined number equals the quantity sum of each the second electronic equipment prestored in the server.After learning announcement information, the user profile of described the second electronic equipment not within predeterminable range shown on the screen of the first electronic equipment, it is which student does not also attend class to classroom that classroom can be allowed like this to learn soon.
In order to coordinate the data record of server, the user profile of the first electronic equipment comprises teacher's name and teacher's job number here, the user profile of the second electronic equipment comprises student name, student's student number and phone number.If desired other information of teacher or student, can increase new information on this basis.Meanwhile, in order to allow the work attendance situation of server energy automatic identification student, the geographical location information that electronic equipment is uploaded here comprises the information such as time and geographic coordinate, namely adopts the various dimensions records such as Time and place.Classroom method said checking-in state discriminating conduct of automatically registering is the same, does not do herein and launches to describe.
Meanwhile, server can set and send prompting message from second electronic equipment of trend not within predeterminable range.As the first electronic equipment (or server) can send " so-and-so is X class classmate, please arrives classroom in time and attends class " similar note automatically.By such operation, teacher just can be made to go one by one to check the number of people, and it is late or cut classes whom is confirmed to be one by one, automatically can solve problems by this system or server.
The above embodiment only have expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not 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.