Display, rendering method, device, system, equipment and readable storage medium

By allocating and rendering element groups in electronic whiteboard applications, the problem of diverse content and complex erasure logic is solved, efficient rendering and writing performance is achieved, and system overhead is reduced.

CN114089893BActive Publication Date: 2024-09-03BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010746892.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-29
Publication Date
2024-09-03
Estimated Expiration
2040-07-29

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively support the display and rendering of diverse content. Especially in electronic whiteboard applications, when handwritten content, text, pictures and SVG graphics coexist, the rendering of multi-level logic leads to large system memory and computing overhead. And the erasure logic of different contents is complicated.

Method used

By assigning erasable elements, non-erasable elements and erasable track elements as an element group on the display interface, and performing rendering operations based on the type and depth value of the element group, the rendering of different types of elements and different erasing logic are realized. Reduce memory overhead and calculations for multi-level rendering logic.

Benefits of technology

It supports the rendering and erasing of diverse content without relying on multi-level rendering logic, reduces system memory and computing overhead, and ensures strong writing and rendering performance even on devices with poor performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114089893B
    Figure CN114089893B
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose display and rendering methods, devices, systems, equipment and readable storage media. The display method includes: obtaining erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasure track elements for erasing the erasable elements that appear on the display interface; according to the order of appearance of the erasable elements, non-erasable elements and erasure track elements on the display interface, assigning sequentially related erasure track elements and erasable elements and non-erasable elements before the sequentially related erasure track elements in the order of appearance into an element group; based on the order of appearance of the element group on the display interface, obtaining depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface; performing rendering operations on specific elements in the element group according to the types of elements in the element group and the obtained depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface; and displaying.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to display, rendering methods, devices, systems, equipment and readable storage media. Background Art

[0002] For video processing projects in the fields of education and commerce, such as electronic whiteboard applications for televisions, it may be necessary to support handwritten content, text, pictures, and SVG (Scalable Vector Graphics) graphics. Unlike handwritten content, background text or pictures are independent and complete units and cannot be affected by erase operations. Multi-level logic rendering, writing and other operations require a large amount of system memory and computing overhead. Therefore, it is very important to support diverse content with low overhead and have different erase logic functions for different content. Summary of the invention

[0003] In order to solve the problems in the related art, the embodiments of the present disclosure provide a display and rendering method, apparatus, system, device and readable storage medium.

[0004] In a first aspect, an embodiment of the present disclosure provides a display method, including:

[0005] Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0006] According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group;

[0007] Acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on the order in which the element group appears on the display interface;

[0008] Performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface;

[0009] The rendered element is displayed on the display interface.

[0010] In combination with the first aspect, in a first implementation of the first aspect of the present disclosure, before performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface, the method further includes:

[0011] Detecting whether there is an element in the element group that has not been rendered;

[0012] The performing of the rendering operation on the specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0013] According to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and erasure track elements in the element group that have not been rendered on the display interface, rendering operations are performed on the elements in the element group that have not been rendered.

[0014] In combination with the first implementation manner of the first aspect, in a second implementation manner of the first aspect of the present disclosure, performing a rendering operation on the elements that have not been rendered in the element group according to the types of the elements that have not been rendered in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements that have not been rendered in the element group on the display interface includes:

[0015] According to the fact that the elements in the element group that have not been rendered are non-erasable elements, the non-erasable elements in the element group that have not been rendered are rendered.

[0016] In combination with the first implementation manner of the first aspect, in a third implementation manner of the first aspect of the present disclosure, performing a rendering operation on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements that have not yet been rendered in the element group on the display interface includes:

[0017] According to the fact that the element in the element group that has not been rendered is an erasable element, determining whether there is a preset relationship between the depth value of the erasable element in the element group that has not been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not been rendered;

[0018] Based on determining that there is a preset relationship between the depth value of the erasable element in the element group that has not yet been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is rendered.

[0019] In combination with the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect of the present disclosure, the performing a rendering operation on the elements that have not been rendered in the element group according to the types of the elements that have not been rendered in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements that have not been rendered in the element group on the display interface further includes:

[0020] Based on determining that the depth value of the erasable element in the element group that has not yet been rendered does not have the preset relationship with the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is not rendered.

[0021] In combination with the first aspect and any one of the first to fourth implementations of the first aspect, in a fifth implementation of the first aspect of the present disclosure, acquiring depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on an appearance order of the element group on the display interface includes:

[0022] The element groups are numbered from small to large or from large to small based on the order in which the element groups appear on the display interface, and the numbers of the element groups are assigned to the erasable elements and erasure track elements in the element groups as depth values ​​on the display interface.

[0023] In combination with the first aspect and any one of the first to fourth implementations of the first aspect, in a sixth implementation of the first aspect of the present disclosure, acquiring depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on an appearance order of the element group on the display interface includes:

[0024] The acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are written into a depth buffer in the system running the display interface.

[0025] In combination with the first aspect and any one of the first to fourth implementations of the first aspect, in a seventh implementation of the first aspect of the present disclosure, the performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0026] The erasable elements and / or non-erasable elements to be rendered are rendered by writing the erasable elements or non-erasable elements to be rendered into a content buffer in a system running the display interface.

[0027] In combination with the first aspect and any one of the first to fourth implementations of the first aspect, in an eighth implementation of the first aspect of the present disclosure, the sequentially related erasure trajectory elements are sequentially continuous erasure trajectory elements.

[0028] In a second aspect, an embodiment of the present disclosure provides a display device, including:

[0029] A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0030] an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface;

[0031] A second acquisition module is configured to acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on an appearance order of the element group on the display interface;

[0032] a rendering module configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface;

[0033] The display module is configured to display the rendered elements on the display interface.

[0034] In a third aspect, an embodiment of the present disclosure provides a rendering method, characterized by comprising:

[0035] Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0036] According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group;

[0037] Acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on the order in which the element group appears on the display interface;

[0038] A rendering operation is performed on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0039] In a fourth aspect, an embodiment of the present disclosure provides a rendering device, including:

[0040] A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0041] an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface;

[0042] A second acquisition module is configured to acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on an appearance order of the element group on the display interface;

[0043] The rendering module is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0044] In a fifth aspect, an electronic whiteboard is provided in an embodiment of the present disclosure, characterized in that it includes:

[0045] A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface of the electronic whiteboard;

[0046] an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface;

[0047] A second acquisition module is configured to acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on an appearance order of the element group on the display interface;

[0048] The rendering module is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0049] In a sixth aspect, an electronic device is provided in an embodiment of the present disclosure, including a memory and a processor; wherein:

[0050] The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method as described in any one of the first aspect, the first to seventh implementations of the first aspect, and the third aspect.

[0051] In the seventh aspect, a readable storage medium is provided in an embodiment of the present disclosure, on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in the first aspect, the first to seventh implementations of the first aspect, and any one of the methods described in the third aspect are implemented.

[0052] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0053] According to the technical solution provided by the embodiment of the present disclosure, erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements are obtained; according to the order of appearance of the erasable elements, the non-erasable elements, and the erasing track elements on the display interface, the erasing track elements that are related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements that are related in sequence are assigned to an element group; based on the order of appearance of the element group on the display interface, the depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface are obtained; according to the type of elements in the element group and the obtained depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, a rendering operation is performed on specific elements in the element group; and the rendered elements are displayed on the display interface, so that different types of element rendering and different erasing logics can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0054] According to the technical solution provided by the embodiment of the present disclosure, before performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, it also includes: detecting whether there are elements in the element group that have not been rendered; wherein, performing a rendering operation on the specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface includes: performing a rendering operation on the elements in the element group that have not been rendered according to the type of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group that have not been rendered on the display interface, it can realize different types of element rendering and different erasing logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculation brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0055] According to the technical solution provided by the embodiment of the present disclosure, by performing rendering operations on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the depth values ​​of the erasable elements and the erasure track elements that have not yet been rendered in the element group on the display interface, including: rendering the non-erasable elements that have not yet been rendered in the element group according to the fact that the elements that have not yet been rendered in the element group are non-erasable elements, it is possible to achieve different types of element rendering and different erasure logic without relying on multi-level rendering logic, while supporting diversified content and reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0056] According to the technical solution provided by the embodiment of the present disclosure, by performing a rendering operation on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the depth values ​​of the erasable elements and the erasing track elements that have not yet been rendered in the element group on the display interface, the rendering operation includes: determining whether there is a preset relationship between the depth value of the erasable elements that have not yet been rendered in the element group and the depth value of the erasing track elements or erasable elements that already exist in the same plane position as the erasable elements that have not yet been rendered, according to the fact that the elements that have not yet been rendered in the element group are erasable elements; rendering the erasable elements that have not yet been rendered in the element group according to determining that there is the preset relationship between the depth value of the erasable elements that have not yet been rendered in the element group and the depth value of the erasing track elements or erasable elements that already exist in the same plane position as the erasable elements that have not yet been rendered, so that different types of element rendering and different erasing logic can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculation brought by multi-level rendering logic. Moreover, while satisfying the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0057] According to the technical solution provided by the embodiment of the present disclosure, the rendering operation is performed on the elements in the element group that have not been rendered yet according to the type of the elements in the element group that have not been rendered yet and the depth values ​​of the erasable elements and the erasing track elements in the element group that have not been rendered yet on the display interface, and it also includes: according to determining that the depth value of the erasable elements in the element group that have not been rendered yet does not have the preset relationship with the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable elements that have not been rendered yet, the erasable elements in the element group that have not been rendered yet are not rendered, and different types of element rendering and different erasing logic can be realized without relying on multi-level rendering logic, so as to realize support for diversified content while reducing the memory overhead and additional calculation brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0058] According to the technical solution provided by the embodiment of the present disclosure, the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are obtained based on the order of appearance of the element group on the display interface, including: numbering the element groups from small to large or from large to small based on the order of appearance of the element groups on the display interface, and assigning the numbers of the element groups to the erasable elements and the erasure track elements in the element group as the depth values ​​on the display interface. Different types of element rendering and different erasure logic can be realized without relying on multi-level rendering logic, and support for diversified content can be achieved while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0059] According to the technical solution provided by the embodiment of the present disclosure, the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are obtained based on the order of appearance of the element group on the display interface, including: writing the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface into the depth buffer in the system running the display interface, which can realize different types of element rendering and different erasure logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0060] According to the technical solution provided by the embodiment of the present disclosure, by performing rendering operations on specific elements in the element group according to the types of elements in the element group and the depth values ​​of the erasable elements and the erasure track elements in the element group obtained on the display interface, including: rendering the erasable elements and / or the non-erasable elements to be rendered by writing the erasable elements or the non-erasable elements to be rendered into the content buffer of the system running the display interface, it is possible to realize the rendering of different types of elements and different erasure logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0061] According to the technical solution provided by the embodiment of the present disclosure, by making the erasure track elements related in sequence to be sequentially continuous, different types of element rendering and different erasure logic can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while satisfying the functional requirements by realizing the hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0062] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, inerasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and inerasable elements that appear before the erasing track elements that are related in sequence as an element group based on the order in which the erasable elements, the inerasable elements, and the erasing track elements appear on the display interface; and a second acquisition module is configured to allocate the erasing track elements that are related in sequence and the erasable elements and inerasable elements that appear before the erasing track elements that are related in sequence to an element group based on the order in which the erasable elements, the inerasable elements, and the erasing track elements appear on the display interface. The present invention relates to a method for realizing a plurality of erasable elements and erasing track elements in the element group according to the order of their appearance on the surface; a rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the acquired depth values ​​of the erasable elements and erasing track elements in the element group on the display interface; a display module is configured to display the rendered elements on the display interface, and can realize rendering of different types of elements and different erasing logics without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0063] According to the technical solution provided by the embodiment of the present disclosure, by acquiring erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; according to the order of appearance of the erasable elements, the non-erasable elements, and the erasing track elements on the display interface, the erasing track elements that are related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements that are related in sequence are assigned to an element group; based on the order of appearance of the element group on the display interface, the depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface are acquired; according to the type of elements in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, rendering operations are performed on specific elements in the element group, so that different types of element rendering and different erasing logics can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while satisfying the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0064] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, inerasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; an allocation module is configured to allocate, according to the order of appearance of the erasable elements, the inerasable elements, and the erasing track elements on the display interface, erasable elements and inerasable elements that appear before the erasing track elements that are related in sequence as an element group; a second acquisition module is configured to Based on the order of appearance of the element group on the display interface, the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are obtained; the rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface, which can realize different types of element rendering and different erasure logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0065] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, inerasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface of the electronic whiteboard; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and inerasable elements that appear before the erasing track elements that are related in sequence as an element group according to the order of appearance of the erasable elements, the inerasable elements, and the erasing track elements on the display interface; and a second acquisition module is configured to allocate sequentially related erasing track elements and erasable elements and inerasable elements that appear before the erasing track elements that are related in sequence as an element group according to the order of appearance of the erasable elements, the inerasable elements, and the erasing track elements on the display interface. The system is configured to obtain the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface based on the order of appearance of the element group on the display interface; the rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the obtained depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface, which can realize different types of element rendering and different erasure logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0068] Figure 1 A flow chart showing a display method according to an embodiment of the present disclosure;

[0069] Figure 2 A structural block diagram of a display device according to an embodiment of the present disclosure is shown;

[0070] Figure 3 A schematic diagram showing an exemplary application scenario using a display method according to an embodiment of the present disclosure;

[0071] Figure 4 A schematic diagram showing an application example of a display method according to an embodiment of the present disclosure;

[0072] Figure 5 A flowchart showing a rendering method according to an embodiment of the present disclosure is shown;

[0073] Figure 6 A structural block diagram of a rendering device according to an embodiment of the present disclosure is shown;

[0074] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;

[0075] Figure 8 It is a structural diagram of a computer system suitable for implementing the display method or rendering method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0076] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0077] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of labels, numbers, steps, behaviors, components, parts, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other labels, numbers, steps, behaviors, components, parts, or combinations thereof exist or are added.

[0078] It should also be noted that, in the absence of conflict, the embodiments and labels in the embodiments of the present disclosure can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0079] According to the technical solution provided by the embodiment of the present disclosure, erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on a display interface are obtained; according to the order of appearance of erasable elements, non-erasable elements, and erasing track elements on the display interface, erasable track elements that are related in sequence and erasable elements and non-erasable elements that precede the erasing track elements that are related in sequence in appearance order are assigned to an element group; based on the order of appearance of the element group on the display interface, depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface are obtained; according to the type of elements in the element group and the obtained depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, rendering operations are performed on specific elements in the element group; and the rendered elements are displayed on the display interface, so that different types of element rendering and different erasing logics can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0080] Figure 1 FIG. 1 is a flow chart showing a display method according to an embodiment of the present disclosure. Figure 1 As shown, the display method includes the following steps S110, S120, S130, S140 and S150:

[0081] In step S110, erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface are acquired.

[0082] In step S120, according to the order of appearance of erasable elements, non-erasable elements and erasure track elements on the display interface, sequentially related erasure track elements and erasable elements and non-erasable elements that appear before the sequentially related erasure track elements are allocated as an element group.

[0083] In step S130 , depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are acquired based on the appearance order of the element group on the display interface.

[0084] In step S140 , a rendering operation is performed on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0085] In step S150 , the rendered element is displayed on a display interface.

[0086] In one embodiment of the present disclosure, the display interface may refer to a display interface displayed on a display screen of an electronic device such as a PC or TV, and the display interface may be a module that provides interactive operations such as writing, for example, a part of an electronic whiteboard. An electronic whiteboard refers to an application program that simulates whiteboard writing operations implemented on electronic devices such as PCs and TVs. Those skilled in the art will appreciate that the interactive operation module may also be implemented as other modules such as an electronic blackboard, and the module that provides interactive operations such as writing may be implemented by software, hardware, or a combination of software and hardware.

[0087] In one embodiment of the present disclosure, the erasable elements that are allowed to be erased may refer to artificial strokes (such as hand-drawn strokes), displayed pictures, texts, SVG (Scalable Vector Graphics), multimedia and other contents input on the display interface. The erasable elements that are allowed to be erased may be preset to one or more contents. For example, only the artificial strokes and text input on the display interface are used as erasable elements.

[0088] In one embodiment of the present disclosure, erasable elements that are not allowed to be erased may refer to artificial strokes (such as hand-drawn strokes), displayed pictures, texts, SVG (Scalable Vector Graphics), multimedia and other contents input on the display interface. Erasable elements that are allowed to be erased may be preset to one or more contents. For example, only pictures and multimedia input on the display interface are treated as non-erasable elements.

[0089] In one embodiment of the present disclosure, the erasing track element is an element used to erase the erasable element from the display interface. For example, the erasing track element can be an erasing track formed by a person's hand or some device on the display interface to erase the erasable element.

[0090] It should be noted that all elements displayed on the display interface can be divided into erasable elements, non-erasable elements and erasure track elements, the types of erasable elements and non-erasable elements are different, and only erasable elements can be erased by erasure track elements.

[0091] In one embodiment of the present disclosure, erasable elements and non-erasable elements that appear before these continuous erasing trajectory elements can be assigned to an element group. It should be understood that the purpose of inputting one or more erasing trajectory elements on the display interface is to erase the erasable elements that were input to the display interface before them, and the order of appearance of erasable elements and erasable elements on the display interface can be staggered. Therefore, using the erasing trajectory elements that appear in a related (continuous) order as the boundary between the current element group and the element group that appears immediately after it is conducive to the erasing of the erasable elements, thereby realizing the display method of the embodiment of the present disclosure.

[0092] In one embodiment of the present disclosure, the sequentially related erasure trajectory elements are sequentially continuous erasure trajectory elements. That is, the sequentially related erasure trajectory elements and the erasable elements and the non-erasable elements that appear before the sequentially related erasure trajectory elements are assigned as one element group, which means: the sequentially continuous erasure trajectory elements and the erasable elements and the non-erasable elements that appear before the sequentially continuous erasure trajectory elements are assigned as one element group.

[0093] According to the technical solution provided by the embodiment of the present disclosure, by making the erasure track elements related in sequence to be sequentially continuous, different types of element rendering and different erasure logic can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while satisfying the functional requirements by realizing the hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0094] In one embodiment of the present disclosure, step S130 includes: numbering the element groups from small to large or from large to small based on the order of appearance of the element groups on the display interface, and assigning the numbers of the element groups to the erasable elements and erasure track elements in the element groups as depth values ​​on the display interface.

[0095] According to the technical solution provided by the embodiment of the present disclosure, the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are obtained based on the order of appearance of the element group on the display interface, including: numbering the element groups from small to large or from large to small based on the order of appearance of the element groups on the display interface, and assigning the numbers of the element groups to the erasable elements and the erasure track elements in the element group as the depth values ​​on the display interface. Different types of element rendering and different erasure logic can be realized without relying on multi-level rendering logic, and the support for diversified content can be achieved while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0096] In one embodiment of the present disclosure, a consistent depth value may be assigned to the elements in each element group from small to large in the order of appearance of each element group. For example, the depth value of the first element group is 1, and the depth value of the nth element group is n, where n is an integer greater than 1. In one embodiment of the present disclosure, a consistent depth value may be assigned to the erasable elements and the erasure track elements in each element group from large to small in the order of appearance of each element group. For another example, the depth value of the first element group is n, where n is an integer greater than 1, and the depth value of the nth element group is 1. It should be noted that the above assignment of an integer value as a depth value to each element group is merely an example, and various values ​​may be assigned as depth values ​​from small to large or from large to small in the order of appearance of each element group.

[0097] For example, the erasable track element is represented as c, the non-erasable element is represented as p, and the erasable element is represented as d, then the elements with the order of appearance cpddcccdcdcc can be divided into 4 element groups, namely the first element group c, the second element group pddccc, the third element group dc, and the fourth element group dcc. When the element groups are numbered from small to large or from large to small according to the order of appearance, the four element groups can be represented as 1.c, 2.pddccc, 3.dc, and 4.dcc respectively. In this case, the numbers of the four element groups can be assigned to the erasable elements and the erasable track elements in each element group as the depth value on the display interface, that is, the depth value of the erasable track element c in the first element group is 1, the depth value of the erasable element d and the erasable track element c in the second element group is 2, the depth value of the erasable element d and the erasable track element c in the third element group is 3, and the depth value of the erasable element d and the erasable track element c in the fourth element group is 4. Those skilled in the art will appreciate that various values ​​may be allocated from large to small according to the order of appearance of each element group as the depth values ​​of the erasable elements d and the erasure track elements c in each element group.

[0098] In one embodiment of the present disclosure, inconsistent depth values ​​can be assigned to the elements in each element group according to the order of appearance of each element group. For example, erasable elements and erasure trajectory elements in the same order of appearance are assigned consistent depth values, and erasable elements and erasure trajectory elements in different orders of appearance are assigned different depth values ​​from small to large or from large to small according to the order of appearance.

[0099] In one embodiment of the present disclosure, a depth value is assigned to an erasable element and an erasing trajectory element so that at the same plane position of the display interface, it is determined whether to render the erasable element according to the depth value of the erasable element and the erasing trajectory element. For example, when an element with a larger depth value at the same plane position needs to be reflected on the display interface, if the depth value of the erasable element to be rendered currently written to the depth buffer (used to store and compare the depth values ​​of the erasable element and the erasing trajectory element) is greater than the depth value of the erasable element or the erasing trajectory element currently written to the depth buffer, the erasable element to be rendered currently written to the depth buffer is rendered. Conversely, if the depth value of the erasable element to be rendered currently written to the depth buffer is not greater than the depth value of the erasable element or the erasing trajectory element currently written to the depth buffer, the erasable element to be rendered currently written to the depth buffer is not rendered. It should be understood that the depth value of the erasable element or the erasing trajectory element in the above example can be based on the order of appearance of the elements on the display interface. The element group is numbered from small to large.

[0100] In an embodiment of the present disclosure, the same plane position may refer to the plane position of each pixel of the display interface. Elements at the same plane position may refer to multiple different elements appearing at the same pixel of the display interface. It should be understood that the appearance of multiple different elements at the same plane position may refer to a part or all of these elements and a part or all of other elements appearing at the same pixel of the display interface. Therefore, it can be determined whether there is a preset relationship between the depth value of the erasable element that has not yet been rendered in the element group and the depth value of the erasable track element or the erasable element that already exists at the same pixel as the erasable element that has not yet been rendered.

[0101] In the case where the element group is numbered from large to small based on the order in which the elements appear on the display interface, when an element with a smaller depth value at the same plane position needs to be reflected on the display interface, if the depth value of the erasable element currently written to the depth buffer to be rendered is smaller than the depth value of the erasable element or the erasure trajectory element currently written to the depth buffer, the erasable element currently written to the depth buffer to be rendered is rendered. Conversely, if the depth value of the erasable element currently written to the depth buffer to be rendered is not smaller than the depth value of the erasable element or the erasure trajectory element currently written to the depth buffer, the erasable element currently written to the depth buffer to be rendered is not rendered.

[0102] In one embodiment of the present disclosure, performing a rendering operation on a specific element in the element group according to the type of elements in the element group and the acquired depth values ​​of the erasable elements and the erasure trajectory elements in the element group on the display interface refers to: adopting different rendering methods according to whether the element to be rendered is an erasable element or a non-erasable element, and when the element to be rendered is an erasable element, determining the rendering method of the erasable element based on the depth values ​​of the erasable elements and the erasure trajectory elements in the element group on the display interface.

[0103] In one embodiment of the present disclosure, before step S140, the process includes: detecting whether there are elements in the element group that have not been rendered. In the case of detecting whether there are elements in the element group that have not been rendered, step S140 includes: performing a rendering operation on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface.

[0104] According to the technical solution provided by the embodiment of the present disclosure, before performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the depth value of the erasable element and the erasing track element in the element group obtained on the display interface, it also includes: detecting whether there are elements in the element group that have not been rendered; wherein, performing a rendering operation on the specific element in the element group according to the type of the element in the element group and the depth value of the erasable element and the erasing track element in the element group obtained on the display interface includes: performing a rendering operation on the elements in the element group that have not been rendered according to the type of the element in the element group that has not been rendered and the depth value of the erasable element and the erasing track element in the element group that has not been rendered on the display interface, it can realize different types of element rendering and different erasing logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculation brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0105] In one embodiment of the present disclosure, a rendering operation is performed on the elements in the element group that have not yet been rendered according to the types of the elements in the element group that have not yet been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not yet been rendered on the display interface, including: rendering the non-erasable elements in the element group that have not yet been rendered according to the fact that the elements in the element group that have not yet been rendered are non-erasable elements.

[0106] According to the technical solution provided by the embodiment of the present disclosure, by performing rendering operations on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the depth values ​​of the erasable elements and the erasure track elements that have not yet been rendered in the element group obtained on the display interface, including: rendering the non-erasable elements that have not yet been rendered in the element group according to the fact that the elements that have not yet been rendered in the element group are non-erasable elements, it is possible to achieve different types of element rendering and different erasure logic without relying on multi-level rendering logic, while supporting diversified content and reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0107] In one embodiment of the present disclosure, if the element to be rendered is a non-erasable element, the non-erasable element will not be affected by the erasing track element, so there is no need to assign a depth value to it and perform a depth test, that is, the non-erasable element can be directly rendered. In one embodiment of the present disclosure, the non-erasable element is rendered by writing the non-erasable element into a content buffer of a system including a display interface for rendering.

[0108] In one embodiment of the present disclosure, a rendering operation is performed on the elements in the element group that have not yet been rendered according to the types of the elements in the element group that have not yet been rendered and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group that have not yet been rendered on the display interface, including: determining whether there is a preset relationship between the depth value of the erasable elements in the element group that have not yet been rendered and the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable elements that have not yet been rendered according to the fact that the elements in the element group that have not yet been rendered are erasable elements; rendering the erasable elements in the element group that have not yet been rendered according to determining that there is a preset relationship between the depth value of the erasable elements in the element group that have not yet been rendered and the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable elements that have not yet been rendered.

[0109] According to the technical solution provided by the embodiment of the present disclosure, a rendering operation is performed on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the depth values ​​of the erasable elements and the erasing track elements that have not yet been rendered in the element group obtained on the display interface, including: determining whether there is a preset relationship between the depth value of the erasable elements that have not yet been rendered in the element group and the depth value of the erasing track elements or the erasable elements that already exist in the same plane position as the erasable elements that have not yet been rendered according to the fact that the elements that have not yet been rendered in the element group are erasable elements; rendering the erasable elements that have not yet been rendered in the element group according to determining that there is a preset relationship between the depth value of the erasable elements that have not yet been rendered in the element group and the depth value of the erasing track elements or the erasable elements that already exist in the same plane position as the erasable elements that have not yet been rendered, can realize different types of element rendering and different erasing logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculation brought by the multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0110] In one embodiment of the present disclosure, if the element to be rendered is an erasable element, the erasable element may be affected by the erasing track element at the same plane position, so it is necessary to perform a depth test on the erasable element to be rendered, and the erasable element is rendered only when the depth test indicates that the depth value of the erasable element meets the preset condition. The concept of depth test can be obtained from the relevant field, and the present disclosure only describes how to use the depth test to determine whether the depth value of the erasable element to be rendered meets the preset condition. For example, the depth value of the erasable element or the erasing track element is currently stored in the depth buffer, and it is determined whether the relationship between the depth value of the erasable element to be rendered and the depth value of the erasable element or the erasing track element currently stored in the depth buffer satisfies the preset relationship. For example, the preset relationship can be whether the depth value of the erasable element to be rendered is greater than the depth value of the erasable element or the erasing track element currently stored in the depth buffer. For another example, the preset relationship can be whether the depth value of the erasable element to be rendered is less than the depth value of the erasable element or the erasing track element currently stored in the depth buffer. If it is determined that the relationship between the depth value of the erasable element to be rendered and the depth value of the erasable element or the erasing track element currently stored in the depth buffer satisfies the preset relationship, it is determined that the erasable element to be rendered is to be rendered. In other words, the erasing track element currently at the same plane position cannot erase the erasable element to be rendered, or the erasable element to be rendered blocks or replaces the erasable element currently at the same plane position.

[0111] In one embodiment of the present disclosure, a rendering operation is performed on the elements in the element group that have not yet been rendered according to the types of the elements in the element group that have not yet been rendered and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group that have not yet been rendered on the display interface, and the method also includes: not rendering the erasable elements in the element group that have not yet been rendered according to determining that there is no preset relationship between the depth values ​​of the erasable elements in the element group that have not yet been rendered and the depth values ​​of the erasing track elements or the erasable elements that already exist in the same plane position as the erasable elements that have not yet been rendered.

[0112] According to the technical solution provided by the embodiment of the present disclosure, by performing rendering operations on the elements that have not yet been rendered in the element group according to the types of the elements that have not yet been rendered in the element group and the depth values ​​of the erasable elements and erasing track elements that have not yet been rendered in the element group obtained on the display interface, it also includes: according to determining that there is no preset relationship between the depth value of the erasable elements that have not yet been rendered in the element group and the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable elements that have not yet been rendered, the erasable elements that have not yet been rendered in the element group are not rendered, and different types of element rendering and different erasing logic can be realized without relying on multi-level rendering logic, so as to support diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0113] In one embodiment of the present disclosure, when the preset relationship is whether the depth value of the erasable element to be rendered is greater than the depth value of the erasable element or the erasing trajectory element currently stored in the depth buffer, not satisfying the preset relationship means that the depth value of the erasable element to be rendered is less than or equal to the depth value of the erasable element or the erasing trajectory element currently stored in the depth buffer. In one embodiment of the present disclosure, when the preset relationship is whether the depth value of the erasable element to be rendered is less than the depth value of the erasable element or the erasing trajectory element currently stored in the depth buffer, not satisfying the preset relationship means that the depth value of the erasable element to be rendered is greater than or equal to the depth value of the erasable element or the erasing trajectory element currently stored in the depth buffer. If it is determined that the relationship between the depth value of the erasable element to be rendered and the depth value of the erasable element or the erasing trajectory element currently stored in the depth buffer satisfies the non-preset relationship, it is determined that the erasable element to be rendered is not to be rendered. In other words, the erasable element to be rendered will be erased by the erase track element currently at the same plane position, or the erasable element to be rendered will be blocked or replaced by the erase track element currently at the same plane position.

[0114] In one embodiment of the present disclosure, step S140 includes: writing the depth values ​​of the erasable elements and the erasure track elements in the acquired element group on the display interface into a depth buffer in the system running the display interface.

[0115] According to the technical solution provided by the embodiment of the present disclosure, by obtaining the depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface based on the order in which the element group appears on the display interface, including: writing the obtained depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface into the depth buffer in the system running the display interface, it is possible to realize different types of element rendering and different erasure logic without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0116] In one embodiment of the present disclosure, only erasable elements and erasure track elements need to be depth tested, so the erasable elements and erasure track elements can be depth tested in a depth buffer set in the memory of the system running the display interface.

[0117] In one embodiment of the present disclosure, step S140 includes: rendering the erasable elements and / or non-erasable elements to be rendered by writing the erasable elements or non-erasable elements to be rendered into a content buffer in a system running the display interface.

[0118] According to the technical solution provided by the embodiment of the present disclosure, by performing rendering operations on specific elements in the element group according to the type of elements in the element group and the depth values ​​of the erasable elements and the erasure track elements in the element group obtained on the display interface, including: rendering the erasable elements and / or the non-erasable elements to be rendered by writing the erasable elements or the non-erasable elements to be rendered into the content buffer of the system running the display interface, it is possible to realize the rendering of different types of elements and different erasure logic without relying on multi-level rendering logic, realize support for diversified content, and reduce the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0119] In one embodiment of the present disclosure, only erasable elements and non-erasable elements need to be rendered, so the erasable elements and / or non-erasable elements can be rendered in a content buffer set in the memory of the system running the display interface. For example, the non-erasable elements to be rendered can be directly written into the content buffer for rendering. For example, after the erasable elements to be rendered are tested in the depth buffer, if they meet the preset relationship, the erasable elements are written into the content buffer for rendering. Those skilled in the art will understand that the specific content of the rendering operation performed on the elements in the content buffer can be obtained from the relevant field, and the present disclosure will not go into details.

[0120] The following reference Figure 2 An example of a display device according to an embodiment of the present disclosure is described.

[0121] Figure 2 FIG. 1 is a block diagram showing a structure of a display device according to an embodiment of the present disclosure. Figure 2 As shown, the display device 200 includes a first acquisition module 210 , an allocation module 220 , a second acquisition module 230 , a rendering module 240 and a display module 250 .

[0122] The first acquisition module 210 is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface.

[0123] The allocation module 220 is configured to allocate sequentially related erasable trace elements and erasable elements and non-erasable elements preceding the sequentially related erasable trace elements in appearance order into an element group according to the order of appearance of the erasable elements, non-erasable elements and erasing trace elements on the display interface.

[0124] The second acquisition module 230 is configured to acquire depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface based on the appearance order of the element group on the display interface.

[0125] The rendering module 240 is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0126] The display module 250 is configured to display the rendered elements on a display interface.

[0127] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, inerasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on the display interface; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and inerasable elements before the erasing track elements that appear in a sequentially related order into an element group according to the order in which the erasable elements, inerasable elements, and erasing track elements appear on the display interface; a second acquisition module is configured to allocate the erasing track elements that are related in sequence and the erasable elements and inerasable elements that precede the erasing track elements that appear in a sequentially related order based on the order in which the element groups appear on the display interface. The depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface are obtained in the order of appearance on the display interface; the rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface; the display module is configured to display the rendered elements on the display interface, and can realize different types of element rendering and different erasing logic without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by realizing a hierarchical content rendering method, it also ensures that even on devices with poor performance, strong writing and rendering performance can be achieved.

[0128] Those skilled in the art will understand that referring to Figure 2 The technical solutions described can be compared with Figure 1 The described embodiments are combined to provide a reference Figure 1 The technical effects achieved by the described embodiments. Figure 1 The specific content of the description will not be repeated here.

[0129] The following reference Figure 3 An exemplary application scenario of a display method according to an embodiment of the present disclosure is described.

[0130] Figure 3 A schematic diagram showing an exemplary application scenario using a display method according to an embodiment of the present disclosure.

[0131] like Figure 3As shown, a non-erasable element 301, an erasable element 302, an erasing track element (dashed box) 303, a non-erasable element 311, and an erasable element 312 are sequentially input on a display interface 330. According to the order of appearance of each element, the five elements are divided into two element groups 300 and 310 with the erasing track element 303 as the boundary. The first element group 300 includes a non-erasable element 301, an erasable element 302, and an erasing track element 303. The second element group 310 includes a non-erasable element 311 and an erasable element 312. In the case where a rendering operation needs to be performed on the non-erasable elements 301, the erasable elements 302, the non-erasable elements 311, and the erasable elements 312 in the first element group and the second element group, their depth values ​​are obtained based on the order of appearance of these elements. The number 1 of the first element group 300 can be used as the depth value of the non-erasable element 301 and the erasable element 302, and the number 2 of the second element group 310 can be used as the depth value of the non-erasable element 311 and the erasable element 312. Since the non-erasable element 301 cannot be erased, the non-erasable element 301 can be directly written into the content buffer 350. The depth value 1 of the erasable track element 303 is written into the depth buffer 340, and the depth value 1 of the erasable element 302 located at the same plane position is also written into the depth buffer 340 for depth testing. In the case where the preset relationship is that the depth value of the erasable element is greater than the current depth value of the element in the depth buffer 340, since the depth value of the erasable element 302 and the depth value of the erasable track element 303 are both 1, the erasable element 302 cannot be written into the content buffer 350, that is, the erasable element 302 will not be rendered. Therefore, on the display interface 330, the erasable element 302 is erased by the erase track element 303, but the non-erasable element 301 is not erased by the erase track element 303. For the second element group 310, since the non-erasable element 311 cannot be erased, the non-erasable element 311 can be directly written to the content buffer 350 for rendering. In this example, there are no other elements at the same plane position as the erasable element 312, so the current depth value at the same plane position as the erasable element 312 in the depth buffer 340 can be set to 0. When the erasable element 312 is depth tested, the depth value 2 of the erasable element 312 is greater than the current depth value 0, so the erasable element 312 can be written to the content buffer 350, that is, the erasable element 312 is rendered.

[0132] The following reference Figure 4 An application example of a display method according to an embodiment of the present disclosure is described.

[0133] Figure 4 A schematic diagram showing an application example of a display method according to an embodiment of the present disclosure.

[0134] like Figure 4 As shown, elements are added to the system where the display interface is located, for example, the content added by the electronic whiteboard user operation. In the element grouping step, the sequentially related erase trajectory elements and the continuous non-erasable elements and erasable elements before them are grouped into one group. Each group is traversed in turn, and the erase trajectory elements of each group are written to the depth buffer, and the depth value can be the number of each group. Each group is traversed in turn, and if there are still elements that have not been rendered, the element rendering operation is performed, otherwise the operation is terminated. The method of performing rendering operations according to different element types refers to: if the element to be rendered is an inerasable element, the inerasable element is rendered in a mode without depth testing and writing to the depth buffer; if the element to be rendered is an erasable element, the depth buffer test is performed with the group number being the current depth value and the corresponding buffer depth value of the element at the same horizontal position that has been written to the depth buffer, if the current depth value is greater than the corresponding buffer depth value, the erasable element is written to the content buffer to render the content, and if the current depth value is less than or equal to the corresponding buffer depth value, the content buffer is not written, that is, the content is not rendered.

[0135] The following reference Figure 5 A rendering method according to an embodiment of the present disclosure is described.

[0136] Figure 5 FIG. 1 is a flowchart of a rendering method according to an embodiment of the present disclosure. Figure 4 As shown, the display method includes the following steps S510, S520, S530 and S540:

[0137] In step S510, erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface are acquired.

[0138] In step S520, according to the order of appearance of erasable elements, non-erasable elements and erasure track elements on the display interface, sequentially related erasure track elements and erasable elements and non-erasable elements preceding the sequentially related erasure track elements are allocated as an element group.

[0139] In step S530, depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are obtained based on the appearance order of the element group on the display interface.

[0140] In step S540 , a rendering operation is performed on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0141] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on the display interface; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and non-erasable elements before the sequentially related erasing track elements according to the order of appearance of the erasable elements, non-erasable elements, and erasing track elements on the display interface as an element group; a second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the order of appearance of the element group on the display interface; a rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, so that different types of element rendering and different erasing logic can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while satisfying the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0142] Those skilled in the art will understand that referring to Figure 5 The technical solutions described can be compared with Figures 1 to 4 The described embodiments are combined to provide a reference Figures 1 to 4 The technical effects achieved by the described embodiments. Figures 1 to 4 The specific content of the description will not be repeated here.

[0143] The following reference Figure 6 A rendering device according to an embodiment of the present disclosure is described.

[0144] Figure 6 FIG. 6 is a block diagram showing a rendering device 600 according to an embodiment of the present disclosure. Figure 6 As shown, the rendering device 600 includes a first acquisition module 610 , an allocation module 620 , a second acquisition module 630 and a rendering module 640 .

[0145] The first acquisition module 610 is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface.

[0146] The allocation module 620 is configured to allocate sequentially related erase track elements and erasable elements and non-erasable elements preceding the sequentially related erase track elements in appearance order into an element group according to the order of appearance of the erasable elements, non-erasable elements and erase track elements on the display interface.

[0147] The second acquisition module 630 is configured to acquire depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface based on the appearance order of the element group on the display interface.

[0148] The rendering module 640 is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0149] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on the display interface; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and non-erasable elements before the sequentially related erasing track elements according to the order of appearance of the erasable elements, non-erasable elements, and erasing track elements on the display interface into an element group; a second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the order of appearance of the element group on the display interface; a rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, so that different types of element rendering and different erasing logics can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0150] In one embodiment of the present disclosure, an electronic whiteboard may be used to implement the rendering technology solution according to the embodiment of the present disclosure. An electronic whiteboard includes:

[0151] A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on the display interface of the electronic whiteboard;

[0152] an allocation module configured to allocate sequentially related erasure track elements and erasable elements and non-erasable elements preceding the sequentially related erasure track elements in the order of appearance into one element group according to the order of appearance of the erasable elements, non-erasable elements and erasure track elements on the display interface;

[0153] A second acquisition module is configured to acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on the appearance order of the element group on the display interface;

[0154] The rendering module is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0155] According to the technical solution provided by the embodiment of the present disclosure, a first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing erasable elements that appear on the display interface of the electronic whiteboard; an allocation module is configured to allocate sequentially related erasing track elements and erasable elements and non-erasable elements before the sequentially related erasing track elements according to the order of appearance of the erasable elements, non-erasable elements, and erasing track elements on the display interface as an element group; a second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the order of appearance of the element group on the display interface; a rendering module is configured to perform rendering operations on specific elements in the element group according to the types of elements in the element group and the acquired depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface, so that different types of element rendering and different erasing logic can be realized without relying on multi-level rendering logic, thereby supporting diversified content while reducing the memory overhead and additional calculations brought by multi-level rendering logic. Moreover, while meeting the functional requirements by implementing a hierarchical content rendering method, it also ensures strong writing and rendering performance even on devices with poor performance.

[0156] Those skilled in the art will understand that referring to Figure 6 The technical solutions described can be compared with Figures 1 to 5 The described embodiments are combined to provide a reference Figures 1 to 5 The technical effects achieved by the described embodiments. Figures 1 to 5 The specific content of the description will not be repeated here.

[0157] The above embodiments describe the internal functions and structures of the display device and the rendering device. In a possible design, the structures of the display device and the rendering device can be implemented as electronic devices, such as Figure 7 As shown in FIG. 7 , the electronic device 700 may include a processor 701 and a memory 702 .

[0158] The memory 702 is used to store a program that supports the electronic device to execute the display method or code generation method in any of the above embodiments, and the processor 701 is configured to execute the program stored in the memory 702.

[0159] In one embodiment of the present disclosure, the memory 702 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 701 to implement the following steps:

[0160] Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0161] According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group;

[0162] Acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on the order in which the element group appears on the display interface;

[0163] Performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface;

[0164] The rendered element is displayed on the display interface.

[0165] In one embodiment of the present disclosure, before performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface, the method further includes:

[0166] Detecting whether there is an element in the element group that has not been rendered;

[0167] The performing of the rendering operation on the specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0168] According to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and erasure track elements in the element group that have not been rendered on the display interface, rendering operations are performed on the elements in the element group that have not been rendered.

[0169] In one embodiment of the present disclosure, performing a rendering operation on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface includes:

[0170] According to the fact that the elements in the element group that have not been rendered are non-erasable elements, the non-erasable elements in the element group that have not been rendered are rendered.

[0171] In one embodiment of the present disclosure, performing a rendering operation on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface includes:

[0172] According to the fact that the element in the element group that has not been rendered is an erasable element, determining whether there is a preset relationship between the depth value of the erasable element in the element group that has not been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not been rendered;

[0173] Based on determining that there is a preset relationship between the depth value of the erasable element in the element group that has not yet been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is rendered.

[0174] In one embodiment of the present disclosure, the performing a rendering operation on the elements that have not been rendered in the element group according to the types of the elements that have not been rendered in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements that have not been rendered in the element group on the display interface, further includes:

[0175] Based on determining that the depth value of the erasable element in the element group that has not yet been rendered does not have the preset relationship with the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is not rendered.

[0176] In one embodiment of the present disclosure, the acquiring, based on the order of appearance of the element group on the display interface, depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0177] The element groups are numbered from small to large or from large to small based on the order in which the element groups appear on the display interface, and the numbers of the element groups are assigned to the erasable elements and erasure track elements in the element groups as depth values ​​on the display interface.

[0178] In one embodiment of the present disclosure, the acquiring, based on the order of appearance of the element group on the display interface, depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0179] The acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are written into a depth buffer in the system running the display interface.

[0180] In one embodiment of the present disclosure, performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes:

[0181] The erasable elements and / or non-erasable elements to be rendered are rendered by writing the erasable elements or non-erasable elements to be rendered into a content buffer in a system running the display interface.

[0182] In one embodiment of the present disclosure, the memory 702 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 701 to implement the following steps:

[0183] Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface;

[0184] According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group;

[0185] Acquire depth values ​​of erasable elements and erasure track elements in the element group on the display interface based on the order in which the element group appears on the display interface;

[0186] A rendering operation is performed on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

[0187] The exemplary embodiments of the present disclosure further provide a computer storage medium for storing computer software instructions used by the positioning device, which includes a program for executing any of the above embodiments, thereby achieving the technical effects brought by the method.

[0188] Figure 8 It is a structural diagram of a computer system suitable for implementing a display method or a rendering method according to an embodiment of the present disclosure.

[0189] like Figure 8 As shown, the computer system 800 includes a processor (CPU, GPU, FPGA, etc.) 801, which can perform various processes in the embodiments shown in the above figures according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The processor 801, ROM 802 and RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0190] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0191] In particular, according to an embodiment of the present disclosure, the method described above with reference to the accompanying drawings can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes program code for executing the method in the accompanying drawings. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 809, and / or installed from a removable medium 811.

[0192] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the road map or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0193] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0194] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure, thereby achieving the technical effects brought by the method.

[0195] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. A display method, characterized in that: include: Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group; Acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the order in which the element group appears on the display interface, where the depth value on the display interface is the number of the element group to which the erasable elements and the erasing track elements belong; Performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface; The rendered element is displayed on the display interface.

2. The method according to claim 1, characterized in that: Before performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface, the method further includes: Detecting whether there are any elements in the element group that have not been rendered; The performing of the rendering operation on the specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes: According to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and erasure track elements in the element group that have not been rendered on the display interface, rendering operations are performed on the elements in the element group that have not been rendered.

3. The method according to claim 2, characterized in that The performing a rendering operation on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface includes: According to the fact that the elements in the element group that have not been rendered are non-erasable elements, the non-erasable elements in the element group that have not been rendered are rendered.

4. The method according to claim 2, characterized in that: The performing a rendering operation on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface includes: According to the fact that the element in the element group that has not been rendered is an erasable element, determining whether there is a preset relationship between the depth value of the erasable element in the element group that has not been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not been rendered; Based on determining that there is a preset relationship between the depth value of the erasable element in the element group that has not yet been rendered and the depth value of the erasable track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is rendered.

5. The method according to claim 4, characterized in that The performing rendering operations on the elements in the element group that have not been rendered according to the types of the elements in the element group that have not been rendered and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group that have not been rendered on the display interface, further includes: Based on determining that the depth value of the erasable element in the element group that has not yet been rendered does not have the preset relationship with the depth value of the erasing track element or the erasable element that already exists in the same plane position as the erasable element that has not yet been rendered, the erasable element in the element group that has not yet been rendered is not rendered.

6. The method according to any one of claims 1 to 5, characterized in that: The acquiring, based on the order of appearance of the element group on the display interface, depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface comprises: The element groups are numbered from small to large or from large to small based on the order in which the element groups appear on the display interface, and the numbers of the element groups are assigned to the erasable elements and erasure track elements in the element groups as depth values ​​on the display interface.

7. The method according to any one of claims 1 to 5, characterized in that: The acquiring, based on the order of appearance of the element group on the display interface, depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface comprises: The acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface are written into a depth buffer in the system running the display interface.

8. The method according to any one of claims 1 to 5, characterized in that: The performing a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface includes: The erasable elements and / or non-erasable elements to be rendered are rendered by writing the erasable elements or non-erasable elements to be rendered into a content buffer in a system running the display interface.

9. The method according to any one of claims 1 to 5, characterized in that: The sequentially related erasure trajectory elements are sequentially continuous erasure trajectory elements.

10. A display device, characterized in that: include: A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface; A second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the appearance order of the element group on the display interface, wherein the depth value on the display interface is the number of the element group to which the erasable elements and the erasing track elements belong; a rendering module configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface; The display module is configured to display the rendered elements on the display interface.

11. A rendering method, characterized in that: include: Acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; According to the order of appearance of the erasable elements, the non-erasable elements and the erasing track elements on the display interface, the erasing track elements related in sequence and the erasable elements and non-erasable elements that appear before the erasing track elements related in sequence are assigned as an element group; Acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the order in which the element group appears on the display interface, where the depth value on the display interface is the number of the element group to which the erasable elements and the erasing track elements belong; A rendering operation is performed on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

12. A rendering device, characterized in that: include: A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface; an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface; A second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the appearance order of the element group on the display interface, wherein the depth value on the display interface is the number of the element group to which the erasable elements and the erasing track elements belong; The rendering module is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

13. An electronic whiteboard, characterized in that: include: A first acquisition module is configured to acquire erasable elements that are allowed to be erased, non-erasable elements that are not allowed to be erased, and erasing track elements for erasing the erasable elements that appear on the display interface of the electronic whiteboard; an allocation module configured to allocate sequentially related erasure trajectory elements and erasable elements and non-erasable elements that appear before the sequentially related erasure trajectory elements into one element group according to the order of appearance of the erasable elements, the non-erasable elements and the erasure trajectory elements on the display interface; A second acquisition module is configured to acquire depth values ​​of the erasable elements and the erasing track elements in the element group on the display interface based on the appearance order of the element group on the display interface, wherein the depth value on the display interface is the number of the element group to which the erasable elements and the erasing track elements belong; The rendering module is configured to perform a rendering operation on a specific element in the element group according to the type of the element in the element group and the acquired depth values ​​of the erasable elements and the erasure track elements in the element group on the display interface.

14. An electronic device, characterized in that: comprising a memory and a processor; wherein, The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1-9 and 11.

15. A readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1-9 and 11 is implemented.