CN114265515A - Handwriting display method, device, equipment, system and storage medium - Google Patents

Handwriting display method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN114265515A
CN114265515A CN202111525178.4A CN202111525178A CN114265515A CN 114265515 A CN114265515 A CN 114265515A CN 202111525178 A CN202111525178 A CN 202111525178A CN 114265515 A CN114265515 A CN 114265515A
Authority
CN
China
Prior art keywords
handwriting
writing
layer
display system
drawn
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
CN202111525178.4A
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.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN202111525178.4A priority Critical patent/CN114265515A/en
Publication of CN114265515A publication Critical patent/CN114265515A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a handwriting display method, a handwriting display device, handwriting display equipment, a handwriting display system and a handwriting display storage medium, wherein the method comprises the following steps: drawing writing handwriting on a second layer of the display system according to the acquired writing track information; acquiring handwriting drawn by the first handwriting drawing module according to the writing track information, and drawing the writing handwriting on a first layer of the display system according to the acquired handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information; and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer. By adopting the method, the writing display delay of the display system can be reduced, and the writing experience of a user is improved.

Description

Handwriting display method, device, equipment, system and storage medium
Technical Field
The present application relates to the field of human-computer interaction technologies, and in particular, to a method, an apparatus, a device, a system, and a storage medium for displaying handwriting.
Background
At present, a common writing display system is generally an architecture in which a dedicated handwriting drawing board is carried in an operating system, and writing of a user on the writing display system is not drawn by the operating system of the writing display system, but is put into the operating system for displaying after the writing is finished on the drawing board loaded on the operating system.
For example, in a writing display system loaded with an Android operating system, the writing display system is usually configured by an Android-based display system in cooperation with an OPS (Open Pluggable Specification) based drawing board. The OPS is a plug-in format of a computing module, and may be used to add computing power to the flat panel display, and the loaded operating system may be a Microsoft Windows operating system or a google android operating system. The Android-based display system is a main imaging function module of the writing display system and is used for presenting final writing content to a user.
The drawing board program with specific functions, which is self-developed by enterprises, is usually installed in an OPS system to form an OPS-based handwriting drawing system. When a user applies a drawing board program of a certain enterprise, firstly, an OPS button is clicked on a display interface of a writing display system to enter the OPS system, and then the corresponding drawing board program is selected and started in the OPS system. After the flow is completed, a user writes on the writing board, the writing handwriting of the user is firstly drawn on the drawing board by the OPS handwriting drawing system, and then the drawn handwriting is put into the Android-based display system for displaying.
In the user writing process, the user writing handwriting needs to be drawn on the drawing board of the OPS system firstly, and then the user writing handwriting is put on the display interface to be displayed, so that the obvious handwriting display delay can be caused in the process, and the writing experience of the user when the user uses the enterprise writing function program is poor.
Disclosure of Invention
Based on the technical current situation, the application provides a handwriting display method, device, equipment, system and storage medium, which can reduce the display delay of handwriting and improve the writing experience of users.
A handwriting display method comprising:
drawing writing handwriting on a second layer of the display system according to the acquired writing track information;
acquiring handwriting drawn by the first handwriting drawing module according to the writing track information, and drawing the writing handwriting on a first layer of the display system according to the acquired handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information;
and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer.
Optionally, before the writing trace is drawn on the second layer of the display system according to the obtained writing trace information, the method further includes:
acquiring a painting brush starting instruction sent by a first handwriting drawing module, wherein the painting brush starting instruction comprises painting brush attribute information of the first handwriting drawing module;
and creating a second layer in a display system, and determining the attribute information of a brush used for drawing handwriting on the second layer according to the brush attribute information contained in the brush starting instruction.
Optionally, the layer attributes of the first layer and the second layer and the brush attribute for drawing the handwriting are the same.
Optionally, the second layer is a transparent layer, and the second layer covers the first layer.
Optionally, merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer, where the merging and displaying includes:
and correspondingly overlapping the first image layer and the second image layer, and displaying the handwriting on the overlapped image layer.
Optionally, when it is determined that the writing track information stops updating, the writing on the second layer is cleared, or the second layer is cancelled.
Optionally, when a writing stop instruction sent by the first writing trace drawing module is received, determining that the writing trace information stops updating; wherein the writing stop instruction is issued by the first writing trajectory drawing module when it is determined that the user writing is finished.
A handwriting display method comprising:
drawing handwriting on a drawing board loaded on a display system according to the acquired writing track information;
and sending the handwriting drawn on the drawing board to a second handwriting drawing module so that the second handwriting drawing module draws the handwriting on a first layer of the display system based on the handwriting, and combining and displaying the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on a second layer of the display system according to the writing track information.
Optionally, the handwriting display method further includes:
sending a painting brush starting instruction to a second writing trace drawing module at the initial moment of acquiring writing trace information, so that the second writing trace drawing module creates a second layer in a display system when receiving the painting brush starting instruction, and determines attribute information of a painting brush for drawing traces on the second layer;
the painting brush starting instruction comprises the attribute information of the painting brush when handwriting is drawn on the drawing board.
Optionally, the handwriting display method further includes:
and when the writing end of the user is detected, sending a writing stop instruction to the second writing trace drawing module, so that the second writing trace drawing module clears the writing trace on the second layer or cancels the second layer after receiving the writing stop instruction.
A handwriting display system comprising:
the handwriting input device comprises a first handwriting drawing module and a second handwriting drawing module;
the first handwriting drawing module is used for drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information and sending the handwriting drawn on the drawing board to the second handwriting drawing module;
the second handwriting drawing module is used for drawing handwriting on a second layer of the display system according to the obtained writing track information; drawing the writing handwriting on the first image layer according to the handwriting sent by the first writing handwriting drawing module; and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer.
A handwriting display apparatus comprising:
the first handwriting drawing unit is used for drawing writing handwriting on a second layer of the display system according to the acquired writing track information;
the second handwriting drawing unit is used for acquiring handwriting drawn by the first handwriting drawing module according to the writing track information and drawing the writing handwriting on the first layer of the display system according to the acquired handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information;
and the handwriting display unit is used for merging and displaying the writing handwriting drawn on the first layer and the writing handwriting drawn on the second layer.
A handwriting display apparatus comprising:
the handwriting drawing unit is used for drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information;
and the handwriting sending unit is used for sending the handwriting drawn on the drawing board to the second handwriting drawing module so as to enable the second handwriting drawing module to draw the handwriting on the first layer of the display system based on the handwriting, and combine and display the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on the second layer of the display system according to the writing track information.
A writing script display device, comprising:
a memory and a processor;
the memory is connected with the processor and used for storing programs;
the processor is used for realizing the handwriting display method by operating the program in the memory.
A storage medium having stored thereon a computer program which, when executed by a processor, implements the handwriting display method described above.
According to the handwriting display method, when a user writes, the user writing track information is directly collected, and the handwriting is drawn on the second layer of the display system. Meanwhile, handwriting drawn by the first handwriting drawing module on a drawing board loaded on the display system is received, and the handwriting is drawn on a first layer of the display system. And finally, combining and displaying the writing on the first image layer and the drawing on the second image layer. Compared with the method that the writing track of the user is sent to the drawing board loaded on the display system for drawing, the handwriting drawn on the drawing board is received and drawn to the first layer for displaying, the method and the device for drawing and displaying the handwriting have the advantages that the time delay for drawing the handwriting directly and displaying is lower, so that the time delay for finally combining and displaying the displayed handwriting is lower than the time delay for displaying the handwriting drawn on the first layer, the purpose of reducing the display time delay of the handwriting is achieved, and the improvement of the writing experience of the user is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a block diagram of a large screen writing display system provided by an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a handwriting display system provided by an embodiment of the present application;
FIG. 3 is a flow chart of a handwriting display method provided by an embodiment of the present application;
FIG. 4 is a flow chart of another handwriting display method provided by the embodiment of the application;
FIG. 5 is a timing diagram illustrating another handwriting display method provided by an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a handwriting display device provided in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another handwriting display device provided in the embodiments of the present application;
FIG. 8 is a schematic structural diagram of a handwriting display device according to an embodiment of the present application.
Detailed Description
The technical scheme of the embodiment of the application is applied to the handwriting display application scene, and particularly applied to the application scene of displaying the handwriting of the user in a writing display system. By adopting the technical scheme of the embodiment of the application, the delay of the writing display system for displaying the handwriting of the user can be reduced, and the writing experience of the user when the enterprise writes the functional program on the writing display system is improved.
The writing display system is a writing display system capable of collecting user writing track information, drawing user writing handwriting, and displaying the drawn user writing handwriting, for example, a large-size screen writing display system used in scenes such as teaching, meeting, and lecture.
At present, a common writing display system is generally an architecture in which a dedicated handwriting drawing board is carried in an operating system, and writing of a user on the writing display system is not drawn by the operating system of the writing display system, but is put into the operating system for displaying after the writing is finished on the drawing board loaded on the operating system.
For example, in a large screen writing display system loaded with an Android operating system, the Android-based display system is usually configured by matching with an ops (open plug capable specification) -based drawing board. The OPS is a plug-in format of a computing module, and can be used to add computing power to a flat panel display, and the loaded operating system may be a Microsoft Windows operating system or a Google Android operating system. The Android display system is a main imaging function module of the writing display system and is used for presenting final writing content to a user.
Normally, the OPS is provided with a windows system. Because the OPS system has a more convenient development environment, and the OPS itself has stronger computing power and stability, and has lower maintenance cost when a fault occurs, an enterprise usually develops a personalized writing function program containing its own design in the OPS system, for example, develops a drawing board program with its own characteristics, such as whiteboard software, etc., for drawing writing. And installing a drawing board program self-developed by enterprises in the OPS system to form the handwriting drawing system based on the OPS.
The block diagram of the writing display system is shown in fig. 1.
When a user applies a drawing board program of a certain enterprise, firstly, an OPS button is clicked on a display interface of a writing display system to enter the OPS system, and then the corresponding drawing board program is selected and started in the OPS system. After the flow is completed, a user writes on the writing board, the OPS handwriting drawing system draws handwriting on the drawing board according to the writing touch data of the user, then sends the drawn handwriting to the Android display system through the HDMI, and after the Android display system receives the HDMI signal, the Android display system finally puts the signal on a display interface of the Android display system for display after processing by one system such as Codec, Color (Color processing), Scaler (resolution adjustment) and TCON (drive control).
Typically, the tablet is also developed based on the Android system, and is used in cooperation with the Android system. For example, the tablet may be an independent hardware device connected to the Android display system of the writing display system, or may be a writing sensing device built in the Android display system, for example, a display screen of the Android display system may be a touch display screen, and at this time, the display screen is a device having a writing sensing function, and is equivalent to the tablet built in the Android display system. When a user needs to write, the user directly writes on a display screen of the Android display system, and the Android display system can sense the writing of the user and generate corresponding writing handwriting information.
As can be seen from the description of fig. 1, currently, the user writing handwriting is displayed on the writing display system, the user writing handwriting information needs to be collected on the Android display system, then the OPS handwriting drawing system draws the handwriting on the drawing board loaded on the writing display system, and then the drawn handwriting is put into the Android display system to be displayed, so that the whole display process flow is complex, higher display delay can be generated, and the user writing experience is influenced.
The embodiment of the application provides a writing handwriting display scheme with lower delay aiming at the writing display system combining the display system and the drawing board loaded on the display system, and can improve the writing experience of a user when the user writes on the writing display system.
It should be understood that, in the embodiment of the present application, a display system loaded with an Android operating system is taken as an example, and a writing script display scheme applied to a writing display system combining an Android display system and an OPS handwriting drawing system is introduced. When the writing display system is carried with other operating systems, or the OPS handwriting drawing system is carried with other types of handwriting drawing systems in the operating system, the technical scheme of the embodiment of the application is still applicable, and the specific application process can be introduced by referring to the embodiments of the application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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.
First, an embodiment of the present application provides a handwriting display system, which mainly includes a first handwriting drawing module 1 and a second handwriting drawing module 2, as shown in fig. 2.
The first handwriting drawing module 1 mainly includes a dedicated handwriting drawing system loaded in the writing display system, for example, the first handwriting drawing module 1 may be an OPS-based handwriting drawing system in the writing display system, and is configured to draw handwriting on a drawing board loaded in the display system according to the obtained writing track information, and send the handwriting drawn on the drawing board to the second handwriting drawing module 2 through an HDMI interface.
The second handwriting drawing module 2 mainly includes a display system of a writing display system, for example, an Android display system in the writing display system, that is, a portion except the OPS handwriting drawing system in fig. 1, and is mainly used for drawing handwriting on a second layer of the display system according to the obtained writing trace information; drawing the writing handwriting on a first layer of a display system according to the handwriting sent by the first writing handwriting drawing module 1; and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer.
As described above, in the conventional writing display system, the Android display system receives the handwriting information sent by the OPS handwriting drawing system through the HDMI interface, draws the handwriting on a layer, and puts the handwriting on the layer on the display screen for display.
The handwriting display system provided by the embodiment of the application is different, in the handwriting display system, the second handwriting drawing module 2 is used for drawing the handwriting sent by the first handwriting drawing module 1 on the first layer, drawing the handwriting on the virtual whiteboard directly according to the obtained writing track information, drawing the handwriting on the virtual whiteboard on the second layer, and finally merging and displaying the handwriting on the first layer and the second layer.
That is to say, the display system directly collects original user writing track information, draws and displays writing handwriting, and combines and displays the writing handwriting with the handwriting drawn on the drawing board loaded on the display system. Because the display system directly draws the user writing and omits the data transmission process between the display system and the drawing board, the drawing and the display of the writing can be completed completely in the system of the display system, so the writing drawing speed is faster, the user can more timely see the writing display result in the writing process, the writing display delay is reduced, and the writing experience in the writing process of the user is improved.
Based on the handwriting display system, the embodiment of the application provides the corresponding handwriting display method, and the method is completed by matching a first handwriting drawing module and a second handwriting drawing module in the handwriting display system. The following describes a handwriting display method proposed in the embodiment of the present application.
First, an embodiment of the present application proposes a handwriting display method applied to the second handwriting drawing module of the handwriting display system, which is shown in fig. 3 and includes:
s301, drawing writing on a second layer of the display system according to the obtained writing track information.
The writing track information refers to user writing track information acquired by a pressure sensing device such as a writing board and a touch screen, and may specifically include coordinates of a user writing track.
As a preferred implementation manner, the display screen used for implementing the handwriting display system of the embodiment of the present application is a display screen with a touch function, and the display screen also serves as the display screen of the second handwriting drawing module. The user can write on the display screen through the stylus pen, and the display screen can collect the writing track information of the user.
Accordingly, the second handwriting drawing module can directly read the writing track information of the user from the display screen of the second handwriting drawing module.
Referring to fig. 2, after receiving the writing trace information, the second writing trace drawing module first draws the writing trace information into writing traces on the virtual whiteboard created by the second writing trace drawing module, and then draws the writing traces drawn on the virtual whiteboard onto the second drawing layer.
And S302, acquiring the handwriting drawn by the first handwriting drawing module according to the writing track information, and drawing the writing on the first layer of the display system according to the acquired handwriting.
And the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the acquired writing track information.
Specifically, the above-mentioned drawing board is a writing application installed in another system format in the display system, for example, the drawing board loaded in the OPS handwriting drawing system of the Android display system shown in fig. 1, and is not a drawing function program of the display system itself, and corresponds to a third party application installed in the display system.
The first handwriting drawing module, for example, the OPS handwriting drawing system of the writing display system, draws handwriting on the drawing board created based on the OPS after receiving writing trace information (for example, reading the sensed user writing trace information from the display screen of the Android system), and then sends the handwriting drawn on the OPS drawing board to the second handwriting drawing module through the HDMI interface. That is to say, the first handwriting drawing module acquires writing track information from the second handwriting drawing module, then performs handwriting drawing on the drawing board, and sends the drawn handwriting to the second handwriting drawing module for subsequent display processing after the drawing is completed.
And a first drawing layer is arranged in the second handwriting drawing module and is specially used for drawing the handwriting sent by the first handwriting drawing module. And the second handwriting drawing module receives the handwriting sent by the first handwriting drawing module and draws the received handwriting on the first image layer.
And S303, merging and displaying the writing on the first layer and the writing on the second layer.
It can be understood that, since the handwriting drawn by the first handwriting drawing module and the second handwriting drawing module is drawn based on the same writing track information, the handwriting drawn by the first handwriting drawing module and the second handwriting drawing module is the same handwriting. At the moment, the writing handwriting drawn on the first layer and the writing handwriting drawn on the second layer are merged and displayed, so that the handwriting can be kept to be overlapped.
And because the whole process of drawing the writing on the second layer by the second writing drawing module is to directly read the writing track information of the user in the Android display system and then draw the writing based on the read writing track information, the whole process does not involve data interaction with the OPS system, so that the writing drawing speed is higher, namely, the writing drawn on the second layer is more timely than the writing drawn on the first layer. From this for, write the handwriting that draws on the writing handwriting and the second map layer of drawing on the first map layer and merge the demonstration, can reduce and write handwriting demonstration time delay, promote the user write with a pen effect to can promote the user and write experience.
Correspondingly, an embodiment of the present application further provides a handwriting display method applied to the first handwriting drawing module of the handwriting display system, which is shown in fig. 4 and includes:
s401, drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information.
Specifically, the first handwriting drawing module mainly includes a dedicated handwriting drawing system loaded on the display system, for example, an ops (open plug capable specification) -based handwriting drawing system in the writing display system described in the above embodiment. In the OPS handwriting drawing system, a drawing board program, such as a drawing board developed by an enterprise, is installed, and is used for drawing the handwriting according to the user writing track information.
The writing track information refers to user writing track information acquired by a pressure sensing device such as a writing board and a touch screen, and may specifically include coordinates of a user writing track.
As a preferred implementation manner, the display screen used for implementing the handwriting display system of the embodiment of the present application is a display screen with a touch function, and the display screen also serves as the display screen of the second handwriting drawing module. The user can write on the display screen through the stylus pen, and the display screen can collect the writing track information of the user.
Correspondingly, the first handwriting drawing module performs data interaction with the second handwriting drawing module, and reads user writing track information collected by a display screen of the second handwriting drawing module.
And the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the acquired writing track information, for example, draws the handwriting on the drawing board of the OPS handwriting drawing system, so as to obtain the writing handwriting.
S402, sending the handwriting drawn on the drawing board to a second handwriting drawing module, so that the second handwriting drawing module draws the handwriting on a first layer of the display system based on the handwriting, and combining and displaying the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on a second layer of the display system according to the writing track information.
Specifically, the drawing board in the first handwriting drawing module is only used for drawing handwriting, so that the drawn handwriting can conform to the characteristics of the drawing board, but the handwriting drawn on the drawing board must be released to the display screen through the Android display system for displaying.
Therefore, the first handwriting drawing module sends the handwriting drawn on the drawing board to the second handwriting drawing module, and the second handwriting drawing module draws the handwriting on the first layer of the display system based on the handwriting and combines and displays the handwriting drawn on the first layer with the handwriting drawn on the second layer of the display system by the second handwriting drawing module according to the writing track information. The specific working contents of the second handwriting drawing module are described with reference to the above embodiments.
It can be understood that the second handwriting drawing module can draw the handwriting directly according to the original writing track information and use the handwriting for display, so that the finally displayed handwriting is not only the handwriting drawn by the first handwriting drawing module according to the original writing track information, but also the handwriting of the first handwriting drawing module and the handwriting of the second handwriting drawing module are combined and displayed. Because the handwriting drawing speed of the second handwriting drawing module for directly drawing the handwriting is higher, the finally displayed handwriting can be updated faster, the display delay of the handwriting is reduced, and the writing experience of a user is improved.
As described above, the handwriting drawing method provided in the embodiment of the present application is completed by the first handwriting drawing module and the second handwriting drawing module in the handwriting display system in a matching manner. Next, a specific process of the handwriting drawing method provided by the embodiment of the present application is similarly introduced in a manner that the first handwriting drawing module and the second handwriting drawing module are matched.
It can be understood that the detailed processing contents described in this embodiment are respectively applicable to the handwriting display method applied to the first handwriting drawing module, the handwriting display method applied to the second handwriting drawing module, and the handwriting display system. For example, the functions or specific working contents of the first handwriting drawing module and the second handwriting drawing module in the handwriting display method and the handwriting display system may refer to the following descriptions in this embodiment.
Referring to fig. 5, a handwriting display method provided in the embodiment of the present application includes:
s501, the first handwriting drawing module obtains the initial time of the writing track information and sends a painting brush starting instruction to the second handwriting drawing module.
The painting brush starting instruction comprises the attribute information of a painting brush when the first handwriting drawing module draws handwriting on the drawing board, such as the pen type, the handwriting width, the handwriting color and the like.
When a user writes on the display screen, the display screen collects writing track information of the user at the moment when the user presses the screen, the collected writing track is sent to the first writing track drawing module, and the first writing track drawing module sends a painting brush starting instruction to the second writing track drawing module through a serial port between the first writing track drawing module and the second writing track drawing module at the first moment when receiving the writing track information.
S502, the second handwriting drawing module obtains a painting brush starting instruction sent by the first handwriting drawing module.
S503, the second handwriting drawing module creates a second layer in the display system, and determines the attribute information of a painting brush used for drawing handwriting on the second layer according to the painting brush attribute information contained in the painting brush starting instruction.
Specifically, a virtual whiteboard process is set inside the second handwriting drawing module, the virtual whiteboard process is started along with the starting of the second handwriting drawing module, the virtual whiteboard process monitors the touch event of the user on the display screen of the second handwriting drawing module in real time, and monitors the instruction data sent by the first handwriting drawing module through the serial port.
And after the second handwriting drawing module receives a painting brush starting instruction sent by the first handwriting drawing module through the serial port, a second layer is created, and painting brush attribute information used for drawing handwriting on the second layer is determined according to the painting brush attribute information contained in the received painting brush starting instruction. Specifically, the attribute information of the painting brush for drawing the handwriting on the second layer is the same as the attribute information of the painting brush when the first handwriting drawing module draws the handwriting on the drawing board. Therefore, the writing handwriting drawn by the second writing handwriting drawing module on the second image layer has the same attribute as the writing handwriting drawn by the first writing handwriting drawing module.
As a preferred embodiment, the second layer created by the second handwriting drawing module is the same as the layer attribute of the original first layer and the brush attribute for drawing handwriting. The layer attributes mainly include attributes such as the size, color format, image display coordinate system and the like of the layer. The property of the brush pen for drawing the handwriting herein refers to the property of the brush pen for drawing the handwriting on the first layer and the second layer.
It can be understood that because the layer attributes and the brush attributes of the first layer and the second layer are the same, when the same handwriting is drawn on the first layer and the second layer, it can be ensured that the coordinate position, the font, the size, the color, the handwriting width, and the like of the handwriting drawn on the first layer and the second layer on the layer are completely the same.
Furthermore, a second layer created by the second handwriting drawing module is a transparent layer, and meanwhile, the layer attributes and the painting brush attributes of the first layer and the second layer are ensured to be the same, and the second layer created by the second handwriting drawing module covers the first layer. According to the arrangement, the existence of the second layer does not cause any influence on the display of the first layer.
S504, the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information.
Specifically, the first handwriting drawing module performs processing such as sorting and connecting on the acquired writing track information to obtain continuous handwriting corresponding to the acquired writing track information, and draws the obtained handwriting on a drawing board loaded on the display system, for example, draws the obtained handwriting on a drawing board created based on the OPS. The whole processing process is realized in the OPS handwriting drawing system. For a specific handwriting drawing process, reference may be made to a handwriting drawing method in the prior art, and details of the embodiment of the present application are not described again.
And S505, the second handwriting drawing module acquires writing track information and draws a writing track on a second layer of the display system according to the acquired writing track information.
Specifically, the second handwriting drawing module performs processing such as sorting and connection on the acquired writing track information to obtain continuous handwriting corresponding to the obtained writing track information, and draws the obtained handwriting on the second image layer. The whole processing process is realized in an Android display system. For a specific handwriting drawing process, reference may be made to a handwriting drawing method in the prior art, and details of the embodiment of the present application are not described again.
S506, the first handwriting drawing module sends the handwriting drawn on the drawing board to the second handwriting drawing module.
And S507, the second handwriting drawing module obtains the handwriting drawn by the first handwriting drawing module according to the writing track information, and draws the writing on the first layer of the display system according to the obtained handwriting.
Specifically, the first handwriting drawing module sends the handwriting drawn on the drawing board to the second handwriting drawing module through the HDMI interface between the first handwriting drawing module and the second handwriting drawing module.
And the second handwriting drawing module receives the handwriting sent by the first handwriting drawing module and draws the received handwriting on the first image layer.
And S508, the second handwriting drawing module combines and displays the handwriting drawn on the first layer and the handwriting drawn on the second layer.
It can be understood that the first handwriting drawing module and the second handwriting drawing module draw the handwriting based on the same writing track information and respectively draw the handwriting on the first image layer and the second image layer, and therefore the finally drawn handwriting on the first image layer and the second image layer is the handwriting with the same text content, and the size, font, width, color and other attributes of the handwriting are completely consistent.
Therefore, the second handwriting drawing module combines and displays the handwriting drawn on the first layer and the handwriting drawn on the second layer, so that the handwriting on the first layer and the handwriting on the second layer can be ensured to be combined into one, and a combined handwriting is obtained.
As a preferred implementation manner, since the second layer generated by the second handwriting drawing module is a transparent layer covering the first layer, the second handwriting drawing module directly overlaps the first layer with the second layer, and displays the handwriting on the overlapped layer, so as to achieve the purpose of merging and displaying the handwriting on the first layer and the handwriting on the second layer.
In addition, the second layer is a transparent layer, and the second layer is directly overlapped with the first layer, so that any negative influence on the display of the first layer can be avoided except that the writing handwriting displayed on the second layer is overlapped with the writing handwriting displayed on the first layer. That is, what the user sees displayed on the first layer is a writing script.
S509, the first handwriting drawing module detects whether the writing of the user is finished.
And S510, when the first handwriting drawing module detects that the writing of the user is finished, sending a writing stopping instruction to the second handwriting drawing module.
Specifically, when the user finishes writing and lifts the writing pen or the finger from the touch screen, the touch screen generates a writing stop signal and sends the information to the first writing trace drawing module.
And when the first handwriting drawing module receives the writing stop signal, determining that the writing of the user is finished, and sending a writing stop instruction to the second handwriting drawing module by the first handwriting drawing module through a serial port between the first handwriting drawing module and the second handwriting drawing module.
And setting a monitoring program in the first handwriting drawing module, monitoring the writing stop signal in real time, when the writing stop signal is not monitored, namely the writing end of the user is not detected, returning to the step S504, and continuously drawing the handwriting according to the acquired writing track information.
And S511, when the second handwriting drawing module receives the writing stop instruction sent by the first handwriting drawing module, clearing the handwriting on the second layer, or canceling the second layer.
Specifically, when the second handwriting drawing module receives a writing stop instruction sent by the first handwriting drawing module, it is determined that writing track information stops updating, and at the moment, the second handwriting drawing module clears the writing track on the second layer or cancels the second layer, so that only the writing track on the first layer is displayed on the screen.
As can be seen from the above description, according to the method for displaying handwriting provided by the embodiment of the application, when writing is started, a second layer is created in the display system, and the display system directly collects user writing track information and draws the handwriting on the second layer. Meanwhile, the display system receives handwriting drawn on a drawing board loaded on the display system and draws on a first layer of the display system. And finally, the display system combines and displays the writing on the first image layer and the writing on the second image layer. Because the display system directly draws the handwriting and the display time delay is lower, the time delay of the finally combined and displayed handwriting is lower than the time delay of displaying the handwriting drawn only on the first layer, the purpose of reducing the display time delay of the handwriting is achieved, and the improvement of the writing experience of a user is facilitated.
In correspondence with the above-described handwriting display method, an embodiment of the present application further provides a handwriting display apparatus, as shown in fig. 6, the apparatus including:
the first handwriting drawing unit 001 is used for drawing writing handwriting on a second layer of the display system according to the acquired writing track information;
the second handwriting drawing unit 002 is configured to obtain the handwriting drawn by the first handwriting drawing module according to the writing track information, and draw the writing handwriting on the first layer of the display system according to the obtained handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information;
and the handwriting display unit 003 is configured to combine and display the writing drawn on the first layer and the writing drawn on the second layer.
As an optional implementation manner, before the writing trace is drawn on the second layer according to the obtained writing trace information, the first trace drawing unit 001 is further configured to:
acquiring a painting brush starting instruction sent by a first handwriting drawing module, wherein the painting brush starting instruction comprises painting brush attribute information of the first handwriting drawing module;
and creating a second layer in a display system, and determining the attribute information of a brush used for drawing handwriting on the second layer according to the brush attribute information contained in the brush starting instruction.
As an optional implementation manner, the layer attributes of the first layer and the second layer and the brush attribute for drawing the handwriting are the same.
As an optional implementation manner, the second layer is a transparent layer, and the second layer covers the first layer.
As an optional implementation manner, merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer, includes:
and correspondingly overlapping the first image layer and the second image layer, and displaying the handwriting on the overlapped image layer.
As an alternative embodiment, when it is determined that the writing trace information stops updating, the writing displaying unit 003 clears the writing trace on the second layer or cancels the second layer.
As an optional implementation manner, when a writing stop instruction sent by the first writing trace drawing module is received, determining that the writing trace information stops updating; wherein the writing stop instruction is issued by the first writing trajectory drawing module when it is determined that the user writing is finished.
The embodiment of the present application also provides another handwriting display device, as shown in fig. 7, the device includes:
a handwriting drawing unit 011 for drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information;
a handwriting sending unit 012, configured to send the handwriting drawn on the drawing board to a second handwriting drawing module, so that the second handwriting drawing module draws the handwriting on a first layer of the display system based on the handwriting, and combines and displays the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on a second layer of the display system according to the writing trace information.
As an optional implementation, the apparatus further comprises:
the starting instruction sending unit is used for sending a painting brush starting instruction to a second writing trace drawing module at the initial moment of obtaining the writing trace information, so that the second writing trace drawing module creates a second layer in a display system when receiving the painting brush starting instruction, and determines attribute information of a painting brush used for drawing the trace on the second layer;
the painting brush starting instruction comprises the attribute information of the painting brush when handwriting is drawn on the drawing board.
As an optional implementation, the apparatus further comprises:
and the stop instruction sending unit is used for sending a writing stop instruction to the second handwriting drawing module when the writing end of the user is detected, so that the second handwriting drawing module clears the handwriting on the second layer or cancels the second layer after receiving the writing stop instruction.
Specifically, the detailed working contents of each part of each handwriting display device are referred to the corresponding contents in the handwriting display method described above, and are not repeated here.
Another embodiment of the present application also provides a writing script display apparatus, as shown in fig. 8, including:
a memory 200 and a processor 210;
wherein, the memory 200 is connected to the processor 210 for storing programs;
the processor 210 is configured to execute the program stored in the memory 200 to implement the handwriting display method disclosed in any of the embodiments.
Specifically, the handwriting display device may further include: a bus, a communication interface 220, an input device 230, and an output device 240.
The processor 210, the memory 200, the communication interface 220, the input device 230, and the output device 240 are connected to each other through a bus. Wherein:
a bus may include a path that transfers information between components of a computer system.
The processor 210 may be a general-purpose processor, such as a general-purpose Central Processing Unit (CPU), microprocessor, etc., an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in accordance with the present invention. But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The processor 210 may include a main processor and may also include a baseband chip, modem, and the like.
The memory 200 stores programs for executing the technical solution of the present invention, and may also store an operating system and other key services. In particular, the program may include program code including computer operating instructions. More specifically, memory 200 may include a read-only memory (ROM), other types of static storage devices that may store static information and instructions, a Random Access Memory (RAM), other types of dynamic storage devices that may store information and instructions, a disk storage, a flash, and so forth.
The input device 230 may include a means for receiving data and information input by a user, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor, among others.
Output device 240 may include equipment that allows output of information to a user, such as a display screen, a printer, speakers, and the like.
Communication interface 220 may include any device that uses any transceiver or the like to communicate with other devices or communication networks, such as an ethernet network, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc.
The processor 210 executes the program stored in the memory 200 and invokes other devices, which can be used to implement the steps of any one of the handwriting display methods provided by the above embodiments of the present application.
Another embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the handwriting display methods provided in the foregoing embodiments of the present application.
Specifically, the specific working contents of each part of the handwriting display device and the specific processing contents of the computer program on the storage medium when being executed by the processor may refer to the contents of each embodiment of the handwriting display method, which are not described herein again.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The steps in the method of each embodiment of the present application may be sequentially adjusted, combined, and deleted according to actual needs, and technical features described in each embodiment may be replaced or combined.
The modules and sub-modules in the device and the terminal in the embodiments of the application can be combined, divided and deleted according to actual needs.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal, apparatus and method may be implemented in other manners. For example, the above-described terminal embodiments are merely illustrative, and for example, the division of a module or a sub-module is only one logical division, and there may be other divisions when the terminal is actually implemented, for example, a plurality of sub-modules or modules may be combined or integrated into another module, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules or sub-modules described as separate parts may or may not be physically separate, and parts that are modules or sub-modules may or may not be physical modules or sub-modules, may be located in one place, or may be distributed over a plurality of network modules or sub-modules. Some or all of the modules or sub-modules can be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional module or sub-module in the embodiments of the present application may be integrated into one processing module, or each module or sub-module may exist alone physically, or two or more modules or sub-modules may be integrated into one module. The integrated modules or sub-modules may be implemented in the form of hardware, or may be implemented in the form of software functional modules or sub-modules.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software unit executed by a processor, or in a combination of the two. The software cells may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. A handwriting display method, comprising:
drawing writing handwriting on a second layer of the display system according to the acquired writing track information;
acquiring handwriting drawn by the first handwriting drawing module according to the writing track information, and drawing the writing handwriting on a first layer of the display system according to the acquired handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information;
and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer.
2. The method according to claim 1, wherein before drawing the writing script on the second layer of the display system according to the obtained writing track information, the method further comprises:
acquiring a painting brush starting instruction sent by a first handwriting drawing module, wherein the painting brush starting instruction comprises painting brush attribute information of the first handwriting drawing module;
and creating a second layer in a display system, and determining the attribute information of a brush used for drawing handwriting on the second layer according to the brush attribute information contained in the brush starting instruction.
3. The method according to claim 1 or 2, wherein layer properties of the first layer and the second layer and a brush property for drawing handwriting are the same.
4. The method according to claim 3, wherein the second layer is a transparent layer and the second layer covers the first layer.
5. The method according to claim 4, wherein the merged displaying of the handwriting drawn on the first layer and the handwriting drawn on the second layer comprises:
and correspondingly overlapping the first image layer and the second image layer, and displaying the handwriting on the overlapped image layer.
6. The method according to claim 1, wherein when it is determined that the writing trace information stops updating, the writing on the second image layer is cleared or the second image layer is cancelled.
7. The method according to claim 6, wherein when receiving a writing stop instruction sent by the first writing trace drawing module, determining that the writing trace information stops updating; wherein the writing stop instruction is issued by the first writing trajectory drawing module when it is determined that the user writing is finished.
8. A handwriting display method, comprising:
drawing handwriting on a drawing board loaded on a display system according to the acquired writing track information;
and sending the handwriting drawn on the drawing board to a second handwriting drawing module so that the second handwriting drawing module draws the handwriting on a first layer of the display system based on the handwriting, and combining and displaying the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on a second layer of the display system according to the writing track information.
9. The method of claim 8, further comprising:
sending a painting brush starting instruction to a second writing trace drawing module at the initial moment of acquiring writing trace information, so that the second writing trace drawing module creates a second layer in a display system when receiving the painting brush starting instruction, and determines attribute information of a painting brush for drawing traces on the second layer;
the painting brush starting instruction comprises the attribute information of the painting brush when handwriting is drawn on the drawing board.
10. The method of claim 8, further comprising:
and when the writing end of the user is detected, sending a writing stop instruction to the second writing trace drawing module, so that the second writing trace drawing module clears the writing trace on the second layer or cancels the second layer after receiving the writing stop instruction.
11. A handwriting display system, comprising:
the handwriting input device comprises a first handwriting drawing module and a second handwriting drawing module;
the first handwriting drawing module is used for drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information and sending the handwriting drawn on the drawing board to the second handwriting drawing module;
the second handwriting drawing module is used for drawing handwriting on a second layer of the display system according to the obtained writing track information; drawing the writing handwriting on the first image layer according to the handwriting sent by the first writing handwriting drawing module; and merging and displaying the handwriting drawn on the first layer and the handwriting drawn on the second layer.
12. A handwriting display apparatus, comprising:
the first handwriting drawing unit is used for drawing writing handwriting on a second layer of the display system according to the acquired writing track information;
the second handwriting drawing unit is used for acquiring handwriting drawn by the first handwriting drawing module according to the writing track information and drawing the writing handwriting on the first layer of the display system according to the acquired handwriting; the first handwriting drawing module draws handwriting on a drawing board loaded on the display system according to the obtained writing track information;
and the handwriting display unit is used for merging and displaying the writing handwriting drawn on the first layer and the writing handwriting drawn on the second layer.
13. A handwriting display apparatus, comprising:
the handwriting drawing unit is used for drawing handwriting on a drawing board loaded on the display system according to the acquired writing track information;
and the handwriting sending unit is used for sending the handwriting drawn on the drawing board to the second handwriting drawing module so as to enable the second handwriting drawing module to draw the handwriting on the first layer of the display system based on the handwriting, and combine and display the handwriting drawn on the first layer and the handwriting drawn by the second handwriting drawing module on the second layer of the display system according to the writing track information.
14. A handwriting display apparatus, comprising:
a memory and a processor;
the memory is connected with the processor and used for storing programs;
the processor is used for implementing the handwriting display method of any one of claims 1 to 10 by running the program in the memory.
15. A storage medium having stored thereon a computer program which, when executed by a processor, implements a handwriting display method according to any one of claims 1 to 10.
CN202111525178.4A 2021-12-14 2021-12-14 Handwriting display method, device, equipment, system and storage medium Pending CN114265515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111525178.4A CN114265515A (en) 2021-12-14 2021-12-14 Handwriting display method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111525178.4A CN114265515A (en) 2021-12-14 2021-12-14 Handwriting display method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN114265515A true CN114265515A (en) 2022-04-01

Family

ID=80826927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111525178.4A Pending CN114265515A (en) 2021-12-14 2021-12-14 Handwriting display method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN114265515A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450831A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Person's handwriting display processing method and system, storage medium and equipment based on dual system
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system, storage medium and equipment based on dual system
CN109144382A (en) * 2018-07-10 2019-01-04 广州视源电子科技股份有限公司 Handwriting display method, device, terminal device and storage medium based on dual system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450831A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Person's handwriting display processing method and system, storage medium and equipment based on dual system
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system, storage medium and equipment based on dual system
CN109144382A (en) * 2018-07-10 2019-01-04 广州视源电子科技股份有限公司 Handwriting display method, device, terminal device and storage medium based on dual system

Similar Documents

Publication Publication Date Title
US11262895B2 (en) Screen capturing method and apparatus
WO2020019616A1 (en) Touch control data processing method and device, intelligent device and storage medium
US9575652B2 (en) Instantiable gesture objects
US20170293826A1 (en) Electronic information board apparatus, information processing method, and computer program product
US20130055143A1 (en) Method for manipulating a graphical user interface and interactive input system employing the same
CN107666987A (en) Robotic process automates
CN107608668B (en) Method and device for making and compatibly displaying H5 page, terminal equipment and storage medium
US9229552B2 (en) System and method for synchronized operation of touch device
CN103955339A (en) Terminal operation method and terminal equipment
US10719228B2 (en) Image processing apparatus, image processing system, and image processing method
US10776570B2 (en) Supporting digital ink in markup language documents
CN107977155B (en) Handwriting recognition method, device, equipment and storage medium
WO2023030117A1 (en) Writing control method and apparatus, and electronic device and storage medium
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
US8948514B2 (en) Electronic device and method for processing handwritten document
WO2018205392A1 (en) Control response area display control method, electronic apparatus, and storage medium
WO2023241563A1 (en) Data processing method and electronic device
CN110737417B (en) Demonstration equipment and display control method and device of marking line of demonstration equipment
WO2021068382A1 (en) Multi-window operation control method and apparatus, and device and storage medium
US20150339030A1 (en) Method, apparatus, and system for data transfer across applications
CN114265515A (en) Handwriting display method, device, equipment, system and storage medium
CN110806830A (en) User interaction method and electronic equipment
CN112860112B (en) Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium
CN115016671A (en) Touch display control device, touch display device, equipment and method
CN114629800A (en) Visual generation method, device, terminal and storage medium for industrial control network target range

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