Page video loading method, device, electronic device and storage medium

By extracting video metadata, eliminating audio track data and deleting duplicate frames, the problem of low loading efficiency of page videos is solved, achieving faster loading speed and better user experience.

CN116033179BActive Publication Date: 2025-08-19PING AN TECH (SHENZHEN) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211643439.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-08-19
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

Existing page video loading methods are inefficient. Common problems include black screen before the video is loaded and the loading time is too long, resulting in poor user experience.

Method used

By extracting video metadata for data filling, eliminating audio track data, splitting and deleting duplicate frames, extracting image frames that meet the conditions as video display pictures for loading.

Benefits of technology

Improve the efficiency of page video loading, reduce unnecessary requests, reduce video size, improve user experience, and achieve seamless video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033179B_ABST
    Figure CN116033179B_ABST
Patent Text Reader

Abstract

The present invention relates to R&D management used in the field of financial technology, and discloses a page video loading method, including: extracting video metadata from a reference page video, performing data filling processing on the reference page video according to the video metadata to obtain a processed page video; identifying audio track data in the processed page video, deleting the audio track data from the processed page video to obtain a standard page video; splitting the standard page video into multiple image frames, deleting duplicate frames from the multiple image frames to obtain multiple standard image frames; extracting image frames that meet the screening conditions from the standard image frames as video display pictures of the reference page video, and performing video loading on the reference page video according to the video display pictures. In addition, the present invention also relates to blockchain technology, and video metadata can be stored in the nodes of the blockchain. The present invention also proposes a page video loading device, an electronic device, and a storage medium. The present invention can improve the efficiency of page video loading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of research and development management, and in particular to a page video loading method, device, electronic equipment and storage medium. Background Art

[0002] In the information age, to effectively attract users, enrich information content, and effectively convey information, videos are often added to the homepages of software in various fields. This encourages users to be attracted by the videos and click on them. For example, in the field of fintech, various financial software homepages often include videos introducing fintech products or related knowledge. However, adding videos to the homepage can lead to a series of loading issues, such as a black screen before the video loads and long loading times resulting in a poor user experience.

[0003] Existing methods for loading page videos usually use a preloading method or an increased waiting effect. This method reduces the efficiency of loading page videos. Therefore, a more efficient method for loading page videos is urgently needed. Summary of the Invention

[0004] The present invention provides a page video loading method, device, electronic equipment and storage medium, the main purpose of which is to improve the efficiency of page video loading.

[0005] To achieve the above-mentioned purpose, the present invention provides a method for loading a page video, comprising:

[0006] Acquire a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video;

[0007] Identifying audio track data in the processed page video and deleting the audio track data from the processed page video to obtain a standard page video;

[0008] Splitting the standard page video into multiple image frames, deleting duplicate frames in the multiple image frames, and obtaining multiple standard image frames;

[0009] Image frames that meet preset screening conditions are extracted from the standard image frames as video display pictures of the reference page video, and video loading processing is performed on the reference page video according to the video display pictures.

[0010] Optionally, extracting video metadata from the reference page video includes:

[0011] Locating a video position corresponding to a preset byte in the reference page video, and performing metadata retrieval at the video position, and using the metadata as video metadata if metadata is retrieved;

[0012] If no metadata is retrieved, the video data at the end of the video in the reference page video is used as the video metadata.

[0013] Optionally, performing data filling processing on the reference page video using the video metadata to obtain a processed page video includes:

[0014] The video file header in the reference page video is identified, and the video metadata is filled into the video file header to obtain a processed page video.

[0015] Optionally, deleting the audio track data from the processed page video to obtain a standard page video includes:

[0016] Using a preset multimedia tool to remove the audio track data from the processed page video to obtain animation data;

[0017] A target blank file is created, and the animation data is input into the target blank file to obtain a standard page video.

[0018] Optionally, before deleting the audio track data from the processed page video, the method further includes:

[0019] Determining a video playback purpose of the processed page video, and when the video playback purpose is to play in video form, using the processed page video as a standard page video;

[0020] When the video playback purpose is to play in animation form, the audio track data in the processed page video is identified, and the audio track data is deleted from the processed page video to obtain a standard page video.

[0021] Optionally, splitting the standard page video into multiple image frames includes:

[0022] Acquire the number of image frames to be split, and construct an image frame splitting statement according to the number of image frames to be split and a preset multimedia tool;

[0023] The standard page video is split using the image frame splitting statement to obtain multiple image frames.

[0024] Optionally, performing video loading processing on the reference page video according to the video display image to obtain a loaded reference page video includes:

[0025] Performing a loading process on the reference page video, and monitoring the loading process of the reference page video using a preset monitoring event;

[0026] When the monitoring event detects that the video loading is complete, the video display picture is hidden and the loaded reference page video is displayed.

[0027] In order to solve the above problem, the present invention further provides a page video loading device, the device comprising:

[0028] A video processing module is used to obtain a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video;

[0029] an audio removal module, configured to identify audio track data in the processed page video and delete the audio track data from the processed page video to obtain a standard page video;

[0030] An image frame splitting module is used to split the standard page video into multiple image frames, delete duplicate frames in the multiple image frames, and obtain multiple standard image frames;

[0031] The video loading module is used to extract image frames that meet preset screening conditions from the standard image frames as video display pictures of the reference page video, and perform video loading processing on the reference page video according to the video display pictures.

[0032] In order to solve the above problem, the present invention further provides an electronic device, comprising:

[0033] at least one processor; and,

[0034] a memory communicatively connected to the at least one processor; wherein,

[0035] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the page video loading method described above.

[0036] In order to solve the above problem, the present invention also provides a storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned page video loading method.

[0037] In an embodiment of the present invention, data filling processing is performed on a reference page video by extracting video metadata to obtain a processed page video. The video data filling processing can reduce redundant requests and improve the page video loading speed; by eliminating the audio track data in the page video after data filling processing, a standard page video is obtained, which can effectively reduce the video size of the standard page video, and the repeated frames in the multiple image frames after splitting the standard page video are deleted to obtain multiple standard image frames. The image frames that meet the preset screening conditions in the multiple standard image frames are extracted as the video display pictures of the reference page video, and the reference page video is subjected to video loading processing according to the video display pictures. Therefore, the page video loading method, device, electronic device and storage medium proposed in the present invention can solve the problem of low efficiency in improving page video loading. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of a process for loading a video on a page provided by an embodiment of the present invention;

[0039] Figure 2 for Figure 1 A detailed implementation flow chart of one of the steps in the

[0040] Figure 3 A functional module diagram of a web page video loading device provided by an embodiment of the present invention;

[0041] Figure 4 A schematic structural diagram of an electronic device for implementing the page video loading method provided by one embodiment of the present invention.

[0042] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0044] The embodiment of the present application provides a page video loading method. The execution subject of the page video loading method includes but is not limited to at least one of the electronic devices such as the server, the terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the page video loading method can be executed by software or hardware installed on the terminal device or the server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0045] Reference Figure 1 FIG. 1 is a flow chart of a method for loading a video on a page provided by an embodiment of the present invention. In this embodiment, the method for loading a video on a page includes the following steps S1-S4:

[0046] S1. Acquire a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video.

[0047] In an embodiment of the present invention, the reference page video refers to a video that can be added to the homepage of relevant software in the field of financial technology. The video metadata refers to parameters related to video attributes, for example, the video metadata may include information such as the width, height, duration, total number of words, and key frames of the video.

[0048] Specifically, refer to Figure 2 As shown, the extraction of video metadata from the reference page video includes the following steps S11-S12:

[0049] S11, locating the video position corresponding to the preset bytes in the reference page video, and performing metadata search at the video position. If metadata is retrieved, the metadata is used as video metadata;

[0050] S12. If no metadata is found, the video data at the end of the video in the reference page video is used as video metadata.

[0051] In detail, the preset byte is 0 byte.

[0052] For example, in an embodiment of the present invention, the corresponding metadata is first found at the position of 0 byte in the reference page video, and the metadata is used as the video metadata. If the corresponding metadata is not found, the video data at the end of the video of the reference page video is used as the video metadata.

[0053] Furthermore, performing data filling processing on the reference page video using the video metadata to obtain a processed page video includes:

[0054] The video file header in the reference page video is identified, and the video metadata is filled into the video file header to obtain a processed page video.

[0055] In detail, in the processed page video, the video metadata is located in the video file header, so the processed page video can load the video into the metadata immediately, reducing redundant requests and improving the loading speed of the video.

[0056] S2. Identify the audio track data in the processed page video, and delete the audio track data from the processed page video to obtain a standard page video.

[0057] Specifically, deleting the audio track data from the processed page video to obtain a standard page video includes:

[0058] Using a preset multimedia tool to remove the audio track data from the processed page video to obtain animation data;

[0059] A target blank file is created, and the animation data is input into the target blank file to obtain a standard page video.

[0060] In detail, the preset multimedia tool is ffmpeg, wherein ffmpeg is a multimedia processing tool focusing on audio and video. The multimedia processing tool can realize functions such as transcoding, cutting, audio extraction, metadata modification, and bit rate control of audio and video.

[0061] In an embodiment of the present invention, the audio track data in the processed page video is removed to obtain a new video file without audio, which can effectively reduce the video size and loading speed.

[0062] Furthermore, in other embodiments of the present invention, S2 may be replaced by the following solution:

[0063] Determining a video playback purpose of the processed page video, and when the video playback purpose is to play in video form, using the processed page video as a standard page video;

[0064] When the video playback purpose is to play in animation form, the audio track data in the processed page video is identified, and the audio track data is deleted from the processed page video to obtain a standard page video.

[0065] In detail, the video playback purpose of the page video refers to playing it in video form or playing it in animation form, wherein playing it in video form means retaining the animation and audio data in the video, and playing it in animation form means removing the audio data.

[0066] S3. Split the standard page video into multiple image frames, delete duplicate frames in the multiple image frames, and obtain multiple standard image frames.

[0067] In the embodiment of the present invention, splitting the standard page video into multiple image frames includes:

[0068] Acquire the number of image frames to be split, and construct an image frame splitting statement according to the number of image frames to be split and a preset multimedia tool;

[0069] The standard page video is split using the image frame splitting statement to obtain multiple image frames.

[0070] In detail, the number of image frames to be split refers to the number of times the video needs to be split into image frames. In this solution, the number of image frames to be split is 30. According to the number of image frames to be split and the preset multimedia tool, the image frame splitting statement is constructed as ffmpeg-i video.mp4-vframes 30%d.jpg. The image frame splitting statement is used to split the standard page video to obtain multiple image frames.

[0071] Specifically, among the multiple image frames, there may be dozens of frames whose scenes are the same as those in the previous ones. In the embodiment of the present invention, repeated frames among the multiple image frames may be deleted to obtain multiple standard image frames.

[0072] Since the home page video will be played a second time in a loop after playing once, there will often be problems with smooth connection, which will cause users to feel stuck. Therefore, deleting duplicate frames can effectively solve the problem of connection stuck between videos.

[0073] S4. Extracting image frames that meet preset screening conditions from the standard image frames as video display pictures of the reference page video, and performing video loading processing on the reference page video according to the video display pictures.

[0074] In an embodiment of the present invention, the preset screening condition is the first frame image in the standard image frame.

[0075] Specifically, the video loading process for the reference page video according to the video display picture includes:

[0076] Performing a loading process on the reference page video, and monitoring the loading process of the reference page video using a preset monitoring event;

[0077] When the monitoring event detects that the video has not been loaded, the video display picture is displayed as a placeholder picture of the reference page video;

[0078] When the monitoring event detects that the video loading is complete, the video display picture is hidden and the loaded reference page video is displayed.

[0079] Among them, when it is monitored that the video has not been loaded completely, the extracted first frame image can be used as a placeholder image before the data is loaded. The image can be used as a placeholder when the video content has not been loaded completely, and then replaced after the content is loaded. This can make the user feel that the video content is smooth and not abrupt, and the experience is better.

[0080] Specifically, the preset monitoring event is an onplay event, which is triggered when the video starts playing. Therefore, when this event is triggered, the video display picture covering the upper layer of the video can be hidden, thereby achieving seamless playback of the video.

[0081] In an embodiment of the present invention, data filling processing is performed on a reference page video by extracting video metadata to obtain a processed page video. The video data filling processing can reduce redundant requests and improve the page video loading speed. The audio track data in the processed page video is eliminated to obtain a standard page video, which can effectively reduce the video size of the standard page video. The repeated frames in the multiple image frames after splitting the standard page video are deleted to obtain multiple standard image frames. The image frames that meet the preset screening conditions in the multiple standard image frames are extracted as the video display pictures of the reference page video. The reference page video is subjected to video loading processing according to the video display pictures. Therefore, the page video loading method proposed by the present invention can solve the problem of low efficiency in improving page video loading.

[0082] like Figure 3 , which is a functional module diagram of a page video loading device provided by an embodiment of the present invention.

[0083] The webpage video loading device 100 of the present invention can be installed in an electronic device. Depending on the functionality to be implemented, the webpage video loading device 100 may include a video processing module 101, an audio removal module 102, an image frame segmentation module 103, and a video loading module 104. A module, also referred to as a unit, is a series of computer program segments that can be executed by an electronic device processor and perform a fixed function, and is stored in the memory of the electronic device.

[0084] In this embodiment, the functions of each module / unit are as follows:

[0085] The video processing module 101 is used to obtain a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video;

[0086] The audio removal module 102 is configured to identify audio track data in the processed page video and delete the audio track data from the processed page video to obtain a standard page video;

[0087] The image frame splitting module 103 is used to split the standard page video into multiple image frames, delete duplicate frames in the multiple image frames, and obtain multiple standard image frames;

[0088] The video loading module 104 is configured to extract image frames that meet preset screening conditions from the standard image frames as video display pictures for the reference page video, and perform video loading processing on the reference page video according to the video display pictures.

[0089] In detail, the specific implementation of each module of the page video loading device 100 is as follows:

[0090] Step 1: Obtain a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video.

[0091] In an embodiment of the present invention, the reference page video refers to a video that can be added to the homepage of relevant software in the field of financial technology. The video metadata refers to parameters related to video attributes, for example, the video metadata may include information such as the width, height, duration, total number of words, and key frames of the video.

[0092] Specifically, extracting the video metadata from the reference page video includes:

[0093] Locating a video position corresponding to a preset byte in the reference page video, and performing metadata retrieval at the video position, and using the metadata as video metadata if metadata is retrieved;

[0094] If no metadata is retrieved, the video data at the end of the video in the reference page video is used as the video metadata.

[0095] In detail, the preset byte is 0 byte.

[0096] For example, in an embodiment of the present invention, the corresponding metadata is first found at the position of 0 byte in the reference page video, and the metadata is used as the video metadata. If the corresponding metadata is not found, the video data at the end of the video of the reference page video is used as the video metadata.

[0097] Furthermore, performing data filling processing on the reference page video using the video metadata to obtain a processed page video includes:

[0098] The video file header in the reference page video is identified, and the video metadata is filled into the video file header to obtain a processed page video.

[0099] In detail, in the processed page video, the video metadata is located in the video file header, so the processed page video can load the video into the metadata immediately, reducing redundant requests and improving the loading speed of the video.

[0100] Step 2: Identify the audio track data in the processed page video, and delete the audio track data from the processed page video to obtain a standard page video.

[0101] Specifically, deleting the audio track data from the processed page video to obtain a standard page video includes:

[0102] Using a preset multimedia tool to remove the audio track data from the processed page video to obtain animation data;

[0103] A target blank file is created, and the animation data is input into the target blank file to obtain a standard page video.

[0104] In detail, the preset multimedia tool is ffmpeg, wherein ffmpeg is a multimedia processing tool focusing on audio and video. The multimedia processing tool can realize functions such as transcoding, cutting, audio extraction, metadata modification, and bit rate control of audio and video.

[0105] In an embodiment of the present invention, the audio track data in the processed page video is removed to obtain a new video file without audio, which can effectively reduce the video size and loading speed.

[0106] Furthermore, in other embodiments of the present invention, S2 may be replaced by the following solution:

[0107] Determining a video playback purpose of the processed page video, and when the video playback purpose is to play in video form, using the processed page video as a standard page video;

[0108] When the video playback purpose is to play in animation form, the audio track data in the processed page video is identified, and the audio track data is deleted from the processed page video to obtain a standard page video.

[0109] In detail, the video playback purpose of the page video refers to playing it in video form or playing it in animation form, wherein playing it in video form means retaining the animation and audio data in the video, and playing it in animation form means removing the audio data.

[0110] Step three: split the standard page video into multiple image frames, delete duplicate frames in the multiple image frames, and obtain multiple standard image frames.

[0111] In the embodiment of the present invention, splitting the standard page video into multiple image frames includes:

[0112] Acquire the number of image frames to be split, and construct an image frame splitting statement according to the number of image frames to be split and a preset multimedia tool;

[0113] The standard page video is split using the image frame splitting statement to obtain multiple image frames.

[0114] In detail, the number of image frames to be split refers to the number of times the video needs to be split into image frames. In this solution, the number of image frames to be split is 30. According to the number of image frames to be split and the preset multimedia tool, the image frame splitting statement is constructed as ffmpeg-i video.mp4-vframes 30%d.jpg. The image frame splitting statement is used to split the standard page video to obtain multiple image frames.

[0115] Specifically, among the multiple image frames, there may be dozens of frames whose scenes are the same as those in the previous ones. In the embodiment of the present invention, repeated frames among the multiple image frames may be deleted to obtain multiple standard image frames.

[0116] Since the home page video will be played a second time in a loop after playing once, there will often be problems with smooth connection, which will cause users to feel stuck. Therefore, deleting duplicate frames can effectively solve the problem of connection stuck between videos.

[0117] Step 4: extracting image frames that meet preset screening conditions from the standard image frames as video display pictures for the reference page video, and performing video loading processing on the reference page video according to the video display pictures.

[0118] In an embodiment of the present invention, the preset screening condition is the first frame image in the standard image frame.

[0119] Specifically, the video loading process for the reference page video according to the video display picture includes:

[0120] Performing a loading process on the reference page video, and monitoring the loading process of the reference page video using a preset monitoring event;

[0121] When the monitoring event detects that the video has not been loaded, the video display picture is displayed as a placeholder picture of the reference page video;

[0122] When the monitoring event detects that the video loading is complete, the video display picture is hidden and the loaded reference page video is displayed.

[0123] Among them, when it is monitored that the video has not been loaded completely, the extracted first frame image can be used as a placeholder image before the data is loaded. The image can be used as a placeholder when the video content has not been loaded completely, and then replaced after the content is loaded. This can make the user feel that the video content is smooth and not abrupt, and the experience is better.

[0124] Specifically, the preset monitoring event is an onplay event, which is triggered when the video starts playing. Therefore, when this event is triggered, the video display picture covering the upper layer of the video can be hidden, thereby achieving seamless playback of the video.

[0125] In an embodiment of the present invention, data filling processing is performed on a reference page video by extracting video metadata to obtain a processed page video. The video data filling processing can reduce redundant requests and improve the loading speed of the optimized page video. The audio track data in the processed page video is eliminated to obtain a standard page video, which can effectively reduce the video size of the standard page video. The repeated frames in the multiple image frames after splitting the standard page video are deleted to obtain multiple standard image frames. The image frames that meet the preset screening conditions in the multiple standard image frames are extracted as the video display pictures of the reference page video. The reference page video is subjected to video loading processing according to the video display pictures. Therefore, the page video loading device proposed by the present invention can solve the problem of low efficiency in improving page video loading.

[0126] like Figure 4 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a page video loading method provided by an embodiment of the present invention.

[0127] The electronic device 1 may include a processor 10 , a memory 11 , a communication bus 12 , and a communication interface 13 , and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a page video loading program.

[0128] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 10 is the control core (Control Unit) of the electronic device, connecting the various components of the entire electronic device using various interfaces and lines, and executing or executing programs or modules stored in the memory 11 (for example, executing a page video loading program, etc.), as well as calling data stored in the memory 11, to execute various functions of the electronic device and process data.

[0129] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 can also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the memory 11 can also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the page video loader, etc., but can also be used to temporarily store data that has been output or is to be output.

[0130] The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable communication between the memory 11 and at least one processor 10, etc.

[0131] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0132] Figure 4 Only the electronic device with components is shown, and it can be understood by those skilled in the art that Figure 4The structure shown does not constitute a limitation on the electronic device 1 , and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0133] For example, although not shown, the electronic device may further include a power source (such as a battery) for powering various components. Preferably, the power source may be logically connected to the at least one processor 10 via a power management device, thereby implementing functions such as charge management, discharge management, and power consumption management through the power management device. The power source may further include any components such as one or more DC or AC power sources, a recharging device, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0134] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0135] The page video loading program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve the following:

[0136] Acquire a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video;

[0137] Identifying audio track data in the processed page video and deleting the audio track data from the processed page video to obtain a standard page video;

[0138] Splitting the standard page video into multiple image frames, deleting duplicate frames in the multiple image frames, and obtaining multiple standard image frames;

[0139] Image frames that meet preset screening conditions are extracted from the standard image frames as video display pictures of the reference page video, and video loading processing is performed on the reference page video according to the video display pictures.

[0140] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0141] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a storage medium. The storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0142] The present invention further provides a storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0143] Acquire a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video;

[0144] Identifying audio track data in the processed page video and deleting the audio track data from the processed page video to obtain a standard page video;

[0145] Splitting the standard page video into multiple image frames, deleting duplicate frames in the multiple image frames, and obtaining multiple standard image frames;

[0146] Image frames that meet preset screening conditions are extracted from the standard image frames as video display pictures of the reference page video, and video loading processing is performed on the reference page video according to the video display pictures.

[0147] In the several embodiments provided herein, it should be understood that the disclosed devices, apparatuses, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the module division is merely a logical functional division, and actual implementation may employ other division methods.

[0148] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of the solution of this embodiment according to actual needs.

[0149] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional modules.

[0150] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0151] Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims rather than the foregoing description, and all changes that come within the meaning and range of equivalents of the claims are intended to be embraced therein. Any reference to a figure in a claim should not be construed as limiting the claim to which it relates.

[0152] Blockchain, as used in this article, refers to a novel application model for computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each block contains information about a batch of online transactions, used to verify the validity of this information (to prevent counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.

[0153] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to achieve optimal results.

[0154] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. Terms such as "first" and "second" are used to indicate names and do not imply any particular order.

[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A page video loading method, characterized in that: The method comprises: Acquire a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video; Identifying audio track data in the processed page video and deleting the audio track data from the processed page video to obtain a standard page video; Splitting the standard page video into multiple image frames, deleting duplicate frames in the multiple image frames, and obtaining multiple standard image frames; An image frame that meets the preset filtering conditions is extracted from the standard image frame as the video display picture of the reference page video, the reference page video is loaded, and the loading process of the reference page video is monitored using a preset monitoring event. When the monitoring event detects that the video loading is completed, the video display picture is hidden and the loaded reference page video is displayed.

2. The page video loading method according to claim 1, characterized in that: The extracting the video metadata from the reference page video includes: Locating a video position corresponding to a preset byte in the reference page video, and performing metadata retrieval at the video position, and using the metadata as video metadata if metadata is retrieved; If no metadata is retrieved, the video data at the end of the video in the reference page video is used as the video metadata.

3. The page video loading method according to claim 1, wherein: The performing data filling processing on the reference page video using the video metadata to obtain a processed page video includes: The video file header in the reference page video is identified, and the video metadata is filled into the video file header to obtain a processed page video.

4. The page video loading method according to claim 1, wherein: The step of deleting the audio track data from the processed page video to obtain a standard page video includes: Using a preset multimedia tool to remove the audio track data from the processed page video to obtain animation data; A target blank file is created, and the animation data is input into the target blank file to obtain a standard page video.

5. The page video loading method according to claim 1, wherein: Before deleting the audio track data from the processed page video, the method further includes: Determining a video playback purpose of the processed page video, and when the video playback purpose is to play in video form, using the processed page video as a standard page video; When the video playback purpose is to play in animation form, the audio track data in the processed page video is identified, and the audio track data is deleted from the processed page video to obtain a standard page video.

6. The page video loading method according to claim 1, wherein: The step of splitting the standard page video into multiple image frames includes: Acquire the number of image frames to be split, and construct an image frame splitting statement according to the number of image frames to be split and a preset multimedia tool; The standard page video is split using the image frame splitting statement to obtain multiple image frames.

7. A page video loading device, characterized in that: The device comprises: A video processing module is used to obtain a reference page video, extract video metadata from the reference page video, and perform data filling processing on the reference page video using the video metadata to obtain a processed page video; an audio removal module, configured to identify audio track data in the processed page video and delete the audio track data from the processed page video to obtain a standard page video; An image frame splitting module is used to split the standard page video into multiple image frames, delete duplicate frames in the multiple image frames, and obtain multiple standard image frames; A video loading module is used to extract image frames that meet preset screening conditions from the standard image frames as video display pictures of the reference page video, load the reference page video, and use preset monitoring events to monitor the loading process of the reference page video. When the monitoring event monitors that the video loading is completed, the video display picture is hidden and the loaded reference page video is displayed.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the page video loading method according to any one of claims 1 to 6.

9. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the page video loading method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Image gift display method, device and system, terminal and storage medium

    CN107888965A

  • Preview data playing method and device and storage medium

    CN109756767A