CN111694468A - Method and device for determining type of target object - Google Patents

Method and device for determining type of target object Download PDF

Info

Publication number
CN111694468A
CN111694468A CN202010544603.3A CN202010544603A CN111694468A CN 111694468 A CN111694468 A CN 111694468A CN 202010544603 A CN202010544603 A CN 202010544603A CN 111694468 A CN111694468 A CN 111694468A
Authority
CN
China
Prior art keywords
target object
type
determining
infrared
target
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
Application number
CN202010544603.3A
Other languages
Chinese (zh)
Other versions
CN111694468B (en
Inventor
陈玉香
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Chuangzhi Technology Co ltd
Original Assignee
Guangzhou Chuangzhi Technology 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 Guangzhou Chuangzhi Technology Co ltd filed Critical Guangzhou Chuangzhi Technology Co ltd
Priority to CN202010544603.3A priority Critical patent/CN111694468B/en
Publication of CN111694468A publication Critical patent/CN111694468A/en
Application granted granted Critical
Publication of CN111694468B publication Critical patent/CN111694468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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/0412Digitisers structurally integrated in a display
    • 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/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The embodiment of the application provides a method and a device for determining a type of a target object, the method is applied to a touch panel, a side frame of the touch panel is provided with an infrared emitter and an infrared receiver, and the method comprises the following steps: when the touch operation of a target object on the touch panel is detected, determining the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter; and determining the target type of the target object according to the receiving state. The method and the device for determining the type of the target object, provided by the embodiment of the application, can not only realize the differentiated identification of the target object, but also reduce the cost and the complexity of the identification of the target object.

Description

Method and device for determining type of target object
Technical Field
The present disclosure relates to touch technologies, and in particular, to a method and an apparatus for determining a type of a target object.
Background
With the development of science and technology, the application of the touch panel is more and more extensive. A Graphical User Interface (GUI) is disposed in the touch panel for a user to use, for example, the user interacts with the GUI through a stylus.
In the prior art, when information is input in a GUI through a stylus, the position of the stylus can be determined through an infrared touch technology, so as to determine an operation track for writing. However, the prior art solution can only determine the touch position of the stylus on the touch panel, and cannot perform differential recognition on the stylus.
Disclosure of Invention
The embodiment of the application provides a method and a device for determining a type of a target object, which can not only realize differentiated identification of the target object, but also reduce cost and complexity of target object identification.
In a first aspect, an embodiment of the present application provides a method for determining a type of a target object, where the method is applied to a touch panel, and a side frame of the touch panel is provided with an infrared transmitter and an infrared receiver, and the method includes:
when the touch operation of a target object on the touch panel is detected, determining the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter;
and determining the target type of the target object according to the receiving state.
Optionally, the determining a target type of the target object according to the receiving status includes:
and if the infrared signal in at least one optical network path is not received, determining that the target type is a first type.
Optionally, the determining a target type of the target object according to the receiving status includes:
judging whether each infrared signal in the received at least one infrared signal is a reflected signal reflected by the target object;
and if the first infrared signal is a reflected signal reflected by the target object, determining that the target type is a second type.
Optionally, the determining whether each of the received at least one infrared signal is a reflected signal reflected by the target object includes:
judging whether each infrared signal is received from a preset optical network path;
and if the first infrared signal is received from a non-preset optical network path, determining that the first infrared signal is a reflected signal reflected by the target object.
Optionally, the method further comprises:
acquiring a target receiving angle of the reflected signal;
and determining a subclass of the second type corresponding to the target receiving angle according to the corresponding relation between the preset receiving angle and the type of the target object.
Optionally, the method further comprises:
determining a track attribute corresponding to the target type according to a corresponding relation between the type of a preset target object and the track attribute;
and controlling the touch track corresponding to the touch operation to be displayed according to the track attribute.
Optionally, the target object comprises a finger and/or a stylus.
In a second aspect, an embodiment of the present application provides an apparatus for determining a type of a target object, including:
the detection module is used for detecting the touch operation of a target object on the touch panel;
the determining module is used for determining the receiving state of an infrared receiver on an infrared signal sent by an infrared transmitter when the detecting module detects the touch operation of a target object on the touch panel;
the determining module is further configured to determine a target type of the target object according to the receiving state.
Optionally, the determining module is specifically configured to:
and if the infrared signal in at least one optical network path is not received, determining that the target type is a first type.
Optionally, the determining module is specifically configured to:
judging whether each infrared signal in the received at least one infrared signal is a reflected signal reflected by the target object;
and if the first infrared signal is a reflected signal reflected by the target object, determining that the target type is a second type.
Optionally, the determining module is specifically configured to:
judging whether each infrared signal is received from a preset optical network path;
and if the first infrared signal is received from a non-preset optical network path, determining that the first infrared signal is a reflected signal reflected by the target object.
Optionally, the apparatus further comprises: an acquisition module, wherein:
the acquisition module is used for acquiring a target receiving angle of the reflection signal;
the determining module is further configured to determine a subclass of the second type corresponding to the target receiving angle according to a corresponding relationship between a preset receiving angle and the type of the target object.
Optionally, the apparatus further comprises: a control module, wherein:
the determining module is further configured to determine a track attribute corresponding to the target type according to a corresponding relationship between the type of a preset target object and the track attribute;
and the control module is used for controlling the touch track corresponding to the touch operation to be displayed according to the track attribute.
Optionally, the target object comprises a finger and/or a stylus.
In a third aspect, an embodiment of the present application further provides a touch panel, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the processor implements the method for determining a type of a target object as described in any one of the possible implementations of the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, where computer instructions are stored, and when the computer instructions are executed on a computer, the computer is caused to execute the method for determining a target object type as described in any one of the possible implementation manners of the first aspect.
According to the method and the device for determining the type of the target object, when the touch operation of the target object on the touch panel is detected, the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter is determined, and then the target type of the target object is determined according to the receiving state. The target type of the target object can be determined by judging the receiving state of the infrared signal, so that the target object can be identified in a differentiation manner, and the cost and the complexity of target object identification can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a touch panel;
FIG. 2 is a structural diagram of a stylus without reflective function;
FIG. 3 is a schematic diagram of a structure of a stylus capable of reflecting infrared signals;
FIG. 4 is a schematic diagram of another structure of a stylus capable of reflecting infrared signals;
FIG. 5 is a schematic diagram of another structure of a stylus capable of reflecting infrared signals;
FIG. 6 is a schematic diagram of another structure of a stylus capable of reflecting infrared signals;
fig. 7 is a flowchart illustrating a method for determining a type of a target object according to an embodiment of the present application;
FIG. 8 is a schematic view illustrating an operation of a target object on the touch panel;
FIG. 9 is another schematic diagram illustrating an operation of a target object on a touch panel;
FIG. 10 is a schematic view illustrating another operation of a target object on a touch panel;
fig. 11 is a schematic structural diagram of an apparatus for determining a type of a target object according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another apparatus for determining a type of a target object according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an embodiment of a touch panel according to the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. In the description of the text of the present application, the character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
First, the structures of the touch panel and the stylus according to the present application will be described.
Fig. 1 is a schematic structural diagram of a touch panel, and as shown in fig. 1, the touch panel includes side frames, where the side frames include a first side frame TX-Y and a second side frame RX-X that are arranged oppositely, and a third side frame RX-Y and a fourth side frame TX-X that are arranged oppositely, the first side frame TX-Y is provided with a plurality of first infrared transmitters 1, the fourth side frame TX-X is provided with a plurality of second infrared transmitters 2, the second side frame RX-X is provided with a plurality of first infrared receivers 3, and the third side frame RX-Y is provided with a plurality of second infrared receivers 4. The first infrared emitter 1 and the second infrared emitter 2 may be Light-Emitting Diode (LED) emitters to ensure the intensity of the emitted infrared signals.
In addition, the first infrared transmitters 1 arranged on the first side frame TX-Y correspond to the first infrared receivers 3 arranged on the second side frame RX-X one by one, and optical network paths are formed between the corresponding first infrared transmitters 1 and the corresponding first infrared receivers 3. The infrared signals emitted by the first infrared emitter 1 arranged on the first side frame TX-Y are received by the first infrared receiver 3 arranged on the second side frame RX-X and coinciding with the orthographic projection of the first infrared emitter 1 on the second side frame RX-X, that is, the infrared signals emitted by the first infrared emitter 1 arranged on the first side frame TX-Y are transmitted through the optical network path and received by the correspondingly arranged first infrared receiver 3.
Similarly, the second infrared transmitters 2 disposed on the fourth side frame TX-X correspond to the second infrared receivers 4 disposed on the third side frame RX-Y one to one, and an optical network path is formed between the corresponding second infrared transmitters 2 and second infrared receivers 4. The infrared signals emitted by the second infrared emitter 2 arranged on the fourth side frame TX-X are received by the second infrared receiver 4 arranged on the third side frame RX-Y and coinciding with the orthographic projection of the second infrared emitter 2 on the third side frame RX-Y, that is, the infrared signals emitted by the second infrared emitter 2 arranged on the fourth side frame TX-X are transmitted through the optical network path and received by the correspondingly arranged second infrared receiver 4.
By the method, the infrared signal matrix which is staggered horizontally and vertically can be formed in the touch panel so as to be used for touch positioning.
Fig. 2 is a schematic structural diagram of a stylus without a reflection function, as shown in fig. 2, the stylus includes a body 9 and a tip 10, and the tip 10 contacts with a touch panel to input information. Wherein, this nib 10 can shelter from the infrared signal that first infrared emitter 1 and second infrared emitter 2 sent.
Fig. 3 is a schematic structural diagram of a stylus capable of reflecting an infrared signal, fig. 4 is another structural diagram of the stylus capable of reflecting an infrared signal, fig. 5 is another structural diagram of the stylus capable of reflecting an infrared signal, and fig. 6 is another structural diagram of the stylus capable of reflecting an infrared signal. As shown in fig. 3, the touch pen includes a pen body 11 and a pen head 12, wherein a four-sided mirror reflection device 13 is disposed on the pen head 12, and the four-sided mirror reflection device 13 can reflect infrared signals emitted by the first infrared emitter 1 and the second infrared emitter 2.
As shown in fig. 4, the touch pen includes a pen body 11 and a pen point 12, wherein the pen point 12 is provided with a four-sided specular reflection device 14, the four-sided specular reflection device 14 has a different specific structure from the four-sided specular reflection device 13 shown in fig. 3, the four-sided specular reflection device 14 can also reflect the infrared signals emitted by the first infrared emitter 1 and the second infrared emitter 2, and the reflection angle of the infrared signals is different from the reflection angle of the four-sided specular reflection device 13 to the infrared signals.
As shown in fig. 5, the touch pen includes a pen body 11 and a pen point 12, wherein a six-sided mirror reflection device 15 is disposed on the pen point 12, and the six-sided mirror reflection device 15 can reflect infrared signals emitted by the first infrared emitter 1 and the second infrared emitter 2.
As shown in fig. 6, the touch pen includes a pen body 11 and a pen head 12, wherein the pen head 12 is a micro-reflective structure pen head, and a full-circle mirror device 16 is disposed on the pen head 12, and the full-circle mirror device 16 can reflect infrared signals emitted by the first infrared emitter 1 and the second infrared emitter 2.
The four-sided specular reflection device 13, the four-sided specular reflection device 14, the six-sided specular reflection device 15, and the full-circle specular reflection device 16 may be spherical convex surfaces or spherical concave surfaces, and may be formed by electroplating, coating, or injection molding.
In the touch pen shown in fig. 3 to 6, since the reflection device provided on the pen point 12 is different, the reflection angle is different when the infrared signal is reflected.
The method for determining the type of the target object is applied to the technical field of touch control. Currently, when information is input in a touch panel through a target object, the position of the target object can be determined through an infrared touch technology, so that an operation track is determined for writing. However, the current solution can only determine the touch position of the target object in the touch panel, and cannot identify the target object differentially.
In order to realize the differential recognition of the target object, image information including the target object can be acquired in an attempt, and the image information is analyzed, so that the target object is recognized. However, in the above method, since image information needs to be acquired, hardware cost is high, and the acquired image information needs to be analyzed, which results in high complexity of target object recognition.
Based on the above discussion, in order to reduce the hardware cost and the complexity of target object identification, embodiments of the present application provide a method for determining a target object type, where when a touch operation of a target object on a touch panel is detected, a receiving state of an infrared receiver for an infrared signal emitted by an infrared emitter is determined, and then a target type of the target object is determined according to the receiving state. The target type of the target object can be determined by judging the receiving state of the infrared signal, so that the target object can be identified in a differentiation manner, and the hardware cost and the complexity of target object identification can be reduced.
Hereinafter, the technical solution of the method for determining a target object type provided by the present application will be described in detail through a detailed embodiment. It is to be understood that the following detailed description may be combined with other embodiments, and that the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 7 is a flowchart illustrating a method for determining a type of a target object according to an embodiment of the present disclosure, where the method may be applied to the touch panel shown in fig. 1, and a side frame of the touch panel is provided with an infrared emitter and an infrared receiver. For example, referring to fig. 7, the method for determining the type of the target object may include:
step 701: and when the touch operation of the target object on the touch panel is detected, determining the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter.
In this step, the target object may include a stylus or may include a finger, and of course, may also include a stylus and a finger.
When the target object is in contact with the touch panel, the touch panel can detect that the target object performs a touch operation on the touch panel. At this time, the receiving state of the infrared receiver for the infrared signal from the infrared transmitter is determined. In another possible implementation manner, the receiving state may further include whether the infrared signal received by the infrared receiver is a reflected signal reflected by the target object.
Taking fig. 1 as an example, when a touch operation of a target object on the touch panel is detected, a receiving state of infrared signals sent by a plurality of first infrared receivers 3 arranged on the second side frame RX-X to a plurality of first infrared transmitters 1 arranged on the first side frame TX-Y is determined, that is, whether the infrared signal sent by each first infrared transmitter 1 is received by a corresponding first infrared receiver 3 is determined, or whether the infrared signal received by each first infrared receiver 3 is a reflected signal after being reflected by the target object is determined.
Similarly, the receiving status of the infrared signals from the plurality of second infrared transmitters 2 disposed on the fourth side frame TX-X by the plurality of second infrared receivers 4 disposed on the third side frame RX-Y is also determined. That is, it is determined whether the infrared signal sent by each second infrared transmitter 2 is received by the corresponding second infrared receiver 4, or whether the infrared signal received by each second infrared receiver 4 is a reflected signal after being reflected by the target object.
Step 702: and determining the target type of the target object according to the receiving state.
In this step, after determining the receiving state of the infrared receiver for the infrared signal sent by the infrared transmitter, the target type of the target object may be determined according to the receiving state. Wherein different types represent different target objects.
In one possible implementation, the target type is determined to be a first type if no infrared signal in at least one optical network path is received.
Specifically, fig. 8 is a schematic diagram of an operation of a target object on a touch panel, and fig. 9 is another schematic diagram of an operation of a target object on a touch panel, as shown in fig. 8 and fig. 9, according to the foregoing description, an optical network path is formed between the corresponding first infrared emitter 1 and first infrared receiver 3, and an optical network path is formed between the corresponding second infrared emitter 2 and second infrared receiver 4. If a user performs a touch operation on the touch panel through a target object, if at least one first infrared receiver 3 does not receive an infrared signal sent by a corresponding first infrared transmitter 1, that is, at least one first infrared receiver 3 does not receive an infrared signal in a corresponding optical network path, or at least one second infrared receiver 4 does not receive an infrared signal sent by a corresponding second infrared transmitter 2, that is, at least one second infrared receiver 4 does not receive an infrared signal in a corresponding optical network path, or at least one first infrared receiver 3 does not receive an infrared signal sent by a corresponding first infrared transmitter 1, and at least one second infrared receiver 4 does not receive an infrared signal sent by a corresponding second infrared transmitter 2, it is determined that the target object triggering the touch operation blocks the infrared signals, for example, the infrared signals are blocked by the stylus 5 or the finger 7, and a transmission path of the infrared signals is terminated, at this time, it may be determined that the target type of the target object is the first type, where the first type is a type that cannot reflect the infrared signals, for example, the first type of target object may include the stylus 5 or the finger 7, etc., a pen point of which does not have a reflection function, and of course, the first type of target object may also include other objects, such as a pointer, etc., and for the first type of target object, the embodiment of the present application is not limited herein.
The stylus 5 may be the stylus shown in fig. 2, and the specific structure may refer to the description of fig. 2, which is not described herein again.
In this implementation, if it is determined that the infrared signal in the at least one optical network path is not received, the target type is determined to be the first type, so that the manner of determining the type of the target object can be simplified.
In another possible implementation manner, it is determined whether each of the received at least one infrared signal is a reflected signal reflected by the target object, and if there is a reflected signal reflected by the target object in which the first infrared signal is present, it is determined that the target type is the second type.
Specifically, it may be determined whether each of the received at least one infrared signal is reflected by the target object, and if it is determined that the first infrared signal is a reflected signal reflected by the target object, for example, the infrared signal is reflected by a pen point of the stylus pen, it may be determined that the target type of the target object is a second type, where the second type is a type capable of reflecting the infrared signal.
With continued reference to fig. 8 and 9, if the infrared signal received by at least one second infrared receiver 4 is a reflected signal, it indicates that the target object triggering the touch operation reflects the infrared signal sent by the first infrared transmitter 1 or the second infrared transmitter 2, for example, the infrared signal is reflected by the stylus 6, and at this time, it may be determined that the target type of the target object is the second type, that is, the type capable of reflecting the infrared signal.
The stylus 6 may be a stylus shown in fig. 3 to 6, and the specific structure may refer to the description of fig. 3 to 6, which is not described herein again.
In this implementation, by determining whether each received infrared signal is a reflected signal reflected by the target object, if there is a reflected signal reflected by the target object in which the first infrared signal is, the target type of the target object may be determined to be the second type, so that the complexity of determining the type of the target object may be reduced.
For example, when determining whether each of the received at least one infrared signal is a signal reflected by the target object, the following steps may be performed: and judging whether each infrared signal is received from a preset optical network path or not, and if the first infrared signal is received from a non-preset optical network path, determining that the first infrared signal is a signal reflected by the target object.
Specifically, fig. 10 is a further schematic view illustrating an operation of a target object on the touch panel, and as shown in fig. 10, an infrared signal emitted by each second infrared emitter 2 is transmitted through a preset optical network path and received by a correspondingly arranged second infrared receiver 4. Similarly, the infrared signal sent by each first infrared transmitter 1 is transmitted through a preset optical network path and received by a correspondingly arranged first infrared receiver 3. If some first infrared signals received by the first infrared receiver 3 are not received from the predetermined optical network path, it indicates that the first infrared signals may be reflected by the stylus 6 after being sent from the second infrared transmitter 2, and the first infrared signals are reflected to the first infrared receiver 3, and at this time, it may be determined that the first infrared signals are reflected signals reflected by the stylus 6.
In this embodiment, by determining whether each infrared signal is received from a preset optical network path, if it is determined that the first infrared signal is received from a non-preset optical network path, it is determined that the first infrared signal is a reflected signal reflected by the target object, so that the determination method of the reflected signal is simpler.
Further, in order to improve the accuracy of target object identification, when the target type of the target object is identified to be the second type, the target object can be further identified more accurately according to the receiving angle of the reflected signal.
For example, the subclass of the second type corresponding to the target receiving angle may be determined by obtaining the target receiving angle of the reflected signal and according to a corresponding relationship between a preset receiving angle and the type of the target object.
Specifically, as shown in fig. 3 to fig. 6, when the structures of the reflection devices disposed on the pen points of the touch pens are different, the reflection angles of the reflected signals by the touch pens are different, and accordingly, the receiving angles of the reflected signals received by the first infrared receiver or the second infrared receiver are different. Therefore, it is possible to previously determine a reception angle at which the reflected signal reflected by each stylus pen is received, thereby establishing a correspondence between the reception angle of the reflected signal and the type of stylus pen, and store the correspondence. For example: and if the receiving angle of the reflected signal is 30 degrees, the stylus pen provided with the four-sided mirror reflection device is corresponding to the pen point, if the receiving angle of the reflected signal is 45 degrees, the stylus pen provided with the six-sided mirror reflection device is corresponding to the pen point, if the receiving angle of the reflected signal is 65 degrees, the stylus pen provided with the full-circle mirror reflection device is corresponding to the pen point, and the like. The above correspondence relationship is only an example, and in an actual implementation process, the correspondence relationship between the receiving angle of the reflection signal and the type of the stylus pen is not limited thereto.
If it is determined that the first infrared signal is a reflected signal reflected by the target object, a target receiving angle of the reflected signal may be obtained, and a subclass of a second type corresponding to the target receiving angle may be determined according to a correspondence relationship between a pre-stored receiving angle and a type of the target object, where the subclass may be understood as a further subdivision of the stylus pen capable of reflecting the infrared signal.
In this embodiment, the target receiving angle of the reflected signal is obtained, and the subclass of the second type corresponding to the target receiving angle is determined according to the corresponding relationship between the preset receiving angle and the type of the target object, so that the accuracy of target object identification can be improved.
It should be noted that the method for identifying the target type of the target object may be performed only when the target object is detected to start a touch operation in the touch panel, and after the identification is completed, as long as the target object does not leave the identification range of the touch panel within a set time, the identification process is not performed any more, so that the computation amount of the infrared signal is not increased, and the complexity of the identification of the target object can be reduced.
In addition, it should be noted that when a plurality of target objects are simultaneously operated in the touch panel, the target type of each target object can be determined separately in the above manner.
Further, after the target type of the target object is determined, the track attribute corresponding to the target type can be determined according to the preset corresponding relationship between the type of the target object and the track attribute, and the touch track corresponding to the touch operation is controlled to be displayed according to the track attribute.
Specifically, the track attribute may include at least one of a color, a thickness, or a font, and of course, the track attribute may further include other information, such as a shape, and the like, and the embodiment of the present application is not limited herein for a specific form of the track attribute.
The corresponding relationship between the type and the track attribute is preset in the touch panel, for example: the track attribute corresponding to the touch track of the target object without the reflection function is red, the track attribute corresponding to the touch track of the target object with the pen point provided with the four-side mirror reflection device is green, and the track attribute corresponding to the touch track of the target object with the pen point provided with the six-side mirror reflection device is yellow and the like.
After the target type of the target object is determined, the track attribute corresponding to the target type can be determined according to the corresponding relation, so that the touch tracks corresponding to the subsequent touch operation of the target object are controlled to be displayed according to the determined track attribute.
In this embodiment, according to the preset correspondence between the type of the target object and the track attribute, the track attribute corresponding to the target type is determined, and the touch track corresponding to the touch operation is controlled to be displayed according to the track attribute, so that not only can the displayed content be diversified, but also different requirements of the user can be met, and the user experience is improved.
According to the method for determining the type of the target object, when the touch operation of the target object on the touch panel is detected, the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter is determined, and then the target type of the target object is determined according to the receiving state. The target type of the target object can be determined by judging the receiving state of the infrared signal, so that the target object can be identified in a differentiation manner, and the cost and the complexity of target object identification can be reduced.
Fig. 11 is a schematic structural diagram of a device 110 for determining a target object type according to an embodiment of the present application, for example, please refer to fig. 11, where the device 110 for determining a target object type may include:
a detection module 111, configured to detect a touch operation of a target object on a touch panel;
a determining module 112, configured to determine, when the detecting module detects a touch operation of a target object on the touch panel, a receiving state of an infrared receiver on an infrared signal sent by an infrared transmitter;
the determining module 112 is further configured to determine a target type of the target object according to the receiving status.
Optionally, the determining module 112 is specifically configured to:
and if the infrared signal in at least one optical network path is not received, determining that the target type is a first type.
Optionally, the determining module 112 is specifically configured to:
judging whether each infrared signal in the received at least one infrared signal is a reflected signal reflected by the target object;
and if the first infrared signal is a reflected signal reflected by the target object, determining that the target type is a second type.
Optionally, the determining module 112 is specifically configured to:
judging whether each infrared signal is received from a preset optical network path;
and if the first infrared signal is received from a non-preset optical network path, determining that the first infrared signal is a reflected signal reflected by the target object.
Fig. 12 is a schematic structural diagram of another target object type determining apparatus 110 provided in an embodiment of the present application, for example, on the basis of the embodiment shown in fig. 11, the target object type determining apparatus 110 may further include an obtaining module 113, where:
an obtaining module 113, configured to obtain a target receiving angle of the reflected signal;
the determining module 112 is further configured to determine a subclass of the second type corresponding to the target receiving angle according to a corresponding relationship between a preset receiving angle and the type of the target object.
Optionally, the apparatus further comprises: a control module 114, wherein:
the determining module 112 is further configured to determine, according to a corresponding relationship between a type of a preset target object and a track attribute, a track attribute corresponding to the target type;
the control module 114 is configured to control the touch track corresponding to the touch operation to be displayed according to the track attribute.
Optionally, the target object comprises a finger and/or a stylus.
The apparatus 110 for determining a target object type provided in this embodiment of the present application may execute the technical solution of the method for determining a target object type in any of the above embodiments, and its implementation principle and beneficial effect are similar to those of the method for determining a target object type, and reference may be made to the implementation principle and beneficial effect of the method for determining a target object type, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element that is separately set up, or may be implemented by being integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 13 is a schematic structural diagram of an embodiment of a touch panel according to the present disclosure. As shown in fig. 13, the touch panel may include: the device comprises a processor 1301, a memory 1302, a communication interface 1303 and a system bus 1304, wherein the memory 1302 and the communication interface 1303 are connected with the processor 1301 through the system bus 1304 and complete mutual communication, the memory 1302 is used for storing computer execution instructions, the communication interface 1303 is used for communicating with other equipment, and the processor 1301 implements the technical scheme of the method for determining the type of the target object shown in the above embodiment when executing the computer program.
In fig. 13, the processor 1301 may be a general-purpose processor, including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 1302 may include a Random Access Memory (RAM), a read-only memory (RAM), and a non-volatile memory (non-volatile) such as at least one disk memory.
The communication interface 1303 is used for communication between the database access device and other devices (e.g., a client, a read-write library, and a read-only library).
The system bus 1304 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
Optionally, an embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a computer, the computer is enabled to execute the technical solution of the method for determining a type of a target object as shown in the foregoing embodiment.
Optionally, an embodiment of the present application further provides a chip for executing the instruction, where the chip is used to execute the technical solution of the method for determining the type of the target object shown in the foregoing embodiment.
The embodiment of the present application further provides a program product, where the program product includes a computer program, where the computer program is stored in a computer-readable storage medium, and the computer program can be read from the computer-readable storage medium by at least one processor, and when the computer program is executed by the at least one processor, the technical solution of the method for determining a type of a target object shown in the foregoing embodiment can be implemented.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for determining a type of a target object, the method being applied to a touch panel, a side frame of the touch panel being provided with an infrared transmitter and an infrared receiver, the method comprising:
when the touch operation of a target object on the touch panel is detected, determining the receiving state of the infrared receiver on the infrared signal sent by the infrared transmitter;
and determining the target type of the target object according to the receiving state.
2. The method of claim 1, wherein determining the target type of the target object according to the receiving status comprises:
and if the infrared signal in at least one optical network path is not received, determining that the target type is a first type.
3. The method of claim 1, wherein determining the target type of the target object according to the receiving status comprises:
judging whether each infrared signal in the received at least one infrared signal is a reflected signal reflected by the target object;
and if the first infrared signal is a reflected signal reflected by the target object, determining that the target type is a second type.
4. The method of claim 3, wherein the determining whether each of the received at least one infrared signal is a reflected signal reflected by the target object comprises:
judging whether each infrared signal is received from a preset optical network path;
and if the first infrared signal is received from a non-preset optical network path, determining that the first infrared signal is a reflected signal reflected by the target object.
5. The method of claim 3, further comprising:
acquiring a target receiving angle of the reflected signal;
and determining a subclass of the second type corresponding to the target receiving angle according to the corresponding relation between the preset receiving angle and the type of the target object.
6. The method according to any one of claims 1-5, further comprising:
determining a track attribute corresponding to the target type according to a corresponding relation between the type of a preset target object and the track attribute;
and controlling the touch track corresponding to the touch operation to be displayed according to the track attribute.
7. The method of any one of claims 1-5, wherein the target object comprises a finger and/or a stylus.
8. An apparatus for determining a type of a target object, comprising:
the detection module is used for detecting the touch operation of a target object on the touch panel;
the determining module is used for determining the receiving state of an infrared receiver on an infrared signal sent by an infrared transmitter when the detecting module detects the touch operation of a target object on the touch panel;
the determining module is further configured to determine a target type of the target object according to the receiving state.
9. Touch panel comprising a processor, a memory and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements the method of determining a type of a target object according to any of the claims 1-7.
10. A computer-readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of determining a target object type according to any one of claims 1-7.
CN202010544603.3A 2020-06-15 2020-06-15 Method and device for determining type of target object Active CN111694468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010544603.3A CN111694468B (en) 2020-06-15 2020-06-15 Method and device for determining type of target object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010544603.3A CN111694468B (en) 2020-06-15 2020-06-15 Method and device for determining type of target object

Publications (2)

Publication Number Publication Date
CN111694468A true CN111694468A (en) 2020-09-22
CN111694468B CN111694468B (en) 2023-09-05

Family

ID=72481235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010544603.3A Active CN111694468B (en) 2020-06-15 2020-06-15 Method and device for determining type of target object

Country Status (1)

Country Link
CN (1) CN111694468B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121036A1 (en) * 2020-12-10 2022-06-16 安徽鸿程光电有限公司 Infrared touch-control method, apparatus, and device, and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099199A (en) * 2001-09-20 2003-04-04 Ricoh Co Ltd Coordinate input device
CN101840282A (en) * 2009-03-21 2010-09-22 深圳富泰宏精密工业有限公司 Electronic device and method thereof for recognizing touch control object
CN102693024A (en) * 2011-03-21 2012-09-26 汉王科技股份有限公司 Dual-touch apparatus and positioning method thereof
CN104160364A (en) * 2011-10-18 2014-11-19 卡内基梅隆大学 Method and apparatus for classifying touch events on a touch sensitive surface
CN108595047A (en) * 2018-04-20 2018-09-28 北京硬壳科技有限公司 Touch control object recognition methods and device
CN108819566A (en) * 2018-08-03 2018-11-16 京东方科技集团股份有限公司 A kind of smart pen and smart pen control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099199A (en) * 2001-09-20 2003-04-04 Ricoh Co Ltd Coordinate input device
CN101840282A (en) * 2009-03-21 2010-09-22 深圳富泰宏精密工业有限公司 Electronic device and method thereof for recognizing touch control object
CN102693024A (en) * 2011-03-21 2012-09-26 汉王科技股份有限公司 Dual-touch apparatus and positioning method thereof
CN104160364A (en) * 2011-10-18 2014-11-19 卡内基梅隆大学 Method and apparatus for classifying touch events on a touch sensitive surface
CN108595047A (en) * 2018-04-20 2018-09-28 北京硬壳科技有限公司 Touch control object recognition methods and device
CN108819566A (en) * 2018-08-03 2018-11-16 京东方科技集团股份有限公司 A kind of smart pen and smart pen control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121036A1 (en) * 2020-12-10 2022-06-16 安徽鸿程光电有限公司 Infrared touch-control method, apparatus, and device, and computer storage medium

Also Published As

Publication number Publication date
CN111694468B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US10810413B2 (en) Wakeup method, apparatus and device based on lip reading, and computer readable medium
US10776584B2 (en) Typifying emotional indicators for digital messaging
US9201521B2 (en) Storing trace information
US9229541B2 (en) Coordinate detection system, information processing apparatus and method, and computer-readable carrier medium
CN110489015B (en) Touch point determining method and device, touch screen and display
CN107728860B (en) Touch point identification method and device of infrared touch screen and touch screen equipment
CN110262685B (en) Touch detection method, touch detection device, storage medium and touch screen
US5001765A (en) Fast spatial segmenter for handwritten characters
CN108027648A (en) The gesture input method and wearable device of a kind of wearable device
CN111694468B (en) Method and device for determining type of target object
CN108399042B (en) Touch identification method, device and system
US20200209876A1 (en) Positioning method and apparatus with the same
CN114495103A (en) Text recognition method, text recognition device, electronic equipment and medium
CN112036516A (en) Image processing method and device, electronic equipment and storage medium
CN110764685A (en) Method and device for identifying two-dimensional code
CN116661618A (en) Touch mode switching method and device for touch screen
CN113496134A (en) Two-dimensional code positioning method, device, equipment and storage medium
US20230070059A1 (en) False touch rejection method, terminal device, and storage medium
US20170185831A1 (en) Method and device for distinguishing finger and wrist
CN115829929A (en) Method, device and equipment for detecting defects of product surface image and storage medium
CN107515821B (en) Control testing method and device
CN114494960A (en) Video processing method and device, electronic equipment and computer readable storage medium
CA2000023C (en) Fast spatial segmenter for handwritten characters
CN115469762A (en) Touch action detection method and device
CN110794994A (en) Method and device for determining real contact

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