CN114153417B - Screen updating method and device, storage medium and computer equipment - Google Patents

Screen updating method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114153417B
CN114153417B CN202111516458.9A CN202111516458A CN114153417B CN 114153417 B CN114153417 B CN 114153417B CN 202111516458 A CN202111516458 A CN 202111516458A CN 114153417 B CN114153417 B CN 114153417B
Authority
CN
China
Prior art keywords
handwriting
screen
data
segmented
user
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.)
Active
Application number
CN202111516458.9A
Other languages
Chinese (zh)
Other versions
CN114153417A (en
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.)
ONYX INTERNATIONAL Inc
Original Assignee
ONYX INTERNATIONAL Inc
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 ONYX INTERNATIONAL Inc filed Critical ONYX INTERNATIONAL Inc
Priority to CN202111516458.9A priority Critical patent/CN114153417B/en
Publication of CN114153417A publication Critical patent/CN114153417A/en
Application granted granted Critical
Publication of CN114153417B publication Critical patent/CN114153417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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

According to the screen updating method, the device, the storage medium and the computer equipment provided by the invention, when the handwriting mode triggered by the user is detected, the corresponding handwriting area can be displayed in the screen, so that the user can draw the real-time mobile data in the handwriting area, and before the real-time mobile data drawn by the user is received, the target handwriting pattern selected by the user in the handwriting mode can be determined firstly, and then the received real-time mobile data is rendered in a segmented mode according to the target handwriting pattern.

Description

Screen updating method and device, storage medium and computer equipment
Technical Field
The invention relates to the technical field of screen display, in particular to a screen updating method, a screen updating device, a storage medium and computer equipment.
Background
The electronic ink screen mainly uses electrophoresis technology to realize the display effect close to the traditional paper, so the electronic ink screen is also called electronic paper. Electronic ink screens generally display images by electronic ink, which is usually made into a thin film and composed of a large number of microcapsules, in which pigment particles having different charges are disposed. In the initial state, the pigment particles are suspended in the microcapsules, and when an electric field in a certain direction is applied, the corresponding pigment particles are pushed to the top, the microcapsules can display different colors, and the microcapsules with different colors form various characters and patterns.
As the electronic ink screen is similar to the eye protection characteristic of real paper, the wide application of various electronic ink screen devices and the derived note-taking purpose supporting a handwriting pen are promoted. However, due to the physical characteristics of the electronic ink screen, the screen refresh speed is relatively slow, so that the response time of the handwriting is much slower than that of the actual handwriting input, and the user experience is seriously influenced.
Disclosure of Invention
The invention aims to at least solve one of the technical defects, in particular to the technical defect that the screen refreshing speed of an electronic ink screen in the prior art is slow, so that the response time of handwriting is much slower than that of actual handwriting input, and the user experience is seriously influenced.
The invention provides a screen updating method, which comprises the following steps:
when detecting that a user triggers a handwriting mode, displaying a corresponding handwriting area in a screen;
determining a target handwriting pattern selected by a user in the handwriting mode;
receiving real-time mobile data drawn by a user in the handwriting area, and performing segmented rendering on the real-time mobile data based on the target handwriting style to obtain segmented handwriting data;
and storing the segmented handwriting data into a screen buffer area, and updating the screen based on the segmented handwriting data stored in the screen buffer area.
Optionally, the determining the target handwriting style selected by the user in the handwriting mode comprises:
when detecting that a user triggers a handwriting style selection instruction in the screen, acquiring a plurality of handwriting styles based on the handwriting style selection instruction, and displaying each handwriting style in the screen;
receiving a handwriting style selected by a user in the screen, and taking the selected handwriting style as a target handwriting style.
Optionally, the determining a target handwriting style selected by the user in the handwriting mode further includes:
when a handwriting style selection instruction triggered by a user in the screen is not detected, taking a default handwriting style as a target handwriting style selected by the user in the handwriting mode;
the default handwriting style comprises a handwriting style set by a factory or a handwriting style set by a user before the current handwriting operation.
Optionally, the rendering the real-time mobile data in segments based on the target handwriting style includes:
according to the moving direction of the real-time moving data, carrying out segmentation processing on the real-time moving data to obtain segmented data;
and rendering the segmented data according to the target handwriting style.
Optionally, the method further comprises:
and storing the segmented handwriting data into a memory buffer area, and clearing the segmented handwriting data stored in the memory buffer area when detecting that the user exits the handwriting mode.
Optionally, the method further comprises:
when it is detected that the display information except the real-time mobile data in the screen needs to be updated, an update request is sent to the screen buffer area, so that the screen buffer area updates the display information according to the update request, and the updated display information is displayed on the screen.
Optionally, after sending the update request to the screen buffer, the method further includes:
determining whether the area where the display information is located contains segmented handwriting data or not;
if yes, transmitting the corresponding segmented handwriting data stored in the memory buffer area to the screen buffer area so that the screen buffer area can display the segmented handwriting data on the screen.
The present invention also provides a screen updating apparatus, comprising:
the area display module is used for displaying a corresponding handwriting area in a screen when a user is detected to trigger a handwriting mode;
the handwriting pattern determining module is used for determining a target handwriting pattern selected by a user in the handwriting mode;
the segmentation rendering module is used for receiving real-time mobile data drawn by a user in the handwriting area and performing segmentation rendering on the real-time mobile data based on the target handwriting style to obtain segmentation handwriting data;
and the screen updating module is used for storing the segmented handwriting data into a screen buffer area and updating the screen based on the segmented handwriting data stored in the screen buffer area.
The present invention also provides a storage medium having stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the screen update method as described in any one of the above embodiments.
The present invention also provides an electronic ink screen, comprising: one or more processors, and a memory;
the memory has stored therein computer readable instructions which, when executed by the one or more processors, perform the steps of the screen update method as in any one of the above embodiments.
According to the technical scheme, the embodiment of the invention has the following advantages:
according to the screen updating method, the device, the storage medium and the computer equipment, when the handwriting mode triggered by the user is detected, the corresponding handwriting area can be displayed in the screen, so that the user can draw the real-time mobile data in the handwriting area, and before the real-time mobile data drawn by the user is received, the target handwriting pattern selected by the user in the handwriting mode can be determined firstly, and then the received real-time mobile data is subjected to segmented rendering according to the target handwriting pattern.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a screen updating method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a screen updating apparatus according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As the electronic ink screen is similar to the eye protection characteristic of real paper, the wide application of various electronic ink screen devices and the derived note-taking purpose supporting a handwriting pen are promoted. However, due to the physical characteristics of the electronic ink screen, the screen refresh speed is relatively slow, so that the response time of the handwriting is much slower than that of the actual handwriting input, and the user experience is seriously influenced.
Based on this, the following technical solutions are proposed in the present application, specifically see the following:
in an embodiment, as shown in fig. 1, fig. 1 is a schematic flowchart of a screen updating method according to an embodiment of the present invention; the invention provides a screen updating method, which comprises the following steps:
s110: and when the fact that the user triggers the handwriting mode is detected, displaying a corresponding handwriting area in the screen.
In this step, when a user uses an electronic device, for example, uses a related application in the electronic ink screen device to perform a handwriting drawing operation, the electronic ink screen device provides a system interface for the related application, the system interface may be used to set the current application to enter or exit a handwriting mode, and the electronic ink screen device may further provide an interface to set a screen area allowing handwriting, that is, an allowed handwriting area, so that when it is detected that the user triggers the handwriting mode, a corresponding handwriting area may be displayed in the screen, so that the user performs a handwriting drawing operation in the handwriting area.
It can be understood that, the electronic ink screen device provided by the present application may have a plurality of different types of application programs installed therein, such as an application program for performing a handwriting drawing operation, and the application program may generate corresponding display information, such as handwriting, in response to the handwriting drawing operation of the user.
S120: a target handwriting pattern selected by a user in a handwriting mode is determined.
In this step, after the corresponding handwriting area is displayed in the screen through S110, the target handwriting style selected by the user in the handwriting mode may be determined, so as to perform a rendering operation on the real-time mobile data drawn by the user according to the target handwriting style.
The target handwriting style includes, but is not limited to, handwriting thickness, handwriting color, handwriting type, and the like, the handwriting thickness can be respectively graded by several grades, the handwriting color can be divided into various colors, such as red, yellow, blue, green, and the like, and the handwriting type can be divided into pens, pencils, ball pens, writing brushes, mark pens, and the like.
Further, when determining the target handwriting style selected by the user, the method may determine according to the handwriting thickness, the handwriting color and the handwriting type selected by the user in the application interface at present, may also determine according to the handwriting thickness, the handwriting color and the handwriting type selected in the user history data, and the like, and may also determine according to the default handwriting thickness, the handwriting color and the handwriting type in the application program under the condition that the user does not select the handwriting style.
S130: and receiving real-time mobile data drawn by a user in the handwriting area, and performing segmented rendering on the real-time mobile data based on the target handwriting style to obtain segmented handwriting data.
In this step, after the target handwriting style selected by the user in the handwriting mode is determined through S120, the application may receive real-time mobile data drawn by the user in the current handwriting area, and perform segment rendering on the real-time mobile data according to the target handwriting style selected by the user in the handwriting mode, so as to obtain segment handwriting data.
It is understood that the real-time movement data herein refers to a series of continuous or discontinuous point data drawn by the user in the handwriting area, the point data including, but not limited to, coordinate information, time information, pressure sensing information, etc. For the acquisition of the real-time mobile data, the real-time mobile data can be read through a stylus sensing device, and the touch point coordinates can also be read through a touch screen, which is not limited herein.
Further, the real-time mobile data drawn by the user in the handwriting area is received by the method, and the real-time mobile data is a series of continuous or discontinuous point data, so that the response speed of the screen is further improved, the method can perform segmentation processing on the real-time mobile data when handwriting rendering is performed, the data volume of the segmented real-time mobile data is small, the rendering efficiency of the segmented real-time mobile data is high when the segmented real-time mobile data is rendered, and the response speed of the screen can be effectively improved.
For example, when the real-time moving data is segmented, the segmentation may be performed according to coordinate information of a series of continuous or discontinuous point data, such as a set of point data with consistent abscissa as a segment of real-time moving data, or a set of point data with consistent ordinate as a segment of real-time moving data; or performing segmentation processing according to pressure sensing information of a series of continuous or discontinuous point data, for example, using a set of point data of which the pressure value range in the pressure sensing information is within a certain set range as a segment of real-time moving data; the data may be segmented according to time information of a series of continuous or discontinuous point data, for example, according to the time sequence, a set of point data in a certain set time range is used as a segment of real-time mobile data. Other modes capable of implementing the segmentation processing in the present application can be taken as preferred schemes in the present application, and are not limited herein.
Furthermore, after the real-time mobile data is segmented, the segmented real-time mobile data can be rendered according to a predetermined target handwriting pattern, so that the segmented handwriting data is obtained. If the real-time mobile data is segmented, the segmented real-time mobile data can be rendered according to preset handwriting thickness, handwriting color, handwriting type and the like, so that corresponding segmented handwriting data can be obtained.
S140: and storing the segmented handwriting data into a screen buffer area, and updating the screen based on the segmented handwriting data stored in the screen buffer area.
In this step, the real-time mobile data drawn by the user in the handwriting area is received through S130, and the real-time mobile data is rendered in segments based on the target handwriting style, so that after the segmented handwriting data is obtained, the segmented handwriting data can be stored in the screen buffer area, and the screen is updated based on the segmented handwriting data stored in the screen buffer area, thereby achieving the effect of updating the screen in time.
For example, an interactive interface of each application program, such as an interactive interface of an application program capable of performing a handwriting drawing operation, may be displayed on an ink screen of the electronic ink screen device, and a handwriting drawing component and a parameter control component provided by the application program may be displayed in the interactive interface. The handwriting drawing component can be used for receiving handwriting drawing operation and determining real-time moving data corresponding to the handwriting drawing operation; and the parameter control component can be used for setting handwriting styles, such as handwriting thickness, handwriting color, handwriting type and the like. After the application program receives the real-time mobile data and the target handwriting style through the handwriting drawing component and the parameter control component, the target handwriting style can be utilized to perform segmented rendering on the real-time mobile data, and segmented handwriting data obtained after segmented rendering is updated to a screen buffer area, so that a screen is updated through the segmented handwriting data stored in the screen buffer area.
It is understood that the screen buffer in this application refers to a memory map corresponding to the pixel content of the display. For example, when the display resolution is 1920x1080, it includes 1920x1080 pixel data, and the corresponding screen buffer is a memory area including 1920x1080 pixel data, and the pixel data generally refers to a color value of the pixel, for example, the ARGB32 format is a color value occupying 4 bytes.
According to the method and the device, in order to improve the display efficiency of the screen and the running efficiency of the program, the generated segmented handwriting data can be put into the screen buffer area, and when the updating condition is met, the segmented handwriting data stored in the screen buffer area is displayed on the screen, so that the handwriting drawn on the screen by the user can be displayed in time.
In the above embodiment, when it is detected that the user triggers the handwriting mode, a corresponding handwriting area may be displayed in the screen, so that the user draws real-time mobile data in the handwriting area, and before receiving the real-time mobile data drawn by the user, a target handwriting pattern selected by the user in the handwriting mode may be determined first, and then the received real-time mobile data is rendered in segments according to the target handwriting pattern.
In one embodiment, the determining the target handwriting pattern selected by the user in the handwriting mode in S120 may include:
s121: when detecting that a user triggers a handwriting style selection instruction in the screen, acquiring a plurality of handwriting styles based on the handwriting style selection instruction, and displaying each handwriting style in the screen.
S122: receiving a handwriting style selected by a user in the screen, and taking the selected handwriting style as a target handwriting style.
In this embodiment, when determining the target handwriting style of the user, it may be detected whether the user triggers a handwriting style selection instruction in the screen, and if the handwriting style selection instruction is triggered, a plurality of pre-stored handwriting styles may be called according to the handwriting style selection instruction, and each handwriting style may be displayed in the screen for the user to select.
It can be understood that, since the handwriting styles in the present application include, but are not limited to, handwriting thickness, handwriting color, handwriting type, and the like, the handwriting thickness may be respectively in several grades, the handwriting color may be divided into various colors, such as red, yellow, blue, green, and the like, and the handwriting type may be divided into pens, pencils, ball pens, writing brushes, mark pens, and the like.
Therefore, when each handwriting style is displayed, the handwriting thickness of multiple levels can be displayed in the display area corresponding to the handwriting thickness, different color types are displayed in the display area corresponding to the handwriting color, and the handwriting of different types is displayed in the display area corresponding to the handwriting type, so that a user can conveniently select the corresponding handwriting thickness, the handwriting color and the handwriting type, and after the handwriting style selected by the user in a screen is received, the handwriting style can be used as a target handwriting style.
In one embodiment, the determining the target handwriting pattern selected by the user in the handwriting mode in S120 may further include:
s123: and when the handwriting mode selection instruction triggered by the user in the screen is not detected, taking the default handwriting mode as the target handwriting mode selected by the user in the handwriting mode.
In this embodiment, before the user draws the real-time mobile data in the screen, if it is not detected that the user triggers a handwriting style selection instruction, at this time, the default handwriting style may be used as a target handwriting style selected by the user in a handwriting mode, and the real-time mobile data is rendered in a segmented manner according to the target handwriting style.
The default handwriting style may be a handwriting style set in factory settings, or a handwriting style set by the user before the current handwriting operation, that is, the corresponding handwriting style is called according to the history of the user to perform segment rendering.
In one embodiment, the step of rendering the real-time movement data based on the target writing style in the step S130 by segments may include:
s131: and according to the moving direction of the real-time moving data, carrying out segmentation processing on the real-time moving data to obtain segmented data.
S132: and rendering the segmented data according to the target handwriting style.
In this embodiment, when the real-time mobile data is rendered in a segmented manner, the real-time mobile data may be processed in a segmented manner according to the moving direction of the real-time mobile data, so as to obtain the segmented data, and then the segmented data is rendered according to the target handwriting style, so as to obtain the segmented handwriting data.
When the real-time moving data is segmented according to the moving direction of the real-time moving data, the real-time moving data with the consistent moving direction can be used as a segment of data to be segmented to obtain segmented data; further, the moving direction here may be the abscissa of the point data corresponding to the real-time moving data is consistent, the ordinate of the point data corresponding to the real-time moving data is consistent, or the time information of the point data corresponding to the real-time moving data is within the set time range, which is not limited herein.
In one embodiment, the method may further comprise:
s150: and storing the segmented handwriting data into a memory buffer area, and clearing the segmented handwriting data stored in the memory buffer area when detecting that the user exits the handwriting mode.
In the embodiment, after the segmented handwriting data are obtained, in order to avoid the possibility that the written handwriting in the screen is lost due to the fact that only the screen buffer area is used for temporary storage, the segmented handwriting data after segmented rendering can be stored in the memory buffer area, and when the user is detected to exit the handwriting mode, the segmented handwriting data stored in the memory buffer area are cleared.
It can be understood that all the segmented handwriting data drawn in the handwriting mode can be stored in the memory buffer area of the application, when the system enters the handwriting mode, a handwriting event in the handwriting area can be monitored, when the handwriting pen falls down, the handwriting drawing is started, the actual handwriting is drawn according to the set handwriting pattern along with the movement of the handwriting pen, when the handwriting pen is lifted, the handwriting drawing is stopped, and the segmented handwriting data generated in the whole process can be stored in the memory buffer area, so that the segmented handwriting data of the corresponding area can be called through the memory buffer area subsequently.
Further, the memory buffer area in the application may be a section of buffer area opened in the memory, or may be a buffer area in a stack form, and the buffer area is used as an area for storing the segmented handwriting data in the handwriting mode, and can backup all the segmented handwriting data in the handwriting mode for the need from time to time.
In one embodiment, the method may further comprise:
s160: when it is detected that the display information except the real-time mobile data in the screen needs to be updated, an update request is sent to the screen buffer area, so that the screen buffer area updates the display information according to the update request, and the updated display information is displayed on the screen.
In this embodiment, in the handwriting process, if the current application or another application in the electronic device needs to update the screen, that is, when it is detected that the display information in the screen except the real-time mobile data needs to be updated, an update request may be sent to the screen buffer, and after receiving the update request, the screen buffer updates the display information according to the update request and displays the updated display information in the screen.
For example, in the process of handwriting by the user, if the system display time needs to be updated, an update request may be initiated to the screen buffer, and the data in the screen buffer may be updated according to the update request, so that the data in the screen buffer is displayed in the screen when the screen is refreshed.
In one embodiment, after sending the update request to the screen buffer in S160, the method may further include:
s170: and determining whether the area where the display information is located contains segmented handwriting data.
S180: if yes, transmitting the corresponding segmented handwriting data stored in the memory buffer area to the screen buffer area so that the screen buffer area can display the segmented handwriting data on the screen.
In this embodiment, in the handwriting process, if the current application or another application needs to update the screen, it may be determined whether the area where the display information needs to be updated includes the segmented handwriting data, and if so, the segmented handwriting data stored in the memory buffer and corresponding to the segmented handwriting data included in the area where the display information is located may be transmitted to the screen buffer, so that when the screen is updated through the screen buffer, the segmented handwriting data in the area where the display information is located is updated together, so that the screen is updated while the handwriting is retained.
The screen updating device provided by the embodiment of the present application is described below, and the screen updating device described below and the screen updating method described above may be referred to correspondingly.
In an embodiment, as shown in fig. 2, fig. 2 is a schematic structural diagram of a screen updating apparatus according to an embodiment of the present invention; the invention also provides a screen updating device, which comprises an area display module 210, a handwriting style determination module 220, a segmentation rendering module 230 and a screen updating module 240, and specifically comprises the following steps:
and the area display module 210 is configured to display a corresponding handwriting area in the screen when it is detected that the user triggers the handwriting mode.
A handwriting pattern determination module 220 for determining a target handwriting pattern selected by the user in the handwriting mode.
And the segmentation rendering module 230 is configured to receive real-time mobile data drawn by the user in the handwriting area, and perform segmentation rendering on the real-time mobile data based on the target handwriting style to obtain segmented handwriting data.
And the screen updating module 240 is configured to store the segmented handwriting data in a screen buffer area, and update the screen based on the segmented handwriting data stored in the screen buffer area.
In the above embodiment, when it is detected that the user triggers the handwriting mode, a corresponding handwriting area may be displayed in the screen, so that the user draws real-time mobile data in the handwriting area, and before receiving the real-time mobile data drawn by the user, a target handwriting pattern selected by the user in the handwriting mode may be determined first, and then the received real-time mobile data is rendered in segments according to the target handwriting pattern.
In one embodiment, the handwriting style determination module 220 may include:
and the handwriting style display module is used for acquiring a plurality of handwriting styles based on the handwriting style selection instruction and displaying each handwriting style in the screen when detecting that the user triggers the handwriting style selection instruction in the screen.
And the handwriting pattern receiving module is used for receiving the handwriting pattern selected by the user in the screen and taking the selected handwriting pattern as the target handwriting pattern.
In one embodiment, the handwriting style determination module 220 may further include:
and the default handwriting style selection module is used for taking the default handwriting style as the target handwriting style selected by the user in the handwriting mode when the handwriting style selection instruction triggered by the user in the screen is not detected.
The default handwriting style comprises a handwriting style set by a factory or a handwriting style set by a user before the current handwriting operation.
In one embodiment, the segment rendering module 230 may include:
and the segmentation processing module is used for carrying out segmentation processing on the real-time mobile data according to the moving direction of the real-time mobile data to obtain segmented data.
And the rendering module is used for rendering the segmented data according to the target handwriting style.
In one embodiment, the apparatus may further include:
and the cache module is used for storing the segmented handwriting data into a memory buffer area and clearing the segmented handwriting data stored in the memory buffer area when detecting that the user exits the handwriting mode.
In one embodiment, the apparatus may further include:
and the information updating module is used for sending an updating request to the screen buffer area when detecting that the display information except the real-time mobile data in the screen needs to be updated, so that the screen buffer area updates the display information according to the updating request and displays the updated display information on the screen.
In one embodiment, the apparatus may further include:
and the handwriting determining module is used for determining whether the area where the display information is located contains segmented handwriting data.
And the handwriting display module is used for transmitting the corresponding segmented handwriting data stored in the memory buffer area to the screen buffer area if the segmented handwriting data is contained in the memory buffer area, so that the screen buffer area displays the segmented handwriting data on the screen.
In one embodiment, the present invention also provides a storage medium having computer readable instructions stored therein, which when executed by one or more processors, cause the one or more processors to perform the steps of the screen update method as described in any one of the above embodiments.
In one embodiment, the present invention also provides an electronic ink screen, comprising: one or more processors, and a memory.
The memory has stored therein computer readable instructions which, when executed by the one or more processors, perform the steps of the screen update method as in any one of the above embodiments.
Fig. 3 is a schematic diagram illustrating an internal structure of a computer device according to an embodiment of the present invention, and the computer device 300 may be provided as a server, as shown in fig. 3. Referring to fig. 3, a computer device 300 includes a processing component 302 that further includes one or more processors and memory resources, represented by memory 301, for storing instructions, such as application programs, that are executable by the processing component 302. The application programs stored in memory 301 may include one or more modules that each correspond to a set of instructions. Further, the processing component 302 is configured to execute instructions to perform the screen update method of any of the embodiments described above.
The computer device 300 may also include a power component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input output (I/O) interface 305. The computer device 300 may operate based on an operating system stored in memory 301, such as Windows Server, mac OS XTM, unix, linux, free BSDTM, or the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, the embodiments may be combined as needed, and the same and similar parts may be referred to each other.
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 (9)

1. A screen updating method is applied to an electronic ink screen, and comprises the following steps:
when detecting that a user triggers a handwriting mode, displaying a corresponding handwriting area in a screen;
determining a target handwriting style selected by a user in the handwriting mode;
receiving real-time mobile data drawn by a user in the handwriting area, and performing segmented rendering on the real-time mobile data based on the target handwriting style to obtain segmented handwriting data;
storing the segmented handwriting data into a screen buffer area, and updating the screen based on the segmented handwriting data stored in the screen buffer area;
the step of rendering the real-time mobile data in a segmented manner based on the target handwriting style comprises the following steps:
according to the moving direction of the real-time moving data, carrying out segmentation processing on the real-time moving data to obtain segmented data;
and rendering the segmented data according to the target handwriting style.
2. The screen updating method of claim 1, wherein the determining the target writing pattern selected by the user in the handwriting mode comprises:
when detecting that a user triggers a handwriting style selection instruction in the screen, acquiring a plurality of handwriting styles based on the handwriting style selection instruction, and displaying each handwriting style in the screen;
and receiving a handwriting style selected by a user in the screen, and taking the selected handwriting style as a target handwriting style.
3. A screen update method as recited in claim 2, wherein the determining a target handwriting pattern selected by a user in the handwriting mode, further comprises:
when a handwriting style selection instruction triggered by a user in the screen is not detected, taking a default handwriting style as a target handwriting style selected by the user in the handwriting mode;
the default handwriting style comprises a handwriting style set by a factory or a handwriting style set by a user before the current handwriting operation.
4. The screen updating method according to claim 1, wherein the method further comprises:
and storing the segmented handwriting data into a memory buffer area, and clearing the segmented handwriting data stored in the memory buffer area when detecting that the user exits the handwriting mode.
5. The screen updating method according to claim 4, wherein the method further comprises:
when it is detected that the display information except the real-time mobile data in the screen needs to be updated, an update request is sent to the screen buffer area, so that the screen buffer area updates the display information according to the update request, and the updated display information is displayed on the screen.
6. The screen updating method of claim 5, further comprising, after sending the update request to the screen buffer:
determining whether the area where the display information is located contains segmented handwriting data or not;
if yes, transmitting the corresponding segmented handwriting data stored in the memory buffer area to the screen buffer area so that the screen buffer area can display the segmented handwriting data on the screen.
7. A screen updating device is applied to an electronic ink screen and comprises:
the area display module is used for displaying a corresponding handwriting area in a screen when a user is detected to trigger a handwriting mode;
the handwriting pattern determining module is used for determining a target handwriting pattern selected by a user in the handwriting mode;
the segmentation rendering module is used for receiving real-time mobile data drawn by a user in the handwriting area and performing segmentation rendering on the real-time mobile data based on the target handwriting style to obtain segmentation handwriting data;
the screen updating module is used for storing the segmented handwriting data into a screen buffer area and updating the screen based on the segmented handwriting data stored in the screen buffer area;
the segment rendering module includes:
the segmentation processing module is used for carrying out segmentation processing on the real-time mobile data according to the moving direction of the real-time mobile data to obtain segmented data;
and the rendering module is used for rendering the segmented data according to the target handwriting style.
8. A storage medium, characterized by: the storage medium has stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the screen updating method of any one of claims 1 to 6.
9. An electronic ink screen, comprising: one or more processors, and a memory;
the memory has stored therein computer readable instructions which, when executed by the one or more processors, perform the steps of the screen update method of any of claims 1 to 6.
CN202111516458.9A 2021-12-10 2021-12-10 Screen updating method and device, storage medium and computer equipment Active CN114153417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111516458.9A CN114153417B (en) 2021-12-10 2021-12-10 Screen updating method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111516458.9A CN114153417B (en) 2021-12-10 2021-12-10 Screen updating method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN114153417A CN114153417A (en) 2022-03-08
CN114153417B true CN114153417B (en) 2022-10-28

Family

ID=80451021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111516458.9A Active CN114153417B (en) 2021-12-10 2021-12-10 Screen updating method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114153417B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225260A (en) * 2015-09-25 2016-01-06 中国电子科技集团公司第三十二研究所 Method for realizing original handwriting
CN105677272A (en) * 2015-12-28 2016-06-15 智慧方舟科技有限公司 E-Ink screen terminal, and doodle implementation method and apparatus thereof
CN107015740A (en) * 2017-03-16 2017-08-04 北京猎豹移动科技有限公司 Control method, device and the mobile terminal of mobile terminal screen
CN107196956A (en) * 2017-06-15 2017-09-22 广州视源电子科技股份有限公司 Handwriting data synchronous method and apparatus, storage medium and terminal device
CN108228123A (en) * 2017-12-01 2018-06-29 广州文石信息科技有限公司 Hand-written velocity optimization method, tool and system on EINK screen equipments
CN111427497A (en) * 2019-05-17 2020-07-17 杭州海康威视数字技术股份有限公司 Handwriting display method and device
CN111638851A (en) * 2020-06-04 2020-09-08 科大讯飞股份有限公司 Handwriting display processing method, related device and handwriting interoperation system
CN111857528A (en) * 2020-07-17 2020-10-30 上海墨案智能科技有限公司 Handwriting recording method and device
CN212624039U (en) * 2020-07-15 2021-02-26 上海墨案智能科技有限公司 Electronic reader capable of improving handwriting delay
CN113190166A (en) * 2021-06-30 2021-07-30 广州文石信息科技有限公司 Handwriting display method and device based on ink screen
CN113239004A (en) * 2021-05-27 2021-08-10 广州文石信息科技有限公司 Method and device for synchronizing notes

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243408A (en) * 2010-05-12 2011-11-16 上海果壳电子有限公司 Method for refreshing electronic ink screen
US20130136377A1 (en) * 2011-11-29 2013-05-30 Samsung Electronics Co., Ltd. Method and apparatus for beautifying handwritten input
US20140361983A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Real-time stroke-order and stroke-direction independent handwriting recognition
US10282867B2 (en) * 2016-03-25 2019-05-07 Microsoft Technology Licensing, Llc Shading for variable opacity stroke rendering
CN109697961B (en) * 2019-02-26 2020-09-11 掌阅科技股份有限公司 Ink screen reading device, screen driving method thereof and storage medium
US11004247B2 (en) * 2019-04-02 2021-05-11 Adobe Inc. Path-constrained drawing with visual properties based on drawing tool
CN112764616B (en) * 2021-01-22 2021-11-26 广州文石信息科技有限公司 Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225260A (en) * 2015-09-25 2016-01-06 中国电子科技集团公司第三十二研究所 Method for realizing original handwriting
CN105677272A (en) * 2015-12-28 2016-06-15 智慧方舟科技有限公司 E-Ink screen terminal, and doodle implementation method and apparatus thereof
CN107015740A (en) * 2017-03-16 2017-08-04 北京猎豹移动科技有限公司 Control method, device and the mobile terminal of mobile terminal screen
CN107196956A (en) * 2017-06-15 2017-09-22 广州视源电子科技股份有限公司 Handwriting data synchronous method and apparatus, storage medium and terminal device
CN108228123A (en) * 2017-12-01 2018-06-29 广州文石信息科技有限公司 Hand-written velocity optimization method, tool and system on EINK screen equipments
CN111427497A (en) * 2019-05-17 2020-07-17 杭州海康威视数字技术股份有限公司 Handwriting display method and device
CN111638851A (en) * 2020-06-04 2020-09-08 科大讯飞股份有限公司 Handwriting display processing method, related device and handwriting interoperation system
CN212624039U (en) * 2020-07-15 2021-02-26 上海墨案智能科技有限公司 Electronic reader capable of improving handwriting delay
CN111857528A (en) * 2020-07-17 2020-10-30 上海墨案智能科技有限公司 Handwriting recording method and device
CN113239004A (en) * 2021-05-27 2021-08-10 广州文石信息科技有限公司 Method and device for synchronizing notes
CN113190166A (en) * 2021-06-30 2021-07-30 广州文石信息科技有限公司 Handwriting display method and device based on ink screen

Also Published As

Publication number Publication date
CN114153417A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US20210243493A1 (en) Video processing method, video processing device, and storage medium
CN113190166B (en) Handwriting display method and device based on ink screen
CN112764616B (en) Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium
CN111651079B (en) Handwriting display method, device, equipment and computer storage medium
US7053905B2 (en) Screen display processing apparatus, screen display processing method and computer program
TWI671647B (en) Method, device and electronic device for calculating the duration of the first screen of a page
JP5516535B2 (en) Electronic information terminal and area setting control program
CN111078035B (en) Drawing method based on HTML5Canvas
CN111949156A (en) Chinese character writing test method and system of writing device and writing device
US8471870B2 (en) Vector-based magnified pointer
US20220139000A1 (en) Device and method for coloring sketch image
JP2017515241A (en) Element deletion method and apparatus based on touch panel
CN107423407B (en) Teaching information recording method, device, terminal and computer readable storage medium
CN114153417B (en) Screen updating method and device, storage medium and computer equipment
CN110737417B (en) Demonstration equipment and display control method and device of marking line of demonstration equipment
JP2596690B2 (en) Method for correlating a cursor position with a display image and computer system provided with correlating means
CN101599263A (en) The display packing of a kind of portable terminal and screen display interface thereof
CN111552410B (en) Method, device, equipment and computer readable storage medium for processing writing trace
CN113507500A (en) Terminal control method, terminal control device, computer equipment and computer-readable storage medium
CN107730571B (en) Method and apparatus for rendering an image
US9190018B2 (en) Vector-based customizable pointing indicia
JP2015056101A (en) Handwriting input device, control program, and control method
CN113535056B (en) Frame selection adjustment method based on InkCanvas and related equipment
CN115509431A (en) Handwriting drawing method, device, equipment and storage medium
CN114756143A (en) Handwriting element deleting method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant