Patent ID: 11861775
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  A | IPC A  G

Claim 7:
8. An electronic device comprising:
a processor; and
a memory coupled to the processor and configured to store instructions, wherein when executed by the processor, the instructions cause the electronic device to:
obtain first picture data of a current frame;
compare the first picture data with currently recorded second picture data of a previous frame of the current frame to determine a first part in the first picture data that does not change with respect to the second picture data and a second part in the first picture data that changes with respect to the second picture data, wherein the comparing comprises:
comparing a first visual range described in the first picture data with a second visual range described in the second picture data to determine an overlapping region between the first visual range and the second visual range;
comparing first virtual space positions and first statuses that are of a first static object located in the overlapping region and that are in the first picture data and the second picture data; and
comparing second virtual space positions and second statuses that are of a light source and that are described in the first picture data and the second picture data,
wherein each of the first picture data and the second picture data comprises a third visual range of a picture background and third virtual space positions and third statuses of a second static object and the light source;

render, by reusing a first rendering result corresponding to the first part in the previous frame, the second part in the current frame to obtain a second rendering result of the current frame;
when a range of the overlapping region is less than a preset range: expand a fourth visual range of the current frame based on the first visual range, to obtain a third part; and
render the third part.