Credible roll-call method and its system based on intelligent terminalTechnical field
The invention belongs to intelligent management technical field, and in particular to a kind of credible roll-call method based on intelligent terminal and itsSystem.
Background technology
Traditional roll-call mode, such as called the roll on classroom, usually called the roll in turn by teacher is oral, student is liftedThe mode that hand reaches complete classroom roll-call action;Traditional roll-call mode would generally cause roll-call overlong time, and studentEasily chat mutually, causes the bad phenomenon of order of attending class during roll-call, and so carrying out calling the roll operating both caused on the timeWaste, efficiency is nor very high.
Prior art has some implementations for using extra means to be called the roll, but post name flow process is cumbersome, and operation is notJust.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of credible roll-call method based on intelligent terminal and its beSystem.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of credible roll-call method based on intelligent terminal, and this method is:At least two intelligenceAny one in terminal is used as when registering terminal as roll-call terminal and remaining intelligent terminal, and the roll-call terminal is according to passwordAlgorithm after unique key and time encryption to obtaining the first dynamic electronic signature, and by first dynamic electronic signature and instituteThe account number for stating roll-call terminal carries out Bluetooth broadcast;The shape that any one terminal of registering is broadcasted by receiving roll-call terminal BluetoothFormula, after receiving the first dynamic electronic signature and the account number of the roll-call terminal, then by first dynamic electronic signature,After the account number of the roll-call terminal and the account number of the terminal of registering are sent to server and certification success, the labelCalled the roll successfully to terminal.
In such scheme, also include before this method:Account number is sent to by least two intelligent terminal respectivelyAfter server and certification success, each intelligent terminal is respectively from the unique key of the service acquisition intelligent terminal;The accountMark comprises at least username and password.
In such scheme, this method also includes:The server is according to cryptographic algorithm to the unique close of each intelligent terminalThe second dynamic electronic signature is obtained after key encryption.
In such scheme, this method also includes:The terminal of registering is whole by first dynamic electronic signature, the roll-callAfter the account number at end and the account number of the terminal of registering are sent to server and authentification failure, the terminal roll-call of registeringFailure.
It is described by first dynamic electronic signature, the account number of the roll-call terminal and the label in such schemeTo terminal account number be sent to server and certification success after, be specially:The server is by first dynamic electricSon signature is contrasted with the second dynamic electronic signature, if identical, it is determined that the terminal authentication success of registering, is recorded this and is registeredThe account number of terminal and the account number of corresponding roll-call terminal and attendance sheet is generated, it is on the contrary, it is determined that the terminal of registeringAuthentification failure.
In such scheme, this method also includes, and the roll-call terminal to server sends attendance sheet request message, the labelTo account number of the table message package containing the roll-call terminal, the server should by the roll-call terminal-pair according to attendance sheet request messageAttendance sheet is sent to roll-call terminal.
The embodiment of the present invention also provides a kind of credible roll calling system, and it includes at least two intelligent terminals, server;It is describedAny one at least two intelligent terminals is as roll-call terminal, after according to cryptographic algorithm to unique key and time encryptionThe first dynamic electronic signature is obtained, and first dynamic electronic signature and the account number of the roll-call terminal are subjected to indigo plantTooth is broadcasted;
Remaining intelligent terminal is as terminal of registering, and for the form broadcasted by receiving roll-call terminal Bluetooth, receives theAfter one dynamic electronic signature and the account number of the roll-call terminal, then by first dynamic electronic signature, the roll-call eventuallyThe account number at end and the account number of the terminal of registering are sent to server;
The server, for according to first dynamic electronic signature, the account number of the roll-call terminal and describedAfter the account number for terminal of registering determines certification success, confirm that the terminal of registering is called the roll successfully.
In such scheme, the server, it is additionally operable to encrypt the unique key of each intelligent terminal according to cryptographic algorithmAfter obtain the second dynamic electronic signature.
In such scheme, the server, the account according to first dynamic electronic signature, the roll-call terminal is additionally operable toNumber mark and the terminal of registering account number determine authentification failure after, confirm this register terminal call the roll failure.
In such scheme, the server, specifically for by first dynamic electronic signature and the second dynamic electron labelName is contrasted, if identical, it is determined that terminal authentication success of registering, records the account number and correspondingly of the terminal of registeringThe account number of roll-call terminal and attendance sheet is generated, it is on the contrary, it is determined that terminal authentication failure of registering;Also particularly useful for basisThe roll-call terminal-pair is answered attendance sheet to be sent to roll-call terminal by attendance sheet request message;
The roll-call terminal, it is additionally operable to send attendance sheet request message to server, the attendance sheet message package contains the pointThe account number of name terminal, and receive the attendance sheet that the server is sent.
Compared with prior art, a kind of credible roll-call method based on intelligent terminal of offer of the embodiment of the present invention, at least twoAny one in individual intelligent terminal is used as when registering terminal as roll-call terminal and remaining intelligent terminal, the roll-call terminal rootAccording to cryptographic algorithm to obtaining the first dynamic electronic signature after unique key and time encryption, and by the first dynamic electron labelThe account number of name and the roll-call terminal carries out Bluetooth broadcast;Any one terminal of registering receives first by Bluetooth broadcastAfter dynamic electronic signature and the account number of the roll-call terminal, then by first dynamic electronic signature, the roll-call terminalAccount number and the terminal of registering account number be sent to server and certification success after, this register terminal call the roll intoWork(;So, the confidence level of roll-call can be improved by the present invention, it is only necessary to which intelligent terminal can complete roll-call process, without volumeOuter hardware device, convenient operation.
Brief description of the drawings
Fig. 1 provides a kind of flow chart of the credible roll-call method based on intelligent terminal for the embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
The embodiment of the present invention provides a kind of credible roll-call method based on intelligent terminal, as shown in figure 1, this method by withLower step is realized:
Step 101:After account number is sent to server and certification success by least two intelligent terminal respectively,Each intelligent terminal is respectively from the unique key of the service acquisition intelligent terminal;
Specifically, the account number comprises at least username and password.
Step 102:Any one at least two intelligent terminals is as roll-call terminal and remaining intelligent terminal is as labelDuring to terminal, the roll-call terminal obtains the first dynamic electronic signature after being encrypted according to cryptographic algorithm to unique key and time,And first dynamic electronic signature and the account number of the roll-call terminal are subjected to Bluetooth broadcast;
Specifically, the cryptographic algorithm includes but is not limited to be SM1, SM3, MD5, SHA, AES, the AES such as RSA.
The time can be the local zone time of the time or roll-call terminal obtained from server.
Certainly, for the integrality of information, carry out that other information can also be included during Bluetooth broadcast, such as event information,GPS position information, classroom title, location information etc..
Further, first dynamic electronic signature can also give birth to according to random code of the server-assignment to roll-call terminalInto.
Step 103:The form that any one terminal of registering is broadcasted by receiving roll-call terminal Bluetooth, receives the first dynamicAfter the account number of electronic signature and the roll-call terminal, then by first dynamic electronic signature, the account of the roll-call terminalNumber mark and the terminal of registering account number be sent to server and certification success after, the terminal of registering is called the roll successfully.
Specifically, the server is dynamic to obtaining second after the unique key encryption of each intelligent terminal according to cryptographic algorithmState signs electronically.
Further, second dynamic electronic signature can also give birth to according to random code of the server-assignment to roll-call terminalInto.
It is described register terminal by first dynamic electronic signature, the roll-call terminal account number and described register endAfter the account number at end is sent to server and authentification failure, the terminal of registering, which is called the roll, to fail.
The server is contrasted first dynamic electronic signature with the second dynamic electronic signature, if identical,The terminal authentication success of registering then is determined, the account number of the terminal of registering is recorded and corresponds to the account number of roll-call terminal simultaneouslyAnd generation attendance sheet, it is on the contrary, it is determined that the terminal authentication failure of registering.
Further, if the terminal of registering has a location information, then by first dynamic electronic signature, the pointWhile the name account number of terminal and the account number of the terminal of registering are sent to server, also location information is sent toServer is used to aid in calling the roll.
Further, the roll-call terminal to server sends attendance sheet request message, and the attendance sheet message package contains shouldThe roll-call terminal-pair is answered attendance sheet to be sent to a little by the account number of roll-call terminal, the server according to attendance sheet request messageName terminal.
The embodiment of the present invention also provides a kind of credible roll calling system, and it includes at least two intelligent terminals, server;
Any one at least two intelligent terminal as roll-call terminal, for according to cryptographic algorithm to unique keyThe first dynamic electronic signature is obtained after being encrypted with the time, and by first dynamic electronic signature and the account of the roll-call terminalNumber mark carry out Bluetooth broadcast;
Remaining intelligent terminal is as terminal of registering, for receiving the first dynamic electronic signature and described by Bluetooth broadcastAfter the account number of roll-call terminal, then by first dynamic electronic signature, the account number of the roll-call terminal and the labelAccount number to terminal is sent to server;
The server is used for according to first dynamic electronic signature, the account number of the roll-call terminal and the labelTo terminal account number determine certification success after, confirm that the terminal of registering is called the roll successfully.
Further, the server is additionally operable to according to cryptographic algorithm to being obtained after the unique key encryption of each intelligent terminalObtain the second dynamic electronic signature.
Further, the server is additionally operable to the account according to first dynamic electronic signature, the roll-call terminalAfter the account number of mark and the terminal of registering determines authentification failure, confirm that the terminal of registering is called the roll and fail.
Specifically, the server is specifically used for carrying out first dynamic electronic signature and the second dynamic electronic signatureContrast, if identical, it is determined that the terminal authentication success of registering, account number and the corresponding roll-call for recording the terminal of registering are wholeThe account number at end and attendance sheet is generated, it is on the contrary, it is determined that terminal authentication failure of registering;Also particularly useful for according to attendance sheetThe roll-call terminal-pair is answered attendance sheet to be sent to roll-call terminal by request message;
Further, the roll-call terminal is additionally operable to send attendance sheet request message, the attendance sheet message to serverThe account number of the roll-call terminal is included, and receives the attendance sheet that the server is sent.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.