CN112581557A - Layer drawing method and electronic equipment - Google Patents

Layer drawing method and electronic equipment Download PDF

Info

Publication number
CN112581557A
CN112581557A CN201910943806.7A CN201910943806A CN112581557A CN 112581557 A CN112581557 A CN 112581557A CN 201910943806 A CN201910943806 A CN 201910943806A CN 112581557 A CN112581557 A CN 112581557A
Authority
CN
China
Prior art keywords
layer
coprocessor
application processor
layers
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201910943806.7A
Other languages
Chinese (zh)
Inventor
陈岩
薛江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910943806.7A priority Critical patent/CN112581557A/en
Publication of CN112581557A publication Critical patent/CN112581557A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Landscapes

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

Abstract

The application provides a layer drawing method and electronic equipment. The method is applied to electronic equipment, the drawn image layer is displayed in a display screen of the electronic equipment, the electronic equipment comprises an application processor and a coprocessor, the running power consumption of the coprocessor is smaller than that of the application processor, and the method comprises the following steps: detecting a drawing requirement of a layer through an application processor; drawing the layer through a coprocessor according to the layer drawing requirement, or drawing the layer through an application processor in combination with the coprocessor. Through the application, the application processor AP can be adopted to combine with the coprocessor to draw the layer, and the layer drawing effect is effectively improved.

Description

Layer drawing method and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a layer drawing method and electronic equipment.
Background
With the development of electronic device technology, the electronic devices are more and more widely applied, and the demand for display effect is higher and higher.
In the related art, when the electronic device displays a corresponding layer, an Application Processor (AP) built in the electronic device is generally used to draw and display the corresponding layer, for example, the Application Processor AP controls a layer drawing related Application program of a display screen of the electronic device to draw and display the corresponding layer, and at this time, the Application Processor AP is the only Processor that can perform control.
In this way, the drawing effect of the map layer is single and poor.
Disclosure of Invention
The present application addresses at least one of the technical problems in the related art to some extent.
Therefore, the application provides a layer drawing method and electronic equipment, which can adopt an application processor AP to draw a layer in combination with a coprocessor, and effectively improve the layer drawing effect.
The layer drawing method provided in the embodiment of the first aspect of the present application is applied to an electronic device, where a drawn layer is displayed in a display screen of the electronic device, the electronic device includes an application processor and a coprocessor, and the running power consumption of the coprocessor is smaller than that of the application processor, and the method includes: detecting, by the application processor, a layer drawing requirement; drawing the layer through the coprocessor according to the layer drawing requirement, or drawing the layer through the application processor and the coprocessor
According to the layer drawing method provided by the embodiment of the first aspect of the application, the layer drawing requirements are detected through the application processor, the layer is drawn through the coprocessor according to the layer drawing requirements, or the application processor is combined with the coprocessor to draw the layer, the application processor AP can be adopted to be combined with the coprocessor to draw the layer, and the layer drawing effect is effectively improved.
In the electronic device provided in the embodiment of the second aspect of the present application, a drawn layer is displayed in a display screen of the electronic device, the electronic device includes an application processor and a coprocessor, and an operation power consumption of the coprocessor is less than an operation power consumption of the application processor, where the application processor is configured to detect a layer drawing requirement; the application processor is further configured to draw a layer according to the layer drawing requirement, and send a corresponding call instruction to the coprocessor; or, the application processor is further configured to directly send a corresponding call instruction to the coprocessor according to the layer drawing requirement; and the coprocessor is used for drawing the layer when the calling instruction is received.
According to the electronic device provided by the embodiment of the second aspect of the application, the layer drawing requirements are detected through the application processor, the layer is drawn through the coprocessor according to the layer drawing requirements, or the application processor is combined with the coprocessor to draw the layer, the application processor AP can be adopted to be combined with the coprocessor to draw the layer, and the layer drawing effect is effectively improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a layer drawing method according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a coprocessor in the embodiment of the present application;
FIG. 3 is a schematic diagram of an architecture design of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic flowchart of a layer drawing method according to another embodiment of the present application;
FIG. 5 is a flowchart illustrating a layer drawing method according to another embodiment of the present application;
FIG. 6 is a schematic diagram of an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
In order to solve the technical problems that the drawing effect of a layer is single and the drawing effect is poor in the related art, the embodiment of the application provides a layer drawing method.
Fig. 1 is a schematic flowchart of a layer drawing method according to an embodiment of the present application.
The present embodiment is exemplified by the layer drawing method being configured in the layer drawing apparatus.
The layer drawing method in this embodiment is configured in a layer drawing device, and the layer drawing device may be disposed in an electronic device or a server, which is not limited in this embodiment.
The present embodiment takes the example that the layer drawing method is configured in the electronic device.
In this embodiment, the drawn layer is displayed on a display screen of the electronic device, and the electronic device includes: the power consumption of the coprocessor is less than that of the application processor.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a coprocessor in the embodiment of the present application. Fig. 2 includes: the coprocessor comprises a microcontroller, a VSP (video Signal Processor), an ISP (Image Signal Processor), a memory module, a register module and a GPIO (general Purpose Input/Output), wherein the microcontroller is used for controlling each software and hardware in the coprocessor and comprises data and instructions, the VSP and the ISP are used for operating and processing Input video and Image signals, the memory module is used for storing Image and video data and instructions for processing related data, the register module is used for storing the most common data so as to facilitate quick use of the data, and the GPIO is used for communicating in a computer and transmitting the video and Image data to a display screen or other modules and also can be used for communicating between the application Processor and the coprocessor and transmitting state information.
In the embodiment of the present application, when the coprocessor is configured in the electronic device in advance, reference may be made to fig. 3 for the architectural design of the coprocessor and the existing application processor, and fig. 3 is a schematic diagram of the architectural design of the electronic device in the embodiment of the present application. Fig. 3 includes: the system comprises an application Processor, a coprocessor, a MIPI SWITCH (Mobile Industry Processor Interface Switch) module and a display screen, wherein the application Processor is used for processing a single complicated layer or drawing a partial area of the layer in the drawing of a plurality of layers, the coprocessor is used for processing the drawing of a single simple layer or drawing a partial area of the layer in the drawing of a plurality of layers, the layers drawn by the coprocessor and the layers drawn by the application Processor can be independent areas or can be superposed, the MIPI SWITCH module is used for controlling the switching of the application Processor and the coprocessor drawing and is also used for transferring the layers drawn by the application Processor and/or the coprocessor to the display screen and displaying the drawn layers by the display screen.
S101: and detecting drawing requirements of the image layer through an application processor.
When the application processor detects the layer drawing requirement, the layer drawing requirement may be selected by a user according to a requirement of the user, and the application processor detects a result selected by the user to determine the layer drawing requirement, or the application processor may analyze a current operation power consumption condition of the electronic device (the current operation power consumption condition may be any information that can be used for describing the current operation power consumption condition of the electronic device), and determine the layer drawing requirement by combining the current operation power consumption condition and some preset rules, which is not limited to this.
The drawing requirements of the image layer may include, for example: a first drawing requirement and a second drawing requirement.
The drawing method comprises the steps of obtaining a first drawing requirement, indicating that the running power consumption of a processor required by drawing a layer is smaller than a power consumption threshold value, and indicating that the number of the layers to be drawn comprises a plurality of second drawing requirements.
The division of the drawing requirement of the map layer may also be any other possible division manner, which is not limited in this respect.
As an example, a plurality of touch buttons corresponding to the layer drawing requirements may be provided on the electronic device in advance, a user may trigger one of the touch buttons according to a requirement of the user, and the application processor determines the layer drawing requirement corresponding to the touch button triggered by the user as the detected layer drawing requirement.
As another more specific example, the current operating power consumption condition of the electronic device may be detected by the application processor, and when the current operating power consumption condition is greater than the power consumption threshold, it indicates that the operating power consumption of the current electronic device is high, at this time, it may be determined that the layer drawing requirement is a requirement for starting the coprocessor to draw layers, because the operating power consumption of the coprocessor is less than the operating power consumption of the application processor, the coprocessor is used to draw layers, and no excessive layer drawing burden is imposed on the electronic device already having high operating power consumption, or the application processor may detect the number of layers that the electronic device needs to draw layers, and if the number of layers that the electronic device needs to draw layers includes multiple layers, at this time, different layers may be drawn by the application processor in combination with the coprocessor, so that it is seen that the coprocessor can be determined and selected flexibly in combination, or the coprocessor is combined with the application processor to draw the corresponding layer, the method is flexible, and the effect of drawing the layer is guaranteed in all directions.
S102: drawing the layer through a coprocessor according to the layer drawing requirement, or drawing the layer through an application processor in combination with the coprocessor.
After the layer drawing requirements are obtained through the detection of the application processor, an adaptive processor cooperation scheme can be selected according to the layer drawing requirements to draw the layer, namely, whether the layer is drawn only through the coprocessor or the layer is drawn through the application processor and the coprocessor is determined according to the layer drawing requirements.
When drawing a layer through the coprocessor, the application processor may call the coprocessor through a General-purpose input/output (GPIO) interrupt mechanism, or may call the coprocessor through a MAILBOX communication MAILBOX mechanism, so as to draw a corresponding layer through the coprocessor.
Optionally, if the drawing requirement of the layer is a first drawing requirement, drawing the layer through a coprocessor; the first drawing requirement indicates that the running power consumption of a processor required for drawing the layer is smaller than a power consumption threshold value; if the drawing requirement of the layer is a second drawing requirement, drawing the layer by combining the application processor and the coprocessor; and the second drawing requirement indicates that the number of the layers to be drawn comprises a plurality of layers.
The power consumption threshold may be preset, or may be dynamically generated in the process of a specific application, which is not limited herein.
When the drawing requirement of the layer is the first drawing requirement, the coprocessor can be directly called through the application processor, so that the layer can be drawn through the coprocessor, the application processor can enter a dormant state when the layer is drawn through the coprocessor, the running power consumption of the electronic equipment can be effectively saved, and the electronic equipment can respond to the processing logic of the drawing of the layer more quickly.
When the drawing requirement of the layer is a second drawing requirement, drawing the layer by combining the application processor and the coprocessor, and at this time, drawing a plurality of layers by the application processor and the coprocessor alternately, for example, firstly drawing one of the layers by the application processor, and then calling the coprocessor by a General-purpose input/output (GPIO) interrupt mechanism by the application processor, so that the coprocessor draws another one of the layers, and in the process of drawing another one of the layers by the coprocessor, the application processor can enter a sleep state, thereby realizing efficient drawing and saving the operation power consumption of the electronic device.
In this embodiment, the layer drawing requirements are detected through the application processor, the layer is drawn through the coprocessor according to the layer drawing requirements, or the application processor is combined with the coprocessor to draw the layer, so that the application processor AP can be combined with the coprocessor to draw the layer, and the layer drawing effect is effectively improved.
Fig. 4 is a schematic flowchart of a layer drawing method according to another embodiment of the present application.
In this embodiment, the layer drawing requirement is taken as a second drawing requirement, that is, the application scene is exemplified when the layer drawing requirement indicates that the number of layers to be drawn includes a plurality of layers.
Referring to fig. 4, the method includes:
s401: and the application processor draws a first layer and sends the drawn first layer to the display screen.
In the specific execution process, if the number of the layers to be drawn is indicated by the layer drawing requirement, at this time, the application processor and the coprocessor may be cooperatively invoked to interactively draw the layers.
S402: after the rendering is completed, the application processor sends a notification message to the coprocessor, and the application processor enters a dormant state.
S403: after receiving the notification message, the coprocessor draws a second layer and sends the drawn second layer to the display screen; the first layer and the second layer are used for generating a target layer, so that the target layer is displayed in a display screen of the electronic device, and the first layer and the second layer belong to a plurality of layers.
For example, an application processor draws a first layer, after drawing is completed, the application processor may send the drawn first layer to a display screen to be displayed on the first layer by the display screen, and then the application processor calls a coprocessor through a General-purpose input/output (GPIO) interrupt mechanism, so that the coprocessor draws another layer (the another layer may be referred to as a second layer).
In the process of interactive drawing, the layer drawn by the application processor may be referred to as a first layer, and correspondingly, the layer drawn by the coprocessor may be referred to as a second layer.
The first layer and the second layer are both used for generating a target layer, so that the generated target layer is displayed in a display screen, and the layers generated by the first layer and the second layer may be referred to as target layers.
When the coprocessor draws the second image layer, the running power consumption of the coprocessor is usually low, so in the embodiment of the application, the respective corresponding second image layer can be drawn through each coprocessor.
S404: and the display screen generates a target layer according to the first layer and the second layer obtained by drawing.
When the number of the layers to be drawn includes a plurality of layers, the method can be suitable for application conditions of display layers in most electronic devices, and when a target layer is generated according to the drawn first layer and the drawn second layer in the subsequent process, a layer generation algorithm in the related art can be adopted to generate the target layer.
It can be understood that, in order to ensure the effect of subsequent layer composition, generally, different drawn layers do not include an overlapping portion, at this time, after a target layer is generated, different drawn layers may correspond to different display areas in a display screen, and the display effect of the layers is enriched from the perspective of content, and if each drawn layer includes an overlapping portion, each drawn layer may be pieced together and then displayed, and the display effect of the layers may be enriched from the perspective of vision.
As an example, when the application Processor of the electronic device determines that the number of the layers to be drawn includes a plurality of layers, the application Processor draws a corresponding first layer, and transfers the first layer to the display area a of the display screen through an MIPI SWITCH (Mobile Industry Processor Interface Switch) module, and then notifies the coprocessor through a GPIO interrupt mechanism (or, after the application Processor finishes processing the drawing of the related layer, key information is transferred to the coprocessor through the MAILBOX, and then notifies the coprocessor through the GPIO interrupt mechanism), and then the application Processor enters a sleep mode, and the coprocessor draws a corresponding second layer, and transfers the second layer to the display area B of the display screen through a MIPI SWITCH module, thereby implementing the drawing of multiple layers.
As a more specific example, when the application processor draws the first layer, referring to fig. 5, fig. 5 is a schematic flow chart of a layer drawing method according to another embodiment of the present application, the application processor first reads data according to configuration and converts the read data into data in YUV444 format for drawing the layer, and then the coprocessor draws the second layer, the coprocessor first reads data according to configuration, the read data processes the data through a palette, converts the processed data into data in YUV444 format, synthesizes the data in YUV444 format of the first layer drawn by the application processor 444 to obtain synthesized data, performs brightness adjustment and chromaticity adjustment on the synthesized data, performs gamma conversion on the adjusted data, performs Scaling processing, and converts the data in YUV444 format into data in RGB888 format, and after the color modulation and the lower threshold adjustment, the DIS controller controls to generate a target layer.
In other embodiments, the number of coprocessors includes a plurality of coprocessors, each coprocessor is configured to draw a corresponding second image layer, and each second image layer is configured to draw a corresponding second target image layer.
Referring to fig. 6, fig. 6 is a schematic diagram of an application in the embodiment of the present application, where fig. 6 includes: the Mobile Industry Processor comprises an application Processor, coprocessors 0 to N and MIPI SWITCH (Interface switching of the Mobile Industry Processor between the coprocessors N and the coprocessors N), and a display screen, wherein the application Processor is used for drawing a more complex layer or one layer in multi-layer drawing, the coprocessors 0 to N are used for drawing a corresponding second layer, partial areas of the drawn layers can be overlapped or not overlapped, the MIPI SWITCH module is used for synthesizing a first layer drawn by the application Processor and a second layer drawn by the coprocessors 0 to N and transmitting the first layer and the second layer to the display screen for display, and the display screen is used for displaying the generated layer after drawing.
Fig. 6 may be specifically applied to drawing a plurality of second image layers, in this embodiment of the present application, a plurality of coprocessors may be configured in advance for the electronic device, and since the operating power consumption of the coprocessors may be configured to be much smaller than that of the application processor, when a plurality of coprocessors are configured, the overall operating power consumption of the electronic device may not be adversely affected, at this time, each coprocessor may be used to draw a corresponding second image layer, so that the second image layers may be drawn in parallel, the drawing time is saved, and the drawing efficiency is improved.
In this embodiment, an application processor draws a first layer, and sends the drawn first layer to a display screen, after the drawing is completed, the application processor sends a notification message to a coprocessor, the application processor enters a sleep state, and after the coprocessor receives the notification message, the coprocessor draws a second layer and sends the drawn second layer to the display screen; the first layer and the second layer are used for generating the target layer, so that the target layer is displayed in a display screen of the electronic equipment, the first layer and the second layer belong to a plurality of layers, and the display screen generates the target layer according to the first layer and the second layer obtained through drawing, so that the drawing effect of the layers can be enriched, efficient drawing is realized, and the operation power consumption of the electronic equipment is saved.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Referring to fig. 7, the electronic device 70 includes:
display 701, application processor 702, coprocessor 703.
The drawn layers are displayed in a display 701 of an electronic device 70, the electronic device 70 comprising an application processor 702 and a co-processor 703, the co-processor 703 having an operating power consumption which is smaller than the operating power consumption of the application processor 702, wherein,
the application processor 702 is configured to detect a drawing requirement of a layer;
the application processor 702 is further configured to draw a layer according to the layer drawing requirement, and send a corresponding call instruction to the coprocessor; alternatively, the first and second electrodes may be,
the application processor 702 is further configured to directly send a corresponding call instruction to the coprocessor according to the layer drawing requirement;
the coprocessor 703 is configured to draw the layer when receiving the call instruction.
Optionally, in some embodiments, if the drawing requirement of the layer is a first drawing requirement, the application processor 702 directly sends a corresponding call instruction to the coprocessor; the first drawing requirement indicates that the running power consumption of a processor required for drawing the map layer is smaller than a power consumption threshold value.
Optionally, in some embodiments, if the layer drawing requirement is a second drawing requirement, the application processor 702 draws a layer according to the layer drawing requirement, and sends a corresponding call instruction to the coprocessor; the second drawing requirement indicates that the number of the layers to be drawn comprises a plurality of layers.
Optionally, in some embodiments, the application processor 702 draws a first layer, and sends the drawn first layer to the display screen 701, after the drawing is completed, the application processor 702 sends a notification message to the coprocessor 703, the application processor 702 enters a sleep state, and after the coprocessor 703 receives the notification message, the coprocessor 703 draws a second layer, and sends the drawn second layer to the display screen 701; the first layer and the second layer are used for generating a target layer, so that the target layer is displayed in a display screen 701 of the electronic device, and the first layer and the second layer belong to the plurality of layers.
It should be noted that the explanation of the embodiment of the layer drawing method in fig. 1 to fig. 6 also applies to the electronic device 70 of the embodiment, and the implementation principle is similar, which is not described herein again.
In this embodiment, the layer drawing requirements are detected through the application processor, the layer is drawn through the coprocessor according to the layer drawing requirements, or the application processor is combined with the coprocessor to draw the layer, so that the application processor AP can be combined with the coprocessor to draw the layer, and the layer drawing effect is effectively improved.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A layer drawing method is applied to an electronic device, the drawn layer is displayed in a display screen of the electronic device, the electronic device comprises an application processor and a coprocessor, the running power consumption of the coprocessor is smaller than that of the application processor, and the method comprises the following steps:
detecting, by the application processor, a layer drawing requirement;
and drawing the layer through the coprocessor according to the layer drawing requirement, or drawing the layer through the application processor in combination with the coprocessor.
2. The layer drawing method according to claim 1, wherein said drawing layers by the coprocessor according to the layer drawing requirements, or drawing the layers by the application processor in combination with the coprocessor, includes:
if the layer drawing requirement is a first drawing requirement, drawing the layer through the coprocessor; the first drawing requirement indicates that the running power consumption of a processor required for drawing the map layer is smaller than a power consumption threshold value.
3. The layer drawing method according to claim 1, wherein said drawing the layers by the coprocessor according to the layer drawing requirements, or drawing the layers by the application processor in combination with the coprocessor includes:
if the drawing requirement of the layer is a second drawing requirement, drawing the layer by combining the application processor and the coprocessor; the second drawing requirement indicates that the number of the layers to be drawn comprises a plurality of layers.
4. The layer drawing method of claim 3, wherein said drawing the layers by the application processor in conjunction with the coprocessor comprises:
the application processor draws a first layer and sends the drawn first layer to the display screen;
after the drawing is finished, the application processor sends a notification message to the coprocessor, and the application processor enters a dormant state;
after the coprocessor receives the notification message, the coprocessor draws a second layer and sends the drawn second layer to the display screen; the first layer and the second layer are used for generating a target layer, so that the target layer is displayed in a display screen of the electronic device, and the first layer and the second layer belong to the plurality of layers.
5. The layer drawing method according to claim 4, further comprising:
and the display screen generates the target layer according to the first layer and the second layer obtained by drawing.
6. The layer drawing method according to claim 4, wherein the number of the coprocessors is plural, and the coprocessors drawing the second layer includes:
and drawing the corresponding second image layers through the coprocessors.
7. An electronic device, characterized in that a rendered layer is displayed in a display screen of the electronic device, the electronic device comprising an application processor and a co-processor, the co-processor having an operating power consumption which is smaller than the operating power consumption of the application processor, wherein,
the application processor is used for detecting drawing requirements of the image layer;
the application processor is further configured to draw a layer according to the layer drawing requirement, and send a corresponding call instruction to the coprocessor; alternatively, the first and second electrodes may be,
the application processor is further configured to directly send a corresponding call instruction to the coprocessor according to the layer drawing requirement;
and the coprocessor is used for drawing the layer when the calling instruction is received.
8. The electronic device according to claim 7, wherein if the drawing requirement of the drawing layer is a first drawing requirement, the application processor directly sends a corresponding call instruction to the coprocessor; the first drawing requirement indicates that the running power consumption of a processor required for drawing the map layer is smaller than a power consumption threshold value.
9. The electronic device according to claim 7, wherein if the layer drawing requirement is a second drawing requirement, the application processor draws a layer according to the layer drawing requirement, and sends a corresponding call instruction to the coprocessor; the second drawing requirement indicates that the number of the layers to be drawn comprises a plurality of layers.
10. The electronic device of claim 9, wherein,
the application processor draws a first layer and sends the drawn first layer to the display screen;
after the drawing is finished, the application processor sends a notification message to the coprocessor, and the application processor enters a dormant state;
after the coprocessor receives the notification message, the coprocessor draws a second layer and sends the drawn second layer to the display screen; the first layer and the second layer are used for generating a target layer, so that the target layer is displayed in a display screen of the electronic device, and the first layer and the second layer belong to the plurality of layers.
CN201910943806.7A 2019-09-30 2019-09-30 Layer drawing method and electronic equipment Withdrawn CN112581557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943806.7A CN112581557A (en) 2019-09-30 2019-09-30 Layer drawing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943806.7A CN112581557A (en) 2019-09-30 2019-09-30 Layer drawing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112581557A true CN112581557A (en) 2021-03-30

Family

ID=75116854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943806.7A Withdrawn CN112581557A (en) 2019-09-30 2019-09-30 Layer drawing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112581557A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744122A (en) * 2021-09-23 2021-12-03 中国核动力研究设计院 Multi-layer display coprocessor for SVDU (singular value decomposition) of nuclear power plant

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150185815A1 (en) * 2013-12-29 2015-07-02 Motorola Mobility Llc Apparatus and Method for Passing Event Handling Control from a Primary Processor to a Secondary Processor During Sleep Mode
CN105674977A (en) * 2016-01-06 2016-06-15 华为技术有限公司 Navigation device and navigation method
CN106937052A (en) * 2017-03-29 2017-07-07 维沃移动通信有限公司 The processing method and mobile terminal of a kind of view data
US20180226012A1 (en) * 2015-07-31 2018-08-09 Samsung Electronics Co., Ltd. Display method and apparatus for electronic device
CN108933955A (en) * 2017-05-24 2018-12-04 阿里巴巴集团控股有限公司 A kind of method for drafting and device
US20190012987A1 (en) * 2016-02-01 2019-01-10 Alibaba Group Holding Limited Method and system for playing multimedia data
CN110083324A (en) * 2019-04-30 2019-08-02 华为技术有限公司 Method, apparatus, electronic equipment and the computer storage medium of Image Rendering

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150185815A1 (en) * 2013-12-29 2015-07-02 Motorola Mobility Llc Apparatus and Method for Passing Event Handling Control from a Primary Processor to a Secondary Processor During Sleep Mode
US20180226012A1 (en) * 2015-07-31 2018-08-09 Samsung Electronics Co., Ltd. Display method and apparatus for electronic device
CN105674977A (en) * 2016-01-06 2016-06-15 华为技术有限公司 Navigation device and navigation method
US20190012987A1 (en) * 2016-02-01 2019-01-10 Alibaba Group Holding Limited Method and system for playing multimedia data
CN106937052A (en) * 2017-03-29 2017-07-07 维沃移动通信有限公司 The processing method and mobile terminal of a kind of view data
CN108933955A (en) * 2017-05-24 2018-12-04 阿里巴巴集团控股有限公司 A kind of method for drafting and device
CN110083324A (en) * 2019-04-30 2019-08-02 华为技术有限公司 Method, apparatus, electronic equipment and the computer storage medium of Image Rendering

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113744122A (en) * 2021-09-23 2021-12-03 中国核动力研究设计院 Multi-layer display coprocessor for SVDU (singular value decomposition) of nuclear power plant
CN113744122B (en) * 2021-09-23 2023-06-20 中国核动力研究设计院 Multi-layer display coprocessor for SVDU of nuclear power plant

Similar Documents

Publication Publication Date Title
US11833424B2 (en) Image rendering method and apparatus, device and storage medium
WO2022037251A1 (en) Video data processing method and apparatus
US9491367B2 (en) Image data processing method and electronic device supporting the same
CN103139517B (en) Projection system and information processing apparatus
WO2020173371A1 (en) Image rendering method and electronic device
CN107861651B (en) Touch method, active pen, touch screen and touch display system
CN106648496B (en) Electronic device and method for controlling display of electronic device
US11393418B2 (en) Method, device and system for data transmission, and display device
WO2018000372A1 (en) Picture display method and terminal
CN103488371A (en) Method for making animation on mobile terminal and mobile terminal
US20220327758A1 (en) Image rendering method in panoramic application and terminal device
CN112184595B (en) Mobile terminal and image display method thereof
WO2023125314A1 (en) Frame interpolation method and apparatus, and electronic device
CN112925596A (en) Mobile terminal and display method of display object thereof
CN112581557A (en) Layer drawing method and electronic equipment
US20240061569A1 (en) Method for performing frame interpolation in interface display process and terminal device
US9933986B2 (en) Method for switching display mode and electronic device thereof
US20230350631A1 (en) Projection display method and electronic device
CN116991519A (en) Display control method and electronic equipment
CN107852439B (en) Terminal display method and device and terminal
CN115033199A (en) Mobile terminal and image display method thereof
CN114067758A (en) Mobile terminal and image display method thereof
JP2000020112A (en) Display device
TWI839111B (en) Moving object detecting apparatus and method thereof
CN115376468A (en) Mobile terminal and display driving method of electronic ink screen thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210330

WW01 Invention patent application withdrawn after publication