CN109032432A - A kind of method, apparatus and terminal device of lettering pen category identification - Google Patents

A kind of method, apparatus and terminal device of lettering pen category identification Download PDF

Info

Publication number
CN109032432A
CN109032432A CN201810783966.5A CN201810783966A CN109032432A CN 109032432 A CN109032432 A CN 109032432A CN 201810783966 A CN201810783966 A CN 201810783966A CN 109032432 A CN109032432 A CN 109032432A
Authority
CN
China
Prior art keywords
lettering pen
pen
cross
sectional area
lettering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810783966.5A
Other languages
Chinese (zh)
Inventor
邓华芹
吕健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN CHUANGYI JOINT TECHNOLOGY Co Ltd
Shenzhen Timelink Echnology Co Ltd
Original Assignee
SHENZHEN CHUANGYI JOINT TECHNOLOGY Co Ltd
Shenzhen Timelink Echnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN CHUANGYI JOINT TECHNOLOGY Co Ltd, Shenzhen Timelink Echnology Co Ltd filed Critical SHENZHEN CHUANGYI JOINT TECHNOLOGY Co Ltd
Priority to CN201810783966.5A priority Critical patent/CN109032432A/en
Publication of CN109032432A publication Critical patent/CN109032432A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0386Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry for light pen

Abstract

The present invention is suitable for technical field of intelligent equipment, provide the method, apparatus and terminal device of a kind of lettering pen category identification, wherein, the method of the lettering pen category identification includes in the infrared acquisition net on lettering pen contact touch panel surface layer, the width information for obtaining the lettering pen pen core, the type of the currently used lettering pen of user is determined according to the width information.The present invention determines the type of the currently used lettering pen of user by detecting the width information of lettering pen pen core, may not need additional increase pen tray or receiver, is conducive to save the cost.

Description

A kind of method, apparatus and terminal device of lettering pen category identification
Technical field
The present invention relates to technical field of intelligent equipment more particularly to a kind of method, apparatus, the terminals of lettering pen category identification Equipment and computer readable storage medium.
Background technique
In the prior art, the method for lettering pen category identification is mainly the following mode:
Mode one: lettering pen being placed in special pen tray, wherein each pen tray corresponds to a kind of lettering pen, passes through determination Lettering pen in that pen tray is taken out the type of the currently used lettering pen of determining user, but this mode generally requires Each lettering pen is simultaneously correctly placed in corresponding pen tray by prefabricated a certain number of pen trays.Therefore, in practical applications both It is unfavorable for save the cost, is also unfavorable for correctly identifying the type of lettering pen.
Mode two: an individually built-in communication module in each lettering pen, and increase a corresponding button, work as writing After button on pen is triggered during user's use, corresponding receiving device can be judged by the communication module The type of the currently used lettering pen of user, but this mode needs the individually built-in communication module in each lettering pen, no Conducive to save the cost.
Therefore it's necessary to propose a new technical scheme, to solve the above technical problems.
Summary of the invention
It, can be in consideration of it, the embodiment of the invention provides the method, apparatus and terminal device of a kind of lettering pen category identification The identification of lettering pen type is carried out according to the width information of lettering pen pen core, it being capable of save the cost.
The first aspect of the embodiment of the present invention provides a kind of method of lettering pen category identification, comprising:
In the infrared acquisition net on lettering pen contact touch panel surface layer, the width letter of the lettering pen pen core is obtained Breath;
The type of the currently used lettering pen of user is determined according to the width information.
The second aspect of the embodiment of the present invention provides a kind of device of lettering pen category identification, comprising:
First obtains module, when for contacting the infrared acquisition net on touch panel surface layer in the lettering pen, described in acquisition The width information of lettering pen pen core;
First determining module, for determining the type of the currently used lettering pen of user according to the width information.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in On reservoir and the computer program that can run on a processor, above-mentioned processor realizes above-mentioned the when executing above-mentioned computer program On the one hand the method referred to.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, above-mentioned computer program realizes method mentioned in the first aspect when being executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art: in the present embodiment, first in the book When writing the infrared acquisition net on pen contact touch panel surface layer, the width information of the lettering pen pen core is obtained, then according to Width information determines the type of the currently used lettering pen of user.It compared with prior art, through the embodiment of the present invention can nothing Pen tray or receiver need to additionally be increased, just can recognize that the type of different lettering pens according only to the width information of lettering pen, had There is stronger usability and practicality.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of the method for the lettering pen category identification that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the method for lettering pen category identification provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram of the method for the lettering pen category identification that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the device for the lettering pen category identification that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the terminal device that the embodiment of the present invention five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be understood that ought use in this specification and in the appended claims, term " includes " indicate described feature, Entirety, step, operation, the presence of element and/or component, but one or more of the other feature, entirety, step, behaviour is not precluded The presence or addition of work, element, component and/or its set.
It should also be understood that the term used in this description of the invention is merely for the sake of for the purpose of describing particular embodiments And it is not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless up and down Text clearly indicates other situations, and otherwise " one " of singular, "one" and "the" are intended to include plural form.
It should further be appreciated that the term "and/or" used in description of the invention and the appended claims refers to Any combination and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process Execution sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
It should be noted that " first ", " second " etc. in the present embodiment describe, it is for distinguishing different regions, mould Block etc. does not represent sequencing, does not also limit " first " and " second " as different types.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
Fig. 1 is the flow diagram of the method for the lettering pen category identification that the embodiment of the present invention one provides, and this method can be with The following steps are included:
S101: in the infrared acquisition net on lettering pen contact touch panel surface layer, the lettering pen pen core is obtained Width information.
In one embodiment, the width information of the lettering pen pen core is obtained by touch panel.Wherein, the touch-control Panel be and a part in the matching used lettering pen category identification device of the lettering pen.
S102: the type of the currently used lettering pen of user is determined according to the width information.
In one embodiment, it needs to set of different thickness for lettering pen pen core to be identified in advance, such as: by the first It is about 2mm that width, which is made, in lettering pen pen core, and it is about 5mm that width, which is made, in second of lettering pen pen core, by the third lettering pen pen It is about 8mm that width, which is made, in core.
Therefore in the embodiment of the present invention, by obtaining the width information of the lettering pen pen core, and according to the width Degree information determines the type of the currently used lettering pen of user, may not need additional pen tray or receiver, according only to writing The width information of pen just can recognize that the types of different lettering pens, be conducive to save the cost, have stronger ease for use and practical Property.
Embodiment two
Fig. 2 is the flow diagram of the method for lettering pen category identification provided by Embodiment 2 of the present invention, and this method can be with The following steps are included:
S201: in the infrared acquisition net on lettering pen contact touch panel surface layer, the lettering pen pen core is obtained Width information.
Wherein, above-mentioned steps S201 is identical as the step S101 in embodiment one, so here is no more repetition.
S202: when user is write using the lettering pen, touch panel records the motion profile of the lettering pen, and from The tracing point of preset number is chosen in the motion profile of record.
It should be understood that user can be write when using the lettering pen on the touch panel.Word herein include but It is not limited to any type of text, can be existing text, is also possible to the customized text of user.
In one embodiment, control user is able to maintain the same appearance to hold a pen when using variety classes lettering pen Gesture, such as: penholder is placed between three finger tips of thumb, index finger and middle finger, index finger preceding, thumb left back, middle finger in bottom right, Index finger should be lower compared with thumb, and finger tip should be about 3 centimetres away from pen tip, the inclination of 60 degree of penholder and touch panel holding, and the centre of the palm is empty Circle, the slightly curved song of articulations digitorum manus.
In one embodiment, the touch panel is infrared touch panel.
S203: the cross-sectional area of the lettering pen pen core when forming each described tracing point is obtained.
Wherein, the cross-sectional area of the pen core is the lettering pen pen core in the infrared spy for passing through the touch panel surface layer The sectional area formed when survey grid.
It should be understood that pen core can be contacted first after falling on certain height under the lettering pen for infrared touch panel To the infrared acquisition net on touch panel surface layer, then pen core can just be come into contact with during lettering pen continues to move downward The touch panel.Therefore, during lettering pen pen core moves to the touch panel by the infrared acquisition net on surface layer, institute A cavity will be formed on the net in infrared acquisition by stating lettering pen pen core, and the size in the cavity is that the lettering pen pen core is being worn Cross the cross-sectional area size when infrared acquisition net on the touch panel surface layer.
In one embodiment, the centre coordinate that can first obtain each cavity, in the position for determining each cavity Afterwards, then the cyst areas size of the position is obtained.
In one embodiment, available two orthogonal chord length information by each hollow center.
S204: interval range belonging to all cross-sectional areas is determined.
Wherein it is possible to which the interval range is pre-created according to the size of lettering pen to be identified.
In one embodiment, all cross sections can be predicted by the interval range belonging to portion cross-sectional area Interval range belonging to product.
S205: the type of the currently used lettering pen of user is determined according to the interval range and the width information.
It, can be because when due to determining the currently used lettering pen type of user by the width information for detecting lettering pen pen core User it is different using the posture of lettering pen and make it is actually detected to width information become the width of nib, to occur judging by accident Situation.Therefore, the precision that detection is improved in the present embodiment, according to each corresponding cross-sectional area of lettering pen pen core and in advance The width information first obtained carrys out the type of the currently used lettering pen of comprehensive descision user.
It certainly, in practical applications can also be after identifying the type of lettering pen, according to lettering pen type and color Between corresponding relationship further determine that the color of the currently used lettering pen of user.
In addition, above-mentioned recognition methods can not only identify the type of object to be identified, it can also be to object to be identified Body carries out the identification in terms of purposes.Such as: when auxiliary writing implement purposes that need to be currently used to user carries out identification classification, The tool that cross-sectional area is S1 can be identified as select tool according to the method described above, the tool that cross-sectional area is S2 is identified as rubber Skin is wiped.
From the foregoing, it will be observed that the embodiment of the present invention compared to embodiment one, gives the cross-sectional area in conjunction with lettering pen pen core It determines the specific implementation of the currently used lettering pen type of user, can accurately be identified under the premise of save the cost The type of different lettering pens has stronger usability and practicality.
Embodiment three
Fig. 3 is the flow diagram of the method for the lettering pen category identification that the embodiment of the present invention three provides, and is to above-mentioned reality The further refinement and explanation, this method for applying step S202, S204 in example two may comprise steps of:
S301: in the infrared acquisition net on lettering pen contact touch panel surface layer, the lettering pen pen core is obtained Width information.
Wherein, above-mentioned steps S301 is identical as the step S101 in embodiment one, so here is no more repetition.
S302: after the motion profile that touch panel records the lettering pen, the starting point of the motion profile is determined, and certainly It lights for described and successively chooses N-1 tracing point backward along the motion profile direction.
Wherein, N is the integer greater than 1.
The detection accuracy of several points is relatively high before being determined after drop point due to the characteristics of infrared touch panel, once lettering pen When fast moving on touch panel, the precision of infrared detection will be declined.Therefore, it preferentially chooses in the application from movement The starting point of track starts successively to choose N-1 tracing point backward.
In one embodiment, odd number tracing point is chosen from the motion profile of record, such as: from the institute of record State 5 tracing points of selection in motion profile.
It in one embodiment, can if the number for the tracing point chosen from the motion profile of record is more than 5 Whole cross-sectional areas are subjected to equalization processing after having executed following step S303.
S303: the cross-sectional area of the lettering pen pen core when forming each described tracing point is obtained.
Wherein, above-mentioned steps S303 is identical as the step S203 in embodiment two, so here is no more repetition.
S304: the cross-sectional area of lettering pen pen core when according to each described tracing point of formation, statistics belongs to respectively Cross-sectional area number within the scope of first pre-set interval and belong to the cross-sectional area number within the scope of the second pre-set interval, obtains the One number and the second number, and according to the size relation between first number and the second number, it determines all described transversal Interval range belonging to area.
Specifically, in one embodiment, the size relation according between first number and the second number, really Determining interval range belonging to all cross-sectional areas includes:
A1: if first number is greater than second number, it is determined that all it is default to belong to first for the cross-sectional area Interval range;
A2: if second number is greater than first number, it is determined that all it is default to belong to second for the cross-sectional area Interval range.
It should be understood that the quantity of the above-mentioned pre-set interval range of flexible setting, the preset areas can be come according to the actual needs Between range include but are not limited to the first pre-set interval range and the second pre-set interval range.Such as: when the kind of the lettering pen When class is more than two kinds, multiple pre-set interval ranges can be set, statistics belongs to the number within the scope of each pre-set interval respectively, Obtain the first number, the second number ... N number, the first number then compared one by one, the second number ... N number Size, finally using the most section of number as pre-set interval range belonging to whole cross-sectional areas.
In one embodiment, the cross-sectional area of the lettering pen pen core and generation second when generating first tracing point The cross-sectional area of the lettering pen pen core can weed out first point not in the same preset interval range when a tracing point (starting point), so that exclude pen does not fall the situation that only pen core touches infrared acquisition net completely;As a same reason, for last A tracing point is also required to reject together.Specifically, being determined according to the size relation between first number and the second number All before interval range belonging to the cross-sectional area, further includes:
B1: judge whether the 2nd tracing point chosen and the starting point belong to same interval range;
B2: if being not belonging to same interval range, the starting point and the N-1 are weeded out from the tracing point chosen A tracing point.
S305: the size of the currently used lettering pen of user is determined according to the interval range and the width information.
Wherein, above-mentioned steps S305 is identical as the step S205 in embodiment two, so here is no more repetition.
From the foregoing, it will be observed that the embodiment of the present invention, which compared to embodiment one, gives, chooses tracing point and the determining all described cross The specific implementation of the affiliated interval range of sectional area can accurately identify different lettering pens under the premise of save the cost Type, have stronger usability and practicality.
Example IV
Fig. 4 is the structural schematic diagram of the device for the lettering pen category identification that the embodiment of the present invention four provides, for the ease of saying Bright, only parts related to embodiments of the present invention are shown.
The lettering pen category identification device can be the software unit being built in terminal device, hardware cell or soft or hard In conjunction with unit, can also be used as independent pendant and be integrated into the terminal device.
The device of the lettering pen category identification includes:
First obtains module 41, for obtaining institute in the infrared acquisition net on lettering pen contact touch panel surface layer State the width information of lettering pen pen core;
First determining module 42, for determining the type of the currently used lettering pen of user according to the width information.
In one embodiment, described device further include:
Logging modle, for when user is write using the lettering pen, touch panel to record the movement of the lettering pen Track, and from the motion profile of record choose preset number tracing point;
Second obtains module, for obtaining the cross section of the lettering pen pen core when forming each described tracing point Product, wherein the cross-sectional area of the pen core is the lettering pen pen core when passing through the infrared acquisition net on the touch panel surface layer The sectional area of formation;
Second determining module, for determining interval range belonging to all cross-sectional areas;
Third determining module, for determining the currently used writing of user according to the interval range and the width information The type of pen.
In one embodiment, the logging modle specifically includes;
First determination unit, for determining the starting point of the motion profile;
Selection unit successively chooses N-1 tracing point along the motion profile direction for lighting from described backward, Middle N is the integer greater than 1.
In one embodiment, second determining module specifically includes:
Statistic unit, the cross-sectional area of lettering pen pen core when for according to each described tracing point of formation, respectively It counts the cross-sectional area number belonged within the scope of the first pre-set interval and belongs to the cross section product within the scope of the second pre-set interval Mesh obtains the first number and the second number;
Second determination unit, for determining whole institute according to the size relation between first number and the second number State interval range belonging to cross-sectional area.
In one embodiment, second determination unit is specifically used for:
If first number is greater than second number, it is determined that all the cross-sectional area belongs to the first pre-set interval Range;
If second number is greater than first number, it is determined that all the cross-sectional area belongs to the second pre-set interval Range.
In one embodiment, the device of the lettering pen category identification further include:
Removing module, for determining described in whole according to the size relation between first number and the second number Before interval range belonging to cross-sectional area, judge whether the 2nd tracing point chosen and the starting point belong to same section model It encloses, if being not belonging to same interval range, the starting point and the N-1 track is weeded out from the tracing point chosen Point.
Embodiment five
Fig. 5 is the structural schematic diagram for the terminal device that the embodiment of the present invention five provides.As shown in figure 5, the end of the embodiment End equipment 5 includes: processor 50, memory 51 and is stored in the memory 51 and can run on the processor 50 Computer program 52.The processor 50 realizes the step in above method embodiment one when executing the computer program 52 Such as step S101 to S104 shown in FIG. 1 suddenly,.Alternatively, realizing the step in above method embodiment two, such as shown in Fig. 2 Step S201 to S205.Alternatively, realizing the step in above method embodiment three, such as step S301 shown in Fig. 3 is extremely S305.The processor 50 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 52 Can, such as the function of module 41 to 42 shown in Fig. 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the terminal device 5 is described.For example, the computer program 52 can be divided It is cut into the first acquisition module, the first determining module, each module concrete function is as follows:
First obtains module, when for contacting the infrared acquisition net on touch panel surface layer in the lettering pen, described in acquisition The width information of lettering pen pen core;
First determining module, for determining the type of the currently used lettering pen of user according to the width information.
The terminal device may include, but be not limited only to, processor 50, memory 51.Those skilled in the art can manage Solution, Fig. 5 is only the example of terminal device 5, does not constitute the restriction to terminal device 5, may include more or more than illustrating Few component perhaps combines certain components or different components, such as the terminal device can also be set including input and output Standby, network access equipment, bus etc..
The processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5 It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5 Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that each embodiment described in conjunction with the examples disclosed in this document Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as It does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method of lettering pen category identification characterized by comprising
In the infrared acquisition net on lettering pen contact touch panel surface layer, the width information of the lettering pen pen core is obtained;
The type of the currently used lettering pen of user is determined according to the width information.
2. the method according to claim 1, wherein the method also includes:
When user is write using the lettering pen, touch panel records the motion profile of the lettering pen, and from the institute of record State the tracing point that preset number is chosen in motion profile;
The cross-sectional area for obtaining the lettering pen pen core when forming each described tracing point, wherein the cross section of the pen core Product is the sectional area that the lettering pen pen core is formed when passing through the infrared acquisition net on the touch panel surface layer;
Determine interval range belonging to all cross-sectional areas;
The type of the currently used lettering pen of user is determined according to the interval range and the width information.
3. according to the method described in claim 2, it is characterized in that, choosing present count in the motion profile from record Purpose tracing point includes:
Determine the starting point of the motion profile;
It is lighted from described and successively chooses N-1 tracing point backward along the motion profile direction, wherein N is the integer greater than 1.
4. according to the method described in claim 3, it is characterized in that, section model belonging to the determining all described cross-sectional area It encloses and includes:
The cross-sectional area of lettering pen pen core when according to each described tracing point of formation, statistics belongs to the first preset areas respectively Between cross-sectional area number in range and belong to the cross-sectional area number within the scope of the second pre-set interval, obtain the first number and the Two numbers;
According to the size relation between first number and the second number, section model belonging to all cross-sectional areas is determined It encloses.
5. according to the method described in claim 4, it is characterized in that, described according between first number and the second number Size relation determines that interval range belonging to all cross-sectional areas includes:
If first number is greater than second number, it is determined that all the cross-sectional area belongs to the first pre-set interval model It encloses;
If second number is greater than first number, it is determined that all the cross-sectional area belongs to the second pre-set interval model It encloses.
6. method according to claim 4 or 5, which is characterized in that according between first number and the second number Size relation, before determining interval range belonging to all cross-sectional areas, further includes:
Judge whether the 2nd tracing point chosen and the starting point belong to same interval range;
If being not belonging to same interval range, the starting point and the N-1 track are weeded out from the tracing point chosen Point.
7. a kind of device of lettering pen category identification characterized by comprising
First obtains module, for obtaining the writing in the infrared acquisition net on lettering pen contact touch panel surface layer The width information of pen core;
First determining module, for determining the type of the currently used lettering pen of user according to the width information.
8. device according to claim 7, which is characterized in that described device further include:
Logging modle, for when user is write using the lettering pen, touch panel to record the motion profile of the lettering pen, And the tracing point of preset number is chosen from the motion profile of record;
Second obtains module, for obtaining the cross-sectional area of the lettering pen pen core when forming each described tracing point, Described in pen core cross-sectional area be the lettering pen pen core pass through the touch panel surface layer infrared acquisition net when formed Sectional area;
Second determining module, for determining interval range belonging to all cross-sectional areas;
Third determining module, for determining the currently used lettering pen of user according to the interval range and the width information Type.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program Any one of the method the step of.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization is such as the step of any one of claims 1 to 6 the method when the computer program is executed by processor.
CN201810783966.5A 2018-07-17 2018-07-17 A kind of method, apparatus and terminal device of lettering pen category identification Pending CN109032432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810783966.5A CN109032432A (en) 2018-07-17 2018-07-17 A kind of method, apparatus and terminal device of lettering pen category identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810783966.5A CN109032432A (en) 2018-07-17 2018-07-17 A kind of method, apparatus and terminal device of lettering pen category identification

Publications (1)

Publication Number Publication Date
CN109032432A true CN109032432A (en) 2018-12-18

Family

ID=64643067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810783966.5A Pending CN109032432A (en) 2018-07-17 2018-07-17 A kind of method, apparatus and terminal device of lettering pen category identification

Country Status (1)

Country Link
CN (1) CN109032432A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596623A (en) * 2020-12-23 2021-04-02 深圳市鸿合创新信息技术有限责任公司 Interaction method and device of interaction equipment, electronic equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196746A (en) * 2003-12-08 2005-07-21 Fujitsu Component Ltd Input pen, and input device
US7205984B2 (en) * 2002-10-28 2007-04-17 Sharp Kabushiki Kaisha Pen input display device
CN101308418A (en) * 2007-05-15 2008-11-19 宏达国际电子股份有限公司 Hand held device user interface operation method
CN101813995A (en) * 2010-05-12 2010-08-25 福州锐达数码科技有限公司 Method for recognizing gesture on infrared induction type electronic whiteboard
CN102135831A (en) * 2010-12-31 2011-07-27 华为终端有限公司 Method and device for controlling line display of touch screen
CN103870071A (en) * 2012-12-13 2014-06-18 中国移动通信集团公司 Touch source identification method and system
CN103870019A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Digital pen and digital writing module
CN103941898A (en) * 2013-01-23 2014-07-23 禾瑞亚科技股份有限公司 Detecting device and method of touch screen
CN104238938A (en) * 2013-06-21 2014-12-24 夏普株式会社 Image display apparatus allowing operation of image screen and operation method thereof
CN104484064A (en) * 2014-12-30 2015-04-01 合肥鑫晟光电科技有限公司 Active pen for touch display screen, touch display screen and touch control input system
CN104915136A (en) * 2014-03-14 2015-09-16 Lg电子株式会社 Mobile terminal and method of controlling the same
CN105867660A (en) * 2016-04-16 2016-08-17 向大凤 Electronic chalk
CN106610783A (en) * 2016-10-10 2017-05-03 广州视源电子科技股份有限公司 Handwriting erasure method and system of infrared touch equipment
CN106843650A (en) * 2017-01-17 2017-06-13 创维光电科技(深圳)有限公司 The touch identification method and system of a kind of touch screen integrated machine
CN106911921A (en) * 2017-05-12 2017-06-30 安徽大学 The infrared touch-control of projecting apparatus and Atomatic focusing method based on single camera
CN107193416A (en) * 2017-05-19 2017-09-22 广州视源电子科技股份有限公司 The state identification method and device of a kind of touch object

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7205984B2 (en) * 2002-10-28 2007-04-17 Sharp Kabushiki Kaisha Pen input display device
JP2005196746A (en) * 2003-12-08 2005-07-21 Fujitsu Component Ltd Input pen, and input device
CN101308418A (en) * 2007-05-15 2008-11-19 宏达国际电子股份有限公司 Hand held device user interface operation method
CN101813995A (en) * 2010-05-12 2010-08-25 福州锐达数码科技有限公司 Method for recognizing gesture on infrared induction type electronic whiteboard
CN102135831A (en) * 2010-12-31 2011-07-27 华为终端有限公司 Method and device for controlling line display of touch screen
CN103870071A (en) * 2012-12-13 2014-06-18 中国移动通信集团公司 Touch source identification method and system
CN103870019A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Digital pen and digital writing module
CN103941898A (en) * 2013-01-23 2014-07-23 禾瑞亚科技股份有限公司 Detecting device and method of touch screen
CN104238938A (en) * 2013-06-21 2014-12-24 夏普株式会社 Image display apparatus allowing operation of image screen and operation method thereof
CN104915136A (en) * 2014-03-14 2015-09-16 Lg电子株式会社 Mobile terminal and method of controlling the same
CN104484064A (en) * 2014-12-30 2015-04-01 合肥鑫晟光电科技有限公司 Active pen for touch display screen, touch display screen and touch control input system
CN105867660A (en) * 2016-04-16 2016-08-17 向大凤 Electronic chalk
CN106610783A (en) * 2016-10-10 2017-05-03 广州视源电子科技股份有限公司 Handwriting erasure method and system of infrared touch equipment
CN106843650A (en) * 2017-01-17 2017-06-13 创维光电科技(深圳)有限公司 The touch identification method and system of a kind of touch screen integrated machine
CN106911921A (en) * 2017-05-12 2017-06-30 安徽大学 The infrared touch-control of projecting apparatus and Atomatic focusing method based on single camera
CN107193416A (en) * 2017-05-19 2017-09-22 广州视源电子科技股份有限公司 The state identification method and device of a kind of touch object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜欣慧: ""基于触控、笔和空间手势的混合输入研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596623A (en) * 2020-12-23 2021-04-02 深圳市鸿合创新信息技术有限责任公司 Interaction method and device of interaction equipment, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109165384A (en) A kind of name entity recognition method and device
CN101408814A (en) Gesture determination apparatus and method
CN105867821A (en) Icon arranging method and device and terminal
CN105975105A (en) Touch pen system and touch pen
CN103403650A (en) Drawing control method, apparatus and mobile terminal
CN101976152B (en) Method and device of handwriting recognition
CN105184200B (en) Input object identification device, method and the device with RFID label tag
CN103440049A (en) Input device and input method
CN103218123A (en) Method of rearranging desktop icons and touch type mobile terminal thereof
CN103838444B (en) A kind of input method and input equipment
KR20150021975A (en) Multi-mode prosthetic device to facilitate multi-state touch screen detection
CN108052249A (en) Icon batch method for sorting, device and user terminal
CN103777873A (en) Information processing method and electronic equipment
CN105867822A (en) Information processing method and electronic equipment
CN108701215A (en) The system and method for multipair image structures for identification
CN108446036B (en) Intelligent writing equipment and intelligent writing system
CN105959403A (en) Wallpaper recommendation method, server and mobile terminal
CN103927042A (en) Touch point positioning method and device and electronic device
CN109164972A (en) A kind of control method, control device and mobile terminal
CN103294175A (en) Electronic device and method for electronic device to automatically switch input modes
CN109032432A (en) A kind of method, apparatus and terminal device of lettering pen category identification
CN105260092A (en) Method and device for dynamically changing input keyboard
CN101893960B (en) Direction vector-based character recognition method and device
CN109298809A (en) A kind of touch action recognition methods, device and terminal device
CN105786373B (en) A kind of touch trajectory display methods and electronic equipment

Legal Events

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

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication