CN104836778B - A kind of implementation method of identifying code, apparatus and system - Google Patents

A kind of implementation method of identifying code, apparatus and system Download PDF

Info

Publication number
CN104836778B
CN104836778B CN201410047296.2A CN201410047296A CN104836778B CN 104836778 B CN104836778 B CN 104836778B CN 201410047296 A CN201410047296 A CN 201410047296A CN 104836778 B CN104836778 B CN 104836778B
Authority
CN
China
Prior art keywords
identifying code
terminal
motion mode
preset
mode signal
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.)
Active
Application number
CN201410047296.2A
Other languages
Chinese (zh)
Other versions
CN104836778A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410047296.2A priority Critical patent/CN104836778B/en
Publication of CN104836778A publication Critical patent/CN104836778A/en
Application granted granted Critical
Publication of CN104836778B publication Critical patent/CN104836778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The present invention relates to a kind of implementation methods of identifying code, comprising the following steps: when receiving the user access request for carrying out self terminal, server sends identifying code input request to the terminal;After terminal receives identifying code input request, the motion mode signal that gravity sensing module is generated in response to the movement of the terminal in terminal is obtained, and be sent to server using the motion mode signal as identifying code;Motion mode signal described in server analysis obtains the actual motion mode of the terminal, and judges whether the identifying code is correct according to the actual motion mode of the terminal.The present invention also provides a kind of realization device of identifying code and systems.It can be while meeting user experience demand using the present invention, it is ensured that the safety of identifying code.

Description

A kind of implementation method of identifying code, apparatus and system
Technical field
The specific embodiment of the invention is related to technical field of network security, in particular to a kind of implementation method of identifying code, dress It sets and system.
Background technique
Identifying code also known as automatically distinguishes turing test (the Completely Automated of computer and the mankind Public Turing test to tell Computers and Humans Apart, abbreviation CAPTCHA), it is a kind of differentiation User is computer or the public full auto-programs of the mankind.Computer in the actual use of identifying code, as server Problem can be automatically generated to be answered by user, and whether the answer of user is correctly judged.The problem must only have the mankind It can answer, and computer can not answer.Therefore, the user that can correctly answer out the problem is considered as the mankind.Identifying code Using that can prevent malice decryption, brush ticket, forum from the behaviors such as pouring water, to guarantee network security.
In order to improve the safety of identifying code, it usually needs improve the anti-crack ability of identifying code.Identifying code is improved at present The means of anti-crack ability be usually to increase the identification difficulty of identifying code, but the identification difficulty of identifying code is excessively high to reduce use The probability that family passes through, influences user experience.However, if reducing the identification difficulty of identifying code in order to promote user experience, it can The anti-crack ability for influencing identifying code, loses the effect of identifying code, to be unable to satisfy the demand of internet development.
Summary of the invention
In view of this, it is necessary to provide a kind of implementation method of identifying code, apparatus and system user experience can be being met While demand, it is ensured that the safety of identifying code.
A kind of implementation method of identifying code, comprising the following steps: when receiving the user access request for carrying out self terminal, clothes Business device sends identifying code input request to the terminal;After terminal receives identifying code input request, gravity-feed tank in terminal is obtained The motion mode signal for answering module to generate in response to the movement of the terminal, and be sent to using the motion mode signal as identifying code Server;Motion mode signal described in server analysis obtains the actual motion mode of the terminal, and according to the reality of the terminal Motion mode judges whether the identifying code is correct.
A kind of implementation method of identifying code, comprising the following steps: when receiving the user access request for carrying out self terminal, to The terminal sends identifying code input request;The identifying code that terminal is sent is obtained, which is that receive the identifying code defeated for terminal After entering request, motion mode signal of the gravity sensing module in response to the movement generation of the terminal in the terminal of acquisition;Analysis institute It states motion mode signal and obtains the actual motion mode of the terminal, and the identifying code is judged according to the actual motion mode of the terminal It is whether correct.
A kind of realization device of identifying code, comprising: sending module receives the user access request for carrying out self terminal for working as When, identifying code input request is sent to the terminal;Module is obtained, for obtaining the identifying code of terminal transmission, which is eventually After termination receives identifying code input request, fortune of the gravity sensing module in response to the movement generation of the terminal in the terminal of acquisition Flowing mode signal;Judgment module obtains the actual motion mode of the terminal for analyzing the motion mode signal, and according to this The actual motion mode of terminal judges whether the identifying code is correct.
A kind of realization system of identifying code, including terminal and server;The server carrys out self terminal for working as to receive User access request when, to the terminal send identifying code input request;The terminal, for receiving identifying code input After request, the motion mode signal that gravity sensing module is generated in response to the movement of the terminal in terminal is obtained, and by the movement Mode signal is sent to server as identifying code;The server is also used to analyze the motion mode signal and obtains the end The actual motion mode at end, and judge whether the identifying code is correct according to the actual motion mode of the terminal.
Compared to the prior art, the implementation method of identifying code of the present invention, apparatus and system make terminal receive server After the identifying code input request of transmission, the motion mode that gravity sensing module is generated in response to the movement of the terminal in terminal is obtained Signal, and it is sent to server using the motion mode signal as identifying code, then server refers to according to the motion mode signal The actual motion mode for the terminal shown judges whether the identifying code is correct, since the identifying code is only based on gravity ability in fact Existing, anti-crack ability with higher can be while meeting user experience demand, it is ensured that the safety of identifying code.
For above and other objects, features and advantages of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, And cooperate institute's accompanying drawings, it is described in detail below.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram of server.
Environment schematic when Fig. 2 is the implementation method application of identifying code provided in an embodiment of the present invention.
Fig. 3 is the flow chart of the implementation method for the identifying code that first embodiment of the invention provides.
Fig. 4 and Fig. 5 is the exemplary diagram of identifying code prompting interface.
Fig. 6 is the flow chart of the implementation method for the identifying code that second embodiment of the invention provides.
Fig. 7 is the block diagram of the realization device for the identifying code that third embodiment of the invention provides.
Fig. 8 is the block diagram of the realization system for the identifying code that fourth embodiment of the invention provides.
Specific embodiment
Further to illustrate that the present invention is the technical means and efficacy realizing predetermined goal of the invention and being taken, below in conjunction with Attached drawing and preferred embodiment, to specific embodiment, structure, feature and its effect according to the present invention, detailed description is as follows.
Fig. 1 shows a kind of structural block diagram of server.As shown in Figure 1, server 1 include it is one or more (in figure only Show one) memory 11, processor 12, storage control 13, Peripheral Interface 14, communication module 15, input unit 16 and aobvious Show unit 17.These components are mutually communicated by one or more communication bus/signal wire.
It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to the knot of server 1 It is configured to limit.For example, server 1 may also include than shown in Fig. 1 more perhaps less component or have with shown in Fig. 1 Different configurations.Each component shown in FIG. 1 can be realized using hardware, software, or its combination.
Memory 11 can be used for storing software program and module, such as the realization side of the identifying code in the embodiment of the present invention Corresponding program instruction/the module of method, apparatus and system, processor 12 by the software program that is stored in memory 11 of operation with And module realizes the implementation method of above-mentioned identifying code thereby executing various function application and data processing.
Memory 11 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 11 can further comprise The memory remotely located relative to processor 12, these remotely located memories can pass through network connection to server 1. The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Processor 12 and other possible components the access of memory 11 can be carried out under the control of storage control 13.
Various input/output devices are couple processor 12 and memory 11 by Peripheral Interface 14.Processor 12 is run The various functions and progress data processing of various softwares, instruction in memory 11 and execute server 1.
Communication module 15 with communication network or other equipment for being communicated.Specifically, communication module 15 for example may be used To be network interface card.Network interface card as in local area network connect computer and transmission medium interface, for realizing with local network transport medium Between physical connection matched with electric signal, to establish local area network and be connected to internet (Internet), with various networks As local area network, Metropolitan Area Network (MAN), wide area network are communicated.Network interface card may include various existing for executing the circuit elements of above-mentioned function Part, such as processor and memory (including ROM and RAM) etc..
Input unit 16 can be used for receiving the character information of input, and generate related with user setting and function control Keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 16 may include key 161 and Touch-control surface 162.Key 161 for example may include the character keys for inputting character, and the control for triggering control function Key processed.The example of control button includes " returning to main screen " key, power on/off key, camera button etc..Touch-control surface 162 (for example user uses any suitable object or attachment such as finger, stylus for the touch operation of collectable user on it or nearby Operation in touch-control surface 162 or near touch-control surface 162), and the corresponding connection of driving according to a pre-set procedure Device.Optionally, touch-control surface 162 may include both touch detecting apparatus and touch controller.Wherein, touch detection fills The touch orientation of detection user is set, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 12, and can receiving area It manages the order that device 12 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch-control surface 162.In addition to touch-control surface 162, input unit 16 can also include other input equipments.Above-mentioned Other input equipments include but is not limited to one of physical keyboard, trace ball, mouse, operating stick etc. or a variety of.
Display unit 17 is used to show information input by user, is supplied to user information and server 1 it is various Graphic interface.These graphical user interface can be made of figure, text, icon, video and any combination thereof.In a reality In example, display unit 17 includes a display panel 171.The display panel 171 may be, for example, a liquid crystal display panel (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode Display, OLED) display panel, electrophoretic display panel (Electro-Phoretic Display, EPD) etc..Further, Touch-control surface 162 may be disposed on display panel 171 to constitute an entirety with display panel 171.
As shown in fig.2, the environment schematic when implementation method for identifying code provided in an embodiment of the present invention is applied.? In the present embodiment, the implementation method of the identifying code is applied in above-mentioned server 1, the server 1 by network 2 and terminal 3 into Row network communication.The terminal 3 also may include above-mentioned memory, processor, storage control, Peripheral Interface, input unit And display unit.In addition, the terminal 3 can also include communication module 31 and gravity sensing module 32.
The communication module 31 for example can be RF(Radio Frequency, radio frequency) module.The RF module for receive with And electromagnetic wave is sent, the mutual conversion of electromagnetic wave and electric signal is realized, to be communicated with communication network or other equipment. RF module may include the various existing circuit elements for being used to execute these functions, for example, antenna, RF transceiver, number letter Number processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..RF module can be for example mutual with various networks Networking, intranet, wireless network communicate or communicated by wireless network with other equipment.Above-mentioned is wireless Network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Various communication marks can be used in above-mentioned wireless network Quasi-, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), it is wide Band Code Division Multiple Access (wideband code division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), Adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voice over Internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, instant messaging and short message agreement and any other is suitable Communication protocol, or even may include the agreement that those are not developed currently yet.
The gravity sensing module 32 is used for the acceleration change of inductive terminations 3, to generate corresponding motion mode signal. Such as gravity sensing module 32 can sense that terminal 3 carries out horizontal movement or vertical movement with arbitrary speed, surround any axis It is rotated, and exports corresponding motion mode signal, thus the number such as the movement velocity of instruction terminal 3, rotation angle According to.The movement that gravity sensing module 32 responds terminal 3 generates motion mode signal and belongs to more mature technical solution, herein not Its realization principle is repeated again.The gravity sensing module 32 can be gravity sensor.
The specific example of terminal 3 includes but is not limited to smart phone, tablet computer, PDA(Personal Digital Assistant, personal digital assistant) or other similar portable arithmetic unit.The server 1 may include one or more Platform server, certain server 1 are also possible to virtual cloud computing mould group.The network 2 can be arbitrary internetwork connection mode, example Such as internet (Internet), mobile Internet (2G, 3G network that such as telecom operators provide), local area network (wired or nothing Line) etc..
First embodiment
As shown in fig.3, first embodiment of the invention provides a kind of implementation method of identifying code, the realization side of the identifying code Method the following steps are included:
Step S1 sends identifying code input request to the terminal 3 when receiving the user access request for carrying out self terminal 3;
Step S2 obtains the identifying code that terminal 3 is sent, after which receives identifying code input request for terminal 3, The motion mode signal that gravity sensing module 32 is generated in response to the movement of the terminal 3 in the terminal 3 of acquisition;
Step S3 analyzes the motion mode signal and obtains the actual motion mode of the terminal 3, and according to the terminal 3 Actual motion mode judges whether the identifying code is correct.
According to the implementation method of above-mentioned identifying code, make terminal 3 in the identifying code input request for receiving the transmission of server 1 Afterwards, the motion mode signal that gravity sensing module 32 is generated in response to the movement of the terminal 3 in terminal 3 is obtained, and by the movement Mode signal is sent to server 1 as identifying code, and then server 1 is according to the terminal 3 of the motion mode signal designation Actual motion mode judges whether the identifying code is correct, can be while meeting user experience demand, it is ensured that the peace of identifying code Quan Xing.
In some instances, the realization details of each step of the above method is as follows:
User access request described in step S1 for example can be user by the browser in terminal 3 to server 1 The web access requests of transmission, such as a certain page of access social forum;It is also possible to user and passes through certain client in terminal 3 End, such as the account logging request that social application or the user end to server 1 of instant messaging application are sent, such as log in QQ; It can also be that user executes request by the operation that the browser or user end to server 1 are sent, such as upload or download certain A document makes comments, submits order etc..
After step S1 receives the user access request, before responding the user access request, need first to send out to terminal 3 Identifying code input request is sent, requesting terminal 3 inputs identifying code.Only when terminal 3 inputs correct identifying code, server 1 is The user access request is responded, such as the page for allowing user to access the forum, user is allowed to log in the social application Or instant messaging application, allow user's downloading document, make comments or submit order etc..
Identifying code input request includes identifying code prompting interface.The identifying code prompting interface is pre- for prompt terminal 3 If motion mode.Specifically, in an example, which can preassign the motion profile of terminal 3, Such as the motion profile of 8-shaped in Fig. 4.Therefore, the movement rail for the terminal 3 that user needs to be specified according to the identifying code prompting interface Mark, controlling terminal 3 are moved, such as controlling terminal 3 generates the motion profile of a 8-shaped on arbitrary plane.
In another example, which can also preassign the rotation mode of terminal 3, including rotation Direction and rotation angle, such as designated terminal 3 are first tilted to the left after certain angle the certain angle that is tilted to the right again.Identifying code prompt The specified rotation mode in interface can be by existing gravity sensing game, such as game circle such as " bead into hole ", " racing car " Face is reflected, as shown in " bead into hole " interface in Fig. 5.User needs to be referred to according to identifying code prompting interface as a result, The rotation mode of fixed terminal 3, controlling terminal 3 are rotated, such as controlling terminal 3 successively tilts certain angle to each assigned direction Degree, (bead 51 in Fig. 5 until making bead 51 shown in identifying code prompting interface eventually enter into predetermined duck eye 53 from predetermined starting point 52 It is sitting at predetermined starting point 52, therefore label is overlapped).
In step S2, after terminal 3 receives the identifying code input request of step S1 transmission, it will show that the identifying code is defeated Enter request include the identifying code prompting interface, i.e., by the predetermined movement mode of suggested terminal 3 terminal 3 display list It shows in member, is checked for user.After user sees the identifying code prompting interface, can controlling terminal 3 according to the default fortune Flowing mode is moved.The gravity sensing module 32 in terminal 3 is the corresponding motion mode of movement generation for responding terminal 3 Signal.
Specifically, in order to carry out gravity sensing module 32 only in user control terminal 3 according to the predetermined movement mode The movement of terminal 3 is just responded during movement and generates corresponding motion mode information, to avoid gravity sensing module 32 The movement of terminal 3 desired by simultaneously non-user is also sensed as the output of motion mode signal, which can also wrap The option that triggering gravity sensing module 32 is started to work with power cut-off is included, such as Fig. 4 or shown in fig. 5 " starts to input " option " terminating input " option.When this, which " starts to input " option, is selected, gravity sensing module 32 starts responding to the fortune of terminal 3 It moves and generates corresponding motion mode signal, user should start controlling terminal 3 and move according to predetermined movement mode at this time. When " the terminating input " option is selected, gravity sensing module 32 terminates the movement of response terminal 3 and generates motion mode letter Number, user should the movement that carries out according to predetermined movement mode of finishing control terminal 3 at this time.Certainly, gravity sensing module 32 It can be shown in the display unit of terminal 3 in the identifying code prompting interface and start responding to the movement of terminal 3 simultaneously when finishing Generate corresponding motion mode signal.
Terminal 3, can also be by the movement while receiving the motion mode signal caused by gravity sensing module 32 Mode signal resolution be terminal 3 actual motion mode, and on the display unit of terminal 3 instruction terminal 3 actual motion side Formula avoids error control so that user be made to understand the current kinetic mode of terminal 3 in real time.
Such as shown in Fig. 4, if the motion profile that identifying code prompting interface preassigns terminal 3 is the motion profile of 8-shaped, When " starting to input " option described in user's selection, terminal 3 is in the preassigned 8-shaped movement of identifying code prompting interface institute Any position shows a sliding block 41 on track.Then, terminal 3 obtains the motion mode letter that gravity sensing module 32 generates Number, and be the actual motion mode of terminal 3 by the motion mode signal resolution, and the cunning is controlled according to the actual motion mode Block 41 is moved.User can continue controlling terminal 3 with reference to the movement of sliding 41 and move, until sliding block 41 slides back to origin and is Only.In addition, in the preassigned 8-shaped track of identifying code prompting interface, path portion that the sliding block 41 has been slid over It can be highlighted in for example highlighted form, so that user control terminal 3 be prompted to continue to move, continue sliding block 41 to not waking up The direction for the path portion that mesh is shown moves, until the 8-shaped motion profile all becomes being highlighted.
Such as shown in Fig. 5, if identifying code prompting interface preassigns the rotation mode of terminal 3, including direction of rotation and rotation Gyration makes terminal 3 after according to rotation mode rotation, bead 51 can be made to eventually enter into predetermined duck eye from predetermined starting point 52 53, then when user selection described in " start to input " option when, terminal 3 will make the bead 51 be located at the predetermined starting point 52.Then eventually End 3 obtains the motion mode signal that gravity sensing module 32 generates, and is the reality of terminal 3 by the motion mode signal resolution Border motion mode, including direction of rotation and rotation angle, and bead 51 is controlled according to the actual motion mode and is rolled.User can It is rolled with continuing controlling terminal 3 with reference to the rotating direction of bead 51, until bead 51 rolls into predetermined duck eye 53.When bead 51 When rolling into predetermined duck eye 53, gravity sensing module 32 is by the movement for terminating response terminal 3 and generates motion mode signal.
After gravity sensing module 32 terminates the movement of response terminal 3 and generates motion mode signal, terminal 3 will acquire this Motion mode signal, and server 1 is sent to using the motion mode signal as identifying code.
In step S3, server 1 analyzes the motion mode signal, according to the working principle of gravity sensing module 32, by this Motion mode signal resolution is the acceleration change of terminal 3, to obtain the actual motion mode of terminal 3, such as the fortune of terminal 3 Dynamic rail mark or rotation mode etc..Step S3 judges whether the identifying code is correct according to the actual motion mode of terminal 3.It is specific and Speech, step S3 judges whether the actual motion mode of terminal 3 and the predetermined movement mode are consistent, if so, judging the verifying Code is correct.For example, the identifying code prompting interface in the identifying code input request that the available step S1 of step S3 is generated, to obtain The predetermined movement mode of terminal 3 is taken, such as preassigning the motion profile of terminal 3 is the motion profile of 8-shaped, or is preassigned The rotation mode of terminal 3 is that the bead 51 is made finally to roll into predetermined duck eye 53.When terminal 3 actual motion mode with it is described pre- If motion mode is consistent, such as the actual motion mode of terminal 3 is that 8-shaped motion profile or terminal 3 are formed on arbitrary plane Actual motion mode so that bead 51 is rolled into predetermined duck eye 53, then step S3 judges that the identifying code is correct, that is, thinks the identifying code Be by the mankind and simultaneously non-computer is answered.
It is worth noting that, step S3 judges that the actual motion mode of terminal 3 is consistent with predetermined movement mode, should also have There is certain error tolerance, i.e. the actual motion mode and predetermined movement mode is not necessarily completely the same, such as when the practical fortune The coincidence factor for the 8-shaped track that the 8-shaped track of flowing mode instruction and predetermined movement mode indicate reaches preset value, such as 90% When, step S3 can determine that the actual motion mode of terminal 3 is consistent with predetermined movement mode.
In conclusion the implementation method of the identifying code of the present embodiment, the user for making server 1 carry out self terminal 3 in response is visited Before asking request, the identifying code that terminal 3 is sent first is received, which is terminal 3 in the identifying code for receiving the transmission of server 1 After input request, motion mode signal of the gravity sensing module 32 in response to the movement generation of the terminal 3 in the terminal 1 of acquisition. Server 1 can judge whether the identifying code is correct according to the actual motion mode of the terminal 3 of the motion mode signal designation. It is just able to achieve since the identifying code is only based on gravity, anti-crack ability with higher, therefore user experience can met While demand, it is ensured that the safety of identifying code.
Second embodiment
As shown in fig.6, second embodiment of the invention provides a kind of implementation method of identifying code, by the server 1 Execution is interacted with terminal 3.The implementation method of the identifying code the following steps are included:
Step S11, when receiving the user access request for carrying out self terminal 3, server 1 sends identifying code to the terminal 3 Input request.The identifying code input request includes identifying code prompting interface, which presets Motion mode.The predetermined movement mode includes predetermined movement track or default rotation mode.The default rotation mode includes rotation Direction and rotation angle.
Step S12, terminal 3 receive the identifying code input request after, obtain terminal 3 in gravity sensing module 32 in response to The motion mode signal that the movement of the terminal 3 generates, and server 1 is sent to using the motion mode signal as identifying code.Tool For body, after terminal 3 receives identifying code input request, the identifying code prompting interface will be shown.The identifying code prompting interface In addition to the predetermined movement mode of prompt terminal 3, the actual motion mode of terminal 3 is also indicated.
Step S13, server 1 analyze the motion mode signal and obtain the actual motion mode of the terminal 3, and according to this The actual motion mode of terminal 3 judges whether the identifying code is correct.Specifically, server 1 will judge the reality of terminal 3 Whether motion mode and the predetermined movement mode are consistent, if so, judging that the identifying code is correct.
In conclusion the implementation method of the identifying code of the present embodiment, makes terminal 3 in the verifying for receiving the transmission of server 1 After code input request, the motion mode signal that gravity sensing module 32 is generated in response to the movement of the terminal 3 in terminal 1 is obtained, And it is sent to server 1 using the motion mode signal as identifying code, then server 1 is according to the motion mode signal designation The actual motion mode of the terminal 3 judges whether the identifying code is correct.It is just able to achieve, has since the identifying code is only based on gravity There is higher anti-crack ability, therefore can be while meeting user experience demand, it is ensured that the safety of identifying code.
3rd embodiment
As shown in fig.7, third embodiment of the invention provides a kind of realization device 100 of identifying code, the reality of the identifying code Existing device 100 is run in the server 1 comprising sending module 101 obtains module 102 and judgment module 103.It can be with Understand, above-mentioned each module refers to computer program or program segment, for executing certain one or more specific function.This Outside, it must be separated that the differentiation of above-mentioned each module, which does not represent actual program code, yet.
Sending module 101, for sending identifying code to the terminal 3 when receiving the user access request for carrying out self terminal 3 Input request.The identifying code input request includes identifying code prompting interface, which presets Motion mode.The predetermined movement mode includes predetermined movement track or default rotation mode.The default rotation mode includes rotation Direction and rotation angle.
Module 102 is obtained, for obtaining the identifying code of the transmission of terminal 3, which is that receive the identifying code defeated for terminal 3 After entering request, motion mode signal of the gravity sensing module 32 in response to the movement generation of the terminal 3 in the terminal 3 of acquisition.Tool For body, after terminal 3 receives identifying code input request, the identifying code prompting interface will be shown.The identifying code prompting interface In addition to the predetermined movement mode of prompt terminal 3, the actual motion mode of terminal 3 is also indicated.
Judgment module 103 obtains the actual motion mode of the terminal 3 for analyzing the motion mode signal, and according to The actual motion mode of the terminal 3 judges whether the identifying code is correct.Specifically, judgment module 103 will judge the institute of terminal 3 It states actual motion mode and whether the predetermined movement mode is consistent, if so, judging that the identifying code is correct.
For the specific work process of above each module, the identifying code that can be provided with further reference to first embodiment of the invention Implementation method, details are not described herein.
In conclusion the realization device 100 of the identifying code of the present embodiment, makes server 1 carry out the user of self terminal 3 in response Before access request, the identifying code that terminal 3 is sent first is received, which is terminal 3 in the verifying for receiving the transmission of server 1 After code input request, the motion mode that gravity sensing module 32 is generated in response to the movement of the terminal 3 in the terminal 1 of acquisition is believed Number.Just whether server 1 can judge the identifying code according to the actual motion mode of the terminal 3 of the motion mode signal designation Really.It is just able to achieve since the identifying code is only based on gravity, anti-crack ability with higher, therefore user's body can met While testing demand, it is ensured that the safety of identifying code.
Fourth embodiment
As shown in fig.8, fourth embodiment of the invention provides a kind of realization system 200 of identifying code, the reality of the identifying code Existing system 200 includes an at least server and an at least terminal.Wherein, the server and terminal can be first embodiment Described in server 1 and terminal 3.
The server 1, for sending identifying code to the terminal 3 when receiving the user access request for carrying out self terminal 3 Input request.The identifying code input request includes identifying code prompting interface, which presets Motion mode.The predetermined movement mode includes predetermined movement track or default rotation mode.The default rotation mode includes rotation Direction and rotation angle.
The terminal 3, for obtaining 32 sound of gravity sensing module in terminal 3 after receiving identifying code input request The motion mode signal that should be generated in the movement of the terminal 3, and server is sent to using the motion mode signal as identifying code 1.Specifically, will show the identifying code prompting interface after terminal 3 receives identifying code input request.Identifying code prompt Interface also indicates the actual motion mode of terminal 3 in addition to the predetermined movement mode of prompt terminal 3.
The server 1 is also used to analyze the motion mode signal and obtains the actual motion mode of the terminal 3, and root Judge whether the identifying code is correct according to the actual motion mode of the terminal 3.Specifically, server 1 will judge described in terminal 3 Whether actual motion mode and the predetermined movement mode are consistent, if so, judging that the identifying code is correct.
Server 1 can be further with the interworking procedure of terminal 3 in the realization system 200 of the identifying code of the present embodiment With reference to the implementation method for the identifying code that second embodiment of the invention provides, details are not described herein.
In conclusion the realization system 200 of the identifying code of the present embodiment, makes terminal 3 receive testing for the transmission of server 1 After demonstrate,proving code input request, obtains the motion mode that gravity sensing module 32 is generated in response to the movement of the terminal 3 in terminal 1 and believe Number, and it is sent to server 1 using the motion mode signal as identifying code, then server 1 refers to according to the motion mode signal The actual motion mode for the terminal 3 shown judges whether the identifying code is correct.Since the identifying code is only based on gravity ability in fact It is existing, anti-crack ability with higher, therefore can be while meeting user experience demand, it is ensured that the safety of identifying code.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is executable to be stored with computer Instruction, above-mentioned computer readable storage medium is, for example, nonvolatile memory such as CD, hard disk or flash memory.It is above-mentioned Computer executable instructions for allowing computer or similar arithmetic unit to complete in the implementation method of above-mentioned identifying code Various operations.
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, though So the present invention is disclosed as above with preferred embodiment, and however, it is not intended to limit the invention, anyone skilled in the art, not It is detached within the scope of technical solution of the present invention, when the technology contents using the disclosure above are modified or are modified to equivalent change The equivalent embodiment of change, but without departing from the technical solutions of the present invention, implement according to the technical essence of the invention to above Any brief introduction modification, equivalent variations and modification made by example, all of which are still within the scope of the technical scheme of the invention.

Claims (12)

1. a kind of implementation method of identifying code, which is characterized in that method includes the following steps:
When receiving the user access request for carrying out self terminal, server sends preset identifying code input to the terminal and asks It asks;
Terminal receives the identifying code input request, and shows identifying code prompt information, and the identifying code prompt information is gravity Induction game information;
The motion mode signal generated in game process according to terminal described in preset motion mode signal authentication;
When the motion mode signal generated in the game process is consistent with preset motion mode signal, pass through verifying.
2. the implementation method of identifying code as described in claim 1, which is characterized in that the gravity sensing game information includes: Zigzag motion track game information, bead enter hole game information, racing car moving game information.
3. the implementation method of identifying code as claimed in claim 1 or 2, which is characterized in that preset motion mode includes default Motion profile, preset direction of rotation, at least one of preset rotation angle.
4. a kind of implementation method of identifying code, which is characterized in that method includes the following steps:
When receiving the user access request for carrying out self terminal, Xiang Suoshu terminal sends preset identifying code input request;
The identifying code that terminal is sent is obtained, which is that terminal receives the identifying code input request, according to the verifying of displaying The motion mode signal that code prompt information generates in game process;The identifying code prompt information is gravity induction game letter Breath;
According to identifying code described in preset motion mode signal authentication, when the identifying code is consistent with preset motion mode signal When, pass through verifying.
5. the implementation method of identifying code as claimed in claim 4, which is characterized in that the gravity sensing game information includes: Zigzag motion track game information, bead enter hole game information, racing car moving game information.
6. the implementation method of identifying code as described in claim 4 or 5, which is characterized in that preset motion mode includes default Motion profile, preset direction of rotation, at least one of preset rotation angle.
7. a kind of realization device of identifying code, which is characterized in that the device includes:
Sending module, for when receiving the user access request for carrying out self terminal, Xiang Suoshu terminal to send preset identifying code Input request;
Module is obtained, for obtaining the identifying code of terminal transmission, which is that terminal receives the identifying code input request, root The motion mode signal generated in game process according to the identifying code prompt information of displaying;The identifying code prompt information is attached most importance to Power induction game information;
Judgment module is used for the identifying code according to preset motion mode signal authentication, when the identifying code and preset movement When mode signal is consistent, pass through verifying.
8. the realization device of identifying code as claimed in claim 7, which is characterized in that the gravity sensing game information includes: Zigzag motion track game information, bead enter hole game information, racing car moving game information.
9. the realization device of identifying code as claimed in claim 7 or 8, which is characterized in that preset motion mode includes default Motion profile, preset direction of rotation, at least one of preset rotation angle.
10. a kind of realization system of identifying code, which is characterized in that the system includes terminal and server;
The server, for when receiving the user access request for carrying out self terminal, Xiang Suoshu terminal to send preset verifying Code input request;
The terminal shows identifying code prompt information, and will be according to the verifying of displaying for receiving the identifying code input request The motion mode signal that code prompt information generates in game process is sent to server as identifying code;The identifying code prompt Information is gravity induction game information;
The server is also used to the identifying code according to preset motion mode signal authentication, when the identifying code with it is preset When motion mode signal is consistent, pass through verifying.
11. the realization system of identifying code as claimed in claim 10, which is characterized in that the gravity sensing game information packet Include: zigzag motion track game information, bead enter hole game information, racing car moving game information.
12. the realization system of identifying code as described in claim 10 or 11, which is characterized in that the preset motion mode packet Include at least one of preset motion profile, preset direction of rotation, preset rotation angle.
CN201410047296.2A 2014-02-11 2014-02-11 A kind of implementation method of identifying code, apparatus and system Active CN104836778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410047296.2A CN104836778B (en) 2014-02-11 2014-02-11 A kind of implementation method of identifying code, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410047296.2A CN104836778B (en) 2014-02-11 2014-02-11 A kind of implementation method of identifying code, apparatus and system

Publications (2)

Publication Number Publication Date
CN104836778A CN104836778A (en) 2015-08-12
CN104836778B true CN104836778B (en) 2019-03-12

Family

ID=53814418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410047296.2A Active CN104836778B (en) 2014-02-11 2014-02-11 A kind of implementation method of identifying code, apparatus and system

Country Status (1)

Country Link
CN (1) CN104836778B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354453B (en) * 2015-09-25 2018-09-28 北京奇艺世纪科技有限公司 A kind of verification method and device in mobile device operation source
CN106060027B (en) * 2016-05-25 2019-04-12 北京小米移动软件有限公司 Method, apparatus, equipment and the system verified based on identifying code
CN107920044A (en) * 2016-10-09 2018-04-17 中国移动通信有限公司研究院 A kind of safe verification method and device
CN106778201A (en) * 2016-11-30 2017-05-31 百度在线网络技术(北京)有限公司 For the safe verification method and device of mobile device
CN106991303B (en) * 2017-03-07 2020-01-21 微梦创科网络科技(中国)有限公司 Gesture verification code identification method and device
CN108809654B (en) * 2018-06-29 2021-04-27 苏州科达科技股份有限公司 Dynamic verification code generation method, verification method and device based on dynamic verification code
CN111125671B (en) * 2019-12-19 2023-08-01 字节跳动有限公司 Verification code processing method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599298A (en) * 2009-06-29 2009-12-09 方秀芹 Security certification memory, terminal device and terminal device safety certifying method
CN102377732A (en) * 2010-08-12 2012-03-14 盛乐信息技术(上海)有限公司 Method for verifying operation of natural person
CN103516726A (en) * 2013-09-22 2014-01-15 小米科技有限责任公司 Verification method, device, client side, server and equipment based on terminal behavior

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262074A1 (en) * 2007-01-05 2009-10-22 Invensense Inc. Controlling and accessing content using motion processing on mobile devices
CN103186744B (en) * 2011-12-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Terminal encipher-decipher method and terminal
CN102981645B (en) * 2012-11-16 2015-09-30 广东欧珀移动通信有限公司 A kind of oppositely gravity sensing method and mobile terminal thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599298A (en) * 2009-06-29 2009-12-09 方秀芹 Security certification memory, terminal device and terminal device safety certifying method
CN102377732A (en) * 2010-08-12 2012-03-14 盛乐信息技术(上海)有限公司 Method for verifying operation of natural person
CN103516726A (en) * 2013-09-22 2014-01-15 小米科技有限责任公司 Verification method, device, client side, server and equipment based on terminal behavior

Also Published As

Publication number Publication date
CN104836778A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104836778B (en) A kind of implementation method of identifying code, apparatus and system
US10395018B2 (en) System, method, and device of detecting identity of a user and authenticating a user
US10425410B2 (en) Identity authentication method and apparatus, and user equipment
US8625847B2 (en) Login method based on direction of gaze
US8959608B2 (en) Single sign-on for a native application and a web application on a mobile device
CN105557036B (en) The efficient of network insertion between device is shared automatically
CN108920366B (en) Sub-application debugging method, device and system
CA2769898C (en) Login method based on direction of gaze
CN101008892B (en) Wireless network interactive graphic user interface display system
US11237636B2 (en) System and method for network configuration and behavior control by proximity enabled devices
CN108475304B (en) Method and device for associating application program and biological characteristics and mobile terminal
CN111478849B (en) Service access method, device and storage medium
CN107451813B (en) Payment method, payment device and payment server
CN105205379A (en) Control method and device for terminal application and terminal
CN104735657B (en) Security terminal verification method, wireless access point binding method, apparatus and system
CN111065088B (en) Position acquisition method and device, storage medium and electronic equipment
CN105992204A (en) Access authentication method of applications of mobile intelligent terminal and device
JP2020509622A (en) Wireless network type detection method and apparatus and electronic device
KR20130015922A (en) Method and apparatus for input password in using game
CN105592005B (en) Security verification method, device and system
CN104052757B (en) Identification system and method based on the client application in mobile phone
CN105306202B (en) Auth method, device and server
WO2021077828A1 (en) Near field communication authentication initiating method and related apparatus
CN107454664B (en) Data transmission method and mobile terminal
CN105490992B (en) A kind of verification method of two dimensional code, device and system

Legal Events

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