File transfer display control method and apparatus, and corresponding terminal
Abstract
A file transfer display control method and apparatus, and a corresponding terminal are provided. In the method the terminal may generate a floating window to display transfer progress information that indicates a progress of a file transfer executed by a content aggregation application in the electronic device, where the content aggregation application includes a plurality of display interfaces that are switchable, where the content aggregation application includes a plurality of display interfaces that are switchable. Further, the terminal obtains at least one of position information and display form of the floating window and displays the transfer progress information in the floating window based on the at least one of the position information and the display form.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method applied to an electronic device, comprising:
generating a floating window to display transfer progress information that indicates a progress of a file transfer executed by a content aggregation application in the electronic device, wherein the content aggregation application comprises a plurality of display interfaces that are switchable; and obtaining at least one of position information and display form of the floating window and displaying the transfer progress information in the floating window based on the at least one of the position information and the display form.
2 . The method according to claim 1 , further comprising:
determining, based on first feature information of a first display interface, whether to display the floating window in the first display interface; and in response to determining to display the floating window, obtaining the at least one of position information and display form of the floating window and displaying the transfer progress information in the floating window based on the at least one of the position information and the display form.
3 . The method according to claim 2 , further comprising:
determining the position information or the display form of the floating window in the first display interface based on the first feature information of the first display interface.
4 . The method according to claim 1 , wherein the display form comprises shape, size, background color, foreground color or transparency of the floating window.
5 . The method according to claim 1 , further comprising:
switching the first display interface to a second display interface in response to a slide operation; displaying the floating window in the position information of the second display interface.
6 . The method according to claim 5 , further comprising:
determining, based on second feature information of the second display interface, whether to display the floating window in the position information of the second display interface; and in response to determining to display the floating window in the position information of the second display interface, displaying the floating window in the position information of the second display interface.
7 . The method according to claim 1 , further comprising:
receiving a moving instruction for the floating window, wherein the moving instruction comprises a target position; and moving the floating window to the target position in response to the moving instruction.
8 . The method according to claim 1 , further comprising:
receiving a preset instruction for controlling the file transfer, wherein the preset instruction comprises a pause instruction, a cancel instruction, and a retransfer instruction; pausing the file transfer in response to receiving the pause instruction; terminating the file transfer in response to receiving the cancel instruction; and performing the file transfer again in response to receiving the retransfer instruction.
9 . The method according to claim 1 , further comprising:
receiving a second displaying instruction; and switching to a second display interface in response to the second displaying instruction, wherein the second display interface is configured to display all files and the transfer progress information of all files.
10 . The method according to claim 1 , further comprising:
determining whether the file is transferred successfully; outputting and displaying transfer success prompt information in response to a file being transferred successfully; and outputting and displaying transfer failure prompt information in response to a file not being transferred successfully.
11 . A terminal, comprising:
a memory; and one or more processors coupled to the memory, wherein the one or more processors are configured to execute instructions causing the one or more processors to: generate a floating window to display transfer progress information that indicates a progress of a file transfer executed by a content aggregation application in the electronic device, wherein the content aggregation application comprises a plurality of display interfaces that are switchable; and obtain at least one of position information and display form of the floating window and display the transfer progress information in the floating window based on the at least one of the position information and the display form.
12 . The terminal according to claim 11 , wherein the instructions further cause the one or more processors to:
determine, based on first feature information of a first display interface, whether to display the floating window in the first display interface; and in response to determining to display the floating window, obtain the at least one of position information and display form of the floating window and displaying the transfer progress information in the floating window based on the at least one of the position information and the display form.
13 . The terminal according to claim 12 , wherein the instructions further cause the one or more processors to:
determine the position information or the display form of the floating window in the first display interface based on the first feature information of the first display interface.
14 . The terminal according to claim 11 , wherein the display form comprises shape, size, background color, foreground color or transparency of the floating window.
15 . The terminal according to claim 11 , wherein the instructions further cause the one or more processors to:
switch the first display interface to a second display interface in response to a slide operation; and display the floating window in the position information of the second display interface.
16 . The terminal according to claim 15 , wherein the instructions further cause the one or more processors to:
determine, based on second feature information of the second display interface, whether to display the floating window in the position information of the second display interface; and in response to determining to display the floating window in the position information of the second display interface, display the floating window in the position information of the second display interface.
17 . The terminal according to claim 11 , wherein the instructions further cause the one or more processors to:
receive a moving instruction for the floating window, wherein the moving instruction comprises a target position; and move the floating window to the target position in response to the moving instruction.
18 . The terminal according to claim 11 , wherein the instructions further cause the one or more processors to:
receive a preset instruction for controlling the file transfer, wherein the preset instruction comprises a pause instruction, a cancel instruction, and a retransfer instruction; pause the file transfer in response to receiving the pause instruction; terminate the file transfer in response to receiving the cancel instruction; and perform the file transfer again in response to receiving the retransfer instruction.
19 . A non-transitory computer readable storage medium comprising computer readable instructions configured to cause an electronic device to:
generate a floating window to display transfer progress information that indicates a progress of a file transfer executed by a content aggregation application in the electronic device, wherein the content aggregation application comprises a plurality of display interfaces that are switchable; and obtain at least one of position information and display form of the floating window and display the transfer progress information in the floating window based on the at least one of the position information and the display form.
20 . The non-transitory computer readable storage medium according to claim 19 , wherein the instructions further cause the electronic device to:
determine, based on first feature information of a first display interface, whether to display the floating window in the first display interface; and in response to determining to display the floating window, obtaining the at least one of position information and display form of the floating window and displaying the transfer progress information in the floating window based on the at least one of the position information and the display form.Join the waitlist — get patent alerts
Track US2022377128A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.