A method and apparatus for processing and displaying touch information
By using relative coordinates to display the touch signal of the handheld terminal on the smart blackboard, the problem of input signal delay in the prior art is solved and the response speed is improved.
Patent Information
- Application Number
- CN202110817085.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-20
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-07-20
AI Technical Summary
In the prior art, there may be a problem of delay in displaying signals input through the touch screen of a handheld smart terminal on the smart blackboard.
By receiving the first trigger signal, the relative coordinates of the touch signal relative to the first trigger signal are obtained, and these relative coordinates are sent to the teaching display device, which avoids absolute coordinate conversion and improves the response speed.
Solve the problem that there may be delay in displaying touch signals input through the touch screen of the handheld terminal on the smart blackboard, and improves the response speed of input and displays on the teaching display device.
Smart Images

Figure CN113760208B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of touch screens, and more particularly, to a method and apparatus for processing touch information display. Background Art
[0002] Currently, in teaching, intelligent blackboards (or teaching display devices) are increasingly used. Generally, an intelligent blackboard is an intelligent device with a large screen, which is a touch screen. During the teaching process, a teacher can operate through the touch screen of the intelligent blackboard.
[0003] In another case, during the teaching process, a teacher can connect a handheld intelligent terminal to the intelligent blackboard. At this time, the content displayed on the handheld intelligent terminal is the same as that displayed on the intelligent blackboard. The teacher can input on the screen of the handheld intelligent terminal, and the input information will be converted into the content displayed on the intelligent blackboard.
[0004] In the prior art, the absolute coordinates of each point in the signal input through the touch screen of the handheld intelligent terminal are sent to the intelligent blackboard, and the intelligent blackboard performs coordinate conversion to obtain the absolute coordinates on the intelligent blackboard. Since it involves the conversion between two absolute coordinates, if there is a large amount of input content, there may be a problem of display delay on the intelligent blackboard. Summary of the Invention
[0005] Embodiments of the present application provide a method and apparatus for processing touch information display to at least solve the problem that the touch signal input through the touch screen of the handheld terminal may be delayed in display on the intelligent blackboard.
[0006] According to one aspect of the present application, a method for processing touch information display is provided, including: receiving a first trigger signal through the touch screen of a handheld intelligent terminal, where the first trigger signal is used to indicate that content to be displayed on the screen is to be received; receiving a touch signal; obtaining a relative coordinate of the touch signal relative to the first trigger signal, where the relative coordinate is used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units; and sending the relative coordinate to a teaching display device, where the teaching display device is used to display the touch signal on the screen of the teaching display device according to the relative coordinate, and the lengths and widths of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units.
[0007] Further, the first trigger signal is a trigger signal generated by a long press without displacement on the touch screen, where the long press means maintaining contact for more than a predetermined duration.
[0008] Further, obtain the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal; select the predetermined point as a reference point from the area; obtain the relative coordinates of the touch signal relative to the reference point.
[0009] Further, sending the relative coordinates to the teaching display device includes: sending the absolute coordinate value of the reference point and the relative coordinates of the touch signal relative to the reference point to the teaching display device.
[0010] Further, obtaining the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal includes: selecting the point with the largest sum of the abscissa value and the ordinate value in the area as the reference point, where the abscissa value and the ordinate value are the absolute coordinate values on the touch screen of the handheld intelligent terminal.
[0011] According to another aspect of the present application, there is provided a touch information display processing device, including: a first receiving module, configured to receive a first trigger signal through the touch screen of a handheld intelligent terminal, where the first trigger signal is used to indicate that content to be displayed on the screen needs to be received; a second receiving module, configured to receive a touch signal; an obtaining module, configured to obtain the relative coordinates of the touch signal relative to the first trigger signal, where the relative coordinates are used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units; a sending module, configured to send the relative coordinates to a teaching display device, where the teaching display device is configured to display the touch signal on the screen of the teaching display device according to the relative coordinates, and the length and width of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units.
[0012] Further, the first trigger signal is a trigger signal generated by a long press without displacement on the touch screen, where the long press is to maintain contact for more than a predetermined duration.
[0013] Further, the obtaining module is configured to: obtain the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal; select the predetermined point as a reference point from the area; obtain the relative coordinates of the touch signal relative to the reference point.
[0014] Further, the sending module is configured to: send the absolute coordinate value of the reference point and the relative coordinates of the touch signal relative to the reference point to the teaching display device.
[0015] Further, the obtaining module is configured to: select, as the reference point, a point within the area that has the largest sum of the abscissa value and the ordinate value, where the abscissa value and the ordinate value are absolute coordinate values on the touch screen of the handheld intelligent terminal.
[0016] In the embodiments of the present application, a first trigger signal is received through the touch screen of a handheld intelligent terminal, where the first trigger signal is used to indicate that content to be displayed on the screen will be received; a touch signal is received; a relative coordinate of the touch signal with respect to the first trigger signal is obtained, where the relative coordinate is used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units; the relative coordinate is sent to a teaching display device, where the teaching display device is configured to display the touch signal on the screen of the teaching display device according to the relative coordinate, and the lengths and widths of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units. By means of the present application, the problem that the touch signal input through the touch screen of a handheld terminal may be delayed when displayed on an intelligent blackboard is solved, thereby improving the response speed of input through the touch screen of a handheld terminal and displayed on a teaching display device. Description of the Drawings
[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The schematic embodiments and descriptions thereof of the present application are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0018] Figure 1 is a flowchart of a touch information display processing method according to an embodiment of the present application. Detailed Embodiments
[0019] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the drawings and in conjunction with the embodiments.
[0020] It should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than here.
[0021] In this embodiment, a touch information display processing method is provided. Figure 1 is a flowchart of a touch information display processing method according to an embodiment of the present application, as Figure 1 shown, and the process includes the following steps:
[0022] Step S102, a first trigger signal is received through the touch screen of the handheld intelligent terminal, where the first trigger signal is used to indicate that content to be displayed on the screen will be received;
[0023] As an optionally additional implementation manner, obtain the absolute coordinate value of a predetermined point (for example, the reference point in this embodiment) in the first trigger signal, and display a first window based on the absolute coordinate value. In step S104, the user of the handheld intelligent terminal writes in the window, that is, the touch signal received in step S104 is the touch signal generated by the user's writing in the window. All the content written in the window is represented by relative coordinates with respect to the predetermined point, and the coordinates of the four vertices of the window are also represented by relative coordinates with respect to the predetermined point. Send the relative coordinates of the four vertices of the window to the teaching display device, and display the window in the teaching display device.
[0024] The touch signal received outside the window is still sent to the teaching display device in the previous absolute coordinate manner for coordinate conversion and then displayed.
[0025] As another optionally additional manner, the window can be moved. Receive a signal for dragging the window, and move the window from the first position to the second position according to the signal. During the movement of the window, the coordinates of the four vertices of the window and the coordinates of the content already displayed in the window are all represented by relative coordinates with respect to the predetermined point. During the movement of the window, send the change in the relative coordinates of the coordinates of the four vertices of the window and the coordinates of the content already displayed in the window to the teaching display device, and the window displayed on the teaching display device is also displaced synchronously. This displacement uses relative coordinates and has a small delay.
[0026] As another optional implementation manner, multiple windows can be triggered to be displayed. For example, if a first trigger signal is received again, a window is added, and the added window is also processed using relative coordinates. A close control can also be added to each displayed window. After receiving an operation on the close control, the window is closed, and the content of the closed window is also cleared. The background of each window can be set to be transparent.
[0027] Step S104, receive a touch signal;
[0028] Step S106, obtain the relative coordinates of the touch signal with respect to the first trigger signal, where the relative coordinates are used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units;
[0029] As an alternative, the relative coordinates of each point in the touch signal are relative coordinates with respect to a predetermined point in the first trigger signal, or the coordinates of the first point in the touch signal are relative coordinates with respect to the predetermined point, the coordinates of the second point are relative coordinates with respect to the first point, the coordinates of the third point are relative coordinates with respect to the second point, and so on, and the coordinates of the Nth point are relative coordinates with respect to the (N-1)th point. This method can make the response speed faster.
[0030] Step S108: Send the relative coordinates to the teaching display device, where the teaching display device is configured to display the touch signal on the screen of the teaching display device according to the relative coordinates, and the length and width of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units.
[0031] In this step, the relative unit is a relative concept. For example, if the screen size of the handheld intelligent terminal is 800 pixels x 600 pixels and the screen size of the teaching display device is 1600 pixels x 1200 pixels, the relative unit for both is 400x300. For the screen of the handheld intelligent terminal, one relative unit is 2 pixels, and for the screen of the teaching display device, one relative unit is 4 pixels.
[0032] As an alternative additional implementation, if there is a large difference between the screen size of the handheld intelligent terminal and the screen size of the teaching display device, discrete points may occur. In this case, preferably, after the teaching display device draws multiple points according to the relative coordinates, it determines whether there are gaps between the multiple points. If there are gaps, it uses a straight line to connect the two points with gaps, and the straight line is also displayed on the teaching display device; obtains the color information of the two points connected by the straight line, and displays the color of the straight line according to the average value of the color information of the two points.
[0033] All the color information for displaying the touch signal on the handheld intelligent terminal can also be sent to the teaching display device, and the teaching display device also uses the received color information for display.
[0034] As another alternative additional implementation, it is also possible to receive the touch signal input by the user on the touch screen of the teaching display device, convert the touch signal into relative coordinates with respect to the predetermined point (the predetermined point can be the top left point of the screen or the reference point in this embodiment), send the relative coordinate values received on the teaching display device to the handheld intelligent terminal, and the handheld intelligent terminal displays the corresponding touch signal according to the received relative coordinates.
[0035] Through the above steps, relative coordinates are used. When using relative coordinates, there is no need to perform coordinate system conversion, which solves the problem that the touch signal input through the touch screen of the handheld terminal may be delayed when displayed on the intelligent blackboard, thereby improving the response speed of the input through the touch screen of the handheld terminal and displayed on the teaching display device.
[0036] The first trigger signal can be configured as needed. After the first trigger signal is obtained, it can be determined that the touch signal after the first trigger signal is to be displayed as the content on the screen. There can be multiple types of the first trigger signal. For example, the first trigger signal is a trigger signal generated by a long press without displacement on the touch screen, where the long press means maintaining contact for more than a predetermined duration.
[0037] If the first trigger signal is a point signal, the relative coordinate can be based on the signal of this point. If the first trigger signal is a signal occupying multiple points, for example, the signal generated by receiving a long press of a finger is an area signal, or a sliding path that also occupies multiple points. At this time, this sliding path can also be considered an area signal. At this time, as an optional implementation, the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal can be obtained; the predetermined point is selected as the reference point from the area; and the relative coordinate of the touch signal relative to the reference point is obtained.
[0038] There are also many ways to select the reference point. As an optional implementation, the point with the largest sum of the abscissa value and the ordinate value in the area can be selected as the reference point, where the abscissa value and the ordinate value are the absolute coordinate values on the touch screen of the handheld intelligent terminal. For example, if an area involves four points: (100, 200), (101, 201), (102, 202), (103, 203), and the unit of these four coordinate points is pixels. At this time, (103, 203) is selected as the reference point. Then, the absolute coordinate value of the reference point and the relative coordinate of the touch signal relative to the reference point are sent to the teaching display device. The teaching display device only needs to convert the coordinates of one point (the reference point), and the rest are directly displayed using relative coordinates, thereby improving the response speed.
[0039] In this embodiment, an electronic device is provided, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the method in the above embodiments.
[0040] The above program can run in a processor or can also be stored in a memory (or referred to as a computer-readable medium). The computer-readable medium includes permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media do not include transitory computer-readable media, such as modulated data signals and carrier waves.
[0041] These computer programs can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate computer-implemented processing. Thus, the instructions executed on the computer or other programmable device provide for implementing the steps for the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 the steps for the functions specified in one block or multiple blocks. Corresponding to different steps, different modules can be used to implement them. In this embodiment, such a device is provided, which is called a touch information display processing device. The device includes: a first receiving module, configured to receive a first trigger signal through the touch screen of a handheld intelligent terminal, where the first trigger signal is used to indicate that content to be displayed on the screen needs to be received; a second receiving module, configured to receive a touch signal; an obtaining module, configured to obtain the relative coordinates of the touch signal relative to the first trigger signal, where the relative coordinates are used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units; a sending module, configured to send the relative coordinates to a teaching display device, where the teaching display device is configured to display the touch signal on the screen of the teaching display device according to the relative coordinates, and the length and width of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units.
[0042] This device corresponds to the method in the above embodiment. For those that have been described in the method, they will not be elaborated herein. For example, the first trigger signal is a trigger signal generated by a long press without displacement on the touch screen, where the long press means maintaining contact for more than a predetermined duration.
[0043] For another example, the obtaining module is configured to: obtain the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal; select the predetermined point as a reference point from the area; and obtain the relative coordinates of the touch signal with respect to the reference point. Preferably, the obtaining module is configured to: select the point with the largest sum of the abscissa value and the ordinate value within the area as the reference point, where the abscissa value and the ordinate value are the absolute coordinate values on the touch screen of the handheld intelligent terminal.
[0044] For another example, the sending module is configured to: send the absolute coordinate value of the reference point and the relative coordinates of the touch signal with respect to the reference point to the teaching display device.
[0045] Through the above embodiment, relative coordinates are used. When using relative coordinates, there is no need to perform coordinate system conversion, which solves the problem that the touch signal input through the touch screen of the handheld terminal may be delayed when displayed on the smart blackboard, thereby improving the response speed of the touch signal input through the touch screen of the handheld terminal and displayed on the teaching display device.
[0046] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
Claims
1. A method for processing touch information display, characterized in that, comprising: Receiving a first trigger signal through the touch screen of a handheld intelligent terminal, wherein the first trigger signal is used to indicate that content to be displayed on the screen will be received; Receiving a touch signal; Obtaining the relative coordinates of the touch signal relative to the first trigger signal, wherein the relative coordinates are used to indicate the distance and angle between the touch signal and the first trigger signal, and the distance is represented using relative units; wherein obtaining the relative coordinates of the touch signal relative to the first trigger signal includes: obtaining the area occupied by the first trigger signal on the touch screen of the handheld intelligent terminal; selecting a predetermined point in the area as a reference point; obtaining the relative coordinates of the touch signal relative to the reference point; obtaining the absolute coordinate values of the predetermined points in the first trigger signal, and displaying a first window based on the absolute coordinate values. The user of the handheld intelligent terminal writes in the window. Wherein, the received touch signal is the touch signal generated by the user's writing in the window, and all the content written in the window is represented by the relative coordinates relative to the predetermined point, and the coordinates of the four vertices of the window are also represented by the relative coordinates relative to the predetermined point. Sending the relative coordinates of the four vertices of the window to the teaching display device, and displaying the window on the teaching display device; the touch signal received outside the window is still sent to the teaching display device in the previous absolute coordinate manner for coordinate conversion and then displayed; the window can be moved, receiving a signal for dragging the window, and moving the window from the first position to the second position according to the signal. During the movement of the window, the coordinates of the four vertices of the window and the coordinates of the content already displayed in the window are all represented by the relative coordinates relative to the predetermined point; during the movement of the window, sending the change of the relative coordinates of the coordinates of the four vertices of the window and the content already displayed in the window to the teaching display device, and the window displayed on the teaching display device is also displaced synchronously; Sending the relative coordinates to a teaching display device, wherein the teaching display device is used to display the touch signal on the screen of the teaching display device according to the relative coordinates, and the length and width of the screen of the teaching display device and the touch screen of the handheld intelligent terminal have the same number of relative units.
2. The method according to claim 1, characterized in that, The first trigger signal is a trigger signal generated by a long press without displacement on the touch screen, wherein the long press means maintaining contact for more than a predetermined duration.
3. The method according to claim 2, characterized in that, Sending the relative coordinates to the teaching display device includes: Sending the absolute coordinate values of the reference point and the relative coordinates of the touch signal relative to the reference point to the teaching display device.
4. The method according to claim 3, characterized in that, Selecting the predetermined point as a reference point from the region includes: Selecting, as the reference point, a point within the region that has the maximum sum of the abscissa value and the ordinate value, where the abscissa value and the ordinate value are absolute coordinate values on the touch screen of the handheld intelligent terminal.
Citation Information
Patent Citations
Apparatus and method for inputting a text corresponding to relative coordinates values generated by movement of a touch position
CN101390036A
Synchronization method and system of remote commenting
CN105446689A