CN103605454A - Error prompting method, error prompting device and terminal equipment - Google Patents

Error prompting method, error prompting device and terminal equipment Download PDF

Info

Publication number
CN103605454A
CN103605454A CN201310567779.0A CN201310567779A CN103605454A CN 103605454 A CN103605454 A CN 103605454A CN 201310567779 A CN201310567779 A CN 201310567779A CN 103605454 A CN103605454 A CN 103605454A
Authority
CN
China
Prior art keywords
input frame
information
miscue
vibration
input
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.)
Pending
Application number
CN201310567779.0A
Other languages
Chinese (zh)
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310567779.0A priority Critical patent/CN103605454A/en
Publication of CN103605454A publication Critical patent/CN103605454A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an error prompting method, an error prompting device and terminal equipment and relates to the technical field of computers and internet. By the method and the device, page space occupied by error prompting information can be saved. The method includes verifying information input through an input box; vibrating the input box when the input information is verified to be incorrect.

Description

A kind of method of miscue, device and terminal device
Technical field
The disclosure is directed to computing machine and Internet technical field, especially about a kind of method, device and terminal device of miscue.
Background technology
Internet (internet) claim again the Internet, is global network, is a kind of carrier of common information, is a kind of of mass medium.Having agility, popularization, is one of popular, the most most popular now medium.Common user or private user are enjoyed high level, the comprehensive service that modern computer infotech is brought.
There is tens the network user in the whole world, no matter is by personal computer (PC), panel computer or surfing Internet with cell phone, all be unable to do without input and the checking of various information.When input information mistake, for the consideration of hommization, can be with written form to user's output error information.
This miscue information can not be pre-existing in, but in blank space, ejects suddenly when input information mistake, can affect visual interactive effect like this, has disperseed user's notice.And this miscue information is usually located at the side of input frame or below, miscue informational needs takies the position of the page.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method, device and terminal device of miscue.
On the one hand, the disclosure provides a kind of method of miscue, comprising:
The information of inputting by input frame is verified;
When the information errors of checking input, vibrate described input frame.
In disclosure embodiment, by the mode output error information of vibration input frame, this miscue information does not need the page space outside occupying volume, has saved page resource.And which input frame the information errors in which input frame, vibrate, and can point out accurately user.In addition, user's focus when input, at input frame, is pointed out user by the mode of vibration input frame, there is no the focus of transferring user, reduces user's interference and impact.
During the described information errors in checking input, vibrate described input frame, comprising: when the described information errors of checking input, with predetermined direction, vibrate described input frame; Or
When the described information errors of checking input, with desired trajectory, vibrate described input frame.
In disclosure embodiment, adopt various directions, various track to vibrate input frame, can realize multiple output effect.
The current location of described input frame of take is reference point, and described input frame is vibrated with predetermined amplitude in a predetermined direction.
In disclosure embodiment, all the time around the current location vibration of input frame, user's notice is guided to the current location at input frame all the time, even if input frame stops vibration, also do not affect user's notice.
When vibration number reaches default frequency threshold value, finish vibration.
In disclosure embodiment, input frame vibration stops several times afterwards, so that user re-enters information.
Described input frame is being offset and is being got back to after reference point, and using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
Disclosure embodiment vibrates by once the successively decrease mode of certain pixel of every vibration, and effect is to make the vibration of input frame tend to gradually reference point, can make user's focus more concentrate on input frame, and prompting effect is better.
Described method also comprises: while vibrating described input frame, in input frame with written form output error information.
In disclosure embodiment, in vibration input frame, also with written form prompting user, and this article word is arranged in input frame, additionally do not take page space, saves page resource, and suggestion content clear and definite, accurately succinct.
Described method also comprises: when cursor is positioned at input frame, hide the miscue information of input frame Chinese word form.
In disclosure embodiment, when cursor is positioned at input frame, show user's needs input message again, now hide the miscue information in input frame, so that not interference user input realizes normal input function.
On the other hand, the disclosure provides a kind of device of miscue, comprising:
Authentication module, for verifying the information of inputting by input frame;
Vibration module, for when verifying the information errors of input, vibrates described input frame.
Described vibration module, when the described information errors of checking input, vibrates described input frame with predetermined direction; Or, when the described information errors of checking input, with desired trajectory, vibrate described input frame.
It is reference point that described vibration module be take the current location of described input frame, and described input frame is vibrated with predetermined amplitude in a predetermined direction.
Described vibration module, when vibration number reaches default frequency threshold value, finishes vibration.
Amplitude determination module, for described input frame is being offset and is being got back to after reference point, using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
Described device also comprises: prompting output module, when vibrating described input frame, in described input frame with written form output error information.
Described device also comprises: hide module, for when cursor is positioned at described input frame, hide the miscue information of described input frame Chinese word form.
On the other hand, the disclosure provides a kind of terminal device, terminal device includes storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out the instruction of following operation by one or above processor:
The information of inputting by input frame is verified;
When the information errors of checking input, vibrate described input frame.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the disclosure, forms the application's a part, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the exemplary process diagram of the method for miscue in disclosure embodiment;
Fig. 2 is the illustrative diagram of vibrating left in disclosure embodiment;
Fig. 3 is the illustrative diagram of vibrating to the right in disclosure embodiment;
Fig. 4 is the illustrative diagram that in disclosure embodiment, Oscillation Amplitude successively decreases;
Fig. 5 is the illustrative diagram of disclosure embodiment Chinese word prompting;
Fig. 6 is the illustrative diagram of hidden text prompting in disclosure embodiment;
Fig. 7 is the exemplary process diagram of the method for the miscue of Oscillation Amplitude fixedly time in disclosure embodiment;
Fig. 8 is the exemplary process diagram of the method for miscue when Oscillation Amplitude diminishes gradually in disclosure embodiment;
Fig. 9 is the exemplary process diagram of the method for the miscue reminded with word in disclosure embodiment;
Figure 10 is the exemplary block diagram of the device of miscue in disclosure embodiment;
Figure 11 is the exemplary block diagram of the device of miscue in disclosure embodiment;
Figure 12 is the exemplary block diagram of the device of miscue in disclosure embodiment;
Figure 13 is the exemplary block diagram of the device of miscue in disclosure embodiment;
Figure 14 is the exemplary block diagram of terminal device.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with embodiment and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and explanation thereof are used for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of method, device and terminal device of miscue, below in conjunction with accompanying drawing, the disclosure is elaborated.
In disclosure embodiment, by the mode output error information of vibration input frame, this miscue information does not need the page space outside occupying volume, has saved page resource.And which input frame the information errors in which input frame, vibrate, and can point out accurately user.In addition, user's focus when input, at input frame, is pointed out user by the mode of vibration input frame, there is no the focus of transferring user, reduces user's interference and impact.
The method of disclosure embodiment is applicable to the miscue of various pages input, the instrument browsing pages such as various browsers that can be by terminal device or mail.
In one embodiment, as shown in Figure 1, the method for miscue comprises:
In step 101, terminal device is verified the information of inputting by input frame.
In step 102, terminal device, when the information errors of checking input, vibrates input frame.
When the information of checking input is correct, continue to process accordingly, such as logining successfully or succeeding in registration etc.
In step 101, the information of input can comprise much information, such as: the various information such as user name, password, passport NO. and contact address.To the checking of information, can comprise legitimate verification and verification of correctness etc.Legitimate verification is as format verification, and for example password can only be numeral and alphabetical, and whether the information of checking input is numeral or alphabetical, if numeral or alphabetical is verified, otherwise authentication error.Can carry out once format checking by character of every input.Verification of correctness as: after input is legal, whether the information of checking input accurate, and for example password is AAAAAA, if the information of input is not AAAAAA, authentication error.
In step 102, can there is multiple implementation, as mode A1, when the information errors of checking input, with predetermined direction vibration input frame.Wherein, predetermined direction can be laterally, longitudinally or other predetermined direction, such as upper left to lower right etc.Can set in advance according to actual needs, various directions are all applicable to the present embodiment.During with the mode output error information of transverse vibration input frame, because input frame is conventionally rectangle, and lateral extension, so the effect of transverse vibration is better.
In one embodiment, the current location of input frame of take is reference point, and input frame is vibrated with predetermined amplitude in a predetermined direction.All the time around the current location vibration of input frame, user's notice is guided to the current location at input frame all the time, even if input frame stops vibration, also do not affect user's notice.
Or, as mode A2, when the information errors of checking input, with desired trajectory vibration input frame.Wherein, desired trajectory can be various tracks, as realizes the track of various animation effects.For example, can push to input frame the effect of rear resilience, input frame be take transverse center point and to central point, is shunk as reference point, again for example, and the track of squeezing effect or pop effect.
In one embodiment, when vibration number reaches default frequency threshold value, finish vibration.Input frame vibration stops several times afterwards, so that user re-enters information.
In one embodiment, predetermined amplitude is for to be offset input frame getting back to after reference point, and using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.By once the successively decrease mode of certain pixel of every vibration, vibrate, effect is to make the vibration of input frame tend to gradually reference point, can make user's focus more concentrate on input frame, and prompting effect is better.
In the present embodiment, the process of vibration input frame realizes by changing the coordinate of input frame in the page.
When the information errors of checking input, the current location of input frame of take is reference point, input frame is offset to a default N pixel successively in both lateral sides, to vibrate once; When vibration number reaches default frequency threshold value, finish vibration.Both lateral sides is offset and refers to successively, centered by reference point, and first skew left, then skew to the right, this is once vibration.
For example, the coordinate of input frame in the page is (X, Y), N=50.First revise the value of X, i.e. X=X-50, coordinate is (X-50, Y), with this coordinate output input frame, output effect is that input frame has been moved to the left 50 pixels, shown in Figure 2.Revise again the value of X, i.e. X=X+50, coordinate is (X+50, Y), owing to having subtracted before 50, has added again 50 specifically, is equivalent to input frame and gets back to reference point.Revise again the value of X, i.e. X=X+50, coordinate is (X+50, Y), adds 50 on reference point, output effect is for 50 pixels that move right in datum, shown in Figure 3.Then continue to revise the value of X, i.e. X=X-50, coordinate be (X-50, Y), with this coordinate, exports input frame, output effect is that input frame is got back to reference point.Above process completes once vibration, and vibration number F adds 1.Repeat said process, until vibration number F reaches default frequency threshold value.
By changing the coordinate (X, Y) of input frame in the page, can realize the vibration of input frame on various predetermined directions and desired trajectory.
If repetition said process, the amplitude of each vibration is identical.Also can another kind of implementation, as different in the amplitude of each vibration.While vibrating input frame for the first time, the current location of input frame of take is reference point, and input frame is offset to a default N pixel successively in both lateral sides.Input frame be offset to N pixel and getting back to after reference point, a default N pixel being subtracted to M(and be offset increment); N and M are positive integer, and M is less than N.Input frame is offset to a default N-M pixel successively in both lateral sides.Vibrating effect is that Oscillation Amplitude is more and more less, makes the vibration of input frame tend to gradually reference point, can make user's focus more concentrate on input frame, and prompting effect is better.Vibration processes can be shown in Figure 4 schematic diagram.
For example, N=50, M=1; While vibrating for the first time, input frame is moved respectively to 50 pixels to the left and right; Next time, while vibrating, N=N-M, moved respectively 49 pixels to the left and right by input frame.By revising the value of M, can change the amplitude of vibration.
For realizing the application program of vibration input frame, can realize by script.When the information errors of checking input, load and move this script, realize the vibration of input frame.And which input frame the information errors in which input frame vibrates.
If information of the every input of user, just carry out legitimate verification and Accuracy Verification,, when the information errors of checking input, vibrates this input frame in time.
If information of the every input of user, only carries out legitimate verification, if legitimate verification mistake is vibrated this input frame.After all having inputted for all input frames (being that legitimate verification passes through), then while carrying out Accuracy Verification, may there is the situation of the information errors in a plurality of input frames.During information errors in having a plurality of input frames, can vibrate according to reading order the input frame of first error message, user, re-enter after information (at least format verification by), vibrate the input frame of next error message.By that analogy, until the input frame of all error messages all completes and re-enter, more all information is carried out to Accuracy Verification.If also there is the information of authentication error, repeat said process.
In order further to point out more accurately user, vibration is during input frame, in input frame with written form output error information.That is, miscue information comprises the miscue information of mode of vibration and the miscue information of written form.In input frame, with written form output error information, can there is multiple implementation, with HTML (Hypertext Markup Language) (HyperText Markup Language, HTML) 5 webpage is example, can be by changing the placeholder(placeholder of input frame) value of attribute realizes output error information.Placeholder attribute provides the information (hint) that can describe input field desired value.This prompting can show, and can when field obtains focus, disappear when input field is sky.Can simply be interpreted as default text prompting, the passage that while not inputting any content exactly in an input frame, acquiescence is shown.The input frame of most of types can carry out output error information by placeholder attribute, the type of applicable input frame at least comprises: text(text), search(search), url(unified resource location), telephone(telephone number), email(E-mail address) and password(password).
For example, when user enters login interface, as shown in Figures 2 and 3, in input frame 1, show mailbox/mobile phone, display password in input frame 2.Now, the placeholder property value of input frame 1 is " mailbox/mobile phone ", and the placeholder property value of input frame 2 is " password ".When user need to input mailbox account number or cell-phone number, can be by cursor movement in input frame 1, the placeholder property value of input frame 1 is empty, a display highlighting in input frame 1, does not show other information.In the process of user's input message in input frame 1, can verify, when the information errors of checking input, vibration input frame, with output error information, revise the placeholder property value of input frame 1 simultaneously, as be revised as " mailbox mistake ", with written form output error information " mailbox mistake ", shown in Figure 5.User sees after miscue information, can again in input frame 1, input mailbox account number., user first by cursor movement in input frame 1, when cursor is positioned at input frame, hide the miscue information of input frame Chinese word form.The placeholder property value of input frame 1 is empty, shown in Figure 6.
Below by several exemplary embodiments, introduce in detail implementation procedure.
In one embodiment, be applicable to terminal device, as shown in Figure 7, the method for the miscue of Oscillation Amplitude fixedly time comprises:
In step 701, receive the information of input.For example, user inputs " 1234567890 " in input frame 1.
In step 702, the information of inputting by input frame is verified, if checking is not passed through, continue step 703, if be verified, process ends, i.e. not output error information, user can continue input below, repeating step 701.For example, " 1234567890 " of input are carried out to legitimate verification.Cell-phone number should be 11, and " 1234567890 " are 10, so " 1234567890 " are not legal cell-phone numbers, checking is not passed through.If mailbox account number, legal form should be xXX@XXX.com, " 1234567890 " obviously do not meet this form yet, and checking is not passed through, and needs to continue step 703.
In step 703, according to default amplitude threshold, revise the transverse axis coordinate figure of input frame.For example, default amplitude threshold is 50, represents that Oscillation Amplitude is 50 pixels.
In step 704, according to amended transverse axis coordinate figure output input frame, to realize once vibration.
In step 705, upgrade vibration number.
In step 706, judge whether vibration number reaches default frequency threshold value, if reach, process ends, if do not reach, continues step 703.
For example, the coordinate of input frame in the page is (X, Y), N=50.First revise the value of X, i.e. X=X-50, coordinate is (X-50, Y), with this coordinate output input frame, output effect is that input frame has been moved to the left 50 pixels, shown in Figure 2.Revise again the value of X, i.e. X=X+50, coordinate is (X+50, Y), owing to having subtracted before 50, has added again 50 specifically, is equivalent to input frame and gets back to reference point.Revise again the value of X, i.e. X=X+50, coordinate is (X+50, Y), adds 50 on reference point, output effect is for 50 pixels that move right in datum, shown in Figure 3.Then continue to revise the value of X, i.e. X=X-50, coordinate be (X-50, Y), with this coordinate, exports input frame, output effect is that input frame is got back to reference point.Above process completes once vibration, and vibration number F adds 1.Repeat said process, until vibration number F reaches default frequency threshold value.
The present embodiment is pointed out user input error by the mode of vibration input frame, and a kind of new prompting mode is provided.And user's notice when input message concentrates in input frame, by vibrating the mode of input frame, still user's notice is concentrated in input frame, point out clearer and more definite, the interference of minimizing to user, and additionally do not take page space, save page resource.
When vibration input frame, can also reduce gradually Oscillation Amplitude, guiding user's notice concentrates on the rear static input frame of vibration, points out clearer and more definite.
In one embodiment, be applicable to terminal device, as shown in Figure 8, the method for miscue when Oscillation Amplitude diminishes gradually comprises:
In step 801, receive the information of input.For example, user inputs " ABCDEF " in input frame 1.
In step 802, the information of inputting by input frame is verified, if checking is not passed through, continue step 803, if be verified, process ends, i.e. not output error information, user can continue input below, repeating step 801.For example, " ABCDEF " of input carried out to legitimate verification.Cell-phone number should be numeral, and " ABCDEF " is letter, so " ABCDEF " is not legal cell-phone number, checking is not passed through.If mailbox account number, legal form should be xXX@XXX.com, " ABCDEF " obviously do not meet this form yet, and checking is not passed through, and needs to continue step 803.
In step 803, according to default amplitude threshold, revise the transverse axis coordinate figure of input frame.For example, default amplitude threshold is 50, represents that Oscillation Amplitude is 50 pixels.
In step 804, according to amended transverse axis coordinate figure output input frame, to realize once vibration.
In step 805, upgrade default amplitude threshold, N=N-M.N is default amplitude threshold, and M is the range value dwindling.
In step 806, upgrade vibration number.
In step 807, judge whether vibration number reaches default frequency threshold value, if reach, process ends, if do not reach, continues step 803.
For example, N=50, M=1; While vibrating for the first time, input frame is moved respectively to 50 pixels to the left and right; Next time, while vibrating, N=N-M, moved respectively 49 pixels to the left and right by input frame.By revising the value of M, can change the amplitude of vibration.
In the present embodiment, progressively dwindle the amplitude of vibration, in prompting user input error, user's notice is directed on the rear static input frame of vibration, make user's notice more concentrated, miscue is clearer and more definite.
For the reason of further prompting user error etc., can in input frame, show error reason, referring to the following examples.
In one embodiment, be applicable to terminal device, as shown in Figure 9, the method for the miscue of reminding with word comprises:
In step 901, receive the information of input.
In step 902, the information of inputting by input frame is verified, if checking is not passed through, continue step 903 and 904, if be verified, process ends, i.e. not output error information, user can continue input below, repeating step 901.
In step 903, vibration input frame, with output error information.This process can be with reference to step 703-step 706, or with reference to step 803-807.
In step 904, in input frame with written form output error information.This step and step 903 are two independently processes, can synchronously carry out.
For example, miscue information is as " mailbox not to ", " password mistake " etc.
In step 905, receive the operation of mobile cursor.When cursor movement arrives input frame, continue step 906.
In step 906, hide the miscue information of input frame Chinese word form.
The mode that the present embodiment not only can pass through vibration input frame, simultaneously can also be by written form to user's output error information to user's output error information, and it is more accurate to point out, and facilitates user to understand wrong reason.And, because miscue information is in input frame, additionally do not take page space, saved page resource.And, remain that user's notice is in input frame, point out clearer and more definite.
Said method is applicable to device, below to being introduced for realizing built-in function and the structure of the device of said method.
In one embodiment, as shown in figure 10, the device of miscue comprises: authentication module 1001 and the first output module 1002.
Authentication module 1001 is for verifying the information of inputting by input frame.
Vibration module 1002, for when verifying the information errors of input, vibrates input frame.
In one embodiment, vibration module 1002, when the information errors of checking input, vibrates described input frame with predetermined direction; Or, when the described information errors of checking input, with desired trajectory, vibrate described input frame.
In one embodiment, it is reference point that vibration module 1002 be take the current location of input frame, and input frame is vibrated with predetermined amplitude in a predetermined direction.
In one embodiment, vibration module 1002, when vibration number reaches default frequency threshold value, finishes vibration.
When the information errors of checking input, the current location of input frame of take is reference point, input frame is offset to a default N pixel successively in both lateral sides, to vibrate once; When vibration number reaches default frequency threshold value, finish vibration.Having realized Oscillation Amplitude fixes.
In one embodiment, as shown in figure 11, said apparatus also comprises: amplitude determination module 1003, for input frame being offset and being got back to after reference point, using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
When the information errors of checking input, the current location of input frame of take is reference point, input frame is offset to a default N pixel successively in both lateral sides, to vibrate once; Input frame be offset to N pixel and getting back to after reference point, a default N pixel is being subtracted to M; N and M are positive integer, and M is less than N; Described input frame is offset to a default N-M pixel successively in both lateral sides.Having realized Oscillation Amplitude dwindles gradually.
In one embodiment, as shown in figure 12, described device also comprises: prompting output module 1004, when vibrating input frame, in described input frame with written form output error information.
In one embodiment, as shown in figure 13, described device also comprises: hide module 1005, for when cursor is positioned at input frame, hide the miscue information of input frame Chinese word form.
Figure 14 is terminal device in disclosure embodiment (can be requesting party's terminal or associated terminal) structural representation.Referring to Figure 14, this terminal can be for the method for implementing to provide in above-described embodiment.Preferred:
Terminal device 800 can comprise communication unit 110, includes the storer 120 of one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, wireless communication unit 170, include the parts such as or above processor 180 of processing core and power supply 190.It will be understood by those skilled in the art that the terminal device structure shown in figure does not form the restriction to terminal device, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 110 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, CDMA), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by operation, thereby carries out various function application and data processing.Storer 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of terminal device 800 etc. can be stored in storage data field.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of storeies 120 of input block to be provided.
Input block 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, control lever, optics or the input of trace ball signal.Preferably, input block 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input block 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 140 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and terminal device 800, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display panel 141.Further, touch-sensitive surperficial 131 can cover display panel 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 180 on display panel 141.Although in Figure 14, touch-sensitive surperficial 131 with display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 and display panel 141 integrated and realize input and output function.
Terminal device 800 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display panel 141, and proximity transducer can, when terminal device 800 moves in one's ear, cut out display panel 141 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for terminal device 800 other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal device 800.Voicefrequency circuit 160 can be transferred to loudspeaker 161 by the electric signal after the voice data conversion receiving, and is converted to voice signal exports by loudspeaker 161; On the other hand, microphone 162 is converted to electric signal by the voice signal of collection, after being received by voicefrequency circuit 160, be converted to voice data, after again voice data output processor 180 being processed, through RF circuit 110, to send to such as another terminal device, or export voice data to storer 120 to further process.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal device 800 to be provided.
In order to realize radio communication, on this terminal device, can dispose wireless communication unit 170, this wireless communication unit 170 can be WIFI(Wireless Fidelity, Wireless Fidelity) module.WIFI belongs to short range wireless transmission technology, terminal device 800 by wireless communication unit 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 170, be understandable that, it does not belong to must forming of terminal device 800, completely can be as required in not changing the essential scope of invention and omit.
Processor 180 is control centers of terminal device 800, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in storer 120, and call the data that are stored in storer 120, carry out various functions and the deal with data of terminal device 800, thereby mobile phone is carried out to integral monitoring.Optionally, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal device 800 also comprises that the power supply 190(powering to all parts is such as battery), preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 800 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, terminal device also includes storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out the instruction of the method that disclosure embodiment provides by one or above processor:
The information of inputting by input frame is verified;
When the described information errors of checking input, vibrate described input frame.
Preferably, storer may comprise for to give an order:
When the described information errors of checking input, with predetermined direction, vibrate described input frame; Or
When the described information errors of checking input, with desired trajectory, vibrate described input frame.
Preferably, storer may comprise for to give an order:
The current location of described input frame of take is reference point, and described input frame is vibrated with predetermined amplitude in a predetermined direction.
Preferably, storer may comprise for to give an order:
When vibration number reaches default frequency threshold value, finish vibration.
Preferably, storer may comprise for to give an order:
Described input frame is being offset and is being got back to after reference point, and using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
Preferably, storer may comprise for to give an order:
While vibrating described input frame, in described input frame with written form output error information.
Preferably, storer may comprise for to give an order:
When cursor is positioned at described input frame, hide the miscue information of described input frame Chinese word form.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection domain of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, storer) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise ROM (read-only memory) (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache storer.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the storer of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM storer, flash memory, ROM storer, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computing machine or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection domain of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection domain of the present disclosure.

Claims (15)

1. a method for miscue, is characterized in that, comprising:
The information of inputting by input frame is verified;
When the described information errors of checking input, vibrate described input frame.
2. the method for miscue according to claim 1, is characterized in that, during the described described information errors in checking input, vibrates described input frame, comprising:
When the described information errors of checking input, with predetermined direction, vibrate described input frame; Or
When the described information errors of checking input, with desired trajectory, vibrate described input frame.
3. the method for miscue according to claim 2, is characterized in that, the current location of described input frame of take is reference point, and described input frame is vibrated with predetermined amplitude in a predetermined direction.
4. according to the method for arbitrary described miscue in claim 1-3, it is characterized in that,
When vibration number reaches default frequency threshold value, finish vibration.
5. according to the method for arbitrary described miscue in claim 1-3, it is characterized in that, described input frame is being offset and is being got back to after reference point, using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
6. the method for miscue according to claim 1, is characterized in that, described method also comprises: while vibrating described input frame, in described input frame with written form output error information.
7. the method for miscue according to claim 6, is characterized in that, described method also comprises: when cursor is positioned at described input frame, hide the miscue information of described input frame Chinese word form.
8. a device for miscue, is characterized in that, comprising:
Authentication module, for verifying the information of inputting by input frame;
Vibration module, for when verifying the described information errors of input, vibrates described input frame.
9. the device of miscue according to claim 8, is characterized in that, described vibration module, when the described information errors of checking input, vibrates described input frame with predetermined direction; Or, when the described information errors of checking input, with desired trajectory, vibrate described input frame.
10. the device of miscue according to claim 8, is characterized in that, it is reference point that described vibration module be take the current location of described input frame, and described input frame is vibrated with predetermined amplitude in a predetermined direction.
The device of the miscue in 11. according to Claim 8 to 10 described in any one, is characterized in that, described vibration module, when vibration number reaches default frequency threshold value, finishes vibration.
The device of the miscue in 12. according to Claim 8 to 10 described in any one, is characterized in that, also comprises:
Amplitude determination module, for described input frame is being offset and is being got back to after reference point, using last time, the pixel quantity of skew deducted default bias increment as this predetermined amplitude.
The device of 13. miscues according to claim 8, is characterized in that, described device also comprises: prompting output module, when vibrating described input frame, in described input frame with written form output error information.
The device of 14. miscues according to claim 13, is characterized in that, described device also comprises: hide module, for when cursor is positioned at described input frame, hide the miscue information of described input frame Chinese word form.
15. 1 kinds of terminal devices, it is characterized in that, terminal device includes storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out the instruction of following operation by one or above processor:
The information of inputting by input frame is verified;
When the described information errors of checking input, vibrate described input frame.
CN201310567779.0A 2013-11-14 2013-11-14 Error prompting method, error prompting device and terminal equipment Pending CN103605454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310567779.0A CN103605454A (en) 2013-11-14 2013-11-14 Error prompting method, error prompting device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310567779.0A CN103605454A (en) 2013-11-14 2013-11-14 Error prompting method, error prompting device and terminal equipment

Publications (1)

Publication Number Publication Date
CN103605454A true CN103605454A (en) 2014-02-26

Family

ID=50123686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310567779.0A Pending CN103605454A (en) 2013-11-14 2013-11-14 Error prompting method, error prompting device and terminal equipment

Country Status (1)

Country Link
CN (1) CN103605454A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335427A (en) * 2014-08-08 2016-02-17 阿里巴巴集团控股有限公司 Input box state presentation method and apparatus
CN105426033A (en) * 2014-09-19 2016-03-23 阿里巴巴集团控股有限公司 Method and apparatus for displaying prompt information
CN105786861A (en) * 2014-12-23 2016-07-20 深圳市腾讯计算机系统有限公司 Information prompting method, server, mobile terminal and system
CN106648566A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Input content check method and apparatus
CN108700980A (en) * 2016-01-25 2018-10-23 北京嘀嘀无限科技发展有限公司 Prompt message display methods and system
CN109669751A (en) * 2018-12-14 2019-04-23 Oppo广东移动通信有限公司 A kind of method for drafting of input frame, device, terminal and computer storage medium
CN109844718A (en) * 2017-01-12 2019-06-04 惠普打印机韩国有限公司 Control user interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
US20130254686A1 (en) * 2011-02-18 2013-09-26 Jae-Hak Sun Auto-generation of user interface by mobile terminal and equipment control system using same
CN103369106A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Number correctness identification method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254686A1 (en) * 2011-02-18 2013-09-26 Jae-Hak Sun Auto-generation of user interface by mobile terminal and equipment control system using same
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
CN103369106A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Number correctness identification method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BEN GUO: "iOS_iPhone_iPad 能够动态验证输入有效性的文字输入框代码 BZGFormField", 《COD4APP》 *
LUKE: "iOS _ iPhone _ iPad 密码输入错误时,UIAlertView会发生颤动,以提示密码错误代码 Shaking AlertView", 《CODE4APP》 *
小刚WHM: "iOS _ iPhone _ iPad 输入的不正确时,UITextField发生抖动,提醒用户重新输入代码 WHMShakeTextField", 《CODE4APP》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335427A (en) * 2014-08-08 2016-02-17 阿里巴巴集团控股有限公司 Input box state presentation method and apparatus
CN105426033A (en) * 2014-09-19 2016-03-23 阿里巴巴集团控股有限公司 Method and apparatus for displaying prompt information
CN105786861A (en) * 2014-12-23 2016-07-20 深圳市腾讯计算机系统有限公司 Information prompting method, server, mobile terminal and system
CN105786861B (en) * 2014-12-23 2020-01-10 深圳市腾讯计算机系统有限公司 Information prompting method, server, mobile terminal and system
CN106648566A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Input content check method and apparatus
CN108700980A (en) * 2016-01-25 2018-10-23 北京嘀嘀无限科技发展有限公司 Prompt message display methods and system
US10936786B2 (en) 2016-01-25 2021-03-02 Beijing Didi Infinity Technology And Development Co., Ltd. Method and system for prompt message display
CN109844718A (en) * 2017-01-12 2019-06-04 惠普打印机韩国有限公司 Control user interface
CN109669751A (en) * 2018-12-14 2019-04-23 Oppo广东移动通信有限公司 A kind of method for drafting of input frame, device, terminal and computer storage medium

Similar Documents

Publication Publication Date Title
CN103605454A (en) Error prompting method, error prompting device and terminal equipment
CN103634294A (en) Information verifying method and device
CN103543913A (en) Terminal device operation method and device, and terminal device
CN103472998B (en) A kind of method of selected text, device and terminal unit
CN104113782A (en) Video-based sign-in method, terminal, server and system
CN103823835A (en) Method and device for processing e-book directory and terminal equipment
CN105095432A (en) Display method and device for webpage annotations
CN104852885A (en) Method, device and system for verifying verification code
CN103747130B (en) A kind of control method of terminal equipment and device
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN103702297A (en) Short message enhancement method, device and system
CN105363201A (en) Prompt information display method and prompt information display device
CN103559516A (en) NFC data transmission method, terminal equipment and server
CN103699292A (en) Method and device for entering into text selection mode
CN105022616A (en) Method and device for generating web page
CN103605668A (en) Webpage bookmark storing method and device and mobile terminal
US9589167B2 (en) Graphical code processing method and apparatus
CN103678259B (en) The adaptation method of a kind of page, device and terminal unit
CN103596017A (en) Video downloading method and system
CN103631580A (en) Method and device for generating theme icon
CN103763112A (en) User identity protection method and apparatus
CN103617164A (en) Webpage prefetching method, device and terminal equipment
CN103546570A (en) Method, device and terminal for achieving network client-side cross-domain data request
CN103687063A (en) Network connecting method, network connecting device and terminal equipment
CN104134043A (en) Method and device for hiding contents, method and device for unhiding contents, and terminals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226

RJ01 Rejection of invention patent application after publication