WO2019127941A1 - 手写输入内容的显示方法、电子设备及计算机存储介质 - Google Patents

手写输入内容的显示方法、电子设备及计算机存储介质 Download PDF

Info

Publication number
WO2019127941A1
WO2019127941A1 PCT/CN2018/080055 CN2018080055W WO2019127941A1 WO 2019127941 A1 WO2019127941 A1 WO 2019127941A1 CN 2018080055 W CN2018080055 W CN 2018080055W WO 2019127941 A1 WO2019127941 A1 WO 2019127941A1
Authority
WO
WIPO (PCT)
Prior art keywords
input content
layer
display
image data
cache
Prior art date
Application number
PCT/CN2018/080055
Other languages
English (en)
French (fr)
Inventor
陶红涛
朱文志
Original Assignee
掌阅科技股份有限公司
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 掌阅科技股份有限公司 filed Critical 掌阅科技股份有限公司
Priority to US16/768,411 priority Critical patent/US11494071B2/en
Publication of WO2019127941A1 publication Critical patent/WO2019127941A1/zh

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • 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
    • 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
    • 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/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/171Editing, e.g. inserting or deleting by use of digital ink
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/377Details of the operation on graphic patterns for mixing or overlaying two or more graphic patterns
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • G09G5/397Arrangements specially adapted for transferring the contents of two or more bit-mapped memories to the screen simultaneously, e.g. for mixing or overlay
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/10Mixing of images, i.e. displayed pixel being the result of an operation, e.g. adding, on the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/121Frame memory handling using a cache memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/18Use of a frame buffer in a display terminal, inclusive of the display panel

Definitions

  • the present disclosure relates to the field of computers, and in particular, to a method for displaying handwritten input content, an electronic device, and a non-transitory computer readable storage medium.
  • the layers corresponding to all the drawing operations are saved in a system area (also called system cache), and after all the drawing operations are finished, the layer synthesizing operation is performed on each layer saved in the system cache, and The result of the layer compositing operation is copied into the display cache (also called the frame buffer) for the display cache to synchronize the copied content to the display for display.
  • the system cache stores a plurality of layers respectively corresponding to different applications. Accordingly, in order to display the handwritten input content, a layer for drawing handwritten input content needs to be added to the system cache.
  • the layer compositing operation is performed on each layer in the system cache according to the refresh operation triggered by the user, and the content obtained after the compositing operation is copied into the display cache, so that the content cached by the display buffer is synchronized. Display the display.
  • the handwritten input content can be displayed by the above method.
  • the inventors have found that the above-described schemes in the prior art have at least the following drawbacks: First, when the system cache performs a layer synthesis operation on each layer, it takes a lot of time, and therefore, The compositing operation will result in a delay of at least 10ms. Moreover, when the number of applications in the system is large, resulting in a large number of layers, the delay of the synthesis operation may even reach more than 20ms. Secondly, the result obtained after the compositing operation is copied into the display buffer for the display buffer to synchronize the copied content to the display screen for display, and the copy operation will cause a delay of at least 20 ms. It can be seen that the handwriting input method in the prior art has a long delay and a slow display speed, and the handwritten input content cannot be displayed in near real time.
  • the present disclosure has been made in order to provide a display method, an electronic device, and a non-transitory computer readable storage medium for handwriting input content that overcomes the above problems or at least partially solves the above problems.
  • a method for displaying handwritten input content including:
  • Handwriting input is drawn in a custom layer above the uncomposed layer in the system cache, for the system cache to perform layer composition operations for each uncomposed layer and custom layer, and update the display cache according to the operation result.
  • Image data already stored in .
  • an electronic device including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete communication with each other through a communication bus;
  • the memory is configured to store at least one executable instruction, the executable instruction causing the processor to perform the following operations:
  • Handwriting input is drawn in a custom layer above the uncomposed layer in the system cache, for the system cache to perform layer composition operations for each uncomposed layer and custom layer, and update the display cache according to the operation result.
  • Image data already stored in .
  • a non-transitory computer readable storage medium having stored therein at least one executable instruction that causes a processor to perform the following operations :
  • Handwriting input is drawn in a custom layer above the uncomposed layer in the system cache, for the system cache to perform layer composition operations for each uncomposed layer and custom layer, and update the display cache according to the operation result.
  • Image data already stored in .
  • a computer program product comprising a computing program stored on the non-transitory computer readable storage medium described above.
  • the electronic device, the non-volatile computer readable storage medium, and the computer program product each time the handwritten input content input by the user is acquired, the following two operations are performed:
  • the image data stored in the display buffer is modified according to the handwritten input content, so that the display buffer synchronizes the modified image data to the display screen;
  • the self-synthesis layer is located in the system cache.
  • the handwriting input is drawn in the definition layer for the system cache to perform a layer composition operation for each uncomposed layer and the custom layer, and the image data stored in the display buffer is updated according to the operation result.
  • the method directly draws the handwritten input content onto the stored image data in the display cache, and does not need to perform image synthesis and copy operations via the system cache, thereby greatly improving the display speed. Moreover, since the handwritten input content is drawn on the image data already stored in the display buffer, the display content already existing in the system is not overwritten. Moreover, since the handwritten input content is simultaneously drawn in a custom layer located above each uncomposed layer, when the system performs the compositing operation, the result of the compositing operation still contains the handwritten input content, thereby ensuring the handwriting input content. Will not be overwritten due to system refresh behavior.
  • FIG. 1 is a flowchart of a method for displaying handwritten input content provided by an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for displaying handwritten input content provided by another embodiment of the present disclosure
  • FIG. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the present disclosure.
  • FIG. 1 is a flow chart showing a method for displaying handwritten input content provided by an embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps:
  • Step S110 Acquire handwritten input content input by the user.
  • this step is performed whenever the handwritten input content input by the user is received.
  • the specific connotation of the handwritten input content can be flexibly defined by those skilled in the art.
  • content input by a user through various applications and/or various types of handwriting input modes can be obtained as handwritten input content.
  • a preset application such as an e-book application as handwriting input content, depending on actual business needs.
  • an application that needs to increase the handwriting input speed may be determined in advance as a preset application, and the operations in the subsequent steps are performed only for the content input through the preset application.
  • Step S120 Modify the image data stored in the display buffer according to the handwritten input content, so that the display buffer synchronizes the modified image data to the display screen.
  • the display buffer is used to synchronize the image data to be displayed to the display screen, and may specifically be a video memory or a frame buffer. Therefore, the display content in the display screen is synchronized with the image data stored in the display buffer: each time the image data in the display buffer is updated, the display content in the display screen is also updated accordingly.
  • image data stored in the display buffer is obtained, and the image data may be obtained after performing a synthesizing operation on a plurality of layers. Then, the stored image data is modified according to the handwritten input content, so that the handwritten input content is drawn into the display buffer, thereby simultaneously displaying to the display screen. This step speeds up the display of handwritten input.
  • Step S130 Draw handwriting input content in a custom layer located on each unformed layer in the system cache, so that the system cache performs a layer synthesis operation for each uncomposed layer and a custom layer, according to the operation result. Updates the image data that has been stored in the display cache.
  • the system cache can be various types of cache areas, as long as the purpose of caching each uncomposed layer can be achieved.
  • the system cache is configured to store each unsynthesized layer, and after synthesizing the synthesis instruction, synthesize each uncomposed layer stored therein to obtain new image data, so that the display buffer is stored before being replaced according to the new image data.
  • each unsynthesized layer may correspond to a different user application, or may correspond to a system application in an operating system. It can be seen that whenever the user application or the system application needs to refresh the display screen of the display screen, a composite instruction is triggered to synthesize each layer in the system cache and provide it to the display buffer for display.
  • the system cache receives the synthesis command the image data stored in the display buffer will be overwritten by the composite result output by the system cache. , causing the handwritten input to disappear.
  • the present disclosure further creates a custom layer located above each uncomposed layer and draws handwritten input in a custom layer. Because the custom layer is on top of each uncomposited layer in the system cache, the content in the custom layer is not overwritten.
  • the system cache receives the composition command the content in the custom layer will also participate in the composition operation.
  • the custom layer can be a transparent layer or a semi-transparent layer.
  • the method directly draws the handwritten input content onto the stored image data in the display cache, and does not need to perform image synthesis and copy operations via the system cache, thereby greatly improving the display speed. Moreover, since the handwritten input content is drawn on the image data already stored in the display buffer, the display content already existing in the system is not overwritten. Moreover, since the handwritten input content is simultaneously drawn in a custom layer located above each uncomposed layer, when the system performs the compositing operation, the result of the compositing operation still contains the handwritten input content, thereby ensuring the handwriting input content. Will not be overwritten due to system refresh behavior.
  • FIG. 2 is a flow chart showing a method of displaying handwritten input content provided by another embodiment of the present disclosure. As shown in FIG. 2, the method includes the following steps:
  • Step S210 After receiving the user input content, determine whether the application corresponding to the user input content is a preset application; if yes, determine that the user input content is handwritten input content.
  • an application that needs to increase the handwriting input speed is determined as a preset application in advance, and the operation in the subsequent step is performed only for the content input through the preset application.
  • the preset application mainly refers to an e-book application.
  • the step may be implemented by using at least one of the following two implementation manners: in the first implementation manner, acquiring an application identifier included in the user input content, and determining, according to the application identifier, corresponding to the user input content Whether the application is a preset application, and if so, it is determined that the user input content is handwritten input content.
  • the user needs to input the content through the corresponding application. For example, when the user inputs the content through the e-book application, the user may input through the input interface provided in the e-book application, and accordingly, the user input content will carry the e-book application. Identification to indicate that the content was entered via an e-book application.
  • the application identifier included in the user input content it can be determined whether the application corresponding to the user input content is a preset application, and performing the subsequent step only when the determination result is yes, thereby achieving an increase in the input speed of the e-book. effect.
  • detecting whether the currently running application includes a preset application determining, according to the detection result, whether the application corresponding to the user input content is a preset application, and if yes, determining The user input content is handwritten input content. For example, when the user input content is received, if the currently running application includes an e-book application, the subsequent steps are performed, thereby achieving an effect of increasing the input speed of the e-book.
  • Step S220 Modify the image data stored in the display buffer according to the handwriting input content, so that the display buffer synchronizes the modified image data to the display screen.
  • the display buffer is used to synchronize the image data to be displayed to the display screen, and may specifically be a video memory or a frame buffer.
  • the image data is cached in the display cache. Therefore, the image data may also be referred to as an “image data cache”. As the name suggests, the "image data cache" is only temporarily stored in the display cache, and once the display cache receives the latest composite result provided by the system cache, the "image data cache” will be refreshed.
  • the display buffer is a frame buffer. Therefore, the display content in the display screen is synchronized with the image data stored in the display buffer: each time the image data in the display buffer is updated, the display content in the display screen is also updated accordingly.
  • the image data stored in the display buffer is acquired, and the handwritten input content is added to the image data to obtain the modified image data.
  • the image data stored in the display cache is obtained according to the result of the last execution of the synthesis operation of the system cache mentioned in step S230 (that is, the image data obtained according to the result of the latest synthesis operation that has been executed by the system cache).
  • the synchronization can be performed according to the default synchronization mode in the system. For example, in a synchronous mode, the display buffer synchronizes the modified image data to the display screen in accordance with the received synchronization command.
  • the middle layer of the system is responsible for performing the operation of synchronizing from the display buffer to the display screen, and the middle layer of the system sends a synchronization instruction to the display buffer every preset time interval to synchronize the image data currently stored in the display buffer to the display screen. .
  • the display buffer synchronizes the modified image data to the display screen in real time, which has high real-time performance and ensures real-time synchronization between the display screen and the display buffer.
  • Those skilled in the art can select an appropriate synchronization method as needed.
  • Step S230 Draw handwriting input content in a transparent layer above each unformed layer in the system cache, so that the system cache performs a layer synthesis operation for each uncomposed layer and the transparent layer, and updates the display according to the operation result.
  • the system cache may be a back buffer or other cache areas.
  • the system cache is used to store the uncomposited layers corresponding to the respective applications.
  • the system allocates a canvas for the application in the system cache, and the layer for implementing the canvas is implemented.
  • the number of uncomposed layers in the system cache is also multiple.
  • the system cache receives the synthesis instruction, synthesizes each uncomposed layer stored therein to obtain new image data, so that the display buffer replaces the previously stored image data according to the new image data, thereby achieving the purpose of image refreshing. .
  • each unsynthesized layer may correspond to a different user application, or may correspond to a system application in an operating system.
  • an uncomposited layer corresponding to the photo application is applied in the system cache for drawing the content input by the user through the Mito application.
  • an unsynthesized layer corresponding to the system power is applied in the system cache to draw the power prompt content.
  • the system cache is used for simultaneously storing unsynthesized layers corresponding to each application, and after receiving an application-triggered synthesis instruction, performing a synthesis operation on all uncomposed layers stored in the system cache, and synthesizing The result of the operation is provided to the display cache to update the display of the display through the display cache.
  • a composition instruction is triggered to synthesize each layer in the system cache and provide it to the display buffer for display. For example, when the system application draws the battery charge content, a composition command is triggered to cause a pop-up dialog box to prompt low battery.
  • each unsynthesized layer stored in the system cache is determined, and a transparent layer (also called a custom layer) located on each uncomposed layer is created, and is drawn in the transparent layer.
  • a transparent layer also called a custom layer located on each uncomposed layer
  • the handwritten input content obtained in step S210.
  • a topping operation can be performed on the transparent layer.
  • the synthesis instruction includes: a first synthesis instruction triggered by an operating system and/or a second synthesis instruction triggered by an application.
  • the first synthesizing instruction triggered by the operating system includes: a synthesizing instruction related to the system behavior, such as a synthesizing instruction for displaying the electric quantity prompting screen triggered when the system detects that the electric quantity is lower than the preset threshold.
  • the second compositing instruction triggered by the application includes: a compositing instruction related to the application behavior, such as a compositing instruction for displaying the content corresponding to the application, which is triggered after the content corresponding to the application is drawn.
  • the handwriting input content is directly drawn in the display cache to improve the display speed.
  • the handwriting input content is still saved in the refreshed screen.
  • the present disclosure draws the handwritten input content in the transparent layer to prevent the handwritten input content from being lost due to the synthesis of the layer by other applications, and the handwritten input content has been drawn in the display buffer, therefore, the electronic in the present disclosure
  • the book application does not need to send a composite command to the system cache, which further simplifies the operation complexity and improves the display efficiency.
  • the above transparent layer may be overlaid on each uncomposed layer and the size is the same as the size of the largest unstructured layer in each uncomposed layer to ensure that the user can handwrite in various areas of the display. Input.
  • the transparent layer may cover only the partial area corresponding to each unformed layer, so that the user can perform handwriting input through the corresponding partial area.
  • the transparent layer can be set according to the position and size of the handwritten area included on the display screen.
  • Step S240 When the e-book page turning instruction is received, the handwritten input content drawn in the transparent layer is cleared.
  • a specific application scenario of the embodiment is: in the process of reading the e-book, the user performs an annotation operation on the current page displayed in the e-book by means of handwriting input, and accordingly, the user desires that the handwritten input content only appears in the current In the page, when the user performs the page turning operation, the labeling result corresponding to the previous page is not displayed in the page after the page turning.
  • a transparent layer common to each page is created during the running of the e-book, and the deleted content in the transparent layer is deleted every time the page turning instruction is received. Action to prevent the content of the annotation class written by the user on the previous page from being displayed on the next page.
  • the handwritten input content may be further stored in association with the corresponding current page, so that the user subsequently queries the handwritten content recorded in the page.
  • the user identifier corresponding to the handwritten input content may be further stored, thereby facilitating display of the corresponding handwritten content for different users.
  • a corresponding transparent layer is respectively created for each e-book page, and correspondingly, the operation of creating a transparent layer located above each uncomposed layer can be performed in step S210 or step. Triggered after S220, or triggered whenever an e-book page flipping command is received.
  • the operation of creating a transparent layer may be triggered based on a user's page turning instruction, that is, each time the user flips the e-book to the current page by a page turning instruction, a corresponding transparent layer is created for the current page accordingly, for Stores the handwritten input corresponding to the current page.
  • the initial state of the corresponding transparent layer is empty, thereby avoiding displaying the handwritten input content corresponding to the previous page on the current page; if the user performs on the current page For handwriting operations, the handwritten input will be displayed on the current page through the corresponding transparent layer.
  • those skilled in the art can also combine the above steps into fewer steps or split into more steps.
  • the above steps S220 and S230 may be performed simultaneously or sequentially, and the present disclosure does not limit the execution order between the two.
  • the page in the e-book can be displayed, or the page in the APP can be displayed.
  • the mode in the present disclosure is particularly suitable for use in an e-book reader implemented by an ink screen.
  • the number of display buffers may be at least two, and the data is alternately synchronized to the display screen by the respective display buffers, thereby improving the display efficiency by the multi-cache mechanism.
  • the system cache copies the synthesized result to the first display buffer to be synchronized by the first display buffer to the display screen for display
  • the system cache copies the composite result to the second display buffer for the next time, so as to be The display cache is synchronized to the display for display.
  • the present disclosure further needs to further identify the cache identifier of the display cache currently in use state, and correspondingly, when modifying the image data stored in the display cache according to the handwritten input content, the modification is currently in use according to the handwritten input content.
  • the status of the display shows the image data stored in the cache.
  • the handwriting input content is directly drawn onto the image data stored in the display buffer, and the image synthesis and copy operation is not required to be performed via the system cache, thereby greatly improving the display speed.
  • the handwritten input content is drawn on the image data already stored in the display buffer, the display content already existing in the system is not overwritten.
  • the handwritten input content is simultaneously drawn in a custom layer located above each uncomposed layer, when the system performs the compositing operation, the result of the compositing operation still contains the handwritten input content, thereby ensuring the handwriting input content. Will not be overwritten due to system refresh behavior.
  • the handwritten input content in the custom layer drawn in the system cache is only to prevent the handwritten input content that has been drawn in the display cache from disappearing after the other application triggers the compositing operation, therefore, the e-book application itself in the present disclosure There is no need to actively trigger a compositing operation (also called a picture refresh operation), which simplifies the operation process and improves the operation efficiency.
  • the method can also clear the handwritten content of the previous page according to the page turning operation sent by the user, thereby improving the reading experience of the user using the e-book.
  • the inventors have verified through experiments that the above scheme can shorten the delay time of at least 30ms compared with the prior art.
  • the delay time of 50ms can be shortened, thereby The reading process provides a better experience.
  • An embodiment of the present disclosure provides a non-transitory computer readable storage medium storing at least one executable instruction executable in any of the above method embodiments The method of displaying the handwritten input content.
  • the executable instructions may specifically be used to cause the processor to perform the following operations:
  • Handwriting input is drawn in a custom layer above the uncomposed layer in the system cache, for the system cache to perform layer composition operations for each uncomposed layer and custom layer, and update the display cache according to the operation result.
  • Image data already stored in .
  • executable instructions specifically cause the processor to:
  • the display buffer synchronizing the modified image data to the display specifically includes:
  • the display buffer synchronizes the modified image data to the display according to the received synchronization instruction
  • the display buffer synchronizes the modified image data to the display in real time.
  • executable instructions specifically cause the processor to:
  • the custom layer is a transparent layer.
  • executable instructions specifically cause the processor to:
  • the system cache performs a layer compositing operation for each uncomposed layer and the custom layer according to the received compositing instruction, and updates the image data stored in the display buffer according to the operation result;
  • the synthesis instruction includes: a first synthesis instruction triggered by an operating system and/or a second synthesis instruction triggered by an application.
  • executable instructions specifically cause the processor to:
  • the application corresponding to the user input content is a preset application; if yes, the user input content is determined to be handwritten input content.
  • executable instructions specifically cause the processor to:
  • the preset application includes: an e-book application.
  • executable instructions specifically cause the processor to:
  • the handwritten input content drawn in the custom layer is cleared.
  • the display cache is a frame buffer, and the system cache is a post buffer; and the method is used to display a page in the e-book, and/or the method is used for the page in the APP. Display.
  • FIG. 3 is a schematic structural diagram of an electronic device according to another embodiment of the present disclosure.
  • the specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.
  • the electronic device can include a processor 302, a communications interface 304, a memory 306, and a communications bus 308.
  • the processor 302, the communication interface 304, and the memory 306 complete communication with each other via the communication bus 308.
  • the communication interface 304 is configured to communicate with network elements of other devices, such as clients or other servers.
  • the processor 302 is configured to execute the program 310. Specifically, the related steps in the foregoing method for displaying the handwritten input content may be performed.
  • program 310 can include program code, the program code including computer operating instructions.
  • the processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure.
  • the one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 306 is configured to store the program 310.
  • Memory 306 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the program 310 can be specifically configured to cause the processor 302 to perform the following operations:
  • Handwriting input is drawn in a custom layer above the uncomposed layer in the system cache, for the system cache to perform layer composition operations for each uncomposed layer and custom layer, and update the display cache according to the operation result.
  • Image data already stored in .
  • program 310 specifically causes the processor to perform the following operations:
  • the display buffer synchronizing the modified image data to the display specifically includes:
  • the display buffer synchronizes the modified image data to the display according to the received synchronization instruction
  • the display buffer synchronizes the modified image data to the display in real time.
  • program 310 specifically causes the processor to perform the following operations:
  • the custom layer is a transparent layer.
  • program 310 specifically causes the processor to perform the following operations:
  • the system cache performs a layer compositing operation for each uncomposed layer and the custom layer according to the received compositing instruction, and updates the image data stored in the display buffer according to the operation result;
  • the synthesis instruction includes: a first synthesis instruction triggered by an operating system and/or a second synthesis instruction triggered by an application.
  • program 310 specifically causes the processor to perform the following operations:
  • the application corresponding to the user input content is a preset application; if yes, the user input content is determined to be handwritten input content.
  • program 310 specifically causes the processor to perform the following operations:
  • the preset application includes: an e-book application.
  • program 310 specifically causes the processor to perform the following operations:
  • the handwritten input content drawn in the custom layer is cleared.
  • the display cache is a frame buffer, and the system cache is a back buffer; and the method is used to display a page in the electronic paper book, and/or the method is used in the APP The page is displayed.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.

Abstract

本公开公开了一种手写输入内容的显示方法、电子设备及非易失性计算机可读存储介质,该方法包括:获取用户输入的手写输入内容;根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。

Description

手写输入内容的显示方法、电子设备及计算机存储介质
相关申请的交叉参考
本申请要求于2017年12月26日提交中国专利局、申请号为201711431191.7、名称为“手写输入内容的显示方法、电子设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机领域,具体涉及一种手写输入内容的显示方法、电子设备及非易失性计算机可读存储介质。
背景技术
目前,随着触摸式显示屏的日益流行,越来越多的用户习惯于通过手写输入方式进行内容编辑。为了对手写输入内容进行显示,现有技术中通常采用下述方式实现:
为了便于显示,将所有绘图操作所对应的图层保存在一块系统区域(也叫系统缓存)中,当所有的绘图操作结束之后,对系统缓存中保存的各个图层执行图层合成操作,并将图层合成操作的结果复制到显示缓存(也叫帧缓存)中,以供显示缓存将复制得到的内容同步给显示屏进行显示。其中,由于在操作系统中可能存在多个并行运行的应用,因此,为了同时满足各个应用的绘图需求,系统缓存中存储有多个分别对应于不同应用的图层。相应地,为了对手写输入内容进行显示,需要在系统缓存中新增一个用于绘制手写输入内容的图层。当手写输入完毕后,根据用户触发的刷新操作对系统缓存中的各个图层执行图层合成操作,并将合成操作后得到的内容复制到显示缓存中,以供显示缓存将复制得到的内容同步给显示屏进行显示。通过上述方式即可对手写输入内容进行显示。
但是,在实现本公开的过程中,发明人发现现有技术中的上述方案至少存在下述缺陷:首先,当系统缓存对各个图层执行图层合成操作时,需要耗费大量的时间,因此,合成操作将导致至少10ms的延迟。并且,当系统中 的应用数量较多,致使图层数量也较多时,该合成操作的延迟甚至可能达到20ms以上。其次,将合成操作后得到的结果复制到显示缓存中,以供显示缓存将复制得到的内容同步给显示屏进行显示时,复制操作又将导致至少20ms的延迟。由此可见,现有技术中的手写输入方式的延时较长、显示速度较慢,无法近似实时地对手写输入内容进行显示。
发明内容
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的手写输入内容的显示方法、电子设备及非易失性计算机可读存储介质。
根据本公开的一个方面,提供了一种手写输入内容的显示方法,包括:
获取用户输入的手写输入内容;
根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
根据本公开的另一方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;
存储器用于存放至少一可执行指令,可执行指令使所述处理器执行以下操作:
获取用户输入的手写输入内容;
根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行以下操作:
获取用户输入的手写输入内容;
根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
根据本公开的再一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。
在本公开提供的手写输入内容的显示方法、电子设备及非易失性计算机可读存储介质及计算机程序产品中,每当获取到用户输入的手写输入内容后,执行以下两方面的操作:一方面,根据该手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;另一方面,在系统缓存中位于各个未合成图层之上的自定义图层中绘制该手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。由此可见,该方式直接将手写输入内容绘制到显示缓存中已存储的图像数据上,无需经由系统缓存执行图片合成及复制操作,由此大幅提升了显示速度。并且,由于手写输入内容绘制在显示缓存中已存储的图像数据上,因此,不会覆盖系统中已有的显示内容。而且,由于手写输入内容同时绘制在位于各个未合成图层之上的自定义图层中,因此,当系统执行合成操作时,合成操作的结果中依然包含手写输入内容,从而确保了手写输入内容不会因系统刷新行为而被覆盖。
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。
附图概述
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本公开一个实施例提供的手写输入内容的显示方法的流程图;
图2示出了本公开另一个实施例提供的手写输入内容的显示方法的流程图;
图3示出了根据本公开另一个实施例的一种电子设备的结构示意图。
本公开的较佳实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
实施例一
图1示出了本公开一个实施例提供的手写输入内容的显示方法的流程图。如图1所示,该方法包括以下步骤:
步骤S110:获取用户输入的手写输入内容。
其中,每当接收到用户输入的手写输入内容时,则执行本步骤。具体地,手写输入内容的具体内涵可由本领域技术人员灵活定义。例如,可以将用户通过各类应用和/或各类手写输入方式输入的内容均获取为手写输入内容。又如,也可以仅将用户通过电子书应用等预设应用输入的内容获取为手写输入内容,具体取决于实际的业务需求。例如,可以预先将需要提升手写输入速度的应用确定为预设应用,并仅针对通过预设应用输入的内容执行后续步骤中的操作。
步骤S120:根据手写输入内容修改显示缓存中已存储的图像数据,以 供显示缓存将修改后的图像数据同步给显示屏。
其中,显示缓存用于向显示屏同步待显示的图像数据,具体可以为显存或帧缓存。因此,显示屏中的显示内容与显示缓存中存储的图像数据之间是相互同步的:每当显示缓存中的图像数据更新后,则显示屏中的显示内容也对应更新。
相应地,在本步骤中,首先,获取显示缓存中已存储的图像数据,该图像数据可能是针对多个图层执行合成操作后得到的。然后,根据手写输入内容修改已存储的图像数据,以便将手写输入内容绘制到显示缓存中,进而同步给显示屏进行显示。通过本步骤能够加快手写输入内容的显示速度。
步骤S130:在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
其中,系统缓存可以为各种形式的缓存区域,只要能够实现缓存各个未合成图层的目的即可。系统缓存用于存储各个未合成图层,并在接收到合成指令后对其中存储的各个未合成图层进行合成处理,得到新的图像数据,以供显示缓存根据新的图像数据替换之前已存储的图像数据,从而实现画面刷新的目的。具体地,各个未合成图层可能分别对应于不同的用户应用,也可能对应于操作系统中的系统应用。由此可见,每当用户应用或系统应用需要刷新显示屏的显示画面时,则会触发合成指令,以便将系统缓存中的各个图层合成后提供给显示缓存进行显示。
发明人在实现本公开的过程中发现,通过步骤S120中的方式能够提升显示速度,但是,当系统缓存接收到合成指令后,显示缓存中已存储的图像数据将被系统缓存输出的合成结果覆盖,从而导致手写输入内容消失。为了解决上述问题。本公开进一步创建位于各个未合成图层之上的自定义图层,并在自定义图层中绘制手写输入内容。由于自定义图层位于系统缓存中的各个未合成图层之上,因此,自定义图层中的内容不会被覆盖。当系统缓存接收到合成指令后,自定义图层中的内容也将参与合成操作,因此,自定义图层中的手写输入内容不会被合成结果覆盖,有效解决了因系统缓存执行合成操作而导致手写输入内容消失的技术问题。具体实施时,该自定义图层可以 为透明图层或半透明图层。
上述的步骤S120和步骤S130之间并无严格的顺序关系,二者既可以同时执行,也可以先后执行。
由此可见,该方式直接将手写输入内容绘制到显示缓存中已存储的图像数据上,无需经由系统缓存执行图片合成及复制操作,由此大幅提升了显示速度。并且,由于手写输入内容绘制在显示缓存中已存储的图像数据上,因此,不会覆盖系统中已有的显示内容。而且,由于手写输入内容同时绘制在位于各个未合成图层之上的自定义图层中,因此,当系统执行合成操作时,合成操作的结果中依然包含手写输入内容,从而确保了手写输入内容不会因系统刷新行为而被覆盖。
实施例二
图2示出了本公开另一个实施例提供的手写输入内容的显示方法的流程图。如图2所示,该方法包括以下步骤:
步骤S210:每当接收到用户输入内容后,判断与该用户输入内容相对应的应用是否为预设应用;若是,确定该用户输入内容为手写输入内容。
在本实施例中,预先将需要提升手写输入速度的应用确定为预设应用,并仅针对通过该预设应用输入的内容执行后续步骤中的操作。在本实施例中,预设应用主要是指电子书应用。
具体地,该步骤可通过下述两种实现方式中的至少一种实现:在第一种实现方式中,获取用户输入内容中包含的应用标识,根据该应用标识判断与该用户输入内容相对应的应用是否为预设应用,若是,则确定该用户输入内容为手写输入内容。具体地,用户需要通过对应的应用来输入内容,例如,当用户通过电子书应用输入内容时,可能通过电子书应用中提供的输入接口进行输入,相应地,用户输入内容中将携带电子书应用标识,以表明该内容是通过电子书应用输入的。因此,通过获取用户输入内容中包含的应用标识即可判断与该用户输入内容相对应的应用是否为预设应用,并仅在判断结果为是时执行后续步骤,从而实现提升电子书输入速度的效果。在第二种实现 方式中,在接收到用户输入内容时,检测当前运行的应用是否包括预设应用,根据检测结果判断与该用户输入内容相对应的应用是否为预设应用,若是,则确定该用户输入内容为手写输入内容。例如,接收到用户输入内容时,若当前运行的应用中包括电子书应用,则执行后续步骤,从而实现提升电子书输入速度的效果。
步骤S220:根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏。
其中,显示缓存用于向显示屏同步待显示的图像数据,具体可以为显存或帧缓存。其中,该图像数据是缓存在显示缓存中的,因此,也可以将图像数据称作“图像数据缓存”。顾名思义,该“图像数据缓存”只是暂存在显示缓存中,一旦显示缓存接收到系统缓存提供的最新的合成结果,将会刷新该“图像数据缓存”。在本实施例中,显示缓存为帧缓存。因此,显示屏中的显示内容与显示缓存中存储的图像数据之间是相互同步的:每当显示缓存中的图像数据更新后,则显示屏中的显示内容也对应更新。
具体地,在本步骤中,获取显示缓存中已存储的图像数据,在图像数据上添加手写输入内容,得到修改后的图像数据。其中,显示缓存中已存储的图像数据是根据步骤S230中提到的系统缓存上一次执行合成操作的结果得到的(即根据系统缓存已执行的最新的一次合成操作的结果得到的图像数据),通过在显示缓存中已存储的图像数据上添加步骤S210中获取到的手写输入内容,能够将手写输入内容实时添加到显示缓存中,省去了将手写输入内容绘制到系统缓存中,并针对系统缓存中的各个未合成图层执行合成操作的时间,并且还省去了从系统缓存复制到显示缓存的延时,因而大幅提升了显示速度,实现了实时显示的效果。
另外,显示缓存将修改后的图像数据同步给显示屏时,具体可根据系统中默认的同步方式进行同步。例如,在一种同步方式中,显示缓存根据接收到的同步指令将修改后的图像数据同步给显示屏。相应地,由系统中间层负责执行从显示缓存同步到显示屏的操作,系统中间层每隔预设时间间隔向显示缓存发送一次同步指令,以便将显示缓存中当前存储的图像数据同步给显示屏。又如,在另一种同步方式中,显示缓存将修改后的图像数据实时同步 给显示屏,该方式的实时性较高,能够确保显示屏与显示缓存之间的实时同步。本领域技术人员可根据需要选择合适的同步方式。
步骤S230:在系统缓存中位于各个未合成图层之上的透明图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和透明图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
其中,在本实施例中,系统缓存可以是后缓冲区,也可以是其他的缓存区域。系统缓存用于存储与各个应用相对应的未合成图层,每当接收到一个应用触发的绘图请求时,系统则在系统缓存中为该应用分配一块画布,用于实现该画布的图层即为与该应用相对应的一个未合成图层。当系统中存在多个并行绘图的应用时,系统缓存中的未合成图层的数量也为多个。当系统缓存接收到合成指令后对其中存储的各个未合成图层进行合成处理,得到新的图像数据,以供显示缓存根据新的图像数据替换之前已存储的图像数据,从而实现画面刷新的目的。
具体地,各个未合成图层可能分别对应于不同的用户应用,也可能对应于操作系统中的系统应用。例如,当用户通过美图应用发起一次绘图操作后,则会在系统缓存中申请一个与该美图应用相对应的未合成图层,用于绘制用户通过美图应用输入的内容。又如,当系统应用检测到电量过低时,会在系统缓存中申请一个与系统电量相对应的未合成图层,用于绘制电量提示内容。由此可见,系统缓存用于同时存储各个应用所对应的未合成图层,并在接收到一个应用触发的合成指令后,对系统缓存中存储的所有未合成图层执行合成操作,并将合成操作的结果提供给显示缓存,以便通过显示缓存更新显示屏的显示内容。具体地,每当用户应用或系统应用需要刷新显示屏的显示画面时,则会触发合成指令,以便将系统缓存中的各个图层合成后提供给显示缓存进行显示。例如,当系统应用将电量提示内容绘制完毕后,则会触发合成指令,以促使显示屏中弹出用于提示电量低的对话框。
具体地,在本步骤中,确定系统缓存中已存储的各个未合成图层,并创建位于各个未合成图层之上的透明图层(也叫自定义图层),在透明图层中绘制步骤S210中获取到的手写输入内容。其中,为了确保该透明图层自始至终不会被其他图层覆盖,可对该透明图层执行置顶操作。
当系统缓存根据接收到的合成指令针对其中存储的各个未合成图层和自定义图层执行图层合成操作时,将根据操作结果更新显示缓存中已存储的图像数据。其中,合成指令包括:由操作系统触发的第一合成指令和/或由应用触发的第二合成指令。其中,由操作系统触发的第一合成指令包括:当系统检测到电量低于预设阈值时触发的用于显示电量提示画面的合成指令等与系统行为相关的合成指令。由应用触发的第二合成指令包括:某应用将与该应用相对应的内容绘制完毕后触发的用于显示与该应用相对应的内容的合成指令等与应用行为相关的合成指令。
由此可见,在本实施例中,用户通过电子书应用输入手写输入内容时,直接将手写输入内容绘制在显示缓存中,以提升显示速度。另外,为了避免在其他应用刷新画面(即触发合成指令)时丢失显示缓存中的手写输入内容,同时在系统缓存中通过覆盖于其他未合成图层之上的透明图层保存手写输入内容,以确保其他应用刷新画面后,手写输入内容依然保存于刷新后的画面中。另外,由于本公开在透明图层中绘制手写输入内容的作用在于防止因其他应用合成图层而丢失手写输入内容,况且手写输入内容已在显示缓存中进行了绘制,因此,本公开中的电子书应用不需要向系统缓存发送合成指令,从而进一步简化了操作复杂度,提升了显示效率。
另外,上述的透明图层可以覆盖在各个未合成图层之上,且尺寸与各个未合成图层中尺寸最大的未合成图层的尺寸相同,以确保用户能够在显示屏的各个区域进行手写输入。或者,上述的透明图层也可以仅覆盖各个未合成图层所对应的局部区域,以使用户能够通过对应的局部区域进行手写输入。具体实现时,可根据显示屏上包含的手写区域的位置、大小来设置该透明图层。
步骤S240:当接收到电子书翻页指令时,清空透明图层中已绘制的手写输入内容。
由于本实施例的一个具体应用场景为:用户在阅读电子书的过程中,通过手写输入的方式对电子书中展示的当前页面进行标注类操作,相应地,用户希望手写输入内容仅展现在当前页面中,而当用户执行翻页操作后,则不在翻页后的页面中展示上一页所对应的标注结果。为此,在本实施例中,在 电子书的运行过程中创建一个通用于各个页面的透明图层,并且,每当接收到翻页指令后,对该透明图层中已绘制的内容执行删除操作,以防止将用户在上一页中写入的标注类内容显示在下一页中。另外,为了方便读者后续阅读自己手动标注的内容,在本实施例中,还可以进一步将手写输入内容与对应的当前页面关联存储,以便于用户后续查询该页中记录的手写内容。而且,在进行关联存储时,还可以进一步存储与该手写输入内容相对应的用户标识,从而便于为不同的用户展示各自对应的手写内容。
另外,本领域技术人员还可以对上述实施例进行各种改动和变形。例如,在一种变形的实现方式中,分别针对每个电子书页面创建对应的透明图层,相应地,创建位于各个未合成图层之上的透明图层的操作既可以在步骤S210或步骤S220之后触发,也可以在每当接收到电子书翻页指令时触发。例如,创建透明图层的操作可以基于用户的翻页指令触发,即:每当用户通过翻页指令将电子书翻至当前页面后,相应地为当前页面创建一个对应的透明图层,用以存储与当前页面相对应的手写输入内容。由此可见,每当用户翻至新的一页后,对应的透明图层的初始状态为空,从而避免将上一页对应的手写输入内容展示在当前页面上;若用户在当前页面进行了手写操作,则通过对应的透明图层将在当前页面上展示手写输入内容。
另外,本领域技术人员还可以将上述的各个步骤合并为更少的步骤,或拆分为更多的步骤。并且,上述的步骤S220和步骤S230可以同时执行,也可以先后执行,本公开不限定二者之间的执行顺序。通过上述方式,既可以对电子书中的页面进行显示,也可以对APP中的页面进行显示。并且,由于墨水屏的刷新速度较慢,因此,本公开中的方式尤其适用于通过墨水屏实现的电子书阅读器中。
另外,可选地,为了进一步提升显示速度,在本实施例中,显示缓存的数量可以为至少两个,由各个显示缓存交替向显示屏同步数据,从而通过多缓存机制提升显示效率。具体地,假设系统缓存本次将合成结果复制到第一显示缓存,以便由第一显示缓存同步到显示屏进行显示,则系统缓存下一次将合成结果复制到第二显示缓存,以便由第二显示缓存同步到显示屏进行显示。在多缓存机制中,本公开还需要进一步识别当前处于使用状态的显示缓 存的缓存标识,相应地,根据手写输入内容修改显示缓存中已存储的图像数据时,具体根据手写输入内容修改当前处于使用状态的显示缓存中已存储的图像数据。
综上所述,通过本公开中的方式,直接将手写输入内容绘制到显示缓存中已存储的图像数据上,无需经由系统缓存执行图片合成及复制操作,由此大幅提升了显示速度。并且,由于手写输入内容绘制在显示缓存中已存储的图像数据上,因此,不会覆盖系统中已有的显示内容。而且,由于手写输入内容同时绘制在位于各个未合成图层之上的自定义图层中,因此,当系统执行合成操作时,合成操作的结果中依然包含手写输入内容,从而确保了手写输入内容不会因系统刷新行为而被覆盖。另外,绘制在系统缓存中的自定义图层中的手写输入内容只是为了防止在其他应用触发合成操作后导致已绘制在显示缓存中的手写输入内容消失,因此,本公开中的电子书应用本身无需主动地触发合成操作(也叫画面刷新操作),从而简化了操作过程,提升了操作效率。并且,该方式还可以根据用户发出的翻页操作清空上一页的手写内容,提升了用户使用电子书的阅读体验。
最后,发明人经过实验验证发现,上述方案相比现有技术而言,至少能够缩短30ms的延迟时间,当系统中待合成的图层较多时,甚至可以缩短50ms的延迟时间,从而为用户的阅读过程提供了更好的体验。
实施例三
本公开实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的手写输入内容的显示方法。
可执行指令具体可以用于使得处理器执行以下操作:
获取用户输入的手写输入内容;
根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入 内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
获取显示缓存中已存储的图像数据,在图像数据上添加手写输入内容,得到修改后的图像数据。
在一种可选的方式中,显示缓存将修改后的图像数据同步给显示屏具体包括:
显示缓存根据接收到的同步指令将修改后的图像数据同步给显示屏;或者,
显示缓存将修改后的图像数据实时同步给显示屏。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
确定系统缓存中已存储的各个未合成图层,创建位于各个未合成图层之上的自定义图层,在自定义图层中绘制手写输入内容。
在一种可选的方式中,自定义图层为透明图层。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
系统缓存根据接收到的合成指令针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据;
其中,合成指令包括:由操作系统触发的第一合成指令和/或由应用触发的第二合成指令。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
每当接收到用户输入内容后,判断与该用户输入内容相对应的应用是否为预设应用;若是,确定该用户输入内容为手写输入内容。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
获取用户输入内容中包含的应用标识,根据应用标识判断与该用户输入内容相对应的应用是否为预设应用;或者,
在接收到用户输入内容时,检测当前运行的应用是否包括预设应用,根据检测结果判断与该用户输入内容相对应的应用是否为预设应用;
其中,预设应用包括:电子书应用。
在一种可选的方式中,可执行指令具体使处理器执行以下操作:
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容之后,当接收到电子书翻页指令时,清空自定义图层中已绘制的手写输入内容。
在一种可选的方式中,显示缓存为帧缓存,系统缓存为后缓冲区;并且,该方法用于对电子书中的页面进行显示,和/或,该方法用于对APP中的页面进行显示。
实施例四
图3示出了根据本公开另一个实施例的一种电子设备的结构示意图,本公开具体实施例并不对电子设备的具体实现做限定。
如图3所示,该电子设备可以包括:处理器(processor)302、通信接口(Communications Interface)304、存储器(memory)306、以及通信总线308。
其中:处理器302、通信接口304、以及存储器306通过通信总线308完成相互间的通信。通信接口304,用于与其它设备比如客户端或其它服务器等的网元通信。处理器302,用于执行程序310,具体可以执行上述手写输入内容的显示方法实施例中的相关步骤。
具体地,程序310可以包括程序代码,该程序代码包括计算机操作指令。
处理器302可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。
存储器306,用于存放程序310。存储器306可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
程序310具体可以用于使得处理器302执行以下操作:
获取用户输入的手写输入内容;
根据手写输入内容修改显示缓存中已存储的图像数据,以供显示缓存将修改后的图像数据同步给显示屏;
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容,以供系统缓存针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据。
在一种可选的方式中,程序310具体使处理器执行以下操作:
获取显示缓存中已存储的图像数据,在图像数据上添加手写输入内容,得到修改后的图像数据。
在一种可选的方式中,显示缓存将修改后的图像数据同步给显示屏具体包括:
显示缓存根据接收到的同步指令将修改后的图像数据同步给显示屏;或者,
显示缓存将修改后的图像数据实时同步给显示屏。
在一种可选的方式中,程序310具体使处理器执行以下操作:
确定系统缓存中已存储的各个未合成图层,创建位于各个未合成图层之上的自定义图层,在自定义图层中绘制手写输入内容。
在一种可选的方式中,自定义图层为透明图层。
在一种可选的方式中,程序310具体使处理器执行以下操作:
系统缓存根据接收到的合成指令针对各个未合成图层和自定义图层执行图层合成操作,根据操作结果更新显示缓存中已存储的图像数据;
其中,合成指令包括:由操作系统触发的第一合成指令和/或由应用触发的第二合成指令。
在一种可选的方式中,程序310具体使处理器执行以下操作:
每当接收到用户输入内容后,判断与该用户输入内容相对应的应用是否为预设应用;若是,确定该用户输入内容为手写输入内容。
在一种可选的方式中,程序310具体使处理器执行以下操作:
获取用户输入内容中包含的应用标识,根据应用标识判断与该用户输入内容相对应的应用是否为预设应用;或者,
在接收到用户输入内容时,检测当前运行的应用是否包括预设应用,根据检测结果判断与该用户输入内容相对应的应用是否为预设应用;
其中,预设应用包括:电子书应用。
在一种可选的方式中,程序310具体使处理器执行以下操作:
在系统缓存中位于各个未合成图层之上的自定义图层中绘制手写输入内容之后,当接收到电子书翻页指令时,清空自定义图层中已绘制的手写输入内容。
在一种可选的方式中,显示缓存为帧缓存,系统缓存为后缓冲区;并且,该方法用于对电纸书中的页面进行显示,和/或,该方法用于对APP中的页面进行显示。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。

Claims (22)

  1. 一种手写输入内容的显示方法,包括:
    获取用户输入的手写输入内容;
    根据所述手写输入内容修改显示缓存中已存储的图像数据,以供所述显示缓存将修改后的图像数据同步给显示屏;
    在系统缓存中位于各个未合成图层之上的自定义图层中绘制所述手写输入内容,以供所述系统缓存针对所述各个未合成图层和所述自定义图层执行图层合成操作,根据操作结果更新所述显示缓存中已存储的图像数据。
  2. 根据权利要求1所述的方法,其中,所述根据所述手写输入内容修改显示缓存中已存储的图像数据的步骤具体包括:
    获取显示缓存中已存储的图像数据,在所述图像数据上添加所述手写输入内容,得到修改后的图像数据。
  3. 根据权利要求1或2所述的方法,其中,所述显示缓存将修改后的图像数据同步给显示屏具体包括:
    所述显示缓存根据接收到的同步指令将修改后的图像数据同步给显示屏;或者,
    所述显示缓存将修改后的图像数据实时同步给显示屏。
  4. 根据权利要求1-3任一所述的方法,其中,所述在系统缓存中位于各个未合成图层之上的自定义图层中绘制所述手写输入内容的步骤具体包括:
    确定系统缓存中已存储的各个未合成图层,创建位于所述各个未合成图层之上的自定义图层,在所述自定义图层中绘制所述手写输入内容。
  5. 根据权利要求4所述的方法,其中,所述自定义图层为透明图层。
  6. 根据权利要求1-5任一所述的方法,其中,所述系统缓存针对所述各个未合成图层和所述自定义图层执行图层合成操作,根据操作结果更新所述显示缓存中已存储的图像数据的步骤具体包括:
    所述系统缓存根据接收到的合成指令针对所述各个未合成图层和所述自定义图层执行图层合成操作,根据操作结果更新所述显示缓存中已存储的 图像数据;
    其中,所述合成指令包括:由操作系统触发的第一合成指令和/或由应用触发的第二合成指令。
  7. 根据权利要求1-6任一所述的方法,其中,所述获取用户输入的手写输入内容的步骤具体包括:
    每当接收到用户输入内容后,判断与该用户输入内容相对应的应用是否为预设应用;若是,确定该用户输入内容为手写输入内容。
  8. 根据权利要求7所述的方法,其中,所述判断与该用户输入内容相对应的应用是否为预设应用的步骤具体包括:
    获取所述用户输入内容中包含的应用标识,根据所述应用标识判断与该用户输入内容相对应的应用是否为预设应用;或者,
    在接收到用户输入内容时,检测当前运行的应用是否包括预设应用,根据检测结果判断与该用户输入内容相对应的应用是否为预设应用;
    其中,所述预设应用包括:电子书应用。
  9. 根据权利要求1-8任一所述的方法,其中,所述在系统缓存中位于各个未合成图层之上的自定义图层中绘制所述手写输入内容的步骤之后,进一步包括:
    当接收到电子书翻页指令时,清空所述自定义图层中已绘制的手写输入内容。
  10. 根据权利要求1-9任一所述的方法,其中,所述显示缓存为帧缓存,所述系统缓存为后缓冲区;并且,所述方法用于对电子书中的页面进行显示,和/或,所述方法用于对APP中的页面进行显示。
  11. 一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:
    获取用户输入的手写输入内容;
    根据所述手写输入内容修改显示缓存中已存储的图像数据,以供所述显示缓存将修改后的图像数据同步给显示屏;
    在系统缓存中位于各个未合成图层之上的自定义图层中绘制所述手写输入内容,以供所述系统缓存针对所述各个未合成图层和所述自定义图层执行图层合成操作,根据操作结果更新所述显示缓存中已存储的图像数据。
  12. 根据权利要求11所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:获取显示缓存中已存储的图像数据,在所述图像数据上添加所述手写输入内容,得到修改后的图像数据。
  13. 根据权利要求11或12所述的电子设备,其中,所述显示缓存将修改后的图像数据同步给显示屏具体包括:
    所述显示缓存根据接收到的同步指令将修改后的图像数据同步给显示屏;或者,
    所述显示缓存将修改后的图像数据实时同步给显示屏。
  14. 根据权利要求11-13任一所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:确定系统缓存中已存储的各个未合成图层,创建位于所述各个未合成图层之上的自定义图层,在所述自定义图层中绘制所述手写输入内容。
  15. 根据权利要求14所述的电子设备,其中,所述自定义图层为透明图层。
  16. 根据权利要求11-15任一所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:
    所述系统缓存根据接收到的合成指令针对所述各个未合成图层和所述自定义图层执行图层合成操作,根据操作结果更新所述显示缓存中已存储的图像数据;
    其中,所述合成指令包括:由操作系统触发的第一合成指令和/或由应用触发的第二合成指令。
  17. 根据权利要求11-16任一所述的电子设备,其中,所述可执行指令 具体使所述处理器执行以下操作:
    每当接收到用户输入内容后,判断与该用户输入内容相对应的应用是否为预设应用;若是,确定该用户输入内容为手写输入内容。
  18. 根据权利要求17所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:
    获取所述用户输入内容中包含的应用标识,根据所述应用标识判断与该用户输入内容相对应的应用是否为预设应用;或者,
    在接收到用户输入内容时,检测当前运行的应用是否包括预设应用,根据检测结果判断与该用户输入内容相对应的应用是否为预设应用;
    其中,所述预设应用包括:电子书应用。
  19. 根据权利要求11-18任一所述的电子设备,其中,所述可执行指令进一步使所述处理器执行以下操作:在系统缓存中位于各个未合成图层之上的自定义图层中绘制所述手写输入内容之后,当接收到电子书翻页指令时,清空所述自定义图层中已绘制的手写输入内容。
  20. 根据权利要求11-19任一所述的电子设备,其中,所述显示缓存为帧缓存,所述系统缓存为后缓冲区;并且,所述方法用于对电子书中的页面进行显示,和/或,所述方法用于对APP中的页面进行显示。
  21. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令用于使该计算机执行前述任一权利要求1-10所述的手写输入内容的显示方法。
  22. 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述任一权利要求1-10所述的手写输入内容的显示方法。
PCT/CN2018/080055 2017-12-26 2018-03-22 手写输入内容的显示方法、电子设备及计算机存储介质 WO2019127941A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/768,411 US11494071B2 (en) 2017-12-26 2018-03-22 Method for displaying handwritten input content, electronic device and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711431191.7 2017-12-26
CN201711431191.7A CN108153505B (zh) 2017-12-26 2017-12-26 手写输入内容的显示方法、电子设备及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2019127941A1 true WO2019127941A1 (zh) 2019-07-04

Family

ID=62462309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080055 WO2019127941A1 (zh) 2017-12-26 2018-03-22 手写输入内容的显示方法、电子设备及计算机存储介质

Country Status (3)

Country Link
US (1) US11494071B2 (zh)
CN (2) CN108153505B (zh)
WO (1) WO2019127941A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297585A (zh) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 电子白板实现方法、装置、设备以及存储介质
CN109471587B (zh) * 2018-11-13 2020-05-12 掌阅科技股份有限公司 基于Java虚拟机的手写内容的显示方法及电子设备
CN109697739B (zh) * 2018-12-25 2020-01-21 掌阅科技股份有限公司 手写阅读设备的反色显示方法及手写阅读设备
WO2021056780A1 (zh) * 2019-09-25 2021-04-01 掌阅科技股份有限公司 信息显示方法、阅读器、计算机存储介质、墨水屏阅读设备以及投屏显示系统
CN110703978B (zh) * 2019-09-25 2020-09-08 掌阅科技股份有限公司 信息显示方法、阅读器以及计算机存储介质
WO2021056786A1 (zh) * 2019-09-25 2021-04-01 掌阅科技股份有限公司 手写阅读设备及其报点数据处理方法、计算机存储介质
CN112486398B (zh) * 2020-12-18 2022-05-20 掌阅科技股份有限公司 手写笔迹翻页效果的实现方法、电子设备及存储介质
CN114510207A (zh) * 2022-02-28 2022-05-17 亿咖通(湖北)技术有限公司 图层合成方法、装置、设备、介质及程序产品

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446647A (zh) * 2015-12-25 2016-03-30 智慧方舟科技有限公司 一种电纸书及其阅读笔记实现方法、装置
CN105677107A (zh) * 2016-01-11 2016-06-15 福州瑞芯微电子股份有限公司 屏幕手写跟随性的优化方法及系统

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203903B1 (en) * 1993-05-20 2007-04-10 Microsoft Corporation System and methods for spacing, storing and recognizing electronic representations of handwriting, printing and drawings
US6466210B1 (en) * 1997-12-22 2002-10-15 Adobe Systems Incorporated Blending image data using layers
US7337389B1 (en) * 1999-12-07 2008-02-26 Microsoft Corporation System and method for annotating an electronic document independently of its content
US6501464B1 (en) * 2000-10-31 2002-12-31 Intel Corporation On-screen transparent keyboard interface
KR100663409B1 (ko) * 2002-10-17 2007-01-02 삼성전자주식회사 펜 컴퓨팅 시스템에서의 레이어 편집 방법 및 장치
US7898529B2 (en) * 2003-01-08 2011-03-01 Autodesk, Inc. User interface having a placement and layout suitable for pen-based computers
JP2005275028A (ja) * 2004-03-25 2005-10-06 Mitsubishi Electric Corp 表示システム
US7577902B2 (en) * 2004-12-16 2009-08-18 Palo Alto Research Center Incorporated Systems and methods for annotating pages of a 3D electronic document
JP2007086432A (ja) * 2005-09-22 2007-04-05 Sony Corp 表示制御装置、および表示制御方法
CN101071353A (zh) * 2006-05-10 2007-11-14 上海晨兴电子科技有限公司 一种手写输入处理装置
WO2008150919A1 (en) * 2007-05-29 2008-12-11 Livescribe, Inc. Electronic annotation of documents with preexisting content
US8803898B2 (en) * 2009-12-17 2014-08-12 Arm Limited Forming a windowing display in a frame buffer
TW201205432A (en) * 2010-07-29 2012-02-01 Pegatron Corp Electronic book and annotation displaying method thereof
US8830258B2 (en) * 2011-03-07 2014-09-09 Ricoh Co., Ltd Generating strokes in real-time on an electronic paper display
CN102857617A (zh) * 2011-06-28 2013-01-02 希姆通信息技术(上海)有限公司 一种带手写相机功能的移动终端设备
KR20140111341A (ko) * 2012-01-09 2014-09-18 퀄컴 인코포레이티드 Ocr 캐시 업데이트
US9612739B2 (en) * 2012-02-02 2017-04-04 Microsoft Technology Licensing, Llc Low-latency touch-input device
TWI464667B (zh) * 2012-05-23 2014-12-11 Wistron Corp 電子書之筆記共享方法及電子閱讀裝置、電腦可讀取媒體
KR20140008987A (ko) * 2012-07-13 2014-01-22 삼성전자주식회사 필기 이미지 인식을 이용한 어플리케이션 제어 방법 및 장치
JP5284524B1 (ja) * 2012-09-07 2013-09-11 株式会社東芝 電子機器および手書き文書処理方法
US9465985B2 (en) * 2013-06-09 2016-10-11 Apple Inc. Managing real-time handwriting recognition
KR102047499B1 (ko) * 2013-09-27 2019-11-21 삼성전자주식회사 콘텐트를 공유하는 방법 및 그 장치
US10380235B2 (en) * 2015-09-01 2019-08-13 Branchfire, Inc. Method and system for annotation and connection of electronic documents
CN106098022B (zh) * 2016-06-07 2019-02-12 北京小鸟看看科技有限公司 一种缩短图像延迟的方法和装置
KR102544780B1 (ko) * 2016-07-04 2023-06-19 삼성전자주식회사 필기 입력에 따른 사용자 인터페이스 제어 방법 및 이를 구현한 전자 장치
JP6807228B2 (ja) * 2016-12-28 2021-01-06 株式会社ワコム ペンタブレット、手書きデータ記録装置、手書きデータ描画方法、及び手書きデータ合成方法
US10650565B2 (en) * 2017-06-02 2020-05-12 Apple Inc. Rendering animated user input strokes
CN107369197B (zh) * 2017-07-05 2022-04-15 腾讯科技(深圳)有限公司 图片处理方法、装置及设备
CN107422974B (zh) * 2017-07-21 2020-01-07 广州视源电子科技股份有限公司 基于双系统的笔迹书写显示方法和系统、存储介质及设备

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446647A (zh) * 2015-12-25 2016-03-30 智慧方舟科技有限公司 一种电纸书及其阅读笔记实现方法、装置
CN105677107A (zh) * 2016-01-11 2016-06-15 福州瑞芯微电子股份有限公司 屏幕手写跟随性的优化方法及系统

Also Published As

Publication number Publication date
CN108153505A (zh) 2018-06-12
CN109542382A (zh) 2019-03-29
US11494071B2 (en) 2022-11-08
CN108153505B (zh) 2019-01-18
CN109542382B (zh) 2020-07-28
US20200409546A1 (en) 2020-12-31

Similar Documents

Publication Publication Date Title
WO2019127941A1 (zh) 手写输入内容的显示方法、电子设备及计算机存储介质
US11344806B2 (en) Method for rendering game, and method, apparatus and device for generating game resource file
CN108595242B (zh) 页面显示方法、电子设备及计算机存储介质
CN109471587B (zh) 基于Java虚拟机的手写内容的显示方法及电子设备
US9367641B2 (en) Predictive web page rendering using a scroll vector
WO2019127916A1 (zh) 基于分布式一致性协议实现的数据读写方法及装置
US7889202B2 (en) Transparent multi-buffering in multi-GPU graphics subsystem
WO2019154198A1 (zh) 电子书手写笔记的显示方法、计算设备及计算机存储介质
EP2924590A1 (en) Page rendering method and apparatus
US8289319B2 (en) Apparatus and method for processing pixel depth information
WO2020001022A1 (zh) 图片展示方法、计算设备及计算机存储介质
US9899004B2 (en) Method and device for generating graphical user interface (GUI) for displaying
WO2018120546A1 (zh) 一种图像显示的方法及终端设备
CN104915461B (zh) 页面展示方法和装置
US10957285B2 (en) Method and system for playing multimedia data
CN108509272B (zh) 将gpu显存纹理拷贝到系统内存的方法、装置及电子设备
TW201142740A (en) System and method for memory access of multi-thread execution units in a graphics processing apparatus
WO2021197094A1 (zh) 翻译文案展示
WO2022001220A1 (zh) 页面中共享显示元素的展示方法、电子设备及存储介质
WO2020134708A1 (zh) 截图处理方法、计算设备及计算机存储介质
CN105450986B (zh) 一种Linux下视频处理方法
WO2018103022A1 (zh) 帧缓存实现方法、装置、电子设备和计算机程序产品
CN106294205A (zh) 缓存数据处理方法及装置
CN115562771B (zh) 应用窗口管理方法、电子设备和计算机可读取存储介质
WO2024041514A1 (zh) 视频播放方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18893675

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18893675

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.10.2020)