CN-121983002-A - Refreshing method of ink screen device, electronic device and storage medium
Abstract
The embodiment of the application provides a refreshing method of ink screen equipment, electronic equipment and a storage medium, wherein the ink screen equipment comprises a first ink screen and a second ink screen; and refreshing the first ink screen and the second ink screen according to the first refresh type and the second refresh type, wherein the refreshing is used for eliminating the ghost shadows in the first ink screen and the second ink screen. In the method, the corresponding refreshing types of the first ink screen and the second ink screen are respectively determined, and differentiated refreshing is carried out according to the refreshing types, so that the problems of full screen flickering and video playing clamping caused by synchronous refreshing of the double screens are effectively avoided, the smoothness of video watching and the definition of text display are improved, and the use experience of a user is improved.
Inventors
- JIANG RENHE
Assignees
- 深圳市青蓝墨本科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260115
Claims (10)
- 1. A method of refreshing an ink screen device, characterized by being applied to an ink screen device, the ink screen device comprising a first ink screen and a second ink screen, the ink screen device comprising a control assembly for controlling the display of the first ink screen and the second ink screen, the method comprising: playing a first video on the first ink screen, and displaying a first text on the second ink screen; Determining a first refresh type of the first video, and determining a second refresh type of the first text; and refreshing the first ink screen and the second ink screen according to the first refreshing type and the second refreshing type, wherein the refreshing is used for eliminating ghost shadows in the first ink screen and the second ink screen.
- 2. The method of claim 1, wherein refreshing the first ink screen and the second ink screen according to the first refresh type and the second refresh type comprises: acquiring a first moment of triggering the first refresh type and a second moment of triggering the second refresh type; and refreshing the first ink screen and the second ink screen according to the first time, the second time, the first refreshing type and the second refreshing type.
- 3. The method of claim 2, wherein refreshing the first ink screen and the second ink screen according to the first time, the second time, the first refresh type, and the second refresh type comprises: When the interval between the first moment and the second moment is larger than a first threshold value, refreshing a first video in the first ink screen according to the first refreshing type, and refreshing a first text in the second ink screen according to the second refreshing type; and when the interval between the first moment and the second moment is smaller than or equal to the first threshold value, refreshing the first video in the first ink screen according to the first refreshing type, and after the first video refreshing is finished, refreshing the first text in the second ink screen according to the second refreshing type.
- 4. The method of claim 3, wherein the first refresh type is an inter-frame refresh, wherein refreshing the first video in the first ink screen according to the first refresh type comprises: Acquiring the refresh frequency of the inter-frame refresh; determining a dynamic region and a static region in the first video; And refreshing the dynamic region based on the refreshing frequency, and refreshing the static region based on a preset duration.
- 5. The method of claim 4, wherein determining a dynamic region in the first video comprises: Acquiring a difference region between a previous key frame and a current key frame; and determining the dynamic region according to the difference region.
- 6. The method according to claim 4 or 5, characterized in that the method further comprises: Obtaining residual rates corresponding to residual shadows of a plurality of preset areas in the first video; Determining a target area in the preset areas according to the residual rates, wherein the residual rate of the target area is larger than or equal to a second threshold value; And refreshing the ghost image of the target area.
- 7. The method of claim 4 or 5, wherein the first refresh type is a depth full brush, and wherein refreshing the first video in the first ink screen according to the first refresh type comprises: And refreshing the first ink screen when the first video playing in the first ink screen is paused or ended.
- 8. The method of any of claims 1-5, wherein the first video has an association with the first text, the method further comprising: Receiving an adjustment operation for the playing progress of the first video, and displaying content corresponding to the adjusted playing progress in the first text on the second ink screen; and receiving page turning operation aiming at the first text, and displaying the content corresponding to the turned first text in the first video on the first ink screen.
- 9. An electronic device is characterized by comprising a memory and a processor; the memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-8.
- 10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-8.
Description
Refreshing method of ink screen device, electronic device and storage medium Technical Field The present application relates to the field of computer technologies, and in particular, to a method for refreshing an ink screen device, an electronic device, and a storage medium. Background The double-screen electronic ink screen device comprises a first ink screen and a second ink screen, a user can play teaching videos on the first ink screen, and the second ink screen synchronously displays corresponding teaching materials. In the related art, a refreshing mode of refreshing the double-screen electronic ink screen device simultaneously is adopted, namely, the first ink screen and the second ink screen are refreshed simultaneously. However, dual screen simultaneous refreshing tends to result in full screen flicker or video clip. Disclosure of Invention The embodiment of the application provides a refreshing method of ink screen equipment, electronic equipment and a storage medium, which are used for avoiding the problems of full screen flickering and video playing clamping caused by synchronous refreshing of double screens. In a first aspect, an embodiment of the present application provides a method for refreshing an ink screen device, which is applied to the ink screen device, where the ink screen device includes a first ink screen and a second ink screen, the ink screen device includes a control component, and the control component is configured to control display of the first ink screen and the second ink screen, and the method includes: Playing a first video on a first ink screen, and displaying a first text on a second ink screen; determining a first refresh type of the first video, and determining a second refresh type of the first text; and refreshing the first ink screen and the second ink screen according to the first refreshing type and the second refreshing type, wherein the refreshing is used for eliminating the ghost shadows in the first ink screen and the second ink screen. In some embodiments, refreshing the first ink screen and the second ink screen according to the first refresh type and the second refresh type includes: Acquiring a first moment for triggering a first refresh type and a second moment for triggering a second refresh type; and refreshing the first ink screen and the second ink screen according to the first moment, the second moment, the first refreshing type and the second refreshing type. In some embodiments, refreshing the first ink screen and the second ink screen according to the first time, the second time, the first refresh type, and the second refresh type comprises: when the interval between the first moment and the second moment is larger than a first threshold value, refreshing a first video in the first ink screen according to a first refreshing type, and refreshing a first text in the second ink screen according to a second refreshing type; and when the interval between the first moment and the second moment is smaller than or equal to a first threshold value, refreshing the first video in the first ink screen according to a first refreshing type, and after the refreshing of the first video is finished, refreshing the first text in the second ink screen according to a second refreshing type. In some embodiments, the first refresh type is an inter-frame refresh, and refreshing the first video in the first ink screen according to the first refresh type includes: acquiring refresh frequency of inter-frame refresh; Determining a dynamic region and a static region in the first video; and refreshing the dynamic region based on the refreshing frequency, and refreshing the static region based on the preset duration. In some embodiments, determining a dynamic region in the first video includes: Acquiring a difference region between a previous key frame and a current key frame; From the difference region, a dynamic region is determined. In some embodiments, the method further comprises: obtaining residual rates corresponding to residual shadows of a plurality of preset areas in a first video; determining a target area in a plurality of preset areas according to the plurality of residual rates, wherein the residual rate of the target area is greater than or equal to a second threshold; and refreshing the ghost image of the target area. In some embodiments, the first refresh type is a depth full brush, and refreshing the first video in the first ink screen according to the first refresh type comprises: and refreshing the first ink screen when the first video playing in the first ink screen is paused or ended. In some embodiments, the first video has an association relationship with the first text, and the method further comprises: receiving an adjustment operation for the playing progress of the first video, and displaying content corresponding to the adjusted playing progress in the first text on the second ink screen; And receiving page turning operation aiming at the first t