Display method and display apparatus
Abstract
A display method and an electronic device are provided. The method includes: when a first interface includes a first playback picture, determining whether a first character string satisfies a target condition. The first playback picture includes the first character string, and the first playback picture is a playback picture of a target video at a first playback node. The method further includes when the first character string satisfies the target condition, displaying a second character string on a second interface. A second playback picture includes the second character string, and the second playback picture is a playback picture of the target video at a second playback node. The second playback node is a previous playback node of the first playback node.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1 . A display method, performed by an electronic device, comprising:
when a first interface comprises a first playback picture, determining whether a first character string satisfies a target condition, wherein the first playback picture comprises the first character string, and the first playback picture is a playback picture of a target video at a first playback node; and when the first character string satisfies the target condition, displaying a second character string on a second interface, wherein a second playback picture comprises the second character string, and the second playback picture is a playback picture of the target video at a second playback node, wherein the second playback node is a previous playback node of the first playback node, wherein the target condition comprises any one of the following: similarity between the first character string and the second character string is less than a first preset threshold, or a quantity of characters of the first character string is less than a second preset threshold.
2 . The display method according to claim 1 , wherein the second interface comprises a third character string; and
the displaying a second character string on a second interface comprises: displaying the second character string on the second interface and canceling display of the third character string; or displaying the second character string on the second interface and maintaining display of the third character string, wherein a third playback picture comprises the third character string, the third playback picture is a playback picture of the target video at a third playback node, and the third playback node is a previous playback node of the second playback node.
3 . The display method according to claim 1 , wherein after displaying the second character string on the second interface, the method further comprises:
when display duration of the second character string is greater than or equal to preset duration, canceling the display of the second character string.
4 . The display method according to claim 1 , wherein when the electronic device comprises a plurality of screens, and the plurality of screens comprise a first screen and a second screen, the first screen comprises the first interface, and the second screen comprises the second interface.
5 . An electronic device, comprising a processor; and a memory having a computer program or an instruction stored thereon, wherein the program or the instruction, when executed by the processor, causes the processor to perform a display method comprising:
when a first interface comprises a first playback picture, determining whether a first character string satisfies a target condition, wherein the first playback picture comprises the first character string, and the first playback picture is a playback picture of a target video at a first playback node; and when the first character string satisfies the target condition, displaying a second character string on a second interface, wherein a second playback picture comprises the second character string, and the second playback picture is a playback picture of the target video at a second playback node, wherein the second playback node is a previous playback node of the first playback node, wherein the target condition comprises any one of the following: similarity between the first character string and the second character string is less than a first preset threshold, or a quantity of characters of the first character string is less than a second preset threshold.
6 . The electronic device according to claim 5 , wherein the second interface comprises a third character string; and
the displaying a second character string on a second interface comprises: displaying the second character string on the second interface and canceling display of the third character string; or displaying the second character string on the second interface and maintaining display of the third character string, wherein a third playback picture comprises the third character string, the third playback picture is a playback picture of the target video at a third playback node, and the third playback node is a previous playback node of the second playback node.
7 . The electronic device according to claim 5 , wherein after displaying the second character string on the second interface, the method further comprises:
when display duration of the second character string is greater than or equal to preset duration, canceling the display of the second character string.
8 . The electronic device according to claim 5 , wherein when the electronic device comprises a plurality of screens, and the plurality of screens comprise a first screen and a second screen, the first screen comprises the first interface, and the second screen comprises the second interface.
9 . A non-transitory computer readable storage medium, storing instructions that, when executed, causes the processor to perform a display method comprising:
when a first interface comprises a first playback picture, determining whether a first character string satisfies a target condition, wherein the first playback picture comprises the first character string, and the first playback picture is a playback picture of a target video at a first playback node; and when the first character string satisfies the target condition, displaying a second character string on a second interface, wherein a second playback picture comprises the second character string, and the second playback picture is a playback picture of the target video at a second playback node, wherein the second playback node is a previous playback node of the first playback node, wherein the target condition comprises any one of the following: similarity between the first character string and the second character string is less than a first preset threshold, or a quantity of characters of the first character string is less than a second preset threshold.
10 . The non-transitory computer readable storage medium according to claim 9 , wherein the second interface comprises a third character string; and
the displaying a second character string on a second interface comprises: displaying the second character string on the second interface and canceling display of the third character string; or displaying the second character string on the second interface and maintaining display of the third character string, wherein a third playback picture comprises the third character string, the third playback picture is a playback picture of the target video at a third playback node, and the third playback node is a previous playback node of the second playback node.
11 . The non-transitory computer readable storage medium according to claim 9 , wherein after displaying the second character string on the second interface, the method further comprises:
when display duration of the second character string is greater than or equal to preset duration, canceling the display of the second character string.
12 . The non-transitory computer readable storage medium according to claim 9 , wherein when an electronic device comprises a plurality of screens, and the plurality of screens comprise a first screen and a second screen, the first screen comprises the first interface, and the second screen comprises the second interface.Join the waitlist — get patent alerts
Track US12511088B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.