CN109240517B - Signal processing method and device, electromagnetic pen and electromagnetic induction system - Google Patents

Signal processing method and device, electromagnetic pen and electromagnetic induction system Download PDF

Info

Publication number
CN109240517B
CN109240517B CN201810829468.XA CN201810829468A CN109240517B CN 109240517 B CN109240517 B CN 109240517B CN 201810829468 A CN201810829468 A CN 201810829468A CN 109240517 B CN109240517 B CN 109240517B
Authority
CN
China
Prior art keywords
information
electromagnetic
pen
state
signal processing
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
CN201810829468.XA
Other languages
Chinese (zh)
Other versions
CN109240517A (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.)
Hanvon Pentech Co Ttd
Original Assignee
Hanvon Pentech Co Ttd
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 Hanvon Pentech Co Ttd filed Critical Hanvon Pentech Co Ttd
Priority to CN201810829468.XA priority Critical patent/CN109240517B/en
Publication of CN109240517A publication Critical patent/CN109240517A/en
Application granted granted Critical
Publication of CN109240517B publication Critical patent/CN109240517B/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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • 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
    • 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
    • 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/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means

Landscapes

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

Abstract

The invention discloses a signal processing method, a signal processing device, an electromagnetic pen and an electromagnetic induction system, wherein the signal processing method comprises the following steps: acquiring information to be sent of the electromagnetic pen; carrying out digital coding on information to be sent to obtain corresponding digital coding information; according to the digitally encoded information, an electromagnetic signal generating circuit of the electromagnetic pen is controlled to generate a varying electromagnetic signal, wherein the varying electromagnetic signal is arranged to characterize the information to be transmitted. The invention provides a technical scheme of signal processing, which can control the electromagnetic signal generating circuit to generate a changed electromagnetic signal according to digital coding information so as to realize information transmission, thereby improving the anti-interference capability of the electromagnetic pen, being beneficial to ensuring that the pen pressure of the electromagnetic pen presents stable linear change and improving the writing experience.

Description

Signal processing method and device, electromagnetic pen and electromagnetic induction system
Technical Field
The present invention relates to the field of electronic pen technologies, and in particular, to a signal processing method of an electromagnetic pen, a signal processing apparatus of an electromagnetic pen, and an electromagnetic induction system.
Background
The appearance of the electromagnetic screen magnetic control technology (electromagnetic touch control) opens a brand-new original handwriting input era for people, the electromagnetic screen magnetic control technology is gradually recognized and accepted by consumers by virtue of the advantages that the electromagnetic pen can realize the signature of the original handwriting and the character recording of the original handwriting on the electromagnetic screen, and the application field is wider and wider.
In the prior art, two electromagnetic touch schemes exist according to whether an electromagnetic pen is provided with a power supply device, one scheme is a passive electromagnetic pen touch scheme, and the other scheme is an active electromagnetic pen touch scheme. The passive electromagnetic pen touch scheme is that an electromagnetic induction device of an electromagnetic screen sends electromagnetic waves with a certain frequency, a resonance circuit arranged in the electromagnetic pen generates resonance, and the electromagnetic induction device receives the resonance signals to realize detection of the electromagnetic pen.
The passive electromagnetic pen touch scheme has the problems that the distance between an electromagnetic pen and an electromagnetic screen is limited, and the like, so that the active electromagnetic pen touch scheme is realized, and the active electromagnetic pen touch scheme transmits self information in a mode of sending an electromagnetic signal to the electromagnetic screen so as to realize the detection of the electromagnetic screen on the electromagnetic pen. In the existing active electromagnetic pen touch scheme, the electromagnetic pen generates a varying electromagnetic signal by using an analog signal, for example, by changing a capacitance value of an electromagnetic signal generating circuit to change a frequency of the electromagnetic signal. Because the analog signal is easily interfered by the external environment, the pen pressure of the electromagnetic pen is difficult to be changed stably and linearly, and further writing experience is greatly reduced, so that a signal processing method capable of improving the anti-interference capability of the electromagnetic pen is very necessary.
Disclosure of Invention
It is an object of embodiments of the present invention to provide a signal processing method for an active electromagnetic pen to improve the interference rejection capability of the electromagnetic pen.
According to a first aspect of the present invention, there is provided a signal processing method of an electromagnetic pen, comprising:
acquiring information to be sent of the electromagnetic pen;
carrying out digital coding on the information to be sent to obtain corresponding digital coding information;
and controlling an electromagnetic signal generating circuit of the electromagnetic pen to generate a changed electromagnetic signal according to the digital coded information, wherein the changed electromagnetic signal is set to be used for representing the information to be transmitted.
Optionally, the controlling, according to the digitally encoded information, the electromagnetic signal generating circuit of the electromagnetic pen to generate the changed electromagnetic signal includes:
and controlling the electromagnetic signal generating circuit to switch between on and off according to the digital coding signal so as to generate the variable electromagnetic signal.
Optionally, the information to be sent includes one or both of pen tip pressure information and operation state information triggered by operating the electromagnetic pen.
Optionally, the digitally encoding the information to be transmitted to obtain corresponding digitally encoded information includes:
detecting whether the current state of the information to be sent changes relative to the last state;
when the current state of the information to be sent changes relative to the previous state, digitally encoding the changed information to be sent or the information variation of the changed information to be sent to obtain corresponding digitally encoded information.
Optionally, the method further comprises:
acquiring the use state information of the electromagnetic pen;
judging whether the electromagnetic pen is used or not according to the use state information;
when the electromagnetic pen is judged to be used, an electromagnetic signal generating circuit of the electromagnetic pen is switched on;
and when the electromagnetic pen is judged not to be used, the electromagnetic signal generating circuit is disconnected.
Optionally, the usage state information at least includes pen tip pressure information, and the determining whether the electromagnetic pen is used according to the usage state information includes:
judging whether the current value of the pen point pressure reaches a set value or not according to the pen point pressure information;
determining that the electromagnetic pen is used when the current value of the tip pressure reaches the set value.
According to a second aspect of the present invention, there is also provided a signal processing apparatus of an electromagnetic pen, comprising:
the information acquisition module is used for acquiring information to be sent of the electromagnetic pen;
the coding module is used for carrying out digital coding on the information to be sent to obtain digital coding information; and the number of the first and second groups,
and the control module is used for controlling an electromagnetic signal generating circuit of the electromagnetic pen to generate a changed electromagnetic signal according to the digital coding information so as to represent the information to be sent through the changed electromagnetic signal.
According to a third aspect of the present invention, there is also provided a signal processing apparatus comprising a memory for storing instructions for controlling the processor to operate to perform the signal processing method according to the first aspect of the present invention, and a processor.
According to a fourth aspect of the present invention, there is also provided an electromagnetic pen comprising an electromagnetic signal generating circuit, a signal processing apparatus according to the second or third aspect of the present invention, and a power supply apparatus for supplying power to the electromagnetic signal generating circuit and the signal processing apparatus.
Optionally, the electromagnetic pen further comprises a pen tip and a pen tip pressure detection device, the pen tip pressure detection device is configured to provide an electrical signal representing pen tip pressure to the signal processing device, and the signal processing device is configured to obtain pen tip pressure information according to the electrical signal; the electromagnetic pen further comprises an operation detection circuit, the operation detection circuit comprises an operation part, the operation part is exposed outwards through a pen shell of the electromagnetic pen, the operation detection circuit is set to output a corresponding electric signal according to the state of the operation part, and the signal processing device is used for obtaining operation state information according to the electric signal provided by the operation detection circuit;
the information to be sent comprises one or two of the pen point pressure information and the operation state information.
Optionally, the electromagnetic pen further comprises a switching circuit controlled by the signal processing device, the switching circuit having a first switching state and a second switching state, the switching circuit being connected to the electromagnetic signal generating circuit, the connection being arranged such that the switching circuit switches on the electromagnetic signal generating circuit in the first switching state and switches off the electromagnetic signal generating circuit in the second switching state.
Optionally, the electromagnetic pen further includes a power switch, and the power switch is connected to an output circuit, which is powered by the power supply device, of the electromagnetic signal generating circuit and the signal processing device.
According to the fifth aspect of the present invention, there is also provided an electromagnetic induction system, which comprises an electromagnetic induction device and the electromagnetic pen according to the fourth aspect of the present invention, wherein the electromagnetic induction device comprises an electromagnetic signal receiving circuit, and the electromagnetic signal receiving circuit is configured to receive the changed electromagnetic signal generated by the electromagnetic signal generating circuit of the electromagnetic pen and decode the changed electromagnetic signal to obtain information to be transmitted.
The method has the advantages that the electromagnetic signal generating circuit is controlled based on the digital coding information, so that the variable electromagnetic signal is generated, information transmission is achieved, and the digital signal has the characteristic of high anti-jamming capability, so that the method can effectively improve the anti-jamming capability of the electromagnetic pen, is beneficial to ensuring that the pen pressure of the electromagnetic pen presents stable linear change, and improves writing experience.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of an electromagnetic induction system according to an embodiment of the present invention;
FIG. 2 is a block diagram of an electromagnetic pen according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a hardware structure of a signal processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram of a signal processing method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an interaction process between an electromagnetic pen and an electromagnetic induction device according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart of a signal processing method provided by taking pen tip pressure information of an electromagnetic pen as an example;
FIG. 7 is a schematic block diagram of a signal processing arrangement of an electromagnetic pen according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of the circuit configuration of an electromagnetic pen according to an embodiment of the present invention;
FIG. 9 is a circuit schematic of a switching circuit provided in accordance with an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an electromagnetic pen according to an embodiment of the present invention;
fig. 11 is a schematic flow chart of a signal processing procedure of an electromagnetic pen according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< electromagnetic induction System >
Fig. 1 is a schematic structural diagram of an electromagnetic induction system according to an embodiment of the present invention.
As shown in fig. 1, the electromagnetic induction system according to the embodiment of the present invention includes an electromagnetic pen 1000 and an electromagnetic induction device 2000, and the electromagnetic pen 1000 and the electromagnetic induction device 2000 establish a communication connection through an electromagnetic signal generating circuit of the electromagnetic pen 1000 and an electromagnetic signal receiving circuit of the electromagnetic induction device 2000.
The electromagnetic induction device 2000 may be an electromagnetic screen of an electronic product, and the electromagnetic screen may include a glass panel 2010, a liquid crystal screen 2020, and an electromagnetic plate 2030, wherein the electromagnetic plate 2030 has an electromagnetic signal receiving circuit.
In this embodiment, the basic working principle of the electromagnetic induction system is as follows: the electromagnetic pen 1000 outputs a varying electromagnetic signal carrying information to be transmitted, i.e., information to be transmitted, through the electromagnetic signal generating circuit during operation. In the induction range of the electromagnetic signal, the electromagnetic signal receiving circuit of the electromagnetic screen may receive the changed electromagnetic signal, and decode the changed electromagnetic signal according to the protocol of both communication parties, thereby obtaining the information to be sent by the electromagnetic pen 1000.
Fig. 2 is a block diagram of a structure of an electromagnetic pen 1000 according to an embodiment of the present invention.
According to fig. 2, an electromagnetic pen 1000 at least comprises an electromagnetic signal generating circuit 1010, a signal processing means 1020 and a power supply means 1030, wherein the signal processing means 1020 is configured to process information to be transmitted according to the method of the embodiment of the present invention to obtain a digital code signal for controlling the electromagnetic signal generating circuit 1010.
In this embodiment, the electromagnetic pen 1000 is an active electromagnetic pen, the active electromagnetic pen may be an electromagnetic pen having a power supply device for supplying power, or the electromagnetic pen may be connected to the electromagnetic screen by a wire to enable the electromagnetic screen to supply power to the electromagnetic pen, and the electromagnetic pen 1000 having the power supply device 1030 will be described as an example.
The power supply unit 1030 includes, for example, a battery and a voltage conversion circuit, wherein the voltage conversion circuit is configured to convert a voltage of the battery into an operating voltage required by a consumer of the electromagnetic pen 1000, and the consumer includes, for example, the signal processing unit 1020 and the electromagnetic signal generating circuit 1010.
Fig. 3 is a schematic diagram of a hardware structure of a signal processing apparatus 1020 according to an embodiment of the present invention.
As shown in fig. 3, the signal processing apparatus 1020 may include one or more memories 1021 and one or more processors 1022.
The memory 1021 may include, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like.
The processor 1022 may be a mobile version processor, or may be a single chip microcomputer.
The memory 1021 is used for storing instructions for controlling the processor 1022 to operate so as to execute the signal processing method according to the embodiment of the present invention, and those skilled in the art can design the instructions according to the technical solutions disclosed in the present invention. How the instructions control the operation of the processor is well known in the art, and embodiments of the present invention are not described in detail herein.
< method examples >
Fig. 4 is a schematic flow chart of a signal processing method of the electromagnetic pen 1000 according to an embodiment of the present invention.
Referring to fig. 4, a signal processing method of the electromagnetic pen 1000 of the present embodiment is implemented by the signal processing apparatus 1020, and the signal processing method may include the following steps:
in step S4210, the signal processing apparatus 1020 acquires information to be transmitted of the electromagnetic pen 1000.
In one embodiment of the present invention, the information to be transmitted by electromagnetic pen 1000 may include pen tip pressure information.
In this embodiment, the electromagnetic pen 1000 may collect the pen tip pressure information by providing the pen tip pressure detection device, and provide the collected pen tip pressure information to the signal processing device 1020 through the pen tip pressure detection device.
According to this embodiment, the electromagnetic induction device 2000 can perform writing control based on the obtained pen tip pressure information.
In one embodiment of the present invention, the information to be transmitted by the electromagnetic pen 1000 may include at least one operation state information triggered by the operation of the electromagnetic pen 1000. According to the embodiment, the electromagnetic pen 1000 may include an operation portion for a user to operate, and the operation portion may include any one or more of a key, a button, a slider, and a wheel.
According to this embodiment, the electromagnetic pen 1000 may provide a mapping relationship between the function settings and the operation modes when it is shipped from a factory, and the user may realize corresponding function settings by triggering the operation portion according to the mapping relationship.
In this embodiment, the content of the operation state information may characterize the operation mode, and may also characterize the mapped function setting. The electromagnetic induction device 2000 may implement a corresponding function according to the obtained operation state information.
The function settings and corresponding operating modes can be set according to product design, as well as user requirements and the user's usual operating habits.
For example, the function setting includes selecting and opening an object, and the corresponding operation mode may be clicking one key of the electromagnetic pen 1000, and the like.
For another example, the function setting includes switching any one of a font, a font size, and a color, and the corresponding operation mode may be a single click, a double click, or a long press of a key of the electromagnetic pen 1000.
For another example, the function setting includes waking up the electromagnetic pen 1000, and the corresponding operation mode may be long pressing a key of the electromagnetic pen 1000, and the like.
For another example, the function setting includes erasing written contents, and the corresponding operation manner may be pressing a button or the like as an eraser. This may be triggered by the user performing an erasing action on the electromagnetic screen using the eraser.
In step S4220, the signal processing apparatus 1020 digitally encodes the information to be transmitted to obtain corresponding digitally encoded information.
According to this step S4220, the digital code is a code using binary numbers 0 and 1, and the digital code information may be composed of binary numbers 0 and 1.
In this embodiment, any digital coding mode may be adopted, as long as the information to be transmitted can be obtained by decoding according to the agreement of the transmitting and receiving parties. Such as, but not limited to, non-return-to-zero encoding, manchester encoding, or differential manchester encoding.
In an embodiment of the present invention, the signal processing apparatus 1020 may obtain a signal to be transmitted according to a scanning period, and digitally encode the obtained signal to be transmitted every scanning period.
In an embodiment of the present invention, the signal processing apparatus 1020 may also obtain a signal to be transmitted according to the scanning period, and trigger the digital encoding operation when detecting that the current state of the signal to be transmitted changes from the previous state. This can reduce the load on the processor and the amount of signal transmission, and is advantageous for increasing the response speed of the electromagnetic induction device. In this embodiment, the step S4220 of digitally encoding the information to be transmitted to obtain corresponding digitally encoded information may include the following steps:
in step S4221, the signal processing apparatus 1020 detects whether the current state of the information to be transmitted changes from the previous state.
In this embodiment, the signal processing device 1020 obtains the signal to be transmitted according to the scanning period, that is, the signal processing device 1020 reads the signal to be transmitted provided by other components except the signal processing device in each scanning period, for example, reads the pen tip pressure information acquired by the pen tip pressure detection device. Therefore, the state of the information to be transmitted scanned by the signal processing apparatus 1020 in the current scanning period is the current state of the information to be transmitted, and the state of the information to be transmitted scanned by the signal processing apparatus 1020 in the previous scanning period is the previous state of the information to be transmitted. In an example of the present invention, the step S4221 in which the signal processing apparatus 1020 detects whether the current state of the information to be transmitted changes from the previous state includes: signal processing unit 1020 detects whether the current state of nib pressure information of electromagnetic pen 1000 has changed from the previous state.
For example, the last state is that the electromagnetic pen 1000 is not used to write on the electromagnetic screen, and the current state is that the electromagnetic pen 1000 is used to write on the electromagnetic screen. That is, the previous state of the nib pressure information corresponds to the nib pressure being zero, and the current state of the nib pressure information corresponds to the nib pressure being a certain value greater than zero, so that the current state of the nib pressure information changes from the previous state.
In an example of the present invention, the step S4221 in which the signal processing apparatus 1020 detects whether the current state of the information to be transmitted changes from the previous state includes: the signal processing unit 1020 detects whether the current state of any one of the operation state information of the electromagnetic pen 1000 is changed from the previous state thereof.
For example, the at least one piece of operation state information includes first operation state information obtained by operating a key, where a previous state of the first operation state information corresponds to the key not being pressed, and a current state of the first operation state information corresponds to the key being pressed, and then the current state of the first operation state information changes from the previous state.
For another example, the at least one operation state information includes second operation state information obtained by operating the eraser button, a previous state of the second operation state information corresponds to the eraser button not being pressed, and a current state of the second operation state information corresponds to the eraser button being pressed, so that the current state of the second operation state information changes from the previous state.
In step S4222, when the signal processing device 1020 detects that the current state of the information to be transmitted changes from the previous state, the signal processing device 1020 digitally encodes the information to be transmitted that changes, or digitally encodes the information variation of the information to be transmitted that changes, to obtain corresponding digitally encoded information.
In an example of the present invention, step S4222 may be: and when detecting that the current state of the information to be transmitted changes relative to the previous state, carrying out digital coding on the information to be transmitted to obtain corresponding digital coding information.
For example, the information to be transmitted includes nib pressure information, and when the current state of the nib pressure information changes from the previous state, the information to be transmitted is digitally encoded to obtain corresponding digitally encoded information.
For another example, the information to be transmitted includes at least one operation state information, and when the current state of any operation state information changes relative to the previous state, the information to be transmitted is digitally encoded to obtain corresponding digitally encoded information.
In an example of the present invention, step S4222 may be: and when detecting that the current state of the information to be transmitted changes relative to the previous state, digitally coding the changed information to be transmitted to obtain corresponding digitally coded information.
For example, the information to be sent includes nib pressure information and at least one operation state information, and when the current state of the nib pressure information changes relative to the previous state and the current state of the operation state information does not change relative to the previous state, only the nib pressure information that has currently changed is digitally encoded to obtain corresponding digital encoded information.
For another example, the information to be transmitted includes pen tip pressure information and at least one operation state information, and when the current state of any one operation state information changes relative to the previous state and the current state of other information does not change relative to the previous state, only the changed operation state information is digitally encoded to obtain corresponding digitally encoded information.
In an example of the present invention, step S4222 may be: and when detecting that the current state of the information to be transmitted changes relative to the previous state, digitally encoding the information variation of the changed information to be transmitted to obtain corresponding digitally encoded information.
For example, the information to be sent includes nib pressure information, and when the current state of the nib pressure information changes relative to the previous state, the information change amount of the nib pressure information is digitally encoded to obtain corresponding digitally encoded information. The information change amount is a change amount of the current state from the previous state, and the current state of the pen tip pressure information indicates a pressure value C2, the previous state of the pen tip pressure information indicates a pressure value C1, and the information change amount indicates a pressure change amount Δ C — C2-C1.
For another example, the information to be transmitted includes third operation state information obtained by operating the slider, and when the current state of the third operation state information changes relative to the previous state, the information change amount of the third operation state information is digitally encoded to obtain corresponding digitally encoded information. Assuming that the current state of the third operation state information indicates the slider position S2, the previous state of the third operation state information indicates the slider position S1, and the information change amount indicates the position change amount Δ S — S2-S1.
In step S4230, the signal processing device 1020 controls the electromagnetic signal generating circuit of the electromagnetic pen 1000 to generate a changing electromagnetic signal according to the digital encoded information.
The electromagnetic pen 1000 includes an electromagnetic signal generating circuit, and the changed electromagnetic signal is set to represent information to be sent, which may be understood as that the changed electromagnetic signal carries the information to be sent, and after receiving the changed electromagnetic signal, the electromagnetic induction device may decode the changed electromagnetic signal according to a communication protocol agreed by the transmitting and receiving parties to obtain the information to be sent.
In an embodiment of the present invention, the controlling of the electromagnetic signal generating circuit of the electromagnetic pen 1000 by the signal processing apparatus 1020 to generate the changed electromagnetic signal according to the digitally encoded information may include: the signal processing unit 1020 controls the electromagnetic signal generating circuit to switch on and off according to the digital coding signal to generate a varying electromagnetic signal.
According to this embodiment, the electromagnetic pen 1000 may be provided with a switching circuit connected to the electromagnetic signal generating circuit, and the switching circuit may gate-connect the first switch or the second switch under the action of the gate control signal. After the signal processing device 1020 digitally encodes the information to be transmitted and obtains the corresponding digitally encoded signal, the signal processing device 1020 may use the digitally encoded signal as a gating control signal to control the gating connection of the switching circuit, thereby controlling the electromagnetic signal generating circuit to switch between on and off.
For example, the switching circuit is controlled to gate the first switch when the digital code signal is 0, and to gate the second switch when the digital code signal is 1.
For another example, when the first switch is gated on, the electromagnetic signal generating circuit is turned on, and at this time, the electromagnetic signal generating circuit generates a resonance signal of a fixed frequency, and when the second switch is gated on, the electromagnetic signal generating circuit is turned off, and at this time, the electromagnetic signal generating circuit generates a low level signal.
Therefore, the method of the embodiment of the invention controls the electromagnetic signal generating circuit to generate the changed electromagnetic signal based on the digital coding signal, thereby realizing the information transmission. Because the digital signal has the characteristic of strong anti-interference performance compared with the analog signal, the method provided by the embodiment of the invention can obviously improve the anti-interference capability of the electromagnetic pen 1000, thereby being beneficial to ensuring that the pen pressure of the electromagnetic pen 1000 shows stable linear change and improving the writing experience.
In one embodiment of the present invention, the signal processing method of the present invention may further include the steps of:
in step S4240, the signal processing apparatus 1020 acquires the use state information of the electromagnetic pen 1000.
In step S4240, the use state information is set to reflect whether the electromagnetic pen 1000 is used.
For example, the usage status information may include at least tip pressure information.
The pen tip pressure information is not only a signal to be transmitted, which the signal processing device 1020 needs to transmit to the electromagnetic induction device 2000, but also is used as the use state information for the signal processing device 1020 to determine whether the electromagnetic pen 1000 is used.
As another example, the usage status information may also include vibration information provided by a vibration sensor.
In step S4250, the signal processing apparatus 1020 determines whether the electromagnetic pen 1000 is used or not, based on the use state information.
For example, the use state information may include tip pressure information, and the determining whether the electromagnetic pen 1000 is used in step S4250 may include: judging whether the current value of the pen point pressure reaches (is larger than or equal to) a set value or not according to the pen point pressure information; and, when the current value of the pen tip pressure reaches the set value, it is determined that the electromagnetic pen 1000 is used.
The set value may be set according to a minimum pressure value when the electromagnetic pen 1000 is used to write on the electromagnetic screen, for example, the set value may be equal to the minimum pressure value or slightly smaller than the minimum pressure value.
For another example, the usage state information may further include vibration information, and the determining whether the electromagnetic pen 1000 is used in step S4250 may include: and under the condition that the current value of the pen point pressure is lower than the set value, judging whether the vibration amplitude is smaller than or equal to the set amplitude according to the vibration information, and judging that the electromagnetic pen 1000 is not used when the vibration amplitude is smaller than or equal to the set amplitude.
The set amplitude may be set according to a maximum vibration amplitude that can be generated when the electromagnetic pen 1000 is not in use.
In step S4260, when the signal processing apparatus 1020 determines that the electromagnetic pen 1000 is used, the electromagnetic signal generating circuit of the electromagnetic pen 1000 is turned on.
In step S4270, when the signal processing apparatus 1020 determines that the electromagnetic pen 1000 is not used, the electromagnetic signal generating circuit of the electromagnetic pen 1000 is turned off.
According to the method of the embodiment of the invention, the signal processing device 1020 can detect whether the electromagnetic pen 1000 is used or not based on the use state information, and automatically control the electromagnetic signal generating circuit to be switched on or switched off according to the detection result, so that the starting and sleep control of the electromagnetic signal generating circuit is realized, and the power consumption is reduced.
Fig. 5 is a schematic flow chart of an interaction process between the electromagnetic pen 1000 and the electromagnetic induction device 2000 according to an embodiment of the present invention.
As shown in fig. 1 and fig. 5, the interaction process of the present embodiment may include the following steps:
in step S5210, the signal processing apparatus 1020 of the electromagnetic pen 1000 acquires information to be transmitted.
In step S5220, the signal processing apparatus 1020 of the electromagnetic pen 1000 detects whether the current state of the information to be transmitted has changed from the previous state.
In step S5230, when detecting that the current state of the information to be transmitted changes from the previous state, the signal processing device 1020 of the electromagnetic pen 1000 digitally encodes the information to be transmitted, the changed information to be transmitted, or the information change amount of the changed information to be transmitted, to obtain corresponding digitally encoded information.
In step S5240, the signal processing device 1020 of the electromagnetic pen 1000 controls the electromagnetic signal generating circuit of the electromagnetic pen 1000 to generate a varying electromagnetic signal according to the digital encoded information.
In step S5250, after the electromagnetic induction device 2000 receives the changed electromagnetic signal, the electromagnetic induction device decodes the received changed electromagnetic signal to obtain and respond to the information to be transmitted, which is sent by the electromagnetic pen 1000.
According to the technical scheme provided by the embodiment of the invention, the electromagnetic pen 1000 can control the electromagnetic signal generating circuit to generate and output a changed electromagnetic signal based on digital coding information, and the electromagnetic induction device decodes the changed electromagnetic signal based on a communication protocol agreed by a transmitting party and a receiving party after receiving the changed electromagnetic signal, so as to obtain a signal to be transmitted sent by the electromagnetic pen 1000 and respond to the signal.
< example 1>
Fig. 6 is a flowchart illustrating a corresponding signal processing method, taking the example where the electromagnetic pen 1000 transmits pen tip pressure information to the electromagnetic induction device 2000. As shown in fig. 6, in this example, the signal processing method may include the steps of:
in step S6210, the signal processing device 1020 of the electromagnetic pen 1000 acquires pen tip pressure information.
The nib pressure information may be provided by a nib pressure detection apparatus provided in the electromagnetic pen 1000.
In step S6220, when the current state of the nib pressure information changes from the previous state, the signal processing device 1020 of the electromagnetic pen 1000 obtains the amount of change in the pressure value according to the nib pressure information.
For example, the pen tip pressure detection device may employ a capacitive pressure sensor, the measurement principle of the sensor is to form a variable capacitor, and the capacitance value of the variable capacitor varies with the pressure value of the detected pressure, i.e. the capacitance value and the pressure value have a unique mapping relation. Therefore, the amount of change in the pressure value in step S6220 can also be represented by the amount of change in the capacitance value.
In step S6230, the signal processing device 1020 of the electromagnetic pen 1000 digitally encodes the variation amount of the pressure value to generate digital encoded information.
Step S6240, controlling the electromagnetic signal generating circuit of the electromagnetic pen 1000 to generate a varying electromagnetic signal according to the digital coding information.
In step S6240, the digital coded information is composed of binary number 0 and/or binary number 1, and for the code with binary number 0 in the digital coded information, the signal processing device 1020 of the electromagnetic pen 1000 may control the electromagnetic signal generating circuit to be turned on, and at this time, the electromagnetic signal generating circuit generates the resonance signal with fixed frequency; for codes with binary 1 in the digital coded information, the signal processing device 1020 of the electromagnetic pen 1000 may control the electromagnetic signal generating circuit to be turned off, and at this time, the electromagnetic signal generating circuit will generate a constant low level signal. In this way, the signal processing apparatus 1020 can control the electromagnetic signal processing circuit to switch between generating the resonance signal and generating the low level signal, thereby generating the varying electromagnetic signal.
< embodiment of Signal processing apparatus >
Fig. 7 is a schematic block diagram of a signal processing apparatus 1020 of an electromagnetic pen 1000 according to an embodiment of the present invention.
As shown in fig. 7, the signal processing apparatus 1020 according to the embodiment of the present invention may include an information obtaining module 7010, an encoding module 7020, and a control module 7030.
The information acquiring module 7010 is configured to acquire information to be transmitted of the electromagnetic pen 1000.
In one embodiment of the present invention, the information to be transmitted may include tip pressure information and/or at least one operation state information triggered by operating electromagnetic pen 1000.
The encoding module 7020 is configured to digitally encode information to be transmitted to obtain digitally encoded information.
The control module 7030 is configured to control an electromagnetic signal generating circuit of the electromagnetic pen 1000 to generate a changing electromagnetic signal according to the digital coding information, so as to represent the information to be sent by the changing electromagnetic signal.
In one embodiment of the present invention, the control module 7030 can be further configured to control the electromagnetic signal generating circuit to switch between on and off to generate a varying electromagnetic signal based on the digitally encoded information.
In one embodiment of the present invention, the encoding module 7020 may include a detecting unit and an encoding unit (not shown in the figure).
The detection unit is used for detecting whether the current state of the information to be sent changes relative to the last state.
The coding unit is used for digitally coding the information to be transmitted, the changed information to be transmitted or the information variation quantity of the changed information to be transmitted when the current state of the information to be transmitted changes relative to the previous state, so as to obtain corresponding digitally coded information.
In an embodiment of the present invention, the signal processing apparatus 1020 may further include a use state determining module and a circuit control module (not shown in the figure).
The use state determining module is configured to obtain use state information of the electromagnetic pen 1000, and determine whether the electromagnetic pen 1000 is used according to the use state information.
The circuit control module is used for switching on an electromagnetic signal generating circuit of the electromagnetic pen 1000 when judging that the electromagnetic pen 1000 is used; and for disconnecting the electromagnetic signal generating circuit when it is determined that the electromagnetic pen 1000 is not used.
The circuit control module and the control module 7030 may be implemented by corresponding to the same module, or may be implemented by corresponding to different modules.
In an embodiment of the present invention, the usage status information at least includes nib pressure information, and the usage status determining module may be further configured to determine whether the current value of the nib pressure reaches a set value according to the nib pressure information, and determine that the electromagnetic pen 1000 is used when the current value of the nib pressure reaches the set value.
< electromagnetic Pen embodiment >
Fig. 8 is a schematic block diagram of a circuit configuration of an electromagnetic pen 1000 according to an embodiment of the present invention.
As shown in fig. 8, the electromagnetic pen 1000 of the present embodiment may include an electromagnetic signal generating circuit 1010, a signal processing device 1020 for performing signal processing, and a power supply device 1030 for supplying power to the electromagnetic signal generating circuit 1010 and the signal processing device 1020.
In this embodiment, the information to be transmitted of the electromagnetic pen 1000 corresponding to the electromagnetic induction device 2000 may include at least pen tip pressure information provided by the pen tip pressure detection device 1040.
Correspondingly, in this embodiment, the electromagnetic pen 1000 may further include a pen tip 1050 and a pen tip pressure detection device 1040 as shown in fig. 10, where the pen tip pressure detection device 1040 is configured to provide an electrical signal representing pen tip pressure to the signal processing device 1020, and the signal processing device 1020 is configured to obtain pen tip pressure information according to the electrical signal. In this embodiment, the information to be sent may further include at least one operation status information.
Correspondingly, in this embodiment, the electromagnetic pen 1000 may further include an operation detection circuit 1060, the operation detection circuit 1060 includes an operation portion exposed to the outside through a pen casing of the electromagnetic pen 1000, the operation detection circuit 1060 is configured to output a corresponding electrical signal according to a state of the operation portion, and the signal processing device 1020 is configured to obtain operation state information according to the electrical signal provided by the operation detection circuit 1060.
The operation portion may include at least one of a key, a button, a sliding member, and a rolling member, and is exposed to the outside through the pen case of the electromagnetic pen 1000 for a user to operate.
Taking the operation portion as a key, a button, etc. as an example, the operation detection circuit 1060 may include a pull-up resistor and a switch controlled by the operation portion, the pull-up resistor and the switch are connected in series between the power terminal and the ground terminal, the operation detection circuit 1060 may output a low-level signal through a potential point between the pull-up resistor and the switch when the operation portion is operated so that the switch is closed, and the operation detection circuit 1060 may output a high-level signal through the potential point when the operation portion is reset so that the switch is opened. Thus, the signal processing apparatus 1020 can obtain the operation state information according to the electric signal output by the operation detection circuit 1060.
Taking the sliding member such as a slider as an operating part, the operation detection circuit 1060 may include a sliding rheostat whose resistance value is changed by the sliding of the sliding member, and the operation detection circuit 1060 may output a voltage signal having a mapping relation with the resistance value of the sliding rheostat, so that the signal processing device 1020 may obtain the position of the sliding member according to the voltage signal, and further obtain the operation state information.
In an embodiment of the present invention, the pen tip pressure information may also be used as the use state information, and the signal processing device 1020 may determine the use state of the electromagnetic pen 1000 based on at least the pen tip pressure information.
In an embodiment of the present invention, the electromagnetic pen 1000 may further include a vibration sensor (not shown in the figure), and the vibration sensor collects vibration information and provides the vibration information to the signal processing apparatus 1020, so that the signal processing apparatus 1020 determines the usage status of the electromagnetic pen 1000 by combining the pen tip pressure information.
In this embodiment, the electromagnetic pen 1000 may further include a switch circuit 1080, the switch circuit 1080 is controlled by the signal processing device 1020, and has a first switch state and a second switch state, the switch circuit 1080 is connected to the electromagnetic signal generating circuit 1010, the connection is configured to enable the switch circuit 1080 to switch on the electromagnetic signal generating circuit 1010 in the first switch state, and to switch off the electromagnetic signal generating circuit 1010 in the second switch state.
According to this embodiment, the signal processing device 1020 can control the switch circuit 1080 to switch between the first switch state and the second switch state according to the digitally encoded information, thereby generating the varying electromagnetic signal.
In one embodiment of the present invention, as shown in fig. 9, the switch circuit 1080 may include a first switch corresponding to a first switch state and a second switch corresponding to a second switch state, and the first switch and the second switch may have a common connection end, forming a single-pole double-throw analog switch circuit.
For example, the electromagnetic signal generating circuit adopts an LC oscillating circuit, which includes a capacitor C and an inductor L, one end of the inductor L is connected to one end of the capacitor C, the other end of the capacitor C is connected to a power supply terminal VCC, the other end of the inductor L is connected to a common connection terminal of the switching circuit, a free end of the first switch is connected to the power supply terminal VCC, and a free end of the second switch is connected to a ground terminal via a resistor R.
The switch circuit 1080 has a gate control terminal connected to the signal processing unit 1020 for receiving the gate control signal outputted from the signal processing unit 1020 according to the digital encoded signal. When the switching circuit 1080 gates the first switch, the electromagnetic signal generating circuit 1010 is turned on, for example, to form an LC oscillating circuit, generating a resonance signal. When the switching circuit 1080 is gated to connect the second switch, the electromagnetic signal generating circuit 1010 is disconnected, the capacitor and the inductor are grounded in series, and a constant low level signal is generated.
In this embodiment, the electromagnetic pen 1000 may further include a power switch 1090, where the power switch 1090 is connected to an output circuit of the power supply unit 1030 for supplying power to the electromagnetic signal generating circuit 1010 and the signal processing unit 1020.
In the present embodiment, the power switch 1090 is a master switch of the electromagnetic pen 1000, and is used for controlling whether the power supply device 1030 supplies the operating voltage to the electrical appliances of the electromagnetic pen 1000. When the power switch 1090 is closed, the electromagnetic pen 1000 starts to operate, and when the power switch 1090 is closed, the electromagnetic pen 1000 stops operating.
Fig. 10 is a schematic structural diagram of an electromagnetic pen 1000 according to an embodiment of the present invention.
Referring to fig. 10, the electromagnetic pen 1000 may include a pen case 1100, a PCB substrate 1300, and a pen tip 1050 disposed at a front end of the pen case 1100.
In the present embodiment, the electromagnetic signal generating circuit 1010, the signal processing apparatus 1020, the switching circuit 1080, the operation detecting circuit 1060, and the like may be disposed on the PCB substrate 1300.
The electromagnetic pen 1000 may further include a function button 1071 disposed on the pen casing 1100, and a user may trigger a corresponding function according to an operation manner corresponding to the function setting, wherein the function button 1071 is an operation portion of the electromagnetic pen 1000. For example, the electromagnetic pen 1000 is activated, an object is selected and opened, and functions such as copying, pasting, etc. are not limited in this embodiment of the present invention.
The electromagnetic pen 1000 may further include a pen tail eraser button 1072 disposed at a rear end of the pen case 1100, the pen tail eraser button 1072 being configured to implement an erasing function, wherein the eraser button 1072 is another operation part of the electromagnetic pen.
The electromagnetic pen 1000 may further include a battery 1200, where the battery 1200 is a part of the power supply unit 1030 and is located inside the pen casing 1100, for example, the battery 1200 may be a 1.5V lithium battery or other batteries, and the embodiment of the present invention is not limited herein.
The power supply unit 1030 may further include a voltage conversion circuit, wherein the voltage conversion circuit is configured to convert the voltage of the battery into an operating voltage required by the electrical devices of the electromagnetic pen 1000.
< example 2>
Fig. 11 is a flowchart illustrating signal processing of respective structures of the electromagnetic pen 1000 according to an example of the present invention.
As shown in fig. 11, in this example, the signal processing procedure may include the following steps:
in step S1110, the pen tip pressure detection means 1040 detects the pen tip pressure and supplies an electric signal representing the pen tip pressure to the signal processing means 1020.
In step S1120, the operation detection circuit 1060 detects the state of the operation unit and outputs a corresponding electric signal according to the state of the operation unit.
In this example, the execution of step S1110 and step S1120 is not in sequence, and step S1110 may be executed first, and then step S1120 may be executed.
In step S1130, the signal processing device 1020 obtains pen tip pressure information according to the electrical signal provided by the pen tip pressure detection device 1040; and/or, the signal processing device 1020 obtains the operation state information according to the electrical signal provided by the operation detection circuit 1060.
In step S1140, the signal processing apparatus 1020 digitally encodes the pen tip pressure information and/or the operation state information to obtain corresponding digitally encoded information.
In step S1150, the signal processing device 1020 controls the switching circuit 1080 to gate and connect the first switch or the second switch according to the digital encoded information, so that the electromagnetic signal generating circuit 1010 generates the changed electromagnetic signal for the electromagnetic induction device 2000 to receive.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (12)

1. A signal processing method of an electromagnetic pen, comprising:
acquiring information to be transmitted of the electromagnetic pen, wherein the electromagnetic pen is an active electromagnetic pen;
detecting whether the current state of the information to be sent changes relative to the last state; when the current state of the information to be sent changes relative to the previous state, digitally encoding the information to be sent, the changed information to be sent, or the changed information variation of the information to be sent to obtain corresponding digitally encoded information; the current state of the information to be sent is the state of the information to be sent obtained by scanning in the current scanning period, the last state is the state of the information to be sent obtained by scanning in the last scanning period, and the information variation is the variation of the current state of the information to be sent relative to the last state;
and controlling an electromagnetic signal generating circuit of the electromagnetic pen to generate a variable electromagnetic signal according to the digital coding information, wherein the variable electromagnetic signal is set to represent the information to be sent, and the electromagnetic signal generating circuit is an LC oscillating circuit.
2. The signal processing method of claim 1, wherein the controlling the electromagnetic signal generating circuit of the electromagnetic pen to generate the varying electromagnetic signal according to the digitally encoded information comprises:
and controlling the electromagnetic signal generating circuit to switch between on and off according to the digital coded information so as to generate the variable electromagnetic signal.
3. The signal processing method according to claim 1, wherein the information to be transmitted includes one or both of tip pressure information and operation state information triggered by operating the electromagnetic pen.
4. The signal processing method according to any one of claims 1 to 3, characterized in that the method further comprises:
acquiring the use state information of the electromagnetic pen;
judging whether the electromagnetic pen is used or not according to the use state information;
when the electromagnetic pen is judged to be used, an electromagnetic signal generating circuit of the electromagnetic pen is switched on;
and when the electromagnetic pen is judged not to be used, the electromagnetic signal generating circuit is disconnected.
5. The signal processing method according to claim 4, wherein the use state information includes at least tip pressure information, and the determining whether the electromagnetic pen is used according to the use state information includes:
judging whether the current value of the pen point pressure reaches a set value or not according to the pen point pressure information;
determining that the electromagnetic pen is used when the current value of the tip pressure reaches the set value.
6. A signal processing apparatus of an electromagnetic pen, comprising:
the information acquisition module is used for acquiring information to be transmitted of the electromagnetic pen, wherein the electromagnetic pen is an active electromagnetic pen;
the encoding module is used for detecting whether the current state of the information to be sent changes relative to the previous state; when the current state of the information to be sent changes relative to the previous state, digitally encoding the information to be sent, the changed information to be sent, or the changed information variation of the information to be sent to obtain corresponding digitally encoded information; the current state of the information to be sent is the state of the information to be sent obtained by scanning in the current scanning period, the last state is the state of the information to be sent obtained by scanning in the last scanning period, and the information variation is the variation of the current state of the information to be sent relative to the last state; and the number of the first and second groups,
and the control module is used for controlling an electromagnetic signal generating circuit of the electromagnetic pen to generate a changed electromagnetic signal according to the digital coding information so as to represent the information to be sent through the changed electromagnetic signal, and the electromagnetic signal generating circuit is an LC oscillating circuit.
7. A signal processing apparatus of an electromagnetic pen, comprising a memory for storing instructions for controlling the processor to operate to perform a signal processing method according to any one of claims 1 to 5, and a processor.
8. An electromagnetic pen comprising an electromagnetic signal generating circuit, a signal processing device according to claim 6 or 7, and power supply means for supplying power to said electromagnetic signal generating circuit and said signal processing device.
9. The electromagnetic pen of claim 8, further comprising a tip and tip pressure detection means for providing an electrical signal indicative of tip pressure to the signal processing means, the signal processing means for obtaining tip pressure information from the electrical signal;
the electromagnetic pen further comprises an operation detection circuit, the operation detection circuit comprises an operation part, the operation part is exposed outwards through a pen shell of the electromagnetic pen, the operation detection circuit is set to output a corresponding electric signal according to the state of the operation part, and the signal processing device is used for obtaining operation state information according to the electric signal provided by the operation detection circuit;
the information to be sent comprises one or two of the pen point pressure information and the operation state information.
10. The electromagnetic pen of claim 8, further comprising a switching circuit controlled by the signal processing means, the switching circuit having a first switching state and a second switching state, the switching circuit being connected to the electromagnetic signal generating circuit, the connection being arranged such that the switching circuit switches on the electromagnetic signal generating circuit in the first switching state and switches off the electromagnetic signal generating circuit in the second switching state.
11. The electromagnetic pen of claim 8, further comprising a power switch connected to an output circuit of the power supply device that powers the electromagnetic signal generating circuit and the signal processing device.
12. An electromagnetic induction system, comprising an electromagnetic induction device and the electromagnetic pen of any one of claims 8 to 11, wherein the electromagnetic induction device comprises an electromagnetic signal receiving circuit for receiving a varying electromagnetic signal generated by an electromagnetic signal generating circuit of the electromagnetic pen and decoding the varying electromagnetic signal to obtain information to be transmitted.
CN201810829468.XA 2018-07-25 2018-07-25 Signal processing method and device, electromagnetic pen and electromagnetic induction system Active CN109240517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810829468.XA CN109240517B (en) 2018-07-25 2018-07-25 Signal processing method and device, electromagnetic pen and electromagnetic induction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810829468.XA CN109240517B (en) 2018-07-25 2018-07-25 Signal processing method and device, electromagnetic pen and electromagnetic induction system

Publications (2)

Publication Number Publication Date
CN109240517A CN109240517A (en) 2019-01-18
CN109240517B true CN109240517B (en) 2022-02-22

Family

ID=65072406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810829468.XA Active CN109240517B (en) 2018-07-25 2018-07-25 Signal processing method and device, electromagnetic pen and electromagnetic induction system

Country Status (1)

Country Link
CN (1) CN109240517B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111391541B (en) * 2020-06-04 2020-09-15 深圳市千分一智能技术有限公司 Active pen control method and active pen
CN113625889B (en) * 2021-10-11 2022-02-08 广东新空电子科技股份有限公司 Touch handwriting generating method and device based on touch screen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714037A (en) * 2008-10-02 2010-05-26 株式会社和冠 Combination touch and transducer input system and method
CN102023698A (en) * 2009-09-11 2011-04-20 昆盈企业股份有限公司 Electricity-saving managing method and system for computer peripheral devices
CN102478974A (en) * 2010-11-30 2012-05-30 汉王科技股份有限公司 Electromagnetic pen for electronic whiteboard and control method thereof
CN103105956A (en) * 2011-11-11 2013-05-15 汉王科技股份有限公司 Position indicating device and position indicating method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10423245B2 (en) * 2014-01-31 2019-09-24 Qualcomm Incorporated Techniques for providing user input to a device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714037A (en) * 2008-10-02 2010-05-26 株式会社和冠 Combination touch and transducer input system and method
CN102023698A (en) * 2009-09-11 2011-04-20 昆盈企业股份有限公司 Electricity-saving managing method and system for computer peripheral devices
CN102478974A (en) * 2010-11-30 2012-05-30 汉王科技股份有限公司 Electromagnetic pen for electronic whiteboard and control method thereof
CN103105956A (en) * 2011-11-11 2013-05-15 汉王科技股份有限公司 Position indicating device and position indicating method

Also Published As

Publication number Publication date
CN109240517A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN104995586B (en) The pen of digitization system
CN110377170B (en) Touch stylus and control method thereof
CN104866200B (en) Wake up the method, apparatus and handheld device of handheld device
CN109240517B (en) Signal processing method and device, electromagnetic pen and electromagnetic induction system
CN111831138B (en) Signal identification method and device of wireless earphone and wireless earphone
JP2019516141A (en) Truth handwriting touch pen and touch device
CN104090821B (en) Full touch system Activiation method and its system
CN104484063A (en) Active capacitance pen and touch device
US20190324562A1 (en) Method for detecting pressure of active pen, device and active pen
CN103605471A (en) Single-hand control method and device and handheld device
CN106598283B (en) Signal decoding and modulation processing system for capacitive touch pen
US8587524B2 (en) Remote control for electronic reader and remote control method
WO2012139341A1 (en) Stylus, mobile terminal, and method for operating the mobile terminal using the stylus
CN103941891A (en) Capacitance pen, capacitance touch method and capacitance touch device
CN103677417A (en) Gesture detection method and device and terminal device
CN101893990A (en) Hand input system for remote controller and method thereof
CN102221865A (en) Infrared control system
WO2018200169A1 (en) Increasing low-force accuracy at a device
CN108920052A (en) page display control method and related product
KR20140137629A (en) Mobile terminal for detecting earphone connection and method therefor
CN109710091B (en) Angle information processing method and device and touch sensing system
CN104376245A (en) Operating authority determination method and system for industrial human-machine interface
CN105335434A (en) Log management method and device, and electronic equipment
TW560216B (en) Remote control receiver and method of controlling the same
CN112558797B (en) Active pen, control method and device thereof, and computer-readable storage medium

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190118

Assignee: Shenzhen Hanwang Pengtai Technology Co.,Ltd.

Assignor: HANVON PENTECH Co. TTD

Contract record no.: X2022980018757

Denomination of invention: Signal processing method, device, electromagnetic pen and electromagnetic induction system

Granted publication date: 20220222

License type: Common License

Record date: 20221025