Wireless communication method, active pen and touch screen
By detecting the identification information in the uplink signal of the touch screen, the active pen identifies and uses the corresponding wireless channel to communicate wirelessly with multiple touch screens, solving the problem of pressure information transmission between multiple touch screens and achieving seamless switching and accurate transmission.
Patent Information
- Application Number
- CN202211412597.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-10
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-03-10
AI Technical Summary
Accurate wireless transmission of pressure information between multiple touchscreens is challenging with active pens, especially since it is difficult to determine which touchscreen is currently close to or in contact with for wireless communication.
By detecting the identification information in the uplink signal sent by the touchscreen, the active pen identifies the touchscreen that is currently close to or in contact with, and uses the wireless channel corresponding to the touchscreen to transmit wireless messages, including Bluetooth communication.
It enables accurate wireless message transmission between the active pen and multiple touchscreens, supporting seamless switching between different touchscreens and real-time transmission of pressure information.
Smart Images

Figure CN115712357B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention application with application date of March 10, 2020, application number 202080001569.3, and name “Wireless communication method, active pen, touch screen, electronic device and communication system”. Technical Field
[0002] Embodiments of the present application relate to the field of information technology, and more specifically, to a wireless communication method, an active pen, a touch screen, an electronic device, and a communication system. Background Art
[0003] At present, active pens, as the main peripheral input accessories of electronic devices, are gradually attracting market attention. The tip of the active pen will emit signals, and there are a certain number of horizontal and vertical detection electrodes distributed on the touch screen. Therefore, the signals emitted from the tip of the pen can be detected by the detection electrodes, and the two-dimensional position coordinates of the tip of the pen on the touch screen can be calculated based on the detection signals.
[0004] The active pen is usually provided with a pressure sensor to detect the 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 via wireless communication. When there are multiple touch screens, how the active pen can accurately transmit pressure information becomes an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a wireless communication method, an active pen, a touch screen, an electronic device, and a communication system, which can realize accurate transmission of wireless messages between an active pen and multiple touch screens.
[0006] In a first aspect, a wireless communication method is provided, which is applied to wireless communication between an active pen and a plurality of touch screens, wherein the plurality of touch screens correspond to a plurality of wireless channels respectively, wherein each wireless channel is used for wireless communication between a corresponding touch screen and the active pen, and the method comprises:
[0007] The active pen detects an uplink signal, wherein the uplink signal carries identification information;
[0008] If the active pen successfully detects the uplink signal, the active pen identifies, according to the identification information, a first touch screen that the active pen is currently close to or in contact with among the multiple touch screens;
[0009] The active pen sends a wireless message to the first touch screen through a wireless channel corresponding to the first touch screen.
[0010] In a possible implementation manner, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0011] In a possible implementation, the active pen sending a wireless message to the first touch screen includes: when the number of times that the active pen successfully detects the uplink signal carrying the identification information is greater than a threshold, sending the wireless message to the first touch screen.
[0012] In a possible implementation manner, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0013] In a possible implementation, the method further includes: the active pen outputting a coding signal to the first touch screen within a specific time period after detecting the uplink signal, and the coding signal is used by the first touch screen to determine the position information of the active pen on the first touch screen.
[0014] In a possible implementation manner, the uplink signal includes multiple bits, and the multiple bits include an identification area for indicating the identification information.
[0015] In a possible implementation manner, the plurality of bits further include at least one of a check area, a command area, and a preamble area.
[0016] In a possible implementation, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0017] In a possible implementation manner, the wireless communication includes Bluetooth communication.
[0018] In a second aspect, a wireless communication method is provided, which is applied to wireless communication between a first touch screen among a plurality of touch screens and an active pen, wherein the plurality of touch screens correspond to a plurality of wireless channels respectively, wherein each wireless channel is used for wireless communication between a corresponding touch screen and the active pen, and the method comprises:
[0019] The first touch screen detects a coding signal output by the active pen;
[0020] If the signal strength of the coding signal is greater than a threshold, the first touch screen sends an uplink signal carrying identification information to the active pen, and the identification information is used by the active pen to identify the first touch screen among the multiple touch screens;
[0021] The first touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
[0022] In a possible implementation manner, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0023] In a possible implementation manner, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0024] In a possible implementation, the first touch screen detects the coding signal output by the active pen, including: the touch screen detects the coding signal sent by the active pen within a specific time period after outputting an uplink signal to the active pen once, wherein the signal strength of the coding signal is used to determine whether the uplink signal sent to the active pen next time carries the identification information.
[0025] In a possible implementation manner, the uplink signal includes multiple bits, and the multiple bits include an identification area for indicating the identification information.
[0026] In a possible implementation manner, the plurality of bits further include at least one of a check area, a command area, and a preamble area.
[0027] In a possible implementation, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0028] In a possible implementation manner, the wireless communication includes Bluetooth communication.
[0029] In a third aspect, an active pen is provided for wirelessly communicating with a plurality of touch screens, wherein the plurality of touch screens correspond to a plurality of wireless channels respectively, wherein each wireless channel is used for wirelessly communicating between a corresponding touch screen and the active pen, and the active pen comprises:
[0030] A processing module, used for detecting an uplink signal, wherein the uplink signal carries identification information;
[0031] The processing module is further configured to, if the active pen successfully detects the uplink signal, identify, according to the identification information, a first touch screen that the active pen is currently close to or in contact with among the multiple touch screens;
[0032] The communication module is used to send a wireless message to the first touch screen through the wireless channel corresponding to the first touch screen.
[0033] In a possible implementation manner, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0034] In a possible implementation, the communication module is specifically configured to: send the wireless message to the first touch screen when the number of times that the processing module successfully detects the uplink signal carrying the identification information is greater than a threshold.
[0035] In a possible implementation manner, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0036] In a possible implementation, the processing module is further used to: output a coding signal to the first touch screen within a specific time period after detecting the uplink signal, and the coding signal is used by the first touch screen to determine the position information of the active pen on the first touch screen.
[0037] In a possible implementation, the uplink signal includes a plurality of bits, wherein the plurality of bits include an identification area for indicating the identification information, and at least one of a check area, a command area, and a preamble area.
[0038] In a possible implementation, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0039] In a possible implementation manner, the wireless communication includes Bluetooth communication.
[0040] In a fourth aspect, a touch screen is provided for wireless communication with an active pen, wherein the plurality of touch screens correspond to a plurality of wireless channels respectively, wherein each wireless channel is used for wireless communication between the corresponding touch screen and the active pen, and the touch screen comprises:
[0041] A processing module, used for detecting the coding signal output by the active pen;
[0042] The processing module is further configured to send an uplink signal carrying identification information to the active pen if the signal strength of the coding signal is greater than a threshold, wherein the identification information is used by the active pen to identify the first touch screen among the multiple touch screens;
[0043] The communication module is used to receive a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
[0044] In a possible implementation manner, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0045] In a possible implementation manner, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0046] In a possible implementation, the processing module is specifically used to: detect the coding signal sent by the active pen within a specific time period after outputting an uplink signal to the active pen once, wherein the signal strength of the coding signal is used to determine whether the uplink signal sent to the active pen next time carries the identification information.
[0047] In a possible implementation, the uplink signal includes a plurality of bits, wherein the plurality of bits include an identification area for indicating the identification information, and at least one of a check area, a command area, and a preamble area.
[0048] In a possible implementation, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0049] In a possible implementation manner, the wireless communication includes Bluetooth communication.
[0050] In a fifth aspect, an electronic device is provided, comprising: the touch screen in the aforementioned fourth aspect and any possible implementation manner of the fourth aspect.
[0051] In a sixth aspect, a communication system is provided, comprising: the active pen in the aforementioned third aspect and any possible implementation of the third aspect; and the electronic device in the aforementioned fifth aspect and any possible implementation of the fifth aspect.
[0052] Based on the above technical solution, the active pen identifies the touch screen it is currently close to or in contact with among multiple touch screens through the uplink signal sent by the touch screen, and uses the wireless channel corresponding to the touch screen to send a wireless message to the touch screen, thereby achieving accurate transmission of wireless messages between the active pen and multiple touch screens. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a schematic diagram of an active pen.
[0054] Figure 2 It is a schematic diagram of the principle of using an active pen on a touch screen.
[0055] Figure 3 It is a schematic flowchart of the wireless communication method of an embodiment of the present application.
[0056] Figure 4 It is a schematic flowchart of the wireless communication method of an embodiment of the present application.
[0057] Figure 5 It is a timing diagram of the uplink information and coding signal between the active pen and the touch screen.
[0058] Figure 6 It is a schematic diagram of the uplink signal.
[0059] Figure 7 It is a schematic diagram of the coded pulses in the uplink signal.
[0060] Figure 8 It is a schematic diagram of a possible implementation method of the wireless communication method of an embodiment of the present application.
[0061] Fig. 9 It is a schematic diagram of a possible implementation method of the wireless communication method of an embodiment of the present application.
[0062] Fig.10 It is a schematic diagram of an active pen switching between multiple touch screens.
[0063] Fig.11 It is a schematic block diagram of the active pen of an embodiment of the present application.
[0064] Fig.12 is a schematic block diagram of a touch screen according to an embodiment of the present application.
[0065] Fig.13 It is a schematic block diagram of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION
[0066] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0067] Figure 1 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 can emit a coding signal through an electrode, and the coding signal can be used to calculate the coordinates of the active pen 100 on the touch screen after being detected by the touch screen. Figure 2 As shown, a certain number of detection electrodes in the vertical and horizontal directions are distributed on the touch screen, such as the driving electrodes and sensing electrodes of the mutual capacitance touch screen, which are connected to the driving circuit and the sensing circuit respectively. When the coding signal output by the pen tip 101 acts on a certain position of the screen, the horizontal electrode and the vertical electrode corresponding to the position will 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 signal.
[0068] The pen tip 101 is also connected to a pressure sensor. The pressure sensor is used to detect the pressure generated by the active pen 100 on the touch screen, so that the active pen 100 can sense the change in the user's writing force, and the touch screen can change the thickness of the handwriting according to the change in the writing force, thereby achieving an excellent user experience. The pressure information output by the active pen 100 can be sent to the electronic device through the wireless communication module 103 in the active pen 100, and the electronic device can 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, it will send the pressure information to the electronic device through the wireless communication module 103.
[0069] It should be understood that the pressure generated by the active pen described in the embodiments of the present application is the pressure output by the user through the active pen, that is, the writing pressure of the user. The user can apply pressure to the touch screen through the active pen, and different handwritings of the active pen can be presented on the touch screen according to different pressures. The pressure is detected by the pressure sensor in the active pen.
[0070] Wireless communication requires a process of establishing a connection. When a wireless connection is established between the active pen and the touch screen, the touch screen will be assigned a corresponding wireless channel, and the active pen transmits wireless messages to the touch screen through the wireless channel.
[0071] In actual applications, when there are multiple touch screens, if you want the active pen to 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 through which wireless channel to send the pressure information of the active pen, which greatly limits the use of the active pen.
[0072] To this end, an embodiment of the present application provides a wireless communication method that can achieve accurate transmission of wireless messages between an active pen and multiple touch screens.
[0073] Combine the following Figure 3 and Figure 4 , describing the operations performed by the active pen and the touch screen respectively in the wireless communication method of an embodiment of the present application.
[0074] Figure 3 3 is a schematic flow chart of a wireless communication method 300 of an embodiment of the present application. The method can be performed by an active pen. The method is used for wireless communication between an active pen and multiple touch screens. The multiple touch screens correspond to multiple wireless channels, respectively, and each wireless channel is used for wireless communication between the touch screen corresponding to the active pen. Figure 3 As shown, method 300 may include some or all of the following steps.
[0075] In 310 , the active pen detects an uplink signal.
[0076] The uplink signal carries the identification information.
[0077] The uplink signal may also be called an uplink command, which generally refers to a signal outputted by the detection electrodes of the touch screen to the active pen.
[0078] In 320 , if the active pen successfully detects the uplink signal, the active pen identifies the first touch screen that the active pen is currently close to or in contact with among the multiple touch screens according to the identification information carried by the active pen.
[0079] In 330, the active pen sends a wireless message to the first touch screen through the wireless channel corresponding to the first touch screen.
[0080] The active pen can be paired or connected with multiple touch screens, but at a certain moment, the active pen can only be used on one of the multiple touch screens, so the active pen can only perform wireless communication with one touch screen at this moment to transmit wireless messages.
[0081] When the active pen is paired or connected with multiple touch screens, the system will assign wireless channels to each touch screen, and the active pen needs to communicate wirelessly with the touch screen through the wireless channel corresponding to each touch screen. Therefore, the active pen needs to know which touch screen it is currently using and use the wireless channel corresponding to the touch screen to send wireless messages. In this way, the wireless message can be accurately transmitted to the touch screen.
[0082] In this embodiment, the active pen detects the uplink signal and identifies the first touch screen that it is currently close to or in contact with among the multiple touch screens according to the identification information carried therein, thereby using the wireless channel corresponding to the first touch screen to send a wireless message to the first touch screen. The identification information is the identification information corresponding to the first touch screen, and the active pen identifies the first touch screen through the uplink signal sent by the first touch screen, and transmits the wireless message to the first touch screen, thereby achieving accurate transmission of the wireless message.
[0083] It should be understood that in 320, the active pen successfully detects the uplink signal, which may mean that the active pen successfully verifies the uplink signal and correctly demodulates the information carried in the uplink signal; the active pen fails to successfully detect the uplink signal, which may mean that the active pen does not detect the uplink signal or detects the uplink signal but fails to correctly demodulate the uplink signal, or in other words, the active pen does not detect the uplink signal or detects an erroneous uplink signal.
[0084] Figure 44 is a schematic flow chart of a wireless communication method 400 of an embodiment of the present application. The method can be executed by a first touch screen among multiple touch screens. The method is used for wireless communication between the first touch screen and an active pen. Here, the first touch screen is used as an example for description. The operations executed by other touch screens among the multiple touch screens can refer to the operations executed by the first touch screen. For the sake of brevity, no further description is given. Figure 4 As shown, method 400 may include some or all of the following steps.
[0085] In 410 , the first touch screen detects a coding signal output by the active pen.
[0086] In 420, if the signal strength of the coding signal is greater than or equal to the threshold, the first touch screen sends an uplink signal carrying identification information to the active pen.
[0087] The identification information is used by the active pen to identify the first touch screen among the multiple touch screens.
[0088] In 430 , the first touch screen receives a wireless message sent by the active pen through a wireless channel corresponding to the first touch screen.
[0089] In this embodiment, the first touch screen carries its identification information in the uplink message, so that the active pen can identify the first touch screen among multiple touch screens according to the identification information. Since the positions of multiple touch screens may be very close, this may cause the active pen to output a coding signal to the first touch screen that is close to or in contact with it, and other touch screens adjacent to the first touch screen may also detect the coding signal. However, the signal strength of the coding signal detected by the first touch screen and other adjacent touch screens is different, and the signal strength of the coding signal detected by the first touch screen is the largest. Therefore, the first touch screen can determine whether the coding signal is the coding signal that the active pen expects to send to the first touch screen by judging the signal strength of the coding signal detected by it. And when the signal strength of the coding signal is greater than or equal to the threshold, its identification information is carried in its uplink signal. Of course, if the signal strength of the coding signal is less than the threshold, the first touch screen will not carry the identification information in its uplink signal.
[0090] The active pen identifies the first touch screen according to the identification information in the uplink message, and sends a wireless message using the wireless channel corresponding to the first touch screen. The first touch screen receives the wireless message such as pressure information sent by the active pen through its corresponding wireless channel, and outputs the line in real time according to the coding signal and pressure information.
[0091] Optionally, the method 300 may further include: the active pen outputting a coding signal to the first touch screen within a specific period of time after detecting the uplink signal, wherein the coding signal is used by the first touch screen to determine the position information of the active pen on the first touch screen.
[0092] Accordingly, in 410, the touch screen detects the coding signal output by the active pen within a specific period of time after outputting an uplink signal to the active pen. The signal strength of the coding signal is used to determine whether the next uplink signal sent to the active pen carries the identification information.
[0093] That is, the active pen can perform coding based on the uplink signal sent by the touch screen. The active pen can parse the detected uplink signal to obtain the synchronization command information in the uplink signal, and start outputting the coding signal after a fixed delay based on the synchronization command information, so that the touch screen can calculate the position coordinates of the active pen. Accordingly, the touch screen starts detecting the coding signal after a fixed delay in sending the uplink signal, and determines whether to carry its identification information when sending the uplink signal next time based on the strength detection result of the coding signal.
[0094] There are two types of active pens. The first type is a periodic coding active pen. This type of active pen periodically outputs a coding signal to the touch screen. The touch screen detects the coding signal based on the same period.
[0095] The second type is an active pen that triggers coding with an uplink signal. Since some touch screens can output uplink signals to the active pen through detection electrodes, for this type of active pen, the active pen will output a coding signal to the touch screen only after it detects the uplink signal sent by the touch screen. Figure 5 As shown, taking a period T as an example, the touch screen outputs an uplink signal, and the active pen detects the uplink signal. If the active pen successfully detects the uplink signal sent by the touch screen, the active pen outputs a coding signal to the touch screen within a specific time period after a fixed delay. The fixed delay can be determined based on the signal processing time of the active pen, which is used for the active pen to process the uplink signal and prepare the coding signal. The active pen continues to output the coding signal within the specific time period. Accordingly, after the touch screen outputs the uplink signal, it detects the coding signal output by the active pen within the specific time period. After the active pen outputs the coding signal, it continues to detect the uplink signal until the next uplink signal is detected and then outputs the coding signal.
[0096] While the active pen is outputting the coding 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 can also detect and send the pressure information of the active pen after sending the coding signal, for example Figure 5The embodiment of the present application does not impose any limitation on the time of pressure detection. The time when the active pen outputs the coding signal is based on the detection result of the active pen on the uplink signal. However, the time of pressure detection may not be limited by the detection result of the uplink signal. The pressure detection may have its own timing. The active pen may perform pressure detection based on, for example, a preset sampling frequency and sampling period.
[0097] Here, "coding" means "outputting a coding signal", which can also be called a driving signal. The coding signal output by the pen tip electrode can be, for example, a square wave, a sine wave or a triangle wave, and the actual frequency used can be, for example, between tens of kHz and hundreds of kHz.
[0098] The active pen in the embodiment of the present application can be the first type active pen or the second type active pen. For example, when the active pen is the first type active pen, the active pen outputs the coding signal according to a cycle, and each cycle includes a time period T of outputting the coding signal. A and the time period T for detecting uplink signals B , the active pen can be in each cycle period T A Output the coding signal to the touch screen and use it to detect the uplink signal during the period T B Detect the uplink signal sent by the touch screen to obtain the identification information of the touch screen. For another example, when the active pen is a second type active pen, the active pen outputs the coding signal only after successfully detecting the uplink signal and achieving synchronization, and the active pen can obtain the identification information of the touch screen from the uplink signal.
[0099] There are two types of interactions between the active pen and the touch screen. One is the transmission of uplink and downlink signals between the active pen and the touch screen, where the uplink and downlink signals are realized through the pen tip electrode of the active pen and the horizontal and vertical electrodes of the touch screen. The downlink signal is used to determine and correct the pen tip coordinates, and the uplink signal is used to transmit commands from the touch screen to the active pen. The active pen can output a coding signal to the touch screen, so that the touch screen can determine the position coordinates of the pen tip of the active pen on the touch plane according to the coding signal; and the touch screen can output an uplink signal to the active pen. For example, the uplink signal can carry information such as the number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen, so that the active pen can perform coding based on this information.
[0100] Another type of interaction between the active pen and the touch screen is interaction through wireless communication. The active pen can transmit wireless messages to the touch screen through the wireless communication module. The wireless message can be, for example, the aforementioned pressure information, that is, the pressure information generated by the active pen on the first touch screen, or can be, for example, the tilt angle and azimuth angle of the active pen relative to the touch plane, the power of the active pen, the firmware version of the active pen, and other information. The following description is based on the example that the wireless message is pressure information.
[0101] Here, the wireless communication between the active pen and the touch screen can be understood as the wireless communication between the active pen and the main control device of the touch screen, and the main control device can be, for example, an electronic device using the touch screen, such as a mobile phone, a tablet computer, etc. For example, the active pen sends a wireless message to the first touch screen, which can be the active pen sending the wireless message to the main control device of the touch screen, and the main control device of the touch screen conveys the wireless message to the touch screen; the first touch screen receives the wireless message sent by the active pen, which can be the first touch screen receiving the wireless message through its main control device.
[0102] The wireless communication may be, for example, Bluetooth communication such as Bluetooth Low Energy (BLE) or the like, or may be Wireless Fidelity (Wi-Fi) communication or the like.
[0103] The embodiments of the present application do not impose any limitation on the identification information, as long as it can uniquely identify the first touch screen or its corresponding wireless channel. For example, the identification information corresponding to the first touch screen may be the device identification corresponding to the first touch screen. The device identification corresponding to the first touch screen may be, for example, the identification of the first touch screen, and different touch screens may have different device identifications; or the device identification corresponding to the first touch screen may be the identification of the main control device to which the first touch screen is applied, and different main control devices may have different identifications. For another example, the identification information corresponding to the first touch screen may be the channel identification of the wireless channel corresponding to the first touch screen, and the system may allocate different wireless channels to different touch screens, and different wireless channels may have different channel identifications.
[0104] The uplink signal sent by the first touch screen includes a plurality of bits, and the plurality of bits include an identification area for indicating the identification information. Further, the plurality of bits may also include at least one of a check area, a command area, and a preamble area.
[0105] For example Figure 6The uplink signal shown in the figure includes n bits, namely bit 1 to bit n. Each bit can represent a number. For binary, each bit can represent two numbers, 1 or 0. For ternary, each bit can represent three numbers. The following description takes binary as an example. The n bits can be divided into multiple partitions, each partition is used to represent different content. In other words, the n bits are divided into multiple fields, each field includes a number of bits. Figure 6 In the example, four partitions are taken, namely, the check area, the command area, the identification area and the leading code area.
[0106] The verification area is used for the active pen to verify the uplink signal to ensure that the detected signal is the uplink signal from the touch screen. Only after the verification is successful can it be possible to perform coding according to the information carried in the uplink signal.
[0107] The command area is used to carry information such as the number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, the coding frequency of the active pen, etc. The active pen can obtain these parameters for coding from the command area.
[0108] The identification area is used to carry identification information corresponding to the touch screen, such as the device identification or channel identification corresponding to the touch screen. It can be agreed that when the identification area is a specific value, it means that no identification information is carried. For example, when all bits in the identification area are 0, it means that the uplink signal does not carry identification information.
[0109] The leading code area is used to carry synchronization information for synchronization between the active pen and the touch screen. For details, please refer to the above Figure 5 , Figure 5 The active pen and the touch screen send and detect coding signals respectively. Figure 5 The active pen can be synchronized with the touch screen through the leading code area in the uplink signal to determine the time to output the coding signal, and the touch screen will detect the coding signal at the same time.
[0110] It should be understood that in the embodiment of the present application, except for the identification area, other partitions are not necessary.
[0111] Figure 6 The number on each bit in is represented by a coded pulse of a certain length, for example Figure 7 The encoding pulses are shown. Figure 7 For example only, Figure 7 Only 4 bits of value are shown, which are 1001 respectively, wherein the pulse sequence 0x98E1F28A is used to represent the digital "1", and the pulse sequence 0x671E0D75 is used to represent the digital "0". Figure 7The length of each pulse sequence in the can be, for example, 32 us, and each pulse is 1 us, so the time occupied by one bit is 32 us. The active pen can identify the information carried in the pulse sequence by decoding the pulse sequence.
[0112] Optionally, in 310, the active pen sends a wireless message to the first touch screen, including: when the number of times that the active pen successfully detects the uplink signal carrying the identification information is greater than a threshold, sending the wireless message to the first touch screen.
[0113] In this embodiment, the active pen sends a wireless message to the first touch screen only when the number of times the active pen successfully detects the uplink signal carrying the same identification information is greater than the threshold. This is to ensure the stability of the wireless channel. Assuming that the active pen finds that the identification information in the uplink message changes from identification 1 to identification 2, and when identification 2 is detected multiple times, it determines to switch from the wireless channel corresponding to the previous identification 1 to the wireless channel corresponding to identification 2, and uses the wireless channel corresponding to identification 2 to send the wireless message.
[0114] For example Figure 8 A possible implementation of the method 300 shown is as follows: Figure 8 The process shown is performed by an active pen.
[0115] In 801, the active pen detects an uplink signal.
[0116] In 802 , the active pen determines whether the uplink signal is successfully detected.
[0117] If the uplink signal is successfully detected, execute 804 ; if the uplink signal is not successfully detected, execute 803 .
[0118] In 803, the active pen maintains the current wireless channel.
[0119] That is, the active pen still uses the current wireless channel to send wireless messages.
[0120] In 804, the active pen determines whether the identification information in the uplink signal changes.
[0121] If the identification information has changed, execute 805 ; if the identification information has not changed, execute 803 .
[0122] In 805, it is determined whether the identification information is stable.
[0123] That is, it is determined whether the number of times the uplink signal carrying the identification information is successfully detected reaches a threshold.
[0124] If the number of times the same identification information is successfully detected reaches a threshold, that is, the identification information becomes stable, then 806 is executed; otherwise, if the threshold is not reached, then 803 is executed.
[0125] In 806, the active pen sends a wireless message using the new wireless channel.
[0126] Fig. 9 is a schematic diagram of a possible implementation of method 400, Fig. 9 The process shown can be executed by any one of a plurality of touch screens that can be used in conjunction with an active pen.
[0127] In 901, the touch screen outputs an uplink signal.
[0128] In 902, the touch screen detects a coding signal output by the active pen.
[0129] In 903, the touch screen determines whether the signal strength of the coding signal is greater than a threshold.
[0130] If the signal strength of the coding signal is greater than the threshold, execute 904; if the signal strength of the coding signal is less than the threshold, execute 905.
[0131] In 904, the touch screen adds its identification information to the uplink signal.
[0132] In 905, the touch screen does not add its identification information to the uplink signal.
[0133] The touch screen can be Figure 6 If the touch screen sets the value in the identification area to a default value, such as 0, it means that no identification information is added to the uplink signal.
[0134] The uplink signal in 901 is the uplink signal in the current cycle, and the touch screen outputs the uplink signal generated in 905 or 904 in the next cycle.
[0135] Since different touch screens use different wireless channels, the touch screen carries its identification information in the uplink signal, so that the active pen can identify the touch screen currently in contact with or close to it through the identification information carried in the uplink signal, thereby using the wireless channel corresponding to the touch screen to send a wireless message, and the touch screen uses its corresponding wireless channel to receive the wireless message.
[0136] Reference now Fig.10 , Fig.10 In FIG. 1 , multiple touch screens are shown, and the active pen can establish wireless connection with the multiple touch screens and can write on the multiple touch screens. Each touch screen has its own identification, i.e., number, for example Fig.10The identifier "1" to the identifier "N" shown in . In the embodiment of the present application, the active pen can switch among the N touch screens, for example, switching from the top of touch screen 1 to the top of touch screen 2. Assuming that the active pen is above touch screen 1 and is used to write on touch screen 1, at this time, the signal strength of the coding signal output by the active pen detected by touch screen 1 will be greater than the threshold value. Therefore, the uplink signal output by touch screen 1 to the active pen carries the identification information corresponding to touch screen 1. When the active pen detects the identification information corresponding to touch screen 1, it knows that it needs to use the wireless channel corresponding to touch screen 1 to send the pressure information it detects.
[0137] When the active pen moves from the top of touch screen 1 to the top of touch screen 2 to write, the signal strength of the coding signal detected by touch screen 1 will decrease, and thus decrease to below the threshold value, after which the uplink signal output by touch screen 1 no longer carries the identification information corresponding to touch screen 1. However, the active pen is close to touch screen 2, so the signal strength of the coding signal detected by touch screen 2 increases, and thus exceeds the threshold value. At this time, the uplink signal output by touch screen 2 to the active pen carries the identification information corresponding to touch screen 2. After the identification information in the uplink signal detected by the active pen changes from the identification information corresponding to touch screen 1 to the identification information corresponding to touch screen 2, it is known that it is necessary to switch to the wireless channel corresponding to touch screen 2, so as to use the wireless channel corresponding to touch screen 2 to send pressure information.
[0138] It can be seen that by adopting the method of the embodiment of the present application, the active pen can switch the wireless channel according to the real-time usage situation and transmit wireless messages to a specific device in a targeted manner, thereby achieving seamless switching between different touch screens and completing the accurate transmission of wireless messages.
[0139] The present application also provides an active pen for wireless communication with multiple touch screens. The multiple touch screens correspond to multiple wireless channels, respectively, wherein each wireless channel is used for wireless communication between the corresponding touch screen and the active pen. Fig.11 As shown, the active pen 1100 includes:
[0140] The processing module 1110 is used to detect an uplink signal, where the uplink signal carries identification information;
[0141] The processing module 1110 is further configured to, if the uplink signal is successfully detected, identify, according to the identification information, a first touch screen that the active pen is currently close to or in contact with among the multiple touch screens;
[0142] The communication module 1120 is configured to send a wireless message to the first touch screen via a wireless channel corresponding to the first touch screen.
[0143] Therefore, the active pen identifies the touch screen it is currently close to or in contact with among multiple touch screens through the uplink signal sent by the touch screen, and uses the wireless channel corresponding to the touch screen to send a wireless message to the touch screen, thereby enabling accurate transmission of wireless messages between the active pen and multiple touch screens.
[0144] Optionally, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0145] Optionally, the communication module 1120 is specifically configured to: send the wireless message to the first touch screen when the number of times that the processing module successfully detects the uplink signal carrying the identification information is greater than a threshold.
[0146] Optionally, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0147] Optionally, the processing module 1110 is further used to: output a coding signal to the first touch screen within a specific period of time after detecting the uplink signal, and the coding signal is used by the first touch screen to determine the position information of the active pen on the first touch screen.
[0148] Optionally, the uplink signal includes multiple bits, and the multiple bits include an identification area for representing the identification information.
[0149] Optionally, the plurality of bits further include at least one of a check area, a command area and a preamble area.
[0150] Optionally, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0151] Optionally, the wireless communication includes Bluetooth communication.
[0152] It should be understood that Fig.11 The above and other operations and / or functions of each module of the active pen 1100 of the embodiment of the present application are respectively to achieve Figure 3 The corresponding process executed by the active pen in the wireless communication method will not be repeated here for the sake of brevity.
[0153] The present application also provides a touch screen for wireless communication with an active pen. The multiple touch screens correspond to multiple wireless channels, wherein each wireless channel is used for wireless communication between the corresponding touch screen and the active pen. Fig.12 As shown, the touch screen 1200 includes:
[0154] The processing module 1210 is used to detect the coding signal output by the active pen;
[0155] The processing module 1210 is further configured to, if the signal strength of the coding signal is greater than a threshold, send an uplink signal carrying identification information to the active pen, wherein the identification information is used by the active pen to identify the first touch screen among the multiple touch screens;
[0156] The communication module 1220 is used to receive a wireless message sent by the active pen through the wireless channel corresponding to the first touch screen.
[0157] Since different touch screens use different wireless channels, the touch screen carries its identification information in the uplink signal, so that the active pen can identify the touch screen that is currently in contact or close to it through the identification information carried in the uplink signal, and use the wireless channel corresponding to the touch screen to send wireless messages, thereby achieving accurate transmission of wireless messages between the active pen and multiple touch screens.
[0158] Optionally, the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
[0159] Optionally, the wireless message includes pressure information generated by the active pen on the first touch screen.
[0160] Optionally, the processing module 1210 is specifically configured to: detect the coding signal output by the active pen within a specific period of time after the uplink signal is output to the active pen.
[0161] Optionally, the uplink signal includes multiple bits, and the multiple bits include an identification area for representing the identification information.
[0162] Optionally, the plurality of bits further include at least one of a check area, a command area and a preamble area.
[0163] Optionally, the command area is used to represent at least one of the following information: the serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen, and the coding frequency of the active pen.
[0164] Optionally, the wireless communication includes Bluetooth communication.
[0165] It should be understood that Fig.12 The above and other operations and / or functions of the various modules of the touch screen 1200 of the embodiment of the present application are respectively to achieve Figure 4 The corresponding process executed by the first touch screen in the wireless communication method in the embodiment of the present invention will not be described in detail here for the sake of brevity.
[0166] The present application also provides a communication device. Fig.13 As shown, the communication device 1300 is used to implement the method described in the above method embodiment. Fig.13 A dashed box in the box indicates that the unit or module is optional.
[0167] The communication device 1300 includes at least one processor 1301. The processor 1301 can support the communication device 1300 to implement Figures 3 to 9 The method in the corresponding method embodiment. The processor 1301 can be a general-purpose processor or a special-purpose processor. For example, the processor 1301 can be a central processing unit (CPU), a micro-programmed control unit (MCU), etc. The processor 1301 can be used to control the communication device 1300, execute the software program, and process the data of the software program. The communication device 1300 can also include a communication module 1305 to realize the input and output of signals.
[0168] For example, the communication device 1300 may be a chip, and the communication module 1305 may be an input circuit and / or output circuit of the chip; or, the communication module 1305 may be a communication interface of the chip, and the chip may be a component of an active pen, a touch screen or other wireless communication device.
[0169] 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; or, the communication module 1305 may be a transceiver circuit of the active pen, the touch screen, or the electronic device.
[0170] The communication device 1300 may include at least one memory 1302, on which a program 1304 is stored. The program 1304 can be executed by the processor 1301 to generate instructions 1303, so that the processor 1301 performs the method described in the above method embodiment according to the instructions 1303. Optionally, data may also be stored in the memory 1302. Optionally, the processor 1301 may also read the data stored in the memory 1302, and the data may be stored at the same storage address as the program 1304, or the data may be stored at a different storage address from the program 1304.
[0171] The processor 1301 and the memory 1302 may be provided separately or integrated together.
[0172] The communication device 1300 may further include an antenna 1306. The communication module 1305 is used to implement the transceiver function of the communication device 1300 through the antenna 1306.
[0173] The specific manner in which the processor 1301 executes the communication method may refer to the relevant description in the method embodiment.
[0174] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or a software-based instruction in the processor 1301. The processor 1301 can be a CPU, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0175] The present application also provides a computer program product, which, when executed by the processor 1301, implements the method described in any method embodiment of the present application.
[0176] The computer program product may be stored in the memory 1302 , for example, a program 1304 , which is converted into an executable target file that can be executed by the processor 1301 after preprocessing, compiling, assembling, linking and other processing processes.
[0177] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.
[0178] The computer-readable storage medium is, for example, a memory 1302. The memory 1302 may be a volatile memory or a nonvolatile memory, or the memory 1302 may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (Direct Rambus RAM, DR RAM).
[0179] An embodiment of the present application further provides an electronic device, including the touch screen in the various embodiments of the present application described above.
[0180] An embodiment of the present application further provides a communication system, including the active pen and the electronic device in the various embodiments of the present application described above.
[0181] It should be noted that, under the premise of no conflict, the various embodiments described in this application and / or the technical features in each embodiment can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the protection scope of this application.
[0182] The systems, devices and methods disclosed in the embodiments of the present application may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is merely a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or 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 may include electrical, mechanical or other forms of connection.
[0183] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.
[0184] It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and these improvements or modifications all fall within the scope of protection of the present application.
[0185] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A wireless communication method, characterized in that: The method is used for an active pen to identify a touch screen currently approaching or in contact with the active pen among multiple touch screens and to communicate wirelessly with the touch screen, the method comprising: The active pen detects an uplink signal, wherein the uplink signal carries identification information; If the active pen successfully detects the uplink signal, the active pen identifies the touch screen currently approached or in contact with the active pen as the first touch screen among the multiple touch screens according to the identification information in the uplink signal, wherein the uplink signal is the uplink signal output by the first touch screen through its detection electrode; The active pen sends a wireless message to the first touch screen, and the wireless message includes pressure information generated by the active pen on the first touch screen; the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen.
2. The method according to claim 1, characterized in that The active pen sends a wireless message to the first touch screen, including: When the number of times that the active pen successfully detects the uplink signal carrying the identification information is greater than a threshold, the wireless message is sent to the first touch screen.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: The active pen outputs a coding signal to the first touch screen within a specific period of time after detecting the uplink signal, and the coding signal is used by the first touch screen to determine the position information of the active pen on the first touch screen.
4. The method according to claim 1 or 2, characterized in that: The uplink signal includes a plurality of bits, and the plurality of bits includes an identification area for indicating the identification information; The plurality of bits also include at least one of a check region, a command region, and a preamble region; The command area is used to indicate at least one of the following information: The serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen and the coding frequency of the active pen.
5. The method according to claim 1 or 2, characterized in that: The wireless communication includes Bluetooth communication.
6. A wireless communication method, characterized in that: For wirelessly communicating with the active pen when the active pen is close to or in contact with the active pen, the method comprising: The first touch screen detects the coding signal output by the active pen; If the signal strength of the coding signal is greater than a threshold, the first touch screen sends an uplink signal carrying identification information to the active pen, where the identification information is a device identification corresponding to the first touch screen or a channel identification of a wireless channel corresponding to the first touch screen; The first touch screen receives a wireless message sent by the active pen, where the wireless message includes pressure information generated by the active pen on the first touch screen.
7. The method according to claim 6, characterized in that The first touch screen detects the coding signal output by the active pen, including: The touch screen detects the coding signal output by the active pen within a specific period of time after outputting an uplink signal to the active pen once, wherein the signal strength of the coding signal is used to determine whether the uplink signal sent to the active pen next time carries the identification information.
8. The method according to claim 6 or 7, characterized in that: The uplink signal includes a plurality of bits, and the plurality of bits includes an identification area for indicating the identification information; The plurality of bits also include at least one of a check region, a command region, and a preamble region; The command area is used to indicate at least one of the following information: The serial number of the active pen, the coding signal length of the active pen, the data encoding length of the active pen and the coding frequency of the active pen.
9. The method according to claim 6 or 7, characterized in that: The wireless communication includes Bluetooth communication.
10. A wireless communication method, characterized in that: The method is used for an active pen to identify a touch screen currently approaching or in contact with the active pen among multiple touch screens and to communicate wirelessly with the touch screen, the method comprising: The active pen detects an uplink signal, where the uplink signal is an uplink signal output by the first touch screen through its detection electrode; If the number of times that the active pen successfully detects the uplink signal is greater than a threshold, the active pen identifies, according to the uplink signal, a touch screen that the active pen is currently close to or in contact with as a first touch screen among the multiple touch screens; The active pen sends a wireless message to the first touch screen, where the wireless message includes pressure information generated by the active pen on the first touch screen.
11. The method according to claim 10, characterized in that The active pen outputs a coding signal to the first touch screen, wherein the first touch screen outputs the uplink signal when detecting that the signal strength of the coding signal is greater than a threshold.
12. A wireless communication method, characterized in that: For wirelessly communicating with the active pen when the active pen is close to or in contact with the active pen, the method comprising: The first touch screen detects the coding signal output by the active pen; The first touch screen sends an uplink signal to the active pen, and when the number of uplink signals detected by the active pen is greater than a threshold, a wireless message is sent to the first touch screen, wherein the uplink signal is an uplink signal output by the first touch screen through its detection electrode; The first touch screen receives a wireless message sent by the active pen, where the wireless message includes pressure information generated by the active pen on the first touch screen.
13. The method according to claim 12, characterized in that If the signal strength of the coding signal is greater than a threshold, the first touch screen adds its identification information to the uplink signal.
14. An active pen, characterized in that: The active pen is used to identify the touch screen currently approaching or in contact with the active pen among multiple touch screens and to communicate wirelessly with the touch screen, and the active pen is used to execute the method described in any one of claims 1 to 5, 10 and 11.
15. A touch screen, characterized in that: Used for wireless communication with the active pen when the active pen is close to or in contact with the active pen, and the touch screen is used to execute the method according to any one of claims 6 to 9, 12 and 13.
