CN111930253B - Wireless communication method, active pen, touch screen, electronic device and communication system - Google Patents
Wireless communication method, active pen, touch screen, electronic device and communication system Download PDFInfo
- Publication number
- CN111930253B CN111930253B CN202010962053.7A CN202010962053A CN111930253B CN 111930253 B CN111930253 B CN 111930253B CN 202010962053 A CN202010962053 A CN 202010962053A CN 111930253 B CN111930253 B CN 111930253B
- Authority
- CN
- China
- Prior art keywords
- touch screen
- active pen
- wireless
- signal
- identification information
- 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
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
-
- 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/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F3/0383—Signal control means within the pointing device
-
- 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/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/04162—Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The application provides a wireless communication method, which can realize accurate transmission of wireless messages between an active pen and a plurality of touch screens. The method is applied to wireless communication between an active pen and a plurality of touch screens, the touch screens respectively correspond to a plurality of wireless channels, and each wireless channel is used for wireless communication between the corresponding touch screen and the active pen, and the method comprises the following steps: the active pen sends a code printing signal to the first touch screen, and the code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen; the active pen receives a wireless signal sent by the first touch screen, the wireless signal is transmitted through a wireless channel corresponding to the first touch screen and carries identification information of the first touch screen; the active pen identifies a first touch screen which is close to or contacted by the active pen currently in the plurality of touch screens according to the identification information of the first touch screen; and the active pen sends a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen.
Description
Technical Field
The embodiment of the application relates to the technical field of information, in particular to a wireless communication method, an active pen, a touch screen, an electronic device and a communication system.
Background
Currently, the active pen is gradually receiving attention from the market as a main peripheral input accessory of the electronic device. The pen point of the active pen can emit signals, and a certain number of detection electrodes in the horizontal direction and the vertical direction are distributed on the touch screen, so that the signals emitted from the pen point can be detected through the detection electrodes, and the two-dimensional position coordinates of the pen point on the touch screen can be calculated according to the detection signals.
The active pen may also be provided with a pressure sensor for detecting a pressure generated by the active pen, so as to adjust the handwriting of the active pen on the touch screen according to the pressure. The pressure detected by the pressure sensor can be transmitted to the touch screen through wireless communication. When a plurality of touch screens exist, how the active pen realizes accurate transmission of pressure information becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a wireless communication method, an active pen, a touch screen, electronic equipment and a communication system, and can realize accurate transmission of wireless messages between the active pen and a plurality of touch screens.
In a first aspect, a method for wireless communication is provided, where the method is applied to wireless communication between an active pen and multiple touch screens, where the multiple touch screens and the active pen respectively correspond to multiple wireless channels, and each wireless channel is used for performing wireless communication between the corresponding touch screen and the active pen, and the method includes:
the active pen sends a code printing signal to a first touch screen, wherein the code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen;
the active pen receives a wireless signal sent by the first touch screen, the wireless signal is transmitted through a wireless channel corresponding to the active pen, and the wireless signal carries identification information of the first touch screen;
the active pen identifies the first touch screen which is close to or contacted by the active pen currently in the plurality of touch screens according to the identification information of the first touch screen; and
and the active pen sends a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen.
In a possible implementation manner, the identification information is an equipment identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
In one possible implementation, the wireless message includes pressure information generated by the active pen on the first touch screen.
In one possible implementation manner, the sending, by the active pen, a code printing signal to the first touch screen includes: the active pen sends a code printing signal to the first touch screen, the active pen and the first touch screen are within a preset distance, and the first touch screen receives the code printing signal; wherein the preset distance is less than or equal to 10 mm.
In one possible implementation manner, the sending, by the active pen, a code printing signal to the first touch screen includes: the active pen and the first touch screen are within a preset distance, and the active pen sends a code printing signal to the first touch screen in a specific time period after detecting an uplink signal; wherein the preset distance is less than or equal to 10 mm.
In a possible implementation, the preset distance is 5-10 mm.
In a possible implementation manner, if the first touch screen detects a code printing signal, the receiving, by the active pen, a wireless signal of the first touch screen includes: when the first touch screen detects that the intensity of the code printing signal is greater than a first threshold value and the number of times of detecting the code printing signal is greater than a second threshold value, the active pen receives a wireless signal sent by the first touch screen; wherein the first threshold and the second threshold are each greater than 0.
In one possible implementation, the method further includes:
if the active pen is switched from the first touch screen to a second touch screen in the plurality of touch screens, the active pen sends a code printing signal to the second touch screen;
the active pen receives a wireless signal sent by the second touch screen, the wireless signal is transmitted through a wireless channel corresponding to the active pen, and the wireless signal carries identification information of the second touch screen;
the active pen identifies that the active pen is switched from the first touch screen to the second touch screen according to the fact that the identification information of the second touch screen is different from the identification information of the first touch screen; and
and the active pen sends a wireless message to the second touch screen through a wireless channel corresponding to the second touch screen.
In one possible implementation, the wireless signal includes a plurality of bits including an identification region for representing the identification information.
In one possible implementation, the plurality of bits further includes at least one of a check region, an auxiliary command region, and a command header region.
In one possible implementation, the command header area is used to represent a pressure request of the first touch screen.
In one possible implementation, the wireless communication includes bluetooth communication.
In a second aspect, a method for wireless communication is provided, where the method is applied to wireless communication between a first touch screen of a plurality of touch screens and an active pen, and the touch screens respectively correspond to a plurality of wireless channels, where each wireless channel is used for wireless communication between the corresponding touch screen and the active pen, and the method includes:
the first touch screen detects a code printing signal sent by the active pen, and the code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen;
if the first touch screen detects a code printing signal, the first touch screen sends a wireless signal to the active pen, the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the first touch screen, and the identification information of the first touch screen is used for identifying the first touch screen which is close to or in contact with the active pen in the multiple touch screens; and
and the first touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
In a possible implementation manner, the identification information is an equipment identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
In one possible implementation, the wireless message includes pressure information generated by the active pen on the first touch screen.
In a possible implementation manner, the detecting, by the first touch screen, a code printing signal sent by the active pen includes: the first touch screen is within a preset distance from the active pen, and the first touch screen receives a code printing signal sent by the active pen; wherein the preset distance is less than or equal to 10 mm.
In a possible implementation manner, the detecting, by the first touch screen, a code printing signal sent by the active pen includes: the first touch screen sends an uplink signal to the active pen, the first touch screen and the active pen are within a preset distance, the active pen receives the uplink signal, and the first touch screen receives a code printing signal sent by the active pen in a specific time period after the first touch screen sends the uplink signal; wherein the preset distance is less than or equal to 10 mm.
In a possible implementation, the preset distance is 5-10 mm.
In a possible implementation manner, if the first touch screen detects a code printing signal, the sending, by the first touch screen, a wireless signal to the active pen includes: if the intensity of the code printing signal detected by the first touch screen is greater than a first threshold value and the number of times of the detected code printing signal is greater than a second threshold value, the first touch screen sends a wireless signal to the active pen; wherein the first threshold and the second threshold are each greater than 0.
In one possible implementation, the method further includes:
if the active pen is switched from the first touch screen to a second touch screen in the plurality of touch screens, the second touch screen detects a code printing signal sent by the active pen;
if the second touch screen detects a code printing signal, the second touch screen sends a wireless signal to the active pen, the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the second touch screen, and the identification information of the second touch screen is different from the identification information of the first touch screen, so that the active pen identification is switched from the first touch screen to the second touch screen; and
and the second touch screen receives the wireless message sent by the active pen through a wireless channel corresponding to the second touch screen.
In one possible implementation, the wireless signal includes a plurality of bits including an identification region for representing the identification information.
In one possible implementation, the plurality of bits further includes at least one of a check region, an auxiliary command region, and a command header region.
In one possible implementation, the wireless communication includes bluetooth communication.
In a third aspect, there is provided an active cartridge sheet, comprising: the foregoing first aspect and any possible implementation manner of the first aspect.
In a fourth aspect, a touch chip is provided, which includes: the wireless communication method according to the second aspect and any possible implementation manner of the second aspect.
Based on the technical scheme, after the touch screen detects the code printing signal of the active pen, the wireless signal carrying the identification information of the touch screen is sent to the active pen through the corresponding wireless channel of the active pen, the active pen identifies the touch screen which is close to or in contact with the active pen currently in the touch screens, and the wireless channel corresponding to the touch screen is used for sending wireless messages to the touch screens, so that the accurate transmission of the wireless messages between the active pen and the touch screens can be realized.
Drawings
FIG. 1 is a schematic diagram of an active pen.
FIG. 2 is a schematic diagram of the use of an active pen on a touch screen.
Fig. 3 is a schematic flow chart of a method of wireless communication of an embodiment of the present application.
Fig. 4 is a schematic flow chart of a method of wireless communication of an embodiment of the present application.
FIG. 5 is a timing diagram of a coding signal between the active pen and the touch screen.
FIG. 6 is a timing diagram of an up signal and a code signal between the active pen and the touch screen.
Fig. 7 is a schematic diagram of a wireless signal.
Fig. 8 is a schematic diagram of a possible implementation manner of a wireless communication method according to an embodiment of the present application.
Fig. 9 is a schematic diagram of a possible implementation manner of a wireless communication method according to an embodiment of the present application.
FIG. 10 is a schematic diagram of the active pen switching between multiple touch screens.
FIG. 11 is a schematic block diagram of an active pen according to an embodiment of the present application.
Fig. 12 is a schematic block diagram of a touch screen of an embodiment of the present application.
Fig. 13 is a schematic block diagram of a communication device of an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of an active pen 100. The active pen 100 includes a pen tip 101, a pen body 102, and a wireless communication module 103. The pen tip 101 may emit a code signal through the electrode, and the code signal may be used to calculate coordinates of the active pen 100 on the touch screen after being detected by the touch screen. As shown in fig. 2, a certain number of detection electrodes in the vertical direction and the horizontal direction are distributed on the touch screen, for example, the detection electrodes may be driving electrodes and sensing electrodes of a mutual capacitance type touch screen, and the driving electrodes and the sensing electrodes are respectively connected to a driving circuit and a sensing circuit. When a coding signal sent by the pen tip 101 acts on a certain position of the screen, the horizontal electrode and the vertical electrode corresponding to the certain position generate corresponding detection signals, and the touch controller can calculate the two-dimensional position coordinates of the active pen 100 on the screen according to the detection signals.
A pressure sensor is also connected to the stylus 101. The pressure sensor is used for detecting the pressure of the active pen 100 on the touch screen, so that the active pen 100 can sense the change of the writing force of a user, the thickness of handwriting of the touch screen is changed according to the change of the writing force, and excellent user effect experience is achieved. The pressure information sent by the active pen 100 may be sent to the electronic device through the wireless communication module 103 in the active pen 100, and the electronic device may adjust the handwriting of the active pen 100 on the touch screen according to the pressure. When the pressure sensor detects the pressure generated by the active pen 100, the pressure information is transmitted to the electronic device through the wireless communication module 103.
It should be understood that the pressure generated by the active pen in the embodiment of the present application is the pressure sent by the user through the active pen, i.e. the writing pressure of the user. The user can exert pressure on the touch screen through the active pen, and different handwriting of the active pen can be presented on the touch screen according to different pressures. This pressure is detected by a pressure sensor in the active pen.
The wireless communication needs a process of establishing connection, when the wireless connection is established between the active pen and the touch screen, the touch screen and the active pen are allocated with corresponding wireless channels, and the active pen transmits wireless messages with the touch screen through the wireless channels.
In practical applications, when there are multiple touch screens, if it is desired that the active pen can be used alternately on the multiple touch screens, the active pen first needs to establish a wireless connection with the multiple touch screens. However, since the active pen does not know which touch screen it is currently close to or in contact with, the active pen cannot know over which wireless channel the pressure information of the active pen is transmitted, which greatly limits the use of the active pen.
Therefore, the embodiment of the application provides a wireless communication method, which can realize accurate transmission of wireless messages between the active pen and the touch screens.
Operations performed by the active pen and the touch screen in the method of wireless communication according to the embodiment of the present application are described below with reference to fig. 3 and 4.
Fig. 3 is a schematic flow chart diagram of a method 300 of wireless communication in an embodiment of the present application. The method may be performed by an active pen. The method is for wireless communication between an active pen and a plurality of touch screens. The touch screens correspond to a plurality of wireless channels respectively, and each wireless channel is used for wireless communication between the corresponding touch screen and the active pen. As shown in fig. 3, the method 300 may include some or all of the following steps.
At 310, the active pen sends a code signal to the first touch screen.
The code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen.
At 320, the active pen receives a wireless signal transmitted by the first touch screen. The wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the first touch screen.
The identification information is an equipment identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
The identification information is specified by a communication protocol, which may be, for example, a bluetooth or Wireless Fidelity (Wi-Fi) communication protocol.
At 330, the active pen identifies, from the identification information of the first touch screen, a first touch screen in the plurality of touch screens that the active pen is currently near or in contact with.
At 340, the active pen sends a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen.
Wherein the wireless message includes pressure information generated by the active pen on the first touch screen.
The active pen may be paired or connected with multiple touch screens, but at a certain time, the active pen may only be used on one of the multiple touch screens, and therefore the active pen will only wirelessly communicate with one touch screen at that time to communicate wireless messages.
When the active pen is paired or connected with the touch screens, the system allocates wireless channels to the touch screens and the active pen, for the touch screens, wireless signals can be transmitted through the wireless channels corresponding to the active pen, and for the active pen, the active pen needs to perform wireless communication with the touch screens through the wireless channels corresponding to the touch screens. Therefore, the active pen needs to know which touch screen it is currently using on and send a wireless message to the touch screen using the wireless channel corresponding to the touch screen. Thus, wireless messages can be accurately transmitted to the touch screen.
In this embodiment, the active pen sends a code signal to the first touch screen, receives a wireless signal sent by the first touch screen through a wireless channel corresponding to the active pen, and identifies the first touch screen currently close to or in contact with the active pen from the plurality of touch screens according to the identification information carried in the wireless signal, so as to send a wireless message to the first touch screen by using the wireless channel corresponding to the first touch screen. The identification information is identification information corresponding to the first touch screen, the active pen identifies the first touch screen through a wireless signal sent by the first touch screen and transmits a wireless message to the first touch screen, and therefore accurate transmission of the wireless message is achieved.
Fig. 4 is a schematic flow chart diagram of a method 400 of wireless communication in an embodiment of the application. The method may be performed by a first touch screen of the plurality of touch screens. The method is used for wireless communication between a first touch screen and an active pen. Here, the first touch screen is taken as an example for description, and operations performed by other touch screens in the multiple touch screens may specifically refer to operations performed by the first touch screen, and for brevity, description is not repeated. As shown in fig. 4, the method 400 may include some or all of the following steps.
At 410, the first touch screen detects a coded signal transmitted by the active pen.
The code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen.
In 420, if the first touch screen detects a code signal, the first touch screen sends a wireless signal to the active pen.
The wireless signals are transmitted through a wireless channel corresponding to the active pen and carry identification information of the first touch screen, and the identification information of the first touch screen is used for the active pen to identify the first touch screen which is close to or in contact with the active pen in the plurality of touch screens.
The identification information is an equipment identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
The identification information is specified by a communication protocol, which may be, for example, a bluetooth or Wireless Fidelity (Wi-Fi) communication protocol.
At 430, the first touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
Wherein the wireless message includes pressure information generated by the active pen on the first touch screen.
In this embodiment, after the first touch screen detects the code signal, the wireless message is transmitted through the wireless channel corresponding to the first touch screen and carries the identification information of the wireless message, so that the active pen can identify the first touch screen in the plurality of touch screens according to the identification information.
After detecting a code printing signal sent by the active pen, the first touch screen sends a wireless signal carrying identification information to the active pen through a wireless channel corresponding to the active pen, the active pen identifies the first touch screen according to the identification information, and sends a wireless message to the first touch screen by using the wireless channel corresponding to the first touch screen. The first touch screen receives wireless information such as pressure information sent by the active pen through a corresponding wireless channel, and accordingly line drawing output is conducted in real time according to the code printing signal and the pressure information.
Optionally, the method 310 specifically includes: the active pen sends a code printing signal to the first touch screen, the active pen and the first touch screen are within a preset distance, and the first touch screen receives the code printing signal; or the active pen and the first touch screen are within a preset distance, and the active pen sends a code printing signal to the first touch screen in a specific time period after detecting the uplink signal sent by the first touch screen. Wherein the preset distance is less than or equal to 10 mm.
The uplink signal may also be referred to as an uplink command, and generally refers to a signal transmitted by the detection electrode of the touch screen to the active pen. Correspondingly, the method 410 specifically includes that the first touch screen and the active pen are within a preset distance, and the first touch screen detects a code printing signal sent by the active pen; or the first touch screen sends an uplink signal to the active pen, the active pen receives the uplink signal when the first touch screen and the active pen are within a preset distance, and a coding signal sent by the active pen is received in a specific time period after the first touch screen sends the uplink signal. Wherein the preset distance is less than or equal to 10 mm.
Preferably, the preset distance is 5-10mm, if the preset distance is too short, the problem of common occurrence on the touch screen is easily caused, and the distance can effectively inhibit the common occurrence problem on the touch screen when the active pen is applied to the touch screen.
That is to say, the active pen may print a code on the touch screen periodically, or may print a code based on an uplink signal sent by the touch screen.
The active pen may include two types, the first type being a periodically coded active pen, as shown in FIG. 5. The active pen periodically sends a code printing signal to the touch screen, and belongs to an interactive protocol without an uplink signal. The touch screen detects the code printing signals based on the same period, and the code printing signals are used for the touch screen to perform coordinate positioning. The touch screen periodically samples according to time sequence to obtain coordinate information.
The second type is an active pen with an uplink signal triggering code printing. Because some touch screens can send uplink signals to the active pen through the detection electrodes, for the active pen, the active pen sends a code printing signal to the touch screen after detecting the uplink signals sent by the touch screen. The active pen analyzes the detected uplink signal to obtain synchronous command information in the uplink signal, and starts to send a coding signal after fixed time delay based on the synchronous command information so as to be used for the touch screen to calculate the position coordinate of the active pen. Correspondingly, the touch screen starts to detect the code printing signal after the fixed time delay of sending the uplink signal, and sends a wireless signal carrying the identification information of the code printing signal to the active pen through a wireless channel corresponding to the touch screen according to the detected code printing signal.
As shown in fig. 6, taking a period T as an example, the touch screen sends an uplink signal, and the active pen detects the uplink signal. And if the active pen successfully detects the uplink signal sent by the touch screen, the active pen sends a coding signal to the touch screen within a specific time period after fixed time delay. The fixed time delay may be determined based on a signal processing time of the active pen for the active pen to process the upstream signal and prepare the coded signal. The active pen continuously transmits the code printing signal in the specific time period.
When the active pen sends a code printing signal, the pressure sensor in the active pen can detect the pressure of the active pen and send the pressure information through the wireless communication module. Alternatively, the active pen may detect and transmit the pressure information of the active pen after transmitting the code signal. The embodiment of the application does not limit the time of pressure detection, the time of sending the coding signal by the active pen is based on the detection result of the active pen on the uplink signal, but the time of pressure detection is not limited by the detection result of the uplink signal, the pressure detection can have own time sequence, and the active pen can perform pressure detection based on preset sampling frequency and sampling period.
Here, "code" means "sending a code signal," which may also be referred to as a driving signal. The coding signal transmitted by the pen tip electrode can be square wave, sine wave or triangular wave, for example, and the frequency of practical use can be between tens of KHz and hundreds of KHz, for example.
The interaction between the active pen and the touch screen is performed in a wireless communication mode. The active pen can transmit wireless messages with the touch screen through the wireless communication module. The wireless message may include the aforementioned pressure information or may include pressure information and key information of the active pen.
Here, the wireless communication between the active pen and the touch screen may be understood as a wireless communication between the active pen and a master device of the touch screen, for example, an electronic device applying the touch screen, such as a mobile phone, a tablet computer, and the like. For example, the active pen sends a wireless message to the first touch screen, where the active pen sends a wireless message to the main control device of the touch screen, and the main control device of the touch screen forwards the wireless message to the touch screen; the first touch screen receives a wireless message sent by the active pen, which may be that the first touch screen receives the wireless message through its main control device.
The Wireless communication may be, for example, a Bluetooth communication such as Bluetooth Low Energy (BLE) or the like, or may be a Wireless Fidelity (Wi-Fi) communication or the like.
The identification information is not limited in any way in the embodiment of the application, as long as the first touch screen or the wireless channel corresponding to the first touch screen can be uniquely identified. For example, the identification information corresponding to the first touch screen may be a device identification corresponding to the first touch screen. The device identifier corresponding to the first touch screen is, for example, an identifier of the first touch screen, and different touch screens have different device identifiers; or the device identifier corresponding to the first touch screen is an identifier of a master control device to which the first touch screen is applied, and different master control devices have different identifiers. For another example, the identification information corresponding to the first touch screen may be a channel identification of a wireless channel corresponding to the first touch screen, and the system allocates different wireless channels to different touch screens, where the channel identifications of different wireless channels are different.
The wireless signal transmitted by the first touch screen comprises a plurality of bits, and the plurality of bits comprise an identification area for representing the identification information. Further, the plurality of bits may further include at least one of a check area, an auxiliary command area, and a command header area.
Such as the wireless signal shown in fig. 7, which includes n bits (bits), i.e., bit 1 through bit n. Where each bit may represent a number. For binary, each bit may represent two numbers, 1 or 0. For ternary, each bit may represent three numbers. The following description will be made by taking binary as an example. The n bits may be divided into a plurality of partitions, each for representing different content. Alternatively, the n bits are divided into a plurality of fields, each field including a number of bits. In fig. 7, 4 partitions are taken as an example, and are a check area, an auxiliary command area, an identification area, and a command header area.
The verification area is used for verifying the uplink signal by the active pen so as to ensure that the detected signal is a wireless signal from the touch screen, and the wireless message transmission can be carried out according to the information carried in the wireless signal after the verification is successful.
The auxiliary command area is used to carry other auxiliary information, such as frequency hopping information.
The identification area is used for carrying identification information corresponding to the touch screen, such as a device identifier or a channel identifier corresponding to the touch screen. It may be determined that the identification area does not carry the identification information when the identification area is a specific value, for example, when bits of the identification area are all 0, the identification area does not carry the identification information in the wireless signal.
The command header area includes a pressure request for indicating the first touch screen is the beginning of the recognition command.
It should be understood that in the embodiments of the present application, no partition other than the identification area is necessary.
Optionally, in 320, if the first touch screen detects the code signal, the active pen receives a wireless signal of the first touch screen, including: when the first touch screen detects that the intensity of the code printing signal is greater than a first threshold value and the number of times of the code printing signal is greater than a second threshold value, the active pen receives a wireless signal sent by the first touch screen, wherein the wireless signal carries identification information of the first touch screen.
Since the positions of the touch screens may be close to each other, when the active pen sends a code printing signal to the first touch screen close to or in contact with the active pen, other touch screens close to the first touch screen may also detect the code printing signal. However, the signal strength of the code signal detected by the first touch screen is different from that of the other touch screens adjacent to the first touch screen, and the signal strength of the code signal detected by the first touch screen is the maximum. Therefore, the first touch screen can determine whether the code printing signal is the code printing signal which is expected to be sent to the first touch screen by the active pen by judging the signal strength of the code printing signal detected by the first touch screen. And if the signal intensity of the code printing signal is greater than a first threshold value, the code printing signal is determined to be effective, and if the times of the effective code printing signal is greater than a second threshold value, the wireless signal carries the identification information of the code printing signal. Of course, if the signal strength of the code printing signal is smaller than the first threshold or the number of times of the effective code printing signal is smaller than the second threshold, the first touch screen does not carry the identification information in the wireless signal thereof, wherein the first threshold and the second threshold are respectively larger than 0, and the sizes of the first threshold and the second threshold can be set as required.
In this embodiment, when the intensity of the code printing signal detected by the first touch screen is greater than the first threshold and the number of times of detecting the code printing signal is greater than the second threshold, the wireless signal is sent to the active pen. This is to ensure that the received code signal is stable and to prevent noise interference from causing a problem of false points.
For example, in one possible implementation of the method 300 shown in fig. 8, the flow shown in fig. 8 is performed by an active pen.
At 810, if the active pen switches from the first touch screen to a second touch screen of the plurality of touch screens, the active pen sends a code signal to the second touch screen.
At 820, the active pen receives a wireless signal transmitted by the second touch screen.
The wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the second touch screen.
At 830, the active pen recognizes that the active pen switches from the first touch screen to the second touch screen according to the fact that the identification information of the second touch screen is different from the identification information of the first touch screen.
In 840, the active pen sends a wireless message to the second touch screen through a wireless channel corresponding to the second touch screen.
Because the identification information of the first touch screen is different from the identification information of the second touch screen, the active pen can identify that the current touch screen is switched by identifying the change of the identification information. The active pen identifies the touch screen needing pressure transmission according to identification information carried in a wireless signal sent by the touch screen, and therefore the active pen can be quickly switched among a plurality of connected touch screens.
If the active pen identification information has not changed, the active pen maintains the current wireless channel, i.e., the active pen still transmits the wireless message using the current wireless channel.
The wireless communication mode between the active pen and the first touch screen is applicable to the wireless communication mode between the active pen and the second touch screen, for example, the active pen sends a code printing signal to the second touch screen, the active pen and the second touch screen are within a preset distance, and the second touch screen receives the code printing signal; or the active pen and the second touch screen are within a preset distance, and the active pen sends a code printing signal to the second touch screen in a specific time period after the uplink signal is detected. Wherein the preset distance is less than or equal to 10 mm. Preferably, the preset distance is 5-10 mm. For another example, if the strength of the code printing signal detected by the second touch screen is greater than the first threshold and the number of times of the code printing signal is greater than the second threshold, the active pen receives a wireless signal sent by the second touch screen, wherein the wireless signal carries the identification information of the first touch screen.
FIG. 9 is a schematic diagram of one possible implementation of the method 400, and the process shown in FIG. 9 may be performed by any one of a plurality of touch screens that may be used with an active pen.
At 910, if the active pen is switched from the first touch screen to a second touch screen of the plurality of touch screens, the second touch screen detects a code signal sent by the active pen.
At 920, if the second touch screen detects a code printing signal, the second touch screen sends a wireless signal to the active pen.
And the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries the identification information of the second touch screen.
The identification information of the second touch screen is different from the identification information of the first touch screen so that the active pen recognition is switched from the first touch screen to the second touch screen.
At 930, the second touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the second touch screen.
The wireless communication mode between the first touch screen and the active pen is applicable to the wireless communication mode between the second touch screen and the active pen, for example, the active pen sends a code printing signal to the second touch screen, the second touch screen and the active pen are within a preset distance, and the second touch screen receives the code printing signal sent by the active pen; or the second touch screen sends an uplink signal to the active pen, the second touch screen and the active pen are within a preset distance, and the second touch screen receives the code printing signal sent by the active pen in a specific time period after the second touch screen sends the uplink signal. Preferably, the preset distance is 5-10 mm. For another example, when the intensity of the code printing signal detected by the second touch screen is greater than the first threshold and the number of times of the code printing signal is greater than the second threshold, the wireless signal carrying the identification information of the second touch screen is sent to the active pen.
Because the wireless channels used by different touch screens are different, the touch screen carries the identification information in the wireless signal, so that the active pen can identify the currently contacted or close touch screen through the identification information carried in the wireless signal, the wireless channel corresponding to the touch screen is used for sending the wireless signal, and the wireless channel corresponding to the touch screen is used for receiving the wireless message.
Referring now to FIG. 10, FIG. 10 illustrates multiple touch screens with which an active pen can establish a wireless connection and be able to write on. Each of which has its own identification, i.e., number, such as the identification "1" through the identification "N" shown in fig. 10. In the embodiment of the present application, the active pen may be switched among the N touch screens, for example, from the top of the touch screen 1 to the top of the touch screen 2. Assuming that the active pen is above the touch screen 1 and used for writing on the touch screen 1, at this time, the signal intensity of the code printing signal sent by the active pen detected by the touch screen 1 is greater than a first threshold, when the code printing signal greater than the first threshold is detected and the second number is greater than a second threshold, the code printing signal is stable at this time, it indicates that the code printing signal is detected by the touch screen 1, the wireless signal sent by the touch screen 1 to the active pen carries identification information corresponding to the touch screen 1, and the active pen is requested to send pressure information to the touch screen 1. When the active pen detects the identification information corresponding to the touch screen 1, it knows that the detected pressure information needs to be sent by using the wireless channel corresponding to the touch screen 1.
When the active pen moves from the upper side of the touch screen 1 to the upper side of the touch screen 2 for writing, the signal intensity of the code printing signal detected by the touch screen 1 and the number of times of the effective code printing signal are reduced, so that the signal intensity of the code printing signal is reduced below the first threshold value or the number of times of the effective code printing signal is reduced below the second threshold value, and the touch screen 1 cannot send a wireless signal carrying identification information corresponding to the touch screen 1 to the active pen due to the instability of the code printing signal. However, the active pen is close to the touch screen 2, so that the signal strength of the code signal detected by the touch screen 2 is increased and is greater than the first threshold, and when the number of times of detecting the code signal greater than the first threshold is greater than the second threshold, the code signal is stable at this time, which indicates that the code signal is detected by the touch screen 2. At this time, the wireless signal sent by the touch screen 2 to the active pen carries the identification information corresponding to the touch screen 2. After the identification information in the wireless signal detected by the active pen is changed from the identification information corresponding to the touch screen 1 to the identification information corresponding to the touch screen 2, it is known that the wireless channel corresponding to the touch screen 2 needs to be switched, so that the pressure information is sent by using the wireless channel corresponding to the touch screen 2.
Therefore, by adopting the method of the embodiment of the application, the active pen can switch the wireless channel according to the real-time use condition and directionally transmit the wireless message to the specific equipment, thereby realizing seamless switching among different touch screens and finishing accurate transmission of the wireless message.
The embodiment of the application also provides an active pen, which is used for carrying out wireless communication with the touch screens. The touch screens and the active pen respectively correspond to a plurality of wireless channels, wherein each wireless channel is used for wireless communication between the corresponding touch screen and the active pen. As shown in fig. 11, the active pen 1100 includes:
the processing module 1110 is configured to send a code printing signal to the first touch screen, where the code printing signal is used by the first touch screen to determine position information of the active pen on the first touch screen;
the processing module is used for receiving a wireless signal sent by the first touch screen, and the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the first touch screen.
The processing module 1110 is further configured to identify, according to the identification information of the first touch screen, a first touch screen that is currently close to or in contact with the active pen among the multiple touch screens;
the communication module 1120 is configured to send a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen.
Therefore, the active pen identifies the touch screen which is close to or contacted with the active pen currently in the plurality of touch screens by sending the code printing signal and receiving the wireless signal carrying the identification information sent by the touch screen, and sends the wireless message to the touch screen by using the wireless channel corresponding to the touch screen, so that the accurate transmission of the wireless message between the active pen and the plurality of touch screens can be realized.
Optionally, the identification information is an equipment identifier corresponding to the first touch screen or a channel identifier of a wireless channel corresponding to the first touch screen.
Optionally, the wireless message includes pressure information generated by the active pen on the first touch screen.
Optionally, the processing module 1110 is specifically configured to: sending a code printing signal to the first touch screen, and when the active pen is within a preset distance from the first touch screen, receiving the code printing signal by the first touch screen; wherein the preset distance is less than or equal to 10 mm.
Optionally, the processing module 1110 is specifically configured to: when the active pen is within a preset distance from the first touch screen, sending a code printing signal to the first touch screen within a specific time period after an uplink signal is detected; wherein the preset distance is less than or equal to 10 mm.
Optionally, the preset distance is 5-10 mm.
Optionally, the processing module is further configured to: when the first touch screen detects that the intensity of the code printing signal is greater than a first threshold value and the detected times of the code printing signal are greater than a second threshold value, receiving a wireless signal sent by the first touch screen; wherein the first threshold and the second threshold are each greater than 0.
Optionally, the processing module is configured to: if the active pen is switched from the first touch screen to a second touch screen in the touch screens, sending a code printing signal to the second touch screen; if the second touch screen detects a code printing signal, the processing module is used for receiving a wireless signal sent by the second touch screen, the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the second touch screen; the processing module is further used for identifying that the active pen is switched from the first touch screen to the second touch screen according to the fact that the identification information of the second touch screen is different from the identification information of the first touch screen; and the communication module is used for sending a wireless message to the second touch screen through a wireless channel corresponding to the second touch screen.
Optionally, the wireless signal comprises a plurality of bits, the plurality of bits comprising an identification area for representing the identification information.
Optionally, the plurality of bits further includes at least one of a check area, an auxiliary command area, and a command header area.
Optionally, the command header area is used to represent a pressure request of the first touch screen.
Optionally, the wireless communication comprises bluetooth communication.
It should be understood that the above-mentioned and other operations and/or functions of the various modules of the active pen 1100 according to the embodiment of the present application shown in fig. 11 are respectively for implementing the corresponding processes executed by the active pen in the method for wireless communication in fig. 3, and are not described herein again for brevity.
The embodiment of the application also provides a touch screen which is used for carrying out wireless communication with the active pen. The touch screens and the active pen respectively correspond to a plurality of wireless channels, wherein each wireless channel is used for wireless communication between the corresponding touch screen and the active pen. As shown in fig. 12, the touch screen 1200 includes:
a processing module 1210, configured to detect a code printing signal sent by the active pen, where the code printing signal is used by the first touch screen to determine position information of the active pen on the first touch screen;
the processing module is further configured to send a wireless signal to the active pen if a code printing signal is detected, where the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of a first touch screen, and the identification information of the first touch screen is used by the active pen to identify the first touch screen currently approaching or contacting the active pen among the plurality of touch screens;
the communication module 1220 is configured to receive a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
Because the wireless channels used by different touch screens are different, the touch screens carry identification information in the wireless signals, so that the active pen can identify the touch screen which is currently contacted or close to the active pen through the identification information carried in the wireless signals, and send wireless messages by using the wireless channel corresponding to the touch screen, and accurate transmission of the wireless messages between the active pen and the touch screens can be realized.
Optionally, the identification information is an equipment identifier corresponding to the first touch screen or a channel identifier of a wireless channel corresponding to the first touch screen.
Optionally, the wireless message includes pressure information generated by the active pen on the first touch screen.
Optionally, the processing module 1210 is specifically configured to: if the first touch screen is within a preset distance from the active pen, receiving a code printing signal sent by the active pen; wherein the preset distance is less than or equal to 10 mm.
Optionally, the processing module 1210 is specifically configured to: sending an uplink signal to the active pen, and if the first touch screen is within a preset distance from the active pen, receiving, by the active pen, the uplink signal within a specific time period after the first touch screen sends the uplink signal, and receiving a code printing signal sent by the active pen; wherein the preset distance is less than or equal to 10 mm.
Optionally, the preset distance is 5-10 mm.
Optionally, the processing module 1210 is further configured to: when the intensity of the code printing signal detected by the first touch screen is greater than a first threshold value and the number of times of the code printing signal is greater than a second threshold value, sending a wireless signal to the active pen; wherein the first threshold and the second threshold are each greater than 0.
Optionally, the processing module is configured to: if the active pen is switched from the first touch screen to a second touch screen in the plurality of touch screens, detecting a code printing signal sent by the active pen; the processing module is used for sending a wireless signal to the active pen if a code printing signal is detected, wherein the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the second touch screen, and the identification information of the second touch screen is different from the identification information of the first touch screen, so that the active pen identification is switched from the first touch screen to the second touch screen; and the communication module is used for receiving the wireless message sent by the active pen through a wireless channel corresponding to the second touch screen.
Optionally, the wireless signal comprises a plurality of bits, the plurality of bits comprising an identification area for representing the identification information.
Optionally, the plurality of bits further includes at least one of a check area, an auxiliary command area, and a command header area.
Optionally, the command header area is used to represent a pressure request of the first touch screen.
Optionally, the wireless communication comprises bluetooth communication.
It should be understood that the above and other operations and/or functions of the modules of the touch screen 1200 in the embodiment of the present application shown in fig. 12 are respectively for implementing the corresponding processes executed by the first touch screen in the method for wireless communication in fig. 4, and are not described herein again for brevity.
The embodiment of the application provides an active pen chip, which is used for an active pen to execute the wireless communication method in any aspect.
The embodiment of the application provides a touch chip, which is used for a touch screen to execute the wireless communication method in any aspect.
The embodiment of the application also provides communication equipment. As shown in fig. 13, a communication device 1300 is used to implement the method described in the above method embodiments. The dashed boxes in fig. 13 indicate that the unit or module is optional.
The communication device 1300 includes at least one processor 1301. The processor 1301 may support the communication apparatus 1300 to implement the method in the method embodiments corresponding to fig. 3 to fig. 9. Processor 1301 can be a general purpose processor or a special purpose processor. For example, the processor 1301 may be a Central Processing Unit (CPU), a Micro-programmed Control Unit (MCU), or the like. The processor 1301 may be used to control the communication apparatus 1300, execute software programs, and process data of the software programs. The communication device 1300 may also include a communication module 1305 to enable input and output of signals.
For example, the communication device 1300 may be a chip, and the communication module 1305 may be an input circuit and/or an output circuit of the chip; alternatively, the communication module 1305 may be the communication interface of the chip, which may be an integral part of the active pen, touch screen, or other wireless communication device.
For another example, the communication device 1300 may be an active pen, a touch screen, or an electronic device using the touch screen, and the communication module 1305 may be a transceiver of the active pen, the touch screen, or the electronic device; alternatively, the communication module 1305 may be an active pen, a touch screen, or a transceiver circuit of an electronic device.
The communication device 1300 may include at least one memory 1302, on which a program 1304 is stored, where the program 1304 may be executed by the processor 1301, and generate an instruction 1303, so that the processor 1301 may execute the method described in the above method embodiment according to the instruction 1303. Optionally, data may also be stored in the memory 1302. Alternatively, the processor 1301 may also read data stored in the memory 1302, the data may be stored at the same memory address as the program 1304, or the data may be stored at a different memory address from the program 1304.
The processor 1301 and the memory 1302 may be separate or integrated together.
The specific manner in which the processor 1301 executes the communication method may be referred to in the description of the method embodiments.
It should be understood that the steps of the above-described method embodiments may be performed by logic circuits in the form of hardware or instructions in the form of software in the processor 1301. The Processor 1301 may be a CPU, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic device, such as a discrete Gate, a transistor logic device, or a discrete hardware component.
The application also provides a computer program product which, when executed by the processor 1301, implements the method according to any of the method embodiments of the application.
The computer program product may be stored in the memory 1302, for example, as a program 1304, and the program 1304 is finally converted into an executable object file capable of being executed by the processor 1301 through preprocessing, compiling, assembling, linking and the like.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, implements the method of any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
Such as memory 1302. Memory 1302 may be either volatile memory or nonvolatile memory, or memory 1302 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
The embodiment of the application also provides electronic equipment which comprises the touch screen in the various embodiments of the application.
The embodiment of the application also provides a communication system which comprises the active pen and the electronic equipment in the various embodiments of the application.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
The system, apparatus and method disclosed in the embodiments of the present application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The above-described device embodiments are merely illustrative, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (24)
1. A method for wireless communication, applied to wireless communication between an active pen and a plurality of touch screens, wherein the touch screens and the active pen respectively correspond to a plurality of wireless channels, and each wireless channel is used for wireless communication between the corresponding touch screen and the active pen, the method comprising:
the active pen sends a code printing signal to a first touch screen, wherein the code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen;
the active pen receives a wireless signal sent by the first touch screen, the wireless signal is transmitted through a wireless channel corresponding to the active pen, and the wireless signal carries identification information of the first touch screen;
the active pen identifies the first touch screen which is close to or contacted by the active pen currently in the plurality of touch screens according to the identification information of the first touch screen;
the active pen sends a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen;
if the active pen is switched from the first touch screen to a second touch screen in the plurality of touch screens, the active pen sends a code printing signal to the second touch screen;
the active pen receives a wireless signal sent by the second touch screen, the wireless signal is transmitted through a wireless channel corresponding to the active pen, and the wireless signal carries identification information of the second touch screen;
the active pen identifies that the active pen is switched from the first touch screen to the second touch screen according to the fact that the identification information of the second touch screen is different from the identification information of the first touch screen; and
and the active pen sends a wireless message to the second touch screen through a wireless channel corresponding to the second touch screen.
2. The method according to claim 1, wherein the identification information is a device identifier corresponding to the first touch screen or a channel identifier of a wireless channel corresponding to the first touch screen.
3. The method of claim 1, wherein the wireless message comprises pressure information generated by the active pen on the first touch screen.
4. The method of claim 1, wherein the active pen sends a code signal to the first touch screen, comprising:
the active pen sends a code printing signal to the first touch screen, the active pen and the first touch screen are within a preset distance, and the first touch screen receives the code printing signal;
wherein the preset distance is less than or equal to 10 mm.
5. The method of claim 3 or 4, wherein the active pen sends a code signal to the first touch screen, comprising:
the active pen and the first touch screen are within a preset distance, and the active pen sends a code printing signal to the first touch screen in a specific time period after detecting an uplink signal;
wherein the preset distance is less than or equal to 10 mm.
6. The method of claim 5, wherein the predetermined distance is 5-10 mm.
7. The method of claim 1, wherein the active pen receives a wireless signal transmitted by the first touch screen, comprising:
if the intensity of the code printing signal detected by the first touch screen is greater than a first threshold value and the number of times of the detected code printing signal is greater than a second threshold value, the active pen receives a wireless signal which is sent by the first touch screen and carries identification information of the first touch screen;
wherein the first threshold and the second threshold are each greater than 0.
8. The method of claim 1, wherein the wireless signal comprises a plurality of bits, and wherein the plurality of bits comprise an identification region for representing the identification information.
9. The method of claim 8, wherein the plurality of bits further comprises at least one of a check area, a supplementary command area, and a command header area.
10. The method of claim 9, wherein the command header area is used to represent a pressure request of the first touch screen.
11. The method of any of claims 1-4, 6-10, wherein the wireless communication comprises a bluetooth communication.
12. A method for wireless communication, applied to wireless communication between a first touch screen and an active pen in a plurality of touch screens, wherein the plurality of touch screens respectively correspond to a plurality of wireless channels, and each wireless channel is used for wireless communication between the corresponding touch screen and the active pen, the method comprising:
the first touch screen detects a code printing signal sent by the active pen, and the code printing signal is used for the first touch screen to determine the position information of the active pen on the first touch screen;
if the first touch screen detects a code printing signal, the first touch screen sends a wireless signal to the active pen, the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the first touch screen, and the identification information of the first touch screen is used for identifying the first touch screen which is close to or in contact with the active pen in the multiple touch screens;
the first touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen;
if the active pen is switched from the first touch screen to a second touch screen in the plurality of touch screens, the second touch screen detects a code printing signal sent by the active pen;
if the second touch screen detects a code printing signal, the second touch screen sends a wireless signal to the active pen, the wireless signal is transmitted through a wireless channel corresponding to the active pen and carries identification information of the second touch screen, and the identification information of the second touch screen is different from the identification information of the first touch screen, so that the active pen identification is switched from the first touch screen to the second touch screen; and
and the second touch screen receives the wireless message sent by the active pen through a wireless channel corresponding to the second touch screen.
13. The method according to claim 12, wherein the identification information is a device identifier corresponding to the first touch screen or a channel identifier of a wireless channel corresponding to the first touch screen.
14. The method of claim 12, wherein the wireless message includes pressure information generated by the active pen on the first touch screen.
15. The method of claim 12, wherein the first touch screen detecting the coded signal transmitted by the active pen comprises:
the first touch screen is within a preset distance from the active pen, and the first touch screen receives a code printing signal sent by the active pen;
wherein the preset distance is less than or equal to 10 mm.
16. The method of claim 12, wherein the first touch screen detecting the coded signal transmitted by the active pen comprises:
the first touch screen sends an uplink signal to the active pen, the first touch screen and the active pen are within a preset distance, the active pen receives the uplink signal, and the first touch screen receives a code printing signal sent by the active pen in a specific time period after the first touch screen sends the uplink signal;
wherein the preset distance is less than or equal to 10 mm.
17. A method according to claim 15 or 16, wherein the predetermined distance is 5-10 mm.
18. The method of claim 12, wherein if the first touch screen detects a code signal, the first touch screen sends a wireless signal to the active pen, comprising:
if the intensity of the code printing signal detected by the first touch screen is greater than a first threshold value and the number of times of the detected code printing signal is greater than a second threshold value, the first touch screen sends a wireless signal carrying identification information of the first touch screen to the active pen;
wherein the first threshold and the second threshold are each greater than 0.
19. The method of claim 12, wherein the wireless signal comprises a plurality of bits, and wherein the plurality of bits comprise an identification region for representing the identification information.
20. The method of claim 19, wherein the plurality of bits further comprises at least one of a check area, a supplementary command area, and a command header area.
21. The method of claim 20, wherein the command header area is used to represent a pressure request of the first touch screen.
22. The method of any of claims 12-16, 18-21, wherein the wireless communication comprises a bluetooth communication.
23. An active cartridge sheet for performing the method of wireless communication of any one of claims 1 to 11.
24. A touch chip for performing the method of wireless communication of any one of claims 12-22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010962053.7A CN111930253B (en) | 2020-09-14 | 2020-09-14 | Wireless communication method, active pen, touch screen, electronic device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010962053.7A CN111930253B (en) | 2020-09-14 | 2020-09-14 | Wireless communication method, active pen, touch screen, electronic device and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111930253A CN111930253A (en) | 2020-11-13 |
CN111930253B true CN111930253B (en) | 2021-03-05 |
Family
ID=73334996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010962053.7A Active CN111930253B (en) | 2020-09-14 | 2020-09-14 | Wireless communication method, active pen, touch screen, electronic device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111930253B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764562B (en) * | 2021-01-25 | 2024-09-06 | 维沃移动通信有限公司 | Signal processing method and device |
WO2022165839A1 (en) * | 2021-02-08 | 2022-08-11 | 深圳市汇顶科技股份有限公司 | Method for preventing interference, touch chip, and active pen chip |
US20220326805A1 (en) * | 2021-04-07 | 2022-10-13 | Novatek Microelectronics Corp. | Synchronization Method and Controller Thereof |
CN114217700B (en) * | 2022-02-18 | 2023-05-12 | 荣耀终端有限公司 | Touch pen switching method and input device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866796A (en) * | 2011-07-08 | 2013-01-09 | 三星电子株式会社 | Method for recognizing touch and display apparatus thereof |
CN104571732A (en) * | 2013-10-14 | 2015-04-29 | 深圳市汇顶科技股份有限公司 | Touch terminal and active touch pen detection method and system |
CN105549766A (en) * | 2014-10-23 | 2016-05-04 | 乐金显示有限公司 | Input system and method for detecting touch using the same |
CN107861651A (en) * | 2016-09-22 | 2018-03-30 | 京东方科技集团股份有限公司 | Touch control method, active pen, touch-screen and touch control display system |
CN111290665A (en) * | 2020-05-12 | 2020-06-16 | 深圳市汇顶科技股份有限公司 | Pressure detection method and device, active pen, touch chip and electronic equipment |
CN111427463A (en) * | 2018-12-20 | 2020-07-17 | 乐金显示有限公司 | Touch pen and touch screen display device |
US10719145B1 (en) * | 2019-04-30 | 2020-07-21 | Dell Products L.P. | Enable single and dual active pens on a dual-screen device |
-
2020
- 2020-09-14 CN CN202010962053.7A patent/CN111930253B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866796A (en) * | 2011-07-08 | 2013-01-09 | 三星电子株式会社 | Method for recognizing touch and display apparatus thereof |
CN104571732A (en) * | 2013-10-14 | 2015-04-29 | 深圳市汇顶科技股份有限公司 | Touch terminal and active touch pen detection method and system |
CN105549766A (en) * | 2014-10-23 | 2016-05-04 | 乐金显示有限公司 | Input system and method for detecting touch using the same |
CN107861651A (en) * | 2016-09-22 | 2018-03-30 | 京东方科技集团股份有限公司 | Touch control method, active pen, touch-screen and touch control display system |
CN111427463A (en) * | 2018-12-20 | 2020-07-17 | 乐金显示有限公司 | Touch pen and touch screen display device |
US10719145B1 (en) * | 2019-04-30 | 2020-07-21 | Dell Products L.P. | Enable single and dual active pens on a dual-screen device |
CN111290665A (en) * | 2020-05-12 | 2020-06-16 | 深圳市汇顶科技股份有限公司 | Pressure detection method and device, active pen, touch chip and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111930253A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111930253B (en) | Wireless communication method, active pen, touch screen, electronic device and communication system | |
CN113646768B (en) | Wireless communication method, active pen, touch screen, electronic device and communication system | |
US20210333893A1 (en) | Electronic device for selective transmission of downlink signal to sensor controller | |
US20210081060A1 (en) | System and method for bidirectional communication between stylus and stylus sensor controller | |
CN106055127B (en) | Active pen with two-way communication | |
EP2232804B1 (en) | Orthogonal frequency division multiple access with carrier sense | |
US12041614B2 (en) | User equipment assistance for resource selection in new radio vehicle to everything | |
US20240176443A1 (en) | Wireless communication method and active pen | |
CN111095173A (en) | Pressure detection method, device and system, touch chip and electronic equipment | |
EP3537840A1 (en) | Data transmission method, terminal and network-side device | |
WO2016192043A1 (en) | Resource allocation method and apparatus | |
CN112237042A (en) | Wireless communication device and method thereof | |
EP3986046A1 (en) | Efficient techniques for resource selection assistance reporting for nr rel-17 sidelink | |
JP2022533632A (en) | Device and its wireless communication method | |
CN111742287B (en) | Signal transmission method, touch chip and electronic equipment | |
CN105763255A (en) | Communication connection establishment method applied to intelligent terminal, intelligent terminal and server | |
CN112913174B (en) | Method, wireless device and network node for communication in a wireless network | |
CN105208516A (en) | Bluetooth paging method and device | |
CN104426572A (en) | Method and system for multiplexing radio-frequency front end | |
CN111862207B (en) | Gesture judging method and device of handwriting equipment, computer equipment and storage medium | |
CN117389433A (en) | Touch response method and device, electronic equipment and storage medium | |
CN116017777A (en) | Equipment control method, first electronic equipment and second electronic equipment | |
KR20210117580A (en) | Electronic apparatus using a pluality of communication shcemes and method for controlling thereof | |
CN116775369A (en) | Data processing method, device and system | |
KR20160129325A (en) | Anti-collision method considering p2p communication between nfc devices in coexistence with rfid system |
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 |