US 12,468,903 B2
Content display method and apparatus, storage medium, and electronic device
Ruoyu Xu, Dongguan (CN)
Assigned to GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed by GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Dongguan (CN)
Filed on Aug. 17, 2023, as Appl. No. 18/235,150.
Application 18/235,150 is a continuation of application No. PCT/CN2022/071852, filed on Jan. 13, 2022.
Claims priority of application No. 202110260443.4 (CN), filed on Mar. 10, 2021.
Prior Publication US 2023/0394249 A1, Dec. 7, 2023
Int. Cl. G06F 40/58 (2020.01); G06F 3/01 (2006.01); G06F 3/0485 (2022.01); G06F 3/0488 (2022.01); G06V 30/14 (2022.01); G06V 30/146 (2022.01)
CPC G06F 40/58 (2020.01) [G06F 3/013 (2013.01); G06F 3/0485 (2013.01); G06F 3/0488 (2013.01); G06V 30/1444 (2022.01); G06V 30/147 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A content display method, applied in an electronic device, the method comprising:
obtaining a screen state of the electronic device;
determining a first to-be-translated content in a display interface in response to the screen state being a non-touch state;
translating the first to-be-translated content to obtain a first translation content, and displaying the first translation content; and
stopping displaying the first translation content in response to the screen state being switched to a touched state;
wherein the method further comprises, subsequent to said stopping displaying the first translation content:
obtaining a touch operation in the touched state; and
in response to the touch operation being a sliding operation, sliding and displaying, on the display interface, a page content of a page where the first to-be-translated content is located;
determining a second to-be-translated content in the display interface in response to the screen state being switched to the non-touch state, wherein the second to-be-translated content is a to-be-translated content in a page content after sliding the page where the first to-be-translated content is located; and
translating the second to-be-translated content to obtain a second translation content, comprising:
obtaining a difference content between the second to-be-translated content and the first to-be-translated content;
translating the difference content to obtain a third translation content, and obtaining, from the first translation content, a fourth translation content corresponding to a same content between the second to-be-translated content and the first to-be-translated content; and
obtaining the second translation content based on the third translation content and the fourth translation content; and
displaying the second translation content.