CN110703929B - Input device and input method thereof - Google Patents

Input device and input method thereof Download PDF

Info

Publication number
CN110703929B
CN110703929B CN201910926625.3A CN201910926625A CN110703929B CN 110703929 B CN110703929 B CN 110703929B CN 201910926625 A CN201910926625 A CN 201910926625A CN 110703929 B CN110703929 B CN 110703929B
Authority
CN
China
Prior art keywords
optical signal
optical
input
signal
component
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.)
Active
Application number
CN201910926625.3A
Other languages
Chinese (zh)
Other versions
CN110703929A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910926625.3A priority Critical patent/CN110703929B/en
Publication of CN110703929A publication Critical patent/CN110703929A/en
Application granted granted Critical
Publication of CN110703929B publication Critical patent/CN110703929B/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/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/0304Detection arrangements using 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/0304Detection arrangements using opto-electronic means
    • G06F3/0317Detection arrangements using opto-electronic means in co-operation with a patterned surface, e.g. absolute position or relative movement detection for an optical mouse or pen positioned with respect to a coded surface
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

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 application discloses input device, input device includes: a body provided with a light emitting assembly, a light receiving assembly and a light comparing assembly; the light emitting component is used for emitting a first light signal; the optical receiving component is used for receiving a second optical signal, wherein the second optical signal is a signal formed by the first optical signal after passing through the input end of the input device; the optical comparison component is used for comparing the first optical signal with the second optical signal; and determining that the current state of the input device is an input state under the condition that the first optical signal and the second optical signal are inconsistent. The application also discloses an input method.

Description

Input device and input method thereof
Technical Field
The present application relates to an input device and an input method thereof.
Background
When using the writing pen to write or draw on the touch-sensitive screen, need exert pressure to the nib of writing pen for nib and touch-sensitive screen form the electromagnetic field in certain spatial range, just can make the touch-sensitive screen sense the position of writing pen, thereby just can show input information.
However, the existing stylus pen has to display the input information on the display screen after applying a certain pressure value to the pen point of the stylus pen, and the input information is not displayed when the pressure value does not meet the requirement, so that the display time of the input information is long, the writing effect is greatly influenced, and the lines of the written works are not attractive.
Disclosure of Invention
In view of this, it is desirable to provide an input device and an input method thereof, which can improve the display time of input information, thereby improving the working efficiency of a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
according to an aspect of an embodiment of the present invention, there is provided an input apparatus including:
a body provided with a light emitting assembly, a light receiving assembly and a light comparing assembly;
the light emitting component is used for emitting a first light signal;
the optical receiving component is used for receiving a second optical signal, wherein the second optical signal is a signal formed by the first optical signal after passing through the input end of the input device;
the optical comparison component is used for comparing the first optical signal with the second optical signal; and determining that the current state of the input device is an input state under the condition that the first optical signal and the second optical signal are inconsistent.
In the above solution, the input device further includes:
an input end connected with one end of the body, the input end is provided with an optical fiber component,
the optical fiber assembly is used for conducting the first optical signal; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium;
the optical receiving component is used for receiving the second optical signal conducted by the optical fiber component.
In the above scheme, the optical fiber group is bent to form a bending structure, and the bending structure is exposed out of the input end.
In the above scheme, the bending structure is an elastic U-shaped structure or V-shaped structure.
In the above scheme, the input end is further provided with: an electrical transmission assembly;
the optical comparison component is used for determining that the optical fiber component is in contact with a writing medium under the condition that the first optical signal and the second optical signal are inconsistent;
and the electrical emission component is used for sending an electrical signal to the electronic equipment where the writing medium is located under the condition that the optical fiber component is determined to be in contact with the writing medium, so that the electronic equipment determines the display position of the input information according to the electrical signal.
In the above-mentioned scheme, the same condition of optical refractive index is satisfied between the material of the optical fiber assembly and the material of the writing medium.
According to another aspect of the embodiments of the present invention, there is provided an input method applied to the input device of any one of the above, the method including:
transmitting a first optical signal through an optical transmitting component, and receiving a second optical signal through an optical receiving component, wherein the second optical signal is formed by the first optical signal after total reflection or refraction;
comparing the first optical signal and the second optical signal;
and determining that the current state of the input equipment is the input state under the condition that the first optical signal and the second optical signal are not consistent according to the comparison result.
In the foregoing solution, the receiving, by the optical receiving component, the second optical signal includes:
conducting the first optical signal through a fiber optic assembly; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium;
receiving, by the light receiving component, the second optical signal conducted by the fiber optic component.
In the foregoing solution, the determining that the current state of the input device is the input state includes:
and sending an electric signal to the electronic equipment where the writing medium is located, so that the electronic equipment determines the display position of the input information according to the electric signal.
According to a third aspect of embodiments of the present invention, there is provided an input device including: a memory, a processor and a responsive program stored in the memory for movement by the processor, wherein the processor is responsive to the steps of any of the above-described input methods when executing the responsive program.
The application provides an input device and an input method thereof, wherein the input device comprises: a body provided with a light emitting assembly, a light receiving assembly and a light comparing assembly; the light emitting component is used for emitting a first light signal; the optical receiving component is used for receiving a second optical signal, wherein the second optical signal is a signal formed by the first optical signal after passing through the input end of the input device; the optical comparison component is used for comparing the first optical signal with the second optical signal; and determining that the current state of the input device is an input state under the condition that the first optical signal and the second optical signal are inconsistent. Therefore, the input state of the input device is controlled through the optical signal, the display stroke of the pen point of the character displayed on the writing medium can be shortened, and the display stroke of the pen point of the character displayed on the writing medium can be prolonged, so that the displayed character has sharp and clear pen points.
Drawings
Fig. 1 is a first schematic structural diagram of an input device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating an implementation of the input method of the present application;
FIG. 3 is a schematic illustration of a word written using the pen of the present application;
fig. 4 is a schematic structural diagram of an input device according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and aspects of the present application can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a schematic structural composition diagram of an input device according to an embodiment of the present application, as shown in fig. 1, the input device may specifically be an active stylus, and the input device includes: a body 100 and an input terminal 200, the input terminal 200 being connected to one end of the body 100. The body 100 is provided with a light emitting module (not shown), a light receiving module (not shown) and a light comparing module (not shown), wherein the light emitting module is used for emitting a first light signal; the optical receiving component is configured to receive a second optical signal, where the second optical signal is a signal formed after the first optical signal passes through the input end 200 of the input device. The optical comparison component is used for comparing the first optical signal with the second optical signal to obtain a comparison result; and determining the current state of the input device as the input state under the condition that the comparison result represents that the first optical signal and the second optical signal are inconsistent. Therefore, the input state of the input device can be accurately determined through the optical signal.
In this application, the body 100 is further provided with a power source (not shown in the figure), which is electrically connected to the light emitting module for supplying power to the light emitting module.
In this application, the input end 200 of the input device is provided with an optical fiber assembly 201, one end of the optical fiber assembly 201 is arranged at the light emitting position of the light emitting assembly, and the other end of the optical fiber assembly 201 is arranged at the light receiving position of the light receiving assembly. The first optical signal emitted by the light emitting component can be conducted through the optical fiber component 201, so that the body becomes a luminous body.
In the present application, when the fiber optic assembly 201 is not in contact with the writing medium 300, the first optical signal may be totally reflected multiple times during the conduction process of the fiber optic assembly 201; the first optical signal may be refracted during the propagation of the fiber optic assembly 201 when the fiber optic assembly 201 is in contact with the writing medium 300.
In this application, the second optical signal received by the optical receiving component is the signal conducted through the optical fiber component 201. The second optical signal may be a refracted signal or a totally reflected signal.
After the optical receiving component receives the second signal, the optical comparing component may be triggered to compare the second signal with the first signal to determine whether there is optical loss between the second signal and the first signal, so that when it is determined that there is optical loss between the second signal and the first signal, the current state of the input device is determined to be the input state, and conversely, when it is determined that there is no optical loss between the second signal and the first signal, the current state of the input device is determined to be the non-input state.
In this application, the light emission subassembly can also launch the first light signal of different colours, and the structure of optic fibre subassembly 201 can be based on the shape phase-match of input end 200 simultaneously to when conducting first light signal through optic fibre subassembly 201, can be so that each side of input end can both give out light, in order to improve the interest.
In this application, the optical fiber assembly 201 can be bent to form an elastic bending structure 202, the bending structure 202 can be an elastic circular structure, an elliptical structure, a U-shaped structure or a V-shaped structure, and the bending structure 202 is exposed outside the input end 200 for contacting the writing medium 300.
In this application, the input end 200 further includes: an electrical emission component (not shown in the figures) for sending an electrical signal to the electronic device where the writing medium 300 is located, so that the electronic device determines the display position of the input information according to the electrical signal.
Specifically, after the optical comparison component compares the first optical signal with the second optical signal, if the comparison result indicates that the first optical signal and the second optical signal are not consistent, the optical fiber component 201 is determined to be in contact with the writing medium 300, at this time, the optical comparison component triggers the electrical emission component, and the electrical emission component sends an electrical signal to the electronic device where the writing medium 300 is located under the condition that the optical fiber component 201 is determined to be in contact with the writing medium 300, so that the electronic device determines the display position of the input information according to the electrical signal.
In this application, the input end 200 further includes: a pressure sensor (not shown in the figure) for detecting the pressure applied to the bending structure 202 of the optical fiber assembly 201 to obtain a pressure parameter; and under the condition that the voltage sensor obtains the pressure parameter, triggering the electric emission assembly, and sending an electric signal to the electronic equipment where the writing medium is located by the electric emission assembly according to the pressure parameter.
In this application, the electrical emission component may specifically be configured to send different electrical signals to the electronic device where the writing medium is located according to the difference in the pressure parameter.
Here, the difference of the electrical signals means that parameters such as voltage, electrical frequency, current, and resistance corresponding to the electrical signals are different.
In the application, the pressure sensor can compare the pressure parameter with a preset pressure threshold value under the condition of obtaining the pressure parameter to obtain a comparison result, and when the comparison result represents that the pressure parameter is greater than the preset pressure threshold value, the pressure sensor triggers the power transmitting assembly to send an electric signal to the electronic equipment where the writing medium is located.
In this application, the electrical parameters of the electrical signal sent by the electrical emission assembly to the electronic device based on the pressure parameters are different than the electrical parameters of the electrical signal sent to the electronic device in which the writing medium 300 is located if the fiber optic assembly 201 is determined to be in contact with the writing medium 300.
For example, the electrical parameters of the electrical signals may be different, such as voltage, electrical frequency, current, resistance, etc.
In this manner, different electrical signals may be caused to display different effects of writing on a writing medium of an electronic device by sending different electrical signals to the electronic device. Such as thickness effect of writing, stroke effect of writing, etc., to meet different requirements of users.
In this application, the light emitting module may also stop emitting the first optical signal when it is determined that the bent structure 202 of the optical fiber module 201 is deformed under pressure. Thus, the power of the input device can be saved.
In the present application, the same condition of optical refractive index can be satisfied between the material of the optical fiber assembly 201 and the material of the writing medium 300.
This application utilizes light signal to trigger input device and sends input signal to the electronic equipment that writes the medium place to confirm input device's input state, not only can shorten the display stroke of the pen point that falls of the word that shows on writing the medium, but also can prolong the display stroke of the pen point that carries of the word that shows on writing the medium, make the word that shows have sharp, clear stroke.
For example, when a user writes a "down" word by using the pen of the present application, when the pen is in a "0" contact state with a writing medium, the pen of the present application may generate optical loss due to contact between the pen tip and a screen of the writing medium, and at this time, when the pen tip is in a "0" contact state with the writing medium, the pen of the present application may send an input signal to the electronic device where the writing medium is located, so that the electronic device where the writing medium is located determines a pen-down position of the "down" word according to the input signal at a corresponding position of the screen of the writing medium. The pen down positions of, for example, "down" words include: a start position of "" a left-falling "" thereby displaying a "down" character stroke-falling point at the determined stroke-falling position of the "down" character. For example, the pen down points of the "lower" word include: the starting point of "" one "", "|", and "" left-falling "". Therefore, the display stroke of the pen point of the lower character is shortened, and the displayed lower character has a clear pen point.
Here, the state in which the pen tip is in contact with the writing medium in the "0" state refers to a case in which the user does not apply any pressure to the writing medium by the pen, in other words, a state in which the pen is in contact with the writing medium in a zero pressure state.
When a user writes a 'down' word by using a pen in the prior art, when the pen is in a '0' contact state with a writing medium, an input signal is not sent to the electronic device where the writing medium is located, so that the electronic device where the writing medium is located cannot determine the pen-down position of the 'down' word when the pen is in the '0' contact state with the writing medium, and the pen-down point of the 'down' word cannot be displayed when the pen is in the '0' contact state with the writing medium. In the prior art, only when the pen point is in contact with the writing medium, pressure is applied to the writing medium, and the pressure value is greater than a certain threshold value, the pen is triggered to send an input signal to the electronic device, and the electronic device where the writing medium is located can determine the pen-down position of the 'down' character according to the pressure value corresponding to the pressure, so that the pen-down point of the 'down' character is displayed at the pen-down position.
Compared with the existing pen, the pen can shorten the stroke of the pen falling point of the displayed character, and can also enable the displayed character to have clear and sharp pen points, so that the display precision of the character is improved.
The pen sends the input signal to the electronic equipment where the writing medium is located when the pen point and the writing medium are in a '0' contact state, and the electronic equipment where the writing medium is located can also determine the pen lifting position of the display information according to the input signal, so that the pen lifting point of the display information is displayed at the pen lifting position.
Continuing with the above example, during writing a "down" word with the pen of the present application, when the pen is in a "0" contact state with the writing medium, the pen of the present application may generate optical loss due to the contact of the pen tip with the screen of the writing medium, and at this time, when the pen tip is in a "0" contact state with the writing medium, the pen of the present application may send an input signal to the electronic device where the writing medium is located, so that the electronic device where the writing medium is located determines the pen-up position of the "down" word according to the input signal at the screen-corresponding position of the writing medium. Pen-up positions such as "down" include: an end position of "" a left-falling stroke "" thereby displaying a "lower" character stroke-raising point at the determined stroke-raising position of the "lower" character. For example, the "lower" stroke points include: an end point of "" one "" an end point of "" left-falling "". That is, according to the pen provided in the present application, the point at which the pen tip is in contact with the writing medium "0" is the pen-up point of the displayed word. Therefore, the display stroke of the pen lifting point of the lower character is prolonged, and the displayed lower character has a clear pen point.
In the process of writing the 'down' character by using the pen in the prior art, the user does not send an input signal to the electronic equipment where the writing medium is located when the pen is in the '0' contact state with the writing medium, so that the electronic equipment where the writing medium is located cannot determine the pen lifting position of the 'down' character when the pen is in the '0' contact state with the writing medium, and the pen lifting point of the 'down' character cannot be displayed when the pen is in the '0' contact state with the writing medium. In the prior art, only when the pen point does not apply pressure to the writing medium any more or the pressure value is smaller than a certain threshold value, the pen stops sending the input signal to the electronic device, and the electronic device where the writing medium is located also determines the pen lifting position of the lower character according to the pressure value corresponding to the pressure, so that the pen lifting point of the lower character is displayed at the pen lifting position. That is, based on the existing pen, the pressure point when the pressure value is smaller than a certain threshold value is the pen-up point of the displayed word.
Compared with the existing pen, the pen can prolong the stroke of the pen lifting point of the displayed character, and can also enable the displayed character to have clear and sharp pen points, so that the display precision of the character is improved.
Fig. 2 is a schematic flow chart of an implementation of the input method in the present application, and as shown in fig. 2, the input method includes:
step 201, transmitting a first optical signal through an optical transmitting component, and receiving a second optical signal through an optical receiving component, where the second optical signal is a signal formed by the first optical signal after total reflection or refraction;
the input method provided in the present application is mainly applied to an input device, for example, the input device may be an active stylus. The input device comprises a light emitting component, a light receiving component and a fiber-optic component.
In this application, a first optical signal transmitted by the optical transmission module may be optically transmitted through the optical fiber module, and a second optical signal transmitted through the optical fiber module may be received by the optical reception module.
In the present application, the optical fiber assembly may be in contact with a writing medium, and when the optical fiber assembly is not in contact with the writing medium, the first optical signal may be totally reflected multiple times during the conduction of the optical fiber assembly; the first optical signal may be refracted during propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium.
Step 202, comparing the first optical signal and the second optical signal;
in this application, the input device is further provided with an optical comparison module, and after the second optical signal is received by the optical receiving module, the optical comparison module may compare the first optical signal with the second optical signal to determine whether the second optical signal generates optical loss according to the comparison result, so as to determine the contact state of the input device and the writing medium according to the optical loss.
Step 203, determining that the current state of the input device is the input state under the condition that the first optical signal and the second optical signal are not consistent according to the comparison result.
In this application, when the optical comparison component determines that the first optical signal and the second optical signal are not consistent according to the comparison result, it is indicated that the second optical signal has optical loss, and it indicates that the input device is currently in a 0-contact state with the writing medium, and then it is determined that the current state of the input device is the input state.
In this application, the input device further includes a light emitting component, and when the light comparing component determines that the current state of the input device is the input state, the light emitting component may be triggered to send an electrical signal to the electronic device where the writing medium is located through the light emitting component, so that the electronic device determines the display position of the input information according to the electrical signal.
Through the input method provided by the application, the optical signal can be used for controlling the input device to send the electric signal to the electronic device where the writing medium is located, namely, the input state of the input device can be controlled through the optical signal, so that the display stroke of the pen-down point of the displayed character can be shortened, the display stroke of the pen-up point of the displayed character can be lengthened, and the displayed character has a sharper and clear pen point. Without being as virtual as the nib of a word written by a prior art pen.
In the application, the electronic device where the writing medium is located may further obtain all capacitance values between the pen falling point and the first pressure point of each stroke, or obtain all capacitance values between the last pressure point and the pen lifting point of each stroke, perform fitting curve processing on all capacitance values to obtain all processed capacitance values, and then determine whether all processed capacitance values belong to a 0 value or a preset value. Therefore, when the value of the stroke belongs to 0, a thinner stroke is displayed, and when the value of the stroke belongs to a preset value, a thicker stroke is displayed.
Specifically, the determining whether all the processed capacitance values belong to 0 values or preset values includes:
and taking the intermediate value between the 0 value and the preset value as a reference value, and then respectively comparing all the processed capacitance values with the reference value to obtain a comparison result. Classifying the capacitance values larger than the reference value into a preset value group according to the comparison result, classifying the capacitance values smaller than the reference value into a 0 value group, then comparing the capacitance values of the preset value group and the 0 value group, if the capacitance values of the preset value group are larger than the capacitance values of the 0 value group, determining that all the processed capacitance values belong to the preset values, and the shape of the displayed pen front can be changed from thin to thick, and if the capacitance values of the preset value group are smaller than the capacitance values of the 0 value group, determining that all the processed capacitance values belong to the 0 value, and the shape of the displayed pen front can be changed from thick to thin, as shown in fig. 3 specifically.
Fig. 3 is a schematic diagram of a word written by using the pen in the present application, as shown in fig. 3, the written word is a "one" word, and the "one" word includes a tip 31 and a tip 32, wherein the tip 31 is a writing end of the "one" word, and the shape of the tip 31 is gradually changed from thin to thick from a point a to a point B. The tip 32 is a straight-line-shaped pen-lifting end, and the shape of the tip 32 gradually changes from thick to thin from point C to point D. Therefore, the displayed characters have sharper and clear stroke edges, and are not as virtual as the stroke edges of the characters written by the prior art pen.
It should be noted that: the input method provided by the above embodiment and the input device embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment and is not described herein again.
Fig. 4 is a schematic structural composition diagram of an input device according to an embodiment of the present application, and as shown in fig. 4, the input device 400 may be an information receiving and transmitting device, a game joystick, a game gun, or the like. The input device 400 shown in fig. 4 includes: at least one processor 401, memory 402. The various components in the electronic device 400 are coupled together by a bus system 403. It will be appreciated that the bus system 403 is used to enable communications among the components connected. The bus system 403 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 403 in figure 4.
It will be appreciated that the memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 402 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 402 in the embodiments of the present application is used to store various types of data to support the operation of the input device 400. Examples of such data include: any computer programs for operating on input device 400, such as operating system 4021 and application programs 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 may include various applications such as a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services. A program for implementing the method according to the embodiment of the present application may be included in the application 4022.
The method disclosed in the embodiments of the present application may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 described above may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 402, and the processor 401 reads the information in the memory 402 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the input Device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
Specifically, when the processor 401 runs the computer program, it executes: transmitting a first optical signal through an optical transmitting component, and receiving a second optical signal through an optical receiving component, wherein the second optical signal is formed by the first optical signal after total reflection or refraction;
comparing the first optical signal and the second optical signal;
and determining that the current state of the input equipment is the input state under the condition that the first optical signal and the second optical signal are not consistent according to the comparison result.
When the processor 401 runs the computer program, it further executes: conducting the first optical signal through a fiber optic assembly; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium;
receiving, by the light receiving component, the second optical signal conducted by the fiber optic component.
When the processor 401 runs the computer program, it further executes: and sending an electric signal to the electronic equipment where the writing medium is located, so that the electronic equipment determines the display position of the input information according to the electric signal.
In an exemplary embodiment, the present application further provides a computer readable storage medium, such as the memory 402, comprising a computer program, which is executable by the processor 301 of the input device 400 to perform the steps of the aforementioned method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, performs: transmitting a first optical signal through an optical transmitting component, and receiving a second optical signal through an optical receiving component, wherein the second optical signal is formed by the first optical signal after total reflection or refraction;
comparing the first optical signal and the second optical signal;
and determining that the current state of the input equipment is the input state under the condition that the first optical signal and the second optical signal are not consistent according to the comparison result.
The computer program, when executed by the processor, further performs: conducting the first optical signal through a fiber optic assembly; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium;
receiving, by the light receiving component, the second optical signal conducted by the fiber optic component.
The computer program, when executed by the processor, further performs: and sending an electric signal to the electronic equipment where the writing medium is located, so that the electronic equipment determines the display position of the input information according to the electric signal.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. An input device, characterized in that the input device comprises:
a body provided with a light emitting assembly, a light receiving assembly and a light comparing assembly;
the input end is connected with one end of the body and is provided with an optical fiber component;
the light emitting component is used for emitting a first light signal;
the optical fiber assembly is used for conducting the first optical signal; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium;
the optical receiving component is used for receiving the second optical signal conducted by the optical fiber component; the second optical signal is a signal formed after the first optical signal passes through an input end of input equipment;
the optical comparison component is used for comparing the first optical signal with the second optical signal; and determining that the current state of the input device is an input state under the condition that the first optical signal and the second optical signal are inconsistent.
2. The input device as in claim 1, wherein the fiber optic assembly is bent to form a bent structure, the bent structure being exposed at the input end.
3. An input device as described in claim 2, wherein the flexure structure is a resilient U-shaped structure or a V-shaped structure.
4. An input device as claimed in claim 1, wherein the input is further provided with: an electrical transmission assembly;
the optical comparison component is used for determining that the optical fiber component is in contact with a writing medium under the condition that the first optical signal and the second optical signal are inconsistent;
and the electrical emission component is used for sending an electrical signal to the electronic equipment where the writing medium is located under the condition that the optical fiber component is determined to be in contact with the writing medium, so that the electronic equipment determines the display position of the input information according to the electrical signal.
5. An input device as described in claim 1, wherein the same condition of optical refractive index is satisfied between the material of the fiber optic assembly and the material of the writing medium.
6. An input method applied to the input device according to any one of claims 1 to 5, the method comprising:
transmitting a first optical signal through an optical transmission assembly and conducting the first optical signal through an optical fiber assembly; when the optical fiber component is not in contact with a writing medium, the first optical signal generates a plurality of total reflections in the conduction process of the optical fiber component; the first optical signal is refracted during the propagation of the fiber optic assembly when the fiber optic assembly is in contact with a writing medium; receiving, by the light receiving component, the second optical signal conducted by the fiber optic component; the second optical signal is formed by the first optical signal after total reflection or refraction;
comparing the first optical signal and the second optical signal;
and determining that the current state of the input equipment is the input state under the condition that the first optical signal and the second optical signal are not consistent according to the comparison result.
7. The method of claim 6, the determining that the current state of the input device is an input state, comprising:
and sending an electric signal to the electronic equipment where the writing medium is located, so that the electronic equipment determines the display position of the input information according to the electric signal.
8. An input device, the input device comprising: memory, processor and a responsive program stored in the memory for execution by the processor, wherein the processor is responsive to the steps of the input method as claimed in claim 6 or 7 when executing the responsive program.
CN201910926625.3A 2019-09-27 2019-09-27 Input device and input method thereof Active CN110703929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926625.3A CN110703929B (en) 2019-09-27 2019-09-27 Input device and input method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926625.3A CN110703929B (en) 2019-09-27 2019-09-27 Input device and input method thereof

Publications (2)

Publication Number Publication Date
CN110703929A CN110703929A (en) 2020-01-17
CN110703929B true CN110703929B (en) 2021-07-16

Family

ID=69196837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926625.3A Active CN110703929B (en) 2019-09-27 2019-09-27 Input device and input method thereof

Country Status (1)

Country Link
CN (1) CN110703929B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100532929B1 (en) * 2002-10-10 2005-12-02 와우테크 주식회사 Optical Pen Mouse
KR100489959B1 (en) * 2004-10-28 2005-05-17 퍼셉컴(주) Structure of optical pen type pointing device
KR100891100B1 (en) * 2007-07-27 2009-03-31 삼성전자주식회사 Trajectory estimation apparatus and method based on pen-type optical mouse
US8536471B2 (en) * 2008-08-25 2013-09-17 N-Trig Ltd. Pressure sensitive stylus for a digitizer
JP2011128846A (en) * 2009-12-17 2011-06-30 Sony Corp Operation input device and method, program, and electronic equipment
TWI470485B (en) * 2012-03-29 2015-01-21 Wistron Corp Stylus capable of detecting pressure on a tip
US20160161645A1 (en) * 2014-12-03 2016-06-09 Panasonic Intellectual Property Management Co., Ltd. Non-visible light reflective sheet, optical sheet, and display apparatus
WO2016116810A1 (en) * 2015-01-20 2016-07-28 Otm Technologies Ltd. Devices and methods for generating input
CN105653073B (en) * 2016-03-29 2019-07-26 联想(北京)有限公司 A kind of writing pencil
CN109416606A (en) * 2016-05-23 2019-03-01 拉普特知识产权公司 Using optical touch sensing device, detect contact instrument associated with active instrument
US10303270B2 (en) * 2016-09-12 2019-05-28 Microsoft Technology Licensing, Llc Linear encoder force transducer
CN107145776A (en) * 2017-04-27 2017-09-08 维沃移动通信有限公司 A kind of method for secret protection and mobile terminal

Also Published As

Publication number Publication date
CN110703929A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
US10684683B2 (en) Natural human-computer interaction for virtual personal assistant systems
US10380396B2 (en) Electronic device having fingerprint sensor
US9666173B2 (en) Method for playing virtual musical instrument and electronic device for supporting the same
EP2905679B1 (en) Electronic device and method of controlling electronic device
KR102468314B1 (en) Method and eletronic device for providing user interface
KR20160022716A (en) Memory Allocating Method and Electronic device supporting the same
US10564751B2 (en) Electronic device and input method of electronic device
CN109865285B (en) Information processing method and device in game and computer storage medium
EP3432115B1 (en) Flexible device and operation method of flexible device
CN108334303B (en) Electronic apparatus and control method thereof
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
JP2009129100A (en) Touch pad for double work
KR20160105215A (en) Apparatus and method for processing text
CN110493125A (en) Instant communicating method, equipment and computer readable storage medium
CN113282214A (en) Stroke rendering method, device, storage medium and terminal
CN110703929B (en) Input device and input method thereof
CN116483246A (en) Input control method and device, electronic equipment and storage medium
KR102636153B1 (en) Eletronic device and method for providing infromation in response to pressure input of touch
WO2018032743A1 (en) Method for evaluating file fragments, and terminal
CN110850982A (en) AR-based human-computer interaction learning method, system, device and storage medium
US10558340B2 (en) Inadvertent dismissal prevention for graphical content
CN114879854A (en) Control method, control device, terminal, electronic equipment and storage medium
US11790989B2 (en) Soft reset for multi-level programming of memory cells in non-von neumann architectures
JP7434602B2 (en) Non-uniform state spacing in multistate storage elements for low power operation
JP3139196U (en) Double work touchpad

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