Method for adding anchor points to videos on mobile terminals
By loading a list of video thumbnails on mobile devices and generating rich text timestamps, the problem of adding anchor points and chapter information when uploading videos by self-media users is solved, improving video retrieval and information accuracy, and simplifying the operation process.
Patent Information
- Application Number
- CN202110573050.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-25
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2041-05-25
AI Technical Summary
When self-media users upload videos on mobile devices, they cannot efficiently add anchor points and chapter information, which increases the difficulty of video retrieval and makes the information inaccurate.
On mobile devices, a list of video thumbnails is loaded. Users can select an anchor point with the cursor and enter chapter information to generate rich text timestamps. Thumbnail data is then loaded asynchronously to optimize the user experience.
It enables the efficient addition of video anchors and chapter information on mobile devices, improving the convenience and accuracy of video retrieval and lowering the operational threshold.
Smart Images

Figure CN115396739B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of video editing, and more particularly to a method for adding anchor points and chapter information to videos on mobile terminals. Background Technology
[0002] Compared to text and images, video has advantages such as carrying a large amount of information and being visually appealing. With the development of internet software and hardware technologies, video-based application services are becoming increasingly common. However, the most essential, distinctive, or relevant parts of a video often only constitute a small portion of the entire video. Furthermore, video data has poor structure, meaning users cannot directly jump to their preferred sections and must watch the entire video, often wasting time. This characteristic of video data also increases the difficulty of video retrieval.
[0003] One current solution is for professional video editors to add anchor points and chapter descriptions to specific frames in the video during the publishing process. However, this only works on professional video publishing websites. More and more self-media platforms now support users uploading videos via mobile phones and computers. In this scenario, the video uploader is not a video editor and lacks the expertise to insert professional anchor points. Therefore, uploaded videos often lack anchor points and chapter information. If the platform were to send professional video editors to add anchor points to uploaded videos, firstly, the workload would be too large and impractical; secondly, only the uploader should know what anchor points and chapter information should be added, or what information the uploader wants to convey. The platform's video editors have no way of knowing this, so even if the platform's editors add anchor points, the added information is not accurate enough.
[0004] Therefore, there is an urgent need to provide self-media users with an efficient and simple method for adding video anchors, so that video uploaders can easily add anchors and chapter information to their videos when uploading them on mobile phones or computers. Summary of the Invention
[0005] In view of the shortcomings of the prior art described above, the present invention provides a method for adding anchor points to videos on a mobile terminal, comprising: loading a list of video thumbnails; obtaining the anchor point position selected by the user; obtaining chapter information input by the user; generating a rich text timestamp based on the anchor point position and the chapter information; and uploading the video together with the rich text timestamp.
[0006] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the time window of the thumbnail list occupies 1% to 5% of the video duration.
[0007] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the time interval between each thumbnail in the thumbnail list is 0.8 to 1.2 seconds.
[0008] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the step of loading the video thumbnail list further includes rendering the main thumbnail.
[0009] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the step of obtaining the anchor point position selected by the user includes first obtaining coarse adjustment information of the anchor point position, and then obtaining fine adjustment information of the anchor point position.
[0010] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the coarse adjustment information of the anchor point position is obtained by calculating the user's movement of the thumbnail list time window.
[0011] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the fine-tuning information of the anchor point position is calculated based on the time window of the thumbnail list and the relative position of the cursor with respect to the time window of the thumbnail list.
[0012] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the step of obtaining the user's movement of the thumbnail list time window further includes: monitoring the number of times the user swipes, the time interval between two adjacent swipes, and the swipe force; and adjusting the movement speed of the thumbnail list time window based on the number of swipes, the time interval between two adjacent swipes, and the swipe force.
[0013] Preferably, in the above method for adding anchor points to a video on a mobile terminal, the thumbnail list data is loaded asynchronously.
[0014] Preferably, in the above method for adding anchor points to a video on a mobile terminal, after obtaining the user-inputted chapter information, the method further includes a step of filtering the chapter information.
[0015] The present invention also provides a mobile terminal system that can add anchor points to videos using any of the aforementioned methods. Attached Figure Description
[0016] Figure 1 The image shown is a schematic diagram of the terminal interface after loading the video thumbnail list in accordance with this invention.
[0017] Figure 2 The image shows a schematic diagram of the interactive interface used to obtain chapter information input by the user.
[0018] Figure 3 This is a flowchart illustrating how the present invention adds anchor points to videos on mobile terminals. Detailed Implementation
[0019] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention.
[0020] First, refer to... Figure 3 Figure 3 shows a flowchart of the method for adding anchor points to videos on a mobile terminal according to the present invention. In this example, the terminal is a smartphone. Step S1 represents the step of loading the video thumbnail list. Step S1 typically begins when the user opens the video upload function in the application and selects the video to be uploaded. At this time, a process needs to be started to read the video stream information (including the total duration of the video) and render the video thumbnail list. The thumbnail list displays the frames of the video in chronological order of playback. Typically, the time span (or time window) of the thumbnail list does not need to cover the entire video duration; generally, covering 1% to 5% of the total video length is appropriate.
[0021] The default time interval between frames in the thumbnail list is T. A T value that is too small results in unnecessary, minimal differences between frames, and also consumes computational resources during loading and rendering. A T value that is too large may prevent users from finding the desired anchor point. Experiments show that a T value of 0.8–1.2 seconds provides a better user experience; in this example, a T value of 1 second is used. For an even better user experience, a main thumbnail can be rendered, such as a promotional image or poster for the video. The rendered effect is as follows... Figure 1 As shown. By taking the total video length, the interval between thumbnails, and the length of the thumbnail list, the start and end time ranges of the videos corresponding to the thumbnail list can be calculated. Preferably, the corresponding video timestamps are marked at the start, end, and middle positions of the thumbnail list.
[0022] Step S2 involves retrieving the anchor point selected by the user. The most intuitive way to allow the user to select the anchor point is to have them directly input a timestamp, but this provides a poor user experience. In this example, a cursor (e.g., ...) is provided to the user on the thumbnail list. Figure 1As shown in the diagram, this allows users to select anchor point positions through a process of coarse adjustment followed by fine adjustment. When a user drags the thumbnail list, the time window of the entire thumbnail list can be moved by monitoring the length and direction of the user's finger movement on the X-axis, obtaining the user's coarse adjustment result for the anchor point position. When the user drags the cursor, by adjusting the relative position of the cursor within the thumbnail list time window, the fine adjustment result (i.e., the precise result) of the anchor point position can be obtained by using the time window of the thumbnail list and the position of the cursor relative to the time window. Preferably, the number of times the user slides, the time interval between two adjacent slides, and the force of the slides can also be monitored, and the movement speed of the thumbnail list time window can be controlled based on these monitored parameters. For example, if the user slides from right to left multiple times in succession with short intervals, it can be assumed that the time point when the user needs to add a chapter falls far behind the current thumbnail list time window. In this case, the time window of the thumbnail list can be moved more significantly and quickly to load later frames of the video, saving computing resources and helping the user to quickly locate the desired position.
[0023] When the user drags the cursor, the system monitors the length of the cursor's movement along the X-axis. Based on the start and end times of the video corresponding to the thumbnail list (the position and size of the thumbnail list time window) and the relative position of the cursor to the thumbnail list time window, the corresponding video time point can be calculated.
[0024] When dragging the thumbnail list, it's preferable to start a separate thread to load the thumbnail list data before handing it over to the main thread for display. This asynchronous thumbnail loading method helps ensure the responsiveness of other controls on the interface to user actions, improving the user experience. Of course, there are other ways for users to interact with the thumbnail list; for example, buttons, sliders, etc., can be provided at the ends and bottom of the list.
[0025] Step S3 involves obtaining the chapter information input by the user. Figures 1-2 For example, after a user drags the thumbnail list and determines the cursor position (i.e., determines where the anchor point needs to be added), clicking the "Chapter" button will jump to... Figure 2 The chapter addition interface shown is a simplified example. Figure 2 The chapter addition interface only includes a title input area and a body text input area. In practice, it can also provide users with areas for adding geographical locations, tags, etc. The input area can be implemented using EditText. Preferably, after obtaining the user's input information, the information can be filtered, such as for excessively long text or text containing sensitive words.
[0026] It is understandable that the designations S2 and S3 are merely for descriptive convenience and do not indicate the temporal or logical order of the two steps. On the contrary, steps S2 and S3 are logically performed simultaneously, that is, in Figure 1 On the interface shown, user interactions with the thumbnail list, cursor, and buttons are monitored simultaneously. Furthermore, Figure 1 , Figure 2 The interface diagrams shown are for illustrative purposes only. In practice, the interfaces shown in the two diagrams can be combined into one, or divided into three interfaces, etc.
[0027] Step S4 represents the step of generating a rich text timestamp. By positioning the cursor and using the chapter title and text entered by the user, a rich text timestamp consisting of "moment + text content" can be generated.
[0028] Step S5 involves uploading the video along with rich text timestamp information. The upload destination can be the video platform's server, another terminal, etc. This allows the receiving end to use the timestamps to associate chapter content with the video, facilitating operations such as searching, browsing, or playing the video.
[0029] The video anchor point addition method of the present invention can be conveniently implemented on terminals such as mobile phones, tablets, and mobile PCs through software and / or hardware. This allows users to easily add anchor points and chapter information to videos when uploading them, and also facilitates video receivers and users in searching and associating them. It solves the shortcomings of previous video anchor point addition methods, such as high barriers to entry and inconvenient operation, and thus has high industrial application value.
Claims
1. A method for adding anchor points to a video on a mobile terminal, characterized in that, include: Load a list of thumbnails for the video; the list of thumbnails includes thumbnails of a subset of frames in the video, determined at preset time intervals; Monitor the number of times the user swipes the list of thumbnails, the time interval between two consecutive swipes, and the swipe force. The movement speed of the time window of the thumbnail list is adjusted based on the number of swipes, the time interval between two adjacent swipes, and the force of the swipe. The anchor point position is coarsely adjusted by the movement speed, and finely adjusted by the anchor point position to determine the anchor point position. The finely adjusted anchor point position is calculated based on the time window of the thumbnail list and the relative position of the cursor with respect to the time window of the thumbnail list. Get the chapter information input by the user; Generate a rich text timestamp based on the anchor point position and the chapter information; Upload the video along with the rich text timestamp.
2. The method for adding anchor points to a video on a mobile terminal according to claim 1, characterized in that, The time window for the thumbnail list occupies 1% to 5% of the video duration.
3. The method for adding anchor points to a video on a mobile terminal according to claim 1, characterized in that, In the thumbnail list, the time interval between each thumbnail is 0.8 to 1.2 seconds.
4. The method for adding anchor points to a video on a mobile terminal according to claim 1, characterized in that, The step of loading the list of video thumbnails also includes rendering the main thumbnail.
5. The method for adding anchor points to a video on a mobile terminal according to claim 1, characterized in that, The list of thumbnails is loaded asynchronously.
6. The method for adding anchor points to a video on a mobile terminal according to claim 1, characterized in that, After obtaining the chapter information input by the user, the method further includes a step of filtering the chapter information.
Citation Information
Patent Citations
Video processing method and device and electronic equipment
CN110290397A
Video timed anchors
WO2020201780A1