Touch methods, devices, equipment and computer-readable media for screens
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-08-14
AI Technical Summary
[0004]本申请提供了一种屏幕的触控方法、装置、设备及计算机可读介质,以解决现有屏幕触控功能都必须建立在触控感应器的识别上导致成本增加的技术问题
[0016]本申请提供了一种屏幕的触控方法,包括:复用无线终端上的多个天线接收触控笔发射的目标脉冲信号,其中,所述目标脉冲信号是所述触控笔在检测到所述触控笔在所述无线终端的显示屏上的运动趋势后发射的;根据所述多个天线各自接收到的所述目标脉冲信号,确定每一个天线到所述触控笔的目标距离;根据每一个天线到所述触控笔的目标距离确定所述触控笔在所述显示屏上的位置坐标;在所述显示屏上所述位置坐标处触发对应的应用。本申请不需要配套的电容,红外,磁场等类型触摸屏或感应器,而是直接复用无线终端的多个天线,触控笔发射脉冲信号,无线终端的天线接收脉冲信号,通过无线的方式建立连接,进而确定触控笔在无线终端的显示屏上的位置坐标,即可触发触控功能,解决了现有屏幕触控功能都必须建立在触控感应器的识别上导致成本增加的技术问题。
Smart Images

Figure CN117908701B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch screen technology, and in particular to a touch screen method, apparatus, device and computer-readable medium. Background Technology
[0002] As a human-computer interaction interface, touchscreens are essential devices for various applications due to their convenient operation. Touchscreen operations include finger contact, stylus input, and 3D hovering gestures. All of these methods rely on the recognition of different types of touch sensors, such as capacitive, infrared, and magnetic field sensors. By recognizing changes in the path of a finger, stylus, or limb to capacitance, magnetic fields, or light, the sensor processor acquires the changing signal. This signal is then processed through a series of hardware signal processing steps, analog-to-digital conversion, and software algorithms to determine the location of the touch point and send this location or movement trend to the main controller, thus triggering the corresponding application. However, the requirement to install touch sensors increases the cost of touchscreens.
[0003] There is currently no effective solution to the problem that existing screen touch functions all rely on touch sensor recognition, which increases costs. Summary of the Invention
[0004] This application provides a screen touch method, apparatus, device, and computer-readable medium to solve the technical problem that existing screen touch functions must rely on touch sensor recognition, which leads to increased costs.
[0005] According to one aspect of the embodiments of this application, this application provides a screen touch method, comprising: multiplexing multiple antennas on a wireless terminal to receive target pulse signals emitted by a stylus, wherein the target pulse signals are emitted by the stylus after detecting a movement trend of the stylus on the display screen of the wireless terminal; determining a target distance from each antenna to the stylus based on the target pulse signals received by each of the multiple antennas; determining the position coordinates of the stylus on the display screen based on the target distances from each antenna to the stylus; and triggering a corresponding application at the position coordinates on the display screen.
[0006] Optionally, determining the target distance from each antenna to the stylus based on the target pulse signals received by each of the plurality of antennas includes: determining a first number, a second number, and a third number of the target pulse signals received by the first antenna, the second antenna, and the third antenna, wherein the stylus transmits the target pulse signals at target time intervals, and the plurality of antennas includes at least the first antenna, the second antenna, and the third antenna; calculating a first distance, a second distance, and a third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first number, the second number, the third number, and the target time interval, wherein the target distance includes the first distance, the second distance, and the third distance.
[0007] Optionally, calculating the first distance, second distance, and third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first quantity, the second quantity, the third quantity, and the target time interval includes: multiplying the difference between the first quantity and the second quantity by the target time interval to obtain the distance difference between the first distance and the second distance; multiplying the difference between the second quantity and the third quantity by the target time interval to obtain the distance difference between the second distance and the third distance; multiplying the difference between the third quantity and the first quantity by the target time interval to obtain the distance difference between the third distance and the first distance; and combining the distance differences between the first distance and the second distance, the distance differences between the second distance and the third distance, and the distance difference between the third distance and the first distance to calculate the first distance, the second distance, and the third distance.
[0008] Optionally, determining the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus includes: using the position coordinates of the stylus as unknowns, constructing distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna respectively, based on the fixed coordinates of the first antenna, the second antenna, and the third antenna, and the position coordinates of the stylus; substituting the first distance, the second distance, and the third distance into the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna respectively; and combining the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna to calculate the position coordinates of the stylus.
[0009] Optionally, the method further includes: determining a target physical plane outside the display screen of the wireless terminal; constructing a touch receiving area on the target physical plane according to the size and shape of the display screen; mapping the position coordinates of the stylus on the touch receiving area to the display screen; and triggering the corresponding application at the position coordinates mapped to the display screen.
[0010] Optionally, the method further includes: when the size of the display screen exceeds a preset size, constructing a touch receiving area of a preset size on the target physical plane according to the shape of the display screen; determining a mapping ratio based on the size of the display screen and the size of the touch receiving area; mapping the position coordinates of the stylus on the touch receiving area onto the display screen according to the mapping ratio; and triggering the corresponding application at the position coordinates mapped onto the display screen.
[0011] According to another aspect of the embodiments of this application, this application provides a touch screen device, including: a signal receiving module, configured to multiplex multiple antennas on a wireless terminal to receive target pulse signals emitted by a stylus, wherein the target pulse signals are emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal; a distance determining module, configured to determine a target distance from each antenna to the stylus based on the target pulse signals received by each of the multiple antennas; a coordinate calculation module, configured to determine the position coordinates of the stylus on the display screen based on the target distances from each antenna to the stylus; and a touch triggering module, configured to trigger a corresponding application at the position coordinates on the display screen.
[0012] According to another aspect of the embodiments of this application, this application provides a screen touch system, including a stylus, a wireless terminal, and the aforementioned screen touch device. The stylus includes a battery, a gyroscope, a pulse generator, and a pulse transmitting antenna. The battery powers the stylus, the gyroscope detects whether the stylus has a movement trend on the display screen of the wireless terminal, the pulse generator generates a target pulse signal when the gyroscope detects a movement trend of the stylus on the display screen of the wireless terminal, and the pulse transmitting antenna transmits the target pulse signal. The wireless terminal is provided with the display screen and multiple antennas, which receive the target pulse signal.
[0013] According to another aspect of the embodiments of this application, this application provides an electronic device, including a memory, a processor, a communication interface and a communication bus. The memory stores a computer program that can run on the processor. The memory and the processor communicate with each other through the communication bus and the communication interface. When the processor executes the computer program, it implements the steps of the above method.
[0014] According to another aspect of the embodiments of this application, this application also provides a computer-readable medium having processor-executable non-volatile program code that causes the processor to perform the above-described method.
[0015] Compared with related technologies, the technical solutions provided in this application have the following advantages:
[0016] This application provides a screen touch control method, comprising: reusing multiple antennas on a wireless terminal to receive target pulse signals emitted by a stylus, wherein the target pulse signals are emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal; determining a target distance from each antenna to the stylus based on the target pulse signals received by each of the multiple antennas; determining the position coordinates of the stylus on the display screen based on the target distances from each antenna to the stylus; and triggering a corresponding application at the position coordinates on the display screen. This application does not require a matching capacitive, infrared, magnetic field, or other type of touchscreen or sensor. Instead, it directly reuses multiple antennas of the wireless terminal, with the stylus emitting pulse signals and the antennas of the wireless terminal receiving the pulse signals, establishing a wireless connection to determine the position coordinates of the stylus on the display screen of the wireless terminal, thereby triggering the touch function. This solves the technical problem that existing screen touch functions must rely on touch sensor recognition, leading to increased costs. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0019] Figure 1 This is a schematic flowchart of an optional screen touch method according to an embodiment of this application;
[0020] Figure 2 This is a schematic diagram of an optional stylus provided according to an embodiment of this application;
[0021] Figure 3 This is a schematic diagram of an optional touch scenario provided according to an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of an optional coordinate calculation principle provided according to an embodiment of this application;
[0023] Figure 5 This is a block diagram of an optional screen touch device according to an embodiment of this application;
[0024] Figure 6 This is a schematic diagram of an optional electronic device structure provided in an embodiment of this application. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustration and has no specific meaning in itself. Therefore, "module" and "part" may be used interchangeably.
[0027] To address the problems mentioned in the background art, according to one aspect of the embodiments of this application, an embodiment of a screen touch method is provided, such as... Figure 1 As shown, the method may include the following steps:
[0028] Step S102: Multiple antennas on the wireless terminal are reused to receive target pulse signals emitted by the stylus, wherein the target pulse signals are emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal;
[0029] Step S104: Determine the target distance from each antenna to the stylus based on the target pulse signal received by each of the plurality of antennas.
[0030] Step S106: Determine the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus;
[0031] Step S108: Trigger the corresponding application at the location coordinates on the display screen.
[0032] Through the above steps S102 to S108, this application does not require matching capacitive, infrared, magnetic field or other types of touch screens or sensors. Instead, it directly reuses multiple antennas of the wireless terminal. The stylus emits pulse signals, and the antenna of the wireless terminal receives the pulse signals. A connection is established wirelessly, and the position coordinates of the stylus on the display screen of the wireless terminal are determined, thereby triggering the touch function. This solves the technical problem that existing screen touch functions must be based on the recognition of touch sensors, which leads to increased costs.
[0033] In this application embodiment, in order to realize the touch function of the screen without the need for a matching capacitive, infrared, magnetic field, or other types of touch screens or sensors, this application provides a specific stylus, such as... Figure 2 As shown, the device includes a battery, a gyroscope, a pulse generator, and a pulse transmitting antenna. The battery powers the stylus, the gyroscope detects whether the stylus moves on the display screen of the wireless terminal, the pulse generator generates a target pulse signal when the gyroscope detects movement of the stylus on the display screen, and the pulse transmitting antenna transmits the target pulse signal.
[0034] In this embodiment, multiple antennas of the wireless terminal are directly reused to receive the target pulse signal emitted by the stylus, thereby establishing a wireless connection and determining the position coordinates of the stylus on the wireless terminal's display screen, thus triggering the touch function. The wireless terminal requires at least three antennas; the technical solution of this application will be explained using three antennas as an example. Figure 3 As shown, the wireless terminal product is equipped with a first antenna ANT1, a second antenna ANT2, and a third antenna ANT3, located at points A, B, and C respectively, and their positions are fixed. A(x1, y1, z1), B(x2, y2, z2), C(x3, y3, z3), where x1, y1, z1, x2, y2, z2, x3, y3, and z3 are all known constants.
[0035] Before multiplexing the multiple antennas on the wireless terminal to receive the target pulse signal emitted by the stylus in step S102, initialization of the wireless terminal and stylus is required. Initialization begins after the stylus and wireless terminal are powered on. During stylus initialization, after the gyroscope detects a motion trend, the pulse generator produces a specific pulse signal m0, and the pulse transmitting antenna begins transmitting the specific pulse signal m0, repeating the transmission multiple times according to the target time interval t. During initialization, the wireless terminal defines the antenna receiving the specific pulse signal m0 as M0 after demodulation, thus confirming that this signal is the target pulse signal sent by the stylus, and then performs matching between the stylus and the wireless terminal. The specific pulse signal m0 can be a pulse signal with a fixed frequency f0 and transmission interval t set according to actual needs. After the wireless terminal is initialized, the antenna receives the stylus's pulse signal m0, demodulates it to confirm it is the M0 stylus matching signal, and provides a prompt tone or displays a touch image, indicating that the stylus matching is successful and the screen can be moved and controlled. After the wireless terminal and stylus are paired, during the movement of the stylus, the stylus continuously transmits the same target pulse signal m0 to the three antennas of the wireless terminal simultaneously. The antennas receive the signal, calculate the position coordinates of the stylus, and then trigger the touch function of the screen.
[0036] In this embodiment of the application, the calculation of the distance from the antenna to the stylus and the determination of the stylus's position coordinates can be performed as follows: Figure 4 As shown, circles are drawn with the distance from the three antennas to the stylus as the radius. The intersection of the three circles is the position coordinate of the stylus.
[0037] In an optional embodiment, step S104, based on the target pulse signals received by each of the plurality of antennas, determines the target distance from each antenna to the stylus, including:
[0038] Step 1: Determine the first, second, and third quantities of the target pulse signals received by the first antenna, the second antenna, and the third antenna, respectively, wherein the stylus transmits the target pulse signals according to the target time interval, and the plurality of antennas includes at least the first antenna, the second antenna, and the third antenna.
[0039] In this embodiment, since the three antennas are located at different positions on the wireless terminal, when the stylus transmits target pulse signals at fixed target time intervals, the number of target pulse signals received by the first antenna, the second antenna, and the third antenna within a certain time period will be different due to the different distances.
[0040] Step 2: Calculate the first distance, second distance, and third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first quantity, the second quantity, the third quantity, and the target time interval, wherein the target distance includes the first distance, the second distance, and the third distance.
[0041] Specifically, calculating the first distance, second distance, and third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first quantity, the second quantity, the third quantity, and the target time interval includes:
[0042] Multiply the difference between the first quantity and the second quantity by the target time interval to obtain the distance difference between the first distance and the second distance;
[0043] Multiply the difference between the second quantity and the third quantity by the target time interval to obtain the distance difference between the second distance and the third distance;
[0044] Multiply the difference between the third quantity and the first quantity by the target time interval to obtain the distance difference between the third distance and the first distance;
[0045] By combining the distance difference between the first distance and the second distance, the distance difference between the second distance and the third distance, and the distance difference between the third distance and the first distance, the first distance, the second distance, and the third distance are calculated.
[0046] In this embodiment of the application, based on Figure 3 and Figure 4 In the illustrated embodiment, AP represents the first distance from the first antenna to the stylus, BP represents the second distance from the second antenna to the stylus, CP represents the third distance from the third antenna to the stylus, n1 represents the first number of target pulse signals received by the first antenna, n2 represents the second number of target pulse signals received by the second antenna, and n3 represents the third number of target pulse signals received by the third antenna. The following calculation formula is constructed:
[0047] llAPl-lBPll=t*ln1-n2l;
[0048] llBPl-lCPll=t*ln2-n3l;
[0049] llCPl-lAPll=t*ln3-n1l;
[0050] Since the parameters on the right side of the equation above are all known, the values of lAl - lBP, lBP - lCP, and lCP - lAl can be calculated. Then, by solving these three equations simultaneously to form a system of three linear equations in three variables, the values of the first distance lAL, the second distance lBP, and the third distance lCP can be calculated. Here, "ll" represents the length and is taken as a positive value.
[0051] In an optional embodiment, step S106, determining the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus, includes:
[0052] Step 1: Using the position coordinates of the stylus as unknowns, construct a formula for calculating the distances from the stylus to the first antenna, the second antenna, and the third antenna, respectively, based on the fixed coordinates of the first antenna, the second antenna, the third antenna, and the position coordinates of the stylus;
[0053] Step 2: Substitute the first distance, the second distance, and the third distance into the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna, respectively;
[0054] Step 3: Combine the distance calculation formulas of the stylus to the first antenna, the second antenna and the third antenna respectively, and calculate the position coordinates of the stylus.
[0055] In this embodiment, P(x, y, z) represents the position coordinates of the stylus. Based on the fixed coordinates of the first antenna, the second antenna, the third antenna, and the position coordinates of the stylus, the following formulas are constructed to calculate the distances from the stylus to the first antenna, the second antenna, and the third antenna, respectively:
[0056] lAPl=√[(x-x1)^2+(y-y1)^2+(z-z1)^2];
[0057] lBPl=√[(x-x2)^2+(y-y2)^2+(z-z2)^2];
[0058] lCPl=√[(x-x3)^2+(y-y3)^2+(z-z3)^2];
[0059] Substituting the values of the first distance lAPl, the second distance lBPl, and the third distance lCPl obtained in step S104 into the above equation, we can obtain a system of three linear equations with the coordinates of point P (x, y, z) as unknowns. This allows us to calculate the position coordinates of the stylus, P(x, y, z).
[0060] In step S108, the position coordinates P(x, y, z) of the stylus are sent to the controller, which can trigger the corresponding application at the position coordinates on the display screen.
[0061] Compared to other stylus solutions, this application does not require matching capacitive, infrared, magnetic field or other types of touch screens or sensors, which can greatly simplify the screen structure, directly reuse multiple antennas of the wireless terminal, and reduce costs.
[0062] The stylus in this application emits pulse signals, and the antenna of the wireless terminal receives the pulse signals, establishing a connection wirelessly without the need for additional physical connection interfaces.
[0063] Since this application reuses multiple antennas of the wireless terminal for signal transmission and reception, theoretically the implementation of touch function can be unrestricted by screen size. Within the signal range, the position coordinates of the stylus can be calculated and then mapped onto the display screen to realize touch function.
[0064] Based on the above embodiments, this application can also extend the plane of the stylus touch from the display screen to other fixed planes, such as a desktop or mouse pad, and map it onto the display plane.
[0065] In an optional embodiment, the method further includes:
[0066] Step 1: Determine the target physical plane outside the display screen of the wireless terminal;
[0067] Step 2: Construct a touch receiving area on the target physical plane according to the size and shape of the display screen;
[0068] Step 3: Map the position coordinates of the stylus on the touch receiving area onto the display screen;
[0069] Step 4: Trigger the corresponding application at the position coordinates mapped onto the display screen.
[0070] In this embodiment, the target physical plane is a physical surface such as a desktop or mouse pad. Then, based on the size and shape of the display screen, a touch receiving area is constructed on the target physical plane. This area should be able to cover possible touch positions on the display screen. When the stylus moves on the touch receiving area, its position coordinates are recorded. These position coordinates are then mapped onto the display screen. This can be achieved by calculating the relative position of the stylus to the target physical plane. Finally, the corresponding application is triggered at the position coordinates mapped onto the display screen. For example, if a user clicks or swipes on an application on the display screen, then when the stylus operates at the corresponding position on the touch receiving area, the same action will also be applied on the display screen.
[0071] As mentioned in the foregoing embodiments, since this application reuses multiple antennas of the wireless terminal for signal transmission and reception, theoretically the implementation of touch function can be unrestricted by screen size. However, if the screen is too large, it is not convenient to directly implement the screen touch function provided by this application on the screen. Therefore, this problem can be solved based on the concept of expanding the touch plane.
[0072] In an optional embodiment, the method further includes:
[0073] Step 1: When the size of the display screen exceeds the preset size, construct a touch receiving area of the preset size on the target physical plane according to the shape of the display screen;
[0074] Step 2: Determine the mapping ratio based on the size of the display screen and the size of the touch receiving area;
[0075] Step 3: Map the position coordinates of the stylus on the touch receiving area onto the display screen according to the mapping ratio;
[0076] Step 4: Trigger the corresponding application at the position coordinates mapped onto the display screen.
[0077] In this embodiment, when the screen size exceeds a preset size, a touch receiving area of a preset size is constructed on the target physical plane according to the shape of the screen. The size of this area can be a fixed value or dynamically calculated based on the screen size. Then, a mapping ratio is determined based on the screen size and the touch receiving area size. This ratio can be a fixed value or dynamically calculated based on the actual sizes of the screen and the touch receiving area. Next, the position coordinates of the stylus on the touch receiving area are mapped onto the screen according to the mapping ratio. This ensures that even if the stylus moves within a larger touch receiving area, its position coordinates are correctly mapped onto the screen. Finally, the corresponding application is triggered at the position coordinates mapped onto the screen. This allows users to operate within a larger touch receiving area without being limited by screen size.
[0078] This application does not require matching capacitive, infrared, magnetic field or other types of touch screens or sensors. Instead, it directly reuses multiple antennas of the wireless terminal. The stylus emits pulse signals, and the antenna of the wireless terminal receives the pulse signals. A connection is established wirelessly, and the position coordinates of the stylus on the display screen of the wireless terminal are determined, thereby triggering the touch function. This solves the technical problem that existing screen touch functions must rely on touch sensor recognition, which increases costs.
[0079] According to another aspect of the embodiments of this application, such as Figure 5 As shown, a touch device for a screen is provided, comprising:
[0080] The signal receiving module 501 is used to multiplex multiple antennas on the wireless terminal to receive target pulse signals emitted by the stylus, wherein the target pulse signal is emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal;
[0081] The distance determination module 503 is used to determine the target distance from each antenna to the stylus based on the target pulse signal received by each of the plurality of antennas.
[0082] The coordinate calculation module 505 is used to determine the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus;
[0083] The touch trigger module 507 is used to trigger the corresponding application at the position coordinates on the display screen.
[0084] It should be noted that the signal receiving module 501 in this embodiment can be used to execute step S102 in this application embodiment, the distance determining module 503 in this embodiment can be used to execute step S104 in this application embodiment, the coordinate solving module 505 in this embodiment can be used to execute step S106 in this application embodiment, and the touch triggering module 507 in this embodiment can be used to execute step S108 in this application embodiment.
[0085] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should also be noted that the above modules, as part of the device, can be implemented in software or hardware.
[0086] Optionally, the distance determination module is specifically used to: determine a first number, a second number, and a third number of the target pulse signals received by the first antenna, the second antenna, and the third antenna, respectively, wherein the stylus transmits the target pulse signals according to a target time interval, and the plurality of antennas includes at least the first antenna, the second antenna, and the third antenna; calculate a first distance, a second distance, and a third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first number, the second number, the third number, and the target time interval, wherein the target distance includes the first distance, the second distance, and the third distance.
[0087] Optionally, the distance determination module is further configured to: multiply the difference between the first quantity and the second quantity by the target time interval to obtain the distance difference between the first distance and the second distance; multiply the difference between the second quantity and the third quantity by the target time interval to obtain the distance difference between the second distance and the third distance; multiply the difference between the third quantity and the first quantity by the target time interval to obtain the distance difference between the third distance and the first distance; and combine the distance differences between the first distance and the second distance, the distance differences between the second distance and the third distance, and the distance difference between the third distance and the first distance to calculate the first distance, the second distance, and the third distance.
[0088] Optionally, the coordinate calculation module is specifically used to: using the position coordinates of the stylus as unknowns, and based on the fixed coordinates of the first antenna, the second antenna, the third antenna, and the position coordinates of the stylus, construct distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna respectively; substitute the first distance, the second distance, and the third distance into the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna respectively; and combine the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna to calculate the position coordinates of the stylus.
[0089] Optionally, the touch device of the screen further includes an extension module, specifically used for: determining a target physical plane outside the display screen of the wireless terminal; constructing a touch receiving area on the target physical plane according to the size and shape of the display screen; mapping the position coordinates of the stylus on the touch receiving area to the display screen; and triggering the corresponding application at the position coordinates mapped to the display screen.
[0090] Optionally, the expansion module is further configured to: when the size of the display screen exceeds a preset size, construct a touch receiving area of a preset size on the target physical plane according to the shape of the display screen; determine a mapping ratio based on the size of the display screen and the size of the touch receiving area; map the position coordinates of the stylus on the touch receiving area onto the display screen according to the mapping ratio; and trigger the corresponding application at the position coordinates mapped onto the display screen.
[0091] According to another aspect of the embodiments of this application, this application provides a screen touch system, including a stylus, a wireless terminal, and the aforementioned screen touch device. The stylus includes a battery, a gyroscope, a pulse generator, and a pulse transmitting antenna. The battery is used to power the stylus. The gyroscope is used to detect whether the stylus has a movement trend on the display screen of the wireless terminal. The pulse generator is used to generate a target pulse signal when the gyroscope detects that the stylus has a movement trend on the display screen of the wireless terminal. The pulse transmitting antenna is used to transmit the target pulse signal. The wireless terminal is provided with the display screen and multiple antennas, and the multiple antennas are used to receive the target pulse signal.
[0092] According to another aspect of the embodiments of this application, this application provides an electronic device, such as... Figure 6 As shown, the system includes a memory 601, a processor 603, a communication interface 605, and a communication bus 607. The memory 601 stores a computer program that can run on the processor 603. The memory 601 and the processor 603 communicate through the communication interface 605 and the communication bus 607. When the processor 603 executes the computer program, it implements the steps of the above method.
[0093] The memory and processor in the aforementioned electronic devices communicate with each other via a communication bus and a communication interface. The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0094] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0095] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0096] According to another aspect of the embodiments of this application, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of any of the above embodiments.
[0097] Optionally, in embodiments of this application, the computer-readable medium is configured to store program code for the processor to perform the following steps:
[0098] Multiple antennas on a wireless terminal are reused to receive target pulse signals emitted by a stylus, wherein the target pulse signals are emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal;
[0099] Based on the target pulse signals received by each of the plurality of antennas, the target distance from each antenna to the stylus is determined;
[0100] The position coordinates of the stylus on the display screen are determined based on the target distance from each antenna to the stylus;
[0101] The corresponding application is triggered at the location coordinates shown on the display screen.
[0102] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.
[0103] In specific implementation, the embodiments of this application can be referred to the above embodiments and have corresponding technical effects.
[0104] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0105] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0106] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0107] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0108] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0109] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0110] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0111] If the aforementioned function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks. It should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. In the absence of further restrictions, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0112] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A screen touch control method, characterized in that, include: Multiple antennas on a wireless terminal are reused to receive target pulse signals emitted by a stylus, wherein the target pulse signals are emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal; Based on the target pulse signals received by each of the plurality of antennas, the target distance from each antenna to the stylus is determined; The position coordinates of the stylus on the display screen are determined based on the target distance from each antenna to the stylus; The corresponding application is triggered at the location coordinates shown on the display screen; The step of determining the target distance from each antenna to the stylus based on the target pulse signals received by each of the plurality of antennas includes: The first, second, and third quantities of the target pulse signals received by the first, second, and third antennas are determined respectively, wherein the stylus transmits the target pulse signals according to the target time interval, and the plurality of antennas include at least the first, second, and third antennas; The first distance, second distance, and third distance from the first antenna, the second antenna, and the third antenna to the stylus are calculated based on the first quantity, the second quantity, the third quantity, and the target time interval, wherein the target distance includes the first distance, the second distance, and the third distance.
2. The screen touch method according to claim 1, characterized in that, The step of calculating the first distance, second distance, and third distance from the first antenna, the second antenna, and the third antenna to the stylus based on the first quantity, the second quantity, the third quantity, and the target time interval includes: Multiply the difference between the first quantity and the second quantity by the target time interval to obtain the distance difference between the first distance and the second distance; Multiply the difference between the second quantity and the third quantity by the target time interval to obtain the distance difference between the second distance and the third distance; Multiply the difference between the third quantity and the first quantity by the target time interval to obtain the distance difference between the third distance and the first distance; By combining the distance difference between the first distance and the second distance, the distance difference between the second distance and the third distance, and the distance difference between the third distance and the first distance, the first distance, the second distance, and the third distance are calculated.
3. The screen touch method according to claim 2, characterized in that, Determining the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus includes: Using the position coordinates of the stylus as unknowns, and based on the fixed coordinates of the first antenna, the second antenna, the third antenna, and the position coordinates of the stylus, a formula is constructed to calculate the distances from the stylus to the first antenna, the second antenna, and the third antenna, respectively. Substitute the first distance, the second distance, and the third distance into the distance calculation formulas for the stylus to the first antenna, the second antenna, and the third antenna, respectively; By combining the distance calculation formulas from the stylus to the first antenna, the second antenna, and the third antenna, the position coordinates of the stylus are calculated.
4. The screen touch method according to any one of claims 1 to 3, characterized in that, The method further includes: Define the target physical plane outside the display screen of the wireless terminal; A touch receiving area is constructed on the target physical plane according to the size and shape of the display screen; The position coordinates of the stylus on the touch receiving area are mapped onto the display screen; The corresponding application is triggered at the position coordinates mapped onto the display screen.
5. The screen touch method according to claim 4, characterized in that, The method further includes: When the size of the display screen exceeds a preset size, a touch receiving area of a preset size is constructed on the target physical plane according to the shape of the display screen; The mapping ratio is determined based on the size of the display screen and the size of the touch receiving area; The position coordinates of the stylus on the touch receiving area are mapped onto the display screen according to the mapping ratio; The corresponding application is triggered at the position coordinates mapped onto the display screen.
6. A screen touch device for implementing the screen touch method as described in any one of claims 1 to 5, characterized in that, include: A signal receiving module is used to multiplex multiple antennas on a wireless terminal to receive target pulse signals emitted by a stylus, wherein the target pulse signal is emitted by the stylus after detecting the movement trend of the stylus on the display screen of the wireless terminal; The distance determination module is used to determine the target distance from each antenna to the stylus based on the target pulse signal received by each of the plurality of antennas. A coordinate calculation module is used to determine the position coordinates of the stylus on the display screen based on the target distance from each antenna to the stylus; The touch trigger module is used to trigger the corresponding application at the position coordinates on the display screen.
7. A touch screen system, characterized in that, The device includes a stylus, a wireless terminal, and a screen as described in claim 6. The stylus includes a battery, a gyroscope, a pulse generator, and a pulse transmitting antenna. The battery powers the stylus. The gyroscope detects whether the stylus moves on the display screen of the wireless terminal. The pulse generator generates a target pulse signal when the gyroscope detects movement. The pulse transmitting antenna transmits the target pulse signal. The wireless terminal has the display screen and multiple antennas for receiving the target pulse signal.
8. An electronic device comprising a memory, a processor, a communication interface, and a communication bus, wherein the memory stores a computer program executable on the processor, and the memory and the processor communicate via the communication bus and the communication interface, characterized in that... When the processor executes the computer program, it implements the screen touch method according to any one of claims 1 to 5.
9. A computer-readable medium having processor-executable non-volatile program code, characterized in that, The program code causes the processor to execute the screen touch method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Adjustable touch control method of display screen
CN104503673A
Touch sensing system and display apparatus
CN104571745A