IP Library › Granted Patent US 12,316,922
Granted Patent B2
US 12,316,922 · App. 18/514,931 · Granted May 27, 2025

Interaction method and apparatus, and electronic device

Inventors: Anni Wu (Beijing, CN); Xiaolin Li (Beijing, CN); Hongyu Yang (Beijing, CN); Yupeng Chen (Beijing, CN); Yingjie Sun (Beijing, CN); Panyi Yang (Beijing, CN)
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
H04N21/4854H04N21/25825H04N21/47217
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,316,922
App. No.
18/514,931
Granted
May 27, 2025
Kind
B2
Abstract

An interaction method, an interaction apparatus, and an electronic device are provided. The method includes: determining, in response to detecting a predefined size transformation operation, target transformation information of a target video based on whether a current size of the target video is a preset anchor point size, where the target video is a video played in a video play area; and transforming the target video based on the target transformation information, and playing the transformed target video.

Claims (49)

1. An interaction method, comprising:

displaying a video;

determining, in response to receiving an input performed on the video, whether a first scaling mode is applicable to the video based on a current size of the video being displayed, preset anchor point sizes, and preset types of size transformation operations corresponding to the preset anchor point sizes;

in response to determining that the first scaling mode is applicable to the video, transforming a display size of the video from one of the preset anchor point sizes to another different preset anchor point size; and

in response to determining that the first scaling mode is not applicable to the video, entering a second scaling mode, wherein the second scaling mode is a free scaling mode in which the display size of the video is transformed based on received instruction.

2. The method according to claim 1 , wherein the preset anchor point sizes comprise an original display size and a full-screen display size.

3. The method according to claim 1 , further comprising:

in response to entering the free scaling mode, transforming the display size of the video to a size indicated by the received instruction, based on change of the touch position corresponding to the received instruction.

4. The method according to claim 1 , wherein a type of the received instruction is determined based on a ratio of a real-time size of the target video when a size transformation operation is released to the current size of the target video.

5. The method according to claim 4 , wherein before the size transformation operation is released, a size of the target video is transformed in real time based on the transformation information indicated by the size transformation operation.

6. The method according to claim 1 , further comprising:

displaying, in response to determining that a size of the transformed target video is not an original display size, a restore control, wherein the restore control is used for transforming the target video to the original display size.

7. The method according to claim 1 , further comprising:

moving, in response to detecting a predefined moving operation and in response to determining that the current size of the target video is greater than a size of the video play area, the target video in the video play area.

8. The method according to claim 1 , further comprising:

detecting, in response to the end of the received instruction and/or a moving operation, whether the target video is moved out of the video play area; and

correcting, in response to determining that the target video is moved out of the video play area, a video picture in the video play area.

9. The method according to claim 1 , further comprising:

packaging a first layer into a second layer, wherein a layer corresponding to a player is the first layer, and a target video in the second layer has the same play progress as a target video in the first layer, the target video in the second layer is used for transformation based on the size transformation operation and/or a moving operation.

10. The method according to claim 9 , wherein the target video in the second layer is transformed by:

determining a transformation coefficient based on at least one of: position information indicated by the received instruction, the moving operation; wherein the transformation coefficient comprises at least one of: size transformation information, a moving coefficient; and

transforming the target video in the second layer based on the transformation coefficient.

11. The method according to claim 10 , further comprising:

acquiring a target video picture that matches the video play area from the target video in the second layer; and

playing the target video picture that matches the video play area in the video play area.

12. An electronic device comprising:

one or more processors;

a storage device storing one or more programs, the one or more programs, when executed by the one or more processors, causing the one or more processors to:

display a video;

determine, in response to receiving an input performed on the video, whether a first scaling mode is applicable to the video based on a current size of the video being displayed, preset anchor point sizes, and preset types of size transformation operations corresponding to the preset anchor point sizes;

in response to determining that the first scaling mode is applicable to the video, transforming a display size of the video from one of the preset anchor point sizes to another different preset anchor point size; and

in response to determining that the first scaling mode is not applicable to the video, entering a second scaling mode, wherein the second scaling mode is a free scaling mode in which the display size of the video is transformed based on received instruction.

13. The device of claim 12 , wherein the preset anchor point sizes comprise an original display size and a full-screen display size.

14. The device of claim 12 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

in response to entering the free scaling mode, transform the display size of the video to a size indicated by the received instruction, based on change of the touch position corresponding to the received instruction.

15. The device of claim 14 , wherein a type of the received instruction is determined based on a ratio of a real-time size of the target video when a size transformation operation is released to the current size of the target video.

16. The device of claim 15 , wherein before the size transformation operation is released, a size of the target video is transformed in real time based on the transformation information indicated by the size transformation operation.

17. The device of claim 12 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

display, in response to determining that a size of the transformed target video is not an original display size, a restore control, wherein the restore control is used for transforming the target video to the original display size.

18. The device of claim 12 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

move, in response to detecting a predefined moving operation and in response to determining that the current size of the target video is greater than a size of the video play area, the target video in the video play area.

19. The device of claim 12 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

detect, in response to the end of the received instruction and/or a moving operation, whether the target video is moved out of the video play area; and

correct, in response to determining that the target video is moved out of the video play area, a video picture in the video play area.

20. A computer readable non-transitory storage medium, bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:

display a video;

determine, in response to receiving an input performed on the video, whether a first scaling mode is applicable to the video based on a current size of the video being displayed, preset anchor point sizes, and preset types of size transformation operations corresponding to the preset anchor point sizes;

in response to determining that the first scaling mode is applicable to the video, transforming a display size of the video from one of the preset anchor point sizes to another different preset anchor point size; and

in response to determining that the first scaling mode is not applicable to the video, entering a second scaling mode, wherein the second scaling mode is a free scaling mode in which the display size of the video is transformed based on received instruction.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2024
From: WU, ANNI; LI, XIAOLIN; CHEN, YUPENG; SUN, YINGJIE; YANG, PANYI
To: DOUYIN VISION CO., LTD.
Reel/Frame 068922/0668 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2024
From: YANG, HONGYU
To: HANGZHOU OCEAN ENGINE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 068922/0694 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2024
From: HANGZHOU OCEAN ENGINE NETWORK TECHNOLOGY CO., LTD.
To: DOUYIN VISION CO., LTD.
Reel/Frame 068922/0717 →
Priority Claims (1)
CN 202010764798.2 · Jul 31, 2020 · national
Continuity (3)
Continuation 17887077 · Aug 12, 2022
Continuation PCTCN2021109648 · Jul 30, 2021
Related Publication 20240089551A1 · Mar 14, 2024
References Cited (21)
US 11863835B2 · Wu et al. · 2024 [cited by applicant]
US 20190306561A1 · Xu et al. · 2019 [cited by applicant]
US 20200014961A1 · Ramaswamy et al. · 2020 [cited by applicant]
US 20220256099A1 · Feng · 2022 [cited by applicant]
CN 101576996A · 2009 [cited by applicant]
CN 101616281A · 2009 [cited by applicant]
CN 102890603A · 2013 [cited by applicant]
CN 102890816A · 2013 [cited by examiner]
CN 107741815A · 2018 [cited by applicant]
CN 110446110A · 2019 [cited by applicant]
CN 110944186A · 2020 [cited by examiner]
CN 111031398A · 2020 [cited by applicant]
CN 111147911A · 2020 [cited by applicant]
CN 111355998A · 2020 [cited by applicant]
CN 111935544A · 2020 [cited by applicant]
JP 2003108976A · 2003 [cited by applicant]
WO WO2017184241A1 · 2017 [cited by applicant]
International Patent Application No. PCT/CN2021/109648; Int'l Search Report; dated Oct. 28, 2021; 3 pages. [cited by applicant]
European Patent Application No. 21850635.0; Partial Supplementary Search Report; dated Nov. 7, 2023; 59 pages. [cited by applicant]
European Patent Application No. 21850635.0; Extended Search Report; dated Feb. 8, 2024; 14 pages. [cited by applicant]
Communication pursuant to Article 94(3) EPC for European Application No. 21850635.0, mailed Nov. 6, 2024, 9 pages. [cited by applicant]