Electronic whiteboard and writing acceleration method, system and storage medium thereof

By turning off the native display refresh permission of the Android system in the electronic whiteboard and calling the acceleration library to refresh the display content, the problem of slow refreshing speed during the writing and drawing of the electronic whiteboard is solved, and faster and more timely refreshing is achieved, improving the user experience.

CN114546173BActive Publication Date: 2025-03-11GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210187226.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2025-03-11
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

During the writing and drawing process, existing electronic whiteboards have slow refreshing speed due to a large number of graphic operations, resulting in stuttering in the writing screen and affecting the user experience.

Method used

By providing a writing acceleration method, you can close the native display refresh permission of the Android system after obtaining the acceleration startup command, call the acceleration library to refresh the display content, and directly operate the graphics card memory to bypass the graphics drawing mechanism of the native Android program.

Benefits of technology

It reduces the graphics drawing operation of the Android system, makes the refresh speed controllable, and the refresh is more timely, improving the smoothness of the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114546173B_ABST
    Figure CN114546173B_ABST
Patent Text Reader

Abstract

The present application discloses an electronic whiteboard and a writing acceleration method thereof, which relates to electronic whiteboard technology. The method comprises the following steps: obtaining an acceleration startup instruction; according to the startup instruction, closing the native display refresh permission of the Android system; obtaining a writing instruction; according to the writing instruction, calling an acceleration library to refresh the display content; wherein the acceleration library is used to provide an interface for the application to directly operate the graphics card memory. By implementing the embodiments of the present application, the speed of refreshing the writing content can be increased, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to electronic whiteboard technology, and in particular to an electronic whiteboard and a writing acceleration method, system and storage medium thereof. Background Art

[0002] Due to its excellent product positioning, the electronic whiteboard system is widely used in teaching and conference fields. Users can write on the electronic whiteboard with a special pen.

[0003] Currently, writing and drawing on electronic whiteboards mainly use Android's native rendering process. Since a large number of graphics operations will be generated during the drawing process, the writing screen will be stuck, which will affect the user experience. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides an electronic whiteboard and a writing acceleration method, system and storage medium thereof to increase the refresh speed and improve the user experience.

[0005] On the one hand, an embodiment of the present application provides a writing acceleration method for an electronic whiteboard, comprising the following steps:

[0006] Get the acceleration start instruction;

[0007] According to the startup instruction, turn off the native display refresh permission of the Android system;

[0008] Get writing instructions;

[0009] According to the writing instruction, calling the acceleration library to refresh the displayed content;

[0010] The acceleration library is used to provide an interface for the application program to directly operate the graphics card memory.

[0011] In some embodiments, calling the acceleration library to refresh the displayed content according to the writing instruction includes:

[0012] Determine the target area to be refreshed according to the written instruction;

[0013] The local refresh interface in the acceleration library is called to refresh the target area according to the writing instruction.

[0014] In some embodiments, determining the target area to be refreshed according to the writing instruction includes:

[0015] determining a writing trajectory according to the writing instruction;

[0016] According to the minimum rectangular area corresponding to the writing track, the minimum rectangular area is used as the target area to be refreshed.

[0017] In some embodiments, the acceleration library is called through a JNI interface, and the acceleration library is packaged in the form of a so dynamic link library.

[0018] In some embodiments, before the step of obtaining the acceleration start indicator, the method further includes:

[0019] Call the acceleration library;

[0020] Obtain display screen parameters, and configure the acceleration library according to the display screen parameters.

[0021] In some embodiments, the method further comprises the following steps:

[0022] A stop acceleration instruction is obtained, and the native display refresh permission of the Android system is released according to the stop acceleration instruction.

[0023] In some embodiments, the method further comprises the following steps:

[0024] Call the acceleration library through the JNI interface to refresh the full-screen content.

[0025] On the other hand, an embodiment of the present application provides a writing acceleration system for an electronic whiteboard, comprising:

[0026] Memory, used to store programs;

[0027] The processor is used to call the program to execute the writing acceleration method of the electronic whiteboard.

[0028] On the other hand, an embodiment of the present application provides an electronic whiteboard, including:

[0029] A touch display screen for receiving written instructions and displaying content;

[0030] Memory, used to store programs;

[0031] The processor is used to call the program to execute the writing acceleration method of the electronic whiteboard.

[0032] On the other hand, an embodiment of the present application provides a computer-readable storage medium storing a program, which, when executed, implements the electronic whiteboard writing acceleration method.

[0033] The embodiment of the present application sets up an interface acceleration library for providing applications with direct operation of graphics card memory. According to the startup instruction, the native display refresh permission of the Android system is closed, and then the writing instruction is obtained. According to the writing instruction, the acceleration library is called to refresh the display content. In this way, the application can directly draw the relevant pattern and directly operate the graphics card memory through the acceleration library to bypass the mechanism drawn by the Android native program, thereby reducing the graphics drawing operation of the Android system, making the refresh speed controllable, the refresh more timely, and the user experience smoother. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 It is a flow chart of a writing acceleration method of an electronic whiteboard provided in an embodiment of the present application;

[0036] Figure 2 It is a module block diagram of a writing acceleration system of an electronic whiteboard provided in an embodiment of the present application;

[0037] Figure 3 This is a module block diagram of an electronic whiteboard provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described through the implementation method with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0039] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0040] In the description of the present invention, unless otherwise clearly defined, words such as "setting" should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.

[0041] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0042] Reference Figure 1 , this embodiment provides a writing acceleration method for an electronic whiteboard.

[0043] Before implementing this method, first call the acceleration library in the application. The JNI interface is the module entry provided by the acceleration library for Java-side calls. The acceleration library mainly includes three functions: acceleration library resource initialization and recycling, global and local screen refresh, and touch event acceleration. Before starting acceleration, the resolution corresponding to the screen needs to be passed to the acceleration library to complete the logic initialization. After that, turn on the acceleration library, the acceleration library will freeze the screen content, and the system will no longer have the right to refresh the screen. The refresh of the screen content is controlled by the acceleration library. The system can only resume screen refresh after stopping acceleration. The acceleration library needs to operate the video memory space, and the system permission needs to be granted to the whiteboard APP. Add android:sharedUserId="android.uid.system" description in the AndroidManifest.xml of the APP project.

[0044] Table 1 describes the functions that can be called by the acceleration library:

[0045]

[0046] Through the above interface functions, applications can call various functions of the above acceleration library.

[0047] The acceleration library is packaged in the system firmware in the form of a so dynamic link library. The Java side code needs to call it before using it. The acceleration library manages the refresh area of ​​the total screen. The area and coordinates passed to it need to be converted into the coordinate system corresponding to the full screen. If the initialization width and height of the acceleration library are inconsistent with the resolution, it will cause screen distortion or coordinate offset during writing.

[0048] Therefore, during initialization, it is necessary to call the acceleration library, obtain display screen parameters, and configure the acceleration library according to the display screen parameters.

[0049] The method comprises the following steps:

[0050] S1. Obtaining an acceleration start instruction. In this embodiment, the acceleration start function in Table 1 may be called to start acceleration.

[0051] S2. According to the startup instruction, turn off the native display refresh permission of the Android system. After starting the acceleration, turn off the native display refresh permission of the Android system. At this time, the work of refreshing is handed over to the application. Therefore, there is no need to draw the image through the native program of the Android system. To a certain extent, the time of refreshing the writing track can be controlled, so a smoother user experience can be achieved.

[0052] S3, obtaining writing instructions, that is, obtaining the content input by the user through the touch screen, which usually refers to the writing track.

[0053] S4. According to the writing instruction, the acceleration library is called to refresh the displayed content. After the user writes, the content can be refreshed according to the user's writing. The refresh can be performed at a certain time interval, such as 10 times, 20 times, or 30 times per second. In this way, since the application directly operates the video memory, the refresh speed is fast and controllable. The acceleration library does not care about the content of the writing, it is only responsible for refreshing. The user needs to complete the rendering action of the written content by himself. Canvas in Android provides a rich drawing interface. Users can convert touch events into written content according to their own product definitions. After writing, the content to be refreshed is converted into a Bitmap bitmap and handed over to the acceleration library for processing. The acceleration library will refresh it to the screen according to the area.

[0054] As can be seen from the above description, local refresh or global refresh can be achieved through the acceleration library, depending on the refresh requirements of the application.

[0055] This embodiment sets up an interface acceleration library for providing applications with direct operation of graphics card memory. According to the startup instruction, the native display refresh permission of the Android system is closed, and then the writing instruction is obtained. According to the writing instruction, the acceleration library is called to refresh the display content. In this way, the application can directly draw the relevant pattern and directly operate the graphics card memory through the acceleration library to bypass the mechanism drawn by the Android native program, thereby reducing the graphics drawing operation of the Android system, making the refresh speed controllable, the refresh more timely, and the user experience smoother.

[0056] In some embodiments, calling the acceleration library to refresh the displayed content according to the writing instruction includes:

[0057] According to the writing instruction, a target area to be refreshed is determined; specifically, a writing track can be determined according to the writing instruction; and according to a minimum rectangular area corresponding to the writing track, the minimum rectangular area is used as the target area to be refreshed.

[0058] The local refresh interface in the acceleration library is called to refresh the target area according to the writing instruction.

[0059] It can be seen from the above embodiments that the embodiments of the present application perform local refresh when the application does not need a global refresh, which can reduce the refresh content, increase the efficiency of the refresh response, and enable users to obtain better perception.

[0060] In some embodiments, it can be seen from the function content of Table 1 that the method further includes the following steps:

[0061] Call the acceleration library through the JNI interface to refresh the full-screen content.

[0062] A stop acceleration instruction is obtained, and the native display refresh permission of the Android system is released according to the stop acceleration instruction.

[0063] These steps are optional and can be used to implement the above functions.

[0064] Reference Figure 2 This embodiment provides a writing acceleration system for an electronic whiteboard, including:

[0065] Memory, used to store programs;

[0066] The processor is used to call the program to execute the writing acceleration method of the electronic whiteboard.

[0067] Reference Figure 3 , this embodiment provides an electronic whiteboard, including:

[0068] A touch display screen for receiving written instructions and displaying content;

[0069] Memory, used to store programs;

[0070] The processor is used to call the program to execute the writing acceleration method of the electronic whiteboard.

[0071] This embodiment provides a computer-readable storage medium storing a program, and when the program is executed, the electronic whiteboard writing acceleration method is implemented.

[0072] If the integrated unit described in the present application is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0073] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A writing acceleration method for an electronic whiteboard, characterized in that: The following steps are involved: Call the acceleration library; Obtain display screen parameters, and configure the acceleration library according to the display screen parameters; Get the acceleration start instruction; According to the startup instruction, turn off the native display refresh permission of the Android system; Get writing instructions; According to the writing instruction, determine the target area to be refreshed according to the writing instruction, call the local refresh interface in the acceleration library, and refresh the target area according to the writing instruction; The acceleration library is used to provide an interface for the application to directly operate the graphics card memory, and the interface includes initialization, Deinitialize, start acceleration, stop acceleration, local refresh, global refresh, add anti-overlay content, display touch trackball; through various interface functions, the application can call various functions of the acceleration library; the application directly draws the relevant patterns and directly operates the graphics card memory through the acceleration library.

2. The writing acceleration method of the electronic whiteboard according to claim 1, characterized in that: Determining the target area to be refreshed according to the writing instruction includes: determining a writing trajectory according to the writing instruction; According to the minimum rectangular area corresponding to the writing track, the minimum rectangular area is used as the target area to be refreshed.

3. The writing acceleration method of the electronic whiteboard according to claim 1, characterized in that: The acceleration library is called through the JNI interface, and the acceleration library is packaged in the form of a so dynamic link library.

4. The writing acceleration method of the electronic whiteboard according to claim 1, characterized in that: The method further comprises the following steps: A stop acceleration instruction is obtained, and the native display refresh permission of the Android system is released according to the stop acceleration instruction.

5. The writing acceleration method of the electronic whiteboard according to claim 1, characterized in that: The method further comprises the following steps: Call the acceleration library through the JNI interface to refresh the full-screen content.

6. A writing acceleration system for an electronic whiteboard, characterized in that: include: Memory, used to store programs; A processor is used to call the program to execute the writing acceleration method of the electronic whiteboard as described in any one of claims 1-5.

7. An electronic whiteboard, characterized in that: include: A touch display screen for receiving written instructions and displaying content; Memory, used to store programs; A processor is used to call the program to execute the writing acceleration method of the electronic whiteboard as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that: The electronic whiteboard stores a program, and when the program is executed, the writing acceleration method of the electronic whiteboard as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Writing method and device for electronic whiteboard

    CN105807967A

  • Annotation display method and device, equipment and storage medium

    CN109614178A

  • High lighter processing method and device

    CN110174991A

  • Local refreshing method and device for display interface, equipment and medium

    CN110580125A

  • Method for realizing writing acceleration based on drawing framework buffer

    CN114090089A