Screen refresh positioning method, device, display device and storage medium

By analyzing the grayscale data of the LED display screen, using high and low bit or parity decoding strategies to determine the contact position of the stylus, solving the problem of high touch delay in the LED display screen, and achieving a low delay and full-size consistent touch effect.

CN114047840BActive Publication Date: 2025-03-11UNILUMIN GRP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111327218.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2025-03-11
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

The existing LED display touch mode has a problem of high delay, and the infrared touch frame method loses touch function when light is blocked, and the touch sensitivity of the screen edge is low.

Method used

By obtaining and analyzing touch position information, the greyscale of the display screen refreshes the position of the light bead, and the binary number is processed using the high and low bit decoding strategy or the parity bit decoding strategy to determine the current contact position of the stylus.

Benefits of technology

It realizes the accurate coordinates of the lamp beads refreshed in a short time range, with extremely short delays, and consistent full-size touch sensitivity and low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114047840B_ABST
    Figure CN114047840B_ABST
Patent Text Reader

Abstract

The present application relates to a screen refresh positioning method, device, display device and storage medium. The screen refresh positioning method includes obtaining touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a drive instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position; the touch position information is parsed to determine the current contact point position of the stylus. The present application utilizes the grayscale refresh of the touch object to transmit the lamp bead position, and can then refresh the accurate coordinates of the lamp bead within a relatively short time range, with extremely short delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch interaction technology, and in particular to a screen refresh positioning method, device, display device and storage medium. Background Art

[0002] For LED (Light-Emitting Diode) displays that are hundreds of inches in size, the lowest cost way to achieve touch control is to use an infrared touch frame. Including an infrared touch frame and a stylus, the method is to place a series of infrared probes on the edge of the screen. The probes will illuminate the tip of the stylus and produce reflections. By detecting the reflected light from different probes, the exact coordinates of the current landing point are calculated. However, with the infrared touch frame method, when the emitted light is blocked, the touch function will be lost, and the touch sensitivity at the edge of the screen is low. The position of the probe installed at the edge of the screen is also difficult to ignore, and the large black edge of the screen edge cannot be avoided.

[0003] Other display touch solutions, including capacitive, vector pressure sensing, surface acoustic wave, metal mesh, piezoresistive and infrared, are generally limited by the contradiction between cost and full-size control, and it is difficult to achieve full-size touch screen control with low latency at low cost. In other words, during the implementation process, it was found that the traditional technology has at least the following problems: the current touch method has a high latency problem. Summary of the invention

[0004] Based on this, it is necessary to provide a screen refresh positioning method, device, display device and storage medium that can reduce delay in response to the above technical problems.

[0005] In order to achieve the above-mentioned purpose, on the one hand, an embodiment of the present application provides a screen refresh positioning method, including:

[0006] Acquire touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position;

[0007] Parse the touch position information to determine the current touch point position of the stylus.

[0008] In one of the embodiments, the lamp bead position includes the precise position of the lamp bead;

[0009] The step of parsing the touch position information and determining the current touch point position of the stylus includes:

[0010] Obtain the grayscale level corresponding to the grayscale of the lamp bead, and identify the binary number corresponding to the grayscale level corresponding to the grayscale of the lamp bead in the driving instruction;

[0011] The corresponding parsing strategy is used to process the binary number to obtain the precise position of the lamp bead, and the precise position of the lamp bead is determined as the current contact position; the parsing strategy includes high and low bit decoding strategy and parity bit decoding strategy.

[0012] In one embodiment, the precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parsing strategy is a high-low bit decoding strategy:

[0013] The X-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number;

[0014] or

[0015] The X-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number.

[0016] In one embodiment, the precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parity decoding strategy is a parity decoding strategy:

[0017] The X-axis coordinate value of the lamp bead coordinate is obtained based on the even-numbered bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the odd-numbered bits in the 16-bit binary number;

[0018] or

[0019] The X-axis coordinate value of the lamp bead coordinate is obtained based on the odd bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the even bits in the 16-bit binary number.

[0020] In one embodiment, the refresh strategy further includes a current display area confirmed based on the previous refresh content; the previous refresh content includes a rough position of the lamp beads;

[0021] Before the step of using a corresponding analytical strategy to process the binary number to obtain the precise position of the lamp bead and determining the precise position of the lamp bead as the current contact position, the step further includes:

[0022] Acquire pre-displayed content of the touch object in the current display area, detect the grayscale of a preset number of frames in the pre-displayed content, and acquire the grayscale levels corresponding to the grayscale of the preset number of frames;

[0023] The grayscale levels corresponding to the grayscale of a preset number of frames are compared with the grayscale levels corresponding to the grayscale of the lamp beads, and the high-low bit decoding strategy or the parity bit decoding strategy is determined as the parsing strategy according to the comparison result.

[0024] In one embodiment, before the step of parsing the touch position information and determining the current touch point position of the stylus, the step further includes:

[0025] If a frame change mark is detected in the lamp bead data and the frame change mark meets the frame change condition, it is confirmed that the touch object has completed the frame change at the current touch acquisition moment of the stylus;

[0026] The refresh timing of the lamp bead data is determined according to the frame change mark, and the lamp bead grayscale in the lamp bead data is determined based on the refresh timing.

[0027] In one embodiment,

[0028] The lamp bead data is a frame of data; the driving instruction includes a binary number of preset bits corresponding to the lamp bead data;

[0029] The frame change mark includes low-gray data; the frame change condition includes a preset bit time slot corresponding to a binary number for refreshing the low-gray data.

[0030] A screen refresh positioning device, comprising:

[0031] The information acquisition module is used to acquire touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position;

[0032] The analysis module is used to analyze the touch position information and determine the current touch point position of the stylus.

[0033] A display device, the display device comprising a display screen and a driving device;

[0034] Among them, the display screen serves as the touch object of the stylus; and the driving device is used to execute the steps of the above method.

[0035] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0036] One of the above technical solutions has the following advantages and beneficial effects:

[0037] The touch position information in this application is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus, and the refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the lamp bead position, and the lamp bead data includes the lamp bead grayscale used to express the lamp bead position, and then the current touch point position of the stylus is determined by parsing the touch position information. This application uses the grayscale refresh of the touch object to transmit the lamp bead position, and can refresh the accurate coordinates of the lamp bead within a short time range, with extremely short delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 A diagram showing an application environment of a screen refresh positioning method in an embodiment;

[0040] Figure 2 A schematic diagram of a flow chart of a screen refresh positioning method in one embodiment;

[0041] Figure 3 A schematic diagram of a screen refresh control relationship in one embodiment;

[0042] Figure 4 A schematic diagram of a high-low bit decoding strategy and a parity bit decoding strategy in a parsing strategy of an embodiment;

[0043] Figure 5 A schematic diagram of screen refresh positioning touch in one embodiment;

[0044] Figure 6 A schematic diagram of a flow chart of a screen refresh positioning method in another embodiment;

[0045] Figure 7 FIG. 4 is a structural block diagram of a screen refresh positioning device in one embodiment. DETAILED DESCRIPTION

[0046] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0048] It can be understood that the terms "first", "second", etc. used in the present application can be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.

[0049] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," and the like may be used herein to describe the relationship of an element or feature shown in the figures to other elements or features. It should be understood that, in addition to the orientations shown in the figures, spatially relative terms also include different orientations of the device in use and operation. For example, if the device in the accompanying drawings is flipped, an element or feature described as "under other elements" or "under it" or "under it" will be oriented as being "above" the other elements or features. Thus, the exemplary terms "under" and "under" may include both upper and lower orientations. In addition, the device may also include additional orientations (e.g., rotated 90 degrees or other orientations), and the spatial descriptors used herein are interpreted accordingly.

[0050] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element, or connected to the other element through an intermediate element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is transmission of electrical signals or data between the connected objects.

[0051] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0052] The screen touch of LED display has always been limited by three major problems. The first is that to achieve screen touch of full-size LED display, it requires a lot of hardware cost, and the control of these hardware occupies a lot of system memory. The second is that the touch of large-size display screens must maintain low latency, that is, the time taken to complete a touch interaction must be extremely low. The third is the layout and hiding of touch sensors to reduce the gaps on the screen surface and the possible impact on the display quality of the display.

[0053] The traditional solution for external infrared borders is to set up infrared dual-tube sensors on the edge of the screen, and use infrared light and reflections to detect the touch input position on the screen surface. However, there are at least the following problems: ① A certain position must be reserved at the edge of the screen for the placement of the infrared dual-tube sensor and its module, and the screen will always have a black border. ② At the edge of the screen, since the difference between the outgoing light and the incident light is small, the touch sensitivity is relatively lower than in the middle, and the sensitivity is not consistent across the entire screen. ③ Under different construction environments, it may happen that after the infrared light is blocked and reflected back, the touch demand behind it is blocked.

[0054] In other traditional solutions, vector pressure sensors, that is, fine strain gauges, are used to provide feedback on the screen touch coordinates, so many strain gauges need to be installed on the entire screen; metal grids are used, and the grids attached to the screen surface will cause screen occlusion; and it is difficult to achieve low-latency interaction using capacitive control. Various screen touch methods have defects on LED display screens. For touch interaction, the core work is to determine the position coordinates of the touch point relative to the screen. The method of determining the touch point coordinates is the primary problem to be solved in touch interaction, and it is also the primary problem for LED display screens to achieve touch interaction. In addition, the processing technology of the packaging structure of high-resolution LED display screens has extremely high requirements for consistency. Easily changing the characteristics of its internal components can easily reduce the display quality of the screen.

[0055] In this regard, a type of touch positioning solution has been proposed, which does not require significant changes to the screen structure. It only needs to follow the corresponding refresh strategy to achieve screen touch interaction under the operation of the stylus, with low cost and low latency. This solution can be based on the existing display screen packaging form, suitable for LED display screens, can achieve display touch, and has extremely low cost and consistent full-size touch sensitivity. This touch positioning solution uses the high-speed dynamic refresh feature of the screen to insert the data required for interaction, such as the reference coordinate position, into the screen to be refreshed, occupying part of the screen refresh time to refresh the reference coordinate position information. At the same time, with a stylus that can collect refresh features, the current touch position information can be collected at a higher sampling frequency, and the collected information is then sent back to the interactive system to realize content interaction on the display screen.

[0056] However, in the above touch positioning scheme, the refresh mode adopted by the touch object is a multi-level refresh, for example, the position coordinates of the lamp beads are refreshed to the stylus step by step from coarse to fine, that is, the rough coordinates of the lamp beads and the precise coordinates of the lamp beads are graded and sorted before being refreshed (positioning grading). Among them, the refresh order of the rough coordinates of the lamp beads is superior to the precise coordinates of the lamp beads, that is, the rough coordinates of the lamp beads are refreshed first, so that the touch object can gradually reduce the display area and gradually locate the lamp bead coordinates where the touch point of the stylus is located. For example, the above scheme for positioning grading of the lamp bead position coordinates can include the following methods: ① module number + precise coordinates of the lamp beads on the module; ② module number + display area number on the module + precise coordinates in the display area.

[0057] However, in the form of graded touch, the screen refresh is divided into rough coordinates and precise coordinates. The rough coordinates are used to express simple content, such as a simple number, the division of left and right ranges, etc. Therefore, the rough coordinates occupy a small amount of data and have a short refresh cycle. However, the refresh of precise coordinates involves the specific position coordinates of each lamp bead in a certain area. As the stylus moves, this position coordinate changes in real time, with a large amount of data, a long refresh cycle, and very little reaction time for each pixel, which can easily cause low-latency interaction on the display.

[0058] In this regard, the screen refresh positioning method proposed in this application is applied to the efficient and accurate coordinate refresh based on the display screen. It can have a low delay without affecting the screen display quality, and can also ensure that the coordinates of the lamp beads or pixel points can be output in time. The present application can be used to represent the output of the precise position coordinates of the lamp beads. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] The screen refresh positioning method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the interactive system is used for touch interaction of the display screen. The screen continuously refreshes the display screen at an extremely high refresh rate, and the stylus obtains the screen information at an extremely high sampling frequency. Specifically, the display screen keeps refreshing at a high speed, and the refreshed content can be divided into two parts of features, one is the display content, and the other is the interactive information. The stylus records the working status of the display screen in each refresh time segment at an extremely high sampling rate, and obtains the information used for interaction through direct or indirect feature recognition, such as lamp bead coordinates, offset distance, moving speed, etc. That is, by utilizing the high-speed refresh capability of the display screen and the low frame rate difference of the video source, low-latency touch interaction of the screen can be achieved.

[0060] Figure 1The interactive system in can be an independent driving system, which is used to configure the corresponding refresh strategy (for example, driving instructions) for the display screen and interact with the stylus; in some examples, the interactive system can also be a system including a display device including a screen and a driving device and a stylus, and then the stylus interacts with the driving device in the display device. In addition, the driving device can be independent of the screen setting, or it can belong to the same display device as the screen. The driving device can be used to configure the corresponding refresh strategy (for example, driving instructions) for the display screen and interact with the stylus. Among them, the screen refresh positioning method of the present application can be applied in the interactive system, in the driving device, and in the stylus (the stylus collects and parses the touch position information, feeds back the corresponding refresh strategy, etc., that is, the stylus performs touch operations while interacting with the screen).

[0061] It should be noted that the touch object may include a display screen; the display screen may be a liquid crystal display screen or an electronic ink display screen; in some embodiments, the display screen may be an LED display screen. Furthermore, the display screen may be implemented based on existing miniLED, microLED (micrometer light emitting diode) or SMD (Surface Mounted Devices) packaged LED (i.e., surface mount packaged structure LED) with surface enhancement treatment, without requiring significant changes to the screen structure.

[0062] In one embodiment, Figure 2 As shown, a screen refresh positioning method is provided, which is applied to Figure 1 The interactive system or stylus in the example is used to illustrate, including the following steps:

[0063] Step 202, obtaining touch position information.

[0064] Among them, the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a drive instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position.

[0065] Specifically, a stylus may refer to a device for performing touch interaction with a touch object. In some examples, the stylus may be a pen-shaped tool used to input instructions to a computer screen, a mobile device, a drawing board, or other device with a touch screen, and a user may select a file or draw a picture by clicking the touch screen with the stylus. It should be noted that the stylus is only for the purpose of illustration, and in actual applications, a high-speed sampling device capable of performing touch interaction with a touch object may also be used to implement the high-speed sampling device, such as a stylus, a lens, or other device.

[0066] The touch object (for example, the display screen) is sampled by the stylus, and the data may be the light of the lamp beads in the display screen. In some examples, the data sampling may be obtained by monitoring the on-off state of the display screen by the stylus at a higher frequency, that is, the screen touch is realized by detecting the on-off state of the lamp beads. It should be noted that, taking the display screen as an LED screen as an example, when the LED screen displays the content of the picture, it does not realize the content display by changing the constant on of the lamp beads, but by the high-frequency on-off change of the lamp beads to reflect the difference of different contents, and this display feature is called dynamic scanning, which is an important display feature of the LED display screen. Under the dynamic scanning drive, for a single lamp bead, it will not remain in a constant on state, but will change at a very high frequency, and realize different content display in the alternation of on and off. The light effect displayed by the lamp beads through high-frequency on-off alternation is from on to off, progressive layer by layer, and the final effect is called grayscale. The grayscale used by the LED lamp beads from on to off usually has 256 levels, and there are 3 lamp beads on a single pixel, namely red, green and blue lights. The three lamp beads achieve different color displays through different brightness ratios. Therefore, when the LED display screen displays the picture, for a single lamp bead, it mainly relies on grayscale refresh.

[0067] In order to ensure the uniform and stable changes in color and brightness, the LED display screen will increase the screen grayscale refresh rate as much as possible. Usually, an LED display screen can achieve a screen refresh rate of 3840HZ, which means that when playing a 60HZ display screen, each frame of the screen will be reflected by 64 refreshes of the LED display screen. And these 64 refreshes are grayscale refreshes. It can be seen that the screen refresh capacity of the LED display screen is much higher than the video source information.

[0068] Among them, the lamp bead data can be obtained in the following way: the lighting component in the stylus collects the touch object, and after obtaining the light of the lamp bead, it can be processed in sequence by the light on and off component, photosensitive module and data processing module in the stylus, and then converted into a readable data stream for the interactive system to handle. For example, the display screen refreshes 3840 times per second, and the stylus achieves at least 3840 data sampling per second. The sampled data is processed and analyzed to obtain accurate coordinates or reference offsets during movement, and fed back to the interactive system to update the display data of the next frame. Among them, the specific values ​​are not limited.

[0069] Furthermore, the lamp bead data can be obtained by sampling a single lamp bead and / or a single pixel through the stylus. The light-on / off component in the stylus can be turned on when there is light, so that the light can enter the photosensitive module; wherein, the light-on / off component can refer to a device used to control the time for light to irradiate the photosensitive element, and the on / off clock of the light-on / off component can be consistent with the refresh clock of the touch object (for example, the display screen). In some examples, the light-collecting component can be implemented by a light-collecting lens, the light-on / off component can be implemented by an exposure valve, and the photosensitive module can be implemented by a photosensitive module, that is, a photosensitive sensor (for example, a photosensor); and when collecting a single pixel, the photosensitive module can include multiple photosensitive sensors, and the stylus can include an optical splitter module connected between the light-on / off component and the photosensitive module, the optical splitter module divides the light into red, green, and blue light, and respectively emits them to the multiple photosensitive modules included in the photosensitive module, so that one exposure detection of the light-on / off component can simultaneously detect the on and off conditions of the three lamp beads on a single pixel, and the lamp bead detection is more efficient. In some examples, the optical splitter module can be implemented by a spectroscopic refractive lens. In addition, the stylus can also include a data sending module for communicating with the interactive system.

[0070] The interactive system realizes touch interaction with the stylus based on the dynamic refresh of the display screen (for example, the LED display screen). Among them, the working status of a single lamp bead in different time slots can specifically include the following two indicators: one is whether the lamp bead is emitting light, and the other is the time of emitting light, both of which can be recorded by the stylus. In addition, the sampling frequency of the stylus can correspond to the refresh frequency of the LED display screen. For the lamp bead, within a frame of time, for example, each time slot refresh will be recorded by the stylus. For the state and time of the lamp bead in this time slot, the corresponding digital signal code is output for processing by the corresponding system, and data content including the coordinates of the lamp bead, which is helpful for realizing screen interaction, is extracted from it.

[0071] It should be noted that the present application does not limit the specific structure of the stylus, and any stylus that can obtain the touch position information of the touch object at a high sampling rate can be used. In some examples, the stylus can be implemented as a lamp bead stylus and / or a pixel stylus.

[0072] The lamp bead stylus is used to sample a single lamp bead, that is, the on and off of a single lamp bead can be judged by the stylus, and then the coordinates of the current lamp bead are collected. The working status of the lamp bead is on and off. When refreshing a frame of the picture, the working cycle of the lamp bead will be divided into 64 time segments, and the on and off status will be refreshed in these 64 time segments. This situation can be seen as the limited accuracy of the stylus in collecting pixels. It is impossible to identify the brightness status of the three lamp beads on a single pixel, but the entire pixel is judged as a whole lamp bead. It can also be seen as a high-quality display screen, the arrangement of the lamp beads on it is very fine, and the concept of pixels is composed of any three lamp beads of different colors. Among them, the data read by the stylus can be the status data of a single lamp bead in these 64 time segments. That is, the information read by the stylus pen at one time is a time segment of a lamp bead within a frame time; and the structural style of the stylus pen can apply the structure of the lamp bead stylus pen exemplified above (including a lighting lens, an exposure valve, a photosensor, a data processing module, and a data sending module, etc.).

[0073] The acquisition range of the pixel stylus is a single pixel, that is, the on and off of the lamp bead on a single pixel is judged by the stylus, and then the coordinates of the current pixel are acquired. There are three lamp beads on a pixel, namely red, green and blue lights. In this way, when the stylus stays directly above a pixel, it can acquire the light of the red, green and blue lamp beads in the pixel. These three lamp beads will be refreshed 64 times when refreshing a frame of video. Here it is not simply 64 times of on and off, but it can be understood that the working time of the lamp bead in this frame, that is, 16.67ms, is divided into 64 working segments. For each working segment, the lamp bead has a corresponding working state (on, off). Three lamp beads have 192 corresponding working segments in the same time. The data read by the stylus is the status data of the three lamp beads in these 64 time segments. Specifically, the information read by the stylus at one time is the combination of the three time segments of the three lamp beads refreshed in the same frame.

[0074] Furthermore, the pixel stylus can sample three lamp beads in a single pixel at a time, and use the light entering along the light path provided by the exposure valve as the incident light. The stylus can use a spectroscopic refractor to refract the red, green, and blue light onto three photosensitive sensors respectively, and divide them into three signals, which are output to the processing system of the stylus respectively. Then, the stylus can read three frames of picture data within one frame of picture information. That is, the structure of the pixel stylus can be based on the aforementioned lamp bead stylus, and a spectroscopic refraction lens is further added. At the same time, three photosensitive sensors can be used.

[0075] The touch position information in this application is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; that is, the touch object adopts the corresponding refresh strategy, and the refresh mode can refer to the touch object sending high-speed data information in the form of corresponding duration of light on and off through high-speed refresh based on the driving instructions provided by the interactive system to transmit the position information. Among them, the lamp bead data includes the lamp bead grayscale used to express the lamp bead position.

[0076] This application expresses complete data through simple on and off of lamp beads; regarding the grayscale of lamp beads, the touch object is an LED display screen as an example for explanation; the grayscale refresh of the LED display screen refers to the content refresh achieved by the high-frequency on and off transformation of the display screen within the time range of one frame. The intuitive manifestation is the total brightness or total energy of a single lamp bead within one frame. The 256-level grayscale means that the lamp bead has 256 different brightness within one frame. This brightness progresses from full brightness to dark and is divided into 256 levels. The human eye's perception of the brightness change of the lamp bead is not linear, but nonlinear. The sensitive change from bright to dark basically follows a curve called the gamma curve. To select the appropriate grayscale on this gamma curve, the lamp bead needs to select the appropriate grayscale required from a larger grayscale range. That is, the 256-level grayscale of the lamp bead is selected from the 65536-level grayscale.

[0077] In this application, the stylus pen can detect the grayscale of the lamp bead, and the touch object refreshes the grayscale of the lamp bead according to the driving instruction. The driving instruction can be an instruction transmitted to the display screen by the driving device according to the current refresh content. In one embodiment, the lamp bead data can be a frame of data, and the driving instruction can include a binary number of preset bits corresponding to the lamp bead data, that is, for the lamp bead, the grayscale of refreshing one frame is mainly controlled by a binary number of preset bits.

[0078] Taking a 16-bit binary number as an example, the grayscale refresh of the lamp bead in this application can follow a 16-bit binary number, which records the specific value of the grayscale refresh and is also the basis for the specific grayscale that the lamp bead should refresh within one frame. It should be noted that the preset binary number can also be 8 or 12 bits, starting from the high bit of the 16 bits, and the main difference is the minimum grayscale.

[0079] In some examples, taking a 16-bit binary number as an example, the 16-bit binary number can be obtained by looking up an 8-bit binary number of a lamp bead received by a driving device (e.g., a driving IC), which represents a specific grayscale that the lamp bead needs to refresh within the time range of this frame.

[0080] Specifically, assuming that the grayscale of the nth level is 16383, this number converted into binary is: 11111111 1111 1100; looking from left to right, the corresponding refresh rule of the lamp beads can be as follows Figure 3 shown. Figure 3 Each 1 in the corresponding position is the refresh time slot of the lamp bead. Starting from the 7th position, the enable signal starts to work, and the lamp bead refresh occupies a time slot, but the brightness of the lamp bead is controlled by the enable and will not fill the entire time slot, so that the grayscale of the entire frame is infinitely close to the 64 refreshes of the lamp bead, and the brightness can be infinitely subdivided.

[0081] The stylus pen can detect the grayscale of the current lamp bead, and then the present application can obtain a corresponding number of bits of data, and each grayscale level is equivalent to a memory of the same number of bits. For example, the stylus pen detects the grayscale of the current lamp bead, and the present application obtains a 16-bit data, and each grayscale level is equivalent to a 16-bit memory.

[0082] In some examples, the refresh strategy in the present application may include a drive instruction output by the interactive system, and the drive instruction is used to indicate that the current refresh content of the touch object is the position of the lamp bead. In one embodiment, the position of the lamp bead may include the precise position of the lamp bead;

[0083] Specifically, the refresh content may include the rough position of the lamp bead and the precise position of the lamp bead. The present application may be applied to the case where the refresh content is the precise position of the lamp bead, that is, the position of the lamp bead may include the precise position of the lamp bead. In some examples, in the scenario where the rough position of the lamp bead and the precise position of the lamp bead are graded and sorted and then refreshed (positioning grading), the refresh order of the rough position of the lamp bead precedes the refresh order of the precise position of the lamp bead; after the rough position of the lamp bead is refreshed first, the touch object may gradually reduce the display area and gradually refresh to the precise position of the lamp bead where the current touch point of the stylus is located, and the present application is applicable to the refresh of the precise position of the lamp bead. In some examples, the precise position of the lamp bead may be the lamp bead coordinates, and the rough position of the lamp bead may include the module number to which the lamp bead belongs and / or the display area number to which the module belongs.

[0084] Step 204: parse the touch position information to determine the current touch point position of the stylus.

[0085] Specifically, after the touch position information is acquired, the grayscale of the lamp bead in the touch position information may be parsed to acquire the position of the lamp bead conveyed by the grayscale of the lamp bead, and further determine the current touch point position of the stylus.

[0086] In one embodiment, the lamp bead position may include a precise position of the lamp bead;

[0087] The step of parsing the touch position information and determining the current touch point position of the stylus may include:

[0088] Obtain the grayscale level corresponding to the grayscale of the lamp bead, and identify the binary number corresponding to the grayscale level corresponding to the grayscale of the lamp bead in the driving instruction;

[0089] The corresponding parsing strategy is used to process the binary number to obtain the precise position of the lamp bead, and the precise position of the lamp bead is determined as the current contact position; the parsing strategy includes high and low bit decoding strategy and parity bit decoding strategy.

[0090] Specifically, the grayscale level corresponding to the grayscale of the lamp bead can be obtained first, so as to identify the binary number corresponding to the grayscale level of the lamp bead in the driving instruction. Then, the corresponding analysis strategy is used to process the binary number to obtain the precise position of the lamp bead, and the precise position of the lamp bead is determined as the current contact position.

[0091] In this application, the binary number corresponding to the grayscale level in the driving instruction is used as a memory of the precise position of the lamp bead (for example, the coordinates of the lamp bead). As for the parsing strategy, the parsing strategy in this application may include a high-low bit decoding strategy and an odd-even bit decoding strategy. That is, this application uses the grayscale refresh of the display screen to store a multi-bit binary number, which can represent the precise coordinates according to the high-low bit distinction, and can also distinguish the X-axis and Y-axis according to the odd-even frame.

[0092] like Figure 4 As shown, taking 16-bit binary data as an example, the upper 8 bits of the 16-bit data can be used as the coordinate value of the X-axis, and the lower 8 bits as the coordinate value of the Y-axis; or the even bits are the coordinate value of the X-axis, and the odd bits are the coordinate value of the Y-axis; and thus the present application can represent the coordinates of (256, 256), which can represent the precise coordinates of a range of lamp beads.

[0093] In one embodiment, the precise position of the lamp bead may include the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parsing strategy is a high-low bit decoding strategy:

[0094] The X-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number.

[0095] or

[0096] The X-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number.

[0097] Specifically, when adopting the high-low bit decoding strategy, the X-axis coordinate value of the lamp bead coordinate can be obtained based on the high-order byte in the binary number, and the Y-axis coordinate value of the lamp bead coordinate can be obtained based on the low-order byte in the binary number.

[0098] Furthermore, when adopting the high-low bit decoding strategy, the X-axis coordinate value of the lamp bead coordinate can be obtained based on the low-order byte in the binary number, and the Y-axis coordinate value of the lamp bead coordinate can be obtained based on the high-order byte in the binary number.

[0099] In one embodiment, the precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parity decoding strategy is a parity decoding strategy:

[0100] The X-axis coordinate value of the lamp bead coordinate is based on the even bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is based on the odd bits in the 16-bit binary number.

[0101] or

[0102] The X-axis coordinate value of the lamp bead coordinate is obtained based on the odd bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the even bits in the 16-bit binary number.

[0103] Specifically, when the parity decoding strategy is adopted, the X-axis coordinate value of the lamp bead coordinate can be obtained based on the even bits in the binary number, and the Y-axis coordinate value of the lamp bead coordinate can be obtained based on the odd bits in the binary number.

[0104] Furthermore, when the parity decoding strategy is adopted, the X-axis coordinate value of the lamp bead coordinate can be obtained based on the odd bits in the binary number, and the Y-axis coordinate value of the lamp bead coordinate can be obtained based on the even bits in the binary number.

[0105] In order to further explain the decoding strategy of the present application, the following uses a 16-bit binary number and a situation where the stylus has learned the rough position of the lamp bead as an example to illustrate the present application scheme using a specific example:

[0106] Assuming that the module number is known, and whether the lamp beads are distributed on the left or right side of the module is known (that is, the touch object has transmitted the rough position of the lamp beads through the lamp bead data), taking the P1 module as an example, if the precise coordinates of the lamp beads are required, the required range value is (160,160), and the solution based on this application can fully cover this range.

[0107] Choose a coordinate (34, 63) at random, where the binary number corresponding to 34 is 100010. The binary number corresponding to 63 is 111111. When the lamp bead (or pixel) corresponding to the position coordinate needs to accurately refresh the position coordinate, the binary number of the grayscale refreshed in one frame can be shown in Table 1 according to the above different analysis strategies:

[0108] Table 1 - Parsing strategies

[0109] Strategy instruction Grayscale High eight bits X coordinate, low eight bits Y coordinate 00100010 00111111 8767 Odd-numbered Y coordinates, even-numbered X coordinates 0000111010101110 3758

[0110] There is a corresponding relationship between the parsing strategy and the refresh strategy; that is, according to different refresh strategies, the refreshed grayscale is different, and the grayscale levels corresponding to the high and low bit distinction and the parity bit distinction differ by 5000 levels, so there will be obvious differences in brightness. In this regard, in one embodiment, the refresh strategy can also include the current display area confirmed based on the previous refresh content; the previous refresh content includes the rough position of the lamp beads;

[0111] Before the step of using a corresponding analysis strategy to process the binary number to obtain the precise position of the lamp bead and determining the precise position of the lamp bead as the current contact position, the step may also include:

[0112] Acquire pre-displayed content of the touch object in the current display area, detect the grayscale of a preset number of frames in the pre-displayed content, and acquire the grayscale levels corresponding to the grayscale of the preset number of frames;

[0113] The grayscale levels corresponding to the grayscale of a preset number of frames are compared with the grayscale levels corresponding to the grayscale of the lamp beads, and the high-low bit decoding strategy or the parity bit decoding strategy is determined as the parsing strategy according to the comparison result.

[0114] Specifically, the refresh strategy in this application may also include the current display area confirmed based on the previous refresh content. As mentioned above, the refresh content of this refresh is the precise position of the lamp bead, while the previous refresh content may be the rough position of the lamp bead, that is, after the effect of the previous refresh content, the module number to which the lamp bead coordinates belong, and / or the display area number on the module can be determined. That is, the current display area of ​​this refresh is determined. Furthermore, this application proposes that the specific strategy adopted for analysis can be determined based on the pre-displayed content in the current display area.

[0115] Among them, the grayscale of a preset number of frames in the pre-displayed content can be detected, and the grayscale level corresponding to the grayscale of the preset number of frames can be obtained; for example, the grayscale of the preset number of frames can be the grayscale of the current lamp bead in the next few frames. And compare the grayscale level corresponding to the grayscale of the preset number of frames with the grayscale level corresponding to the grayscale of the lamp bead.

[0116] Which refresh strategy is used in this application can be determined by the grayscale of the current lamp bead in the next few frames. If the grayscale of the next few frames is close to the grayscale of 8767, the high and low bits can be used to distinguish. If it is close to 3758, the parity bit can be used to distinguish. Before decoding the grayscale of the lamp bead, the stylus can first verify this.

[0117] The present application can refresh the accurate coordinates of the lamp beads within a relatively short time frame, and the delay is extremely short; taking the 8767th grayscale as an example, for this lamp bead, when refreshing the 8767th grayscale, it is actually refreshing its position coordinates. The position coordinates are fixed, while the display coordinates change in real time. Upon receiving the trigger command from the stylus and outputting the position information to the outside, the lamp bead will refresh this level of grayscale within a frame of time to inform the stylus of its own precise coordinates. The grayscale containing the position coordinates and the display content of the lamp bead itself are refreshed at specific time intervals to reduce the impact on the display quality.

[0118] The following is a specific example to illustrate: Figure 5 As shown, from the perspective of frame progress, the screen refresh positioning method of the present application can refresh the accurate coordinates of the lamp beads within the time range of one frame, and the delay occupied is extremely short. Specifically, the stylus can output a refresh screen coordinate instruction to the interactive system (i.e. Figure 5 The interactive system then outputs corresponding driving instructions to the display screen, that is, when the stylus clicks on the screen, the stylus can tell the screen to "start refreshing the screen coordinates".

[0119] Obviously, if the stylus has not received the first precise coordinates of the touch object refresh before, the above process cannot obtain the precise coordinates immediately, that is, the stylus cannot determine the position of the body relative to the touch object, and the touch object does not know the exact position of the stylus. At this time, when the touch object receives the "start refreshing screen coordinates", it can traverse the position coordinates of the entire screen, and the position coordinates can be rough coordinates or precise coordinates. In some examples, the entire screen is refreshed with rough coordinates. If the stylus has previously confirmed the approximate position (rough coordinates) of the touch point in the touch object, there is no need to use the full-screen refresh mode in the subsequent precise coordinate refresh. That is Figure 5 The term "full screen refresh" is only for illustrative purposes and does not mean that the entire screen must be used as the display area for each refresh of the exact coordinates.

[0120] Furthermore, after the stylus determines the precise coordinates of the lamp bead, it can instruct the screen to continue to execute the following events: ① predict the movement direction of the pen and refresh the precise coordinates in the possible direction; ② predict the movement direction of the pen and refresh the offset compared to the precise coordinates in the possible direction; ③ predict the movement direction of the pen and refresh the offset angle and offset distance compared to the reference in the possible direction.

[0121] As mentioned above, the screen refresh positioning method of the present application can have a low delay without affecting the screen display quality, and can also ensure that the coordinates of the lamp beads or pixel points can be output in time. The present application can refresh the accurate coordinates of the lamp beads within the time range of one frame, and the delay occupied is extremely short.

[0122] In one embodiment, Figure 6 As shown, a screen refresh positioning method is provided, which is applied to Figure 1 The interactive system or stylus in the example is used to illustrate, including the following steps:

[0123] Step 602, obtaining touch position information.

[0124] Among them, the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a drive instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position.

[0125] Step 604, if a frame change mark is detected in the lamp bead data and the frame change mark meets the frame change condition, it is confirmed that the touch object has completed the frame change at the moment of this touch acquisition by the stylus; the refresh timing of the lamp bead data is determined according to the frame change mark, and the lamp bead grayscale in the lamp bead data is determined based on the refresh timing.

[0126] Step 606: parse the touch position information to determine the current touch point position of the stylus.

[0127] Specifically, when the stylus is clicked on the screen, the screen is not necessarily in the time slot of frame change, but in any time slot under any screen refresh. For the stylus, it can only distinguish between light and dark, that is, every time the screen changes frames, the stylus cannot determine which of the received light and dark information is used for display and which is used to inform the coordinates. In this regard, the present application proposes to provide a basis for distinguishing frame changes (i.e., a mark feature that can be identified, such as a frame change mark) for the stylus to determine whether the display screen changes frames.

[0128] The frame change mark can be an identifiable marking feature to determine the correct refresh timing of the lamp bead data (on and off information), and then determine whether the display screen changes frames and identifies the lamp bead grayscale in the lamp bead data used to express the lamp bead position; it should be noted that the specific implementation method and implementation process of steps 602 and 606 can be found in the previous description and will not be repeated here.

[0129] In one embodiment, the lamp bead data may be a frame of data; the driving instruction may include a binary number of preset bits corresponding to the lamp bead data;

[0130] The frame change mark may include low-gray data; the frame change condition may include a preset bit time slot corresponding to a binary number for refreshing the low-gray data.

[0131] Specifically, taking a 16-bit binary number as an example to explain the specific refresh mode of the lamp bead, for the lamp bead, the grayscale of refreshing a frame is mainly controlled by a 16-bit binary number (also 8-bit or 12-bit, cut from the high bit of the 16-bit, the main difference is the minimum grayscale); the above embodiment lists the relationship between the 16-bit binary number and the refresh time slot, the highest bit 1 corresponds to the refresh of 32 time slots, the second highest bit 1 corresponds to the refresh of 16 time slots, and until the 7th bit, the specific refresh of the lamp bead is controlled by the control signal. Starting from the 7th bit, in addition to being affected by the control signal, the lamp bead will also be affected by the enable signal, that is, the lamp bead is affected by the control signal, and while it is "always on" in a time slot, it will also be affected by the enable signal, making it invalid for a specific time segment of this time slot to be "always on", so it will only be on for a part of the time and dark for a part of the time in a time slot, to achieve low grayscale display.

[0132] Due to the access of the enable signal, the lamp beads cannot achieve 64 "always on" displays within 64 time slots. Specifically, it can be understood that the 64th time slot is wirelessly divided due to the addition of the enable. If the control signal has 16 bits, starting from the 7th bit, the subsequent control signal records the time slot that is divided by the last bit. And each division of the last time slot will occupy a time slot, which will lead to an increase in the time slots refreshed by the lamp beads within the entire frame. The subsequent control instructions still have 10 bits, that is, the brightness of the last time slot will be divided 10 times, and the lamp beads will need to add 10 time slots to refresh the low gray within the entire frame, which is 63+10=73 time slots.

[0133] It can be determined that among the 73 time slots, the first 63 time slots are controlled by the first 6 control signals, and the last 10 low-gray time slots are controlled by the last 10 control signals. In the following low-gray refresh, each frame has only one specific low-gray, that is, each frame only has one time to light up 1 / 2 time slots, one time to light up 1 / 4 time slots, etc.

[0134] Based on this, the present application proposes that the frame change mark may include low-gray data, and the frame change condition may include a preset position time slot corresponding to a binary number for refreshing the low-gray data. That is, the stylus can determine the low gray each time it is refreshed, and determine whether a new frame has been switched according to the refreshed low gray. For example, the 1 / 2 bright time slot is constantly arranged at the 64th position. When the stylus detects this 1 / 2 bright time slot, it can determine the positional relationship between the first 63 and the last 9 positions, and then determine which ones are pre-agreed for displaying the picture and which ones can be used to determine the precise position.

[0135] In some examples, among the ten low-gray time slots mentioned above, the enabled work within one frame time allows each low-gray time slot to be used as a frame change mark, so it is possible to identify or fix the refresh position of one or several of the low-gray time slots; even in different grayscale states, not including low gray can still help the stylus identify the correct refresh timing of a frame.

[0136] As described above, by using the screen refresh positioning method of the present application, the accurate coordinates of the lamp beads can be refreshed within the time range of one frame, and the delay occupied is extremely short.

[0137] It should be understood that although Figure 2 , 5 The steps in the flowcharts of and 6 are shown in sequence as indicated by arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , 5 At least part of the steps in 6 may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages does not necessarily have to be sequentially, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0138] In one embodiment, Figure 7 As shown, a screen refresh positioning device is provided, comprising:

[0139] The information acquisition module 710 is used to acquire touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; the refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the lamp bead position; the lamp bead data includes the lamp bead grayscale used to express the lamp bead position;

[0140] The analysis module 720 is used to analyze the touch position information and determine the current touch point position of the stylus.

[0141] In one of the embodiments, the lamp bead position includes the precise position of the lamp bead;

[0142] The analysis module 720 is also used to obtain the grayscale level corresponding to the grayscale of the lamp bead, identify the binary number corresponding to the grayscale level corresponding to the grayscale of the lamp bead in the driving instruction; and use the corresponding analysis strategy to process the binary number to obtain the precise position of the lamp bead, and determine the precise position of the lamp bead as the current contact position; the analysis strategy includes high and low bit decoding strategy and parity bit decoding strategy.

[0143] In one embodiment, the precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parsing strategy is a high-low bit decoding strategy:

[0144] The X-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number;

[0145] or

[0146] The X-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number.

[0147] In one embodiment, the precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parity decoding strategy is a parity decoding strategy:

[0148] The X-axis coordinate value of the lamp bead coordinate is obtained based on the even-numbered bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the odd-numbered bits in the 16-bit binary number;

[0149] or

[0150] The X-axis coordinate value of the lamp bead coordinate is obtained based on the odd bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the even bits in the 16-bit binary number.

[0151] In one embodiment, the refresh strategy further includes a current display area confirmed based on the previous refresh content; the previous refresh content includes a rough position of the lamp beads;

[0152] The parsing module 720 includes:

[0153] A content acquisition unit, used to acquire pre-displayed content of the touch object in the current display area, detect the grayscale of a preset number of frames in the pre-displayed content, and acquire the grayscale levels corresponding to the grayscale of the preset number of frames;

[0154] The comparison unit is used to compare the grayscale levels corresponding to the grayscale of a preset number of frames with the grayscale levels corresponding to the grayscale of the lamp beads, and determine whether to adopt a high-low bit decoding strategy or an odd-even bit decoding strategy as a parsing strategy according to the comparison result.

[0155] In one embodiment, it also includes:

[0156] The frame change confirmation module is used to confirm that the touch object has completed the frame change at the current touch acquisition moment of the stylus if a frame change mark is detected in the lamp bead data and the frame change mark meets the frame change condition;

[0157] The grayscale acquisition module is used to determine the refresh timing of the lamp bead data according to the frame change mark, and determine the lamp bead grayscale in the lamp bead data based on the refresh timing.

[0158] In one embodiment, the lamp bead data is a frame of data; the driving instruction includes a binary number corresponding to a preset number of bits of the lamp bead data; the frame change mark includes low-gray data; and the frame change condition includes a preset number of time slots corresponding to the binary number for refreshing the low-gray data.

[0159] For the specific definition of the screen refresh positioning device, please refer to the definition of the screen refresh positioning method above, which will not be repeated here. The various modules in the above-mentioned screen refresh positioning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0160] In one embodiment, a display device is provided, the display device comprising a display screen and a driving device;

[0161] Among them, the display screen serves as the touch object of the stylus; and the driving device is used to execute the steps of the above-mentioned screen refresh positioning method.

[0162] In one embodiment, the display screen may be an LED display screen.

[0163] Specifically, in the present application, the stylus pen can interact with the display screen through a driving device to achieve low-latency screen refresh positioning. The driving device can be independently set up with the display screen, or integrated into a display device.

[0164] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned screen refresh positioning method are implemented.

[0165] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0166] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.

[0167] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0168] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A screen refresh positioning method, characterized in that: include: Acquire touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; The refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the position of the lamp bead; the lamp bead data includes the grayscale of the lamp bead for expressing the position of the lamp bead; the lamp bead position includes the precise position of the lamp bead; Parsing the touch position information to determine the current touch point position of the stylus; The step of analyzing the touch position information to determine the current touch point position of the stylus includes: Obtaining the grayscale level corresponding to the grayscale of the lamp bead, and identifying the binary number corresponding to the grayscale level corresponding to the grayscale of the lamp bead in the driving instruction; The binary number is processed by using a corresponding analysis strategy to obtain the precise position of the lamp bead, and the precise position of the lamp bead is determined as the current contact position; the analysis strategy is a high-low bit decoding strategy or a parity bit decoding strategy.

2. The screen refresh positioning method according to claim 1, characterized in that: The precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parsing strategy is the high and low bit decoding strategy: The X-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number; or The X-axis coordinate value of the lamp bead coordinate is obtained based on the low-order byte in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the high-order byte in the 16-bit binary number.

3. The screen refresh positioning method according to claim 1, characterized in that: The precise position of the lamp bead includes the coordinates of the lamp bead; the binary number is a 16-bit binary number; when the parsing strategy is the parity bit decoding strategy: The X-axis coordinate value of the lamp bead coordinate is obtained based on the even-numbered bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the odd-numbered bits in the 16-bit binary number; or The X-axis coordinate value of the lamp bead coordinate is obtained based on the odd bits in the 16-bit binary number; the Y-axis coordinate value of the lamp bead coordinate is obtained based on the even bits in the 16-bit binary number.

4. The screen refresh positioning method according to any one of claims 1 to 3, characterized in that: The refresh strategy also includes a current display area confirmed based on the previous refresh content; the previous refresh content includes the rough position of the lamp beads; Before the step of using a corresponding analytical strategy to process the binary number to obtain the precise position of the lamp bead and determining the precise position of the lamp bead as the current contact position, the step further includes: Acquire pre-displayed content of the touch object in the current display area, detect grayscales of a preset number of frames in the pre-displayed content, and acquire grayscale levels corresponding to the grayscales of the preset number of frames; Compare the grayscale levels corresponding to the grayscale of the preset number of frames with the grayscale levels corresponding to the grayscale of the lamp beads, and determine whether to adopt the high and low bit decoding strategy or the parity bit decoding strategy as the parsing strategy according to the comparison result.

5. The screen refresh positioning method according to claim 1, characterized in that: Before the step of analyzing the touch position information to determine the current touch point position of the stylus, the method further includes the following steps: If it is detected that there is a frame change mark in the lamp bead data, and the frame change mark meets the frame change condition, it is confirmed that the touch object has completed the frame change at the current touch acquisition moment of the stylus; The refresh timing of the lamp bead data is determined according to the frame change mark, and the lamp bead grayscale in the lamp bead data is determined based on the refresh timing.

6. The screen refresh positioning method according to claim 5, characterized in that: The lamp bead data is a frame of data; the driving instruction includes a binary number corresponding to a preset number of bits of the lamp bead data; The frame change mark includes low-gray data; the frame change condition includes a preset bit time slot corresponding to the binary number for refreshing the low-gray data.

7. A screen refresh positioning device, characterized in that: include: An information acquisition module, used to acquire touch position information; the touch position information is the lamp bead data displayed by the touch object based on the refresh strategy and collected by the stylus; The refresh strategy includes a driving instruction for indicating that the current refresh content of the touch object is the position of the lamp bead; the lamp bead data includes the grayscale of the lamp bead for expressing the position of the lamp bead; the lamp bead position includes the precise position of the lamp bead; An analysis module, used for analyzing the touch position information to determine the current touch point position of the stylus; The analysis module is also used to obtain the grayscale level corresponding to the grayscale of the lamp bead, identify the binary number corresponding to the grayscale level corresponding to the grayscale of the lamp bead in the driving instruction; and use a corresponding analysis strategy to process the binary number to obtain the precise position of the lamp bead, and determine the precise position of the lamp bead as the current contact position; the analysis strategy is a high and low bit decoding strategy or a parity bit decoding strategy.

8. A display device, characterized in that: The display device comprises a display screen and a driving device; Wherein, the display screen serves as a touch object of the stylus; and the driving device is used to execute the steps of the method described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Stylus and screen writing system

    CN210052132U

  • Touch-controlled system and method

    US20120044168A1