Writing interaction method, interaction panel and storage medium
By precisely judging multiple movement operations in the writing application interface, it automatically identifies and responds to multiple people writing or zooming and roaming, solving the problem of interaction conflicts in existing technologies and improving the interactive experience and efficiency.
Patent Information
- Application Number
- CN202410442295.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2025-10-28
AI Technical Summary
Existing writing applications are prone to interaction conflicts in multi-person writing and zoom/roaming functions, resulting in excessive operations and affecting the user experience and efficiency.
By precisely judging the start time and touch point position status of multiple mobile operations in the writing application interface, the system automatically identifies multi-person writing or zoom roaming operations and responds to the dynamic writing layer and static display layer respectively, thereby achieving operation isolation and avoiding functional conflicts.
Without requiring users to manually set the function's enabling status, it automatically and accurately enables multi-user writing or zooming roaming, improving the interactive experience and efficiency while reducing computing resource consumption.
Smart Images

Figure CN120848779A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of interactive technology, and in particular to writing interaction methods, interactive tablets, and storage media. Background Technology
[0002] With the continuous development of electronic technology, people are encountering a wider variety of electronic products in their daily lives. Moreover, based on the intuitiveness and convenience of human-computer interaction in interactive electronic products, their usage rate in people's work and life is increasing.
[0003] Currently, interactive electronic products with large screens (such as interactive flat panels) on the market can install writing applications. With the interactive flat panel as the hardware carrier and the support of the writing application, the interactive flat panel can achieve functions similar to writing and erasing on a physical blackboard through data processing. It can also break through the area limitations of a physical blackboard and realize a writing area that can theoretically be infinitely extended and scaled within a limited display area through digital images.
[0004] While researching the interaction methods of existing writing applications, the inventors discovered that while these applications support multi-user writing and zoom / roaming based on multi-point gestures, multiple touch points are present when using both. To avoid interaction conflicts, zoom / roaming is typically disabled when multi-user writing is enabled. Furthermore, users must actively enable these functions. The excessive number of steps designed to avoid conflicts in writing applications negatively impacts the fluency of communication based on handwritten content, resulting in a poor user experience and low efficiency. Summary of the Invention
[0005] This invention provides a writing interaction method, an interactive tablet, and a storage medium to solve the technical problem that existing writing applications have too many operations designed to avoid functional conflicts, which affects the fluency of communication based on handwritten content, resulting in poor interactive experience and efficiency.
[0006] In a first aspect, embodiments of this application provide a writing interaction method, which includes:
[0007] The writing application interface is displayed, which includes a portion of the whiteboard canvas used to display the editing content of the writing application.
[0008] The first movement operation is received in the writing application interface;
[0009] In response to the first mobile operation, add the first handwriting stroke to the writing application interface;
[0010] If a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations. The time interval between the start time of the second movement operation and the start time of the first movement operation is less than a preset first time threshold, and the distance between the start position of the second movement operation and the position of the first movement operation at the same time is less than a preset first distance threshold.
[0011] If a third movement operation is received during the first movement operation, in response to the third movement operation, a second handwriting is added to the writing application interface, wherein the time interval between the start time of the third movement operation and the start time of the first movement operation is greater than a preset first time threshold, and / or the distance between the start position of the third movement operation and the position of the first movement operation at the same time is greater than a preset first distance threshold.
[0012] As described above, when displaying the whiteboard canvas through the writing application interface, the system meticulously judges the start time and touch point position changes corresponding to multiple movement operations. This confirms that when multiple movement operations occur, the actual operational needs corresponding to these operations are multi-person writing or zooming / roaming. The system then adds writing strokes or adjusts the display area of the whiteboard canvas accordingly. This eliminates the need for users to manually enable or disable functions that might be achieved by a particular multi-point movement operation to avoid interaction conflicts. The system automatically and accurately enables multi-person writing or zooming / roaming based on any multi-point movement operation performed by the user. This eliminates the need to set the function enable state when achieving different interaction goals through multi-point movement operations, improving the interactive experience and ensuring interaction efficiency.
[0013] The writing application interface has a dynamic writing layer and a static display layer. The dynamic writing layer is located on top of the static display layer, and the whiteboard canvas is displayed on the static display layer.
[0014] Accordingly, in response to the first movement operation, a first handwriting stroke is added to the writing application interface, including:
[0015] The first writing stroke is added to the dynamic writing layer in response to the first movement operation.
[0016] If a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations, including:
[0017] If a second movement operation is received during the first movement operation, the first writing strokes in the dynamic writing layer are cleared, and the area of the whiteboard canvas displayed in the static display layer is updated in response to the first and second movement operations through the static display layer according to the change in the touch point position of the first and second movement operations.
[0018] If a third movement operation is received during the first movement operation, in response to the third movement operation, a second handwriting style is added to the writing application interface, including:
[0019] If a third movement operation is received during the first movement operation, the third movement operation is responded to through the dynamic writing layer. A second handwriting is added to the dynamic writing layer. When the first or third movement operation ends, the corresponding handwriting is added to the static display layer, and the corresponding handwriting is cleared from the dynamic writing layer.
[0020] As described above, by using a dynamic writing layer and a static display layer to independently respond to writing and other operations respectively, operation isolation is achieved, avoiding mutual interference between different types of handwriting operations, improving the accuracy of interaction, and also effectively reducing the data objects processed for each operation, saving computing resources and improving processing efficiency.
[0021] Specifically, when a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including:
[0022] If it is confirmed that the second movement operation received during the first movement operation constitutes a scaling movement operation with the first movement operation, the first writing is cleared, the distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation gradually decreases or increases, and the change of the overall center point of the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset second distance threshold, then the second movement operation and the first movement operation constitute a scaling movement operation.
[0023] Based on the distance between the touch points of the first and second movement operations, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed on the whiteboard canvas in the writing application interface.
[0024] As described above, by defining the operational features of specific zoom and move operations and responding to zoom and move operations, convenient and precise zooming of the whiteboard canvas is achieved.
[0025] Specifically, when a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including:
[0026] If it is confirmed that the second movement operation received during the first movement operation constitutes a parallel movement operation with the first movement operation, the first writing is cleared; when the distance change between the contact point corresponding to the second movement operation and the contact point corresponding to the first movement operation is less than a preset third distance threshold, and the movement change between the contact point corresponding to the second movement operation and the contact point corresponding to the first movement operation is less than a preset first angle threshold, the second movement operation and the first movement operation constitute a parallel movement operation.
[0027] Based on the overall movement distance and overall movement direction of the first and second movement touch points, the area of the whiteboard canvas displayed in the writing application interface is moved parallel to the surface.
[0028] As described above, by defining the operational characteristics of specific parallel movement operations and responding to parallel movement operations, convenient and precise roaming adjustments to the whiteboard canvas are achieved.
[0029] Specifically, when a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including:
[0030] If it is confirmed that the second movement operation received during the first movement operation constitutes an independent writing operation with the first movement operation, the first writing handwriting is retained and updated in response to the first movement operation, and a third writing handwriting is added to the writing application interface in response to the second movement operation; when the change in distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset second distance threshold, and / or the change in distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset third distance threshold, and / or the change in movement between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset first angle threshold, the second movement operation and the first movement operation constitute an independent writing operation.
[0031] In the case where the second movement operation clearly does not conform to the scaling and parallel movement operations, the first and second movement operations are directly responded to as multi-stroke writing, further improving the accuracy of the response.
[0032] Wherein, the contact area of the first movement operation is less than a preset first area threshold;
[0033] Correspondingly, the writing interaction methods also include:
[0034] The fourth movement operation is received in the writing application interface, and the contact area of the fourth movement operation is greater than the preset first area threshold.
[0035] In response to the fourth move operation, erase the writing on the whiteboard canvas at the touch point corresponding to the fourth move operation.
[0036] As described above, by judging and responding to operations on different areas, it is possible to quickly respond to handwriting erasure.
[0037] Secondly, embodiments of this application provide a writing interaction method, which includes:
[0038] The writing application interface is displayed, which shows a portion of the whiteboard canvas; the whiteboard canvas is used to display the editing content of the writing application.
[0039] Receive first touch data generated by a movement operation, add first writing strokes on the whiteboard canvas based on the first touch data, and receive second touch data generated by the movement operation while receiving the first touch data;
[0040] If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position at the same moment in the first touch data is less than a preset first distance threshold, and the trajectory judgment flag is negative, the first writing marks are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change status in the first touch data and the second touch data. The trajectory judgment flag is used to indicate whether the touch point position change status is matched with the preset zoom and roam trigger conditions before clearing the first writing marks.
[0041] If the time interval between the start time in the second touch data and the start time in the first touch data is greater than a preset first time threshold, and / or the distance between the start position in the second touch data and the position at the same moment in the first touch data is greater than a preset first distance threshold, then a second writing stroke is added to the whiteboard canvas according to the touch point position in the second touch data.
[0042] As described above, during the process of displaying the whiteboard canvas through the writing application interface, the time and position parameters in the received touch data are precisely judged to confirm that in the case of multiple movement operations, the actual operation requirements corresponding to these movement operations are multi-person writing or zooming and roaming. The writing handwriting is added or the display area of the whiteboard canvas is adjusted accordingly. During the use of the writing application, there is no need for the user to manually set to enable or disable the function that a certain multi-point movement operation may achieve to eliminate interaction conflicts. Multi-person writing or zooming and roaming can be automatically and accurately realized according to any multi-point movement operation of the user. The setting of the function enable state when achieving different interaction goals through multi-point movement operations is eliminated, improving the interaction experience and ensuring interaction efficiency.
[0043] The writing application interface has a dynamic writing layer and a static display layer. The dynamic writing layer is located on top of the static display layer, and the whiteboard canvas is displayed on the static display layer.
[0044] Accordingly, the system receives first touch data generated by the movement operation, and adds first writing strokes to the whiteboard canvas based on the first touch data, including:
[0045] Receive the first touch data generated by the mobile operation, and add the first writing strokes to the dynamic writing layer according to the first touch data;
[0046] Based on the touch point position changes in the first and second touch data, update the area of the whiteboard canvas displayed in the writing application interface, including:
[0047] Based on the touch point position change status in the first touch data and the second touch data, update the area of the whiteboard canvas displayed in the static display layer;
[0048] A second writing style is added to the whiteboard canvas based on the touch point position in the second touch data, including:
[0049] A second writing style is added to the dynamic writing layer based on the touch point position in the second touch data.
[0050] As described above, by using a dynamic writing layer and a static display layer to independently respond to writing and other operations respectively, operation isolation is achieved, avoiding mutual interference between different types of handwriting operations, improving the accuracy of interaction, and also effectively reducing the data objects processed for each operation, saving computing resources and improving processing efficiency.
[0051] Among them, after receiving the second touch data generated by the movement operation during the process of receiving the first touch data, the process includes:
[0052] If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position at the same moment in the first touch data is less than a preset first distance threshold, and the trajectory judgment is marked as yes, the touch point position change state is matched with the preset zoom roaming trigger condition.
[0053] If the touch point position change state matches the zoom roaming trigger condition, clear the first writing strokes, and update the area of the whiteboard canvas displayed in the writing application interface according to the touch point position change state in the first touch data and the second touch data.
[0054] If the touch position change state does not match the zoom roaming trigger condition, add a second writing stroke to the whiteboard canvas according to the touch position in the second touch data.
[0055] The above-mentioned setting of trajectory judgment markers enables more accurate zoom and roaming operations to be confirmed through more specific condition judgments when it is impossible to accurately perform multi-person writing and zoom roaming based on start time and start interval.
[0056] Specifically, when the touch point position change state matches the zoom and roaming trigger condition, the first writing strokes are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including:
[0057] When the touch point position change state matches the preset scaling trigger condition, the first writing is cleared, the distance between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data gradually decreases or increases, and the change of the overall center point of the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset second distance threshold, the touch point position change state matches the scaling trigger condition.
[0058] Based on the distance between the touch point positions in the first touch data and the second touch data, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed on the whiteboard canvas in the writing application interface.
[0059] As described above, by matching and limiting the first touch data and the second touch data with the scaling trigger conditions, and the response when matching, convenient and accurate scaling of the whiteboard canvas is achieved.
[0060] Specifically, when the touch point position change state matches the zoom and roaming trigger condition, the first writing strokes are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including:
[0061] When the touch point position change state matches the preset translation trigger condition, the first writing is cleared, the distance change between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset third distance threshold, and the movement change between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset first angle threshold, the touch point position change state matches the translation trigger condition.
[0062] Based on the overall movement distance and overall movement direction of the touch point positions in the first and second touch data, the whiteboard canvas is moved parallel to the area displayed in the writing application interface.
[0063] The above describes how convenient and precise roaming adjustments to the whiteboard canvas are achieved by matching and limiting the overall first and second touch data with the scaling and roaming trigger conditions, as well as the response during matching.
[0064] This writing interaction method also includes:
[0065] The first touch data and the second touch data are recorded through a data table. When a touch operation corresponding to any first touch data or second touch data begins, a data record with the corresponding operation identifier is created in the preset data table. When a touch operation corresponding to any first touch data or second touch data ends, the data record with the corresponding operation identifier is removed from the preset data table. The data record is used to record the start time and touch point position.
[0066] As mentioned above, recording touch data through a data table enables fast data reading and writing, as well as quick deletion of invalid data, reducing the data processing burden.
[0067] Thirdly, embodiments of this application also provide an interactive flat panel, which includes:
[0068] One or more processors;
[0069] Memory, used to store one or more computer programs;
[0070] When one or more computer programs are executed by one or more processors, the interactive flat panel enables a writing interaction method as described in either the first or second aspect.
[0071] Fourthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a writing interaction method as described in either the first or second aspect. Attached Figure Description
[0072] Figure 1 This is a flowchart illustrating a writing interaction method provided in an embodiment of this application.
[0073] Figure 2 This is a schematic diagram of the writing application interface provided in an embodiment of this application.
[0074] Figure 3 In order to be in Figure 2 The diagram shows a writing application interface for performing the first type of multi-point operation.
[0075] Figure 4 In order to be in Figure 2 The diagram shows a second type of multi-point operation in the writing application interface.
[0076] Figure 5 In order to be in Figure 4 The image shows a diagram of the writing application interface after zooming out.
[0077] Figure 6 In order to be in Figure 4 The diagram shows the writing application interface after multiple people have performed writing operations.
[0078] Figure 7 This is a schematic diagram illustrating the principle of determining the first scaling trigger condition.
[0079] Figure 8 This is a schematic diagram illustrating the principle behind determining the second scaling trigger condition.
[0080] Figure 9 This is a schematic diagram illustrating the principle of determining the translation trigger condition.
[0081] Figure 10 A flowchart illustrating another writing interaction method provided in this application embodiment.
[0082] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0083] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and not for limiting the invention. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention and not the entire structure.
[0084] It should be noted that, due to space limitations, this application specification does not exhaustively list all possible implementation methods. Those skilled in the art should be able to conceive after reading this application specification that, as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method.
[0085] The embodiments of the present invention will be described in detail below.
[0086] The writing interaction method of this application can be applied to interactive flat panels. An interactive flat panel can be an integrated device that uses touch technology to control content displayed on a screen and achieve human-computer interaction. It integrates one or more functions such as a projector, electronic whiteboard, screen, audio system, television, and video conferencing terminal. Of course, interactive flat panels do not limit the surface features of the display surface; for example, an interactive flat panel can be a flat surface, a curved surface, or a combination of multiple flat surfaces.
[0087] Typically, an interactive flat panel (EPS) is equipped with at least one operating system, including but not limited to Android, Linux, Windows, and Huawei HarmonyOS. This operating system controls and coordinates the EPS and external devices, enabling the various independent hardware components within the EPS to work as a stable, coordinated whole. The architecture layer where the operating system resides is defined as the system layer. Based on the system layer, the EPS contains software programs developed to meet the needs of users in different fields and for different problems; this corresponds to the application layer. In the specific embodiments described in this solution, the EPS can install at least one software program with writing functionality. This writing-enabled software program can be a built-in program of the operating system or a program downloaded from a third-party device or server. Optionally, in addition to touch-based writing functionality, the software program may also have other editing functions, such as deletion, table insertion, image insertion, graphic insertion, table drawing, and graphic drawing. For example, annotation applications and whiteboard applications belong to the aforementioned writing-enabled software programs. In this embodiment, various interfaces capable of implementing writing functionality are defined as writing application interfaces.
[0088] Using an interactive whiteboard as the hardware platform, and with the support of writing applications, functions similar to writing and erasing on a physical blackboard can be achieved through data processing. Furthermore, it overcomes the limitations of a physical blackboard, creating a theoretically infinitely expandable and scalable writing area within a finite display area via a digital screen. The whiteboard canvas is essentially this infinitely expandable and scalable digital screen. The specific data processing mainly includes detecting touch operations through the interactive whiteboard's touch module to obtain touch data, and then responding to this touch data in various ways.
[0089] Existing writing applications support multi-user writing and gesture-based zoom / roaming. Zoom / roaming adjusts the display area of an infinitely expandable whiteboard canvas within the limited writing application interface. "Shrink" reduces the size of elements on the whiteboard canvas, increasing the displayed area accordingly; "expand" increases the size, decreasing the displayed area; and "roam" maintains the size of elements while adjusting the display area. Because multiple touchpoints exist when using multi-user writing and zoom / roaming, zoom / roaming is typically disabled when multi-user writing is enabled to avoid interaction conflicts. However, multi-user writing and zoom / roaming require users to actively enable these functions. Excessive operations designed to avoid conflicts in writing applications negatively impact the fluency of communication based on handwritten content, resulting in a poor user experience and low efficiency.
[0090] For example, if zoom and roaming are disabled when multi-user writing is enabled, and a user tries to zoom and roam by tapping the writing interface with multiple fingers, it will trigger multi-user writing. This not only prevents zoom and roaming but also leaves multiple lines of writing on the whiteboard canvas, requiring manual removal or undo. To enable zoom and roaming, the multi-user writing function must be manually disabled, and then manually enabled again later. This cumbersome process disrupts the user's train of thought and reduces efficiency.
[0091] To address the above technical issues, this application proposes a writing interaction method. When displaying a whiteboard canvas through a writing application interface, it performs precise judgment on the start time and touch point position state changes corresponding to multiple movement operations. This confirms that, in the case of multiple movement operations, the actual operation requirements corresponding to these operations are multi-person writing or zooming and roaming. It then adds writing strokes or adjusts the display area of the whiteboard canvas accordingly. This eliminates the need for users to manually enable or disable functions that might be achieved by a particular multi-point movement operation to avoid interaction conflicts during the use of the writing application. It automatically and accurately realizes multi-person writing or zooming and roaming based on any multi-point movement operation by the user, eliminating the need to set the function enable state when achieving different interaction goals through multi-point movement operations. This improves the interactive experience and ensures interactive efficiency.
[0092] Figure 1 This is a flowchart of a writing interaction method provided in an embodiment of this application. The writing interaction method is applied to various electronic devices that can be used by multiple people to write, and is implemented by electronic devices, such as various interactive tablets. Figure 1 The writing interaction method shown is mainly presented from the perspective of the interaction response process, combined with... Figure 1 In a detailed description, the corresponding user interaction will be described, along with the underlying data processing, serving as the underlying logical support for the interaction response process. For example... Figure 1 As shown, the writing interaction method includes, but is not limited to, steps S110-S140:
[0093] Step S110: Display the writing application interface of the writing application. The writing application interface displays a portion of the whiteboard canvas, which is used to hold the editing content of the writing application.
[0094] The interactive flat panel itself can run various software to achieve various functions in different application scenarios. Corresponding to the application scenario targeted in this application embodiment, the writing application can be opened by triggering the application icon of the writing application, or by using specific gestures, specific buttons, or touch objects of specific materials, and the writing application interface can be displayed on the interactive flat panel.
[0095] like Figure 2 As shown, in the writing application interface displayed on the interactive whiteboard 1, no writing marks have been added yet, and the content is blank. At this time, a control bar 11 is displayed for writing-related operations or function triggering in the writing application interface. This bar includes controls for functions such as file preview, selection, erasure, and page turning. When a control triggers... Figure 2 When the indicated trigger occurs, the corresponding function is activated. For users, this can be done within the writing application interface, such as... Figure 3 The multi-finger gesture and other arbitrary operations shown are subject to the interaction design of the writing application. Whether any arbitrary operation has a corresponding response is determined by the interaction design of the application.
[0096] During handwriting input based on the writing application interface, the handwriting and other elements related to user editing are presented on the whiteboard canvas. Since the whiteboard canvas is based on data, it can theoretically be infinitely large. At any given moment, only a portion of the writing application interface can be actually displayed.
[0097] As mentioned earlier, users can perform various touch operations on the writing application interface. These touch operations are detected by the touch module, which then generates corresponding touch data. Because users have the initiative to operate the writing application interface, their active or accidental operations are unrestricted, potentially resulting in a large number of touch operations being received through the interface, such as single-click and long-press operations. Of course, receiving touch operations through the writing application interface is a description from the perspective of user experience. In terms of actual data processing, the touch module detects and generates touch data. When the writing application interface is currently displayed, all touch data is distributed to the writing application, which then receives and responds accordingly.
[0098] Step S120: Receive the first movement operation in the writing application interface.
[0099] In this embodiment, for a large number of touch operations received through the writing application interface, only the processing of the first movement operation is described. The first movement operation is a movement operation received when the writing application interface is displayed and no other touch operations are detected. It should be noted that the first movement operation refers to a movement operation corresponding to a single touch point, such as a movement operation performed by a finger or a pen. This state of a single touch point may generate multiple writing marks due to continuous single-person writing, or it may last for a short period of time due to multi-person operation or single-person multi-point operation.
[0100] Step S130: In response to the first move operation, add the first writing stroke to the whiteboard canvas.
[0101] When only one touch point is used for movement, the single-person writing response logic in related technologies is followed to add handwriting. In this embodiment, the handwriting added corresponding to the first movement operation is defined as the first handwriting. For example... Figure 4 The characters for "life" shown are the handwriting added after multiple individual handwriting attempts. It should be understood that after a specific first movement operation ends, the corresponding completed handwriting is no longer the first handwriting; only the handwriting added corresponding to the first movement operation in progress at a given moment is considered the first handwriting. Even if a user controls multiple fingertips to simultaneously contact the interactive tablet, the touch module can usually detect the difference in contact sequence, thus confirming the movement operation corresponding to the first touch point as the first movement operation and using it as the basis for confirming subsequent response methods.
[0102] For the touch module, it cannot determine what object the user is using or what the purpose of the operation is; it can only detect touch data. In this embodiment, the touch data generated by a movement operation in a state where there is currently no touch operation is defined as the first touch data. Upon receiving the first touch data, a first writing mark is added to the whiteboard canvas based on the first touch data (generated according to the user's first movement operation), and the second touch data generated by the movement operation is received during the process of receiving the first touch data. The movement operation corresponding to the second touch data is then received; it is different from the first movement operation, but rather a new movement operation that begins during the process of the first movement operation.
[0103] Step S140: When a second movement operation is received during the first movement operation, the first writing marks are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations. The time interval between the start time of the second movement operation and the start time of the first movement operation is less than a preset first time threshold, and the distance between the start position of the second movement operation and the position of the first movement operation at the same time is less than a preset first distance threshold.
[0104] From an operational perspective, multiple touch points move simultaneously during multi-user writing, and multiple touch points also move simultaneously during zooming and roaming as defined in related technologies. Considering only the number of touch points at a single instant may not be enough to distinguish between multi-user writing and zooming and roaming. The inventors analyzed the interaction characteristics of multi-user writing and zooming and roaming and found that multi-user writing typically involves at least two users maintaining a certain distance and independently using the writing object (finger or pen) for movement, with poor consistency in the start of movement among multiple users. Zooming and roaming typically involves one person using multiple fingertips of one hand, or two fingertips (or a pen) of two hands for zooming and roaming. The distance between the multiple fingertips (or pen) and the interactive tablet is relatively close and not significantly different, and because it is operated by the same user, or even multiple fingers of the same hand, the consistency in the start of movement is better.
[0105] Based on the above findings, this application proposes to determine the operation target (adding handwriting or zooming / roaming) when there are multiple movement operations based on the time interval between the start times of the sequential movement operations and the positional differences of different movement operations at the same time, and then respond accordingly. Essentially, for any first movement operation that occurs for any reason, it is first added as the first handwriting as in step S130. If no other movement operation occurs during the first movement operation, the first handwriting is continuously updated until the first movement operation ends. The first handwriting generated during this process is displayed on the writing application interface as the interaction result of the first movement operation. After a first movement operation completes its process independently, the corresponding handwriting is no longer the first handwriting mentioned in this application embodiment. Subsequent zooming / roaming will not cause the handwriting to be cleared until a new first movement operation occurs, at which point a new first handwriting is added accordingly.
[0106] In this embodiment, a second movement operation is defined as a movement operation received during the first movement operation, specifically one received shortly after the start of the first movement operation and with a small distance from the touch point of the first movement operation. There may be one or more second movement operations. The interval requirement for quickly receiving the second movement operation is quantified as being less than a preset first time threshold (e.g., less than 200ms), and the small distance is quantified as being less than a preset first distance threshold (e.g., less than 250px). This means that the second movement operation is received before the first movement operation has ended, and the first and second movement operations overlap in time. If the second movement operation is received after the first movement operation, it indicates that the series of movement operations starting from the most recent first movement operation does not require adding writing, but rather requires zooming and roaming. In this case, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point positions of the first and second movement operations. At this point, the first and second movement operations are treated as a single interactive gesture, enabling zooming and roaming. If scaling and roaming have been confirmed as necessary, the specific implementation methods for scaling and roaming, such as the scaling center and scale, can be found in relevant technical documentation on scaling and roaming implementations, and will not be elaborated upon here.
[0107] The touch point position change state refers to the indicator parameters obtained during the first and second movement operations, based on the positions of all corresponding touch points, including the movement speed and direction of a single touch point, the relative distance change trend of multiple touch points, the amount of relative distance change, and / or the overall movement speed. These indicator parameters can distinguish the type of interactive gesture constituted by the first and second movement operations and serve as a quantitative reference for confirming response details. For example, if the relative distance between the first and second movement operations increases, it can be confirmed that the interactive gesture constituted by the first and second movement operations is a zoom-in operation within a zoom-out operation. Based on the amount of relative distance change between the corresponding touch points of the first and second movement operations, the size of the area that the whiteboard canvas needs to be displayed in the writing application interface after reduction can be confirmed, so that the magnification of the graphic elements displayed on the whiteboard canvas in the writing application interface is adapted to the amount of relative distance change.
[0108] In the embodiments of this application, the interactive gesture consisting of the second movement operation and the first movement operation can be further distinguished into a zoom movement operation and a parallel movement operation.
[0109] For zoom and move operations, based on the time interval and touch point distance requirements described above, if it is confirmed that the second move operation received during the first move operation constitutes a zoom and move operation with the first move operation, the first writing is cleared. Specifically, if the distance between the touch points corresponding to the second move operation and the touch points corresponding to the first move operation gradually decreases or increases, and the change in the overall center point of the touch points corresponding to the second and first move operations is less than a preset second distance threshold, then the second move operation and the first move operation constitute a zoom and move operation. After confirming that the second move operation and the first operation constitute a zoom and move operation, based on the distance between the touch points of the first and second move operations, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed on the whiteboard canvas in the writing application interface.
[0110] Considering the potential for variations in user actions, relying solely on time intervals and touch point distances might result in situations where the user's actual actions meet the time interval and touch point distance requirements, but the scaling and roaming parameters cannot be determined based on the second touch data. In such cases, it can be further specified that scaling of the whiteboard canvas only occurs when the touch point distances corresponding to the first and second movement operations correspond to a preset interactive gesture height. In this embodiment, a second movement operation whose touch point relationship with the first movement operation satisfies the scaling corresponding interactive gesture is considered to constitute a scaling movement operation with the first movement operation. It should be understood that the response to the scaling movement operation is not based solely on changes in the touch point of the second movement operation, but rather on responding to both the second and first movement operations as a single interactive gesture. By defining the operational characteristics of the second and first movement operations satisfying the scaling movement operation, and by responding to the scaling movement operation, convenient and precise scaling of the whiteboard canvas is achieved.
[0111] For parallel movement operations, based on the time interval and contact distance requirements described above, if the second movement operation received during the first movement operation constitutes a parallel movement operation with the first movement operation, the first writing is cleared; if the change in distance between the contact points corresponding to the second movement operation and the first movement operation is less than a preset third distance threshold, and the change in movement between the contact points corresponding to the second movement operation and the first movement operation is less than a preset first angle threshold, then the second movement operation and the first movement operation constitute a parallel movement operation. After confirming that the second movement operation and the first operation constitute a parallel movement operation, the area of the whiteboard canvas displayed in the writing application interface is moved parallel to the overall movement distance and overall movement direction of the contact points of the first and second movement operations.
[0112] Considering the various possible scenarios for user operations, relying solely on time intervals and touch point distances might result in situations where the user's actual operation meets the time interval and touch point distance requirements, but the scaling and roaming parameters cannot be determined based on the second touch data, thus failing to complete the scaling and roaming operation. In such cases, it can be further specified that scaling and roaming of the whiteboard canvas is only performed when the touch point distance relationship between the first and second movement operations corresponds to a preset interactive gesture height. In this embodiment, a second movement operation whose touch point relationship with the first movement operation satisfies the corresponding interactive gesture for roaming is considered to constitute a parallel movement operation with the first movement operation. It should be understood that the response to the parallel movement operation is not based solely on changes in the touch points of the second movement operation, but rather the second and first movement operations as a whole are responded to as an interactive gesture. By limiting the operation characteristics of the second and first movement operations to satisfy parallel movement operations, and by responding to the parallel movement operations, convenient and precise roaming adjustments of the whiteboard canvas are achieved. Based on a precise judgment of the first and second movement operations, it is possible that the second operation and the first operation do not constitute a zoom movement operation or a parallel movement operation, meaning that the second movement operation itself is a writing operation independent of the first movement operation. Accordingly, if it is confirmed that the second movement operation received during the first movement operation constitutes an independent writing operation, the first writing stroke is retained and continues to be updated in response to the first movement operation, and a third writing stroke is added to the writing application interface in response to the second movement operation. Specifically, when the change in distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset second distance threshold, and / or the change in distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset third distance threshold, and / or the change in movement between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset first angle threshold, both the second and first movement operations can be considered as constituting independent writing operations. Multiple independent writing operations add writing strokes independently. If the first movement operation has already added writing strokes, the second movement operation also continues to add writing strokes, which is equivalent to multiple writing strokes. In cases where the second movement operation clearly does not conform to the scaling and parallel movement operations, the first and second movement operations are directly responded to as multi-stroke writing, further improving the accuracy of the response.
[0113] Step S150: If a third movement operation is received during the first movement operation, in response to the third movement operation, a second writing stroke is added to the whiteboard canvas, wherein the time interval between the start time of the third movement operation and the start time of the first movement operation is greater than a preset first time threshold, and / or the distance between the start position of the third movement operation and the position of the first movement operation at the same time is greater than a preset first distance threshold.
[0114] During the first movement operation, a movement operation may be received only after a certain interval, or the received movement operation may be at a distance of a certain range from the starting position to the position at the same moment as the first movement operation. Such movement operations are clearly not part of the interactive gestures used to implement zoom and roam. In this embodiment, such movement operations are defined as third movement operations, and all third movement operations are directly treated as independent writing operations, generating corresponding handwriting. There may be one or more third movement operations; if there are multiple, multiple handwriting entries are added accordingly. The specific handwriting addition process can be referred to in the implementation of relevant writing schemes, and will not be elaborated here.
[0115] In one optional implementation, the writing application interface has a dynamic writing layer and a static display layer, with the dynamic writing layer located above the static display layer, and the whiteboard canvas displayed on the static display layer. Correspondingly, in response to a first movement operation, a first writing stroke is added to the writing application interface, including: adding the first writing stroke to the dynamic writing layer in response to the first movement operation; if a second movement operation is received during the first movement operation, the first writing stroke is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations, including: clearing the dynamic writing layer when the second movement operation is received during the first movement operation. The first writing stroke in the writing layer, and in response to the touch point position changes of the first and second movement operations, updates the area of the whiteboard canvas displayed in the static display layer; if a third movement operation is received during the first movement operation, a second writing stroke is added to the writing application interface in response to the third movement operation, including: if a third movement operation is received during the first movement operation, the second writing stroke is added to the dynamic writing layer in response to the third movement operation; when the first or third movement operation ends, the corresponding writing stroke is added to the static display layer, and the corresponding writing stroke is cleared in the dynamic writing layer.
[0116] In this embodiment, the dynamic writing layer displays the handwriting being written, while the static display layer displays the completed handwriting. The writing application interface includes visually significant graphic elements whose display form has been confirmed during the handwriting process, such as backgrounds, handwriting, and other non-handwriting graphic elements like images, text, or tables. Except for the handwriting being written, which is displayed on the dynamic writing layer, all other graphic elements, including completed handwriting, are displayed on the static display layer. The static display layer can be considered as displaying the main content of the whiteboard canvas, while the dynamic writing layer can be considered as temporarily displaying the handwriting being generated until the handwriting is confirmed to be finished and then added to the whiteboard canvas.
[0117] The dynamic writing layer can be understood as a transparent layer, where all areas except the handwriting are transparent. In other words, the only visible graphic element in the dynamic writing layer is the handwriting being written. From a visual perspective, when a user looks at the writing application interface, they can see the handwriting being written in the dynamic writing layer, as well as various graphic elements in the areas not covered by the handwriting in the static display layer. That is, they can see the background, handwriting, and non-handwriting elements displayed on the writing application interface. The settings of the dynamic writing layer and the static display layer do not affect the display effect of the handwriting on the writing application interface, and the user does not perceive that the handwriting being written is on a different display layer from the background, handwriting, and non-handwriting graphic elements displayed on the writing application interface.
[0118] Based on the previously defined dynamic writing layer and static display layer, for the first movement operation used to add handwriting, before receiving the second movement operation, and when receiving the third movement operation during the first movement operation that requires adding handwriting, the handwriting in the process of generation (i.e., the first handwriting corresponding to the first movement operation and the second handwriting corresponding to the third movement operation) is directly added through the dynamic writing layer. After the handwriting-related movement operations are completed, the final handwriting is determined. If this handwriting needs to be retained for display, it is added to the same position in the static display layer with the same handwriting, and the handwriting in the dynamic writing layer is cleared. The change in the display of this handwriting between the two layers is imperceptible to the user. If the first movement operation is confirmed to be invalid because it constitutes a roaming zoom operation with the second movement operation, the handwriting can be directly cleared from the dynamic writing layer.
[0119] For the roaming and zooming operation, the operation target is to write the graphic elements that have been confirmed in the application interface. These graphic elements are all displayed in the static display layer. The roaming and zooming operation is responded to by the static display layer, that is, the static display layer responds to the first and second movement operations and updates the area of the whiteboard canvas displayed in the static display layer.
[0120] It should be understood that, in the embodiments of this application, the foregoing description refers to the process of adding the first and second handwriting strokes through a dynamic writing layer and a static display layer, as well as the process of zooming and roaming through the static display layer. In this writing interaction method, there are also interactive operations such as adding a third handwriting stroke and erasing handwriting. Clearly, the process of adding the third handwriting stroke is the same as adding the second handwriting stroke, and the handwriting erasing operation targets the already generated handwriting stroke, and is responded to by the static display layer, just like zooming and roaming.
[0121] This embodiment displays completed handwriting and handwriting in progress on a static display layer and a dynamic writing layer, respectively. This allows operations to be performed only on the static display layer when zooming and navigating the entire display area or erasing handwriting, thus avoiding the erasure of handwriting being written on the dynamic writing layer. Furthermore, it eliminates the need to back up the handwriting being written, simplifying handwriting processing and reducing the computational resources used.
[0122] The process of erasing handwriting can distinguish specific operation targets by the touch area corresponding to the first movement operation. That is, only when the touch area of the first movement operation is less than a preset first area threshold is it considered a writing operation adding the first handwriting stroke. This writing interaction method also includes: receiving a fourth movement operation in the writing application interface, where the touch area of the fourth movement operation is greater than the preset first area threshold; and in response to the fourth movement operation, erasing the handwriting stroke at the touch position corresponding to the fourth movement operation on the whiteboard canvas. In other words, when there is no current operation, receiving a touch movement operation with a touch area significantly larger than normal writing is considered an eraser operation, and the handwriting stroke is erased at the touch position corresponding to the fourth movement operation on the whiteboard canvas. For example, when a movement operation is received after the user's palm touches the canvas, the handwriting stroke covered by the palm is erased. By judging and responding to operations of different areas, handwriting erasure can be responded to quickly.
[0123] In steps S140 and S150, the second and third movement operations can be clearly distinguished from the interaction perspective, so it can be described that two different movement operations may be received during the first movement operation.
[0124] From the perspective of underlying processing logic, all operations originate from touch data detected by the touch module of the interactive flat panel. When there is no current touch operation, newly received touch data is defined as the first touch data. When there is a current touch operation and the system is continuously receiving the first touch data, the received touch data is defined as the second touch data. The second touch data may be generated due to the second movement operation mentioned earlier, or it may be generated due to the third movement operation mentioned earlier. At the underlying processing level, the type of touch operation that generated the second touch data is not distinguished; instead, the appropriate response is determined directly based on the start time recorded in the first and second touch data, as well as the corresponding touch point position.
[0125] In the specific touch data processing, the first and second touch data are recorded in a data table. When a touch operation corresponding to any of the first or second touch data begins, a new data record with the corresponding operation identifier is created in the preset data table. When a touch operation corresponding to any of the first or second touch data ends, the corresponding data record with the operation identifier is removed from the preset data table. The data record is used to record the start time and touch point position. Recording touch data in a data table enables fast data reading and writing and fast deletion of invalid data, reducing the data processing burden.
[0126] For the second touch data, if the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position at the same moment in the first touch data is less than a preset first distance threshold, and the trajectory judgment flag is negative, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change status in the first touch data and the second touch data. The trajectory judgment flag is used to indicate whether the touch point position change status is matched with the preset zoom and roam trigger conditions before clearing the first writing.
[0127] If the time interval between the start time in the second touch data and the start time in the first touch data is greater than a preset first time threshold, and / or the distance between the start position in the second touch data and the position at the same moment in the first touch data is greater than a preset first distance threshold, then a second writing stroke is added to the whiteboard canvas according to the touch point position in the second touch data.
[0128] Since multiple touch points may not fall simultaneously during multi-touch operations, if the response method is determined only after determining whether it is a multi-touch operation, then for single-touch operations, the system would need to wait for a determination that it is not a multi-touch operation before responding, which might result in a feeling of touch lag. In this embodiment, upon detecting the first movement of a touch point, handwriting is generated simultaneously, and other touch data is received concurrently. During the first movement operation, if operations from other touch points are received, the system combines this with the aforementioned multi-touch judgment logic to make a judgment and then executes the corresponding operation. This avoids touch lag and allows the user to perceive the touch response more intuitively.
[0129] For a specific touch data entry in the data table, recording begins from the moment its down event is received. The recorded information includes the timestamp of the down event from the same touch operation (i.e., the start time), the coordinates of each touch point, and the operation identifier. Among all recorded touch data, the one with the earliest start time is the first touch data, and the rest are second touch data; that is, there may be multiple second touch data entries. The response of the second touch data is zoom / roam or multi-user writing. The determination is made based on the interval between the start times of the second and first touch data entries, and the distance between the starting position of the second touch data and the position of the first touch data at the same time. The specific determination process will be explained more intuitively later with accompanying diagrams.
[0130] Considering that user operations may vary, relying solely on time intervals and touch distances may result in situations where the user's actual operation meets the time interval and touch distance requirements, but the scaling and roaming parameters cannot be determined based on the second touch data. In such cases, it can be further limited that roaming of the whiteboard canvas will only occur when the touch distances corresponding to the first and second movement operations correspond to the preset interactive gesture height.
[0131] Whether further confirmation of the operation type is needed after confirming the time interval and touch distance is determined by the trajectory judgment flag. The trajectory judgment flag can be a real, configurable flag or a flag that is always set to "No" by default (i.e., always executed according to steps S110-S140). If the trajectory judgment flag is configurable, the user can determine whether the judgment and response based solely on the time interval and touch distance can accurately respond to their interaction goal when it is set to "No". If it can accurately respond to their interaction goal, then it remains set to "No" and the judgment and response based solely on the time interval and touch distance can continue; if it cannot accurately respond to their interaction goal, then the trajectory judgment flag is set to "Yes". If the trajectory judgment flag is set to "Yes", then each multi-operation needs to accurately confirm whether the zoom and roaming interaction gesture is satisfied based on the time interval and touch distance before responding.
[0132] Overall, if the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position in the first touch data at the same time is less than a preset first distance threshold, and the trajectory judgment is marked as yes, the touch point position change state is matched with the preset zoom and roam trigger conditions; if the touch point position change state matches the zoom and roam trigger conditions, the first writing stroke is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change states in the first and second touch data; if the touch point position change state does not match the zoom and roam trigger conditions, the second writing stroke is added to the whiteboard canvas according to the touch point position in the second touch data.
[0133] Corresponding to the zoom operation, the zoom roaming trigger condition includes a zoom trigger condition. When the touch point position change state of the second touch data and the first touch data matches the preset zoom trigger condition, the first writing is first cleared. Specifically, when the distance between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data gradually decreases or increases, and the change in the overall center point of the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset second distance threshold, the touch point position change state matches the zoom trigger condition. Then, based on the distance between the touch point positions in the first touch data and the second touch data, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or enlarge the size of the graphic elements displayed on the whiteboard canvas in the writing application interface.
[0134] Corresponding to the roaming operation, the scaling roaming trigger conditions include translation trigger conditions. When the touch point position change states of the second touch data and the first touch data match the preset translation trigger conditions, the first writing is first cleared. Specifically, when the distance change between the touch points corresponding to the second touch data and the first touch data is less than a preset third distance threshold, and the movement change of the touch points corresponding to the second touch data and the first touch data is less than a preset first angle threshold, the touch point position change state matches the translation trigger conditions. Then, based on the overall movement distance and overall movement direction of the touch point positions in the first and second touch data, the area of the whiteboard canvas displayed in the writing application interface is moved parallel to the surface. In this embodiment, the writing duration of the first writing before clearing is very short, at most a few hundred milliseconds, and adding and deleting it has virtually no impact on the user's visual experience.
[0135] The following description, in conjunction with the accompanying drawings, illustrates the combination and response of touch operations based on possible user actions in specific application scenarios.
[0136] like Figure 4As shown, the handwritten input of the two characters "人生" has been completed on the interactive flat panel 1, and on this basis, the instantaneous state of simultaneous operation of the left hand 22 and the right hand 21 is presented as shown in Figure 4 . The complete operations corresponding to both are moving operations. If in the state shown in Figure 4 , the trajectory judgment flag is "no", that is, only based on the interval between the start times corresponding to the left hand 11 and the right hand 21, and the position distance between the start position of the second moving operation (with a later start time) and the position at the same time of the first moving operation (with an earlier start time), it is possible to quickly confirm that the response is zoom roaming or multi-person writing. For example, if the right hand 21 performs the first moving operation and the left hand 22 performs the second moving operation, the start time of the first moving operation is 120 ms before (less than the first time threshold) the start time of the second moving operation, and the distance between the start position of the second moving operation and the position at the same time of the first moving operation is 200 px (less than the first distance threshold), then the first moving operation and the second moving operation as a whole are regarded as an interaction gesture and the response is the reduction in the zoom operation. On the basis of Figure 4 , the area of the whiteboard canvas displayed in the writing application interface is increased to reduce the size of the graphic elements displayed in the writing application interface of the whiteboard canvas, resulting in the effect shown in Figure 5 . Another example is that the start time of the first moving operation is more than 200 ms before (i.e., greater than the first time threshold) the start time of the second moving operation, and / or the distance between the start position of the second moving operation and the position at the same time of the first moving operation is more than 250 px (i.e., greater than the first distance threshold), then the first moving operation and the second moving operation are respectively writing operations, and each corresponds to adding a writing trace, resulting in the effect shown in Figure 6 .
[0137] If the trajectory judgment flag is "yes", then in the case where the time interval and the contact distance are respectively less than the first time threshold and less than the first distance threshold, please refer to Figure 7 , Figure 8 and Figure 9 . Based on the touch data recorded in the data table, further judgments on the second distance threshold, the third distance threshold, and the first angle threshold can be made to more accurately confirm whether the response is a zoom roaming operation.
[0138] As shown in Figure 7As shown, the down events of the three touch data points are located at positions A, B, and C, respectively. After moving a certain distance, their current positions are A1, B1, and C1, respectively. For A, B, and C, the average of the x-coordinates and y-coordinates of the three points is taken to obtain the overall center point O of A, B, and C. Similarly, the overall center point O1 of A1, B1, and C1 is obtained. The overall center point is a point representing the confirmation of multiple touch points in a polygon or circle, such as the center. Clearly, for each touch point, A1O1>AO, B1O1>BO, and C1O1>A0, meaning the distance between the touch point positions in the first and second touch data gradually increases; and the length of OO1 is relatively small, meaning the change in the overall center point of the touch point positions in the first and second touch data is less than the second distance threshold (e.g., 32px). At this point, it can be confirmed that... Figure 7 The interactive gestures from A, B, and C to A1, B1, and C1 constitute the zoom-in operation within the zoom-out process. A second distance threshold is used to constrain the zoom-out operation to remain relatively stable overall, adjusting the zoom-out or zoom-in through the inward or outward movement of multiple touched objects. Correspondingly, if in Figure 7 Based on this, if one of A1, B1, and C1 moves inward or outward by a greater distance, resulting in a larger distance for OO1, the response may be to add three segments of handwriting or to not respond at all. Figure 8 The diagram shown illustrates the zoom-out operation. Figure 7 The magnification operations shown are performed in opposite directions.
[0139] like Figure 9 As shown, the down events of the three touch data points are located at positions A, B, and C, respectively. After moving a certain distance, their current positions are A3, B3, and C3, respectively. For A, B, and C, the average of the x-coordinates and y-coordinates of the three points is taken to obtain the coordinates of the overall center point of A, B, and C. Similarly, the overall center point of A3, B3, and C3 is obtained. Obviously, for each touch point, with the overall center point as a reference, the distance between the touch point positions in the first and second touch data changes very little, remaining less than the third distance threshold (e.g., 32px); and the angle of movement of the touch point positions in the first and second touch data (e.g., the angle between the branches obtained by fitting the touch point before and after the touch point update, reflecting the smoothness of movement during roaming) is relatively stable, remaining within the preset first angle threshold (e.g., 15°). At this point, it can be confirmed that... Figure 9The interactive gestures from A, B, and C to A3, B3, and C3 are roaming operations. The corresponding response is to first clear the first writing stroke; then, based on the overall movement distance and direction of the touch point positions in the first and second touch data, to move the whiteboard canvas displayed in the writing application interface in parallel. It should be understood that at the underlying data processing level, there is no need to confirm the zooming, shrinking, or translation process; a response can be directly triggered when the corresponding conditions are met at the relevant time and coordinates.
[0140] It should be understood that the descriptions of thresholds in this application embodiment only describe the cases of being greater than or less than the threshold, excluding the cases that are not explicitly stated. These descriptions are merely illustrative of judging and responding using thresholds. The thresholds themselves can be set to be the same as the responses for being greater than or less than the threshold, depending on the specific application requirements. Alternatively, suitable thresholds can be defined based on data characteristics, ensuring that the actual distance will not be the same as the threshold in a specific application. For example, when setting the first distance threshold, if it is set to 32.5px, and the actual distance is represented by integer pixels, then the actual distance will necessarily be greater than or less than the first distance threshold.
[0141] It should be noted that if any two touch points meet the corresponding conditions, the operation can be confirmed; if any one condition is not met by any of the touch points, the current operation can be confirmed as a writing operation, and writing strokes can be added accordingly. The distance between different touch points can be directly obtained by solving triangles using a coordinate system.
[0142] Overall, when displaying the whiteboard canvas through the writing application interface, the system meticulously judges the start time and touch point position changes corresponding to multiple movement operations. This confirms that when multiple movement operations are involved, the actual operational needs they correspond to are multi-person writing or zooming / roaming. The system then adds writing strokes or adjusts the display area of the whiteboard canvas accordingly. This eliminates the need for users to manually enable or disable certain functions that might be achieved through multi-point movement operations to avoid interaction conflicts. It automatically and accurately enables multi-person writing or zooming / roaming based on any multi-point movement operations performed by the user. This eliminates the need to set the enabled state of functions when achieving different interaction goals through multi-point movement operations, improving the interactive experience and ensuring interaction efficiency.
[0143] Please refer to Figure 10 This is a flowchart of another writing interaction method provided in an embodiment of the present invention. Figure 10 As shown, the writing interaction method includes:
[0144] Step S210: Display the writing application interface, which is used to display a portion of the whiteboard canvas; the whiteboard canvas is used to hold the editing content of the writing application.
[0145] Step S220: Receive the first touch data generated by the movement operation, add the first writing strokes on the whiteboard canvas according to the first touch data, and receive the second touch data generated by the movement operation during the process of receiving the first touch data.
[0146] Step S230: If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position at the same moment in the first touch data is less than a preset first distance threshold, and the trajectory judgment flag is negative, the first writing marks are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change status in the first touch data and the second touch data. The trajectory judgment flag is used to indicate whether the touch point position change status is matched with the preset zoom and roam trigger conditions before clearing the first writing marks.
[0147] Step S240: If the time interval between the start time in the second touch data and the start time in the first touch data is greater than a preset first time threshold, and / or the distance between the start position in the second touch data and the position at the same moment in the first touch data is greater than a preset first distance threshold, add a second writing stroke to the whiteboard canvas according to the touch point position in the second touch data.
[0148] As described above, during the process of displaying the whiteboard canvas through the writing application interface, the time and position parameters in the received touch data are precisely judged to confirm that in the case of multiple movement operations, the actual operation requirements corresponding to these movement operations are multi-person writing or zooming and roaming. The writing handwriting is added or the display area of the whiteboard canvas is adjusted accordingly. During the use of the writing application, there is no need for the user to manually set to enable or disable the function that a certain multi-point movement operation may achieve to eliminate interaction conflicts. Multi-person writing or zooming and roaming can be automatically and accurately realized according to any multi-point movement operation of the user. The setting of the function enable state when achieving different interaction goals through multi-point movement operations is eliminated, improving the interaction experience and ensuring interaction efficiency.
[0149] Based on the above embodiments, the writing application interface is provided with a dynamic writing layer and a static display layer. The dynamic writing layer is located on top of the static display layer, and the whiteboard canvas is displayed on the static display layer.
[0150] Accordingly, the system receives first touch data generated by the movement operation, and adds first writing strokes to the whiteboard canvas based on the first touch data, including:
[0151] Receive the first touch data generated by the mobile operation, and add the first writing strokes to the dynamic writing layer according to the first touch data;
[0152] Based on the touch point position changes in the first and second touch data, update the area of the whiteboard canvas displayed in the writing application interface, including:
[0153] Based on the touch point position change status in the first touch data and the second touch data, update the area of the whiteboard canvas displayed in the static display layer;
[0154] A second writing style is added to the whiteboard canvas based on the touch point position in the second touch data, including:
[0155] A second writing style is added to the dynamic writing layer based on the touch point position in the second touch data.
[0156] As described above, by using a dynamic writing layer and a static display layer to independently respond to writing and other operations respectively, operation isolation is achieved, avoiding mutual interference between different types of handwriting operations, improving the accuracy of interaction, and also effectively reducing the data objects processed for each operation, saving computing resources and improving processing efficiency.
[0157] Based on the above embodiments, after receiving the second touch data generated by the movement operation during the process of receiving the first touch data, the method includes:
[0158] If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position at the same moment in the first touch data is less than a preset first distance threshold, and the trajectory judgment is marked as yes, the touch point position change state is matched with the preset zoom roaming trigger condition.
[0159] If the touch point position change state matches the zoom roaming trigger condition, clear the first writing strokes, and update the area of the whiteboard canvas displayed in the writing application interface according to the touch point position change state in the first touch data and the second touch data.
[0160] If the touch position change state does not match the zoom roaming trigger condition, add a second writing stroke to the whiteboard canvas according to the touch position in the second touch data.
[0161] The above-mentioned setting of trajectory judgment markers enables more accurate zoom and roaming operations to be confirmed through more specific condition judgments when it is impossible to accurately perform multi-person writing and zoom roaming based on start time and start interval.
[0162] Based on the above embodiments, when the touch point position change state matches the zoom roaming trigger condition, the first writing strokes are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including:
[0163] When the touch point position change state matches the preset scaling trigger condition, the first writing is cleared, the distance between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data gradually decreases or increases, and the change of the overall center point of the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset second distance threshold, the touch point position change state matches the scaling trigger condition.
[0164] Based on the distance between the touch point positions in the first touch data and the second touch data, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed on the whiteboard canvas in the writing application interface.
[0165] As described above, by matching and limiting the first touch data and the second touch data with the scaling trigger conditions, and the response when matching, convenient and accurate scaling of the whiteboard canvas is achieved.
[0166] Based on the above embodiments, when the touch point position change state matches the zoom roaming trigger condition, the first writing strokes are cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including:
[0167] When the touch point position change state matches the preset translation trigger condition, the first writing is cleared, the distance change between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset third distance threshold, and the movement change between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset first angle threshold, the touch point position change state matches the translation trigger condition.
[0168] Based on the overall movement distance and overall movement direction of the touch point positions in the first and second touch data, the whiteboard canvas is moved parallel to the area displayed in the writing application interface.
[0169] The above describes how convenient and precise roaming adjustments to the whiteboard canvas are achieved by matching and limiting the overall first and second touch data with the scaling and roaming trigger conditions, as well as the response during matching.
[0170] Based on the above embodiments, the writing interaction method further includes:
[0171] The first touch data and the second touch data are recorded through a data table. When a touch operation corresponding to any first touch data or second touch data begins, a data record with the corresponding operation identifier is created in the preset data table. When a touch operation corresponding to any first touch data or second touch data ends, the data record with the corresponding operation identifier is removed from the preset data table. The data record is used to record the start time and touch point position.
[0172] As mentioned above, recording touch data through a data table enables fast data reading and writing, as well as quick deletion of invalid data, reducing the data processing burden.
[0173] The specific implementation process of this application embodiment has been described in detail in the previous embodiment of the writing interaction method. For any descriptions not covered in this application embodiment, please refer to the specific description in the previous embodiment.
[0174] Figure 11 This is a schematic diagram of an interactive flat panel provided in an embodiment of this application. Figure 11 As shown, the interactive flat panel includes a processor 310 and a memory 320, and may also include an input device 330, an output device 340, and a communication device 350; the number of processors 310 in the interactive flat panel can be one or more. Figure 11 Taking a processor 310 as an example; the processor 310, memory 320, input device 330, output device 340, and communication device 350 in the interactive flat panel can be connected via a bus or other means. Figure 11 The bus connection is taken as an example.
[0175] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the writing interaction method in the embodiments of this application. The processor 310 executes various functional applications and data processing of the interactive flat panel by running the software programs, instructions, and modules stored in the memory 320, thereby realizing the aforementioned writing interaction method.
[0176] The memory 320 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on the use of the interactive flat panel. Furthermore, the memory 320 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 320 may further include memory remotely located relative to the processor 310, which can be connected to the interactive flat panel via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0177] Input device 330 can be used to receive input digital or character information, and to generate signal inputs related to user settings and function control of the interactive flat panel. Output device 340 may include display devices such as a display screen.
[0178] The aforementioned interactive whiteboard can be used to execute any writing interaction method, possessing corresponding functions and beneficial effects.
[0179] This application also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program performs relevant operations in the writing interaction method provided in any embodiment of this application and has corresponding functions and beneficial effects.
[0180] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.
[0181] Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce implementations of the flowchart... Figure 1 a process or multiple processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 a process or multiple processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0182] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0183] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0184] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0185] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A writing interaction method, characterized in that, include: The writing application interface is displayed, and the writing application interface displays a portion of the whiteboard canvas, which is used to carry the editing content of the writing application. The first movement operation is received in the writing application interface; In response to the first movement operation, a first handwriting is added to the writing application interface; If a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations. The time interval between the start time of the second movement operation and the start time of the first movement operation is less than a preset first time threshold, and the distance between the start position of the second movement operation and the position of the first movement operation at the same time is less than a preset first distance threshold. If a third movement operation is received during the first movement operation, in response to the third movement operation, a second handwriting is added to the writing application interface, wherein the time interval between the start time of the third movement operation and the start time of the first movement operation is greater than a preset first time threshold, and / or the distance between the start position of the third movement operation and the position of the first movement operation at the same time is greater than a preset first distance threshold.
2. The writing interaction method according to claim 1, characterized in that, The writing application interface is provided with a dynamic writing layer and a static display layer. The dynamic writing layer is located on the upper layer of the static display layer, and the whiteboard canvas is displayed on the static display layer. Accordingly, in response to the first movement operation, adding a first handwriting stroke to the writing application interface includes: In response to the first movement operation, the dynamic writing layer adds the first handwriting stroke to the dynamic writing layer. When a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the change in the touch point position of the first and second movement operations, including: If a second movement operation is received during the first movement operation, the first writing strokes of the dynamic writing layer are cleared, and the area of the whiteboard canvas displayed in the static display layer is updated in response to the first and second movement operations through the static display layer according to the touch point position change state of the first and second movement operations. When a third movement operation is received during the first movement operation, in response to the third movement operation, a second handwriting stroke is added to the writing application interface, including: If a third movement operation is received during the first movement operation, the third movement operation is responded to through the dynamic writing layer, and a second writing stroke is added to the dynamic writing layer. When the first or third movement operation ends, the corresponding writing stroke is added to the static display layer, and the corresponding writing stroke is cleared from the dynamic writing layer.
3. The writing interaction method according to claim 1, characterized in that, When a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including: If it is confirmed that the second movement operation received during the first movement operation constitutes a scaling movement operation with the first movement operation, the first writing is cleared; when the distance between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation gradually decreases or increases, and the change of the overall center point of the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset second distance threshold, the second movement operation and the first movement operation constitute a scaling movement operation. Based on the distance between the touch point of the first movement operation and the touch point of the second movement operation, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed by the whiteboard canvas in the writing application interface.
4. The writing interaction method according to claim 1, characterized in that, When a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including: If it is confirmed that the second movement operation received during the first movement operation constitutes a parallel movement operation with the first movement operation, the first writing is cleared; when the distance change between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset third distance threshold, and the movement change between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset first angle threshold, the second movement operation and the first movement operation constitute a parallel movement operation. Based on the overall movement distance and overall movement direction of the touch points of the first and second movement operations, the area of the whiteboard canvas displayed in the writing application interface is moved parallel to the touch points.
5. The writing interaction method according to claim 3 or 4, characterized in that, When a second movement operation is received during the first movement operation, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the contact point position relationship between the first and second movement operations, including: If it is confirmed that the second movement operation received during the first movement operation constitutes an independent writing operation with the first movement operation, the first writing handwriting is retained and updated in response to the first movement operation, and a third writing handwriting is added to the writing application interface in response to the second movement operation; when the distance change between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset second distance threshold, and / or the distance change between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is greater than a preset third distance threshold, and / or the movement change between the touch point corresponding to the second movement operation and the touch point corresponding to the first movement operation is less than a preset first angle threshold, the second movement operation and the first movement operation constitute an independent writing operation.
6. The writing interaction method according to any one of claims 1-4, characterized in that, The contact area of the first moving operation is less than a preset first area threshold. Accordingly, the writing interaction method further includes: A fourth movement operation is received in the writing application interface, wherein the contact area of the fourth movement operation is greater than a preset first area threshold. In response to the fourth movement operation, the writing is erased at the touch point on the whiteboard canvas corresponding to the fourth movement operation.
7. A writing interaction method, characterized in that, include: The writing application interface is used to display a portion of the whiteboard canvas. The whiteboard canvas is used to carry the editing content of the writing application; Receive first touch data generated by a movement operation, add first writing strokes to the whiteboard canvas according to the first touch data, and receive second touch data generated by the movement operation during the process of receiving the first touch data; If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position of the first touch data at the same time is less than a preset first distance threshold, and the trajectory judgment flag is negative, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change status in the first touch data and the second touch data. The trajectory judgment flag is used to indicate whether the touch point position change status is matched with the preset zoom and roam trigger conditions before clearing the first writing. If the time interval between the start time in the second touch data and the start time in the first touch data is greater than a preset first time threshold, and / or the distance between the start position in the second touch data and the position of the first touch data at the same time is greater than a preset first distance threshold, a second writing stroke is added to the writing application interface according to the touch point position in the second touch data.
8. The writing interaction method according to claim 7, characterized in that, The writing application interface is provided with a dynamic writing layer and a static display layer. The dynamic writing layer is located on the upper layer of the static display layer, and the whiteboard canvas is displayed on the static display layer. Accordingly, receiving the first touch data generated by the movement operation and adding the first writing stroke to the whiteboard canvas based on the first touch data includes: Receive first touch data generated by a mobile operation, and add first writing strokes to the dynamic writing layer according to the first touch data; The step of updating the area of the whiteboard canvas displayed in the writing application interface based on the touch point position change status in the first touch data and the second touch data includes: Based on the touch point position change status in the first touch data and the second touch data, update the area displayed by the whiteboard canvas in the static display layer; Adding a second writing stroke to the whiteboard canvas based on the touch point position in the second touch data includes: A second handwriting stroke is added to the dynamic writing layer based on the touch point position in the second touch data.
9. The writing interaction method according to claim 7, characterized in that, After receiving the second touch data generated by the movement operation during the process of receiving the first touch data, the process includes: If the time interval between the start time in the second touch data and the start time in the first touch data is less than a preset first time threshold, the distance between the start position in the second touch data and the position of the first touch data at the same time is less than a preset first distance threshold, and the trajectory judgment is marked as yes, then the touch point position change state is matched with the preset zoom roaming trigger condition. If the touch point position change state matches the zoom roaming trigger condition, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data. If the touch point position change state does not match the zoom roaming trigger condition, a second writing stroke is added to the whiteboard canvas according to the touch point position in the second touch data.
10. The writing interaction method according to claim 9, characterized in that, When the touch point position change state matches the zoom roaming trigger condition, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including: When the touch point position change state matches the preset scaling trigger condition, the first writing is cleared, the distance between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data gradually decreases or increases, and the change in the overall center point of the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset second distance threshold, the touch point position change state matches the scaling trigger condition. Based on the distance between the touch point positions in the first touch data and the second touch data, the area of the whiteboard canvas displayed in the writing application interface is increased or decreased to reduce or increase the size of the graphic elements displayed by the whiteboard canvas in the writing application interface.
11. The writing interaction method according to claim 9, characterized in that, When the touch point position change state matches the zoom roaming trigger condition, the first writing is cleared, and the area of the whiteboard canvas displayed in the writing application interface is updated according to the touch point position change state in the first touch data and the second touch data, including: When the touch point position change state matches the preset translation trigger condition, the first writing is cleared, the distance change between the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset third distance threshold, and the movement change of the touch point corresponding to the second touch data and the touch point corresponding to the first touch data is less than the preset first angle threshold, the touch point position change state matches the translation trigger condition. Based on the overall movement distance and overall movement direction of the touch point positions in the first and second touch data, the area of the whiteboard canvas displayed in the writing application interface is moved parallel to the touch point.
12. The writing interaction method according to claim 9, characterized in that, Also includes: The first touch data and the second touch data are recorded in a data table. When a touch operation corresponding to any first touch data or second touch data begins, a data record with the corresponding operation identifier is created in a preset data table. When a touch operation corresponding to any first touch data or second touch data ends, the data record with the corresponding operation identifier is removed from the preset data table. The data record is used to record the start time and touch point position.
13. An interactive flat panel, characterized in that, include: One or more processors; Memory, used to store one or more computer programs; When the one or more computer programs are executed by the one or more processors, the interactive flat panel implements the writing interaction method as described in any one of claims 1-9.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the writing interaction method as described in any one of claims 1-9.
Citation Information
Patent Citations
Page display method, device and equipment of intelligent interaction panel and storage medium
CN110928468A
Display device and multi-finger touch display method
CN117859110A