Screen recording method and apparatus thereof

By enhancing the screen recording video stream with an independent display chip, the problem of low frame rate in screen recording video is solved, achieving a higher frame rate and better display effect.

CN116320238BActive Publication Date: 2026-05-12VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2023-04-10
Publication Date
2026-05-12

Smart Images

  • Figure CN116320238B_ABST
    Figure CN116320238B_ABST
Patent Text Reader

Abstract

The application provides a screen recording method and device. The screen recording method comprises: recording at least part of display content of a screen interface display to obtain a first video stream when a first instruction is received; enhancing the first video stream by using an independent display chip to obtain a second video stream; the frame rate of the second video stream is higher than that of the first video stream; and generating a recording file according to the second video stream when a second instruction is received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to a screen recording method and apparatus. Background Technology

[0002] Screen recording, also known as screen recording, refers to recording the content displayed on electronic devices such as mobile phones and tablets, as well as changes in the displayed content, to obtain a video recording file.

[0003] In related technologies, screen recording involves recording the content displayed on the screen of an electronic device to obtain a screen recording video. However, the frame rate of the aforementioned screen recording video is low, resulting in poor display quality. Summary of the Invention

[0004] The purpose of this application is to provide a screen recording method and apparatus that can solve the problem of poor display quality of screen-recorded videos.

[0005] In a first aspect, embodiments of this application provide a screen recording method, the method comprising:

[0006] Upon receiving a first instruction, at least a portion of the content displayed on the screen is recorded to obtain a first video stream;

[0007] The first video stream is enhanced by an independent display chip to obtain a second video stream; the frame rate of the second video stream is higher than that of the first video stream.

[0008] Upon receiving the second instruction, a recording file is generated based on the second video stream.

[0009] Secondly, embodiments of this application provide a screen recording device, the device comprising:

[0010] A virtual display module is used to record at least a portion of the content displayed on the screen interface upon receiving a first instruction, thereby obtaining a first video stream;

[0011] An independent display chip is used to enhance the first video stream to obtain a second video stream; the frame rate of the second video stream is higher than the frame rate of the first video stream.

[0012] The processing module is used to generate a recording file based on the second video stream upon receiving a second instruction.

[0013] Thirdly, embodiments of this application provide an electronic device, which includes:

[0014] The processor has a first data interface, a second data interface, and a first signal interface. The processor records at least a portion of the content displayed on the screen interface to obtain a first video stream.

[0015] An independent display chip has a third data interface, a fourth data interface, a fifth data interface, and a second signal interface. The third data interface is communicatively connected to the first data interface, the fourth data interface is communicatively connected to the second data interface, and the second signal interface is communicatively connected to the first signal interface. The independent display chip receives the first video stream through the first data interface, performs enhancement processing on the first video stream to obtain a second video stream, and the frame rate of the second video stream is higher than the frame rate of the first video stream.

[0016] The display panel is communicatively connected to the independent display chip via the fifth data interface to receive the second video stream;

[0017] The processor receives the second video stream sent by the independent display chip through the second data interface, and generates a recording file based on the second video stream.

[0018] In this embodiment, upon receiving a first instruction, at least a portion of the displayed content on the screen is recorded to obtain a first video stream; the first video stream is enhanced using an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In this embodiment, the second video stream is obtained by enhancing the first video stream, meaning the frame rate of the second video stream is higher than that of the first video stream. Consequently, the recording file generated from the second video stream represents a screen-recorded video with a higher frame rate, thereby improving the display effect of the screen-recorded video. Attached Figure Description

[0019] Figure 1 This is a flowchart of the screen recording method provided in the embodiments of this application;

[0020] Figure 2 This is a schematic diagram of the application architecture of the screen recording method provided in the embodiments of this application;

[0021] Figure 3 This is a structural diagram of the screen recording device provided in the embodiments of this application;

[0022] Figure 4 This is a structural diagram of the electronic device provided in the embodiments of this application;

[0023] Figure 5 This is another structural diagram of the electronic device provided in the embodiments of this application. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0025] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0026] This application provides a screen recording method. The screen recording method provided by this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0027] This application provides a screen recording method. Please refer to [link / reference]. Figure 1 , Figure 1 This is a flowchart of a screen recording method provided in an embodiment of this application. The screen recording method provided in an embodiment of this application includes the following steps:

[0028] S101, upon receiving the first instruction, at least a portion of the content displayed on the screen interface is recorded to obtain a first video stream.

[0029] It should be understood that the screen recording method provided in this application embodiment can be applied to electronic devices. The aforementioned first instruction can be an instruction generated based on touch operation, an instruction generated based on swipe operation, an instruction generated based on voice input, or an instruction generated based on other operations, and is not specifically limited here.

[0030] Optionally, the first instruction mentioned above is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.

[0031] In this step, one optional implementation is to record a portion of the screen interface displayed by the processor in the electronic device upon receiving the first instruction, thereby obtaining a data stream; another optional implementation is to record the screen interface displayed by the processor in the electronic device upon receiving the first instruction, thereby obtaining a data stream; the aforementioned data stream is a video data stream, also known as the first video stream.

[0032] In this embodiment, the processor can be a system-on-chip (SoC).

[0033] S102, the first video stream is enhanced by an independent display chip to obtain a second video stream.

[0034] It should be understood that the electronic device using the screen recording method provided in the embodiments of this application includes a separate display chip, and the separate display chip is communicatively connected to the processor.

[0035] In this step, after obtaining the first video stream, the first video stream is enhanced by an independent display chip to obtain an enhanced first video stream. The enhanced first video stream is referred to as the second video stream, wherein the frame rate of the second video stream is higher than that of the first video stream.

[0036] S103, upon receiving the second instruction, generate a recording file based on the second video stream.

[0037] The aforementioned second instruction can be an instruction generated based on touch operation, swipe operation, voice input, or other operation, and is not specifically limited here.

[0038] Optionally, the second instruction is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.

[0039] In this step, after receiving the second instruction, a recording file is generated based on the second video stream generated from the recorded content.

[0040] Optionally, upon receiving the second instruction, the recording of the video is stopped, and a recording file is generated based on the second video stream generated from the recorded content.

[0041] The recorded file is a video file, and optionally, the video file is video data using the Mobile Industry Processor Interface (MIPI) protocol.

[0042] In this embodiment, upon receiving a first instruction, at least a portion of the displayed content of the screen interface is recorded to obtain a first video stream; the first video stream is enhanced using an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In this embodiment, the second video stream is obtained by enhancing the first video stream, meaning the frame rate of the second video stream is higher than that of the first video stream. Consequently, the recording file generated from the second video stream represents a screen-recorded video with a higher frame rate, thereby improving the display effect of the screen-recorded video.

[0043] Optionally, before generating a recording file based on the second video stream upon receiving the second instruction, the method further includes:

[0044] The second video stream sent by the independent display chip is transmitted to the virtual display module buffer;

[0045] The second video stream cached by the virtual display module is stored in the storage module.

[0046] It should be understood that the electronic device also includes a storage module, which is communicatively connected to the processor. The processor of the electronic device also includes a virtual display module. In this embodiment, after obtaining the second video stream through the independent display chip, the second video stream sent by the independent display chip is transmitted to the virtual display module for buffering, and the virtual display module stores the buffered second video stream in the storage module.

[0047] In this embodiment, the second video stream processed by the discrete display chip is stored in the storage module, thereby realizing the preservation of the video stream data processed by the discrete display chip.

[0048] Optionally, the virtual display module includes a virtual screen and a buffer, and the step of transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes:

[0049] The second video stream sent by the independent display chip is cached in the buffer through the virtual screen;

[0050] The step of storing the second video stream cached by the virtual display module to the storage module includes:

[0051] The second video stream cached by the buffer is stored in the storage module.

[0052] It should be noted that the virtual display module includes a virtual screen and a buffer, and the virtual screen and the buffer are communicatively connected. In this embodiment, the data source for the virtual screen is a dedicated display chip. In this case, the second video stream sent by the dedicated display chip can be sent to the buffer through the virtual screen.

[0053] One optional implementation involves transmitting the second video stream cached by the virtual screen to the storage module in real time and storing the second video stream in the storage module. Another optional implementation involves transmitting the second video stream cached by the virtual screen to the storage module at preset time intervals. Optionally, the processor transmits the second video stream cached in the buffer to the storage module by calling a media recorder service.

[0054] In this embodiment, the storage pressure on the processor is reduced by transmitting the second video stream of the virtual screen cache to the storage module for storage.

[0055] Optionally, generating a recording file based on the second video stream upon receiving the second instruction includes:

[0056] Upon receiving the second instruction, the second video stream is retrieved from the storage module;

[0057] The second video stream is converted to generate the recording file.

[0058] In this embodiment, upon receiving a second instruction, a second video stream is retrieved from the memory, and the second video stream is converted into data to generate a recording file. The data conversion methods include, but are not limited to, data format conversion and encoding of video stream data.

[0059] In this embodiment, the recorded file is obtained by converting the video stream processed by the independent display chip, thereby ensuring that the recorded file has a high resolution and improving the display effect of the recorded file.

[0060] Optionally, upon receiving the first instruction, recording at least a portion of the displayed content on the screen interface to obtain a first video stream includes:

[0061] Upon receiving a first instruction, a virtual screen is created; the virtual screen is used to record at least a portion of the content displayed on the screen interface.

[0062] The video data cached in the buffer connected to the virtual screen is compiled to obtain the first video stream, wherein the video data represents at least a portion of the display content of the screen interface recorded by the virtual screen.

[0063] In this embodiment, upon receiving a first instruction, a virtual screen is created, and at least a portion of the content displayed on the screen interface is recorded through the virtual screen. Optionally, an application programming interface (API) can be created by calling a media projection service, and then a virtual screen can be created through the created API, with the data source of the virtual screen set to an independent display chip.

[0064] As described above, the virtual screen is communicatively connected to the buffer, and the buffer caches video data recorded by the virtual screen. In this embodiment, the cached data can be compiled to obtain a first video stream. Optionally, the cached data can be compiled using a video encoder built into the processor to obtain the first video stream.

[0065] Optionally, the step of enhancing the first video stream using an independent display chip to obtain the second video stream includes:

[0066] The first video stream and enhancement instructions are sent to the independent display chip so that the independent display chip performs frame interpolation on the first video stream to obtain the second video stream.

[0067] In this embodiment, after obtaining the first video stream, the first video stream can be sent to the independent display chip, and an enhancement instruction can be sent to the independent display chip at the same time. The enhancement instruction is used to instruct the independent display chip to perform enhancement processing on the first video stream.

[0068] In this embodiment, after receiving the first video stream and the enhancement instruction, the independent display chip calls its internal functional modules to perform frame interpolation on the first video stream to obtain the second video stream, or calls its internal functional modules to perform frame interpolation, super-resolution processing, and other video enhancement processing on the first video stream to obtain the second video stream.

[0069] In this embodiment, the first video stream is enhanced by calling the functional module inside the independent display chip to obtain a second video stream with a higher frame rate. Then, a recording file with a higher frame rate is generated based on the second video stream to improve the display effect of the screen recording video.

[0070] To facilitate understanding of the overall technical solution provided in the embodiments of this application, please refer to... Figure 2 ,like Figure 2As shown, upon receiving the first instruction, the processor creates a virtual screen; it sends the first video stream cached on the virtual screen to the discrete display chip (DICJ) and sends an enhancement instruction to the DICJ; after receiving the first video stream and the enhancement instruction, the DICJ calls its internal functional modules to enhance the first video stream, obtains a second video stream, and sends the second video stream to the virtual screen; the second video stream is then transmitted to the buffer via the virtual screen. Subsequently, the second video stream cached in the buffer is stored in the storage module.

[0071] In other embodiments, after obtaining the first video stream, it is also possible not to perform any enhancement processing on the first video stream, and directly generate a recording file based on the first video stream. For details, please refer to... Figure 2 After creating a virtual screen, the processor records at least a portion of the content displayed on the screen interface through the virtual screen to obtain a first video stream, and then directly transmits the first video stream to the buffer. Subsequently, the second video stream cached in the buffer is stored in the storage module.

[0072] The screen recording device provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0073] like Figure 3 As shown, the screen recording device 300 includes:

[0074] The virtual display module 301 is used to record at least a portion of the display content on the screen interface upon receiving a first instruction, thereby obtaining a first video stream;

[0075] A separate display chip 302 is used to enhance the first video stream to obtain a second video stream; the frame rate of the second video stream is higher than the frame rate of the first video stream.

[0076] The processing module 303 is used to generate a recording file based on the second video stream upon receiving a second instruction.

[0077] Optionally, the independent display chip 302 is further configured to transmit the second video stream to the virtual display module 301;

[0078] The screen recording device 300 also includes a storage module;

[0079] The virtual display module 301 is also used to store the cached second video stream to the storage module.

[0080] Optionally, the virtual display module 301 includes a virtual screen and a buffer, wherein the virtual screen is communicatively connected to the buffer;

[0081] The virtual screen is used to buffer the second video stream sent by the independent display chip into the buffer.

[0082] The buffer is used to store the cached second video stream to the storage module.

[0083] Optionally, the processing module 303 is specifically configured to retrieve the second video stream from the storage module upon receiving the second instruction;

[0084] The second video stream is converted to generate the recording file.

[0085] Optionally, the processing module 303 is further configured to create a virtual screen upon receiving a first instruction; the virtual screen is used to record at least a portion of the content displayed on the screen interface.

[0086] The video data cached in the buffer connected to the virtual screen is compiled to obtain the first video stream, wherein the video data represents at least a portion of the display content of the screen interface recorded by the virtual screen.

[0087] In this embodiment, upon receiving a first instruction, at least a portion of the displayed content on the screen is recorded to obtain a first video stream; the first video stream is enhanced using an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In this embodiment, the second video stream is obtained by enhancing the first video stream, meaning the frame rate of the second video stream is higher than that of the first video stream. Consequently, the recording file generated from the second video stream represents a screen-recorded video with a higher frame rate, thereby improving the display effect of the screen-recorded video.

[0088] The screen recording device in this application embodiment can be an electronic device or a component of an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the device.

[0089] The screen recording device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0090] The screen recording device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0091] Optionally, such as Figure 4 As shown, this application embodiment also provides an electronic device 400, including:

[0092] The processor 401 has a first data interface D1, a second data interface G1 and a first signal interface C1. The processor 401 records at least a portion of the content displayed on the screen interface to obtain a first video stream.

[0093] The independent display chip 402 has a third data interface D2, a fourth data interface G2, a fifth data interface D3, and a second signal interface C2. The third data interface D2 is communicatively connected to the first data interface D1, the fourth data interface G2 is communicatively connected to the second data interface G1, and the second signal interface C2 is communicatively connected to the first signal interface C1. The independent display chip 402 receives the first video stream through the first data interface D1, performs enhancement processing on the first video stream to obtain a second video stream, the frame rate of the second video stream being higher than the frame rate of the first video stream.

[0094] Display panel 403 is communicatively connected to independent display chip 402 via the fifth data interface D3 to receive the second video stream;

[0095] The processor 401 receives the second video stream sent by the independent display chip 402 through the second data interface G1, and generates a recording file based on the second video stream.

[0096] The aforementioned processor 401 can be understood as a system-on-a-chip.

[0097] Optionally, the first data interface D1, the third data interface D2, and the fifth data interface D3 mentioned above are Display Serial Interfaces (DSI), which are protocol interfaces specifically used for displaying data under the Mobile Industry Processor Interface (MIPI) protocol. In other words, the data transmitted between the first data interface D1, the third data interface D2, and the fifth data interface D3 is based on the MIPI protocol.

[0098] Optionally, the fourth data interface G2 and the second data interface G1 are general purpose input / output (GPIO) interfaces used to transmit instructions.

[0099] Optionally, the first signal interface C1 and the second signal interface C2 mentioned above are camera serial interfaces (CSI).

[0100] Optionally, the processor 401 includes a virtual display module 4011, which is communicatively connected to the independent display chip 402 via the second data interface G1;

[0101] The independent display chip 402 sends the second video stream to the processor 401 through the fourth data interface G2;

[0102] The virtual display module 4011 caches the second video stream sent by the independent display chip 402 through the second data interface G1.

[0103] Optionally, the virtual display module 4011 includes a virtual screen 40111 and a buffer 40112, wherein the virtual screen 40111 and the buffer 40112 are communicatively connected.

[0104] The virtual screen 40111 buffers the second video stream sent by the independent display chip 402 into the buffer 40112.

[0105] Optionally, the electronic device 400 further includes a memory 404, which is communicatively connected to the processor 401 for storing the second video stream cached by the processor 401. The memory 404 can be understood as a storage module.

[0106] In this embodiment, upon receiving a first instruction, at least a portion of the displayed content on the screen is recorded to obtain a first video stream; the first video stream is enhanced using an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In this embodiment, the second video stream is obtained by enhancing the first video stream, meaning the frame rate of the second video stream is higher than that of the first video stream. Consequently, the recording file generated from the second video stream represents a screen-recorded video with a higher frame rate, thereby improving the display effect of the screen-recorded video.

[0107] In one specific embodiment of this application, please refer to Figure 5 , Figure 5 The electronic device shown includes a processor (i.e. Figure 5 The processor includes a SoC (System-on-a-Chip), a discrete display chip, and memory. The aforementioned processor includes a virtual display module (VPS). Figure 5 (Not shown), Camera serial interface ( Figure 5 CSI interface), general purpose input / output interface ( Figure 5 GPIO interface in the middle) and display serial interface ( Figure 5 The virtual display module includes a virtual screen and a buffer, and the independent display chip includes a general-purpose input / output interface (DSI interface). Figure 5 The video stream includes a GPIO interface and internal functional modules, which are used to enhance the video stream.

[0108] The processor includes a general-purpose input / output interface that communicates with the general-purpose input / output interface of the independent display chip; the processor includes a camera serial interface that communicates with the internal functional modules of the independent display chip; and the processor includes a display serial interface that communicates with the internal functional modules of the independent display chip.

[0109] In this embodiment, upon receiving a screen recording command, a media projection management service is invoked to create a media projection service. A first API is then created based on the media projection service, and a virtual screen is created via the first API. The data source for this virtual screen is set to the discrete display chip. Further, at least a portion of the screen interface is recorded through the virtual screen to obtain a first video stream. This first video stream is then transmitted to the internal functional module of the discrete display chip via the DSI interface for enhancement processing, resulting in a second video stream. It should be noted that the discrete display chip transmits the second video stream to the SoC's virtual screen via the CSI interface and stores it in a buffer. The processor invokes the media recording service to transfer the second video stream buffered in the buffer to memory for storage. In this embodiment, a recording file is generated based on the second video stream.

[0110] Optionally, the data source for the virtual screen can also be set to a second API. In this case, upon receiving a screen recording instruction, at least a portion of the displayed content of the screen interface is recorded through the virtual screen to obtain a first video stream, and then a recording file is directly generated based on the first video stream.

[0111] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0112] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0113] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A screen recording method, characterized in that, include: Upon receiving a first instruction, the processor records at least a portion of the content displayed on the screen interface to obtain a first video stream; The second video stream is obtained by enhancing the first video stream using an independent display chip; The frame rate of the second video stream is higher than that of the first video stream; The second video stream sent by the independent display chip is transmitted to the virtual display module cache of the processor; The second video stream cached by the virtual display module is stored in the storage module; Upon receiving the second instruction, the processor generates a recording file based on the second video stream; The virtual display module of the processor includes a virtual screen and a buffer. The step of transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes: The second video stream sent by the independent display chip is cached in the buffer through the virtual screen; The step of storing the second video stream cached by the virtual display module to the storage module includes: The second video stream cached by the buffer is stored in the storage module.

2. The method according to claim 1, characterized in that, The step of generating a recording file based on the second video stream upon receiving the second instruction includes: Upon receiving the second instruction, the second video stream is retrieved from the storage module; The second video stream is converted to generate the recording file.

3. The method according to claim 1, characterized in that, Upon receiving a first instruction, recording at least a portion of the displayed content on the screen interface to obtain a first video stream includes: Upon receiving a first instruction, a virtual screen is created; the virtual screen is used to record at least a portion of the content displayed on the screen interface. The video data cached in the buffer connected to the virtual screen is compiled to obtain the first video stream, wherein the video data represents at least a portion of the display content of the screen interface recorded by the virtual screen.

4. The method according to any one of claims 1-3, characterized in that, The step of enhancing the first video stream using an independent display chip to obtain the second video stream includes: The first video stream and enhancement instructions are sent to the independent display chip so that the independent display chip performs frame interpolation on the first video stream to obtain the second video stream.

5. A screen recording device, characterized in that, include: A virtual display module is used to record at least a portion of the content displayed on the screen interface through a processor upon receiving a first instruction, thereby obtaining a first video stream; An independent display chip is used to enhance the first video stream to obtain a second video stream; The frame rate of the second video stream is higher than that of the first video stream; The second video stream is transmitted to the virtual display module of the processor; A storage module is used to store the second video stream cached by the virtual display module; The processing module is configured to, upon receiving a second instruction, have the processor generate a recording file based on the second video stream; The virtual display module of the processor includes a virtual screen and a cache, and the virtual screen is communicatively connected to the cache. The virtual screen is used to cache the second video stream sent by the independent display chip to the buffer via the virtual screen; The buffer is used to store the cached second video stream to the storage module.

6. The apparatus according to claim 5, characterized in that, The processing module is specifically used to obtain the second video stream from the storage module upon receiving the second instruction; The second video stream is converted to generate the recording file.

7. The apparatus according to claim 5, characterized in that, The processing module is further configured to create a virtual screen upon receiving a first instruction; the virtual screen is used to record at least a portion of the content displayed on the screen interface. The video data cached in the buffer connected to the virtual screen is compiled to obtain the first video stream, wherein the video data represents at least a portion of the display content of the screen interface recorded by the virtual screen.

8. An electronic device, characterized in that, include: The processor has a first data interface, a second data interface, and a first signal interface. The processor records at least a portion of the content displayed on the screen interface to obtain a first video stream. An independent display chip has a third data interface, a fourth data interface, a fifth data interface, and a second signal interface. The third data interface is communicatively connected to the first data interface, the fourth data interface is communicatively connected to the second data interface, and the second signal interface is communicatively connected to the first signal interface. The independent display chip receives the first video stream through the first data interface, performs enhancement processing on the first video stream to obtain a second video stream, and the frame rate of the second video stream is higher than the frame rate of the first video stream. The display panel is communicatively connected to the independent display chip via the fifth data interface to receive the second video stream; The processor receives the second video stream sent by the independent display chip through the second data interface, and generates a recording file based on the second video stream; The processor includes a virtual display module, which is communicatively connected to the independent display chip via the second data interface. The independent display chip sends the second video stream to the processor through the fourth data interface; The virtual display module caches the second video stream sent by the independent display chip through the second data interface; The virtual display module includes a virtual screen and a buffer, and the virtual screen is communicatively connected to the buffer. The virtual screen buffers the second video stream sent by the independent display chip into the buffer; The electronic device further includes a memory that is communicatively connected to the processor for storing the second video stream cached by the processor.