Information editing method and apparatus for interactive board, and device and storage medium
By setting up a writing panel for interactive functions on the whiteboard page of the interactive tablet, the complex operation problem of users when switching function modes is solved, achieving a smoother and more convenient writing experience.
Patent Information
- Application Number
- PCT/CN2023/115400
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2025-03-06
AI Technical Summary
When switching between the interactive tablet in the functional mode, users need to frequently switch operations, resulting in inconsistent writing experience, complex operation and inefficient efficiency.
Set up a writing panel on the whiteboard page. The writing panel and the whiteboard page have interactive functions and display at least one functional control. The panel input mode is consistent with the page input mode of the whiteboard page. Users can directly call advanced processing functions in the writing panel to generate and edit complex elements.
It simplifies the user's whiteboard input operation, improves the smoothness of whiteboard usage, reduces the number of mode switching, provides a more immersive and interference-free user experience, and improves the convenience of user operations.
Smart Images

Figure CN2023115400_06032025_PF_FP_ABST
Abstract
Description
Information editing method, device, equipment and storage medium for interactive tablet Technical Field
[0001] The present invention relates to the technical field of interactive tablets, and in particular to an information editing method, device, equipment and computer storage medium for interactive tablets. Background Art
[0002] With the development of intelligent technology, people are increasingly exposed to a variety of electronic products. Among them, interactive electronic products based on touch technology play a vital role in daily life. These products are constantly incorporating more functions, providing people with a more comprehensive human-computer interaction experience. Interactive tablets are a representative example of such all-in-one devices, suitable for various occasions such as conferences, teaching, and commercial presentations.
[0003] Interactive tablets are typically configured with multiple functional modes, such as recognition and output of user writing and drawing, and key markup. However, these different functional modes often require users to frequently switch between different functions, interrupting their writing and creating a fragmented and inconsistent functional experience.
[0004] Summary of the Invention
[0005] The main purpose of this specification is to provide an information editing method, device, equipment, and storage medium for an interactive tablet, aiming to simplify the user's whiteboard input operations and improve the fluency of whiteboard use. The technical solution is as follows:
[0006] In a first aspect, an embodiment of this specification provides an information editing method for an interactive tablet, comprising:
[0007] Receiving a writing panel call operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel call operation; the writing panel displays at least one functional control;
[0008] Get the page input mode of the whiteboard page and set the page input mode to the panel input mode of the writing panel; the page input mode includes writing mode and erasing mode;
[0009] When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0010] Receiving a triggering operation on a function control in the writing panel, and generating a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control;
[0011] On the whiteboard page, receiving an editing operation on a second display element;
[0012] According to the editing operation, the second display element is updated and displayed.
[0013] In a second aspect, an embodiment of this specification provides an information editing method for an interactive tablet, comprising:
[0014] Receiving a writing panel call operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel call operation; the writing panel is a display element with interactive functions on the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode;
[0015] When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0016] A triggering operation on a function control is received in the writing panel, and a second display element is generated in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control.
[0017] In a third aspect, an embodiment of this specification provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the above method when executed by the processor.
[0018] In a fourth aspect, an embodiment of this specification provides a computer storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0019] In an embodiment of the present specification, a writing panel call operation generated on a whiteboard page is received, a writing panel is generated on the whiteboard page according to the writing panel call operation, the page input mode of the whiteboard page is obtained, the page input mode is set to the panel input mode of the writing panel, when the page input mode is a writing mode, a first touch operation is received in the writing panel, a first display element corresponding to the first touch operation is displayed in the writing panel, a trigger operation on a function control is received in the writing panel, and a second display element is generated in the whiteboard page based on the first display element, the data structure of the second display element corresponds to the triggered function control, and in the whiteboard page, an editing operation on the second display element is received, and according to the editing operation, the display of the second display element is updated. By inserting a writing panel into the whiteboard page and allowing the two input areas to share input modes such as writing and erasing, the interaction method is unified, and there is no need to switch modes during function use, providing a more immersive and interference-free use experience; and by inserting the writing panel, the first display element in the writing panel can be accurately obtained, so that the required first display element can be processed according to the function control to generate a second display element, and the second display element is an editable element in the whiteboard page. The second display element can be edited in the whiteboard page to obtain an updated second display element, which solves the tedious problem of selecting the required display element for editing, allowing users to complete related tasks more efficiently and simply. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] FIG1 is a schematic diagram of an application environment of an information editing method for an interactive tablet provided by an embodiment of this specification;
[0022] FIG2 is a flow chart of an information editing method for an interactive tablet provided in an embodiment of this specification;
[0023] FIG3 is a schematic diagram of an application environment of an information editing method for an interactive tablet provided in an embodiment of this specification;
[0024] FIG4 is a schematic diagram of a writing panel for an information editing method for an interactive tablet provided in an embodiment of this specification;
[0025] FIG5 is a flow chart of an information editing method for an interactive tablet provided in an embodiment of this specification;
[0026] FIG6 is a schematic diagram of an application of an information editing method for an interactive tablet provided by an embodiment of this specification;
[0027] FIG7 is a flow chart of an information editing method for an interactive tablet provided in an embodiment of this specification;
[0028] FIG8 is a schematic diagram of an application of an information editing method for an interactive tablet provided by an embodiment of this specification;
[0029] FIG9 is a schematic diagram of an application of an information editing method for an interactive tablet provided by an embodiment of this specification;
[0030] FIG10 is a schematic diagram of the structure of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0031] FIG11 is a flow chart of an information editing method for an interactive tablet provided in an embodiment of this specification;
[0032] FIG12 is a schematic structural diagram of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0033] FIG13 is a schematic structural diagram of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0034] FIG14 is a schematic structural diagram of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0035] FIG15 is a schematic diagram of the structure of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0036] FIG16 is a schematic diagram of the structure of an information editing device for an interactive tablet provided in an embodiment of this specification;
[0037] FIG17 is a schematic structural diagram of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this specification.
[0039] Please refer to Figure 1, which is a schematic diagram of an application environment of an information editing method for an interactive tablet provided in an embodiment of this specification. The application environment of the information editing method for an interactive tablet in one embodiment of the present application includes an interactive tablet 1, which can be composed of two or more physical entities, or can be composed of one physical entity. From a hardware perspective, the hardware pointed to by the interactive tablet 1 is essentially a computer device with the equivalent capabilities of a personal computer, which has a hardware device with necessary components revealed by the von Neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device; wherein the computer program is stored in the memory, and the central processing unit calls the computer program stored in the memory to run, executes the instructions in the computer program, and interacts with the input and output devices to complete specific functions. Among them, the interactive tablet 1 is also provided with a touch screen, and a display area 2 is provided on the touch screen for providing display data.
[0040] For ease of understanding, the embodiments are described using an interactive tablet 1 as an example application environment. The interactive tablet 1 can be an all-in-one device that uses touch technology to control content displayed on the interactive tablet 1 and implement human-computer interaction. It can integrate one or more functions such as a projector, electronic whiteboard, screen, audio system, television, and video conferencing terminal.
[0041] Generally speaking, the interactive tablet 1 includes at least one touch screen. The touch screen can be a capacitive screen, a resistive screen, an infrared touch screen, or an electromagnetic screen. In one embodiment, a user can perform touch operations by touching the touch screen with a finger or a stylus. In response, the touch screen generates touch data corresponding to the touch operation. This touch data is used to represent the touch location. Specifically, the touch location can be calculated by the touch screen, or the touch screen can send the touch data to the interactive tablet 1, which then calculates the touch location based on the received touch data. After determining the touch location, the interactive tablet 1 determines a response based on the display content corresponding to the touch location and then responds to implement the touch function. For example, if the display content corresponding to the touch location is determined to be a control for a certain function, the response is to execute the function. It is understood that in actual applications, users can also perform control operations through a keyboard, mouse, physical buttons, etc. Typically, the interactive tablet is installed with at least one operating system, including but not limited to Android, Linux, and Windows. In one embodiment, the interactive tablet 1 can install at least one application based on the operating system. In the embodiment, a whiteboard application with a writing function (hereinafter referred to as the whiteboard application) is used for exemplary description. The whiteboard application can be an application that comes with the operating system, or it can be an application downloaded from a third-party device or server. Optionally, in addition to the writing function, the whiteboard application also has other editing functions, such as inserting tables, inserting pictures, inserting graphics, drawing tables, drawing graphics, etc. The drawn tables or graphics are computer-drawn standard elements. Computer-drawn standard elements can be understood as printed standard elements drawn by the interactive tablet 1, which are different from elements written by the user.
[0042] In this embodiment, the interactive tablet 1 is installed with at least a whiteboard application. The whiteboard application refers to an application for users to perform operations such as writing and displaying. Its application interface is called a whiteboard page in the embodiment of this application. The whiteboard application can be used to generate writing handwriting based on the writing trajectory of the user on the whiteboard page, and can also be used to insert graphics, pictures, tables and other multimedia elements on the whiteboard page. In the whiteboard page, the user can perform operations such as writing, drawing, erasing, etc. similar to a physical blackboard, and has better digital functions such as moving, saving, zooming, inserting pictures, color adjustment, and stroke thickness setting. In actual applications, the whiteboard application can also be named a writing application, an electronic whiteboard application, a collaborative whiteboard application, etc. No matter how the name is changed, as long as it is an application used to implement the above functions, it is equivalent to the whiteboard application of this application.
[0043] The touch screen configured on the interactive tablet 1 is provided with a writing area for displaying input content in response to a user's touch operation. When a touch operation is performed in the writing area, such as by touching the touch screen with a stylus or a finger, the touch screen can sense changes in current, voltage, infrared blocking signals, or magnetic flux (corresponding to the specific setting types of a capacitive touch screen, a resistive touch screen, an infrared touch screen, or an electromagnetic touch screen), and obtain a touch signal containing the coordinates of the touch position and the trigger time of the touch signal. Based on the coordinates of the touch position and the trigger time of the touch signal, the trajectory data of the writing trajectory input by the stylus or the user's finger each time from pressing down to lifting up to stopping writing can be obtained. Based on the trajectory data, the writing trajectory input by the user is displayed in real time in the writing area of the touch screen. Of course, the writing process is not limited to writing. Any touch operation process for displaying an operation trajectory implemented on the touch screen of the interactive tablet 1 can be regarded as a writing process. In addition, depending on the different display elements at the location where the touch operation occurs, the touch operation can be responded to as a user's click, drag, or other operation. Generally speaking, the area where touch writing occurs coincides with the area where the display is located (ie, display area 2 shown in FIG. 1 ). In this solution, the whiteboard page of the whiteboard application is defined as the interface displayed in display area 1 .
[0044] In the related art, a whiteboard page displays a variety of different tool controls, such as writing controls, erasing controls, selection controls, smart controls, and other controls. Different tool controls correspond to different input modes. Therefore, the whiteboard page has a variety of different page input modes, including writing mode, selection mode, erasing mode, and other smart input modes. Users can click on different tool controls on the whiteboard page and perform touch input operations to perform handwriting, erasing, graphics drawing, element editing, and other operations on the whiteboard page. Moreover, users can also edit the content they input on the whiteboard page in various functional modes, such as performing text recognition (OCR) on the input handwriting, or marking key points, performing smart drawing, and other operations. In related technologies, after a user finishes writing in writing mode on a whiteboard page, they need to click on another tool control to switch to another page input mode. For example, after clicking on a selection control to switch the whiteboard page to selection mode, they select the handwriting or related elements on the whiteboard page, and then click on the relevant function controls on the whiteboard page. Only then will high-level processing functions be displayed, such as OCR function, smart table function, AI drawing function, smart mind map, etc., and only after the user clicks on the high-level processing function will the complex elements corresponding to the clicked function be generated. After using the high-level processing function, if you need to continue writing operations on the whiteboard page, you need to return to click on the corresponding tool control on the toolbar to switch the page input mode of the whiteboard page. With the current mode of operation, it is difficult for users to find the entrance to the relevant high-level processing function without prompts. Even if users know where the entrance to the high-level processing function is, this mode requires users to frequently return to the toolbar position of the whiteboard page to operate during the operation process. When users need to input complex elements corresponding to high-level processing functions in the whiteboard (including smart tables, AI drawings, smart mind maps, etc.), they need to frequently return to the toolbar during the input process to switch the page input mode in order to achieve handwriting writing, element selection, and the call of high-level processing functions, the generation and display of complex elements. There are problems of complex operation, low operation efficiency, and poor user experience. In order to simplify the call problem of high-level processing functions, the function controls of high-level processing functions can be associated with the user's selection operation. For example, the user enters handwriting in the whiteboard page and switches the page operation mode to selection mode. After selecting handwriting, the operation controls of the high-level processing function are displayed next to the selected handwriting, so that the user can click on the high-level processing function to generate the corresponding complex elements. However, in this way, the entrance to the high-level processing function is also difficult to find, and the operation experience is not good.Moreover, this method often occurs when a user selects handwriting on a whiteboard page and invokes high-level processing functions to generate complex elements. When the user attempts to continue inputting handwriting on the whiteboard page, they find that the input is in selection mode or another mode, making the input invalid. The user needs to return to the toolbar and click the writing control again to re-enter writing mode before they can continue inputting handwriting on the whiteboard page. This is especially cumbersome for large-size interactive tablets, as the user needs to move back and forth and click, making the operation cumbersome. Therefore, how to simplify the operation of interactive tablets and improve the convenience of information editing is an urgent problem to be solved.
[0045] To address the above issues, this application proposes a new interactive method. A writing panel is set up on the whiteboard page to implement interactive functions on the whiteboard page. Specifically, the writing panel is designed with at least one function control corresponding to a high-level processing function. After the user enters handwriting in the writing panel, they can directly click the function control displayed on the writing panel to call the high-level processing function. Based on the data structure corresponding to the triggered function control, the corresponding complex element is generated. At the same time, the panel input mode of the writing panel is designed to be consistent with the page input mode of the whiteboard page. Therefore, during the editing process of the writing panel, the operation logic consistent with the whiteboard page is maintained, eliminating the need for the user to repeatedly switch input modes, ensuring the consistency of interaction and simplifying the operation process. For example, regardless of whether the whiteboard page is in writing mode, erasing mode, or other modes, when the user switches back and forth between the whiteboard page and the writing panel to perform operations, for example, after writing or erasing on the whiteboard page, they switch to the writing panel to write or erase. Since the input modes of the writing panel and the whiteboard page are consistent, the user can directly perform editing operations according to the original operation logic, which is simple and convenient. Therefore, the interactive method of the present application can quickly and intelligently generate and display complex elements corresponding to high-order processing functions on the whiteboard page. In addition, although the corresponding complex elements can be generated and displayed after the high-order processing function is called, when you are not satisfied with the displayed complex elements, if you delete the generated complex elements and repeat the corresponding complex element generation steps, there will be problems of cumbersome operation and low efficiency. In the interactive method proposed in the present application, since the data structure of the generated elements corresponds to the triggered function control, and the generated elements are editable on the whiteboard page, the complex elements displayed on the whiteboard page after the writing panel triggers the generation can be directly edited on the whiteboard page, which can simplify the whiteboard input operation and editing operation, and improve the convenience of user operation.
[0046] The information editing method for an interactive tablet provided in this specification is described in detail below with reference to specific embodiments.
[0047] Please refer to Figure 2, which is a flowchart of a method for editing information on an interactive tablet according to an embodiment of this specification. As shown in Figure 2, the method according to the embodiment of this specification may include the following steps S101-S106.
[0048] S101: Receive a writing panel call operation generated on a whiteboard page, and generate a writing panel on the whiteboard page based on the writing panel call operation; the writing panel displays at least one functional control, which is a display element on the whiteboard page that interacts with the whiteboard page and is used to receive input operations and display corresponding display elements based on the input operations, and generate intelligent display content corresponding to the display elements based on the triggered functional control. Here, the intelligent display content includes mind maps, intelligent tables, intelligent graphics, intelligent drawing results, SWOT analysis results, etc. Functional controls are tool controls displayed on the writing panel that trigger processing functions for elements such as handwriting on the writing panel, and specifically include AI drawing, AI-generated tables, mind maps, SWOT analysis, brainstorming, business canvases, etc.
[0049] In one embodiment, the whiteboard page specifically targeted refers to the interactive interface used by users to display drawings or edit content during the use of a whiteboard application. As previously mentioned, a whiteboard application refers to an application that allows users to write, display, and perform other operations. It can be used to draw text, graphics, text boxes, and tables on the whiteboard page, and can also be used to insert graphics, images, tables, and other multimedia elements onto the canvas. On the whiteboard page, users can perform operations similar to writing, drawing, and erasing on a physical blackboard, and further provide enhanced digital functions such as moving, saving, scaling, inserting images, adjusting colors, and setting stroke thickness. It should be noted that the whiteboard page contains several layers, such as a handwriting layer, a toolbar layer, and a widget layer. Each layer is independent and arranged in a layer order. For example, the widget layer is above the handwriting layer, so it can cover handwriting. Each layer can also be populated with controls. For example, the toolbar layer has multiple bottom toolbars, and the bottom toolbars have tools such as the AI assistant and minutes. When opened, widgets such as the AI assistant and minutes provide a corresponding writing panel.
[0050] When the whiteboard page receives a writing panel call operation, a writing panel is generated on the whiteboard page according to the writing panel call operation. Among them, the writing panel and the whiteboard page can have the same basic functions, that is, they can receive user writing, display and other operations. Please refer to Figure 3, Figure 3 is a schematic diagram of an application environment of an information editing method for an interactive tablet provided in an embodiment of this specification. During the use of the whiteboard application, the whiteboard page is usually displayed in full screen, that is, the whiteboard page will fill the display area 2 in Figure 1. The writing panel 3 can be a fixed or variable size area that is not displayed in full screen, for the user to enter the required content in the writing panel. Specifically, when the whiteboard page receives a writing panel call operation, a writing panel can be generated at any user-specified or preset position in the whiteboard page 2.
[0051] In one feasible embodiment, a writing panel invocation operation may be generated when a user triggers a writing panel opening control on a whiteboard page. That is, a writing panel opening control may be displayed on the whiteboard page, and when the user triggers the writing panel opening control through a preset touch operation, a writing panel invocation operation is generated. The preset touch operation may be a click, a long press, a drag, etc. For example, a trajectory characteristic of a drag operation may be pre-set, and when a single-finger or multi-finger movement trajectory with the preset trajectory characteristic is received, it may be confirmed as a preset touch operation.
[0052] In another feasible implementation, the writing panel calling operation may be triggered by voice, for example, in response to a user's voice command, identifying whether the voice command is a preset writing panel calling operation, and if so, generating a writing panel.
[0053] In one embodiment, after generating a writing panel, the page writing mode of the whiteboard page can be obtained, and the page input mode of the whiteboard page can be simultaneously set to the panel input mode of the writing panel. As previously described, the toolbar of the whiteboard page can provide various tool controls for editing the whiteboard page, such as an erase control, a write control, a selection control, a cut control, and other tool controls. When different tool controls are selected, the whiteboard page corresponds to different page input modes. Specifically, the whiteboard page provides at least the most basic writing control and an erase control. Corresponding to the writing control and erase control provided in the whiteboard page, the page input mode can include a writing mode and an erase mode. After generating a writing panel on the whiteboard page, the page input mode of the whiteboard page is obtained and set to the panel input mode of the writing panel. This allows the writing panel to share the same tool controls as the whiteboard page. In other words, the writing panel does not provide tool controls, but instead shares tool controls with the whiteboard page. This allows the user to freely input on both the whiteboard page and the writing panel without having to switch back and forth between the whiteboard page and the writing panel to select tool controls.
[0054] Among them, in the specific implementation process, the writing panel also has a corresponding independent handwriting layer. When the touch data falls into the writing panel area, it can respond on the handwriting layer corresponding to the writing panel, such as generating handwriting, erasing, etc. The handwriting layer is completely different from the handwriting layer in the whiteboard page. Only the writing and erasing modes are synchronized, that is, the writing panel and the whiteboard page process data through different threads.
[0055] S102, when the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0056] In one embodiment, elements input into the writing panel are received according to the panel input mode of the writing panel. Specifically, objects drawn in the upper writing panel or whiteboard page are recorded as elements (also called display elements), which can be text, graphics, text boxes, tables, handwriting, etc. drawn by the user, or graphics, pictures, etc. inserted by the user. After drawing the element, the user can select the element to edit it, such as adjusting the element position, element size, element color, etc. It should be noted that after drawing the element, each element is generally independent of each other, that is, when the user controls an element, other elements will not be controlled synchronously unless otherwise specified. After the writing panel is generated, the user can input elements into the writing panel by selecting different page input modes, for example, selecting the tool control to enter the writing mode, receiving the writing track obtained by the first touch operation in the writing mode, and obtaining the first display element based on the writing handwriting.
[0057] Optionally, the page input mode can also be an erasing mode. When the user selects the erasing tool, the second touch operation is received in the writing panel, and part or all of the content of the first display element is erased. Specifically, confirm that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, the panel input mode of the writing panel is synchronously switched to the erasing mode, the second touch operation is received in the writing panel, and according to the second touch operation, part or all of the content of the first display element is erased. In a feasible embodiment, the second touch operation is received in the writing panel, and the touch event applied by the user on the writing panel is obtained. The erasing area is generated by parsing according to the erasing parameters of the erasing tool and the coordinate position parameters of the touch event. If there is an input element (such as handwriting, text element, etc.) below the erasing area, the input element covered by the erasing area is cleared.
[0058] Optionally, when the page input mode is writing mode, a third touch operation is received on the whiteboard page, and a third display element corresponding to the second input operation is displayed on the whiteboard page. When the third display element overlaps with the writing panel, the overlapping content is generated below the writing panel. It can be understood that after the writing panel is generated, the writing panel is placed on top. When the user draws the third display element on the whiteboard page, the third display element will be displayed in the handwriting layer on the whiteboard page. If the input third display element overlaps with the writing panel, the overlapping content will be generated below the writing panel, thereby ensuring that the drawing operations in the writing panel and the drawing operations in the whiteboard page do not interfere with each other, and element drawing can be better performed.
[0059] S103, receiving a triggering operation on a function control in the writing panel, and generating a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control;
[0060] In one embodiment, after a user writes in a writing panel, they can select a function control provided by the writing panel. In response to the selection of the function control, the first display element is processed according to the function control to generate a second display element on the whiteboard page, and the second display element is editable on the whiteboard page. Specifically, in response to the selection of the function control in the writing panel, the front end of the interactive tablet renders a display element on the whiteboard page based on the data returned by the back end. The display element is generated based on the data structure required for the interactive tablet to parse. The data structure of the elements supported for parsing in the interactive tablet is a predefined storage format or display format, that is, the data structure is the data format for data storage or display corresponding to the display element on the whiteboard page of the interactive tablet. The second display element is an editable element on the whiteboard page generated based on the function corresponding to the input element and the function control, and its data structure corresponds to the function control.
[0061] Specifically, refer to Figure 4, which is a schematic diagram of a writing panel for an information editing method for an interactive tablet provided in an embodiment of this specification. The function control selection area in the writing panel can display one or more function controls, such as: AI drawing, AI generated table, mind map, SWOT analysis, brainstorming, business canvas, etc. It can be understood that the data structure of the generated display element needs to be consistent with the data structure required for parsing within the whiteboard page, and each function control corresponds to a different data structure. Therefore, it is necessary to use the data structure corresponding to the function control to generate the display element. Taking the function as a mind map as an example, the mind map has a unique root node, the root node contains multiple child nodes, and each child node can contain its own child nodes, forming a tree relationship. Then the returned display data cannot be simple discrete data, but needs to clearly describe the relationship between different node data structures. For example, the data structure of the root node contains a children field, which is an array of child nodes of the root node, and the child node also has its own children field. Taking a table as an example, the data structure of the table is the field content in each table. For example, for a 3×3 table, its data structure can be the field content corresponding to a 3×3 matrix element. For example, (1,1) is used to store the field content corresponding to the first row and first column.
[0062] It should be noted that the data structure corresponding to the functional control is used, and the second display element of the whiteboard page is generated based on the first display element. It can be generated by the processor of the interactive tablet, or the interactive tablet can send the data structure and the first display element to the server, and the server generates the corresponding display parameters and transmits them to the interactive tablet. The interactive tablet parses the display parameters to obtain the second display element.
[0063] S104, receiving an editing operation on a second display element on the whiteboard page;
[0064] In one embodiment, after the second display element is displayed on the whiteboard page, an editing operation on the second display element can be directly received on the whiteboard page. The second display element can be edited on the whiteboard page just like other elements directly input on the whiteboard page, such as adjusting the element position, element size, element color, etc. The editing operation can be a preset editing gesture received directly, or it can be an editing operation further obtained by selecting an editing tool on the whiteboard page. For example, to adjust the size of the second display element, the zoom ratio of the second display element can be adjusted through a zoom gesture, or a selection box corresponding to the second display element can be generated after selecting the editing tool, and the selection box can be dragged to change the size of the second display element.
[0065] S105: Update and display the second display element according to the editing operation.
[0066] In one embodiment, the second display element is updated in response to an editing operation. For example, the display position of the second display element is adjusted, the second display element is scaled, or the content of the second display element is modified. For example, when the second display element is a mind map, the nodes of the mind map or the displayed content of a specific node of the mind map can be modified. When the second display element is a table, the displayed content within the table or the table itself can be edited.
[0067] In an embodiment of the present specification, a writing panel is provided on a whiteboard page, the writing panel and the whiteboard page have an interactive function, and the writing panel displays at least one function control, thereby providing the user with a specific area for input through the writing panel. The content input by the user on the writing panel can be accurately obtained and processed through the function control, and a second display element is generated according to the data structure corresponding to the function control, which is simple and convenient to operate. In addition, the panel input mode of the writing panel is designed to be consistent with the page input mode of the whiteboard page, so that during the editing process of the writing panel, the operating logic consistent with the whiteboard page is maintained, and the user does not need to repeatedly switch operations, which can ensure the consistency of the interaction and simplify the operation process. In addition, since the data structure of the generated element corresponds to the triggered function control, and the generated element is editable in the whiteboard page, the second display element displayed in the whiteboard page after the writing panel is triggered can be directly edited in the whiteboard page, thereby simplifying the whiteboard input operation and editing operation, and improving the convenience of user operation.
[0068] Please refer to Figure 5, which is a flowchart of a method for editing information on an interactive tablet according to an embodiment of this specification. As shown in Figure 5, the method according to the embodiment of this specification may include the following steps S201-S212.
[0069] S201, in response to a first operation of opening a writing panel control on a whiteboard page, generating a writing panel calling operation;
[0070] In one embodiment, a writing panel opening control is displayed on a whiteboard page. When a first operation is received on the writing panel opening control, a writing panel invocation operation is generated. For example, the writing panel opening control may be displayed in a toolbar on the whiteboard page. In response to a touch signal on the writing panel opening control confirming the first operation, a writing panel invocation operation is generated.
[0071] S202, displaying the writing panel on the whiteboard page according to the set display style corresponding to the writing panel calling operation;
[0072] In one embodiment, in response to a writing panel invocation operation, the writing panel is displayed on the whiteboard page according to a pre-set display style. The set display style may include a default size, display content, and default display position of the writing panel. Optionally, the writing panel may be displayed on the whiteboard page based on the set display style. When a user triggers a drag event on a set area (e.g., a non-functional area) of the writing panel, the writing panel may move on the whiteboard page following the drag trajectory of the drag event.
[0073] Furthermore, in one embodiment, after the writing panel is displayed on the whiteboard page according to the set display style corresponding to the writing panel call operation, the method further includes: in response to the writing panel being in the open state, setting the writing panel open control to an unselectable state. The display state of the writing panel open control on the whiteboard page may include: normal state, click state, and gray state. When the first operation on the writing panel open control is not triggered, the display state of the writing panel open control is normal state; when the first operation is triggered, the display state of the writing panel open control is click state; when the writing panel is opened, the display state of the writing panel open control is gray state. At this time, the writing panel open control is in an unselectable state, that is, when a touch signal is detected on the writing panel open control again, it will not be confirmed as the first operation, which is equivalent to the writing panel open control not being clickable after the writing panel is opened until the writing panel is closed.
[0074] S203, in response to the writing panel being in the open state, monitoring a touch operation input event of the writing panel;
[0075] In one embodiment, the writing panel is pre-configured with default prompt text, such as: "Enter your ideas here", "What is a university meeting like", etc., which is used to prompt the user to enter content in the writing area of the writing panel, as well as instructions for entering content. When the writing panel is turned on, the writing panel is in an open state, the default prompt text is displayed in the writing panel, and the touch operation input events of the writing panel are monitored. Specifically, whiteboard touch events include touch start, touch move, and touch end. The touch operation input event of the writing panel is a detected touch start event. For example, when a touch press action is detected, it is confirmed as a touch start event.
[0076] S204, in response to a touch operation input event of the writing panel, clearing the pre-configured default prompt text in the writing panel;
[0077] In one embodiment, upon detecting a touch input event on the writing panel, the preconfigured default prompt text in the writing panel is cleared, and the default prompt text is no longer displayed during the time between the opening and closing of the writing panel. It is understood that, upon first opening the writing panel, displaying the default prompt text can assist the user in inputting. However, upon detecting an input event on the writing panel, it indicates that the user has learned how to input in the writing panel, and the default prompt text is no longer displayed. Thus, the writing area in the writing panel is cleared before the first display element entered by the user is displayed.
[0078] S205 , monitoring a page input mode switching signal of the whiteboard page; the page input mode switching signal is used to switch the panel input mode of the writing panel.
[0079] Specifically, after the writing panel is opened, the processor in the interactive tablet begins monitoring the whiteboard page for a page input mode switch signal. This page input mode switch signal is generated in response to a selection of a tool control on the whiteboard page. When the user selects a different tool control, the current page input mode changes, and a corresponding page input mode switch signal is generated.
[0080] S206, in response to the page input mode switching signal, acquiring the page input mode of the whiteboard page after switching, and setting the page input mode of the whiteboard page after switching to the panel input mode of the writing panel;
[0081] Specifically, in response to the page input mode switching signal, the current page input model of the whiteboard page is obtained, and the page input mode is set to the input mode of the writing panel. It can be understood that whenever the tool control on the whiteboard page is switched, a page input mode switching signal is generated, and the panel input mode of the writing panel is correspondingly switched synchronously.
[0082] In a feasible embodiment, by monitoring the page input mode switching signal of the whiteboard page, when the page input mode switching signal indicates that the page input mode of the whiteboard page is switched from writing mode to erasing mode, the panel input mode of the writing panel is synchronously switched to erasing mode to allow the user to clear the display elements.
[0083] S207, when the page input mode is the writing mode, receiving a first touch operation on the writing panel and generating writing handwriting;
[0084] Specifically, when the page input mode is writing mode, writing handwriting is generated based on the user's first touch operation on the writing panel. As mentioned above, whiteboard touch events include touch start, touch move, and touch end. The electronic whiteboard detects the touch start coordinates, touch move coordinates, and touch end coordinates of the whiteboard page coordinate system to obtain the touch trajectory corresponding to the touch operation (the first touch operation in writing mode), analyzes the touch trajectory and the brush parameters of the tool control, and generates writing handwriting on the writing drawing board. The brush parameters can include the brush color, brush handwriting point size, and brush shape set in the tool control.
[0085] S208, confirming a first display element of the writing panel based on the handwriting;
[0086] Specifically, after obtaining the handwriting, the handwriting can be confirmed as the first display element of the writing panel, or all the contents in the writing area of the writing panel can be confirmed, for example, text content and graphics, and all the contents in the writing area of the writing panel can be confirmed as the first display element.
[0087] Furthermore, in one embodiment, a text recognition switch control is displayed on the writing panel, and the method further includes:
[0088] S2071, when the text recognition switch control in the writing panel is turned on, recognize the handwriting to obtain a text element corresponding to the handwriting, and confirm the text element as the first display element of the writing panel;
[0089] Specifically, the writing panel may be configured with a text recognition function. When the text recognition switch control in the writing panel is turned on, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the text element is confirmed as the first display element of the writing panel. The text recognition function converts the handwriting input by the user into characters displayed by the terminal.
[0090] Optionally, the text recognition switch control can be a sliding switch. When the user is detected sliding the text recognition switch control on the writing panel, the sliding direction can be confirmed based on the starting position of the sliding track. By comparing the sliding direction with the preset switch sliding direction, the on and off status of the text recognition function can be confirmed.
[0091] S2072: When the text recognition switch control in the writing panel is in an off state, the handwriting is confirmed as the first display element of the writing panel.
[0092] Specifically, when the text recognition switch control in the writing panel is in an off state, the user's handwriting (written handwriting) is directly confirmed as the first display element of the writing panel.
[0093] S209, receiving a triggering operation on a function control in the writing panel, and confirming a function component identifier corresponding to the triggered function control;
[0094] In one embodiment, when a selection operation is received for a function control in a writing panel, a function component identifier corresponding to the selection operation is determined. The function component identifier is an identifier that distinguishes different types of function controls, and the data structure corresponding to the function component can be determined based on the function component identifier. A mapping relationship can be pre-set between the function component identifier and the data structure. Based on the function component identifier, the data structure corresponding to the current function component can be determined, and display parameters are generated based on the data structure and input elements in the writing panel.
[0095] S210, confirming a function algorithm corresponding to the function component based on the function component identifier, and generating display content corresponding to the first display element based on the function algorithm;
[0096] S211, confirming the data structure corresponding to the functional component identifier, and integrating the display content based on the data structure to generate display parameters;
[0097] Specifically, the interactive tablet's backend generates display content based on the first display element and the functional algorithm. Furthermore, based on the data structure required by the whiteboard page, the display content is integrated to generate display parameters. These display parameters are returned to the interactive tablet's frontend, which then parses the display parameters to obtain the second display element on the whiteboard page. Different functional controls can correspond to a function generation module, each equipped with its own functional algorithm. Based on the functional component identifier, the backend can identify the function generation module to be called. For example, an AI drawing function can generate an image based on user-entered descriptive text. The data structure must specify that the image be generated into a URL and returned as a link. This link is then transmitted to the interactive tablet's display module for parsing and downloading. An AI table generation component can generate a table based on user-entered text using an algorithm. The data structure must include the number of rows and columns in the generated table, as well as the content to be displayed in each cell. A brainstorming component generates "ideas" based on input elements. The data structure must specify that each "idea" be generated into a sticky note-like image element and returned. Specifically, for example, if the input element is "What is an efficient meeting like", the results will be generated as "Clear meeting purpose and agenda", "Fully prepare and convey materials in advance", "The meeting must reach a conclusion" and "Develop a specific action plan", etc. These "ideas" are written on sticky notes to generate sticky note image elements; to generate a SWOT analysis, a SWOT analysis can be automatically performed based on the input content, and a SWOT matrix can be constructed through the SWOT analysis algorithm. The data structure needs to specify the rows and columns of the matrix and must include four aspects: S (strengths), W (weaknesses), O (opportunities), and T (threats).
[0098] S212: Parse the display parameters to generate a second display element in the whiteboard page.
[0099] In one embodiment, if the display parameters can be parsed normally, the second display element parsed based on the display parameters will be displayed on the whiteboard page. Optionally, if the display parameters fail to parse, an error page can be displayed on the whiteboard page. Taking the generation of a mind map as an example, after the whiteboard writing mind map module successfully parses the display parameters, it uses the parsed parameters to construct a storage structure, such as MindMapSaveInfo, and then calculates the width, height and layout positioning of the root node based on the actual content of the root node to generate the mind map element. During the mind map generation period, the [Generate Mind Map] function of the writing panel should be disabled, but other functions can still be clicked. The user can generate multiple different elements at the same time, but during the entire whiteboard writing, only one element of the same type is allowed to be generated. The successfully generated mind map element has nothing to do with the content in the writing panel. Editing the mind map element will not affect the content in the writing panel. If the user clicks the [Generate Mind Map] function again, it will not affect the mind map that has been generated.
[0100] Please refer to Figure 6, which is an application diagram of an information editing method for an interactive tablet provided in an embodiment of this specification. As shown in Figure 6, the toolbar in the example description of this solution is displayed at the bottom of the whiteboard page. In actual layout, it can also be displayed on the left and / or right, or even a comprehensive display of the left, right and bottom. The writing panel can be named AI Assistant, and the "AI" mark in the toolbar is the writing panel opening control. When the AI Assistant is turned on, the default prompt text is displayed: such as "What is an efficient meeting like?" The right side of the AI Assistant provides a selection area for function controls, and you can choose the generation form to obtain display elements; the lower right corner of the AI Assistant provides a text recognition switch for users to choose whether to turn on the text recognition function.
[0101] In an embodiment of the present specification, a writing panel calling operation is generated in response to a first operation for opening a writing panel control on a whiteboard page, and a writing panel is displayed on the whiteboard page according to a set display style corresponding to the writing panel calling operation. In response to the writing panel being in an open state, a touch operation input event of the writing panel is monitored. In response to the touch operation input event of the writing panel, a preconfigured default prompt text in the writing panel is cleared, a page input mode switching signal of the whiteboard page is monitored, and in response to the page input mode switching signal, a page input mode after the whiteboard page is switched is obtained, and the switched page input mode is set to the panel input mode of the writing panel. In the writing panel of the information editing device for the interactive tablet, a touch operation input event of the information editing device for the interactive tablet is received. The operation is initiated to confirm the functional component identifier corresponding to the triggered functional control of the information editing device for the interactive tablet, confirm the functional algorithm corresponding to the functional component of the information editing device for the interactive tablet based on the functional component identifier of the information editing device for the interactive tablet, generate the display content corresponding to the first display element of the information editing device for the interactive tablet based on the functional algorithm of the information editing device for the interactive tablet, confirm the data structure corresponding to the functional component identifier of the information editing device for the interactive tablet, integrate the display content of the information editing device for the interactive tablet based on the data structure of the information editing device for the interactive tablet to generate display parameters, and parse the display parameters of the information editing device for the interactive tablet to generate a second display element in the whiteboard page of the information editing device for the interactive tablet. By monitoring the page input mode switching signal, the writing panel and the whiteboard page can share tools such as writing and erasing, unify the interaction method, and do not need to switch modes during the use of the function. In addition, the writing panel displays various generation functions of the whiteboard, which can ensure that the user is immersed in writing while using the generation function.
[0102] Please refer to Figure 7, which is a flowchart of a method for editing information on an interactive tablet according to an embodiment of this specification. As shown in Figure 7, the method according to the embodiment of this specification may include the following steps S301-S305.
[0103] S301, receiving a page adding operation on a whiteboard page, adding a writing page to the whiteboard page, and displaying a writing panel on the newly added writing page;
[0104] In one embodiment, a page adding operation is received, a new writing page is added to the whiteboard page, and the writing panel is displayed on the writing page. For example, the triggering of the add page control for a new page is detected, which confirms that the page adding operation has been received. The writing page is a writing window in the whiteboard page for writing content. The whiteboard page can have one or more writing pages. When there are multiple writing pages, different content can be displayed on different writing pages. Generally speaking, the newly added writing page is a newly created blank page for the user to perform a new writing process on the blank page.
[0105] S302, receiving a page switching operation on the whiteboard page, switching the writing page of the whiteboard page, and displaying a writing panel on the switched writing page;
[0106] In one embodiment, a whiteboard page may include one or more writing pages, and a user may switch between the multiple writing pages at any time, and a writing panel may be displayed on the switched writing page. Specifically, a page turning control may be provided on the whiteboard page, and a page switching operation may be triggered by clicking a "<>" (page turning) control.
[0107] It should be noted that after the writing panel is opened through the above step S401 or S402, the method of using the writing panel is as shown in the above embodiment of the specification, and will not be repeated here.
[0108] S303, receiving a selection operation on the whiteboard page, and selecting a first target display element according to the selection operation;
[0109] In one embodiment, a display element on a whiteboard page can be selected to identify a first target display element, which can then be moved to a writing panel. The first target display element can then be processed by selecting a function control in the writing panel to obtain a fourth display element. For example, in response to a long press operation on an element on the whiteboard page, it is determined whether a display element exists at the touch point of the long press operation. If so, the display element is identified as the first target display element.
[0110] S304, receiving a move operation on the first target display element, and moving the first target display element from the whiteboard page to the writing panel;
[0111] In one embodiment, after a first target display element is identified on the whiteboard page, the first target display element is selected. In this selected state, a user can trigger a move operation on the first target display element by performing a drag gesture, thereby moving the first target display element into the writing panel. For example, the first target display element can be dragged into the writing area of the writing panel, or the first target display element can be automatically dragged into the writing panel when the overlap area between the first target display element and the writing panel exceeds a preset threshold.
[0112] S305: Receive a triggering operation on a function control in the writing panel, and generate a fourth display element in the whiteboard page based on the first target display element.
[0113] In one embodiment, a fourth display element is generated based on the first target display element and the selected function control, and the fourth display element is displayed on the whiteboard page. Optionally, when the writing panel is displayed on the writing page, a display element on the writing page can be selected to move the display element on the writing page to the writing panel for element generation.
[0114] In the embodiments of the present specification, by providing new controls for writing pages and page turning controls for writing pages, in addition to being able to open the writing panel in the whiteboard page, the writing panel can also be opened in the writing page, thereby providing a more flexible way to use the writing panel; and elements in the whiteboard page can be selected and dragged to the writing panel, so that the functions provided by the writing panel can be used to quickly process the elements in the whiteboard page.
[0115] Please refer to Figure 8, which is a flowchart of a method for editing information on an interactive tablet according to an embodiment of this specification. As shown in Figure 8, the method according to the embodiment of this specification may include the following steps S401-S405.
[0116] S401, when the page input mode is the writing mode, receiving a third touch operation on the whiteboard page, and generating writing handwriting corresponding to the third touch operation;
[0117] In one embodiment, the writing panel opening control can be triggered by circling an element on the whiteboard. Specifically, when a stylus or finger touches the touchscreen in writing mode, the touchscreen of the interactive tablet generates a touch signal, which is recognized as a third touch operation on the whiteboard page and generates the writing handwriting corresponding to the third touch operation.
[0118] S402: If the pressing time at the end position of the third touch operation is greater than the first delay time, confirm whether the handwriting is a preset circle shape;
[0119] In one embodiment, after handwriting is generated based on the third touch operation, it is determined whether the pressing time at the end position of the third touch operation is greater than the first delay time. If so, it is determined whether the handwriting is a preset circle shape. The third touch operation can be used to determine the user's hand-lifting position, i.e., the end position of the third touch operation. By determining the pressing time at this position, it is determined whether the user has stayed at the end position for more than the first delay time. If so, it is determined that the current handwriting may be a quick circle selection action triggered by the user, and further confirmed whether the handwriting is a preset circle shape. If not, it is determined to be normal handwriting, and the current process ends.
[0120] Specifically, a preset number of handwriting points before the end position of the third touch operation can be obtained to determine whether the preset number of handwriting points are at the same position as the end position to determine whether the user stays at the end position for more than the first delay time.
[0121] The preset circle shape can be closed or open. For example, the circle shape can be (the number 0, the letter O, a circle, etc.). Specifically, a pre-trained optical character recognition (OCR) model can be used to recognize handwriting and confirm whether the handwriting is a preset circle shape. In one feasible embodiment, point data of notes with various circle shapes are collected as a data set, and a machine learning method is used to train the model. For example, point data of handwriting with various circle shapes is collected and input into a neural network model for training to obtain a trained circle recognition model.
[0122] Furthermore, in one embodiment, the method includes:
[0123] S4021, based on the first delay time and the sampling frequency of the handwriting points, obtaining a preset number of handwriting point positions before the end position of the third touch operation;
[0124] Specifically, the first delay time is a preset dwell time, for example, it can be set to 2s. The generation of handwriting is the process of converting a series of ordered coordinate sampling points into a continuous stroke line curve, and the handwriting point sampling frequency of the handwriting is the frequency at which the touch screen collects touch signals. The preset number of handwriting points to be acquired can be determined based on the first delay time and the handwriting point sampling frequency. Taking the sampling frequency of every 16ms as an example, if the first delay time is 2s, the number of landing points (handwriting points) that stay for 2s is approximately 120, so the preset number of handwriting points can be confirmed as 100. Therefore, with the end position of the third touch operation as the end point, the preset number of handwriting point positions are acquired in reverse order.
[0125] S4022: When the change between the positions of the handwriting points is less than a preset threshold, confirm that the pressing time of the third touch operation end position is greater than the first delay time, and then confirm whether the written handwriting is a preset circle shape.
[0126] Specifically, confirm the change between the positions of each handwriting point, that is, determine whether the distance between the positions of each handwriting point is small enough. If the change is less than the preset threshold, it can be confirmed that the user has stayed at the end position for more than the first delay time, and confirm that the handwriting input by the current user has additional tendency behavior.
[0127] Furthermore, in one embodiment, the method includes:
[0128] S40221, confirming a first area based on the handwriting width;
[0129] Specifically, the handwriting width, that is, the handwriting thickness, is determined when the tool control is selected. According to the handwriting width of the written handwriting, the area occupied by the handwriting point when it stops can be determined. For example, (handwriting width 2 The area obtained by )*2 is confirmed as the first area.
[0130] S40222, determining the minimum circumscribed rectangle of each handwriting point position as the second area;
[0131] Specifically, the minimum circumscribed rectangle is determined based on the positions of each handwriting point to obtain the second area. It is understandable that the second area can also be a minimum circumscribed triangle, circle or other graphics of the handwriting.
[0132] S40223, if the second area is smaller than the first area, confirming that the change between the positions of the handwriting points is smaller than a preset threshold;
[0133] Specifically, if the second area is smaller than the first area, it is confirmed that the change between the positions of the handwriting points is smaller than the preset threshold, and it is confirmed that the pressing time of the third touch operation end position is greater than the first delay time.
[0134] S403, if yes, obtaining the circled area corresponding to the circled shape;
[0135] Specifically, if the handwriting is a circled shape, the circled area corresponding to the circled shape is obtained. It can be understood that the circled area can be an area surrounded by the circled shape, or an area generated based on the circled shape, for example, an area larger than the circled shape.
[0136] S404, if there is an element located in the circled area, determine the element located in the circled area as the target element;
[0137] Specifically, if there is an element located in the circled area, the element in the circled area is confirmed as the target element. The position coordinates of the touch point relative to the touch screen can be obtained, and the position coordinates of the second area relative to the touch screen can be obtained. Then, by comparing the position coordinates of the touch point and the position coordinates of the circled area, it can be determined whether the touch point is located in the circled area. The element that falls completely within the circled area can be selected as the target element. It can be understood that being confirmed as a target element means that the target element is in a selected state. After being confirmed as a target element, the display state of the target element can be changed. For example, the target element is set to a preset bright color, a preset stroke, a preset dotted line, or an animation and other display states to prompt the user.
[0138] Optionally, there may be one element or more than one element completely located in the circled area, and all elements completely located in the first area may be selected.
[0139] S405: Display the writing panel opening control corresponding to the target element.
[0140] Specifically, after the target element is identified, a writing panel opening control is displayed near the target element. In response to a second operation on the writing panel opening control, a writing panel call operation is generated. Based on the writing panel call operation, a writing panel is generated on the whiteboard page, and the target element is displayed in the writing panel. The selected target element can then be directly processed using the function controls in the writing panel to generate the display element for the whiteboard page. This allows users to directly draw handwriting to determine the range of the selected element and select the element in the writing state. There is no need to manually switch the current state using a toggle button, nor to monitor the status of the toggle button. This maintains the continuity of the user's use of the whiteboard application and improves the user experience.
[0141] Optionally, when the target element enters the selected state, a selection box and a selection control toolbar appear. The selected element can be moved, scaled, color adjusted, or stroke thickness adjusted using the selection control controls on the selection control toolbar.
[0142] Please refer to Figure 9, which is an application diagram of an information editing method for an interactive tablet provided in an embodiment of this specification. In Figure 9, when it is recognized that the user stays in a circle for more than a first delay time, the element in the circle (house design plan) is selected as the target element, and a selection box and a selection control toolbar are generated. A writing panel opening control can be provided in the selection control toolbar.
[0143] Please continue to refer to Figure 10, which is a flow chart of an information editing method for an interactive tablet provided in an embodiment of this specification. Although the "A" in the circled area does not fall completely within the circled area, "A" is a complete element, so the element can be selected as the target element, and a selection box and a selection control toolbar can be generated.
[0144] In an embodiment of the present specification, in writing mode, in response to a third touch operation on a whiteboard page, a writing handwriting corresponding to the third touch operation is generated. If the pressing time at the end position of the third touch operation is greater than the first delay time, it is confirmed whether the writing handwriting is a preset circle shape. If so, the circle area corresponding to the circle shape is obtained. If there is an element located in the circle area, the element located in the circle area is determined as the target element, and the writing panel opening control corresponding to the target element is displayed. A fast and efficient circle selection interaction method is provided for the user on the whiteboard page, and the required content can be quickly selected in the writing state to proceed to the next operation without switching the selection tool. If the user wants to select the handwriting for further processing through the function control after writing, the writing panel opening control can be displayed. This solution can minimize the interference with the user's original operation process, does not add additional operations, and provides the user with an efficient circle selection operation experience.
[0145] Please refer to Figure 11, which is a flowchart of a method for editing information on an interactive tablet according to an embodiment of this specification. As shown in Figure 11, the method according to the embodiment of this specification may include the following steps S501-S503.
[0146] S501, receiving a writing panel call operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel call operation; the writing panel is a display element with interactive functions on the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode;
[0147] S502, when the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0148] S503: receiving a triggering operation on a function control in the writing panel, and generating a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control.
[0149] Specifically, the specific implementation of steps S501-S503 can refer to the description of steps S101-S103 in the above embodiment, and will not be repeated here.
[0150] In an embodiment of the present specification, a writing panel that can realize interactive functions in the whiteboard page is set up in the whiteboard page. The user can open the writing panel through the writing panel call operation, so that the user can input the display elements that need to call high-level processing in an independent area. By directly clicking the function control displayed on the writing panel, the high-level processing function is called, and the corresponding complex elements are generated based on the data structure corresponding to the triggered function control. At the same time, the panel input mode of the writing panel is designed to be consistent with the page input mode of the whiteboard page. Therefore, during the editing process of the writing panel, the operation logic consistent with the whiteboard page is maintained, and the user does not need to repeatedly switch the input mode operation, which can ensure the consistency of the interaction and simplify the operation process. Through this interactive method, complex elements corresponding to the high-level processing function can be quickly and intelligently generated and displayed on the whiteboard page.
[0151] The following, in conjunction with Figures 12-16, provides a detailed description of the information editing device for an interactive tablet provided in accordance with the embodiments of this specification. It should be noted that the information editing device for an interactive tablet in Figures 12-16 is used to execute the method of the embodiments illustrated in Figures 2-11 of this specification. For ease of illustration, only the portions relevant to the embodiments of this specification are shown. For specific technical details not disclosed, please refer to the embodiments illustrated in Figures 2-11 of this specification.
[0152] Please refer to Figure 12, which shows a schematic diagram of the structure of an information editing device for an interactive tablet, provided as an exemplary embodiment of this specification. This information editing device for an interactive tablet can be implemented as all or part of a device through software, hardware, or a combination of both. The device 1 includes a drawing board opening module 11, an element acquisition module 12, an element generation module 13, an element editing module 14, and an element update module 15.
[0153] The drawing board opening module 11 is used to receive a writing panel call operation generated on the whiteboard page and generate a writing panel on the whiteboard page according to the writing panel call operation; the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode;
[0154] The element acquisition module 12 is configured to receive a first touch operation in the writing panel when the page input mode is the writing mode, and display a first display element corresponding to the first touch operation in the writing panel;
[0155] An element generation module 13 is configured to receive a triggering operation on a function control in the writing panel and generate a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control;
[0156] The element editing module 14 is used to receive an editing operation on a second display element in the whiteboard page;
[0157] The element updating module 15 is configured to update and display the second display element according to the editing operation.
[0158] Alternatively, please refer to FIG13 , which is a schematic diagram of the structure of an information editing device for an interactive tablet provided as an exemplary embodiment of this specification. As shown in FIG13 , the information editing device for an interactive tablet further includes a mode synchronization module 16 for confirming that the page input mode of the whiteboard page has been switched from the writing mode to the erasing mode, and synchronously switching the panel input mode of the writing panel to the erasing mode;
[0159] The element erasing module 17 is configured to receive a second touch operation on the writing panel and erase part or all of the content of the first display element according to the second touch operation.
[0160] Optionally, the mode synchronization module 16 is specifically used to monitor the page input mode switching signal of the whiteboard page; the page input mode switching signal is used to switch the panel input mode of the writing panel;
[0161] When the page input mode switching signal indicates that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, the panel input mode of the writing panel is synchronously switched to the erasing mode.
[0162] Optionally, the element acquisition module 13 is further configured to receive a triggering operation on a function control in the writing panel, and confirm a function component identifier corresponding to the triggered function control;
[0163] confirming a function algorithm corresponding to the function component based on the function component identifier, and generating display content corresponding to the first display element based on the function algorithm;
[0164] Confirming the data structure corresponding to the functional component identifier, and integrating the display content based on the data structure to generate display parameters;
[0165] The display parameter is parsed to generate a second display element in the whiteboard page.
[0166] Optionally, the sketchpad opening module 11 is further configured to receive a selection operation on the whiteboard page, and select a first target display element according to the selection operation;
[0167] receiving a move operation on a first target display element, and moving the first target display element from the whiteboard page to the writing panel;
[0168] A triggering operation on a function control is received in the writing panel, and a fourth display element is generated in the whiteboard page based on the first target display element.
[0169] Optionally, the element acquisition module 12 is also used to receive a third touch operation in the whiteboard page when the page input mode is a writing mode, display a third display element corresponding to the second input operation in the whiteboard page, and when the third display element overlaps with the writing panel, generate the overlapping content below the writing panel.
[0170] Optionally, the element generation module 13 is further configured to, if the first display element contains handwriting, identify the handwriting to obtain a text element corresponding to the handwriting, and replace the handwriting in the first display element with the text element.
[0171] Optionally, the sketchpad opening module 11 is further configured to receive a page adding operation on the whiteboard page, add a writing page to the whiteboard page, and display a writing panel on the newly added writing page.
[0172] Optionally, the sketchpad opening module 11 is further configured to receive a page switching operation on the whiteboard page, switch the whiteboard page to a writing page, and display a writing panel on the switched writing page.
[0173] Optionally, the sketchpad opening module 11 is specifically configured to generate a writing panel calling operation in response to a first operation on a writing panel opening control on a whiteboard page;
[0174] The writing panel is displayed on the whiteboard page according to the set display style corresponding to the writing panel calling operation.
[0175] Optionally, the sketchpad opening module 11 is further configured to set the writing panel opening control to an unselectable state in response to the writing panel being in the opening state.
[0176] Optionally, referring to FIG14 , which shows a schematic structural diagram of an information editing device for an interactive tablet provided by an exemplary embodiment of the present specification, the device 1 further includes a quick circle selection module 18 for receiving a third touch operation on the whiteboard page when the page input mode is the writing mode, and generating handwriting corresponding to the third touch operation;
[0177] If the pressing time at the end position of the third touch operation is greater than the first delay time, confirming whether the handwriting is a preset circle shape;
[0178] If so, get the circled area corresponding to the circled shape;
[0179] If there is an element located in the circled area, the element located in the circled area is determined as the second target display element;
[0180] Display the writing panel opening control corresponding to the second target element;
[0181] Optionally, the drawing board opening module 11 is specifically used to generate a writing panel call operation in response to a second operation of the writing panel opening control corresponding to the second target display element, generate a writing panel on the whiteboard page according to the writing panel call operation, and display the second target display element in the writing panel.
[0182] Optionally, the fast circle selection module 18 is specifically configured to obtain a preset number of handwriting point positions before the end position of the third touch operation based on the first delay time and the handwriting point sampling frequency of the writing handwriting;
[0183] When the change between the positions of the handwriting points is less than a preset threshold, it is confirmed that the pressing time of the third touch operation end position is greater than the first delay time, and then it is confirmed whether the written handwriting is a preset circle shape.
[0184] Optionally, the quick circle selection module 18 is specifically configured to confirm the first area based on the handwriting width of the handwriting;
[0185] Determine the minimum circumscribed rectangle of each handwriting point position as the second area;
[0186] If the second area is smaller than the first area, it is determined that the variation between the positions of the handwriting points is smaller than a preset threshold.
[0187] Optionally, referring to FIG15 , which shows a schematic structural diagram of an information editing device for an interactive tablet provided by an exemplary embodiment of this specification, the device 1 further includes an input event monitoring module 19 for monitoring touch operation input events of the writing panel in response to the writing panel being in an open state;
[0188] In response to a touch operation input event of the writing panel, a preconfigured default prompt text in the writing panel is cleared.
[0189] Optionally, the element acquisition module 12 is specifically configured to receive a first touch operation in the writing panel and generate writing handwriting when the page input mode is the writing mode;
[0190] A first display element of the writing panel is confirmed based on the written handwriting.
[0191] Optionally, the element acquisition module 12 is specifically configured to, when the text recognition switch control in the writing panel is turned on, recognize the handwriting to obtain a text element corresponding to the handwriting, and confirm the text element as the first display element of the writing panel;
[0192] When the text recognition switch control in the writing panel is in an off state, the handwriting is confirmed as the first display element of the writing panel.
[0193] Please refer to Figure 16, which shows a schematic diagram of the structure of an information editing device for an interactive tablet, provided as an exemplary embodiment of this specification. This information editing device for an interactive tablet can be implemented as all or part of a device using software, hardware, or a combination of both. The device 2 includes a drawing board opening module 21, an element acquisition module 22, and an element generation module 23.
[0194] The drawing board opening module 21 is configured to receive a writing panel call operation generated on the whiteboard page and generate a writing panel on the whiteboard page according to the writing panel call operation; the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, which includes a writing mode and an erasing mode;
[0195] The element acquisition module 22 is configured to receive a first touch operation in the writing panel when the page input mode is the writing mode, and display a first display element corresponding to the first touch operation in the writing panel;
[0196] The element generation module 23 is configured to receive a triggering operation on a function control in the writing panel, and generate a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control.
[0197] It should be noted that the information editing device for an interactive tablet provided in the above embodiment, when executing the information editing method for an interactive tablet, only uses the division of the above-mentioned functional modules as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the information editing device for an interactive tablet provided in the above embodiment and the information editing method for an interactive tablet are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0198] The serial numbers of the embodiments in this specification are for descriptive purposes only and do not represent the merits of the embodiments. In some cases, the actions or steps recited in the claims may be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0199] The embodiments of this specification also provide a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the information editing method for an interactive tablet as shown in the embodiments of Figures 1 to 11 above is implemented. The specific execution process can be found in the specific description of the embodiments shown in Figures 1 to 11, and will not be repeated here.
[0200] Please refer to Figure 17, which shows a schematic diagram of the structure of an electronic device provided in accordance with an exemplary embodiment of this specification. The electronic device described herein may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.
[0201] The processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and circuits to connect various components within the electronic device. It executes instructions, programs, code sets, or instruction sets stored in the memory 120, as well as accesses data stored in the memory 120, to perform various functions and process data for the terminal 100. Optionally, the processor 110 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interfaces, and applications; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 110 and may be implemented separately via a communication chip.
[0202] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an iOS system developed by Apple, including a system deeply developed based on the iOS system or other systems.
[0203] The memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve better operating results, the operating system allocates corresponding system resources to different third-party applications. However, the requirements for system resources in different application scenarios in the same third-party application are also different. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and the third-party application are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.
[0204] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0205] The input device 130 is used to receive input commands or data and includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch-sensitive device. The output device 140 is used to output commands or data and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 may be a touch-sensitive display.
[0206] The touch display screen can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of this specification.
[0207] In addition, those skilled in the art will understand that the structures of the electronic devices shown in the above figures do not limit the electronic devices. The electronic devices may include more or fewer components than shown, or may combine certain components or arrange the components differently. For example, the electronic devices may also include radio frequency circuits, input units, sensors, audio circuits, WiFi modules, power supplies, Bluetooth modules, and other components, which will not be described in detail here.
[0208] In the electronic device shown in FIG17 , the processor 110 may be configured to call a computer application stored in the memory 120 and specifically perform the following operations:
[0209] Receiving a writing panel call operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel call operation; the writing panel is a display element with interactive functions on the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode;
[0210] When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0211] Receiving a triggering operation on a function control in the writing panel, and generating a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control;
[0212] On the whiteboard page, receiving an editing operation on a second display element;
[0213] According to the editing operation, the second display element is updated and displayed.
[0214] In one embodiment, the processor 110 further performs the following operations:
[0215] Confirm that the page input mode of the whiteboard page is switched from writing mode to erasing mode, and simultaneously switch the panel input mode of the writing panel to erasing mode;
[0216] A second touch operation is received in the writing panel, and part or all of the content of the first display element is erased according to the second touch operation.
[0217] In one embodiment, when confirming that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode and synchronously switching the panel input mode of the writing panel to the erasing mode, the processor 110 specifically performs the following operations:
[0218] Monitor the page input mode switching signal of the whiteboard page; the page input mode switching signal is used to switch the panel input mode of the writing panel;
[0219] When the page input mode switching signal indicates that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, the panel input mode of the writing panel is synchronously switched to the erasing mode.
[0220] In one embodiment, the processor 110 further performs the following operations:
[0221] When the page input mode is writing mode, a third touch operation is received in the whiteboard page, and a third display element corresponding to the second input operation is displayed in the whiteboard page. When the third display element overlaps with the writing panel, the overlapping content is generated below the writing panel.
[0222] In one embodiment, the processor 110 further performs the following operations:
[0223] When the page input mode is the erasing mode, a second touch operation is received in the writing panel to erase part or all of the content of the first display element.
[0224] In one embodiment, when the processor 110 receives a triggering operation on a function control in the writing panel and displays a second display element in the whiteboard page based on the first display element, the processor 110 specifically performs the following operations:
[0225] Receiving a triggering operation on a function control in the writing panel, and confirming a function component identifier corresponding to the triggered function control;
[0226] confirming a function algorithm corresponding to the function component based on the function component identifier, and generating display content corresponding to the first display element based on the function algorithm;
[0227] Confirming the data structure corresponding to the functional component identifier, and integrating the display content based on the data structure to generate display parameters;
[0228] The display parameter is parsed to generate a second display element in the whiteboard page.
[0229] In one embodiment, the processor 110 further performs the following operations:
[0230] If the first display element contains handwriting, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the handwriting in the first display element is replaced with the text element.
[0231] In one embodiment, the processor 110 further performs the following operations:
[0232] receiving a selection operation on the whiteboard page, and selecting a first target display element according to the selection operation;
[0233] receiving a move operation on a first target display element, and moving the first target display element from the whiteboard page to the writing panel;
[0234] A triggering operation on a function control is received in the writing panel, and a fourth display element is generated in the whiteboard page based on the first target display element.
[0235] In one embodiment, the processor 110 further performs the following operations:
[0236] Receive a page adding operation on the whiteboard page, add a writing page to the whiteboard page, and display a writing panel on the newly added writing page.
[0237] In one embodiment, the processor 110 further performs the following operations:
[0238] A page switching operation is received on the whiteboard page, the writing page of the whiteboard page is switched, and a writing panel is displayed on the switched writing page.
[0239] In one embodiment, when the processor 110 receives a writing panel call operation generated on a whiteboard page and generates a writing panel on the whiteboard page according to the writing panel call operation, the processor 110 specifically performs the following operations:
[0240] In response to a first operation of opening a writing panel control on the whiteboard page, generating a writing panel calling operation;
[0241] The writing panel is displayed on the whiteboard page according to the set display style corresponding to the writing panel calling operation.
[0242] In one embodiment, after displaying the writing panel on the whiteboard page according to the set display style corresponding to the writing panel invoking operation, the processor 110 further performs the following operations:
[0243] In response to the writing panel being in the open state, setting the writing panel open control to an unselectable state.
[0244] In one embodiment, before receiving the writing panel call operation generated on the whiteboard page and generating the writing panel on the whiteboard page according to the writing panel call operation, the processor 110 further performs the following operations:
[0245] When the page input mode is the writing mode, receiving a third touch operation on the whiteboard page, and generating writing handwriting corresponding to the third touch operation;
[0246] If the pressing time at the end position of the third touch operation is greater than the first delay time, confirming whether the handwriting is a preset circle shape;
[0247] If so, get the circled area corresponding to the circled shape;
[0248] If there is an element located in the circled area, the element located in the circled area is determined as the second target display element;
[0249] A writing panel opening control corresponding to the second target display element is displayed.
[0250] In one embodiment, when the processor 110 receives a writing panel call operation generated on a whiteboard page and generates a writing panel on the whiteboard page according to the writing panel call operation, the processor 110 specifically performs the following operations:
[0251] In response to a second operation on a writing panel opening control corresponding to the second target display element, a writing panel calling operation is generated, a writing panel is generated on the whiteboard page according to the writing panel calling operation, and the second target display element is displayed in the writing panel.
[0252] In one embodiment, when the processor 110 determines whether the handwriting is a preset circle shape if the pressing time at the end position of the third touch operation is greater than the first delay time, the processor 110 specifically performs the following operations:
[0253] Based on the first delay time and the sampling frequency of the handwriting points, obtaining a preset number of handwriting point positions before the end position of the third touch operation;
[0254] When the change between the positions of the handwriting points is less than a preset threshold, it is confirmed that the pressing time of the third touch operation end position is greater than the first delay time, and then it is confirmed whether the written handwriting is a preset circle shape.
[0255] In one embodiment, when the processor 110 determines whether the change between the positions of the handwriting points is less than a preset threshold and the pressing time at the end position of the third touch operation is greater than the first delay time, and then determines whether the handwriting is a preset circle shape, the processor 110 specifically performs the following operations:
[0256] determining a first area based on a handwriting width of the written handwriting;
[0257] Determine the minimum circumscribed rectangle of each handwriting point position as the second area;
[0258] If the second area is smaller than the first area, it is determined that the variation between the positions of the handwriting points is smaller than a preset threshold.
[0259] In one embodiment, the processor 110 further performs the following operations:
[0260] In response to the writing panel being in an open state, monitoring a touch operation input event of the writing panel;
[0261] In response to a touch operation input event of the writing panel, a preconfigured default prompt text in the writing panel is cleared.
[0262] In one embodiment, when the processor 110 executes the data structure corresponding to the confirmation functional component identifier and generates the display parameter based on the data structure and the first display element, the processor 110 specifically performs the following operations:
[0263] If the first display element contains handwriting, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the handwriting in the first display element is replaced with the text element.
[0264] In one embodiment, when the page input mode is the writing mode, the processor 110 receives a first touch operation in the writing panel, and displays a first display element corresponding to the first touch operation in the writing panel, specifically performs the following operations:
[0265] When the page input mode is the writing mode, receiving a first touch operation on the writing panel to generate writing handwriting;
[0266] A first display element of the writing panel is confirmed based on the written handwriting.
[0267] In one embodiment, when the processor 110 confirms the first display element of the writing panel based on the handwriting, the processor 110 specifically performs the following operations:
[0268] When the text recognition switch control in the writing panel is turned on, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the text element is confirmed as the first display element of the writing panel;
[0269] When the text recognition switch control in the writing panel is in an off state, the handwriting is confirmed as the first display element of the writing panel.
[0270] In one embodiment, the processor 110 may be configured to call a computer application stored in the memory 120 and specifically perform the following operations:
[0271] Receiving a writing panel call operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel call operation; the writing panel is a display element with interactive functions on the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode;
[0272] When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel;
[0273] A triggering operation on a function control is received in the writing panel, and a second display element is generated in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control.
[0274] In an embodiment of the present specification, a writing panel is provided on a whiteboard page, the writing panel and the whiteboard page have an interactive function, and the writing panel displays at least one function control, thereby providing the user with a specific area for input through the writing panel. The content input by the user on the writing panel can be accurately obtained and processed through the function control, and a second display element is generated according to the data structure corresponding to the function control, which is simple and convenient to operate. In addition, the panel input mode of the writing panel is designed to be consistent with the page input mode of the whiteboard page, so that during the editing process of the writing panel, the operating logic consistent with the whiteboard page is maintained, and the user does not need to repeatedly switch operations, which can ensure the consistency of the interaction and simplify the operation process. In addition, since the data structure of the generated element corresponds to the triggered function control, and the generated element is editable in the whiteboard page, the second display element displayed in the whiteboard page after the writing panel is triggered can be directly edited in the whiteboard page, thereby simplifying the whiteboard input operation and editing operation, and improving the convenience of user operation.
[0275] By responding to a first operation for opening a control of a writing panel on a whiteboard page, generating a writing panel calling operation, displaying the writing panel on the whiteboard page according to a set display style corresponding to the writing panel calling operation, in response to the writing panel being in an open state, monitoring a touch operation input event of the writing panel, in response to the touch operation input event of the writing panel, clearing a preconfigured default prompt text in the writing panel, monitoring a page input mode switching signal of the whiteboard page, in response to the page input mode switching signal, obtaining a page input mode after the whiteboard page is switched, setting the switched page input mode to the panel input mode of the writing panel, receiving a triggering operation on a function control of an information editing device for an interactive tablet in the writing panel of the information editing device for an interactive tablet, confirming Identify the function component identifier corresponding to the triggered function control of the information editing device for the interactive tablet, confirm the function algorithm corresponding to the function component of the information editing device for the interactive tablet based on the function component identifier of the information editing device for the interactive tablet, generate the display content corresponding to the first display element of the information editing device for the interactive tablet based on the function algorithm of the information editing device for the interactive tablet, confirm the data structure corresponding to the function component identifier of the information editing device for the interactive tablet, integrate the display content of the information editing device for the interactive tablet based on the information editing device data structure for the interactive tablet to generate display parameters, and parse the display parameters of the information editing device for the interactive tablet to generate a second display element in the whiteboard page of the information editing device for the interactive tablet. By monitoring the page input mode switching signal, the writing panel and the whiteboard page can share tools such as writing and erasing, unify the interaction method, and do not need to switch modes during the use of the function. The writing panel displays various generation functions of the whiteboard, which can ensure that the user is immersed in writing while using the generation function.
[0276] In writing mode, in response to the third touch operation on the whiteboard page, the writing handwriting corresponding to the third touch operation is generated. If the pressing time of the end position of the third touch operation is greater than the first delay time, it is confirmed whether the writing handwriting is a preset circle shape. If so, the circle area corresponding to the circle shape is obtained. If there is an element located in the circle area, the element located in the circle area is determined as the second target display element, and the writing panel opening control corresponding to the second target display element is displayed. Provide users with a quick and efficient circle selection interaction method on the whiteboard page, and quickly select the required content in the writing state to proceed to the next operation without switching the selection tool. If the user wants to select the handwriting for further processing through the function control after writing, the writing panel opening control can be displayed. This solution can minimize the interference with the user's original operation process, does not add additional operations, and provides users with an efficient circle selection operation experience.
[0277] In addition, an embodiment of this specification provides a computer program product, which includes a computer program. When the computer program is executed by a processor of an electronic device, the processor can at least implement the information editing method for an interactive tablet provided in the embodiments shown in Figures 1 to 11 above.
[0278] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0279] The above disclosure is only a preferred embodiment of this specification, and certainly cannot be used to limit the scope of rights of this specification. Therefore, equivalent changes made according to the claims of this specification are still within the scope covered by this specification.
Claims
1. A method for editing information on an interactive tablet, characterized in that: include: receiving a writing panel calling operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel calling operation; The writing panel is a display element with interactive functions in the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode; When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel; receiving a triggering operation on the function control in the writing panel, and generating a second display element in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control; In the whiteboard page, receiving an editing operation on the second display element; According to the editing operation, the second display element is updated and displayed.
2. The method according to claim 1, characterized in that The method further comprises: Confirming that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, and synchronously switching the panel input mode of the writing panel to the erasing mode; A second touch operation is received in the writing panel, and according to the second touch operation, part or all of the content of the first display element is erased.
3. The method according to claim 2, characterized in that Confirm that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, and simultaneously switch the panel input mode of the writing panel to the erasing mode, including: Monitor the page input mode switching signal of the whiteboard page; the page input mode switching signal is used to switch the panel input mode of the writing panel; When the page input mode switching signal indicates that the page input mode of the whiteboard page is switched from the writing mode to the erasing mode, the panel input mode of the writing panel is synchronously switched to the erasing mode.
4. The method according to claim 1, characterized in that The receiving a triggering operation on the function control in the writing panel, and displaying a second display element in the whiteboard page based on the first display element, comprises: receiving, in the writing panel, a triggering operation on the function control, and confirming a function component identifier corresponding to the triggered function control; confirming a function algorithm corresponding to the function component based on the function component identifier, and generating display content corresponding to the first display element based on the function algorithm; confirming a data structure corresponding to the functional component identifier, and integrating the display content based on the data structure to generate display parameters; The display parameter is parsed to generate a second display element in the whiteboard page.
5. The method according to claim 1, characterized in that The method further comprises: receiving a selection operation on the whiteboard page, and selecting a first target display element according to the selection operation; receiving a move operation on the first target display element, and moving the first target display element from the whiteboard page to the writing panel; A triggering operation on the function control is received in the writing panel, and a fourth display element is generated in the whiteboard page based on the first target display element.
6. The method according to claim 1, characterized in that The method further comprises: When the page input mode is the writing mode, a third touch operation is received in the whiteboard page, a third display element corresponding to the second input operation is displayed in the whiteboard page, and when the third display element overlaps with the writing panel, the overlapping content is generated below the writing panel.
7. The method according to claim 1, characterized in that The method further comprises: If the first display element contains handwriting, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the handwriting in the first display element is replaced with the text element.
8. The method according to claim 1, characterized in that The method further comprises: A page adding operation is received on the whiteboard page, a new writing page is added to the whiteboard page, and the writing panel is displayed on the new writing page.
9. The method according to claim 1, characterized in that The whiteboard page includes a plurality of writing pages, and the method further includes: A page switching operation is received on the whiteboard page, a writing page of the whiteboard page is switched, and the writing panel is displayed on the switched writing page.
10. The method according to claim 1, characterized in that The receiving a writing panel calling operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel calling operation, comprises: In response to a first operation of opening a writing panel control on the whiteboard page, generating a writing panel calling operation; The writing panel is displayed on the whiteboard page according to the set display style corresponding to the writing panel calling operation, and the writing panel opening control is set to a non-selectable state.
11. The method according to claim 1, characterized in that The receiving of a writing panel calling operation generated on a whiteboard page and before generating a writing panel on the whiteboard page according to the writing panel calling operation further comprises: When the page input mode is the writing mode, receiving a third touch operation on the whiteboard page, and generating writing handwriting corresponding to the third touch operation; If the pressing time of the third touch operation end position is greater than the first delay time, confirming whether the writing handwriting is a preset circle shape; If yes, obtaining the circled area corresponding to the circled shape; If there is an element located in the circled area, determining the element located in the circled area as a second target display element; Displaying a writing panel opening control corresponding to the second target display element; The receiving a writing panel calling operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel calling operation, comprises: In response to a second operation on a writing panel opening control corresponding to the second target display element, a writing panel calling operation is generated, a writing panel is generated on the whiteboard page according to the writing panel calling operation, and the second target display element is displayed in the writing panel.
12. The method according to claim 11, characterized in that If the pressing time of the third touch operation end position is greater than the first delay time, confirming whether the handwriting is a preset circle shape includes: Based on the first delay time and the sampling frequency of the handwriting points of the writing handwriting, a preset number of handwriting point positions before the end position of the third touch operation are acquired; When the change between the positions of the handwriting points is less than a preset threshold, the pressing of the third touch operation end position is confirmed. If the time is greater than the first delay time, it is confirmed whether the written handwriting is a preset circled shape.
13. The method according to claim 12, characterized in that When the change amount between the positions of the handwriting points is less than a preset threshold, confirming that the pressing time of the third touch operation end position is greater than the first delay time, then confirming whether the handwriting is a preset circle shape, further comprising: Determining a first area based on the handwriting width of the written handwriting; Determine the minimum circumscribed rectangle of each of the handwriting point positions as the second area; If the second area is smaller than the first area, it is confirmed that the variation between the positions of the handwriting points is smaller than a preset threshold.
14. The method according to claim 1, wherein: The writing panel is configured with a default prompt text, and the method further comprises: In response to the writing panel being in an open state, monitoring a touch operation input event of the writing panel; In response to a touch operation input event of the writing panel, a preconfigured default prompt text in the writing panel is cleared.
15. The method according to claim 1, wherein: When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel, comprises: When the page input mode is a writing mode, receiving a first touch operation in the writing panel to generate writing traces; A first display element of the writing panel is confirmed based on the written handwriting.
16. The method according to claim 15, characterized in that The confirming the first display element of the writing panel based on the handwriting includes: When the text recognition switch control in the writing panel is turned on, the handwriting is recognized to obtain a text element corresponding to the handwriting, and the text element is confirmed as a first display element of the writing panel; When the text recognition switch control in the writing panel is in a closed state, the writing handwriting is confirmed as the first display element of the writing panel.
17. A method for editing information on an interactive tablet, characterized in that: include: receiving a writing panel calling operation generated on a whiteboard page, and generating a writing panel on the whiteboard page according to the writing panel calling operation; The writing panel is a display element with interactive functions in the whiteboard page, and the writing panel displays at least one functional control; the panel input mode of the writing panel is consistent with the page input mode of the whiteboard page, and the page input mode includes a writing mode and an erasing mode; When the page input mode is the writing mode, receiving a first touch operation in the writing panel, and displaying a first display element corresponding to the first touch operation in the writing panel; A triggering operation on the function control is received in the writing panel, and a second display element is generated in the whiteboard page based on the first display element, wherein the data structure of the second display element corresponds to the triggered function control.
18. An electronic device, characterized in that: include: Processor and memory; The memory stores a computer program, wherein the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 17.
19. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.
Citation Information
Patent Citations
Page interaction method and device of intelligent interaction tablet, equipment and storage medium
CN110928475A
Page editing method and device for intelligent interactive tablet computer, terminal equipment and storage medium
CN111580714A
Display method of whiteboard elements, and method and device for creating writing page
CN115048029A
Electronic device and method for processing handwriting
US20160062634A1