CN109753179A - The processing method of user operation instruction and hand-written arrangement for reading - Google Patents
The processing method of user operation instruction and hand-written arrangement for reading Download PDFInfo
- Publication number
- CN109753179A CN109753179A CN201811542371.7A CN201811542371A CN109753179A CN 109753179 A CN109753179 A CN 109753179A CN 201811542371 A CN201811542371 A CN 201811542371A CN 109753179 A CN109753179 A CN 109753179A
- Authority
- CN
- China
- Prior art keywords
- instruction
- maloperation
- information
- user operation
- operation instruction
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of processing method of user operation instruction and hand-written arrangement for reading, this method comprises: obtaining the command information of the user operation instruction received;According to the command information of the user operation instruction and preset maloperation recognition rule, judge whether the user operation instruction is maloperation instruction;If so, the maloperation instruction is shielded, to prevent maloperation.It can be seen that, in the processing method of user operation instruction provided by the invention, can judge whether user operation instruction is maloperation instruction according to the command information and preset maloperation recognition rule of user operation instruction, to shield maloperation instruction, maloperation is prevented.Which can automatically identify the operational order of user's false triggering by pre-set maloperation recognition rule, to avoid maloperation phenomenon the problem of preventing a plurality of types of user operation instructions from conflicting with each other.
Description
Technical field
The present invention relates to computer fields, and in particular to a kind of processing method of user operation instruction and hand-written reading are set
It is standby.
Background technique
Currently, many hand-written arrangement for reading can support multiple types simultaneously with the tremendous development of hand-written arrangement for reading
The user operation instruction of type, to provide convenience for user.For example, by taking handwriting input device (such as manuscript copy) as an example, it can
The hand-written operation triggered by time writer and the touch control operation triggered by user's finger are supported simultaneously, to provide for user
Multiple input modes, allow users to select suitable input mode according to the characteristics of input content.
But in the implementation of the present invention, it is following to have found that above scheme in the prior art at least exists by inventor
Defect:, can between different types of operational order when hand-written arrangement for reading supports a plurality of types of user operation instructions simultaneously
It can clash.For example, user writes handwriting content by the hand-written operation that time writer triggers in handwriting input device
When, the physical feelings such as palm of the user can inevitably be in contact to generate touch control operation with screen, but substantially, the touch-control
It operates and is not inconsistent with the practical intention of user, belong to maloperation.It can be seen that hand-written operation and touching that handwriting input device is supported
It is easy to happen conflict between control operation, so as to cause maloperation.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the user operation instruction of problem processing method and hand-written arrangement for reading.
According to an aspect of the invention, there is provided a kind of processing method of user operation instruction, the method are applied to
In hand-written arrangement for reading with electromagnetic handwritten function, which comprises
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
According to another aspect of the present invention, a kind of hand-written arrangement for reading is provided, comprising:
Screen, magnetic board, processor, memory, communication interface and communication bus, it is the screen, the magnetic board, described
Processor, the memory and the communication interface complete mutual communication by the communication bus;
For detecting the user operation instruction that time writer generates on the screen, the memory is used for the magnetic board
An at least executable instruction is stored, the executable instruction makes the processor execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
According to another aspect of the invention, provide a kind of computer storage medium, be stored in the storage medium to
A few executable instruction, the executable instruction make the processor execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
It, can be according to user's operation in the processing method of user operation instruction provided by the invention and hand-written arrangement for reading
The command information of instruction and preset maloperation recognition rule judge whether user operation instruction is maloperation instruction, so as to
Maloperation instruction is shielded, maloperation is prevented.It can be seen which can oneself by pre-set maloperation recognition rule
The dynamic operational order for identifying user's false triggering, to be kept away the problem of preventing a plurality of types of user operation instructions from conflicting with each other
Exempt from maloperation phenomenon.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the processing method of user operation instruction provided by one embodiment of the present invention;
Fig. 2 shows the flow charts of the processing method of user operation instruction provided by Embodiment 2 of the present invention;
Fig. 3 shows the flow chart of the processing method of the user operation instruction of the offer of the embodiment of the present invention three;
Fig. 4 shows a kind of structural schematic diagram of hand-written arrangement for reading in accordance with another embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 shows the flow chart of the processing method of user operation instruction provided by one embodiment of the present invention, this method
Applied in the hand-written arrangement for reading with electromagnetic handwritten function.Method in the present embodiment can be applied to all kinds of hand-written readings
Equipment, all applicable present invention of hand-written arrangement for reading that can support a variety of operational orders for being easy to happen conflict simultaneously.
As shown in Figure 1, method includes the following steps:
Step S110: the command information of the user operation instruction received is obtained.
Wherein, user operation instruction can be various types of instructions, comprising: hand-written operational order.For example, working as this method
When applied to handwriting input device, user operation instruction, can also be with either the hand-written operational order triggered by time writer
It is the touch control operation instruction triggered by user's finger.Certainly, when this method is applied to other hand-written arrangement for reading, Yong Hucao
The instruction type for making to instruct can also be other types.Wherein, the handwriting input device in the present embodiment, which refers to, all kinds of has hand
The electronic equipment of input function is write, hand-written arrangement for reading refers to: can either provide hand-write input function, and be capable of providing e-book
The electronic equipment of read function.It, can also be with it can be seen that handwriting input device and hand-written arrangement for reading can be the same equipment
For different equipment.When the two is different equipment, handwriting input device can also be integrated in the inside of hand-written arrangement for reading.?
In the present embodiment, handwriting input device and hand-written arrangement for reading are the same equipment, it may be assumed that can either provide electromagnetism stroke handwriting function
The equipment that can, be capable of providing e-book reading function again.
The command information of user operation instruction refers to: for describing instruction type, the instruction features of the user operation instruction
Etc. contents information.All information relevant to the user operation instruction, can be used in describing the user operation instruction
As the command information in the present embodiment, the specific intension of no limit order information of the present invention.
Step S120: according to the command information of user operation instruction and preset maloperation recognition rule, judge user
Whether operational order is maloperation instruction.
Wherein, preset maloperation recognition rule can be according to actual scene flexible setting.For example, can be according to command information
In include instruction type information shielding belong to the operational order of preset screening type, so that hand-written arrangement for reading be enable to exist
The operational order that preset kind is only supported under preset period of time or default input scene, without supporting other kinds of operational order,
To prevent different types of operational order from clashing.For another example, can also be believed according to the instruction attributes for including in command information
The operational order of breath shielding predetermined registration operation type can also be not belonging to according to the instruction attributes information identification for including in command information
The operational order of maloperation.In short, those skilled in the art can according to practical application scene flexible setting maloperation recognition rule,
The maloperation recognition rule both can be used for identifying maloperation, can be used for the obvious routine for being not belonging to maloperation of identification and grasp
Make, the present invention does not limit the specific intension of maloperation recognition rule.
Step S130: if so, shielding maloperation instruction, to prevent maloperation.
When judging that user operation instruction belongs to maloperation instruction, maloperation in order to prevent promotes operation accuracy rate, needs
Shield maloperation instruction.When specific shielding, maloperation instruction can be directly intercepted, which can not also be instructed
It is responded, specific shielding mode can be by those skilled in the art's flexible choice.
It can be seen that in the processing method of user operation instruction provided by the invention, it can be according to user operation instruction
Command information and preset maloperation recognition rule, judge user operation instruction whether be maloperation instruction, to shield
Maloperation instruction, prevents maloperation.Which can automatically identify user's mistake by pre-set maloperation recognition rule
The operational order of triggering, to avoid maloperation phenomenon the problem of preventing a plurality of types of user operation instructions from conflicting with each other.
Embodiment two
In the present embodiment, this method be applied to handwriting input device (it can be appreciated that hand-written arrangement for reading) (such as
Ink screen manuscript copy).The handwriting input device supports the user operation instruction of hand-written type and the user's operation of touch type
Instruction.In order to make it easy to understand, first being described for the working principle of the handwriting input device: ink screen manuscript copy can be simultaneously
Time writer handwriting functions and finger touch function are provided.Wherein, the hand-written class that time writer handwriting functions are triggered by time writer
The user operation instruction of type realizes that finger touch function is real by the user operation instruction for the touch type that user's finger triggers
It is existing.In order to support above two function simultaneously, the hardware configuration of ink screen manuscript copy is as follows: one layer of electricity is superimposed on ink screen
Rong Ping for receiving the capacitance signal for carrying electric field generation by finger in finger contact screen, and converts a signal into capacitor
Control instruction, so that user can be used finger and realize the operation such as click, sliding, long-pressing, so that being applied to includes clicking control
In the application scenarios such as option, page turning, underscore label text.In addition, being further superimposed on the basis of ink screen and capacitance plate
Magnetic board, the magnetic board are used cooperatively with time writer (or writing pencil), when time writer contact screen, magnetic board and time writer
Between generate LC resonance induction, magnetic board receive electromagnetic signal, and convert thereof into Electromagnetic Control instruction, allow the user to make
Handwriting is write with time writer, thus be applied to cross, draw on read page, writing, and cross in notebook,
It draws, write etc. in application scenarios.Inventor has found in the implementation of the present invention: due to manuscript copy while supporting time writer
Handwriting functions and finger touch function, therefore, in practical applications, operation corresponding to two kinds of functions is easy to produce conflict.
In a kind of usage scenario, user uses time writer written handwriting, simultaneously because palm other parts can be generated with screen contact
Capacitance signal, therefore the touch control operation not being inconsistent with operation intention of user, as maloperation can be generated, also cry accidentally touching operation.
To solve the above-mentioned problems, Fig. 2 shows the processing methods of user operation instruction provided by Embodiment 2 of the present invention
Flow chart, this method be applied to electromagnetic handwritten function hand-written arrangement for reading in.Wherein, handwriting input device refers to respectively
Class has the electronic equipment of hand-write input function, and hand-written arrangement for reading refers to: can either provide hand-write input function, and can mention
The electronic equipment of power supply philosophical works read function.It can be seen that handwriting input device can be set with hand-written arrangement for reading to be same
It is standby, or different equipment.When the two is different equipment, handwriting input device can also be integrated in hand-written arrangement for reading
Inside.In the present embodiment, handwriting input device and hand-written arrangement for reading are the same equipment, it may be assumed that can either provide electromagnetism
Stroke handwriting function, the equipment for being capable of providing e-book reading function again.As shown in Fig. 2, method includes the following steps:
Step S210: the instruction type information of the user operation instruction received is obtained.
Since the present embodiment is applied to handwriting input device, the instruction type information of user operation instruction mainly wraps
It includes: the hand-written type corresponding to time writer input mode and the touch type corresponding to finger input mode.
Specifically, it in the instruction type information for judging user operation instruction, can be accomplished in that when user touches
When sending out user operation instruction, an action event corresponding with the user operation instruction can be generated in system, it should by obtaining
The event information of action event, and judge according to the signal type information for including in the event information finger of the user operation instruction
Enable type.For example, illustrating the finger of user operation instruction corresponding to the action event when signal type information is electromagnetic signal
Enabling type is the hand-written type triggered by time writer and electromagnetic signal;When signal type information is capacitance signal, explanation
The instruction type of user operation instruction corresponding to the action event is the touch type triggered by finger and capacitance signal.
Whether step S220: being preset screening type information according to the instruction type information of user operation instruction, judgement
Whether user operation instruction is maloperation instruction.
Wherein, in the present embodiment, preset maloperation recognition rule are as follows: believed according to the instruction type of user operation instruction
Whether breath is rule that preset screening type information is identified.Specifically, in the present embodiment, instruction type is believed in advance
Breath is divided into the unmasked type information for needing the screening type information shielded and not needing shielding.Wherein, screening type is believed
The type of breath and unmasked type information can be specifically dependent upon application scenarios to be one or more.
In the present embodiment, it is mainly used for preventing in time writer input process because between palm and screen due to contacing by mistake
Caused maloperation, therefore, preset screening type information include: touch type information.Correspondingly, as long as detecting that user grasps
Make the instruction type information that instructs be touch type information will the user operation instruction be determined as maloperation instruction.
Step S230: if so, shielding maloperation instruction, to prevent maloperation.
When the instruction type information for judging user operation instruction is touch type information, the user operation instruction is determined
Belong to maloperation instruction, needs to shield maloperation instruction.Under normal conditions, it for the user operation instruction of touch type, needs
Corresponding touch function is realized by the function of the user operation instruction for executing touch type or the calling interface of method,
In the present embodiment, it in order to shield the user operation instruction of the touch type, is no longer called in a conventional manner for holding
The function of the user operation instruction of row touch type or the calling interface of method, to mask the user operation instruction, not into
Row response.
For example, can determine whether to be called in a conventional manner for executing touch-control class by the parameter value of parameter preset
The function of the user operation instruction of type or the calling interface of method, correspondingly, the parameter value by changing the parameter preset are realized
The effect of response or shielding user operation instruction.Specifically, the parameter value of the parameter preset can dynamically change in input process
Become, the setting instruction that can also be received according to preset inlet porting is changed.
It specifically, can be in notebook page when the setting instruction received according to preset inlet porting is changed
Increase a switch option in face, for shielding the corresponding touch control operation of finger in time writer input process.The switch option
Open state and closed state correspond respectively to the different parameters value of the parameter preset, opened to realize in switch option
When shielding touch type user operation instruction effect.Which can be by user according to current input field scape active control need
The operational order to be shielded, convenient for being adjusted flexibly according to input scene.
It, can also be by addition, it is necessary to, it is emphasized that preset screening type information is not limited to touch type in the present embodiment
User carries out customized setting by customized inlet porting, so that operation to be shielded is arranged according to itself use habit by user
The instruction type of instruction.
Step S240: if it is not, responding the user operation instruction.
When the instruction type information for judging user operation instruction is not belonging to preset screening type information, the use is determined
Family operational order is not belonging to maloperation instruction, needs to respond the user operation instruction.In the present embodiment, it is primarily referred to as hand-written class
The instruction of type.For the user operation instruction of hand-written type, need through the user operation instruction for executing hand-written type
Function or the calling interface of method realize corresponding touch function, and in the present embodiment, only needing normal call, this is used to execute hand
Write the function of the user operation instruction of type or the calling interface of method.
Through this embodiment, handwriting input device can be made only in response to the user operation instruction of unmasked type, without sound
The user operation instruction of screening type is answered, to prevent different types of user operation instruction from conflicting with each other.For example, user can only
Time writer handwriting is used on the screen, and is not available finger and is carried out touch control operation.Which is particularly suitable in user
Finger maloperation is shielded in wholwe-hearted hand-written scene.User can choose whether to shield according to current input state by switch option
The user operation instruction of at least one type.
Embodiment three
Fig. 3 shows the flow chart of the processing method of the user operation instruction of the offer of the embodiment of the present invention three, and this method is answered
For in the hand-written arrangement for reading with electromagnetic handwritten function.The present embodiment can be applied to handwriting input described in embodiment two and set
In standby (i.e. hand-written arrangement for reading).As shown in figure 3, method includes the following steps:
Step S310: the instruction type information of the user operation instruction received is obtained.
The instruction type information of user operation instruction is similar with embodiment two in the present embodiment, specifically includes that and corresponds to electricity
The hand-written type of magnetic pen input mode and touch type corresponding to finger input mode.Correspondingly, it can refer to step S210
In mode determine the instruction type information of user operation instruction, details are not described herein again.
Step S320: it when the instruction type information for determining user operation instruction is preset kind information, is grasped according to user
The instruction attributes information for making to instruct judges whether the user operation instruction is maloperation instruction.
Specifically, the command information of the user operation instruction in the present embodiment includes instruction type information and instruction attributes
Information.Wherein, instruction type information and instruction attributes information can be obtained by step S310, and will be obtained in step S310
Instruction attributes information storage in case this step use.Alternatively, can also by step S310 acquisition instruction type information, and
The instruction type information that user operation instruction is determined in this step is that preset kind information and then acquisition instruction attribute are believed
Breath, the present invention to specific implementation details without limitation.
In the present embodiment, preset kind information is similar with screening type information preset in embodiment two, also includes: touching
Control type information.Correspondingly, it when the instruction type information for determining user operation instruction is touch type information, needs further
Judge whether the user operation instruction is maloperation instruction according to the instruction attributes information of the user operation instruction.Wherein, implement
Example three and embodiment two both can individually be implemented, and can also be combined with each other.For example, when embodiment three and embodiment two are mutual
In conjunction with when, when the switch option that can be mentioned in example 2 is in close state, further by describing in embodiment three
Mode judge whether the user operation instruction of touch type is maloperation, to realize the effect of intellectual determination.
When it is implemented, judging whether user operation instruction is accidentally to grasp in the instruction attributes information according to user operation instruction
When instructing, it can be accomplished in that the instruction attributes information and preset unmasked class according to user operation instruction
Rule and/or shielding rule-like judge whether the user operation instruction is maloperation instruction.Wherein, unmasked rule-like is for knowing
It is not belonging to the user operation instruction of maloperation instruction, the user's operation that shielding rule-like belongs to maloperation instruction for identification refers to
It enables.It can be seen that pre-setting two rule-likes in the present embodiment, wherein unmasked rule-like is the behaviour according to routine operation
The rule for making the instruction of routine operation that feature determines, being not belonging to maloperation for identification, passes through the unmasked rule-like energy
Enough identify the routine operation for being obviously not belonging to maloperation.Shielding rule-like is determined according to the operating characteristics of common maloperation
, the rule of the instruction of maloperation for identification, common maloperation can recognize that by the shielding rule-like.Above-mentioned two side
Face rule can both select a use, can also be used in combination.
It is mainly described below several rules below:
(1) rule-like is shielded:
Inventor has found in the implementation of the present invention: when user uses time writer, palmar side can touch screen
Curtain, this contact are apparently not that touch-control is intended to, and are shielded.Since conventional finger trigger action is all by finger fingertip
Triggering, and the area of finger tip is significantly less than the area of finger side, it can be seen that, the way of contact of such maloperation has contact
The biggish feature of area, therefore, based on this feature, the instruction touch-control area information for including in available instruction attributes information,
And by shield type rule setting are as follows: for when instructing touch-control area information to meet default shielding condition, by user operation instruction
It is identified as the rule of maloperation instruction corresponding with palm side.The default shielding condition instructs the touch-control area to be for identification
It is no to be greater than preset area threshold value.When it is implemented, can be directly according to the ratio between instruction touch-control area and preset area threshold value
Relatively result is determined.Alternatively, considering that there are incidence relations between the instruction touch-control area and screen area when maloperation, also
It can be judged in conjunction with screen area, correspondingly, which includes: to determine that user grasps according to default operation rule
Make the default operation values between the touch-control area information instructed and screen area information;According to default operation values and default shielding
Whether threshold value determine instruction touch-control area information meets default shielding condition.Wherein, which includes: calculating touch-control
Ratio between area information and screen area information, correspondingly, when ratio is greater than default shield threshold value, determine instruction touch-control
Whether area information meets default shielding condition.The default operation rule can also include: to calculate screen area information and touch-control
Difference between area information, correspondingly, when difference is less than default shield threshold value, whether determine instruction touch-control area information is accorded with
Close default shielding condition.It can be seen that default shield threshold value needs are determined according to the concrete type of operation rule, purpose exists
In identifying the biggish palm generic operation of contact area.
For example, entire screen area is divided into N*M grid in advance in a kind of concrete implementation mode, N, M are
Natural number.Wherein, the area equation of each grid, shape are identical, for measuring contact area.Correspondingly, it is arrived in system detection
When touch control operation event corresponding with user operation instruction, include in the event information of the touch control operation event each is obtained
Each touch point is respectively mapped in corresponding grid by the coordinate position of touch point according to the coordinate position of each touch point,
The grid comprising touch point is determined according to mapping result, and the quantity of the grid comprising touch point is denoted as a, will be wrapped in screen area
The total quantity of the grid contained is denoted as b, calculates the ratio between a and b, when the ratio is more than default shield threshold value, determines this
The contact area of touch control operation is excessive, belongs to contacing by mistake for palmar side and screen, correspondingly, shields the touch control operation and not locates
Reason.When it is implemented, obtaining the touch information of touch event by driving layer, and this touch-control thing is judged according to touch-control size
Whether part is large area gesture event, if so, when driving layer to report this touch event to system layer, it can be in event information
It carries preset mark (flag).Correspondingly, system layer, which receives, checks whether after this touch event and carries the preset mark, and
Respective handling is executed according to inspection result: if it is not, in a conventional manner by user operation instruction corresponding to the touch event point
It issues corresponding application program to be handled, for example, passing through dispatchTouchEvent (MotionEvent event) method
Function is distributed to APP processing;If so, according to processing mode corresponding to maloperation event by use corresponding to the touch event
Family operational order is distributed to corresponding application program and is handled, for example, MotionEvent parameter of the system layer in gesture event
It is middle that contact area (event.getSize ()) value and contact pressure (event.getPressure ()) value are changed to 1 and (normally taken
Value range is 0-1).After App receives the user operation instruction corresponding with gesture event of system layer transmission, contact surface is checked
Whether product value and contact pressure value are all 1, if so, judging the instruction for the instruction of maloperation corresponding to large area gesture.
In a specific example, screen can be divided into 24*32 lattice, and TP driving layer judges the lattice of finger and screen contact
Subnumber, it is considered as large area gesture that grid number, which is more than 16,.In practical application, N and M is arranged bigger, grid granularity of division
Smaller, testing result is more accurate.Aforementioned default shield threshold value is arranged smaller, detects sensitiveer.
(2) the unmasked rule-like that page turn over operation instructs for identification:
Since page turning generic operation is common operation when user uses handwriting input device, therefore, it is necessary to by the generic operation
It is determined as routine operation not to shield.Specifically, identify page turn over operation instruction when, the instruction attributes information of acquisition include: with
Slide the corresponding sliding attribute information of class touch command, correspondingly, the unmasked rule-like that page turn over operation instructs for identification
It include: for being identified as the user operation instruction to be not belonging to maloperation referring to when sliding attribute information and meeting default page turning condition
The rule of the page turn over operation instruction of order.
Wherein, sliding attribute information refers to: for describing the attribute information of the instruction features of sliding class touch command, specifically
It include: all kinds of letters such as slide displacement information, sliding speed information, sliding force information, direction of displacement information, sliding area information
Breath, the present invention do not limit the specific intension of sliding attribute information.Correspondingly, presetting page turning condition is page turn over operation for identification
Condition, particular content can be arranged rule according to the page turn over operation in application and determine.In the present embodiment, presetting page turning condition includes
At least one of following two categories condition:
The default page turning condition of the first form are as follows: preset when the slide displacement information for including in sliding attribute information is greater than
Slide displacement threshold value, and/or the direction of displacement information for including in sliding attribute information, when match with preset direction, determination is slided
Attribute information meets default page turning condition.Wherein, slide displacement information refers to the displacement that slide moves on the screen, displacement
Directional information refers to the direction that slide moves on the screen.Preset direction can be for horizontal direction or between horizontal direction
Angle be less than the direction of preset value, or vertical direction or angle between vertical direction are less than the side of preset value
To, can also be screen diagonally opposing corner direction, the present invention to the specific intension of preset direction without limitation.For example, working as moving distance
When angle more than certain length, and between moving direction and horizontal direction is less than predetermined angle, it is judged as page turn over operation.For
The rolling page turn over operation of vertical direction, rule are similar.
The default page turning condition of second of form are as follows: when sliding attribute information in include sliding area information with it is preset
When the direction of displacement information for including in page turning Region Matching, and/or sliding attribute information is matched with preset direction, determine that sliding belongs to
Property information meets default page turning condition.Wherein, sliding area information refers to screen area corresponding to slide, preset to turn over
Page region refers to preset for responding the region of page turn over operation in application.For example, the position when slide is located at screen
When in predeterminable area (such as upper one third or lower one third region, can also control), and horizontal sextant angle is less than certain angle,
It is then page turn over operation.
Above two condition can be used alone, and can also be used in combination.Page turning can be accurately identified by above-mentioned condition
Generic operation.For example, the interface gestures operation of handwriting input device is to pass through onFingerTouch in a specific example
The processing of (MotionEvent event) this method function, coordinate mDownX when finger down is had recorded in this method,
Real-time coordinates mCurrX, mCurrY in mDownY and finger moving process, can calculate cunning by the two coordinate points
Angle mAngle between dynamic direction of displacement and horizontal direction.Finger sliding can be calculated according to Pythagorean theorem when finger lifts
Distance, when sliding distance is greater than 100 (to the right slide) or is less than -100 (sliding to the left), and sliding trace and horizontal direction are pressed from both sides
When angle is less than or equal to 60 degree, assert that the gesture is page turning gesture, execute front and back page turning further according to glide direction.
(3) the unmasked rule-like that clicking operation instructs for identification:
It is common operation when user uses handwriting input device due to clicking generic operation, therefore, it is necessary to by the generic operation
It is determined as routine operation not to shield.Specifically, identification click operational order when, the instruction attributes information of acquisition include: with
Click the corresponding click attribute information of class touch command, correspondingly, the unmasked rule-like that clicking operation instructs for identification
It include: for being identified as the user operation instruction to be not belonging to maloperation referring to when clicking attribute information and meeting default click conditional
The rule of the clicking operation instruction of order.
Wherein, it clicks attribute information to refer to: for describing to click the attribute information of the instruction features of class touch command, specifically
It include: to click all kinds of letters such as displacement information, click speed information, click force information, direction of displacement information, click on area information
Breath, the present invention is unlimited to pinpoint the specific intension for hitting attribute information.Correspondingly, default click conditional is clicking operation for identification
Condition, particular content can be arranged rule according to the clicking operation in application and determine.In the present embodiment, click conditional is preset are as follows:
It is less than preset click displacement threshold value when clicking the click displacement information for including in attribute information, and/or, it clicks in attribute information
When the click duration information for including is less than preset click duration threshold value, determine that clicking attribute information meets default click conditional.
Wherein, click displacement information to refer to: user issues generated displacement during clicking operation, it is generally the case that clicks behaviour
Work is the operation for specified point, and different from slide, the click displacement information of clicking operation should be similar to zero.Click duration
Information refers to the process of: user issues the lasting duration of clicking operation, it is generally the case that the duration of clicking operation compared with
Short, user's finger should be lifted in a short time after pressing.For example, according to the sliding distance of clicking operation whether less than 36, and
From clicking whether time for lifting less than 180 milliseconds judges whether this touch event is click event.If this is touched
Control operation is judged as clicking operation, when illustrating that clicking attribute information does not meet default click conditional, should grasp corresponding user
It is to be not belonging to the clicking operation instruction of maloperation instruction as instruction identification, accordingly, it is desirable to be responded by subsequent step S340
Clicking operation instruction.When specific response, the figure for whether having insertion in the coordinate range can be judged according to click location coordinate
Piece, figure, if so, arousing picture, graphics edition frame, to realize the editor for picture, figure;Alternatively, judging the coordinate
It whether there is corresponding control picture in range, if so, executing clicking operation for the control picture.
Step S330: if so, shielding maloperation instruction, to prevent maloperation.
After determining that user operation instruction is maloperation instruction by step S320, need to shield mistake behaviour by this step
It instructs.Under normal conditions, it for the user operation instruction of touch type, needs to grasp by the user for executing touch type
The calling interface for making the function instructed or method realizes corresponding touch function, in the present embodiment, in order to shield the touching
The user operation instruction for controlling type, no longer calls the function of the user operation instruction for executing touch type in a conventional manner
Or the calling interface of method, so that the user operation instruction is masked, without response.
Step S340: if it is not, responding the user operation instruction.
When determining that user operation instruction is not belonging to maloperation instruction by step S320, needs to respond the user's operation and refer to
It enables.In the present embodiment, the instruction for needing to respond includes: to be not belonging in the instruction of hand-written type and the instruction of touch type
The instruction of maloperation instruction, such as page-turning instruction or click commands.When specific response, according to the responding process of the instruction of respective type
Execute conventional treatment.
Through this embodiment, the operational order of the hand-written hand-written type of arrangement for reading normal response can be made, to ensure electromagnetism
The smooth use of pen.In addition, one layer of decision logic is then increased for the operational order of touch type, to intercept maloperation instruction,
It whether is maloperation instruction so as to the operational order of each touch type of intelligent decision, thus intelligent response normal instructions,
And maloperation instruction is intercepted, it provides convenience for the input process of user.
In actual conditions, embodiment two and embodiment three can be combined with each other, and those skilled in the art can also be to implementation
Each step and execution sequence in example two and embodiment three are adjusted flexibly, and which is not limited by the present invention.
In order to make it easy to understand, a concrete application scene of the invention is given below:
Hand-written arrangement for reading in the present invention is manuscript copy, has the function of electromagnetism input person's handwriting and capacitance operation function, preceding
Person is for written handwriting on the screen, and the latter is for realizing reading operations, such as page turning, click keys.Specifically, this hand-written is read
Reading equipment includes: screen, magnetic board, processor, memory, communication interface and communication bus, the screen, the magnetic board,
The processor, the memory and the communication interface complete mutual communication by the communication bus;The electromagnetism
For plate for detecting the user operation instruction that time writer generates on the screen, the memory is executable for storing at least one
Instruction, the executable instruction make the processor execute operations mentioned above.
In a specific example, wrong touching detection switch is set in the hand-written arrangement for reading and (accidentally touching is also made to open
It closes).When accidentally touching detection switch is opened for this, all capacitor generic operations (i.e. use of the touch type of finger triggering can be shielded
Family operational order), only in response to the user operation instruction of the hand-written type triggered by time writer.When accidentally touching detection switch is closed for this
When, the user operation instruction of touch type will not all be shielded, still, in the user operation instruction for receiving touch type
Afterwards, can judge whether the user operation instruction is maloperation instruction, according to preset maloperation recognition rule to realize intelligence screen
Cover the effect of the maloperation of finger triggering.
Embodiment three
The embodiment of the present application provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with
The user operation instruction in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions
Processing method.
Executable instruction specifically can be used for so that processor executes following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
When the instruction type information for determining the user operation instruction is preset screening type information, the use is determined
Family operational order is maloperation instruction;
Wherein, the preset screening type information includes touch type information.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user's operation
The instruction attributes information of instruction judges whether the user operation instruction is maloperation instruction.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shield type
Rule judges whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shielding for identification
Rule-like belongs to the user operation instruction of maloperation instruction for identification.
In a kind of optional mode, described instruction attribute information includes: instruction touch-control area information, and the shield type
Rule includes: for when described instruction touch-control area information meets default shielding condition, the user operation instruction to be identified
For the rule of maloperation corresponding with palm side instruction.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
It is determined between the touch-control area information of the user operation instruction and screen area information according to default operation rule
Default operation values;
It is pre- to determine whether described instruction touch-control area information meets according to the default operation values and default shield threshold value
If the condition of shielding.
In a kind of optional mode, described instruction attribute information includes: sliding corresponding with sliding class touch command
Attribute information, and the unmasked rule-like includes: for when the sliding attribute information meets default page turning condition, by institute
User operation instruction is stated to be identified as being not belonging to the rule of the page turn over operation instruction of maloperation instruction.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or institute
The direction of displacement information for including in sliding attribute information is stated when matching with preset direction, it is pre- to determine that the sliding attribute information meets
If page turning condition;And/or
When the sliding area information and preset page turning Region Matching and/or described for including in the sliding attribute information
When the direction of displacement information for including in sliding attribute information is matched with preset direction, it is default to determine that the sliding attribute information meets
Page turning condition.
In a kind of optional mode, described instruction attribute information includes: click corresponding with class touch command is clicked
Attribute information, and the unmasked rule-like includes: for when the click attribute information meets default click conditional, by institute
User operation instruction is stated to be identified as being not belonging to the rule of the clicking operation instruction of maloperation instruction.
In a kind of optional mode, the executable instruction makes the processor execute following operation:
When it is described click attribute information in include click displacement information be less than preset click displacement threshold value, and/or, institute
When stating the click duration information clicked and include in attribute information less than preset click duration threshold value, the click attribute letter is determined
Breath meets default click conditional.
It is described to judge whether the user operation instruction is after maloperation instructs, into one in a kind of optional mode
Step includes: if it is not, responding the user operation instruction.
In a kind of optional mode, the method is applied to handwriting input device, also, the handwriting input device is supported
The user operation instruction of hand-written type and the user operation instruction of touch type.
Example IV
Fig. 4 shows a kind of structural schematic diagram of hand-written arrangement for reading in accordance with another embodiment of the present invention, the present invention
Specific embodiment does not limit the specific implementation of hand-written arrangement for reading.
As shown in figure 4, the hand-written arrangement for reading may include: screen 401, magnetic board 403, processor (processor)
402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein: screen 401, magnetic board 403, processor 402, communication interface 404 and memory 406 are total by communication
Line 408 completes mutual communication.Communication interface 404, for the net with other equipment such as client or other servers etc.
Member communication.Processor 402 can specifically execute the processing method embodiment of above-mentioned user operation instruction for executing program 410
In correlation step.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that hand-written arrangement for reading includes can be same type of processor, such as one or more CPU;
It is also possible to different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
In a kind of optional mode, described program 410 makes the processor execute following operation:
When the instruction type information for determining the user operation instruction is preset screening type information, the use is determined
Family operational order is maloperation instruction;
Wherein, the preset screening type information includes touch type information.
In a kind of optional mode, described program 410 makes the processor execute following operation:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user's operation
The instruction attributes information of instruction judges whether the user operation instruction is maloperation instruction.
In a kind of optional mode, described program 410 makes the processor execute following operation:
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shield type
Rule judges whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shielding for identification
Rule-like belongs to the user operation instruction of maloperation instruction for identification.
In a kind of optional mode, described instruction attribute information includes: instruction touch-control area information, and the shield type
Rule includes: for when described instruction touch-control area information meets default shielding condition, the user operation instruction to be identified
For the rule of maloperation corresponding with palm side instruction.
In a kind of optional mode, described program 410 makes the processor execute following operation:
It is determined between the touch-control area information of the user operation instruction and screen area information according to default operation rule
Default operation values;
It is pre- to determine whether described instruction touch-control area information meets according to the default operation values and default shield threshold value
If the condition of shielding.
In a kind of optional mode, described instruction attribute information includes: sliding corresponding with sliding class touch command
Attribute information, and the unmasked rule-like includes: for when the sliding attribute information meets default page turning condition, by institute
User operation instruction is stated to be identified as being not belonging to the rule of the page turn over operation instruction of maloperation instruction.
In a kind of optional mode, described program 410 makes the processor execute following operation:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or institute
The direction of displacement information for including in sliding attribute information is stated when matching with preset direction, it is pre- to determine that the sliding attribute information meets
If page turning condition;And/or
When the sliding area information and preset page turning Region Matching and/or described for including in the sliding attribute information
When the direction of displacement information for including in sliding attribute information is matched with preset direction, it is default to determine that the sliding attribute information meets
Page turning condition.
In a kind of optional mode, described instruction attribute information includes: click corresponding with class touch command is clicked
Attribute information, and the unmasked rule-like includes: for when the click attribute information meets default click conditional, by institute
User operation instruction is stated to be identified as being not belonging to the rule of the clicking operation instruction of maloperation instruction.
In a kind of optional mode, described program 410 makes the processor execute following operation:
When it is described click attribute information in include click displacement information be less than preset click displacement threshold value, and/or, institute
When stating the click duration information clicked and include in attribute information less than preset click duration threshold value, the click attribute letter is determined
Breath meets default click conditional.
It is described to judge whether the user operation instruction is after maloperation instructs, into one in a kind of optional mode
Step includes: if it is not, responding the user operation instruction.
In a kind of optional mode, the method is applied to handwriting input device, also, the handwriting input device is supported
The user operation instruction of hand-written type and the user operation instruction of touch type.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention also discloses a kind of processing method of user operation instruction of A1., the method is applied to have Electromagnetic hand
It writes in the hand-written arrangement for reading of function, which comprises
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
A2. the method according to claim A1, wherein described instruction information includes instruction type information, and described
Preset maloperation recognition rule includes:
When the instruction type information for determining the user operation instruction is preset screening type information, the use is determined
Family operational order is maloperation instruction;
Wherein, the preset screening type information includes touch type information.
A3. the method according to claim A1, wherein described instruction information includes: instruction type information and/or refers to
Enable attribute information;And the command information and preset maloperation recognition rule according to the user operation instruction, judgement
Whether the user operation instruction is that maloperation instruction includes:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user's operation
The instruction attributes information of instruction judges whether the user operation instruction is maloperation instruction.
A4. the method according to claim A3, wherein the preset kind information includes touch type information, and
The instruction attributes information according to the user operation instruction judges whether the user operation instruction is maloperation instruction packet
It includes:
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shield type
Rule judges whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shielding for identification
Rule-like belongs to the user operation instruction of maloperation instruction for identification.
A5. the method according to claim A4, wherein described instruction attribute information includes: instruction touch-control area letter
Breath, and the shielding rule-like includes: for when described instruction touch-control area information meets default shielding condition, by the use
Family operational order is identified as the rule of maloperation instruction corresponding with palm side.
A6. the method according to claim A5, wherein the default shielding condition includes:
It is determined between the touch-control area information of the user operation instruction and screen area information according to default operation rule
Default operation values;
It is pre- to determine whether described instruction touch-control area information meets according to the default operation values and default shield threshold value
If the condition of shielding.
A7. the method according to claim A4, wherein described instruction attribute information includes: to refer to sliding class touch-control
Corresponding sliding attribute information is enabled, and the unmasked rule-like includes: default for meeting in the sliding attribute information
When page turning condition, the user operation instruction is identified as to be not belonging to the rule of the page turn over operation instruction of maloperation instruction.
A8. the method according to claim A7, wherein the default page turning condition includes:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or institute
The direction of displacement information for including in sliding attribute information is stated when matching with preset direction, it is pre- to determine that the sliding attribute information meets
If page turning condition;And/or
When the sliding area information and preset page turning Region Matching and/or described for including in the sliding attribute information
When the direction of displacement information for including in sliding attribute information is matched with preset direction, it is default to determine that the sliding attribute information meets
Page turning condition.
A9. the method according to claim A4, wherein described instruction attribute information includes: to refer to click class touch-control
Corresponding click attribute information is enabled, and the unmasked rule-like includes: default for meeting in the click attribute information
When click conditional, the user operation instruction is identified as to be not belonging to the rule of the clicking operation instruction of maloperation instruction.
A10. the method according to claim A9, wherein the default click conditional includes:
When it is described click attribute information in include click displacement information be less than preset click displacement threshold value, and/or, institute
When stating the click duration information clicked and include in attribute information less than preset click duration threshold value, the click attribute letter is determined
Breath meets default click conditional.
A11. according to any method of claim A1-10, wherein described whether to judge the user operation instruction
After maloperation instruction, further comprise: if it is not, responding the user operation instruction.
A12. according to any method of claim A1-11, wherein the method is applied to handwriting input device,
Also, the handwriting input device supports the user operation instruction of hand-written type and the user operation instruction of touch type.
B13. a kind of hand-written arrangement for reading, comprising: screen, magnetic board, processor, memory, communication interface and communication are total
Line, the screen, the magnetic board, the processor, the memory and the communication interface are complete by the communication bus
At mutual communication;
For detecting the user operation instruction that time writer generates on the screen, the memory is used for the magnetic board
An at least executable instruction is stored, the executable instruction makes the processor execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
B14. the hand-written arrangement for reading according to claim B13, wherein the executable instruction makes the processor
Execute following operation:
When the instruction type information for determining the user operation instruction is preset screening type information, the use is determined
Family operational order is maloperation instruction;
Wherein, the preset screening type information includes touch type information.
B15. the hand-written arrangement for reading according to claim B13, wherein the executable instruction makes the processor
Execute following operation:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user's operation
The instruction attributes information of instruction judges whether the user operation instruction is maloperation instruction.
B16. the hand-written arrangement for reading according to claim B15, wherein the executable instruction makes the processor
Execute following operation:
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shield type
Rule judges whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shielding for identification
Rule-like belongs to the user operation instruction of maloperation instruction for identification.
B17. the hand-written arrangement for reading according to claim B16, wherein described instruction attribute information includes: instruction
Touch-control area information, and the shielding rule-like includes: for meeting default shielding condition in described instruction touch-control area information
When, the user operation instruction is identified as to the rule of maloperation instruction corresponding with palm side.
B18. the hand-written arrangement for reading according to claim B17, wherein the executable instruction makes the processor
Execute following operation:
It is determined between the touch-control area information of the user operation instruction and screen area information according to default operation rule
Default operation values;
It is pre- to determine whether described instruction touch-control area information meets according to the default operation values and default shield threshold value
If the condition of shielding.
B19. the hand-written arrangement for reading according to claim B16, wherein described instruction attribute information includes: and slides
The dynamic corresponding sliding attribute information of class touch command, and the unmasked rule-like includes: for believing in the sliding attribute
When breath meets default page turning condition, the user operation instruction is identified as to be not belonging to the page turn over operation instruction of maloperation instruction
Rule.
B20. the hand-written arrangement for reading according to claim B19, wherein the executable instruction makes the processor
Execute following operation:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or institute
The direction of displacement information for including in sliding attribute information is stated when matching with preset direction, it is pre- to determine that the sliding attribute information meets
If page turning condition;And/or
When the sliding area information and preset page turning Region Matching and/or described for including in the sliding attribute information
When the direction of displacement information for including in sliding attribute information is matched with preset direction, it is default to determine that the sliding attribute information meets
Page turning condition.
B21. the hand-written arrangement for reading according to claim B16, wherein described instruction attribute information includes: and point
The corresponding click attribute information of class touch command is hit, and the unmasked rule-like includes: for believing in the click attribute
When breath meets default click conditional, the user operation instruction is identified as to be not belonging to the clicking operation instruction of maloperation instruction
Rule.
B22. the hand-written arrangement for reading according to claim B21, the executable instruction execute the processor
It operates below:
When it is described click attribute information in include click displacement information be less than preset click displacement threshold value, and/or, institute
When stating the click duration information clicked and include in attribute information less than preset click duration threshold value, the click attribute letter is determined
Breath meets default click conditional.
B23. according to any hand-written arrangement for reading of claim B13-22, wherein the judgement user behaviour
Whether instruct is after maloperation instructs, to further comprise: if it is not, responding the user operation instruction.
B24. according to any hand-written arrangement for reading of claim B13-23, wherein the method is applied to hand-written
Input equipment, also, the handwriting input device supports the user operation instruction of hand-written type and the user's operation of touch type
Instruction.
C25. a kind of computer storage medium is stored with an at least executable instruction in the storage medium, described to hold
Row instruction makes processor execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, the user behaviour is judged
Whether instruct is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
C26. the computer storage medium according to claim C25, wherein the executable instruction makes the processing
Device executes following operation:
When the instruction type information for determining the user operation instruction is preset screening type information, the use is determined
Family operational order is maloperation instruction;
Wherein, the preset screening type information includes touch type information.
C27. the computer storage medium according to claim C25, wherein the executable instruction makes the processing
Device executes following operation:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user's operation
The instruction attributes information of instruction judges whether the user operation instruction is maloperation instruction.
C28. the computer storage medium according to claim C27, wherein the executable instruction makes the processing
Device executes following operation:
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shield type
Rule judges whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shielding for identification
Rule-like belongs to the user operation instruction of maloperation instruction for identification.
C29. the computer storage medium according to claim C28, wherein described instruction attribute information includes: to refer to
Touch-control area information is enabled, and the shielding rule-like includes: for meeting default shielding strip in described instruction touch-control area information
When part, the user operation instruction is identified as to the rule of maloperation instruction corresponding with palm side.
C30. the computer storage medium according to claim C29, wherein the executable instruction makes the processing
Device executes following operation:
It is determined between the touch-control area information of the user operation instruction and screen area information according to default operation rule
Default operation values;
It is pre- to determine whether described instruction touch-control area information meets according to the default operation values and default shield threshold value
If the condition of shielding.
C31. the computer storage medium according to claim C28, wherein described instruction attribute information include: with
The corresponding sliding attribute information of class touch command is slided, and the unmasked rule-like includes: in the sliding attribute
When information meets default page turning condition, the page turn over operation that the user operation instruction is identified as being not belonging to maloperation instruction is instructed
Rule.
C32. the computer storage medium according to claim C31, wherein the executable instruction makes the processing
Device executes following operation:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or institute
The direction of displacement information for including in sliding attribute information is stated when matching with preset direction, it is pre- to determine that the sliding attribute information meets
If page turning condition;And/or
When the sliding area information and preset page turning Region Matching and/or described for including in the sliding attribute information
When the direction of displacement information for including in sliding attribute information is matched with preset direction, it is default to determine that the sliding attribute information meets
Page turning condition.
C33. the computer storage medium according to claim C28, wherein described instruction attribute information include: with
The corresponding click attribute information of class touch command is clicked, and the unmasked rule-like includes: in the click attribute
When information meets default click conditional, the clicking operation that the user operation instruction is identified as being not belonging to maloperation instruction is instructed
Rule.
C34. the computer storage medium according to claim C33, the executable instruction hold the processor
The following operation of row:
When it is described click attribute information in include click displacement information be less than preset click displacement threshold value, and/or, institute
When stating the click duration information clicked and include in attribute information less than preset click duration threshold value, the click attribute letter is determined
Breath meets default click conditional.
C35. according to any computer storage medium of claim C25-34, wherein the judgement user
Whether operational order is after maloperation instructs, to further comprise: if it is not, responding the user operation instruction.
C36. according to any computer storage medium of claim C25-35, wherein the method is applied to hand
Input equipment is write, also, the handwriting input device supports the user operation instruction of hand-written type and the user behaviour of touch type
It instructs.
Claims (10)
1. a kind of processing method of user operation instruction, the method is applied to the hand-written arrangement for reading with electromagnetic handwritten function
In, which comprises
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, judge that the user's operation refers to
Whether enable is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
2. according to the method described in claim 1, wherein, described instruction information includes instruction type information, and described preset
Maloperation recognition rule includes:
When the instruction type information for determining the user operation instruction is preset screening type information, the user behaviour is determined
Making instruction is that maloperation instructs;
Wherein, the preset screening type information includes touch type information.
3. according to the method described in claim 1, wherein, described instruction information includes: instruction type information and/or instruction attributes
Information;And the command information and preset maloperation recognition rule according to the user operation instruction, judge the use
Whether family operational order is that maloperation instruction includes:
When the instruction type information for determining the user operation instruction is preset kind information, according to the user operation instruction
Instruction attributes information judge the user operation instruction whether be maloperation instruction.
4. according to the method described in claim 3, wherein, the preset kind information includes touch type information, and described
Judge whether the user operation instruction is that maloperation instruction includes: according to the instruction attributes information of the user operation instruction
According to the instruction attributes information of the user operation instruction and preset unmasked rule-like and/or shielding rule-like
Judge whether the user operation instruction is maloperation instruction;
Wherein, the unmasked rule-like is not belonging to the user operation instruction of maloperation instruction, the shield type rule for identification
Then belong to the user operation instruction of maloperation instruction for identification.
5. according to the method described in claim 4, wherein, described instruction attribute information includes: instruction touch-control area information, and institute
Stating shielding rule-like includes: for when described instruction touch-control area information meets default shielding condition, by the user's operation
Instruction identification is the rule of maloperation corresponding with palm side instruction.
6. according to the method described in claim 5, wherein, the default shielding condition includes:
It is determined according to default operation rule pre- between the touch-control area information of the user operation instruction and screen area information
If operation values;
Determine whether described instruction touch-control area information meets default screen according to the default operation values and default shield threshold value
Cover condition.
7. according to the method described in claim 4, wherein, described instruction attribute information includes: opposite with sliding class touch command
The sliding attribute information answered, and the unmasked rule-like includes: for meeting default page turning item in the sliding attribute information
When part, the user operation instruction is identified as to be not belonging to the rule of the page turn over operation instruction of maloperation instruction.
8. according to the method described in claim 7, wherein, the default page turning condition includes:
When the slide displacement information for including in the sliding attribute information is greater than preset slide displacement threshold value and/or the cunning
When the direction of displacement information for including in dynamic attribute information is matched with preset direction, determine that the sliding attribute information meets default turn over
Page condition;And/or
When the sliding area information and preset page turning Region Matching and/or the sliding for including in the sliding attribute information
When the direction of displacement information for including in attribute information is matched with preset direction, determine that the sliding attribute information meets default page turning
Condition.
9. a kind of hand-written arrangement for reading, comprising: screen, magnetic board, processor, memory, communication interface and communication bus, it is described
Screen, the magnetic board, the processor, the memory and the communication interface are completed mutual by the communication bus
Communication;
The magnetic board is for detecting the user operation instruction that time writer generates on the screen, and the memory is for storing
An at least executable instruction, the executable instruction make the processor execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, judge that the user's operation refers to
Whether enable is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute following operation:
Obtain the command information of the user operation instruction received;
According to the command information of the user operation instruction and preset maloperation recognition rule, judge that the user's operation refers to
Whether enable is maloperation instruction;
If so, the maloperation instruction is shielded, to prevent maloperation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811542371.7A CN109753179B (en) | 2018-12-17 | 2018-12-17 | User operation instruction processing method and handwriting reading equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811542371.7A CN109753179B (en) | 2018-12-17 | 2018-12-17 | User operation instruction processing method and handwriting reading equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109753179A true CN109753179A (en) | 2019-05-14 |
CN109753179B CN109753179B (en) | 2022-10-25 |
Family
ID=66403969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811542371.7A Active CN109753179B (en) | 2018-12-17 | 2018-12-17 | User operation instruction processing method and handwriting reading equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753179B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221767A (en) * | 2019-06-13 | 2019-09-10 | 广州视源电子科技股份有限公司 | The control method and device of intelligent interaction device |
CN110231911A (en) * | 2019-05-29 | 2019-09-13 | 无锡小天鹅电器有限公司 | False-touch prevention method, apparatus and household appliance |
CN110795321A (en) * | 2019-10-23 | 2020-02-14 | 北京云测信息技术有限公司 | Misoperation processing method and device and terminal equipment |
CN111124338A (en) * | 2019-12-18 | 2020-05-08 | 青岛海信商用显示股份有限公司 | Screen control method and touch display device |
CN113268197A (en) * | 2021-05-19 | 2021-08-17 | 青岛海信移动通信技术股份有限公司 | Screen sliding control method and device and terminal |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101587395A (en) * | 2008-05-23 | 2009-11-25 | 汉王科技股份有限公司 | Multi-mode coordinate, pressure input device and method |
CN102495768A (en) * | 2011-12-14 | 2012-06-13 | 华为终端有限公司 | Instruction processing method and terminal equipment |
US20120262407A1 (en) * | 2010-12-17 | 2012-10-18 | Microsoft Corporation | Touch and stylus discrimination and rejection for contact sensitive computing devices |
JP2015005106A (en) * | 2013-06-20 | 2015-01-08 | 司フエルト商事株式会社 | Touch pen |
CN104375761A (en) * | 2014-11-07 | 2015-02-25 | 惠州Tcl移动通信有限公司 | Method and system for preventing misoperation of touch screen mobile phone |
CN104881218A (en) * | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Mobile terminal screen scrolling method and mobile terminal screen scrolling device |
CN104965646A (en) * | 2015-06-02 | 2015-10-07 | 深圳市金立通信设备有限公司 | Operation instruction response processing method and terminal |
CN105549849A (en) * | 2015-12-15 | 2016-05-04 | 小米科技有限责任公司 | Method and device for processing misoperation instruction |
CN105786391A (en) * | 2016-03-24 | 2016-07-20 | 京东方科技集团股份有限公司 | Touch method and device as well as touch display equipment |
CN105786373A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Touch track display method and electronic device |
CN106527818A (en) * | 2016-12-16 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and device for touch operation on mobile terminal, and mobile terminal |
CN107045408A (en) * | 2017-04-14 | 2017-08-15 | 广州华欣电子科技有限公司 | Touch control method, smart pen, touch control identification method, apparatus and system |
CN107193477A (en) * | 2017-05-19 | 2017-09-22 | 努比亚技术有限公司 | Alarm clock prevents maloperation method and mobile terminal and computer-readable medium |
CN107291277A (en) * | 2017-08-14 | 2017-10-24 | 广州视源电子科技股份有限公司 | A kind of method of false-touch prevention, device, equipment and storage medium |
CN107422901A (en) * | 2017-05-08 | 2017-12-01 | 广州视源电子科技股份有限公司 | The method and system of touch screen false-touch prevention |
-
2018
- 2018-12-17 CN CN201811542371.7A patent/CN109753179B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101587395A (en) * | 2008-05-23 | 2009-11-25 | 汉王科技股份有限公司 | Multi-mode coordinate, pressure input device and method |
US20120262407A1 (en) * | 2010-12-17 | 2012-10-18 | Microsoft Corporation | Touch and stylus discrimination and rejection for contact sensitive computing devices |
CN102495768A (en) * | 2011-12-14 | 2012-06-13 | 华为终端有限公司 | Instruction processing method and terminal equipment |
JP2015005106A (en) * | 2013-06-20 | 2015-01-08 | 司フエルト商事株式会社 | Touch pen |
CN104375761A (en) * | 2014-11-07 | 2015-02-25 | 惠州Tcl移动通信有限公司 | Method and system for preventing misoperation of touch screen mobile phone |
CN105786373A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Touch track display method and electronic device |
CN104881218A (en) * | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Mobile terminal screen scrolling method and mobile terminal screen scrolling device |
CN104965646A (en) * | 2015-06-02 | 2015-10-07 | 深圳市金立通信设备有限公司 | Operation instruction response processing method and terminal |
CN105549849A (en) * | 2015-12-15 | 2016-05-04 | 小米科技有限责任公司 | Method and device for processing misoperation instruction |
CN105786391A (en) * | 2016-03-24 | 2016-07-20 | 京东方科技集团股份有限公司 | Touch method and device as well as touch display equipment |
CN106527818A (en) * | 2016-12-16 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and device for touch operation on mobile terminal, and mobile terminal |
CN107045408A (en) * | 2017-04-14 | 2017-08-15 | 广州华欣电子科技有限公司 | Touch control method, smart pen, touch control identification method, apparatus and system |
CN107422901A (en) * | 2017-05-08 | 2017-12-01 | 广州视源电子科技股份有限公司 | The method and system of touch screen false-touch prevention |
CN107193477A (en) * | 2017-05-19 | 2017-09-22 | 努比亚技术有限公司 | Alarm clock prevents maloperation method and mobile terminal and computer-readable medium |
CN107291277A (en) * | 2017-08-14 | 2017-10-24 | 广州视源电子科技股份有限公司 | A kind of method of false-touch prevention, device, equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110231911A (en) * | 2019-05-29 | 2019-09-13 | 无锡小天鹅电器有限公司 | False-touch prevention method, apparatus and household appliance |
CN110221767A (en) * | 2019-06-13 | 2019-09-10 | 广州视源电子科技股份有限公司 | The control method and device of intelligent interaction device |
CN110795321A (en) * | 2019-10-23 | 2020-02-14 | 北京云测信息技术有限公司 | Misoperation processing method and device and terminal equipment |
CN111124338A (en) * | 2019-12-18 | 2020-05-08 | 青岛海信商用显示股份有限公司 | Screen control method and touch display device |
CN111124338B (en) * | 2019-12-18 | 2024-03-08 | 青岛海信商用显示股份有限公司 | Screen control method and touch display device |
CN113268197A (en) * | 2021-05-19 | 2021-08-17 | 青岛海信移动通信技术股份有限公司 | Screen sliding control method and device and terminal |
CN113268197B (en) * | 2021-05-19 | 2022-09-23 | 青岛海信移动通信技术股份有限公司 | Screen sliding control method and device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109753179B (en) | 2022-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109753179A (en) | The processing method of user operation instruction and hand-written arrangement for reading | |
US9996176B2 (en) | Multi-touch uses, gestures, and implementation | |
US8842084B2 (en) | Gesture-based object manipulation methods and devices | |
US9612675B2 (en) | Emulating pressure sensitivity on multi-touch devices | |
US20150153897A1 (en) | User interface adaptation from an input source identifier change | |
RU2675153C2 (en) | Method for providing feedback in response to user input and terminal implementing same | |
JP6807840B2 (en) | Systems and methods for recognizing geometry | |
WO2014127697A1 (en) | Method and terminal for triggering application programs and application program functions | |
KR20150014083A (en) | Method For Sensing Inputs of Electrical Device And Electrical Device Thereof | |
JP2014505919A (en) | Handwriting input method to write multiple characters continuously | |
US9262012B2 (en) | Hover angle | |
CN106775182A (en) | A kind for the treatment of method and apparatus of suspension control | |
CN108228065A (en) | Detect the method, apparatus and electronic equipment of UI control informations | |
US20140232672A1 (en) | Method and terminal for triggering application programs and application program functions | |
TW201329817A (en) | Portable electronic apparatus and touch sensing method | |
US11380028B2 (en) | Electronic drawing with handwriting recognition | |
CN109298809A (en) | A kind of touch action recognition methods, device and terminal device | |
CN113515228A (en) | Virtual scale display method and related equipment | |
KR101060175B1 (en) | Method for controlling touch screen, recording medium for the same, and method for controlling cloud computing | |
US10222866B2 (en) | Information processing method and electronic device | |
CN109582171A (en) | Use identifying to the new finger for touching posture for capacitor hovering mode | |
KR20150090698A (en) | Method and apparatus of managing objects on wallpaper | |
CN104951211A (en) | Information processing method and electronic equipment | |
CN105242840B (en) | A kind of information processing method and a kind of electronic equipment | |
KR101366170B1 (en) | User Interface for controlling state of menu |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |