Graphical user interface redrawing method. terminal device and computer readable storage medium

US2020409727A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2020409727-A1
Application numberUS-201916976182-A
CountryUS
Kind codeA1
Filing dateFeb 28, 2019
Priority dateMar 2, 2018
Publication dateDec 31, 2020
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed by the present invention are a graphical user interface redrawing method, a terminal device and a computer readable storage medium. The method comprises: merging invalidate data of multiple Views under the same View Group in the same VSYNC drawing period in an Android system GUI and saving to a HashMap; sending to a user interface (UI) thread a message for delaying execution of an invalidate instruction; reading all invalidate data from the HashMap and emptying the HashMap after a delay time interval of the message is reached; and executing the invalidate instruction according to the read invalidate data.

First claim

Opening claim text (preview).

What is claimed is: 1 . A graphical user interface redrawing method, comprising steps of: in response to a content update of a View in the graphical user interface, uploading a corresponding invalidate data to a HashMap; determining whether a View Group to which the View belongs has saved any invalidate data in the HashMap; in response to having any saved invalidate data, merging the uploaded invalidate data and the saved invalidate data and saving the merged invalidate data to the HashMap; sending to a user interface (UI) thread a message for delaying execution of an invalidate instruction; reading all the invalidate data from the HashMap and emptying the HashMap after a delay time interval of the message is reached; and executing the invalidate instruction according to the read invalidate data. 2 . The graphical user interface redrawing method according to claim 1 , further comprising: in response to a case that the View Group to which the View belongs has not saved any invalidate data in the HashMap, directly saving the uploaded invalidate data to the HashMap. 3 . The graphical user interface redrawing method according to claim 2 , wherein the invalidate data comprises a reference of the View Group to which the View belongs, and a Dirty region. 4 . The graphical user interface redrawing method according to claim 2 , wherein the HashMap uses the reference of the View Group as a primary Key. 5 . The graphical user interface redrawing method according to claim 4 , wherein the step of determining whether the View Group to which the View belongs has saved any invalidate data in the HashMap comprises: using the reference of the View Group as the primary Key to check whether any invalidate data have been saved in the HashMap; and if it is found that the HashMap has saved any invalidate data for a same primary Key, determining that the View Group to which the View belongs has saved any invalidate data in the HashMap. 6 . The graphical user interface redrawing method according to claim 2 , wherein the delay time interval is smaller than a time interval of a vertical sync (VSYNC) signal. 7 . The graphical user interface redrawing method according to claim 2 , wherein the step of sending to the UI thread the message for delaying execution of the invalidate instruction comprises: sending to the UI thread a message with the delay time interval for delaying execution of the invalidate instruction. 8 . A terminal device, comprising a storage, a processor and a graphical user interface redrawing program stored in the storage and executable by the processor, wherein the graphical user interface redrawing program is executed by the processor to perform the steps of: in response to a content update of a View in the graphical user interface, uploading a corresponding invalidate data to a HashMap; determining whether a View Group to which the View belongs has saved any invalidate data in the HashMap; in response to having any saved invalidate data, merging the uploaded invalidate data and the saved invalidate data and saving the merged invalidate data to the HashMap; sending to a user interface (UI) thread a message for delaying execution of an invalidate instruction; reading all the invalidate data from the HashMap and emptying the HashMap after a delay time interval of the message is reached; and executing the invalidate instruction according to the read invalidate data. 9 . The terminal device according to claim 8 , wherein the graphical user interface redrawing program is executed by the processor to perform a further step of: in response to a case that the View Group to which the View belongs has not saved any invalidate data in the HashMap, directly saving the uploaded invalidate data to the HashMap. 10 . The terminal device according to claim 9 , wherein the invalidate data comprises a reference of the View Group to which the View belongs, and a Dirty region. 11 . The terminal device according to claim 9 , wherein the HashMap uses the reference of the View Group as a primary Key. 12 . The terminal device according to claim 11 , wherein the step of determining whether the View Group to which the View belongs has saved any invalidate data in the HashMap, performed by executing the graphical user interface redrawing program by the processor, comprises: using the reference of the View Group as the primary Key to check whether any invalidate data have been saved in the HashMap; and if it is found that the HashMap has saved any invalidate data for a same primary Key, determining that the View Group to which the View belongs has saved any invalidate data in the HashMap. 13 . The terminal device according to claim 9 , wherein the delay time interval is smaller than a time interval of a vertical sync (VSYNC) signal. 14 . A computer readable storage medium, storing a graphical user interface redrawing program, which is executed by a processor to perform the steps of: in response to a content update of a View in the graphical user interface, uploading a corresponding invalidate data to a HashMap; determining whether a View Group to which the View belongs has saved any invalidate data in the HashMap; in response to having any saved invalidate data, merging the uploaded invalidate data and the saved invalidate data and saving the merged invalidate data to the HashMap; sending to a user interface (UI) thread a message for delaying execution of an invalidate instruction; reading all the invalidate data from the HashMap and emptying the HashMap after a delay time interval of the message is reached; and executing the invalidate instruction according to the read invalidate data. 15 . The computer readable storage medium according to claim 14 , wherein the graphical user interface redrawing program is executed by the processor to perform a further step of: in response to a case that the View Group to which the View belongs has not saved any invalidate data in the HashMap, directly saving the uploaded invalidate data to the HashMap. 16 . The computer readable storage medium according to claim 15 , wherein the invalidate data comprises a reference of the View Group to which the View belongs, and a Dirty region. 17 . The computer readable storage medium according to claim 15 , wherein the HashMap uses the reference of the View Group as a primary Key. 18 . The computer readable storage medium according to claim 17 , wherein the step of determining whether the View Group to which the View belongs has saved any invalidate data in the HashMap comprises: using the reference of the View Group as the primary Key to check whether any invalidate data have been saved in the HashMap; and if it is found that the HashMap has saved any invalidate data for a same primary Key, determining that the View Group to which the View belongs has saved any invalidate data in the HashMap. 19 . The computer readable storage medium according to claim 15 , wherein the delay time interval is smaller than a time interval of a vertical sync (VSYNC) signal. 20 . The computer readable storage medium according to claim 15 , wherein the step of sending to the UI thread the message for delaying execution of the invalidate instruction, performed by executing the graphical user interface redrawing program by the processor, comprises: sending to the UI thread a message with the delay time interval for delaying execution of the invalidate instruction.

Assignees

Inventors

Classifications

  • G06F9/451Primary

    Execution arrangements for user interfaces · CPC title

  • G06F8/38Primary

    for implementing user interfaces · CPC title

  • Hash tables · CPC title

  • Ensuring data consistency and integrity · CPC title

  • with cache invalidating means (G06F12/0815 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2020409727A1 cover?
Disclosed by the present invention are a graphical user interface redrawing method, a terminal device and a computer readable storage medium. The method comprises: merging invalidate data of multiple Views under the same View Group in the same VSYNC drawing period in an Android system GUI and saving to a HashMap; sending to a user interface (UI) thread a message for delaying execution of an inv…
Who is the assignee on this patent?
Huizhou Tcl Mobile Communication Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/451. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Dec 31 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).