US11886893B2ActiveUtilityA1

Method and device for capturing screen and terminal

Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO LTDPriority: Aug 10, 2021Filed: Feb 26, 2022Granted: Jan 30, 2024
Est. expiryAug 10, 2041(~15 yrs left)· nominal 20-yr term from priority
Inventors:Chumou Guo
G06F 9/451G06F 3/0482G06F 3/1454G09G 2370/16G09G 2340/12G09G 5/006
38
PatentIndex Score
0
Cited by
7
References
17
Claims

Abstract

A method for capturing a screen includes obtaining a display device list. The display device list at least includes a physical display device and a first category of virtual display device. It is identified whether a value of a flag bit of the first category of virtual display device is a preset value. In response to the value of the flag bit of the first category of virtual display device being the preset value, a video merging result of the physical display device as the screen capturing result.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method for capturing screen, comprising:
 obtaining a display device list, wherein the display device list comprises a physical display device and a first category of virtual display device; 
 identifying whether a value of a flag bit of the first category of virtual display device in the display device list is a preset value; and 
 determining a video merging result of the physical display device as a screen capturing result in response to the value of the flag bit of the first category of virtual display device being the preset value, wherein the video merging result of the physical display device is directly used as the screen capturing result, so that video merging is not performed on the first category of virtual display device, 
 wherein the display device list further comprises a second category of virtual display device, the method further comprising: 
 identifying whether a value of a flag bit of each display device among the physical display device, the first category of virtual display device, and the second category of virtual display device included in the display device list is the preset value; and 
 in response to the value of the flag bit of any one display device not being the preset value, performing video merging on the any one display device to generate a video merging result of the any one display device. 
 
     
     
       2. The method of  claim 1 , wherein performing the video merging on the any one display device comprises:
 obtaining multiple frame images of the any one display device based on a preset updating frequency; and 
 performing the video merging on the multiple frame images. 
 
     
     
       3. The method of  claim 1 , further comprising:
 receiving a video capturing instruction from a user; 
 creating the first category of virtual display device based on the screen capturing instruction, and setting the value of the flag bit of first category of virtual display device as the preset value; and 
 adding the first category of virtual display device into the display device list. 
 
     
     
       4. The method of  claim 3 , wherein creating the first category of virtual display device based on the screen capturing instruction comprises:
 calling a preset screen capturing application based on the screen capturing instruction; and 
 receiving a display device creating instruction sent by the screen capturing application through an application interface, and creating the first category of virtual display device based on the display device creating instruction. 
 
     
     
       5. The method of  claim 1 , further comprising:
 identifying a category of the display device; and 
 displaying the video merging result of the display device on the display device in response to the category of the display device being the physical display device. 
 
     
     
       6. The method of  claim 5 , further comprising:
 storing the video merging result of the display device in a storage space corresponding to the display device in response to the category of the display device is the virtual display device. 
 
     
     
       7. The method of  claim 1 , further comprising:
 determining the video merging result of the physical display device as the video merging result of the first category of virtual display device. 
 
     
     
       8. An electronic device, comprising:
 a processor; and 
 a memory, configured to store instructions executable by the processor; 
 wherein the processor is configured to: 
 obtain a display device list, wherein the display device list comprises a physical display device and a first category of virtual display device; 
 identify whether a value of a flag bit of the first category of virtual display device in the display device list is a preset value; and 
 determine a video merging result of the physical display device as a screen capturing result in response to the value of the flag bit of the first category of virtual display device being the preset value, wherein the video merging result of the physical display device is directly used as the screen capturing result, so that video merging is not performed on the first category of virtual display device, 
 wherein the display device list further comprises a second category of virtual display device, and the processor is further configured to: 
 identify whether a value of a flag bit of each display device among the physical display device, the first category of virtual display device, and the second category of virtual display device included in the display device list is the preset value; and 
 in response to the value of the flag bit of any one display device not being the preset value, perform video merging on the any one display device to generate a video merging result of the any one display device. 
 
     
     
       9. The electronic device of  claim 8 , wherein the processor is further configured to:
 obtain multiple frame images of the any one display device based on a preset updating frequency; and 
 perform the video merging on the multiple frame images. 
 
     
     
       10. The electronic device of  claim 8 , wherein the processor is further configured to:
 receive a video capturing instruction from a user; 
 create the first category of virtual display device based on the screen capturing instruction, and set the value of the flag bit of first category of virtual display device as the preset value; and 
 add the first category of virtual display device into the display device list. 
 
     
     
       11. The electronic device of  claim 10 , wherein the processor is further configured to:
 call a preset screen capturing application based on the screen capturing instruction; and 
 receive a display device creating instruction sent by the screen capturing application through an application interface, and create the first category of virtual display device based on the display device creating instruction. 
 
     
     
       12. The electronic device of  claim 8 , wherein the processor is further configured to:
 identify a category of the display device; and 
 display the video merging result of the display device on the display device in response to the category of the display device being the physical display device. 
 
     
     
       13. The electronic device of  claim 12 , wherein the processor is further configured to:
 store the video merging result of the display device in a storage space corresponding to the display device in response to the category of the display device is the virtual display device. 
 
     
     
       14. The electronic device of  claim 8 , wherein the processor is further configured to:
 determine the video merging result of the physical display device as the video merging result of the first category of virtual display device. 
 
     
     
       15. A non-transitory computer readable storage medium, wherein when instructions in the computer readable storage medium are executed by a processor of an electronic device, the electronic device is configured to execute a method for capturing a screen, the method comprising:
 obtaining a display device list, wherein the display device list comprises a physical display device and a first category of virtual display device; 
 identifying whether a value of a flag bit of the first category of virtual display device in the display device list is a preset value; and 
 determining a video merging result of the physical display device as a screen capturing result in response to the value of the flag bit of the first category of virtual display device being the preset value, wherein the video merging result of the physical display device is directly used as the screen capturing result, so that video merging is not performed on the first category of virtual display device, 
 wherein the display device list further comprises a second category of virtual display device, the method further comprising: 
 identifying whether a value of a flag bit of each display device among the physical display device, the first category of virtual display device, and the second category of virtual display device included in the display device list is the preset value; and 
 in response to the value of the flag bit of any one display device not being the preset value, performing video merging on the any one display device to generate a video merging result of the any one display device. 
 
     
     
       16. The non-transitory computer readable storage medium of  claim 15 , wherein performing the video merging on the any one display device comprises:
 obtaining multiple frame images of the any one display device based on a preset updating frequency; and 
 performing the video merging on the multiple frame images. 
 
     
     
       17. The non-transitory computer readable storage medium of  claim 15 , the method further comprising:
 receiving a video capturing instruction from a user; 
 creating the first category of virtual display device based on the screen capturing instruction, and setting the value of the flag bit of first category of virtual display device as the preset value; and 
 adding the first category of virtual display device into the display device list.

Join the waitlist — get patent alerts

Track US11886893B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.