CN114546173A - Electronic whiteboard, writing acceleration method and system thereof, and storage medium - Google Patents

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

Info

Publication number
CN114546173A
CN114546173A CN202210187226.1A CN202210187226A CN114546173A CN 114546173 A CN114546173 A CN 114546173A CN 202210187226 A CN202210187226 A CN 202210187226A CN 114546173 A CN114546173 A CN 114546173A
Authority
CN
China
Prior art keywords
writing
acceleration
electronic whiteboard
library
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210187226.1A
Other languages
Chinese (zh)
Inventor
方名
罗益峰
谢凯凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Langyuan Electronic Technology Co Ltd
Original Assignee
Changsha Langyuan Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Langyuan Electronic Technology Co Ltd filed Critical Changsha Langyuan Electronic Technology Co Ltd
Priority to CN202210187226.1A priority Critical patent/CN114546173A/en
Publication of CN114546173A publication Critical patent/CN114546173A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an electronic whiteboard and a writing acceleration method thereof, which relate to the electronic whiteboard technology and comprise the following steps: acquiring an acceleration starting instruction; according to the starting instruction, closing the native display refreshing authority of the android system; acquiring a writing instruction; calling an acceleration library to refresh the display content according to the writing instruction; the acceleration library is used for providing an interface for directly operating the memory of the display card for the application program. By implementing the embodiment of the application, the refreshing speed of the written content can be improved, and the user experience is improved.

Description

Electronic whiteboard, writing acceleration method and system thereof, and storage medium
Technical Field
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
The electronic whiteboard system is widely used in the teaching and meeting fields due to its excellent product positioning, and a user can write on the electronic whiteboard through a special pen.
The current electronic whiteboard writes and draws mainly uses the native flow of rendering of android, because can produce a large amount of graphics operations among the drawing process, can lead to the condition that the drawing picture of writing is stuck, relatively influences user experience.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides an electronic whiteboard and a writing acceleration method, system and storage medium thereof, so as to increase the refreshing speed and improve the user experience.
In one aspect, an embodiment of the present application provides a writing acceleration method for an electronic whiteboard, including the following steps:
acquiring an acceleration starting instruction;
according to the starting instruction, closing the native display refreshing authority of the android system;
acquiring a writing instruction;
calling an acceleration library to refresh the display content according to the writing instruction;
the acceleration library is used for providing an interface for directly operating the memory of the display card for the application program.
In some embodiments, said invoking an acceleration library to refresh display content according to the written instruction includes:
determining a target area needing to be refreshed according to the writing instruction;
and calling a local refreshing interface in the acceleration library, and refreshing the target area according to the writing instruction.
In some embodiments, the determining a target area needing to be refreshed according to the written instruction includes:
determining a writing track according to the writing instruction;
and according to the minimum rectangular area corresponding to the writing track, taking the minimum rectangular area as a target area needing refreshing.
In some embodiments, the acceleration library is invoked through a JNI interface, and the acceleration library is packaged by a so dynamic link library.
In some embodiments, before the step of acquiring the accelerated start finger, the method further includes:
calling an acceleration library;
and acquiring display screen parameters, and configuring the acceleration library according to the display screen parameters.
In some embodiments, the method further comprises the steps of:
and acquiring a stop acceleration instruction, and releasing the native display refreshing authority of the android system according to the stop acceleration instruction.
In some embodiments, the method further comprises the steps of:
and calling an acceleration library through the JNI interface to refresh the content of the full screen.
In another aspect, an embodiment of the present application provides a writing acceleration system for an electronic whiteboard, including:
a memory for storing a program;
and the processor is used for calling the program to execute the writing acceleration method of the electronic whiteboard.
On the other hand, an embodiment of the present application provides an electronic whiteboard, including:
the touch display screen is used for receiving writing instructions and displaying contents;
a memory for storing a program;
and the processor is used for calling the program to execute the writing acceleration method of the electronic whiteboard.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a program, and when the program is executed, the method for accelerating writing of an electronic whiteboard is implemented.
The method comprises the steps that an interface acceleration library for providing direct operation display card memory for an application program is arranged, the native display refreshing authority of an android system is closed according to a starting instruction, then a writing instruction is obtained, and the acceleration library is called to refresh the display content according to the writing instruction; through the mode, related patterns can be directly drawn by the application program, and the graphics card memory is directly operated through the acceleration library, so that a mechanism drawn by the android native program is bypassed, the graphic drawing operation of the android system is reduced, the refreshing speed is controllable, the refreshing is more timely, and the user experience is smoother.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a writing acceleration method for an electronic whiteboard according to an embodiment of the present application;
fig. 2 is a block diagram of a writing acceleration system of an electronic whiteboard according to an embodiment of the present application;
fig. 3 is a block diagram of an electronic whiteboard provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly defined, terms such as set, etc. should be broadly construed, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the detailed contents of the technical solutions.
In the description of the present invention, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Referring to fig. 1, the present embodiment provides a writing acceleration method for an electronic whiteboard.
Before the method is implemented, an acceleration library is called at an application program, and a JNI interface is a module entry provided by the acceleration library for Java side calling. The acceleration library mainly comprises three functions: accelerating initialization and recovery of library resources, refreshing the whole screen and locally, and accelerating touch events. Before starting acceleration, the resolution corresponding to the screen needs to be transferred to an acceleration library, and the initialization of the logic is completed. And then, starting an acceleration library, wherein the acceleration library can freeze the screen content, and the system does not have the refreshing authority for the screen. Refreshing of screen content is controlled by the acceleration library. The system cannot resume screen refresh until after acceleration is stopped. The acceleration library needs to operate a video memory space and needs to give system authority to the whiteboard APP. And adding android, namely shared user Id, to android, aid, system and the like in android Manifest.
The functions that the acceleration library can call are illustrated by table 1:
Figure BDA0003524059240000051
through the interface function, the application program can call various functions of the acceleration library.
The acceleration library is packaged in the system firmware in the form of a so dynamic link library. The java side code needs to be called first before it can be used. The acceleration library is managed for a refresh area of the total screen. The transferred area and coordinates need to be converted into a coordinate system corresponding to the full screen. If the acceleration library is initialized to a non-uniform width, height and resolution, it may cause screen-blooming or coordinate shifting during writing.
Therefore, during initialization, the acceleration library needs to be called to obtain display screen parameters, and the acceleration library is configured according to the display screen parameters.
The method comprises the following steps:
and S1, acquiring an acceleration starting instruction. In this embodiment, the turn-on acceleration function of Table 1 may be invoked to initiate acceleration.
And S2, according to the starting instruction, closing the native display refreshing authority of the android system. After acceleration is initiated, native display refresh permissions of the android system are closed. At this time, the refresh work is handed to the application. Therefore, the image does not need to be drawn in a native program passing through the android system. The refreshing time of the writing track is controllable to a certain extent, so that smoother user experience can be realized.
And S3, acquiring a writing instruction. That is, the content input by the user through the touch screen is obtained, and the content is usually referred to as a written track.
And S4, calling an acceleration library to refresh the display content according to the writing instruction. After the user writes, the refreshing may be performed according to the content written by the user, and the refreshing may be performed at certain time intervals, for example, 10 times, 20 times, and 30 times per second. Therefore, the application program directly operates the display memory, and the refreshing speed is high and controllable. The acceleration library is not concerned with the content written, it is only responsible for refreshing. The user needs to finish the rendering action of the written content by himself. The canvas in android provides a rich drawing interface, and a user converts touch events into writing contents according to the product definition of the user. After writing, the content needing to be refreshed is converted into a Bitmap, and the Bitmap is sent to the acceleration library for processing. The acceleration library will refresh it onto the screen according to the region.
As can be seen from the above description, local refresh or global refresh can be achieved by accelerating the bank, depending on the refresh requirements of the application.
The method comprises the steps that an interface acceleration library used for providing direct operation of a display card memory for an application program is arranged, according to a starting instruction, a native display refreshing authority of an android system is closed, then a writing instruction is obtained, and according to the writing instruction, the acceleration library is called to refresh display contents; through the mode, related patterns can be directly drawn by the application program, and the graphics card memory is directly operated through the acceleration library, so that a mechanism drawn by the android native program is bypassed, the graphic drawing operation of the android system is reduced, the refreshing speed is controllable, the refreshing is more timely, and the user experience is smoother.
In some embodiments, said invoking an acceleration library to refresh display content according to the written instruction includes:
determining a target area needing to be refreshed according to the writing instruction; specifically, a writing trajectory may be determined according to the writing instruction; and according to the minimum rectangular area corresponding to the writing track, taking the minimum rectangular area as a target area needing refreshing.
And calling a local refreshing interface in the acceleration library, and refreshing the target area according to the writing instruction.
It can be known from the above embodiments that, in the embodiments of the present application, when the application program does not need global refresh, the local refresh is performed, so that the refresh content can be reduced, the refresh response efficiency can be increased, and the user can obtain better perception.
In some embodiments, as can be seen from the functional contents of table 1, the method further comprises the steps of:
and calling an acceleration library through the JNI interface to refresh the content of the full screen.
And acquiring an acceleration stopping instruction, and releasing the native display refreshing authority of the android system according to the acceleration stopping instruction.
These steps are optionally performed, and the above-described functional functions may be implemented by performing these steps.
Referring to fig. 2, the present embodiment provides a writing acceleration system of an electronic whiteboard, including:
a memory for storing a program;
and the processor is used for calling the program to execute the writing acceleration method of the electronic whiteboard.
Referring to fig. 3, the present embodiment provides an electronic whiteboard, including:
the touch display screen is used for receiving writing instructions and displaying contents;
a memory for storing a program;
and the processor is used for calling the program to execute the writing acceleration method of the electronic whiteboard.
The present embodiment provides a computer-readable storage medium storing a program which, when executed, implements the writing acceleration method of an electronic whiteboard.
The integrated units described in this application may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A writing acceleration method of an electronic whiteboard is characterized by comprising the following steps:
acquiring an acceleration starting instruction;
according to the starting instruction, closing the native display refreshing authority of the android system;
acquiring a writing instruction;
calling an acceleration library to refresh the display content according to the writing instruction;
the acceleration library is used for providing an interface for directly operating the memory of the display card for an application program.
2. The method for accelerating writing of the electronic whiteboard according to claim 1, wherein the invoking an acceleration library to refresh the display content according to the writing instruction comprises:
determining a target area needing to be refreshed according to the writing instruction;
and calling a local refreshing interface in the acceleration library, and refreshing the target area according to the writing instruction.
3. The method for accelerating writing on an electronic whiteboard according to claim 2, wherein the determining a target area needing to be refreshed according to the writing instruction comprises:
determining a writing track according to the writing instruction;
and according to the minimum rectangular area corresponding to the writing track, taking the minimum rectangular area as a target area needing refreshing.
4. The writing acceleration method of the electronic whiteboard according to claim 1, wherein the acceleration library is called through a JNI interface, and the acceleration library is packaged in a so dynamic link library manner.
5. The writing acceleration method of an electronic whiteboard according to claim 1, further comprising, before the step of acquiring an acceleration start finger:
calling an acceleration library;
and acquiring display screen parameters, and configuring the acceleration library according to the display screen parameters.
6. The method for accelerating writing on an electronic whiteboard of claim 1, further comprising the steps of:
and acquiring an acceleration stopping instruction, and releasing the native display refreshing authority of the android system according to the acceleration stopping instruction.
7. The method for accelerating writing on an electronic whiteboard of claim 1, further comprising the steps of:
and calling an acceleration library through the JNI interface to refresh the content of the full screen.
8. A writing acceleration system for an electronic whiteboard, comprising:
a memory for storing a program;
a processor for invoking the program for performing a writing acceleration method of an electronic whiteboard according to any of claims 1 to 7.
9. An electronic whiteboard, comprising:
the touch display screen is used for receiving writing instructions and displaying contents;
a memory for storing a program;
a processor for invoking the program for performing a writing acceleration method of an electronic whiteboard according to any of claims 1 to 7.
10. A computer-readable storage medium characterized by storing a program which, when executed, implements a writing acceleration method for an electronic whiteboard according to any one of claims 1 to 7.
CN202210187226.1A 2022-02-28 2022-02-28 Electronic whiteboard, writing acceleration method and system thereof, and storage medium Pending CN114546173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210187226.1A CN114546173A (en) 2022-02-28 2022-02-28 Electronic whiteboard, writing acceleration method and system thereof, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210187226.1A CN114546173A (en) 2022-02-28 2022-02-28 Electronic whiteboard, writing acceleration method and system thereof, and storage medium

Publications (1)

Publication Number Publication Date
CN114546173A true CN114546173A (en) 2022-05-27

Family

ID=81679801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210187226.1A Pending CN114546173A (en) 2022-02-28 2022-02-28 Electronic whiteboard, writing acceleration method and system thereof, and storage medium

Country Status (1)

Country Link
CN (1) CN114546173A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807967A (en) * 2014-12-30 2016-07-27 鸿合科技有限公司 Writing method and device for electronic whiteboard
CN107678825A (en) * 2017-10-16 2018-02-09 青岛海信电器股份有限公司 A kind of rendering intent and electronic whiteboard applied to electronic whiteboard
CN109614178A (en) * 2018-09-04 2019-04-12 广州视源电子科技股份有限公司 Annotate display methods, device, equipment and storage medium
CN110174991A (en) * 2019-05-17 2019-08-27 广州视源电子科技股份有限公司 Highlighted method for processing pen and device
CN110580125A (en) * 2018-06-07 2019-12-17 广州视源电子科技股份有限公司 partial refreshing method, device, equipment and medium for display interface
CN113419664A (en) * 2021-07-23 2021-09-21 广州朗国电子科技股份有限公司 Whiteboard writing area adaptation method, device and medium in all-in-one machine multi-window mode
CN114020233A (en) * 2022-01-06 2022-02-08 广州朗国电子科技股份有限公司 Meeting whiteboard window mode writing adaptation method, system, device and medium
CN114090089A (en) * 2021-11-24 2022-02-25 航天欧华信息技术有限公司 Method for realizing writing acceleration based on drawing framebuffer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807967A (en) * 2014-12-30 2016-07-27 鸿合科技有限公司 Writing method and device for electronic whiteboard
CN107678825A (en) * 2017-10-16 2018-02-09 青岛海信电器股份有限公司 A kind of rendering intent and electronic whiteboard applied to electronic whiteboard
CN110580125A (en) * 2018-06-07 2019-12-17 广州视源电子科技股份有限公司 partial refreshing method, device, equipment and medium for display interface
CN109614178A (en) * 2018-09-04 2019-04-12 广州视源电子科技股份有限公司 Annotate display methods, device, equipment and storage medium
US20210141527A1 (en) * 2018-09-04 2021-05-13 Guangzhou Shiyuan Electronics Co., Ltd. Annotation display method, device, apparatus and storage medium
CN110174991A (en) * 2019-05-17 2019-08-27 广州视源电子科技股份有限公司 Highlighted method for processing pen and device
CN113419664A (en) * 2021-07-23 2021-09-21 广州朗国电子科技股份有限公司 Whiteboard writing area adaptation method, device and medium in all-in-one machine multi-window mode
CN114090089A (en) * 2021-11-24 2022-02-25 航天欧华信息技术有限公司 Method for realizing writing acceleration based on drawing framebuffer
CN114020233A (en) * 2022-01-06 2022-02-08 广州朗国电子科技股份有限公司 Meeting whiteboard window mode writing adaptation method, system, device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Similar Documents

Publication Publication Date Title
US11412292B2 (en) Video processing method, video processing device, and storage medium
JP6768695B2 (en) Methods and devices for generating composite pictures
WO2020038163A1 (en) Icon display method and apparatus, and terminal and storage medium
US11036345B2 (en) System and method for on-screen graphical user interface encapsulation and reproduction
CN111651079B (en) Handwriting display method, device, equipment and computer storage medium
US20170017528A1 (en) Enhanced code callback
CN108255546B (en) Method and device for realizing data loading animation
US20160018909A1 (en) Method and apparatus of controlling a smart device
CN111596919B (en) Display method and device of graphic drawing result, computer equipment and storage medium
CN112748843B (en) Page switching method and device, computer equipment and storage medium
WO2019238145A1 (en) Webgl-based graphics rendering method, apparatus and system
CN104995622A (en) Compositor support for graphics functions
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
CN112947969A (en) Page off-screen rendering method, device, equipment and readable medium
CN111124668A (en) Memory release method and device, storage medium and terminal
CN110471700B (en) Graphic processing method, apparatus, storage medium and electronic device
WO2020186837A1 (en) Text animation control method and device, storage medium and processor
CN114546173A (en) Electronic whiteboard, writing acceleration method and system thereof, and storage medium
CN113947650A (en) Animation processing method, animation processing device, electronic equipment and medium
CN111290680B (en) List display method, device, terminal and storage medium
CN106204695B (en) Editing method and device of 3D animation
CN112799801B (en) Method, device, equipment and medium for drawing simulated mouse pointer
CN110941408B (en) KVM virtual machine graphical interface output method and device
CN112449230B (en) Character string display processing method, device, terminal and storage medium
CN110187818B (en) Method and device for improving performance of assembly, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination