The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jul. 02, 2019
Filed:
Dec. 31, 2015
Baidu Online Network Technology (Beijing) Co., Ltd., Beijing, CN;
Baidu Online Network Technology (Beijing) Co., Ltd., Beijing, CN;
Abstract
A method and apparatus for providing a screenshot service on a terminal device and a storage medium and device. The method includes: a producer thread responds to a received screenshot command instruction, executes a screenshot operation, and writes shot screen data into a buffer region; and a consumer thread reads the screen data stored by the producer thread from the buffer region, executes image processing on the screen data to generate a screenshot image, and returns the screenshot image to an application which invokes a screenshot service. Adopting a multi-thread mode of a producer/consumer to complete a screenshot service respectively through a producer thread used for executing screen shooting and a consumer thread used for executing image processing on shot screen data can especially reduce screenshot time on a portable terminal device with limited processing capability, and can complete the screenshot service within tens of milliseconds.