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

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

Info

Publication number
CN114237481A
CN114237481A CN202111564895.8A CN202111564895A CN114237481A CN 114237481 A CN114237481 A CN 114237481A CN 202111564895 A CN202111564895 A CN 202111564895A CN 114237481 A CN114237481 A CN 114237481A
Authority
CN
China
Prior art keywords
writing
operating system
handwriting
target
display screen
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
CN202111564895.8A
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202111564895.8A priority Critical patent/CN114237481A/en
Publication of CN114237481A publication Critical patent/CN114237481A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

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

Abstract

The embodiment of the invention provides a handwriting display processing method, a handwriting display processing system, a handwriting display processing device, handwriting display processing equipment and a handwriting storage medium, which are applied to a first operating system sharing a display screen with a second operating system running writing software. The method comprises the steps that a first operating system receives a writing starting instruction sent by a second operating system; acquiring handwriting attribute information from a second operating system, and acquiring writing touch data currently input on a display screen by a user; displaying a first target writing script corresponding to the writing touch data on a display screen according to the handwriting attribute information, and performing partial erasing processing on the target rendered writing script; the first target writing trace covers a second target writing trace corresponding to writing touch data displayed on the display screen by the second operating system. The problems that when handwriting is drawn by using writing software running in a second operating system, the display delay time of the writing handwriting is long, and rendering difference and flickering phenomena exist when the double operating systems draw the handwriting together are solved.

Description

Handwriting display processing method, system, device, equipment and storage medium
Technical Field
The invention relates to the technical field of data display, in particular to a handwriting display processing method, a handwriting display processing system, a handwriting display processing device, handwriting display processing equipment and a handwriting display storage medium.
Background
Because different software has different compatibility with the operating system, in order to realize the expansion of the software compatibility of the equipment, the equipment with other operating systems can be externally connected, so that the current equipment can realize the operation of the double operating systems. For example, many educational interactive integrated machines are currently used in teaching scenes. In the education interaction all-in-one machine, an Android operating system runs in the all-in-one machine, however, in an actual teaching scene, some teaching software is only compatible with the Windows operating system, or a user is used to use the Windows operating system, in order to enable the functions of the education interaction all-in-one machine to be more comprehensive, the user has better use experience, an Open plug-in (OPS) computer running with the Windows operating system can be externally connected through a communication interface of the all-in-one machine, and the dual-system co-running is realized. When the user uses the device, the software in the operating system (namely the Android operating system) of the device can be run, and the device can also be switched to an external operating system (namely the Windows operating system) to run the software in the Windows operating system.
For an external operating system, data transmission needs to be performed to an operating system of the device itself in the process of displaying data of the external operating system, which may cause display delay and picture distortion; the problem does not exist for the operating system of the equipment, and the display delay of the data is small. Therefore, when the writing software running in the external operating system is used, the two operating systems can simultaneously respond to the writing behavior of the user, and the results after response are simultaneously displayed on the display screen, so that the effect of small writing delay is achieved. However, due to differences in data processing capabilities of different operating systems, for example, the data computing capability and the image rendering effect are not completely the same, a user may feel that two types of writing handwriting exist on the display screen during use, and after writing is finished, the operating system of the erasing device displays the writing handwriting on the display screen, and a flickering phenomenon may also exist, which may cause a bad writing experience for a user using an external operating system.
Disclosure of Invention
The embodiment of the invention provides a method, a system, a device, equipment and a storage medium for displaying and processing handwriting, which are used for solving the problems that the display delay time of the handwriting is longer, and the rendering difference and the flicker phenomenon exist when the handwriting is drawn by a double-operation system together when writing software running in an external operation system is used for drawing the handwriting.
In a first aspect, an embodiment of the present invention provides a handwriting display processing method, which is applied to a first operating system, where the first operating system and a second operating system running writing software share a display screen, and a handwriting display delay of the first operating system is smaller than that of the second operating system, where the method includes:
receiving a writing starting instruction sent by the second operating system in response to a writing starting operation triggered by a user in the writing software;
acquiring handwriting attribute information from the second operating system, and acquiring writing touch data currently input on the display screen by the user;
displaying a first target writing trace corresponding to the writing touch data on the display screen according to the trace attribute information, and performing partial erasing processing on a target rendered writing trace, wherein the target rendered writing trace is rendered by the first operating system based on the previously input writing touch data;
and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing.
In a second aspect, an embodiment of the present invention provides a handwriting display processing system, where the system includes: the system comprises a first operating system, a second operating system and a display screen, wherein writing software runs on the second operating system, the first operating system and the second operating system share the display screen, and the writing display delay of the first operating system is smaller than that of the second operating system;
the first operating system is used for receiving a writing starting instruction sent by the second operating system, acquiring handwriting attribute information from the second operating system, acquiring writing touch data input by a user on the display screen, displaying a first target writing handwriting corresponding to the writing touch data on the display screen according to the handwriting attribute information, and performing partial erasing processing on a target rendered writing, wherein the target rendered writing is rendered by the first operating system based on the previously input writing touch data, and the first target writing is displayed by covering the second target writing;
the second operating system is used for responding to a writing starting operation triggered by the user in the writing software, sending the writing starting instruction to the first operating system, providing the handwriting attribute information to the first operating system, and displaying the writing touch data on the display screen according to the handwriting attribute information to obtain a second target writing handwriting;
and the display screen is used for displaying the first target writing handwriting and the second target writing handwriting.
In a third aspect, an embodiment of the present invention provides a device for displaying and processing handwriting, which is applied to a first operating system, where the first operating system and a second operating system running writing software share a display screen, and a handwriting display delay of the first operating system is smaller than that of the second operating system, and the device includes:
the receiving module is used for responding to the writing starting operation triggered by the user in the writing software and receiving a writing starting instruction sent by the second operating system; acquiring handwriting attribute information from the second operating system, and acquiring writing touch data currently input on the display screen by the user;
the processing module is used for displaying a first target writing handwriting corresponding to the writing touch data on the display screen according to the handwriting attribute information and performing partial erasing processing on the target rendered writing, wherein the target rendered writing is rendered by the first operating system based on the previously input writing touch data;
and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform a handwriting display processing method according to the first aspect.
In a fifth aspect, the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the handwriting display processing method according to the first aspect.
The scheme provided by the embodiment of the invention is applied to a first operating system, the first operating system and a second operating system running writing software share a display screen, and the writing display time delay of the first operating system is less than that of the second operating system. Responding to a writing starting operation triggered by a user in writing software, and receiving a writing starting instruction sent by a second operating system by a first operating system; then, acquiring handwriting attribute information from a second operating system, and acquiring writing touch data currently input on a display screen by a user; then, displaying a first target writing script corresponding to the writing touch data on a display screen according to the handwriting attribute information, and performing partial erasing processing on the target rendered writing script, wherein the target rendered writing script is rendered by the first operating system based on the previously input writing touch data; and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing handwriting.
Therefore, in the embodiment of the invention, when a user writes on the display screen by using the writing software running in the second operating system, the first operating system and the second operating system respectively draw and display the first target writing handwriting and the second target writing according to the handwriting attribute information set in the writing software and the writing touch data currently input on the display screen by the user, wherein the first target writing covers the second target writing for displaying, and because the display time delay of the first operating system is smaller, the first target writing is displayed on the display screen before the second target writing, compared with the method in which the writing drawing display is performed only by the second operating system, the method can reduce the display time delay of the writing. In addition, the first operating system is used for erasing while drawing in the process of drawing and displaying the writing, and only displaying the first target writing corresponding to a part of writing touch points on the display screen. Therefore, when the first target writing handwriting and the second target writing handwriting are displayed on the display screen at the same time, because the number of touch points corresponding to the first target writing handwriting is limited, even if the rendering effects of the two operating systems on the writing handwriting are different, a user cannot easily perceive the writing, and finally when the second target writing handwriting is displayed, the deleted first target writing handwriting is shorter in length compared with the second target writing handwriting, and the obvious flicker phenomenon cannot be generated.
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 the drawings without creative efforts.
FIG. 1 is a handwriting display processing system according to an embodiment of the present invention;
FIG. 2 is an interaction flow chart of a handwriting display processing method according to an embodiment of the present invention;
FIG. 3 is a segment of handwriting written by a user on a display screen according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of touch points collected by a display screen when a user writes the handwriting shown in FIG. 3 according to an embodiment of the present invention;
FIG. 5 is a drawing diagram of a first target writing script provided by an embodiment of the invention;
FIG. 6 is a schematic diagram of handwriting displayed on a display screen according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a handwriting display processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
In consideration of compatibility of software to operating systems and different personal use habits of users to different operating systems, manufacturers design equipment capable of realizing operation of double operating systems, such as an educational interactive all-in-one machine frequently used in teaching scenes, in order to meet the use requirements of the users.
For the sake of understanding, a system architecture of a device that can implement dual operating system operation is illustrated in connection with fig. 1. Fig. 1 is a writing display processing system according to an embodiment of the present invention, and as shown in fig. 1, the writing display processing system includes: the system comprises a first operating system, a second operating system and a display screen. The display screen is shared by the first operating system and the second operating system; the first operating system is an operating system operated by the electronic equipment; the second operating system is an operating system operated by an external device which establishes communication connection with the electronic device through a communication interface, and the second operating system operated in the external device can also be called as an external operating system.
In practical applications, the first operating system and the second operating system include, but are not limited to, any one of the following operating systems: the operating system comprises an Android operating system, a Windows operating system, a Mac OS operating system, an IOS operating system and a Linux operating system.
The system shown in the figure 1 is brought into an education interaction all-in-one machine, the electronic equipment is the education all-in-one machine, and a first operating system running on the all-in-one machine can be an Android operating system; the all-in-one machine establishes communication connection with an external device running with a second operating system through a communication interface, wherein the external device can be an OPS computer, and the second operating system can be other operating systems except an Android operating system, such as a Windows operating system; the display screen is shared by the all-in-one machine and the OPS computer, and images processed by an Android operating system or a Windows operating system can be displayed on the display screen.
When a user uses the device with the system architecture shown in fig. 1, if the user wants to run the writing software installed in the second operating system, the operating system currently run by the device only needs to be switched to the second operating system, and then the writing software in the display interface of the second operating system is opened, and then the second operating system generates an image corresponding to the writing according to the writing behavior of the user in the writing software. When displaying an image, because the display screen may actually be driven by the first operating system to display, the second operating system needs to encode the generated image and transmit the encoded image to the first operating system through the communication interface, and the first operating system decodes, adjusts the image quality, and scales the resolution of the received image, and finally displays the image on the display screen.
Through the above process, when writing is performed by using the writing software in the second operating system, due to factors such as data transmission, the display delay of the writing trace is long, and the situation of picture distortion may also exist. For the first operating system, when the writing software installed in the first operating system is used, the process of data transmission and the like which takes a long time does not exist, and the display delay of the writing is less than that of the second operating system.
In the traditional scheme, in order to solve the problem that the display delay of the writing handwriting is large when the writing software running in the second operating system is used, the first operating system and the second operating system draw the writing handwriting according to the writing behavior of the user at the same time, and then the writing handwriting drawn by the two operating systems is displayed on the display screen. However, it can be understood that rendering of the writing scripts by different operating systems is different, displaying two writing scripts simultaneously may bring a bad experience to a user, and erasing the writing script drawn by the first operating system at the end of writing may also generate an obvious flickering phenomenon.
In order to solve the problems that when writing software running in a second operating system is used for writing, writing display delay is large, and rendering difference and flickering phenomena exist when double operating systems jointly perform writing drawing, the embodiment of the invention provides a writing display processing method which is applied to a first operating system, wherein the first operating system and the second operating system running the writing software share a display screen, and the writing display delay of the first operating system is smaller than that of the second operating system.
The handwriting display processing method provided by the embodiment of the invention can be executed by an electronic device, and the electronic device can be a terminal device such as a PC (personal computer), a notebook computer and the like, and can also be a server. The server may be a physical server including an independent host, or may also be a virtual server, or may also be a cloud server or a server cluster.
In order to better understand the above-mentioned handwriting display processing method, which is described with reference to fig. 2, fig. 2 is an interactive flowchart of a handwriting display processing method provided by an embodiment of the present invention, in response to a writing start operation triggered in writing software by a user, a first operating system and a second operating system need to execute the steps in the embodiment shown in fig. 2:
201. the second operating system sends a writing start instruction to the first operating system.
202. And the first operating system acquires handwriting attribute information from the second operating system.
203. The first operating system and the second operating system acquire writing touch data input by a user on a current display screen.
In practical applications, the writing start operation of the writing software in the second operating system may be triggered by a behavior of opening the writing software by a user, or by a behavior of starting writing by the user, or by other preset conditions, which is not limited in the embodiment of the present invention.
The second operating system responds to a writing starting operation triggered by a user in the writing software and sends a writing starting instruction to the first operating system, and the first operating system receives the writing starting instruction sent by the second operating system; then, a transparent layer is created and placed on an operation interface of the writing software currently displayed on the display screen. Because the transparent layer background is transparent, when the transparent layer is created by the first operating system, the user does not perceive that the transparent layer exists.
If the first operating system and the second operating system want to draw and display writing, the writing attribute information set in the writing software and the writing touch data input by the user on the current display screen need to be acquired. Wherein, the handwriting attribute information comprises: the color, width, style, font size, etc. of the font; the writing touch data input by the user on the display screen at present can be understood as a plurality of touch points generated in the user writing process and acquired by a touch frame on the display screen when the user writes on the display screen with the touch function, and the touch points can exist in the form of coordinate data.
For the second operating system, the operating system running as writing software can directly acquire handwriting attribute information. The first operating system wants to acquire handwriting attribute information, and one mode is to send a handwriting attribute information request instruction to the second operating system to actively acquire the handwriting attribute information; and the other mode is to passively receive handwriting attribute information sent by the second operating system. Under the passive receiving condition, the second operating system can send handwriting attribute information to the first operating system while sending a writing starting instruction; or the set handwriting attribute information can be sent to the first operating system aiming at the setting or modification of the handwriting attribute information in the writing software by the user instead of being sent simultaneously with the writing starting instruction.
The writing touch data input by the user on the display screen can be simultaneously sent to the first operating system and the second operating system in the specific implementation process. Then, the first operating system and the second operating system simultaneously perform the operations in step 204 and step 205, respectively.
204. And the first operating system displays a first target writing script corresponding to the writing touch data on the display screen according to the handwriting attribute information, and partially erases the target rendered writing script, wherein the target rendered writing script is rendered by the first operating system based on the previously input writing touch data.
205. And the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain a second target writing handwriting.
And the first target writing is displayed by covering the second target writing.
To facilitate understanding of step 204 and step 205, the above process is explained by way of example, assuming that the user wants to write a script as shown in fig. 3 in the writing software.
It can be understood that, in the process from the beginning of writing to the end of writing by the user, as the user performs the writing action on the display screen, the touch frame of the display screen continuously acquires new touch points, and the first operating system and the second operating system receive the newly generated touch points in real time. Additionally, for the operating system, the user's writing behavior corresponds to multiple touch events, and the operating system responds to the user behavior by determining the type of touch event to which the user behavior corresponds. Such as: in an Android operating system, if a user wants to draw a writing handwriting, three actions of pressing DOWN a finger, sliding the finger and lifting the finger are required to be performed on a display screen, wherein the pressing DOWN of the finger is determined as a DOWN event, which means the start of a touch event, and the Android operating system stops refreshing a current layer and backups the current layer; the finger sliding is determined as a MOVE event, which means that in the touch process, the Android operating system stores the touch point generated by sliding into a display cache region of the system; and when the finger is lifted, the finger is determined to be an UP event, which means that the touch event is ended, the Android operating system restores the refreshing of the current layer, and the writing corresponding to the touch point is displayed on the layer.
The following respectively describes processes of displaying a target writing script corresponding to the writing touch data on the display screen by the first operating system and the second operating system according to the handwriting attribute information.
Firstly, a first operating system displays a first target writing process corresponding to the writing touch data on a display screen according to the writing attribute information.
To facilitate description of the process, fig. 4 is a schematic diagram of touch points collected by a touch frame of a display screen when a user writes the handwriting shown in fig. 3 according to an embodiment of the present invention. It should be noted that fig. 4 is only for illustrative purposes, and in practice, the number of touch points in the writing touch data generated by the user writing on the display screen is far more than that illustrated in fig. 4; in addition, when these touch points are displayed to generate the first handwriting target, a smooth and continuous curve as shown in fig. 3 is actually displayed on the display screen, and the touch points are not dispersed one by one as illustrated in fig. 5 and 6.
Responding to the occurrence of a pen starting writing action of a user on the display screen, starting a touch event, continuously receiving touch points acquired by a touch frame of the display screen from a writing starting point by the first operating system, and rendering newly received touch points according to handwriting attribute information; and meanwhile, counting the number of the touch points.
The drawing and displaying of the handwriting corresponding to the first operating system are used for solving the problem of displaying delay of the handwriting when the writing software is used. Therefore, it is only required to ensure that the display of the first target writing trace follows the writing of the user in real time, and it is not required to ensure that the displayed first target writing trace contains writing traces corresponding to all touch points generated by the writing of the user. In addition, in view of the foregoing problems of the rendering difference and the flicker phenomenon, the first target writing is not as long as possible, and the overlapping portion with the second target writing does not need to be as long as possible. In a specific implementation process, the less the overlapping part of the first target writing handwriting and the second target writing handwriting is, the shorter the length of the first target writing handwriting is, and the less obvious the rendering difference between the first target writing handwriting and the second target writing handwriting is; when the user finishes writing and erases the first target writing handwriting, the flicker phenomenon is less obvious. Therefore, the touch point reserved quantity is preset in the first operating system, the first operating system sequentially displays a plurality of touch points on the display screen according to the preset touch point reserved quantity to generate a first target writing trace, and simultaneously sequentially deletes a plurality of touch points close to a writing starting point in the target rendered writing trace, wherein the writing starting point is a touch point correspondingly generated when a writing action during the writing trace drawing at this time starts.
The method comprises the steps of displaying a plurality of touch points on a display screen in sequence to generate a first target writing, and substantially displaying the plurality of touch points on a transparent layer in sequence to generate the first target writing, wherein the transparent layer is created after receiving a writing starting instruction sent by a second operating system.
It can be understood that, for the newly rendered touch point, before the newly rendered touch point is displayed, the writing handwriting generated by the rendered touch point displayed on the transparent layer is the target rendered handwriting. Since the number of the touch points displayed on the display screen to generate the first target handwriting is less than or equal to the reserved number of the touch points preset in the first operating system, the first operating system needs to determine the number of the touch points currently displayed in the transparent layer before the newly rendered touch points are displayed on the transparent layer. If the number of the currently displayed touch points in the transparent layer is smaller than the preset touch point reserved number, directly displaying newly rendered touch points in the transparent layer; and if the number of the currently displayed touch points in the transparent layer is equal to the preset touch point reserved number, deleting the touch points close to the writing starting point in the target rendered handwriting, and simultaneously displaying the newly rendered touch points in the transparent layer so as to enable the number of the currently displayed touch points in the transparent layer to be equal to the preset touch point reserved number. Through the method, newly rendered touch points can be sequentially displayed, and the number of the touch points of the first target writing handwriting is less than or equal to the reserved number of the touch points preset in the first operating system.
For convenience of understanding, a drawing process of the first target writing script is exemplarily described in conjunction with fig. 5, and fig. 5 is a drawing schematic diagram of the first target writing script provided by the embodiment of the present invention.
Assuming that the preset reserved number of the touch points is 8, when the number of the touch points displayed in the transparent layer is less than 8, the condition of erasing the touch points close to the writing starting point in the target rendered handwriting is not met because the preset reserved number of the touch points is not met, at this time, all the received rendered touch points are displayed on the transparent layer from the touch point corresponding to the writing starting point, and the handwriting corresponding to the touch points is the first target handwriting.
When the number of the touch points displayed in the transparent layer is equal to 8, due to the fact that the condition of deleting the touch points close to the writing starting point in the target rendered handwriting is achieved, at the moment, if the touch points needing to be displayed and newly rendered are received, the touch points in the target rendered handwriting need to be deleted; and writing scripts corresponding to the 8 touch points displayed in the current transparent layer are rendered target writing scripts.
As shown in fig. 5, it is assumed that 8 touch points shown in fig. 5a are displayed on the current transparent layer, and if the first operating system receives the 9 th touch point to be displayed at this time, the touch point corresponding to the writing start point in the target rendered writing shown in fig. 5a is deleted, and the 9 th touch point is displayed on the transparent layer at the same time, as shown in fig. 5b, the writing corresponding to the 8 black touch points in fig. 5b is the first target writing.
It will be appreciated that the writing start point shown in FIG. 5b is not displayed in the transparent layer; for the 10 th newly rendered touch point to be displayed, the first target writing trace shown in fig. 5b is the target rendered writing trace. Actually, the first target writing handwriting and the target rendered writing handwriting are continuously updated and changed along with the continuous receiving of the touch points; and the first target writing handwriting sequentially displays the newly rendered touch points, and the target rendered writing sequentially deletes the rendered touch points close to the writing starting point.
As the writing behavior of the user continues, the first target writing trace sequentially displays the newly rendered touch points until the writing end point, as shown in fig. 5c, where the first target writing trace includes 8 touch points including the writing end point.
And in response to a writing end operation triggered by the user, for example, the user lifts the pen to end writing, the touch event is ended, and after a set time length, the first operating system deletes the first target writing trace in fig. 5 c. And the set time length is greater than the time difference between the display delay time of the second target writing and the display delay time of the first target writing.
In practical application, according to a preset reserved number of touch points, sequentially displaying a plurality of touch points on a display screen to generate a first target writing trace, and simultaneously sequentially deleting the plurality of touch points close to a writing starting point in the target rendered writing trace. Specifically, if the number of the currently stored rendered touch points in the display cache area is less than the preset touch point reserved number, directly storing the newly rendered touch points; if the number of the rendered touch points currently stored in the display cache area is equal to the preset touch point reserved number, deleting the rendered touch points with earlier storage time in sequence from the stored rendered touch points according to the sequence of the writing time from morning to evening, and storing the newly rendered touch points so as to ensure that the number of the rendered touch points stored in the display cache area is equal to the preset touch point reserved number. And finally, displaying the touch points in the display cache area on the transparent layer to generate the first target writing.
For the second operating system, the process of displaying the second target writing corresponding to the writing touch data on the display screen is less complicated than the above process.
Along with writing of a user, the second operating system continuously receives touch points acquired by the display screen touch frame, renders the received touch points according to handwriting attribute information, and then sequentially displays the touch points on a writing software layer in an operating interface of the writing software, wherein writing handwriting corresponding to the touch points displayed on the writing software layer in the operating interface of the writing software is a second target writing handwriting. It is easy to understand that the operation interface of the writing software includes functional button display areas, such as a display area of a menu bar, and a layer display area of the writing software.
In the above, the process of displaying the first target writing script and the second target writing script on the display screen is respectively described. In fact, the touch points acquired by the display screen touch frame are simultaneously sent to the first operating system and the second operating system, the transparent layer and the layer of the writing software correspond to each other, the transparent layer is arranged above the layer of the writing software, so that the first target writing handwriting can be displayed by covering the first target writing handwriting on the second target writing handwriting, and as the transparent layer only displays the first target writing, the display interface on the display screen seen by the transparent layer is as shown in fig. 6.
Because the display delay of the first target writing trace is less than that of the second target writing trace, when a user writes, the first target writing trace is displayed on the display screen firstly for the same touch point, and the second target writing trace is displayed later than the first target writing trace under the coverage of the first target writing trace. It should be noted that, the second target writing trace displayed under the coverage of the first target writing trace means that the second target writing trace is displayed on the writing software layer, because the first target writing trace is displayed while being covered on the second target writing trace, the actual first target writing trace displayed on the display screen is the first target writing trace, and only after the target rendered writing trace is partially erased, the corresponding position on the second target writing trace is not covered any more, and the second target writing trace can be really displayed on the display screen.
And when the writing is finished, deleting the first target writing handwriting after a set time length, and completely displaying the second target writing on the display screen. The time length is set to ensure that the second target writing script is completely displayed on the layer of the writing software.
In the handwriting display processing method provided by the above embodiment, in response to a writing start operation triggered by a user in the writing software, the first operating system receives a writing start instruction sent by the second operating system; then, acquiring handwriting attribute information from a second operating system, and acquiring writing touch data currently input on a display screen by a user; then, displaying a first target writing script corresponding to the writing touch data on a display screen according to the handwriting attribute information, and performing partial erasing processing on the target rendered writing script, wherein the target rendered writing script is rendered by the first operating system based on the previously input writing touch data; and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing handwriting.
Therefore, in the embodiment of the invention, when a user writes on the display screen by using the writing software running in the second operating system, the first operating system and the second operating system respectively draw and display the first target writing handwriting and the second target writing according to the handwriting attribute information set in the writing software and the writing touch data currently input on the display screen by the user, wherein the first target writing covers the second target writing for displaying, and because the display time delay of the first operating system is smaller, the first target writing is displayed on the display screen before the second target writing, compared with the method in which the writing drawing display is performed only by the second operating system, the method can reduce the display time delay of the writing. In addition, the first operating system performs drawing and erasing while displaying the writing, and only displays the first target writing corresponding to the touch points with the preset reserved quantity on the display screen. Therefore, when the first target writing handwriting and the second target writing handwriting are displayed on the display screen at the same time, because the number of touch points corresponding to the first target writing handwriting is limited, even if the rendering effects of the two operating systems on the writing handwriting are different, a user cannot easily perceive the writing, and finally when the second target writing handwriting is displayed, the deleted first target writing handwriting is shorter in length compared with the second target writing handwriting, and the obvious flicker phenomenon cannot be generated.
An embodiment of the present invention further provides a handwriting display processing system, as shown in fig. 1, including: the display device comprises a first operating system, a second operating system and a display screen, wherein writing software runs on the second operating system, the first operating system and the second operating system share the display screen, and the writing display delay of the first operating system is smaller than that of the second operating system.
During specific implementation, the first operating system is used for receiving a writing starting instruction sent by the second operating system, acquiring handwriting attribute information from the second operating system, acquiring writing touch data input by a user on the display screen, displaying a first target writing trace corresponding to the writing touch data on the display screen according to the handwriting attribute information, and performing partial erasing processing on the target rendered writing trace, wherein the target rendered writing trace is rendered by the first operating system based on the previously input writing touch data, and the first target writing trace is displayed by covering the second target writing trace.
And the second operating system is used for responding to the writing starting operation triggered by the user in the writing software, sending a writing starting instruction to the first operating system, providing handwriting attribute information to the first operating system, and displaying writing touch data on the display screen according to the handwriting attribute information to obtain a second target writing handwriting.
And the display screen is used for displaying the first target writing handwriting and the second target writing handwriting.
The handwriting display processing apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these means can each be constructed using commercially available hardware components and by performing the steps taught in this disclosure.
Fig. 7 is a schematic structural diagram of a device for displaying and processing handwriting according to an embodiment of the present invention, which is applied to a first operating system, where the first operating system and a second operating system running writing software share a display screen, and a handwriting display delay of the first operating system is smaller than that of the second operating system, as shown in fig. 7, the device includes: a receiving module 11 and a processing module 12.
The receiving module 11 is configured to receive a writing start instruction sent by the second operating system in response to a writing start operation triggered in the writing software by a user; and acquiring handwriting attribute information from the second operating system, and acquiring writing touch data currently input on the display screen by the user.
And the processing module 12 is configured to display a first target writing trace corresponding to the writing touch data on the display screen according to the trace attribute information, and perform partial erasing processing on a target rendered writing trace, where the target rendered writing trace is rendered by the first operating system based on the previously input writing touch data.
And the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing handwriting.
Optionally, the processing module 12 is further configured to create a transparent layer after receiving a writing start instruction sent by the second operating system, and place the transparent layer on an operation interface of the writing software; displaying a first target writing handwriting corresponding to the writing touch data on the transparent layer; and the display screen displays an operation interface of the writing software, and the second target writing handwriting is displayed on a writing software layer in the operation interface.
Optionally, the processing module 12 is further configured to sequentially display the multiple touch points on the display screen according to the preset reserved number of the touch points to generate the first target writing trace, and simultaneously sequentially delete the multiple touch points close to the writing starting point in the target rendered writing trace.
Optionally, the processing module 12 is further configured to sequentially write the plurality of touch points into a display cache area corresponding to the first operating system, and sequentially delete the stored touch points from the display cache area according to the sequence of the writing time from morning to evening, so as to determine that the number of touch points stored in the display cache area matches the reserved number of touch points.
Optionally, the processing module 12 is further configured to delete the first target writing trace after a set time length in response to a writing end operation triggered by the user. And the set time length is greater than the time difference between the display delay time of the second target writing and the display delay time of the first target writing.
The apparatus shown in fig. 7 can perform the steps described in the foregoing embodiments, and the detailed performing process and technical effects refer to the descriptions in the foregoing embodiments, which are not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes: a memory 21, a processor 22, a communication interface 23; wherein the memory 21 has stored thereon executable code which, when executed by the processor 22,
the processor 22 is made to implement at least the handwriting display processing method as provided in the foregoing embodiments.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to implement at least the handwriting display processing method as provided in the foregoing embodiment.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A handwriting display processing method is applied to a first operating system, the first operating system and a second operating system running writing software share a display screen, the handwriting display delay of the first operating system is smaller than that of the second operating system, and the method comprises the following steps:
receiving a writing starting instruction sent by the second operating system in response to a writing starting operation triggered by a user in the writing software;
acquiring handwriting attribute information from the second operating system, and acquiring writing touch data currently input on the display screen by the user;
displaying a first target writing trace corresponding to the writing touch data on the display screen according to the trace attribute information, and performing partial erasing processing on a target rendered writing trace, wherein the target rendered writing trace is rendered by the first operating system based on the previously input writing touch data;
and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing.
2. The method of claim 1, wherein after receiving a writing start instruction sent by the second operating system, further comprising:
creating a transparent layer, and placing the transparent layer on an operation interface of the writing software;
the displaying a first target writing script corresponding to the writing touch data on the display screen includes:
displaying a first target writing handwriting corresponding to the writing touch data on the transparent layer;
and displaying an operation interface of the writing software on the display screen, wherein the second target writing handwriting is displayed on a writing software layer in the operation interface.
3. The method according to claim 1, wherein the writing touch data includes a plurality of touch points, and the displaying a first target writing trace corresponding to the writing touch data on the display screen and performing partial erasing processing on the target rendered writing trace comprises:
and sequentially displaying the touch points on the display screen according to the preset reserved quantity of the touch points to generate the first target writing trace, and simultaneously sequentially deleting the touch points close to the writing starting point in the target rendered writing trace.
4. The method of claim 3, further comprising:
and sequentially writing the touch points into a display cache region corresponding to the first operating system, and sequentially deleting the stored touch points from the display cache region according to the sequence of writing time from morning to evening so as to determine that the number of the touch points stored in the display cache region is matched with the reserved number of the touch points.
5. The method of claim 1, further comprising:
and in response to the writing ending operation triggered by the user, deleting the first target writing handwriting after the set time length.
6. The method as recited in claim 5, wherein the set duration is greater than a time difference between a display delay time of the second target writing and a display delay time of the first target writing.
7. A handwriting display processing system, comprising:
the system comprises a first operating system, a second operating system and a display screen, wherein writing software runs on the second operating system, the first operating system and the second operating system share the display screen, and the writing display delay of the first operating system is smaller than that of the second operating system;
the first operating system is used for receiving a writing starting instruction sent by the second operating system, acquiring handwriting attribute information from the second operating system, acquiring writing touch data input by a user on the display screen, displaying a first target writing handwriting corresponding to the writing touch data on the display screen according to the handwriting attribute information, and performing partial erasing processing on a target rendered writing, wherein the target rendered writing is rendered by the first operating system based on the previously input writing touch data, and the first target writing is displayed by covering the second target writing;
the second operating system is used for responding to a writing starting operation triggered by the user in the writing software, sending the writing starting instruction to the first operating system, providing the handwriting attribute information to the first operating system, and displaying the writing touch data on the display screen according to the handwriting attribute information to obtain a second target writing handwriting;
and the display screen is used for displaying the first target writing handwriting and the second target writing handwriting.
8. The utility model provides a writing shows processing apparatus which characterized in that is applied to first operating system, first operating system and the second operating system that has the software of writing of operation share the display screen, the writing of first operating system shows the time delay and is less than second operating system, the device includes:
the receiving module is used for responding to the writing starting operation triggered by the user in the writing software and receiving a writing starting instruction sent by the second operating system; acquiring handwriting attribute information from the second operating system, and acquiring writing touch data currently input on the display screen by the user;
the processing module is used for displaying a first target writing handwriting corresponding to the writing touch data on the display screen according to the handwriting attribute information and performing partial erasing processing on the target rendered writing, wherein the target rendered writing is rendered by the first operating system based on the previously input writing touch data;
and the second operating system displays the writing touch data on the display screen according to the handwriting attribute information to obtain the second target writing.
9. An electronic device, comprising: a memory, a processor, a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform a handwriting display processing method according to any of claims 1 to 6.
10. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform a writing script display processing method as claimed in any one of claims 1 to 6.
CN202111564895.8A 2021-12-20 2021-12-20 Handwriting display processing method, system, device, equipment and storage medium Pending CN114237481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111564895.8A CN114237481A (en) 2021-12-20 2021-12-20 Handwriting display processing method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111564895.8A CN114237481A (en) 2021-12-20 2021-12-20 Handwriting display processing method, system, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114237481A true CN114237481A (en) 2022-03-25

Family

ID=80759658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111564895.8A Pending CN114237481A (en) 2021-12-20 2021-12-20 Handwriting display processing method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114237481A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114675775A (en) * 2022-04-24 2022-06-28 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium
WO2024113630A1 (en) * 2022-12-02 2024-06-06 北京鸿合爱学教育科技有限公司 Accelerated writing method and apparatus, electronic device, and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110122897A (en) * 2010-05-06 2011-11-14 주식회사 지클릭 스페이스 Interactive electric board system and management method using optical sensing pen
CN107422974A (en) * 2017-07-21 2017-12-01 广州视源电子科技股份有限公司 Handwriting writing display method and system based on dual systems, storage medium and equipment
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system based on dual systems, storage medium and equipment
CN108958630A (en) * 2018-07-06 2018-12-07 广州视源电子科技股份有限公司 Writing content display method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110122897A (en) * 2010-05-06 2011-11-14 주식회사 지클릭 스페이스 Interactive electric board system and management method using optical sensing pen
CN107422974A (en) * 2017-07-21 2017-12-01 广州视源电子科技股份有限公司 Handwriting writing display method and system based on dual systems, storage medium and equipment
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system based on dual systems, storage medium and equipment
CN108958630A (en) * 2018-07-06 2018-12-07 广州视源电子科技股份有限公司 Writing content display method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114675775A (en) * 2022-04-24 2022-06-28 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium
WO2024113630A1 (en) * 2022-12-02 2024-06-06 北京鸿合爱学教育科技有限公司 Accelerated writing method and apparatus, electronic device, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109164964B (en) Content sharing method and device, terminal and storage medium
CN109144382B (en) Handwriting display method and device based on dual systems, terminal equipment and storage medium
CN107547750B (en) Control method, device and the storage medium of terminal
CN108024079B (en) Screen recording method, device, terminal and storage medium
CN111651079B (en) Handwriting display method, device, equipment and computer storage medium
CN110908625A (en) Multi-screen display method, device, equipment, system, cabin and storage medium
CN110597444B (en) Handwriting display method and device, terminal device and storage medium
CN110609653B (en) Dual-system equipment, writing method and device thereof and interactive intelligent tablet
CN114237481A (en) Handwriting display processing method, system, device, equipment and storage medium
CN108733296B (en) Method, device and equipment for erasing handwriting
CN114237482A (en) Handwriting display processing method, device, system, equipment and storage medium
US10761718B2 (en) Electronic whiteboard, method for image processing in electronic whiteboard, and recording medium containing computer program of electronic whiteboard
US20130181957A1 (en) Transmission apparatus and system of using the same
CN114598823B (en) Special effect video generation method and device, electronic equipment and storage medium
US12019669B2 (en) Method, apparatus, device, readable storage medium and product for media content processing
CN111679772B (en) Screen recording method and system, multi-screen device and readable storage medium
CN110134310A (en) Content share method and device, electronic equipment and storage medium
CN110337035B (en) Method and device for detecting video playing quality
CN114115637B (en) Display equipment and electronic drawing board optimization method
CN115134317B (en) Message display method, device, storage medium and electronic device
CN110806830A (en) User interaction method and electronic equipment
CN112367295A (en) Plug-in display method and device, storage medium and electronic equipment
JP5949393B2 (en) System, terminal device, and image acquisition method
US11886893B2 (en) Method and device for capturing screen and terminal
US20240176566A1 (en) Processing method and apparatus thereof

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