CN112306263A - Active stylus and wireless signal generation method thereof - Google Patents
Active stylus and wireless signal generation method thereof Download PDFInfo
- Publication number
- CN112306263A CN112306263A CN201910693314.7A CN201910693314A CN112306263A CN 112306263 A CN112306263 A CN 112306263A CN 201910693314 A CN201910693314 A CN 201910693314A CN 112306263 A CN112306263 A CN 112306263A
- Authority
- CN
- China
- Prior art keywords
- signal
- processing unit
- key
- sending
- data segment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing 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/03545—Pens or stylus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/005—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/02—Transmitters
- H04B1/04—Circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (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 invention relates to an active touch pen and a wireless signal generation method thereof. Because the frequencies of the first and second key sending signals are different, when a receiving end receives the first and second key sending signals, the first and second key sending signals which are sent simultaneously can be respectively switched on through filtering or Fourier transformation, so that the overall time for sending the first and second key sending signals can be shortened, and wireless signals can be sent quickly.
Description
Technical Field
The present invention relates to a stylus and a wireless signal generating method, and more particularly, to an active stylus and a wireless signal generating method thereof.
Background
Generally, the active stylus transmits a wireless signal to a tablet pc or a smart phone through wireless communication to perform wireless communication with the tablet pc or the smart phone, so that the tablet pc or the smart phone can determine an operation of a user on the active stylus, for example, the user can press a key provided on the active stylus to perform a specific operation, such as executing a function of a previous page or a next page.
For example, a sending end firstly sends a wireless signal with initial information at the beginning, which represents that the wireless signal to be sent next has various information, then sends a wireless signal with first information, when the wireless signal with first information is sent, and after a time interval, sends a wireless signal with second information, and so on, until all the information is sent, finally sends a wireless signal with end information, which represents that the information is completely sent, thereby forming a sending period.
A receiving end receives the wireless signal continuously, and when the received wireless signal is judged to have the initial information, the receiving end represents that the next wireless signal has various information, and the receiving end can calculate the various information in the wireless signal according to the time interval between the receiving end and the initial information. For example, the first message is immediately followed by the start message, the second message is followed, and so on. Therefore, the transmitting end and the receiving end can communicate through the wireless signals.
However, when a large amount of data is transmitted, the conventional wireless signal transmission method in the wireless communication technology needs a considerable amount of time for transmitting each data, which results in a slow data transmission speed. Therefore, there is a need for further improvement of the wireless signal transmission method of the conventional wireless communication technology.
Disclosure of Invention
In view of the disadvantages of the conventional wireless signal transmission method in wireless communication technology that it takes too long time to transmit a large amount of data, resulting in slow transmission speed, the present invention provides a wireless signal generation method for an active stylus pen to transmit a wireless signal quickly. The method for generating the wireless signal of the active stylus is executed by the active stylus and comprises the following steps:
generating and transmitting a first beacon signal;
waiting for a first time interval;
judging whether a first key signal or a second key signal is generated;
when the first key signal and the second key signal are both generated, a first key sending signal is generated according to a first frequency, a second key sending signal is generated according to a second frequency, and the first key sending signal and the second key sending signal are sent.
The active stylus includes a first key unit, a second key unit, a wireless signal transmitting unit, and a processing unit. The first key unit is used for generating a first key signal. The second key unit is used for generating a second key signal.
The processing unit is electrically connected to the first key unit, the second key unit and the wireless signal transmitting unit, generates a first beacon signal and transmits the first beacon signal through the wireless signal transmitting unit.
After the processing unit sends the first beacon signal, the processing unit waits for a first time interval and judges whether a first key signal generated by the first key unit or a second key signal generated by the second key unit is received.
When the processing unit receives the first key signal and the second key signal, the processing unit sends a composite signal, wherein the composite signal comprises a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency.
The invention relates to an active touch pen and a wireless signal generating method thereof. When a receiving end, such as a tablet computer, receives the composite signal, because the frequencies of the first key sending signal and the second key sending signal are different, the first key sending signal and the second key sending signal which are sent simultaneously can be separated through filtering or Fourier transform, and corresponding functions are executed according to the first key sending signal and the second key sending signal.
Therefore, even if the first key sending signal and the second key sending signal are sent simultaneously, the receiving end can separate the first key sending signal from the second key sending signal, and the first key sending signal and the second key sending signal are sent simultaneously, so that time-sharing sending is not needed, the overall sending time for sending the first key sending signal and the second key sending signal can be further shortened, and wireless signals can be sent rapidly.
Drawings
Fig. 1 is a flowchart illustrating a method of generating a wireless signal of an active stylus according to a first preferred embodiment of the present invention.
Fig. 2 and 3 are schematic waveforms of wireless signals generated by the active stylus wireless signal generating method according to the present invention.
Fig. 4 and 5 are schematic flow charts of a method for generating a wireless signal of an active stylus according to a second preferred embodiment of the present invention.
FIG. 6 is a waveform diagram of a wireless signal generated by the method for generating a wireless signal of an active stylus according to the present invention.
FIG. 7 is a flowchart illustrating a method for generating a wireless signal of an active stylus according to a third preferred embodiment of the present invention.
FIG. 8 is a waveform diagram of a wireless signal generated by the method for generating a wireless signal of an active stylus according to the present invention.
FIG. 9 is a flowchart illustrating a method for generating a wireless signal of an active stylus according to a fourth preferred embodiment of the present invention.
FIG. 10 is a block diagram of an active stylus according to a preferred embodiment of the invention.
Detailed Description
The technical means adopted by the invention to achieve the preset purpose are further described below by combining the drawings and the preferred embodiment of the invention.
Referring to fig. 1, the present invention is an active stylus and a wireless signal generating method thereof, wherein the wireless signal generating method of the active stylus is performed by the active stylus, and a first preferred embodiment of the wireless signal generating method of the active stylus is performed by the active stylus:
generating and transmitting a first beacon signal (S101);
waiting a first time interval (S102);
judging whether a first key signal or a second key signal is generated (S103);
when the first key signal and the second key signal are both generated, a composite signal is sent, wherein the composite signal comprises a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency (S104).
As shown in fig. 2, only two beacon signals 11 are transmitted at different time points, and the beacon signal 11 represents a signal of a start time of a transmission period. In the preferred embodiment, the transmission time t of the beacon signal 1111Which may be 1 millisecond (ms), the transmission period t2Which may be 7.2 milliseconds (ms).
As shown in fig. 3, only for further explanation of a composite signal 12 after each beacon signal 11, after the active stylus transmits the beacon signal 11, the first time interval t is waited for31And when the first key signal and the second key signal are both generated, the composite signal 12 is sent, and the composite signal 12 includes a first key sending signal and a second key sending signal. In the preferred embodiment, the first time interval t310.032 milliseconds (ms), the first frequency being 18 kilohertz (kHz), the second frequency being 31 kilohertz (kHz), the transmission time t of the composite signal 1212Time t of transmission of the beacon signal 1111The same is 1 millisecond (ms).
The invention relates to a wireless signal generating method of an active touch pen, which utilizes the first frequency to generate a first key sending signal, utilizes the second frequency to generate a second key sending signal and simultaneously sends a composite signal 12 containing the first key sending signal and the second key sending signal. When a receiving end, such as a tablet computer, receives the composite signal 12, the first key sending signal and the second key sending signal in the composite signal 12 can be respectively switched on through filtering or fourier transform because the frequencies of the first key sending signal and the second key sending signal are different.
Therefore, the first key sending signal and the second key signal do not need to be separated to be sent by two sending times, and only one sending time t needs to be passed1The composite signal 12 is transmitted, so that the overall time for transmitting the first key transmission signal and the second key transmission signal can be further saved, and the wireless signal can be transmitted quickly.
For example, the active stylus pen is provided with a first key unit and a second key unit for respectively executing different functions, and when the first key unit is pressed, the active stylus pen generates the first key signal, and similarly, when the second key unit is pressed, the active stylus pen generates the second key signal. Generally, a user can directly use the active stylus to perform touch operations, such as moving a screen, clicking a link, etc., on the touch display panel of the receiving end. When the user presses the first key unit, the receiving terminal switches modes, and the touch operation of the user on the touch display panel of the receiving terminal using the active stylus pen becomes to record and display the handwriting of the user, that is, the user can draw a picture or record a note on the touch display panel of the receiving terminal. In addition, when the user presses the second key unit, the receiving terminal switches the mode again, and at this time, the touch operation of the user on the touch display panel of the receiving terminal using the active stylus pen becomes to remove the handwriting of the user, in short, the user can use the function similar to an eraser to remove the note, thereby providing a convenient use environment for the user, allowing the user to quickly switch between recording the note and moving the picture, and quickly removing the miscorrected note to re-record.
In other words, the active stylus detects the pressing states of the first key unit and the second key unit of the active stylus once in a sending period, and generates the first key signal or the second key signal according to the detection result. For example, when the user presses the first key unit for more than one sending period, the active stylus pen may detect that the first key unit is pressed in the sending period, and correspondingly generate the first key signal. However, since the sending period is relatively short, for example, 7.2 ms, the time from pressing to releasing the first key unit will substantially exceed the sending period as long as the user presses the first key unit, so that it is not necessary for the user to continuously press the first key unit. Similarly, when the user presses the second key unit, the same manner is used to determine whether the second key signal is generated.
That is, when the user presses the first switch unit and the second switch unit simultaneously and continues to exceed the sending period, the active stylus pen generates and sends the composite signal. When the receiving end receives the composite signal, the user presses the first switch unit and the second switch unit at the same time, and the receiving end can execute a specific state according to the first key sending signal and the second key sending signal, such as starting or closing a touch display panel of the receiving end.
Referring to fig. 4 and 5, after the active stylus transmits the first key transmission signal and the second key transmission signal (S104), the active stylus further performs the following steps:
waiting a second time interval (S105);
reading a pressure value signal (S106);
judging whether the pressure value signal is larger than a threshold value (S107);
when the pressure value signal is greater than the threshold value, generating a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and transmitting the first data segment transmission signal (S108);
waiting a third time interval (S109);
generating and transmitting a second beacon signal (S110);
waiting a fourth time interval (S111);
transmitting the second data fragment transmission signal (S112);
after waiting for a fifth time interval (S113), step S101 is executed again.
As shown in fig. 6, after the active stylus transmits the first beacon signal 111, the first time interval is waited, and when the first key signal and the second key signal are both generated, the composite signal 12 is transmitted, and after the active stylus transmits the composite signal 12, the active stylus further waits for the second time interval t32Then, the first data segment transmission signal 131 is transmitted. In the preferred embodiment, the second time interval t32Which is 1.568 milliseconds (ms). Then, the active stylus waits for the third time interval t33Then, the second beacon signal 112 is transmitted and the fourth time interval t is waited34The second data segment transmission signal 132 is then transmitted. In the preferred embodiment, the contents of the first beacon signal 111 and the second beacon signal 112 are the same, and are only used to illustrate two consecutive beacon signals 11. The third time interval t332.6 milliseconds, the fourth time interval t34Which is 2.6 milliseconds (ms). Finally, the active stylus further waits for the fifth time interval t35The first beacon signal 111 is then retransmitted (not shown). In the preferred embodiment, the fifth time interval t352.6 milliseconds (ms), and the transmission time t of the first data segment transmission signal 131 and the second data segment transmission signal 13213All corresponding to the transmission time t of the beacon signal 1111The same is 1 millisecond (ms). The first and second dataThe manner of generating the fragment transmission signals 131 and 132 will be described later.
In addition, as shown in fig. 6, after the active stylus transmits the second beacon signal 112, the active stylus may repeat transmitting the composite signal 12 before transmitting the second data segment transmission signal 132. That is, after the active stylus transmits the second beacon signal 112, the active stylus waits for the first time interval t31Thereafter, the composite signal 12 is repeatedly transmitted and the second time interval t is further waited32Thereafter, the second data segment transmission signal 132 is transmitted. In the process of transmitting the wireless signal, the receiving end is easily affected by the external environment, so sometimes the receiving end may not receive the wireless signal, and the probability of the receiving end missing the composite signal 12 can be reduced by repeatedly transmitting the composite signal 12.
The wireless signal generating method of the active stylus further reads the pressure value signal after transmitting the composite signal 12 sent by the active stylus, and determines whether the pressure value signal is greater than the threshold value. When the pressure value signal is greater than the threshold value, the pressure value signal is valid. That is, the user should operate the active stylus for touch operation, and the active stylus can sense the touch pressure of the user operating the active stylus, i.e. the writing force of the user operating the active stylus.
When the pressure value signal is greater than the threshold value, the active stylus generates the first data segment transmission signal 131 and the second data segment transmission signal 132 according to the pressure value signal. And the active stylus transmits the first data segment transmission signal 131 and the second data segment transmission signal 132 in two consecutive transmission periods, respectively, prior to the first transmission period, i.e. after the first beacon signal 111 is transmitted, the first data segment transmission signal 131 is transmitted, and in the next transmission period, i.e. after the second beacon signal 112 is transmitted, the fourth time interval t is spaced34The second data segment transmission signal 132 is then transmitted, thereby transmitting a higher resolution stress value signal.
Since the pressure value signal is generated according to the operation condition of the user, and the difference of the writing force range when the user operates the active stylus is large, if only the pressure value signal with low resolution can be transmitted, the receiving end cannot accurately obtain the accurate writing force when the user operates the active stylus, thereby reducing many application layers, such as characters imitating soft pen characters.
The wireless signal generation method of the active stylus divides the pressure value signal into two data segment sending signals, and sends the two data segment sending signals in two continuous sending periods respectively. Therefore, the pressure value signal can be divided into two parts for transmission, and the pressure value signal can be combined by the first data segment sending signal and the second data segment sending signal after the receiving end receives the first data segment sending signal and the second data segment sending signal, so that the pressure value signal with high resolution can be obtained, and more diversified applications can be provided.
For example, the pressure value signal is 12 bits of data, and the wireless signal generating method of the active stylus generates a first data segment according to the first 8 bits of the pressure value signal and generates a second data segment according to the last 4 bits of the pressure value signal.
The active stylus generates the first data segment transmission signal at a specific frequency according to the value of the first data segment, and the active stylus generates the second data segment transmission signal at another specific frequency according to the value of the second data segment. That is, the value of each first data segment corresponds to a specific frequency, and the value of each second data segment also corresponds to a specific frequency. When the receiving end receives the first data segment sending signal or the second data segment sending signal, the receiving end can calculate the value of the first data segment or the value of the second data segment through table look-up according to the frequency of the received signal.
For example, the active stylus generates the first data segment transmission signal at 15652 hertz (Hz) when the first data segment has a value of 00000001, and generates the first data segment transmission signal at 15679 Hz when the first data segment has a value of 00000010. In addition, the active stylus generates the second data segment transmission signal at a frequency of 28301 hertz (Hz) when the second data segment has a value of 0001, and generates the second data segment transmission signal at a frequency of 28571 hertz (Hz) when the second data segment has a value of 0010.
In the preferred embodiment, the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands.
Because the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands, when the receiving end receives the wireless signal, the receiving end can directly judge which frequency band the wireless signal falls in according to the frequency value of the wireless signal, and then can confirm whether the wireless signal is the first data segment transmission signal or the second data segment transmission signal.
Therefore, even if the first data segment transmission signal and the second data segment transmission signal are transmitted in different transmission periods, the number of the transmission period does not need to be particularly judged, whether the first data segment transmission signal or the second data segment transmission signal is directly judged according to the frequency value, and for a receiving end, only the signals of two continuous transmission periods need to be received, a complete pressure value signal can be generated, so that the judgment processing efficiency can be further improved.
When the receiving end receives the first data segment sending signal and the second data segment sending signal, the frequency values of the first data segment sending signal and the second data segment sending signal can be judged through Fourier transformation, the value of the first data segment and the value of the second data segment can be converted according to the frequency values of the first data segment sending signal and the second data segment sending signal, and the value of the first data segment and the value of the second data segment can be further integrated into the pressure value signal by the receiving end.
For example, when the frequency of the first data segment transmission signal received by the receiver is 15679 hertz (Hz), the value of the first data segment can be calculated as 00000010, and when the frequency of the second data segment transmission signal received by the receiver is 28571 hertz (Hz), the value of the first data segment can be calculated as 0010. The receiving end can integrate the value of the first data segment and the value of the second data segment to form the value of the pressure value signal of 000000100010.
That is, the pressure value signal has 4096 different values, so that the writing force channel of the user operating the active stylus can be divided into 4096 different values and accurately transmitted to the receiving end, and the receiving end analyzes and determines the writing force channel of the user operating the active stylus.
Further, when the active stylus determines whether the pressure value signal is greater than a threshold value (S107) and the active stylus determines that the pressure value signal is not greater than the threshold value, the active stylus waits for a sixth time interval (S1071) and re-executes step S101.
When the pressure value signal is not greater than the threshold value, it represents that the user does not operate the stylus for touch operation, and the generated pressure value signal is misjudged, so the active stylus does not execute any action, and only waits for the sixth time interval and then executes the wireless signal generation method of the active stylus again.
Referring to fig. 7, when the active stylus determines that the first key signal is not generated but the second key signal is generated, the active stylus generates the second key transmission signal according to the second frequency and transmits the second key transmission signal (S1031), and then step S105 is executed.
In addition, when the active stylus determines that neither the first key signal nor the second key signal is generated, the active stylus waits for a seventh time interval (S1032), and then step S106 is executed.
As shown in fig. 8, after the active stylus pen transmits the first beacon signal 111, it determines the first keyWaiting for the seventh time interval t when neither signal nor the second key signal is generated37The first data segment transmission signal 131 is transmitted. In the preferred embodiment, the seventh time interval t37Which is 2.6 milliseconds (ms). Then, the active stylus waits for the third time interval t33Then, the second beacon signal 112 is transmitted and the fourth time interval t is waited34The second data segment transmission signal 132 is then transmitted. Finally, the active stylus further waits for the fifth time interval t35The first beacon signal 111 is then retransmitted (not shown).
Further, referring to fig. 9, when the active stylus determines that the first key signal is generated but the second key signal is not generated, the active stylus generates the first key transmission signal according to the first frequency and transmits the first key transmission signal (S1033), and then step S105 is performed.
Referring to fig. 10, the active stylus 20 includes a first key unit 21, a second key unit 22, a wireless signal transmitting unit 23, and a processing unit 24. The first key unit 21 is used for generating a first key signal. The second key unit 22 is used for generating a second key signal. For example, the first key unit 21 and the second key unit 22 can be physical keys on the active stylus 20.
The processing unit 24 is electrically connected to the first key unit 21, the second key unit 22 and the wireless signal transmitting unit 23, and the processing unit 24 generates a first beacon signal and transmits the first beacon signal through the wireless signal transmitting unit 23.
After the processing unit 24 sends the first beacon signal, the processing unit 24 waits for a first time interval and determines whether a first key signal generated by the first key unit 21 or a second key signal generated by the second key unit 22 is received.
When the processing unit 24 receives the first key signal and the second key signal, the processing unit 24 sends a composite signal, which includes a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency.
The active stylus pen of the invention generates the first key sending signal by using the first frequency, generates the second key sending signal by using the second frequency, and simultaneously sends the first key sending signal and the second key sending signal. When a receiving end, such as a tablet computer, receives the first key sending signal and the second key sending signal, the first key sending signal and the second key sending signal which are sent simultaneously can be respectively switched on through filtering or fourier transform because the frequencies of the first key sending signal and the second key sending signal are different.
Therefore, even if the first key sending signal and the second key sending signal are sent simultaneously, the receiving end can separate the first key sending signal from the second key sending signal, and the first key sending signal and the second key sending signal are sent simultaneously, so that time-sharing sending is not needed, the overall sending time for sending the first key sending signal and the second key sending signal can be further saved, and wireless signals can be sent rapidly.
The active stylus further includes a pressure sensing unit 25, wherein the pressure sensing unit 25 is configured to generate a pressure value signal and is electrically connected to the processing unit 24. After the processing unit 24 sends the composite signal, the processing unit 24 waits for a second time interval and reads the pressure value signal, and the processing unit 24 determines whether the pressure value signal is greater than a threshold value.
When the processing unit 24 determines that the pressure value signal is greater than the threshold value, the processing unit 24 generates a first data segment transmission signal and a second data segment transmission signal according to the pressure value signal, and transmits the first data segment transmission signal through the wireless signal transmitting unit 23.
After the processing unit 24 sends the first data segment sending signal, the processing unit 24 waits for a third time interval and generates a second beacon signal, and the processing unit 24 sends the second beacon signal through the wireless signal sending unit 23.
After the processing unit 24 sends the second beacon signal, the processing unit 24 waits for a fourth time interval and sends the second data segment sending signal, and after the processing unit 24 waits for a fifth time interval, the processing unit 24 regenerates the first beacon signal. In the preferred embodiment, the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands.
The efficacy and principle of the pressure value signal and the method for generating the wireless signal of the active stylus are explained in the above description, and thus are not described herein again.
When the processing unit 24 determines that the pressure value signal is not greater than the threshold value, the processing unit 24 waits for a sixth time interval and regenerates the first beacon signal.
When the processing unit 24 does not receive the first key signal but receives the second key signal, the processing unit 24 generates the second key sending signal according to the second frequency, and sends the second key sending signal through the wireless signal sending unit 23, and the processing unit 24 reads the pressure value signal after waiting the second time interval, and determines whether the pressure value signal is greater than the threshold value.
When the processing unit 24 does not receive the first key signal and the second key signal, the processing unit 24 reads a pressure value signal after waiting for a seventh time interval, and the processing unit 24 determines whether the pressure value signal is greater than the threshold value.
When the processing unit 24 receives the first key signal but does not receive the second key signal, the processing unit 24 generates the first key sending signal according to the first frequency, and sends the first key sending signal through the wireless signal sending unit 23, and the processing unit 24 reads the pressure value signal after waiting the second time interval, and determines whether the pressure value signal is greater than the threshold value.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A method for generating a wireless signal of an active stylus, the method comprising the steps of:
a. generating and transmitting a first beacon signal;
b. waiting for a first time interval;
c. judging whether a first key signal or a second key signal is generated;
d. waiting for a seventh time interval when the first key signal and the second key signal are not generated;
e. reading a pressure value signal;
f. judging whether the pressure value signal is greater than a threshold value;
g. when the pressure value signal is greater than the threshold value, generating a first data segment sending signal and a second data segment sending signal according to the pressure value signal, and sending the first data segment sending signal;
h. waiting for a third time interval;
i. generating and transmitting a second beacon signal;
j. waiting for a fourth time interval;
k. transmitting the second data segment transmission signal;
after waiting a fifth time interval, re-executing step a.
2. The method of claim 1, wherein the first data segment transmission signal and the second data segment transmission signal are distributed in different frequency bands.
3. The method of claim 1, further comprising the steps of:
and c, when the pressure value signal is not greater than the threshold value, waiting for a sixth time interval, and executing the step a again.
4. The method of claim 1, further comprising the steps of:
and e, when the first key signal and the second key signal are both generated, sending a composite signal, wherein the composite signal comprises a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency, and executing the step e after waiting for a second time interval.
5. The method of claim 4, further comprising the steps of:
and e, when the first key signal is not generated but the second key signal is generated, generating the second key sending signal according to the second frequency, sending the second key sending signal, and executing the step e after waiting for a second time interval.
6. The method of claim 4, further comprising the steps of:
and e, when the first key signal is generated but the second key signal is not generated, generating the first key sending signal according to the first frequency, sending the first key sending signal, and executing the step e after waiting for a second time interval.
7. An active stylus, comprising:
a first key unit for generating a first key signal;
a second key unit for generating a second key signal;
a wireless signal transmitting unit;
the processing unit is electrically connected to the first key unit, the second key unit and the wireless signal transmitting unit, generates a first beacon signal and transmits the first beacon signal through the wireless signal transmitting unit;
the pressure sensing unit is used for generating a pressure value signal and is electrically connected to the processing unit; wherein:
after the processing unit sends the first beacon signal, the processing unit waits for a first time interval and judges whether a first key signal generated by the first key unit or a second key signal generated by the second key unit is received;
when the processing unit does not receive the first key signal and the second key signal, the processing unit reads the pressure value signal after waiting for a seventh time interval, and the processing unit judges whether the pressure value signal is greater than a threshold value;
when the processing unit judges that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal and sends the first data segment sending signal through the wireless signal sending unit;
after the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit;
after the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and after the processing unit waits for a fifth time interval, the processing unit regenerates the first beacon signal.
8. The active stylus of claim 7, wherein the first segment transmission signal and the second segment transmission signal are distributed in different frequency bands.
9. The active stylus of claim 7, wherein:
when the processing unit determines that the pressure value signal is not greater than the threshold value, the processing unit waits for a sixth time interval and regenerates the first beacon signal.
10. The active stylus of claim 7, wherein:
when the processing unit receives the first key signal and the second key signal, the processing unit sends a composite signal, wherein the composite signal comprises a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency;
after the processing unit sends the composite signal, the processing unit waits for a second time interval and reads the pressure value signal, and the processing unit judges whether the pressure value signal is greater than the threshold value;
when the processing unit judges that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal and sends the first data segment sending signal through the wireless signal sending unit;
after the processing unit sends the first data segment sending signal, the processing unit waits for the third time interval and generates the second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit;
after the processing unit sends the second beacon signal, the processing unit waits for the fourth time interval and sends the second data segment sending signal, and after the processing unit waits for the fifth time interval, the processing unit regenerates the first beacon signal.
11. The active stylus of claim 10, wherein:
when the processing unit does not receive the first key signal but receives the second key signal, the processing unit generates a second key sending signal according to the second frequency and sends the second key sending signal through the wireless signal sending unit, and after the processing unit waits for the second time interval, the processing unit reads the pressure value signal and judges whether the pressure value signal is greater than a threshold value;
when the processing unit judges that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal and sends the first data segment sending signal through the wireless signal sending unit;
after the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit;
after the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and after the processing unit waits for a fifth time interval, the processing unit regenerates the first beacon signal.
12. The active stylus of claim 10, wherein:
when the processing unit receives the first key signal but does not receive the second key signal, the processing unit generates the first key sending signal according to the first frequency and sends the first key sending signal through the wireless signal sending unit, and after waiting for the second time interval, the processing unit reads the pressure value signal and judges whether the pressure value signal is greater than a threshold value;
when the processing unit judges that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal and sends the first data segment sending signal through the wireless signal sending unit;
after the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit;
after the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and after the processing unit waits for a fifth time interval, the processing unit regenerates the first beacon signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910693314.7A CN112306263A (en) | 2019-07-30 | 2019-07-30 | Active stylus and wireless signal generation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910693314.7A CN112306263A (en) | 2019-07-30 | 2019-07-30 | Active stylus and wireless signal generation method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112306263A true CN112306263A (en) | 2021-02-02 |
Family
ID=74330281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910693314.7A Pending CN112306263A (en) | 2019-07-30 | 2019-07-30 | Active stylus and wireless signal generation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112306263A (en) |
-
2019
- 2019-07-30 CN CN201910693314.7A patent/CN112306263A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5247138A (en) | Cordless digitizer stylus status encoding and transmission scheme | |
CN105302373A (en) | Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal | |
CN103279223B (en) | A kind of method of touch information feedback, equipment and system | |
CN107209584A (en) | To the touch Pen-down detection of stylus | |
US10921942B2 (en) | Touch system, its touch device and input device, and its signal transmission method | |
CN111290665B (en) | Pressure detection method and device, active pen, touch chip and electronic equipment | |
CN112558798A (en) | Communication method and device of active pen, terminal and storage medium | |
WO2018035843A1 (en) | Signal transmitting method, signal parsing method, active pen and touch screen | |
CN105554294A (en) | Method and apparatus for controlling terminal device | |
CN112558796B (en) | Electronic pen, control method and device thereof, and computer-readable storage medium | |
CN101593398A (en) | Prevent the System and method for of touch-pen loss | |
CN110794989A (en) | Key response method and electronic equipment | |
JPH08511914A (en) | Method and device for remote operation | |
CN104898839A (en) | Terminal device and control method thereof | |
TWI667596B (en) | Active stylus and wireless signal generating method thereof | |
CN112558797B (en) | Active pen, control method and device thereof, and computer-readable storage medium | |
CN106598267B (en) | Intelligent watch character input and character remote input device and method | |
CN112306263A (en) | Active stylus and wireless signal generation method thereof | |
KR102183218B1 (en) | Method for transmitting continuous data and data transmission system | |
US20210034173A1 (en) | Active Stylus and Method of Generating Wireless Signals Thereof | |
US5504279A (en) | Wireless pen tablet | |
US7501975B2 (en) | Remote controller, command transmission method, command receiving apparatus and personal computer apparatus | |
CN103813022A (en) | Information processing method and electronic devices | |
CN112486354A (en) | Touch method of electronic equipment, information transmission method and device of touch component | |
GB2411754A (en) | Method of pairing a wireless input apparatus with a wireless receiver |
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 |