CN106681485A - Reminding method and reminding device on basis of jittering of control components - Google Patents

Reminding method and reminding device on basis of jittering of control components Download PDF

Info

Publication number
CN106681485A
CN106681485A CN201510760838.5A CN201510760838A CN106681485A CN 106681485 A CN106681485 A CN 106681485A CN 201510760838 A CN201510760838 A CN 201510760838A CN 106681485 A CN106681485 A CN 106681485A
Authority
CN
China
Prior art keywords
control
input
data
control data
input control
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
CN201510760838.5A
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.)
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 CN201510760838.5A priority Critical patent/CN106681485A/en
Publication of CN106681485A publication Critical patent/CN106681485A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/014Force feedback applied to GUI

Abstract

The invention discloses a reminding method and a reminding device on the basis of jittering of control components. The reminding method in an embodiment of the invention includes acquiring control component data received by the input control components after the input control components of terminals are triggered; judging whether the control component data meet preset data input conditions corresponding to the input control components or not; subjecting the input control components to jittering under the control if the control component data do not meet the preset data input conditions so as to remind users of data errors. According to the scheme, the reminding method and the reminding device have the advantages that the input control components can be subjected to jittering when errors of information inputted by the users are determined, the users can be reminded of input errors, accordingly, the users do not need to pay close attention to reminding information of the extra control components by means of switching over current interaction scenes in information input procedures, and interaction processes of the users can be prevented from being interrupted; the input operation smoothness of the users and the information input efficiency can be improved as compared with the prior art.

Description

A kind of reminding method shaken based on control and device
Technical field
The invention belongs to field of computer technology, more particularly to a kind of reminding method shaken based on control and dress Put.
Background technology
With the popularization of intelligent terminal, more and more users are learnt using intelligent terminal, entertained etc., User's life is not only enriched, is also brought advantage to the user.
And the development of intelligent terminal is accompanied by, the application program of various intelligent terminal is also developed, with full The different application demand of sufficient user;Such as social networking application program, game application etc..
At present user needs inputting interface or the input frame provided in application program when using application program Input information, for example, be input into user profile etc.;For convenience user input is existing to answer to improve Consumer's Experience Interacted with wrong input feedback is substantially designed with program.For example as user in input frame input information When there is mistake, application program can will show relevant error information, point out user input information errors;Or When mistake occurs to user in input information in input frame, application program can be by error message dialog box in mode Form prompting user.
However, using current wrong input feedback interactive mode, user needs transfer note after input information Meaning power (sight line) goes to pay close attention to the information for showing elsewhere, interrupts the interaction flow of user, forces switching The interaction scenarios of user, cause the input operation of user not smooth.
The content of the invention
It is an object of the invention to provide a kind of reminding method shaken based on control and device, existing to solve Wrong input feedback interactive mode can cause the slack technical problem of the input operation of user.
To solve above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
The embodiment provides a kind of reminding method shaken based on control, including:
After the input control of terminal is triggered, the control data that the input control is received is obtained;
Judge whether the control data meets preset data input condition corresponding with the input control;
If the control data is unsatisfactory for the preset data input condition, controlling the input control is carried out Shake, to point out error in data.
Embodiments of the invention additionally provide a kind of suggestion device shaken based on control, including:
Acquisition module, for after input control is triggered, obtaining the control number that the input control is received According to;
Judge module, for judging whether the control data meets present count corresponding with the input control According to input condition;
Control module, it is defeated for judging that the control data is unsatisfactory for the preset data in the judge module In the case of entering condition, control the input control and shaken, to point out error in data.
Embodiments provide a kind of reminding method shaken based on control and device, the embodiment of the present invention Reminding method adopt after the input control of terminal is triggered, obtain the control number that the input control is received According to, then, judge whether control data meets preset data input condition corresponding with the input control, if The control data is unsatisfactory for the preset data input condition, then control the input control and shaken, to carry Show error in data;The program can be in the information errors of user input, by proposing input control shake Show user input mistake, i.e., carry out feedback of the information in the form of input control shake;So that user is in information No longer need to switch the information that current interaction scenarios go concern extra controls prompting in input process, no longer beat The interaction flow of disconnected user;Compared with prior art, the fluency of user input operation, Yi Jixin are improve The efficiency of breath input.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to institute in embodiment description The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only the present invention Some embodiments, for those skilled in the art, on the premise of not paying creative work, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of reminding method shaken based on control that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of reminding method shaken based on control that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet of reminding method shaken based on control that the embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic flow sheet of reminding method shaken based on control that the embodiment of the present invention four is provided;
Fig. 5 is a kind of schematic flow sheet of reminding method shaken based on control that the embodiment of the present invention five is provided;
Fig. 6 is a kind of structural representation of suggestion device shaken based on control that the embodiment of the present invention six is provided;
Fig. 7 is the structural representation of the suggestion device that the another kind that the embodiment of the present invention six is provided is shaken based on control Figure;
Fig. 8 is the structural representation of the suggestion device that the another kind that the embodiment of the present invention six is provided is shaken based on control Figure.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the present invention is with reality Illustrate in Shi Yi appropriate computing environment.The following description is concrete based on the illustrated present invention Embodiment, it is not construed as limiting the present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be with reference to by performed by one or multi-section computer The step of and symbol illustrating, unless otherwise stating clearly.Therefore, these steps and operation will have mention for several times by Computer is performed, and computer as referred to herein is performed and included by representing with the data in a structuring pattern Electronic signal computer processing unit operation.This operation changes the data or is maintained at the calculating At position in the memory system of machine, its is reconfigurable or other with the side known to the tester of this area Formula is changing the running of the computer.The data structure that the data are maintained is the provider location of the internal memory, its With the particular characteristics by defined in the data form.But, the principle of the invention is illustrated with above-mentioned word, It is not represented as a kind of restriction, and this area tester will appreciate that the plurality of step of described below and behaviour Also may be implemented in the middle of hardware.
It is the software object performed on the arithmetic system that term as used herein " module " can be regarded as.This It is the objective for implementation on the arithmetic system that different components, module, engine and service described in text can be regarded as. And device and method as herein described is preferably implemented in the way of software, certainly also can be enterprising in hardware Row is implemented, within the scope of the present invention.
Embodiment one:
Fig. 1 is referred to, Fig. 1 is a kind of reminding method shaken based on control that the embodiment of the present invention one is provided Schematic flow sheet.The reminding method of the present embodiment includes:
Step 101, after the input control of terminal is triggered, the control data that receives input control is received.
In the present embodiment, input control can be input control of the input control of application program or webpage etc. Deng for for user input information;Such as user name input control in terminal social activity or game application Part, code input control etc.;Again in such as shopping website login interface or web game login interface User name input control, code input control etc..
Specifically, the present embodiment can be after input control be triggered, and such as user clicks through touch screen click After input control, input control oneself or other controls are carried out to the control data that the input control is received Monitoring, to obtain the control data of user input to the input control.Control data can include character string, Such as " abcd " or " abc-101 " etc..
For example, user is after terminal opens certain game application or certain web game, terminal meeting Show the login interface comprising user name input control and code input control;User name input is clicked in user After control, that is, trigger after user name input control, user can be to the user name control input data, this When the user name control can receive the username data of user input.
Step 102, judges whether control data meets preset data input condition corresponding with the input control, If it is not, then execution step 103, if it is not, any process is not then carried out, or return to step 101 continues to obtain Take control data.
Specifically, after the corresponding control data of input control is obtained, need to judge whether control data is full The corresponding preset data input condition of foot, it is whether correct with the data for judging user input;When being unsatisfactory for presetting During entry condition, the data for showing user input are wrong, when preset data input condition is met, The data for showing user input are correct.
Preset data input condition is the input condition corresponding with the input control for pre-setting in the present embodiment, It can include at least one in herein below:
The type of control data is preset data type, for example require control data be numeral or letter, Or the combination of numeral and letter;
The form of control data is preset data form, for example, require that control data is phone number, mailbox Correct format;
In the case where control data includes multiple child control data, it is desirable to which certain child control data is present count According to, for example require second sub- control data be 3,8 etc.;
Control data is the control data not occurred in correspondence database, such as when game account is registered, Seek the entitled user name not being registered of user that user is input in user name input control.
In a step 102, when control data meets preset data input condition, any place can not be carried out Reason, it is also possible to continue to obtain the control data that the input control is received.
Step 103, control input control is shaken, to point out error in data.
Specifically, can be entered with predeterminated frequency, default shake duration, default jitter amplitude with control input control Row shake, to point out error in data.Predeterminated frequency, default shake duration, default shake width in the present embodiment Degree can be set according to the actual requirements;Preferably, predeterminated frequency is more than 1fps, for example can be in 1fps And 2fps between, preset shake duration and be more than 1s, for example, can be arranged between 1s and 3s.
Specifically, can be shaken with random frequency and randomized jitter duration with control input control, it is described Random frequency is the frequency randomly selected in the range of predeterminated frequency, during the randomized jitter during a length of default shake The shake duration randomly selected in long scope.Preferably, predeterminated frequency scope is (1fps, ∞), for example Can be (1fps, 2fps) to preset shake duration scope for (1s, ∞), for example, can be (1s, 2s).
For example when to subscriber authentication, terminal can show the interface comprising phone number input control, supply User input sends the cell-phone number of identifying code;It is defeated to the phone number that user clicks on the phone number input control Enter control input data, the phone number input control can receive the control data of user input, then sentence Whether the form of the disconnected control data meets the form of cell-phone number, if it is not, then controlling phone number input control Part is shaken, to point out the data of user input incorrect.
The present embodiment is defeated based on the control data that the reminding method of control shake can apply to end application Enter, such as the control data input in social networking application program or game application, it is also possible to be applied to net The control input of page, such as the control data input in shopping webpage, game webpage;Using the present embodiment When reminding method can work as the information errors of user input, by making input control shake point out user input Mistake, i.e., carry out feedback of the information in the form of input control shake;So that user is in Information Inputting Process No longer need to switch the information that current interaction scenarios go concern extra controls prompting, no longer interrupt the friendship of user Mutual flow process;Compared with prior art, the fluency of user input operation, and the effect of information input are improve Rate.
The executive agent of the reminding method of the present embodiment can be input control itself, alternatively other control (examples Such as the step of one prompting control of special setting performs the present embodiment provides method);When the prompting of the present embodiment When method is completed by input control itself, it is not necessary to which increasing extra information alert control carries out miscue, Compared with existing miscue mode, on the basis of the fluency for improving user input operation, cost is saved.
Embodiment two:
Fig. 2 is referred to, a kind of reminding method shaken based on control that Fig. 2 embodiment of the present invention two is provided Schematic flow sheet.The reminding method includes:
Step 201, after the input control of terminal is triggered, obtains the control number that the input control is received According to.
Specifically, during user carries out data input to the input control that web game is provided, the webpage The input control of game to its data receiver real-time monitoring, to obtain the control data that the input control is received.
Step 202, determines whether the control data that the input control is received changes, and if so, performs Step 203, if it is not, then execution step 201 continues to obtain control data.
Specifically, control data includes at least one child control data, i.e. user to input control in the present embodiment Part is input at least one child control data, such as control data is a character string, and it is made up of multiple characters, The character is child control data;Now, the control number that the input control is received is determined in the present embodiment According to whether the mode for changing is including at least one in the following manner:
A, when the number change of child control data that control data is included is monitored, it is determined that input control The control data for receiving changes, otherwise, it is determined that control data does not change;
Specifically, the control number that input control is received is determined when the quantity for monitoring child control data increases According to changing, namely when monitoring that control data includes new child control data, determine that input control connects The control data for receiving changes;For example user is in input process and increase have input one or more Into the input control, the control data that now control is received changes child control data;
When the quantity for monitoring child control data is reduced, the control data for determining user input changes, Such as user deletes one or more child control data in control data, and now, the control is received Control data changes.
B, when monitoring that one or more child control data changes, it is determined that input control receive To control data change, such as user have changed certain the child control data in control data.
For example, after the input control that user triggers certain web game or game APP, and to the input During control input data, user often increases by one sub- control data of input or use to the input control During the child control data that the child control data or change that family deletion has been input into have been input into, the input control can Monitor that control data changes, at this time, it may be necessary to the control data of user input to the input control is obtained, Judge whether control data is eligible.
Step 203, judges whether control data meets preset data input condition corresponding with input control, If it is not, then execution step 204, if so, return to step 201 continues to obtain user input to input control Control data.
Control data is the control data after changing in this step, for example, originally input to input control Data are " 123 ", and user continues to be input into " 4 " to input control, and now control data changes, defeated The control data for entering control acquisition is " 1234 ".
After obtaining and determining that control data changes, current embodiment require that judging whether control data meets input The corresponding preset data input condition of control, specifically, can include:
When the form of control data meets the corresponding preset data form of input control, judge that control data is expired The default input condition of foot;When the form of control data does not meet the corresponding preset data form of input control, Judge that control data is unsatisfactory for default input condition;
For example in game register interface, user is input at twice email address word in email address input control Symbol such as input " wang " for the first time, second input “ &qq.com ";“ &qq.com is input in input second " Afterwards because control data changes, the input control can obtain the control data " wang&qq.com " of input; Afterwards to judge whether " wang&qq.com " meets email address input control corresponding default for input control Mailbox form, and then it is unsatisfactory for preset data input condition.Again such as user divides in cell-phone number input control The numeral being input into twice be 10 digit it is digital when, input control will judge the control of the user input Data are unsatisfactory for preset mobile phone number format, and then are unsatisfactory for preset data input condition.
Or, when the type of control data meets the corresponding preset data type of input control, judge to meet Preset data input condition, when the corresponding preset data type of the type mismatch conjunction input control of control data Judgement meets preset data input condition.For example, the corresponding preset data type of phone number input control is Numeric type, when user is in the control data for carrying out input operation twice and being input to phone number input control When " 1373333*444 ", it is evident that the data of the control data are not all numeral, now the phone number is defeated Entering control will judge that the control data is unsatisfactory for preset data input condition.
To improve judging efficiency, and then miscue speed is improved, when monitoring the control data comprising new Child control data, i.e., user to input control be input into new child control data when, the present embodiment reminding method Can judge whether control data is full by the way that whether the child control data for judging to change meet preset data rule Sufficient preset data input condition;Specifically, it is determined that the control number of the user input to the input control In the case of changing, step 203 is specifically included:
Obtain child control data new in control data;
When the new child control data meet preset data rule, then judge that the control data meets described Default input condition;
When the new child control data are unsatisfactory for preset data rule, then judge that the control data is unsatisfactory for Preset data input condition.
Wherein, preset data rule can include at least one in following rule:
The type of new child control data is preset data type, such as in the phone number at authentication interface In input control, user's input " 1378888788 " for the first time, second input " a " is input into for the second time Because phone number input control can monitor that control data changes during data, the now input control meeting Obtain new child control data " a ";Judge that whether new data " a " are numeral (due to cell-phone number afterwards Code is by numeral composition, therefore preset data type corresponding with the input control is numeric type), it is very bright Aobvious " a " is not numeral, now judges that " 1378888788a " is unsatisfactory for preset data input condition, i.e., should The data of user input whether mistake it is undesirable;
Control data is preset data, such as when user is to phone number input control input data, Yong Hu Once " 1 " is input into, during second input " 2 ", because phone number input is controlled during second input data Part can monitor that control data changes, and now the input control can obtain new child control data " 2 ", Now input control can judge whether new child control data " 2 " are preset data such as " 3 " " 8 " " 5 " Deng (because the deputy numeral of phone number is necessary for specific numeral, therefore, it can and the input control The corresponding preset data of part can be to be set to " 3 " " 8 " " 5 " etc.), it is evident that " 2 " are not Preset data, now judges that " 12 " are unsatisfactory for preset data input condition.
Step 204, control input control is shaken, to point out error in data.
Preferably, control input control is shaken with predeterminated frequency and default shake duration, the default frequency Rate (i.e. minimum frame per second of video flowing) between 1fps and 2fps, the default shake duration is in 1s and 3s Between.
Judge that the control data of user input is unsatisfactory for preset data input bar in input control in the present embodiment After part, input control can be shaken to point out user input mistake with the frequency of setting, duration, amplitude; For a user, can see that input frame is shaken, such as user is corresponding in login interface user name input control In input frame during input error, can be appreciated that input frame is shaken.Again for example, user account of the user in register interface In the input frame of family input control during input error, can be appreciated that input frame is shaken;With existing miscue mode Compare, user should not pay close attention to information, force switching interaction scenarios, improve the stream of user input operation Smooth property.
Embodiment three:
Fig. 3 is referred to, Fig. 3 is a kind of reminding method shaken based on control that the embodiment of the present invention three is provided Schematic flow sheet.The reminding method includes:
Step 301, after the input control of display interface is triggered, obtains the control that the input control is received Number of packages evidence, the control data includes at least one child control data.
For example, when User logs in is played, terminal can show a log-in interface, and the login interface includes:With Name in an account book input control and code input control;User clicks on user name input control and triggers the user name input control Part, afterwards, user input username information (i.e. control data) to the user name input control, for example " zhangsan ", the user name control carries out monitor in real time to the username information of user input, to obtain The user profile of user input.
Whether step 302, monitor control data that the input control is currently received comprising new child control number According to if so, execution step 303, if it is not, return to step 301 continues the control data for obtaining user input.
For example, when User logs in is played, can respectively game login interface in user name input control and Corresponding information is input in code input control;In the process that username information is input into user name input control In, the input of user name control meeting real-time monitoring user, with the username information that user in real is input into, Obtain the username information that the user control is received;Then the user name input control can also monitor acquisition Control data whether change, specifically monitor the control data of user input whether comprising new son control Number of packages evidence, that is, monitor whether new child control data input to input control, if so, shows current acquisition Control data change, if it is not, the control data for then showing current acquisition does not change, such as use Family for the first time input character string " heqi ", during second input character string " mm ", when second of user it is defeated When entering character string " mm ", user name input control will detect that control data " heqimm " comprising new Child control data " mm ", now determine control data change.
Specifically, judge whether the mode comprising new child control data includes control data in the present embodiment:
The current control data for obtaining is compared with the control data for obtaining before, to judge current acquisition Control data whether include new child control data, such as what above-mentioned user name input control was obtained for the first time Control data is " heqi ", and the control data of second acquisition is heqimm ", the control that this is obtained twice Number of packages evidence is compared, you can draw the child control data " mm " of new input.
Step 303, obtains new child control data, and judges whether the new child control data meet default Data rule, if it is not, then execution step 304, if so, then return to step 301.
When monitoring that control data includes new child control data, the new child control data are obtained, passed through Judge the control whether new child control data meet the regular mode of preset data to judge to be input into input control Whether number of packages evidence meets preset data input condition.
Wherein, preset data rule can include at least one in following rule:
The type of new child control data is preset data type, and such as identifying code at authentication interface is defeated In entering control, user's for the first time input " 245 ", second input " # ", during second input data by Can monitor that control data changes in email address input control, now the input control can obtain new Child control data " # ";Judge that whether new data " # " is the data type of identifying code afterwards, it is (general Identifying code is pure digi-tal, pure letter or digital alphabet combination), it is evident that " # " is not the number of identifying code According to type, now judge that " 245# " of input is unsatisfactory for preset data input condition, the i.e. user input Data whether mistake it is undesirable;
New child control data are preset data, such as when user is to phone number input control input data, User's input " 1 " for the first time, during second input " 2 ", due to phone number during second input data Input control can monitor that control data changes, and now the input control can obtain control data " 12 " With new child control data " 2 ", now input control can judge whether new child control data " 2 " are pre- If data such as " 3 " " 8 " " 5 " etc. are (because the deputy numeral of phone number is necessary for specific Numeral, therefore, it can preset data corresponding with the input control can be to be set to " 3 " " 8 " " 5 " Deng), it is evident that " 2 " are not preset data, now judge that " 12 " are unsatisfactory for preset data input condition.
Step 304, control input control is shaken, to point out error in data.
For example, during being input into account information in account input control in game login interface, judgement is worked as During the account information mistake of user input, that is, when not meeting preset data input condition, account input control will Can be shaken to point out user input data mistake with certain frequency, duration and amplitude.
Step 305, removes the control data that the input control is received.
For example, in web game register interface, user to user name input control in the interface input user name During information, when user name input control judges that the username information of user input is used by others, User name input control will be shaken, while remove after shake scheduled duration or automatically the use of user input Name in an account book information.
From the foregoing, it will be observed that when the data that the present embodiment reminding method can be received in input control change pair The control data for receiving carries out false judgment, if making a mistake, control input control shake prompting user; Compared with existing miscue mode, user should not pay close attention to information, force switching interaction scenarios, be lifted The fluency of user input operation.Example IV:
Fig. 4 is referred to, Fig. 4 is a kind of reminding method shaken based on control that the embodiment of the present invention four is provided Schematic flow sheet.The reminding method includes:
Step 401, after the input control of terminal is triggered, obtains the control that the input control is received Data.
In this step input control for application program input control, the input control of such as mobile phone A PP etc., Can also be the input control of webpage, input control of such as certain website etc..
Such as, in the input control of the register interface of mobile phone A PP during input data, the input control will be After triggering, the input to user in real time is monitored, to obtain the control number of user input to the input control According to;Again in the checking information input control for example in good friend's checking interface of social software during input data, The checking information input control in a triggered, can be defeated to obtain user to the input real-time monitoring of user Enter to the data of the checking information input control, such as user to checking information input control has been input into After " zhangsan ", the input control can be obtained " zhangsan ".
Step 402, determines whether the input control stops receiving control data, if so, execution step 403, If it is not, return to step 401 continues to obtain data.
Specifically, the present embodiment can in real time be supervised after input is triggered to input control receiving data Survey, to determine whether the input control stops receiving control data.
For example, after the account input control in game login interface is triggered by user, the account input control The control data of meeting real-time monitoring user input, and determine whether the control stops receiving control data.
In the present embodiment, can be by determining whether user completes to the data input of the input control, really Determine whether input control stops receiving control data;When user completes to the data input of the input control, Show that the control stops receiving data, when user does not complete to the data input of the input control, show this Control does not stop receiving data.
Specifically, the present embodiment can be determined by monitoring input to the number of control data in input control Whether user is input into completes, such as in the application program that user name character number is limited, when user is in user When the character number of input is equal to the number of regulation, you can determine that user input is completed.Or can basis Some subdatas (such as end data) are completed determining whether user is input in control data, such as in postal When being input into email address in the input control of case address, when the email address for detecting user input includes " .com " When, then can determine that user input is completed.
Or, monitor whether other input controls (being set to the second input control) are triggered, if being triggered, Show that input operation of the user to the input control (being set to the first input control) has been completed, if it is not, then Show not completing;Wherein the second input control and the first input control may be at same display interface.For example Terminal shows that (i.e. second is defeated comprising user name input control (i.e. the first input control) and code input control Enter control) the page in the case of, first user is input into user name control, after the completion of input, User needs trigger password input control to carry out Password Input, therefore, when code input control is triggered, The input operation that may indicate that user name input control is completed, and the input control stops receiving control data.
Step 403, judges whether the control data meets preset data input condition corresponding with input control, If it is not, then execution step 404, if so, then execution step 405.
For example, at the end of input operation of the user to input control, input control can judge that acquisition user is defeated Enter to whether the control data of input control meets preset data input condition.Such as user to user name is input into Control has been input into after " zhangsan ", and input control detects user and has been input into and completes, and now can sentence Whether disconnected " zhangsan " meets preset data input condition corresponding with user name input control.
Specifically, when the pattern of the input of control data is preset format, judgement meets preset data input bar Part;Or judge to meet preset data input bar when the data type of control data meets preset data type Part;Or when the character number that control data is included meets predetermined number, judgement meets preset data input Condition etc..
Preferably, when control data includes multiple child control data, preset data input condition in this step Including at least one in following condition:
The type of the plurality of child control data is preset data type, and multiple characters of such as input are Numeral or letter etc.;
Putting in order for the plurality of child control data meets default queueing discipline, for example, be input into multiple characters and press Arrange according to set order;
Child control data on predeterminated position are preset control data, such as deputy character is specific for certain Character or the character of fourth from the last position be certain specific character etc.;
The quantity of child control data meets predetermined number, such as the character quantity in the character string of input is equal to pre- If quantity etc..
Step 404, controls the input control and is shaken, to point out error in data.
When judging that control data is unsatisfactory for preset data input condition, the data for showing user input are mistakes , now need to point out to use input error by way of input control is shaken.
For example, it is defined as in the code input control of six in password quantity, five characters of user input, this When code input control will carry out shake prompting user input it is incorrect.
Preferably, it is input into for the convenience of the user, the present embodiment input control, can also be clear after being shaken Except the control data of user input.
Step 405, does not carry out any process, or, terminate flow process, or it is performed according to the actual requirements His step.
Embodiment five:
Fig. 5 is referred to, Fig. 5 is a kind of reminding method shaken based on control that the embodiment of the present invention five is provided Schematic flow sheet.The reminding method includes:
Step 501, after the account input control of game APP login interfaces is triggered, account input control The account information of receiving user's input.
For example, user is input into " werr-2015 " by input equipment to account input control.
Step 502, when the code input control of APP login interfaces of playing is triggered, account input control The account information that extraction is received.
After account information has been input into, user's clicking trigger code input control prepares to Password Input control Part is input into encrypted message.
Step 503, account input control judges whether the form of the account information meets preset format, if it is not, Perform, step 504, if so, execution step 506.
Step 504, account input control is shaken with frequency, jitter amplitude and the shake duration for setting, To point out account information input error.
Step 505, account input control removes the account information for receiving.
Specifically, it is input into for convenience, can be with forced-triggered account input control.
Step 506, does not carry out any process.
In the same manner, for code input control can also carry out miscue using above-mentioned similar process;By upper Understand, the present embodiment reminding method can detect the letter of user input by input control in game login interface Cease during error message, to carry out control shake, to point out user input mistake, with existing miscue mode Compare, user should not pay close attention to information, force switching interaction scenarios, improve the stream of user input operation Smooth property.
Embodiment six:
For ease of preferably implementing the reminding method shaken based on control provided in an embodiment of the present invention, the present invention Embodiment also provides a kind of device based on the above-mentioned reminding method shaken based on control.The wherein implication of noun It is identical with above-mentioned reminding method, implement the explanation that details may be referred in embodiment of the method.
Fig. 6 is refer to, Fig. 6 is a kind of suggestion device shaken based on control that the embodiment of the present invention six is provided Structural representation.The suggestion device includes:Acquisition module 601, judge module 602 and control module 603;
Wherein, acquisition module 601, connect for after being triggered in input control, obtaining the input control The control data for receiving;
Judge module 602, for judging it is corresponding with the input control pre- whether the control data meets If entry condition;
Control module 603, it is described pre- for judging that the control data is unsatisfactory in the judge module 602 If in the case of entry condition, controlling the input control and being shaken, to point out error in data.
Wherein, in the present embodiment, input control can be the input control of application program or the input of webpage Control etc., for for user input information;Such as user name input in social or game application Control, code input control etc.;It is user name input control again in such as shopping website login interface, close Code input control etc..
Preset data input condition is the input condition corresponding with the input control for pre-setting in the present embodiment, It can include at least one in herein below:
The type of control data is preset data type, for example require control data be numeral or letter, Or the combination of numeral and letter;
The form of control data is preset data form, for example, require that control data is phone number, mailbox Correct format;
In the case where control data includes multiple child control data, it is desirable to which certain child control data is present count According to, for example require second sub- control data be 3,8 etc.;
Control data is the control data not occurred in correspondence database, such as when game account is registered, Seek the entitled user name not being registered of user that user is input in user name input control.
Preferably, Fig. 7 is referred to, the suggestion device of the present embodiment can also include:First determining module 604;
First determining module 604, for obtaining the control that the input control is received in acquisition module 601 According to after, judge module 602 judges whether control data is met before the preset data input condition to number of packages, Determine whether the control data that the input control is received changes;
Now, judge module 602, for determining that the input control is received in the first determining module 604 Control data when changing, judge whether the control data meets the preset data input condition.
Preferably, the first determining module 604 in the present embodiment, specifically for:
When monitoring that the control data includes new child control data, determine that the input control is received Control data change;
When the control data is not monitored comprising new child control data, determine that the input control is received Control data do not change.
Preferably, judge module 602, specifically for:
Obtain child control data new in control data;
When new child control data meet preset data rule, then judge that the control data meets described pre- If entry condition;
When new child control data are unsatisfactory for preset data rule, then judge that the control data is unsatisfactory for pre- If entry condition.
Preferably, with reference to Fig. 8, the present embodiment suggestion device, can be with the architecture basics shown in Fig. 6 Including:Second determining module 605;
Second determining module 605, for obtaining the control that the input control is received in acquisition module 601 According to after, judge module 602 judges whether control data is met before the preset data input condition to number of packages, Determine whether the input control stops receiving control data;
Wherein, judge module 602, specifically for determining the input control in second determining module 605 When part stops receiving control data, judge whether the control data meets the preset data input condition.
Preferably, when input control is the first input control, the second determining module 605, specifically for:
When monitoring that the second input control is triggered, it is determined that the input control stops receiving control data, Second input control is the input control with first input control in same display interface;
When monitoring that the second input control is not triggered, it is determined that the input control does not stop receiving control Data.
Preferably, control module 603 is specifically for control input control is with predeterminated frequency and presets shake duration Shaken, it is preferable that predeterminated frequency is more than 1fps, for example can be default to tremble between 1fps and 2fps Dynamic duration is more than 1s, for example, can be arranged between 1s and 3s.
When being embodied as, above modules can be realized as independent entity, it is also possible to be carried out arbitrarily Combination, realizes as same or several entities, and being embodied as of above unit can be found in above Embodiment of the method, will not be described here.
From the foregoing, the present embodiment can apply to end application based on the suggestion device of control shake Control data input, such as in social networking application program or game application control data input, Can apply to the control input of webpage, such as the control data input in shopping webpage, game webpage;Adopt When can work as the information errors of user input with the reminding method of the present embodiment, by make input control shake come Prompting user input mistake, i.e., carry out feedback of the information in the form of input control shake;So that user is in letter No longer need to switch the information that current interaction scenarios go concern extra controls prompting in breath input process, no longer Interrupt the interaction flow of user;Compared with prior art, the fluency of user input operation is improve, and The efficiency of information input.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed in certain embodiment The part stated, may refer to the detailed description of the reminding method above with respect to mistake input, and here is omitted.
The suggestion device based on control shake provided in an embodiment of the present invention is for example computer, flat board Computer, the mobile phone with touch function etc., the suggestion device belongs to the reminding method in foregoing embodiments In same design, either one provided in the reminding method embodiment can be run on the suggestion device Method, it implements process and refers to the reminding method embodiment, and here is omitted.
It should be noted that for the reminding method shaken based on control of the present invention, this area is common Tester is appreciated that whole or the portion for realizing the reminding method described in the embodiment of the present invention based on control shake Split flow, can be by computer program to control the hardware of correlation to complete, and the computer program can In being stored in a computer read/write memory medium, such as it is stored in the memorizer of terminal, and by the terminal At least one computing device, may include in the process of implementation as it is described mistake input reminding method reality Apply the flow process of example.Wherein, described storage medium can be magnetic disc, CD, read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the suggestion device described in the embodiment of the present invention based on control shake, its each functional module can be with It is integrated in a process chip, or modules is individually physically present, it is also possible to two or two It is integrated in a module with upper module.Above-mentioned integrated module both can be realized in the form of hardware, Can be realized in the form of software function module.If the integrated module is with the shape of software function module Formula is realized and as independent production marketing or when using, it is also possible to be stored in an embodied on computer readable storage In medium, the storage medium is for example read only memory, disk or CD etc..
A kind of reminding method shaken based on control for being provided the embodiment of the present invention above and device are carried out It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, with The explanation of upper embodiment is only intended to help and understands the method for the present invention and its core concept;Simultaneously for this The technical staff in field, according to the thought of the present invention, has change in specific embodiments and applications Become part, in sum, this specification content should not be construed as limiting the invention.

Claims (14)

1. it is a kind of based on control shake reminding method, it is characterised in that include:
After the input control of terminal is triggered, the control data that the input control is received is obtained;
Judge whether the control data meets preset data input condition corresponding with the input control;
If the control data is unsatisfactory for the preset data input condition, controlling the input control is carried out Shake, to point out error in data.
2. reminding method as claimed in claim 1, it is characterised in that receive the input control is obtained After the control data for arriving, judge whether the control data is met before the preset data input condition, The reminding method, also includes:Determine whether the control data that the input control is received changes;
If so, then perform the step of whether control data meets the preset data input condition judged.
3. reminding method as claimed in claim 2, it is characterised in that the control data includes at least Individual sub- control data;The step of whether control data for determining that the input control is received changes Including:
When monitoring that the control data includes new child control data, determine that the input control is received Control data change;
When the control data is not monitored comprising new child control data, determine that the input control is received Control data do not change.
4. reminding method as claimed in claim 3, it is characterised in that
It is described to judge whether the control data meets preset data input condition corresponding with the input control The step of include:
Obtain child control data new in the control data;
When the new child control data meet preset data rule, then judge that the control data meets institute State preset data input condition;
When the new child control data are unsatisfactory for preset data rule, then judge that the control data is discontented with Sufficient preset data input condition.
5. reminding method as claimed in claim 1, it is characterised in that receive the input control is obtained After the control data for arriving, judge whether the control data is met before the preset data input condition, The reminding method, also includes:
Determine whether the input control stops receiving control data;
If so, then perform the step of whether control data meets the preset data input condition judged.
6. reminding method as claimed in claim 5, it is characterised in that the input control is the first input Control, whether the determination input control stops the step of receiving control data includes:
When monitoring that the second input control is triggered, it is determined that the input control stops receiving control data, Second input control is the input control with first input control in same display interface;
When monitoring that the second input control is not triggered, it is determined that the input control does not stop receiving control Data.
7. reminding method as claimed in claim 6, it is characterised in that the control data includes:It is multiple Child control data;The preset data input condition includes at least one in following condition:
The type of the plurality of child control data is preset data type;
Putting in order for the plurality of child control data meets default queueing discipline;
Child control data on predeterminated position are preset control data;
The quantity of the child control data meets predetermined number.
8. the reminding method as described in any one of claim 1-7, it is characterised in that controlling the input Control is shaken, to point out error in data after, the reminding method also includes:
Remove the control data that the input control is received.
9. the reminding method as described in any one of claim 1-7, it is characterised in that the control is described defeated Entering the step of control is shaken includes:
Control the input control and shaken with predeterminated frequency and default shake duration;
Or
Control the input control and shaken with random frequency and randomized jitter duration, the random frequency is The frequency randomly selected in the range of predeterminated frequency, during the randomized jitter it is a length of it is default shake duration in the range of with The shake duration that machine is chosen.
10. it is a kind of based on control shake suggestion device, it is characterised in that include:
Acquisition module, for after input control is triggered, obtaining the control number that the input control is received According to;
Judge module, for judging whether the control data meets present count corresponding with the input control According to input condition;
Control module, it is defeated for judging that the control data is unsatisfactory for the preset data in the judge module In the case of entering condition, control the input control and shaken, to point out error in data.
11. suggestion devices as claimed in claim 10, it is characterised in that also include:
First determining module, for obtaining the control data that the input control is received in the acquisition module Afterwards, the judge module judges whether the control data is met before the preset data input condition, Determine whether the control data that the input control is received changes;
Wherein, the judge module, for determining that the input control is received in first determining module Control data when changing, judge whether the control data meets the preset data input condition.
12. suggestion devices as claimed in claim 11, it is characterised in that first determining module, tool Body is used for:
When monitoring that the control data includes new child control data, determine that the input control is received Control data change;
When the control data is not monitored comprising new child control data, determine that the input control is received Control data do not change.
13. suggestion devices as claimed in claim 12, it is characterised in that the judge module, it is concrete to use In:
Obtain child control data new in the control data;
When the new child control data meet preset data rule, then judge that the control data meets institute State preset data input condition;
When the new child control data are unsatisfactory for preset data rule, then judge that the control data is discontented with Sufficient preset data input condition.
14. suggestion devices as claimed in claim 10, it is characterised in that also include:
Second determining module, for obtaining the control data that the input control is received in the acquisition module Afterwards, judge whether the control data is met before the preset data input condition, determine the input Whether control stops receiving control data;
Wherein, the judge module, specifically for determining that the input control stops in second determining module When only receiving control data, judge whether the control data meets the preset data input condition.
CN201510760838.5A 2015-11-10 2015-11-10 Reminding method and reminding device on basis of jittering of control components Pending CN106681485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510760838.5A CN106681485A (en) 2015-11-10 2015-11-10 Reminding method and reminding device on basis of jittering of control components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510760838.5A CN106681485A (en) 2015-11-10 2015-11-10 Reminding method and reminding device on basis of jittering of control components

Publications (1)

Publication Number Publication Date
CN106681485A true CN106681485A (en) 2017-05-17

Family

ID=58864520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510760838.5A Pending CN106681485A (en) 2015-11-10 2015-11-10 Reminding method and reminding device on basis of jittering of control components

Country Status (1)

Country Link
CN (1) CN106681485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155734A1 (en) * 2022-02-21 2023-08-24 北京字节跳动网络技术有限公司 Playing method, playing apparatus, and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111023A (en) * 2006-07-20 2008-01-23 上海中策工贸有限公司 Mobile phone recognition system
CN101192145A (en) * 2006-11-20 2008-06-04 阿里巴巴公司 Error in-time prompt method and system
CN101576823A (en) * 2009-06-11 2009-11-11 阿里巴巴集团控股有限公司 Method for verifying form control and device
JP2011039416A (en) * 2009-08-18 2011-02-24 Panasonic Corp Display device and display method
CN102324004A (en) * 2011-05-26 2012-01-18 重庆猪八戒网络有限公司 Verification method for webpage form input information and device
CN103197893A (en) * 2012-12-07 2013-07-10 杭州斯凯网络科技有限公司 Method for reminding user whether current input information is wrong or not in Android system
CN103873436A (en) * 2012-12-11 2014-06-18 金蝶软件(中国)有限公司 Information verification method, and terminal
CN104050183A (en) * 2013-03-13 2014-09-17 腾讯科技(深圳)有限公司 Content matching result prompting method and device for browser input frame
CN104079723A (en) * 2014-06-27 2014-10-01 深圳市东信时代信息技术有限公司 Information cueing system and method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111023A (en) * 2006-07-20 2008-01-23 上海中策工贸有限公司 Mobile phone recognition system
CN101192145A (en) * 2006-11-20 2008-06-04 阿里巴巴公司 Error in-time prompt method and system
CN101576823A (en) * 2009-06-11 2009-11-11 阿里巴巴集团控股有限公司 Method for verifying form control and device
JP2011039416A (en) * 2009-08-18 2011-02-24 Panasonic Corp Display device and display method
CN102324004A (en) * 2011-05-26 2012-01-18 重庆猪八戒网络有限公司 Verification method for webpage form input information and device
CN103197893A (en) * 2012-12-07 2013-07-10 杭州斯凯网络科技有限公司 Method for reminding user whether current input information is wrong or not in Android system
CN103873436A (en) * 2012-12-11 2014-06-18 金蝶软件(中国)有限公司 Information verification method, and terminal
CN104050183A (en) * 2013-03-13 2014-09-17 腾讯科技(深圳)有限公司 Content matching result prompting method and device for browser input frame
CN104079723A (en) * 2014-06-27 2014-10-01 深圳市东信时代信息技术有限公司 Information cueing system and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155734A1 (en) * 2022-02-21 2023-08-24 北京字节跳动网络技术有限公司 Playing method, playing apparatus, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
WO2019153604A1 (en) Device and method for creating human/machine identification model, and computer readable storage medium
CN109643347A (en) Detection is interacted with the scripting of social media platform or other exceptions
US20130282835A1 (en) Filtering Message Posts in a Social Network
CN107390983B (en) Service instruction execution method, client and storage medium
CN107526964A (en) Secure data aggregation and business intelligence for web application
CN108369709A (en) Network-based ad data service delay reduces
US9542458B2 (en) Systems and methods for processing and displaying user-generated content
CN106355059A (en) Password input method and terminal
CN109962881A (en) Intrusion detection method, device and system based on industrial control system
CN106096034A (en) application log management method and device
WO2022061180A1 (en) Gesture-based community moderation
Gao et al. Forgetting of passwords: ecological theory and data
CN108804885A (en) Man-machine verification method and device, storage medium and processor
CN107609910A (en) Data processing method based on trustship, registration recommendation method and relevant device
CN110022399B (en) Message display method and device, user terminal and readable storage medium
CN108446821A (en) Method, apparatus, storage medium and the terminal of risk monitoring and control
CN108153764A (en) A kind of public sentiment processing method and processing device
CN105739771B (en) A kind of display interface management method, device and terminal
Zimmermann et al. Hybrid password meters for more secure passwords–a comprehensive study of password meters including nudges and password information
CN106681485A (en) Reminding method and reminding device on basis of jittering of control components
CN111241396B (en) Information pushing method and device, electronic equipment and storage medium
US10015181B2 (en) Using natural language processing for detection of intended or unexpected application behavior
Mayer et al. Authentication schemes-comparison and effective password spaces
Wang et al. Pixi: Password inspiration by exploring information
CN108156273A (en) A kind of anonymous ID generation methods, device and electronic equipment

Legal Events

Date Code Title Description
PB01 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517