发明名称 METHOD AND APPARATUS FOR PROVIDING SCREENSHOT SERVICE ON TERMINAL DEVICE AND STORAGE MEDIUM AND DEVICE
摘要 A method and apparatus for providing a screenshot service on a terminal device and a storage medium and device. The method for providing a screenshot service on a terminal device comprises: a producer thread responds to a received screenshot command instruction (S110), executes a screenshot operation (S120), and writes shot screen data into a buffer region (S130); and a consumer thread reads the screen data stored by the producer thread from the buffer region (S210), executes image processing on the screen data to generate a screenshot image (S220), and returns the screenshot image to an application which invokes a screenshot service (S230). 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.
申请公布号 WO2016197590(A1) 申请公布日期 2016.12.15
申请号 WO2015CN100174 申请日期 2015.12.31
申请人 BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD. 发明人 CHEN, Cong;SONG, Ye
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址