Display device and poster data scraping method

By scanning the storage paths of audio and video files, extracting metadata fields, and merging network scraping requests, the problem of repetitive scraping and redundant metadata for complex format video files in the video wall function is solved, improving efficiency and accuracy.

CN121531174APending Publication Date: 2026-02-13HISENSE VISUAL TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511669190.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-13
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

The existing poster scraping technology for video wall functions suffers from repeated scraping and redundant metadata issues when processing complex video files, affecting efficiency and wasting resources.

Method used

By scanning the storage paths of audio and video files, extracting metadata fields, forming structured objects, and merging network scraping requests to reduce the number of requests, the semantic recognition of related files for the same audio and video work is achieved using the path hierarchy structure.

Benefits of technology

It improves adaptability in non-standard naming scenarios, reduces network transmission bandwidth consumption and server request pressure, enhances the efficiency and accuracy of metadata processing, and reduces resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121531174A_ABST
    Figure CN121531174A_ABST
Patent Text Reader

Abstract

The invention relates to a display device and a poster data scraping method. The display apparatus includes: a display configured to display an image and / or a user interface; the controller is configured to scan a file directory for storing the audio and video files to obtain respective storage paths of the plurality of audio and video files; performing field extraction on the folder name and the audio and video file name to obtain a metadata field of the audio and video file; combining metadata fields of the audio and video file to obtain a structured object of the audio and video file; and performing identification based on the respective structured objects of the plurality of audio and video files, and under the condition that the plurality of audio and video files are identified as related files of the same audio and video work, merging the network scraping requests of the plurality of audio and video files so as to initiate a preset number of network scraping requests. The related files of the same audio and video work can be identified based on the core information in the structured object, so that the network scraping requests of the related files are merged.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer application, in particular to a display device and a poster data scraping method. BACKGROUND

[0002] With the rapid development of television and streaming media technology, users' requirements for the clarity and audio-visual experience of audio-visual content are increasing, and 4K Dolby sound and other ultra-high-definition film sources are widely used. More and more users tend to save such film sources through NAS devices. The management and browsing experience requirements of users for audio-visual content are also increasing. The list or grid layout of the traditional television media center needs the user to know the file name to find or search, which is inconvenient to operate. Therefore, the movie wall function emerges as the times require. This function can be integrated into the pre-installed application of the television manufacturer, the adapted application of the NAS manufacturer, and the third-party application.

[0003] The implementation of the existing movie wall function depends on the poster scraping technology. The mainstream tool needs to perform fuzzy matching between the information of the video file itself, such as the video file name, and an online database. The matching request is initiated through a network API, and the average request for a single film is 3 to 5 times to complete the information matching.

[0004] There may be video files with complex formats, such as Blu-ray original discs, which contain a STREAM subdirectory and multiple m2ts segments. Each video-related file under the directory needs to be scraped accordingly, which may cause repeated scraping, affect the scraping efficiency, and generate a large amount of redundant metadata. SUMMARY

[0005] Therefore, it is necessary to provide a display device and a poster data scraping method to reduce repeated scraping in view of the above technical problems.

[0006] In a first aspect, the present application provides a display device, comprising:

[0007] a display configured to display an image and / or a user interface;

[0008] a controller configured to:

[0009] scan a file directory in which audio-video files are stored, and obtain a storage path of each of the audio-video files, the storage path comprising a folder name at a previous level and an audio-video file name at a last level;

[0010] extract a field from the folder name and the audio-video file name to obtain a metadata field of the audio-video file, and combine the metadata field of the audio-video file to obtain a structured object of the audio-video file;

[0011] Based on the structured objects of the plurality of audio and video files, in the case of identifying the plurality of audio and video files as related files of the same audio and video work, merging the network scraping requests of the plurality of audio and video files to initiate a preset number of network scraping requests, and the preset number is less than the number of the plurality of audio and video files.

[0012] The technical scheme has the following advantages or beneficial effects: The metadata fields are extracted from the folder name and the audio and video file name to form the structured object by scanning the audio and video file storage path, the path hierarchy semantics is fully mined, and the problem of inaccurate matching of non-standard naming files is effectively solved, and the adaptability to non-standard naming scenarios is improved. Based on the core information in the structured object, the related files of the same audio and video work are identified, and the network scraping requests of the related files are merged, thereby effectively reducing the number of network scraping requests, reducing the network transmission bandwidth occupation and the server request pressure, and improving the response efficiency of the scraping request. At the same time, with the help of path information extraction metadata and the same work identification mechanism, the accuracy and relevance of the audio and video file metadata acquisition can be ensured, the problems of resource waste and redundant data caused by repeated scraping are improved, the metadata management process of multiple audio and video files is simplified, and the efficiency and practicability of the overall audio and video file metadata processing are improved.

[0013] In one of the embodiments, the controller performs field extraction on the folder name and the audio and video file name to obtain the metadata fields of the audio and video file, and is configured to:

[0014] The audio and video file name is taken as the current level object, and the metadata fields in the current level object are obtained by performing field extraction on the current level object;

[0015] The last level folder name of the current level object is taken as the current level object, and the step of performing field extraction on the current level object is returned and continued to be executed until the current level object does not have the last level folder name.

[0016] The technical scheme has the following advantages or beneficial effects: The extraction method of gradually tracing back from the last level of the audio and video file name to the last level folder name is adopted, the metadata information contained in each level of the storage path is fully mined, and the problem of metadata omission caused by single level extraction is improved. At the same time, the tracing back extraction logic can fully utilize the path hierarchy semantics, maximize the mining of key information such as classification, year, and technical parameters scattered in the non-standard naming file path, effectively solve the defect of insufficient data integration capability of the prior art, provide more comprehensive and complete metadata support for subsequent structured object construction and same audio and video work identification, and further improve the comprehensiveness and accuracy of metadata processing in complex path and non-standard naming scenarios.

[0017] In one of the embodiments, the controller performs field extraction on the current hierarchical object to obtain the metadata field in the current hierarchical object, which is configured to:

[0018] Call the naming rule template corresponding to the type of the audio and video file to match the current hierarchical object, and in the case of successful matching, obtain the metadata field in the current hierarchical object;

[0019] In the case of failed matching, based on the preset invalid field dictionary, the invalid field in the current hierarchical object is cleaned up; based on the preset valid word dictionary, the current hierarchical object after cleaning is matched to obtain the metadata field in the current hierarchical object.

[0020] The above technical solution has the following advantages or beneficial effects: by calling the naming rule template corresponding to the type of the audio and video file, the current hierarchical object is accurately matched to quickly extract the metadata field, which effectively improves the efficiency and accuracy of metadata extraction in the standard naming scenario. For the case of failed matching, the invalid field in the current hierarchical object is first cleaned up with the help of the preset invalid field dictionary, and then the metadata field is extracted by secondary matching with the preset valid word dictionary, which not only solves the problem of insufficient data integration capability when parsing the file name and difficulty in parsing the semantics of non-standard naming file path, but also further expands the adaptation range of non-standard naming and complex format files, improves the situation of metadata extraction omission or misjudgment caused by non-standard naming, and guarantees the consistency and reliability of metadata field extraction in different naming scenarios, provides high-quality data support for subsequent identification of the same audio and video works and merging of network scraping requests, and comprehensively optimizes the overall effect of audio and video file metadata processing.

[0021] In one of the embodiments, the controller performs field extraction on the current hierarchical object to obtain the metadata field in the current hierarchical object, which is configured to:

[0022] In the case of extracting multiple metadata fields of the same type and the multiple metadata fields of the same type are derived from different levels in the storage path, based on the level distance between the source level and the last level of the metadata field, the metadata field with the smallest level distance is retained in the multiple same metadata fields.

[0023] The above technical solution has the following advantages or beneficial effects: For scenarios where multiple metadata fields of the same type may be extracted from different levels of the storage path, by using the distance between the source level and the last level (the level where the audio / video file name is located) of the metadata field as the criterion, and retaining the metadata field corresponding to the smallest distance, it can accurately filter out metadata information that is strongly related to and semantically fits the audio / video file. This effectively improves the problems caused by metadata redundancy or ambiguity due to the coexistence of multiple levels of the same type of fields. At the same time, this method does not require additional complex verification logic; it can achieve efficient deduplication and accurate filtering solely through the distance between levels. This ensures the uniqueness and accuracy of the metadata fields and provides high-quality data support for subsequent processes such as identification of the same audio / video work and merging of network scraping requests. It further optimizes the metadata processing effect in complex scenarios such as non-standard naming and multi-level paths, improving the practicality and reliability of the overall technical solution.

[0024] In one embodiment, the metadata fields include audio / video titles and audio / video names; the controller performs identification based on the structured objects of multiple audio / video files, and is configured as follows:

[0025] When different structured objects have the same audio and video names and types, the corresponding different audio and video files are identified as related files of the same audio and video work.

[0026] The above-mentioned technical solution has the following advantages or beneficial effects: using audio and video names and types as the basis for identifying the same audio and video work, and identifying related files of the same work by judging the consistency of these two fields in different structured objects, can effectively solve the problem of misjudging multiple fragment files in complex formats such as Blu-ray discs in existing technologies, and avoid repeated scraping caused by misjudging fragment files of the same work as independent files. At the same time, this identification method does not rely on complex additional verification logic, and can quickly associate audio and video files with non-standard naming but consistent core information, further improving the adaptability to non-standard naming scenarios, laying a reliable foundation for subsequent merging of network scraping requests, reducing network dependence, and improving scraping efficiency, and ensuring the relevance and efficiency of audio and video file metadata processing in multiple scenarios.

[0027] In one embodiment, the controller performs a scan of the file directory where the audio and video files are stored to obtain the storage paths of the various audio and video files, and is configured as follows:

[0028] Scan the directory where the audio and video files are stored to obtain the original paths of each audio and video file;

[0029] Remove redundant levels from the original path to obtain the storage paths for each of the multiple audio and video files. The redundant levels must include at least the device root directory level.

[0030] The technical scheme has the advantages or beneficial effects as follows: by cutting the redundant levels in the original path which at least contain the device root directory level, a simplified storage path is obtained, effectively eliminating the path information irrelevant to the audio and video file classification and attributes, reducing the interference when extracting the metadata field from the path subsequently, and improving the efficiency and accuracy of field extraction. Meanwhile, the simplified storage path focuses more on the actual classification level and identification information of the audio and video file, which not only facilitates the analysis of the hierarchical structure semantics in the path, but also better adapts to the metadata extraction needs of non-standard named files, and provides clear and high correlation path data support for subsequent structured object construction and same audio and video work identification, further optimizing the smoothness and reliability of the overall audio and video file metadata processing flow.

[0031] In a second aspect, the application further provides a poster data scraping method applied to the display device provided in various possible implementation manners of the first aspect, and the method comprises:

[0032] scanning a file directory where the audio and video files are stored to obtain a storage path of each of the plurality of audio and video files, the storage path comprising a folder name at a previous level and an audio and video file name at a last level;

[0033] extracting a metadata field of the audio and video file from the folder name and the audio and video file name to obtain a structured object of the audio and video file;

[0034] identifying the structured object of each of the plurality of audio and video files, and in the case that the plurality of audio and video files are identified as related files of a same audio and video work, merging network scraping requests of the plurality of audio and video files to initiate a preset number of network scraping requests, the preset number being less than the number of the plurality of audio and video files.

[0035] The technical scheme has the following advantages or beneficial effects: the metadata fields are extracted from the folder name and the audio / video file name to form a structured object by scanning the audio / video file storage path, the path hierarchy semantics are fully mined, the problem of non-standard naming files being difficult to accurately match is effectively solved, and the adaptability to non-standard naming scenarios is improved. Based on the core information in the structured object, related files of the same audio / video work are identified, the network scraping requests of the related files are merged, the number of network scraping request initiations is effectively reduced, the network transmission bandwidth occupation and server request pressure are reduced, and the response efficiency of the scraping request is improved. At the same time, with the help of path information extraction metadata and the same work identification mechanism, the accuracy and relevance of audio / video file metadata acquisition can be ensured, the problems of resource waste and redundant data caused by repeated scraping are improved, the metadata management process of multiple audio / video files is simplified, and the efficiency and practicability of the overall audio / video file metadata processing are improved.

[0036] In one of the embodiments, the folder name and the audio / video file name are subjected to field extraction to obtain metadata fields of the audio / video file, including:

[0037] The audio / video file name is taken as a current hierarchical object, the current hierarchical object is subjected to field extraction to obtain metadata fields in the current hierarchical object.

[0038] The last hierarchical folder name of the current hierarchical object is taken as a current hierarchical object, and the step of field extraction on the current hierarchical object is returned and continued to be executed until the current hierarchical object does not have a last hierarchical folder name.

[0039] The technical scheme has the following advantages or beneficial effects:

[0040] The metadata information contained in each level of the storage path is fully mined by adopting the way of gradually tracing back from the last level of the audio / video file name to the last hierarchical folder name, and the problem of metadata omission caused by single level extraction is improved. At the same time, the tracing back extraction logic can fully utilize the path hierarchy semantics, maximize the mining of scattered classification, year, technical parameter and other key information in the non-standard naming file path, effectively solve the defects of insufficient data integration capability of the prior art, provide more comprehensive and complete metadata support for subsequent structured object construction and same audio / video work identification, and further improve the comprehensiveness and accuracy of metadata processing in the complex path and non-standard naming scenarios.

[0041] In one of the embodiments, the current hierarchical object is subjected to field extraction to obtain metadata fields in the current hierarchical object, including:

[0042] The type corresponding naming rule template of the audio and video file is matched with the current hierarchical object, and in the case of successful matching, the metadata field in the current hierarchical object is obtained.

[0043] In the case of failed matching, based on the preset invalid field dictionary, the invalid field in the current hierarchical object is cleaned up; and based on the preset valid word dictionary, the current hierarchical object after cleaning is matched to obtain the metadata field in the current hierarchical object.

[0044] The technical solution has the following advantages or beneficial effects: by calling the naming rule template corresponding to the type of the audio and video file, the current hierarchical object is accurately matched to quickly extract the metadata field, and the efficiency and accuracy of metadata extraction in the standard naming scene are effectively improved. For the case of failed matching, the invalid field in the current hierarchical object is first cleaned up with the help of the preset invalid field dictionary, and then the metadata field is extracted by secondary matching with the preset valid word dictionary, which can solve the problems of insufficient data integration capability when parsing the file name and difficulty in parsing the semantics of non-standard naming file path, further expand the adaptation range of non-standard naming and complex format files, improve the situation of metadata extraction omission or misjudgment caused by non-standard naming, and ensure the consistency and reliability of metadata field extraction in different naming scenes, providing high-quality data support for subsequent identification of the same audio and video work and merging of network scraping requests, and comprehensively optimizing the overall effect of audio and video file metadata processing.

[0045] In one of the embodiments, before the metadata fields of the audio and video file are combined to obtain the structured object of the audio and video file, the following steps are further included:

[0046] In the case of extracting multiple same metadata fields and the multiple same metadata fields being derived from different levels in the storage path, based on the level distance between the source level and the last level of the metadata field, the metadata field with the smallest level distance is retained in the multiple same metadata fields.

[0047] The technical scheme has the following advantages or beneficial effects: for the scenario that multiple same-type metadata fields are extracted from different levels of storage paths, by taking the level distance between the source level of the metadata field and the last level (the level of the audio and video file name) as the basis for judgment, the metadata field corresponding to the minimum level distance is retained, which can accurately filter out metadata information that is strongly associated with the audio and video file and has a strong semantic fit, effectively improving the problem of metadata redundancy or judgment ambiguity caused by the coexistence of multiple levels of same-type fields. At the same time, this method does not require additional complex verification logic, and can achieve efficient deduplication and accurate filtering only by level distance, which not only guarantees the uniqueness and accuracy of the metadata field, but also provides high-quality data support for subsequent identification of the same audio and video work, merging of network scraping requests, and other processes, further optimizing the metadata processing effect in complex scenarios such as non-standard naming and multi-level paths, and improving the practicality and reliability of the overall technical solution. BRIEF DESCRIPTION OF DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0049] Figure 1 The schematic diagram of the operation scenario between the display device and the control device provided by some embodiments of the present application;

[0050] Figure 2 The schematic diagram of the hardware configuration of the display device provided by some embodiments of the present application;

[0051] Figure 3 The schematic diagram of the hardware configuration of the control device provided by some embodiments of the present application;

[0052] Figure 4 The schematic diagram of the software configuration of the display device provided by some embodiments of the present application;

[0053] Figure 5 The schematic diagram of the poster data scraping process provided by some embodiments of the present application;

[0054] Figure 6 The schematic diagram of the overall interaction process of the poster scraping process provided by some embodiments of the present application;

[0055] Figure 7 The schematic diagram of the file directory scanning process provided by some embodiments of the present application;

[0056] Figure 8An illustration of a poster data generation process for some embodiments of the present application;

[0057] Figure 9 An illustration of an interactive control architecture for a poster data generation process for some embodiments of the present application;

[0058] Figure 10 A block diagram of a poster data scraping device for some embodiments of the present application. DETAILED DESCRIPTION

[0059] The embodiments will be described in detail with reference to the drawings, of which examples are shown. The description below refers to the accompanying drawings, which show by way of example the following embodiments. Unless specifically noted, the same reference numbers and symbols in different drawings indicate the same or similar elements. The following description of the embodiments is not representative of all embodiments consistent with the present application. Rather, it is merely an example of a system and method consistent with some aspects of the present application as detailed in the claims.

[0060] It should be noted that the brief description of terms in the present application is only for the convenience of understanding the following described embodiments, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

[0061] The terms "first", "second", "third", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar or like objects or entities, and do not necessarily mean a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchanged under appropriate circumstances.

[0062] The terms "include" and "have" and any variations thereof are intended to cover but not exclusively include, for example, a product or device containing a series of components, which is not necessarily limited to all components clearly listed, but can include other components not clearly listed or inherent to such products or devices.

[0063] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.

[0064] In the embodiments of the present application, the display device 200 generally refers to a device having the ability to display pictures and process data. For example, the display device 200 includes but is not limited to a smart television, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.

[0065] Figure 1 An illustration of an operation scenario between a display device and a control device for some embodiments of the present application. As Figure 1As shown, users can operate the display device 200 via touch operation, mobile terminal 300, and control device 100. For example, control device 100 can be a remote control, stylus, gamepad, etc.

[0066] The mobile terminal 300 can function as a control device for human-computer interaction between the user and the display device 200. It can also function as a communication device for establishing a communication connection with the display device 200 and exchanging data. In some embodiments, the mobile terminal 300 can have software applications installed on it and communicate with the display device 200 via network communication protocols to achieve one-to-one control and data communication. Furthermore, it can transmit audio and video content displayed on the mobile terminal 300 to the display device 200 for synchronized display.

[0067] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0068] Display device 200 can provide broadcast television reception function, and can also be equipped with intelligent network television function that provides computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0069] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.

[0070] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0071] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.

[0072] In some embodiments, the display 260 includes display components for presenting a picture, and driving components for driving the display of the picture. The display 260 is configured to receive image signals output from the controller 250 for display. For example, the display 260 can be configured to display video content, image content, components of a menu control interface, a user control UI interface, and the like.

[0073] In some embodiments, the communication device 220 is a component for communicating with external devices or the server 400 according to various communication protocol types. The display device 200 can be provided with multiple communication devices 220 according to different supported communication manners. For example, when the display device 200 supports wireless network communication, the display device 200 can be provided with a communication device 220 including WiFi functionality. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including Bluetooth functionality.

[0074] The communication device 220 can connect the display device 200 to external devices or the server 400 through wireless or wired connection. The wired connection can connect the display device 200 to external devices through data lines, interfaces, and the like. The wireless connection can connect the display device 200 to external devices through wireless signals or wireless networks. The display device 200 can establish a direct connection relationship with external devices, or can establish an indirect connection relationship through gateways, routers, connection devices, and the like.

[0075] In some embodiments, the controller 250 can include at least one of a central processor, a video processor, an audio processor, a graphics processor, a power supply processor, first to n interfaces for input / output, and the like. The controller 250 controls the operation of the display device and responds to user operations by controlling various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.

[0076] In some embodiments, the controller 250 and the tuner demodulator 210 can be located in different split devices, i.e., the tuner demodulator 210 can also be located in an external device of the main body device where the controller 250 is located, such as an external set-top box, and the like.

[0077] In some embodiments, the user can input user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI).

[0078] In some embodiments, the audio output device 270 can be a native loudspeaker of the display device 200, or an audio output device externally connected to the display device 200. In the case of the audio output device externally connected to the display device 200, the display device 200 can further be provided with an external audio output terminal, and the audio output device can be connected to the display device 200 through the external audio output terminal to output sound of the display device 200.

[0079] In some embodiments, the user input interface 280 can be used to receive instructions from user input.

[0080] Figure 3 For some embodiments of the present application Figure 1 a hardware configuration block diagram of the control device. As Figure 3 shown, the control device 100 can include a controller 110, a communication interface 130, a user input / output interface, a memory, a power supply.

[0081] The control device 100 is configured to control the display device 200, and can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, acting as an intermediary between the user and the display device 200.

[0082] In some embodiments, the control device 100 can be a smart device. For example, the control device 100 can install various applications for controlling the display device 200 according to user needs.

[0083] In some embodiments, as Figure 1 shown, the mobile terminal 300 or other smart electronic device can perform similar functions to the control device 100 after installing an application for controlling the display device 200.

[0084] The controller 110 includes a processor 112 and a RAM 113 and a ROM 114, a communication interface 130, and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as communication and cooperation between internal components and external and internal data processing functions.

[0085] The communication interface 130, under the control of the controller 110, realizes communication of control signals and data signals between the display device 200. The communication interface 130 can include at least one of a WiFi chip 131, a Bluetooth module 132, an NFC module 133, and other near field communication modules.

[0086] The user input / output interface 140, wherein the input interface includes at least one of a microphone 141, a touchpad 142, a sensor 143, a key 144, and other input interfaces.

[0087] In some embodiments, the control device 100 comprises at least one of a communication interface 130 and an input / output interface 140. The communication interface 130, such as a WiFi, Bluetooth, NFC, etc. module, is configured to encode and transmit user input instructions to the display device 200 via a WiFi protocol, a Bluetooth protocol, or an NFC protocol.

[0088] A memory 190 is configured to store various running programs, data, and applications for driving and controlling the control device 100 under the control of a controller. The memory 190 can store various control signal instructions input by a user.

[0089] A power supply 180 is configured to provide operating power support for various elements of the control device 100 under the control of the controller.

[0090] To perform user interaction, in some embodiments, the display device 200 can run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can provide a user interface to allow a user to interact with the display device 200 and support running various application programs.

[0091] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.

[0092] The operating system can be divided into different modules or levels according to the functions implemented, for example, as shown in FIG. 2, in some embodiments, the system is divided into four layers, from top to bottom, an application layer (referred to as “application layer” for short), an application framework layer (referred to as “framework layer” for short), a system library layer, and a kernel layer. Figure 4

[0093] In some embodiments, the application layer is configured to provide services and interfaces for application programs, so that the display device 200 can run application programs and interact with users based on the application programs. At least one application program can be run in the application layer, which can be a window (Window) program, a system setting program, or a clock program, etc. provided by the operating system; or an application program developed by a third-party developer. In specific implementation, the application programs in the application layer are not limited to the above examples.

[0094] ​The framework layer provides an application programming interface (API) and a programming framework for applications. The application framework layer includes some pre-defined functions. The application framework layer is equivalent to a processing center that decides which application in the application layer to act. The application can access resources in the system and obtain services of the system through the API interface in the execution.

[0095] As shown in Figure 4 The application framework layer in the embodiments of the present application includes a view system, managers, a content provider, etc., wherein the view system can design and implement the interface and interaction of the application, and the view system includes lists, grids, text boxes, buttons, etc. The managers include at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing the system service or the application with access to the system location service; a package manager for retrieving various information related to the application package currently installed on the device; a notification manager for controlling the display and clearing of the notification message; and a window manager for managing the icons, windows, toolbars, wallpapers and desktop components on the user interface.

[0096] In some embodiments, the activity manager is used to manage the life cycle of each application and the general navigation back function, such as controlling the exit, opening, back, etc. of the application. The window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, intercepting the screen, controlling the display window change, for example, reducing the display window, shaking the display, twisting the display, etc.

[0097] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system runs the instruction library included in the system runtime library layer, for example, the C / C++ instruction library, to realize the functions of the framework layer.

[0098] In some embodiments, the kernel layer is a functional layer between the hardware and the software of the display device 200. The kernel layer can realize the functions of hardware abstraction, multitasking, memory management, etc. For example, as shown in Figure 4As shown, the kernel layer can be configured with hardware drivers, and the kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply driver, etc.

[0099] It should be noted that the above examples are only a simple division of the operating system functions, and do not constitute a limitation on the specific operating system form of the display device 200 in the embodiments of the present application. According to the function of the display device, the type of the operating system, and other factors, the number and specific type of the levels contained in the operating system can be in other forms.

[0100] In combination with the foregoing principle, the embodiments of the present application provide a display device, comprising:

[0101] a display configured to display images and / or user interfaces;

[0102] a controller configured to:

[0103] scan a file directory in which audio and video files are stored to obtain a storage path of each of the audio and video files, the storage path including a folder name at a previous level and an audio and video file name at a last level;

[0104] extract a field from the folder name and the audio and video file name to obtain a metadata field of the audio and video file; and combine the metadata field of the audio and video file to obtain a structured object of the audio and video file;

[0105] identify the structured object of each of the audio and video files, and in a case where the audio and video files are identified as related files of a same audio and video work, merge network scraping requests of the audio and video files to initiate a preset number of network scraping requests, the preset number being less than a number of the audio and video files.

[0106] In some embodiments, a breadth-first scan can be performed on the file directory in which the audio and video files are stored. Specifically, all subdirectories can be scanned layer by layer, ensuring that the files in the same level directory are completely traversed before entering the next layer. A queue (Queue) is used to store the storage paths to be accessed, and each storage path is scanned one by one in accordance with the first-in first-out principle. The form of the storage path can be as follows: "NAS / storage / movies / 2023 / Earth_Extended_Dolby_4K_Blu-ray / Earth_Repaired.mkv". As can be seen, the storage path includes the audio and video file name at the last level, i.e. "Earth_Repaired.mkv", and also includes the files and names at the previous levels, such as "Earth_Extended_Dolby_4K_Blu-ray".

[0107] In some embodiments, when field extraction is performed on the folder name and the audio / video file name, the text data corresponding to the folder name and the audio / video file name can be processed based on an audio / video field-specific entity dictionary using a named entity recognition technology. The audio / video field-specific entity dictionary pre-collects standard terms, aliases, and format rules corresponding to target metadata fields such as film type, year format, resolution, audio encoding, and carrier format. After performing redundant character elimination, format standardization, and word segmentation preprocessing on the text data, a named entity recognition model incorporating the field-specific entity dictionary is used to perform entity recognition and field matching on the preprocessed text, locate and extract information corresponding to metadata fields such as film type, year, and technical parameters, and filter invalid data, mark missing fields, and remove duplicate information through preset rules, to finally obtain structured audio / video file metadata fields.

[0108] In some embodiments, when the metadata fields of the audio / video file are combined, the structured object can be combined from the field type and the field content. For example, structured object A: {type: movie; name: earth; year: null; resolution: 4K; audio: Dolby}. Null indicates a missing key field in the field extraction process, which is an automatic filling placeholder. In addition, if the extracted field has illegal characters, it can also be automatically replaced.

[0109] In some embodiments, when identification is performed based on the structured objects of the plurality of audio / video files, the key metadata fields representing the core identity of the audio / video work in each structured object can be extracted. The key metadata fields can at least include a work name field and a work type field. The work name field corresponds to the core identification name of the audio / video file, and the work type field corresponds to the image carrier category such as movie, TV series, animation, and documentary. By performing consistency comparison on the key metadata fields of the plurality of audio / video files, if the contents of the work name fields of different audio / video files are completely consistent and the contents of the work type fields are completely consistent, it is determined that the plurality of audio / video files are related files of the same audio / video work. At the same time, supplementary comparison can also be performed in combination with optional auxiliary verification fields (such as work year field and technical parameter field), to further improve the identification accuracy of the related files of the same work.

[0110] In some embodiments, when merging network scraping requests of multiple audio-video files, the identification information corresponding to the same audio-video work (such as the work name and work type in the key metadata field, or the combined identification formed by combining the work year) can be extracted, and the identification information is used as a unified scraping request parameter to replace the independent scraping request generated for each audio-video file. Through a preset request merging rule, a unified network scraping request for the same audio-video work is formed. The request can include all query conditions required to obtain the complete media metadata of the work, and only the unified scraping request is sent to the network scraping server to obtain the media metadata corresponding to the same work and synchronize to the multiple related audio-video files, thereby realizing the merging and optimization of the multiple file scraping requests.

[0111] In some embodiments, the preset number can be 1 or other numerical values.

[0112] The display device described above extracts metadata fields from the folder name and audio-video file name to form a structured object by scanning the audio-video file storage path, fully excavates the path hierarchical structure semantics, and effectively solves the problem of inaccurate matching of non-standard named files, thereby improving the adaptability to non-standard naming scenarios. Based on the core information in the structured object, the related files of the same audio-video work are identified, and the network scraping requests of the related files are merged, thereby effectively reducing the number of network scraping request initiations, reducing the network transmission bandwidth occupation and server request pressure, and improving the response efficiency of the scraping request. At the same time, with the help of path information extraction metadata and the same work identification mechanism, the accuracy and relevance of audio-video file metadata acquisition can be ensured, the problems of resource waste and redundant data caused by repeated scraping are improved, the metadata management process of multiple audio-video files is simplified, and the efficiency and practicality of the overall audio-video file metadata processing are improved.

[0113] In some embodiments, the controller performs field extraction on the folder name and the audio-video file name to obtain the metadata fields of the audio-video file, and is configured to:

[0114] The audio-video file name is used as the current hierarchical object, and field extraction is performed on the current hierarchical object to obtain the metadata fields in the current hierarchical object.

[0115] The folder name of the previous hierarchical object of the current hierarchical object is used as the current hierarchical object, and the step of field extraction on the current hierarchical object is returned and continued to be executed until the current hierarchical object does not have a previous hierarchical folder name.

[0116] In this embodiment, the metadata information contained in each level of the storage path is fully mined by gradually tracing back the folder names from the last level to the upper level, improving the metadata omission problem caused by single-level extraction. At the same time, the tracing back extraction logic can fully utilize the path level structure semantics to maximize the extraction of scattered classification, year, technical parameter and other key information in non-standard named file paths, effectively solving the defects of insufficient data integration capability of the prior art, providing more comprehensive and complete metadata support for subsequent structured object construction and same audio and video work recognition, and further improving the comprehensiveness and accuracy of metadata processing in complex path and non-standard naming scenarios.

[0117] In some embodiments, the controller performs field extraction on the current level object to obtain metadata fields in the current level object, which is configured to:

[0118] Call the naming rule template corresponding to the type of the audio and video file to match the current level object, and obtain the metadata fields in the current level object if the matching is successful;

[0119] If the matching fails, clean up the invalid fields in the current level object based on a preset invalid field dictionary; and match the cleaned current level object based on a preset valid word dictionary to obtain the metadata fields in the current level object.

[0120] In some embodiments, the naming rule template can be a predefined regular template.

[0121] In some embodiments, the naming format of the movie resource file can be "[name] [year] [cut version] [release note] [resolution] [video encoding] [sound effect mode] [audio encoding] [release group name]". Correspondingly, the specific movie file name can be:

[0122] Earth 2019 Blu-ray Remux 1080p AVC Atmos TrueHD7.1-OB

[0123] Wherein, the name is Earth, the year is 2019, the cut version is Blu-ray, the release note is Remux, the resolution is 1080P, the video encoding is AVC, the sound effect mode is Atmos, the audio encoding is TrueHD7.1, and the release group name is OB.

[0124] In some embodiments, the naming format of the television series resource file can be "[Chinese name] [name] [year] [S**E**] [release note] [resolution] [source] [audio encoding] [video encoding] [release group name]". Correspondingly, the specific television series file name can be:

[0125] Moon Story S04E01 PROPER 720p HDTV x264-CTU

[0126] The Chinese title is "Moon Story," S04 indicates the fourth season, E01 indicates the episode number, and the release description is "PROPER," meaning an optimized version. The resolution is 720P, the source is HDTV, the video encoding is x264, and the release group is CTU.

[0127] Understandably, when the naming of audio and video files is known, metadata fields can be directly extracted using regular expression templates.

[0128] In some embodiments, the filename may also appear as follows:

[0129] XXXXX / TV series title XXXX / S02E01.mp4

[0130] XXXXX / TV series title XXXX / Season 1.mp4

[0131] XXXXX / TV series title XXXX / Season 01.mp4

[0132] XXXXX / TV series title XXXX / 1x02.mp4

[0133] XXXXX / TV series title XXXX / E01.mp4

[0134] XXXXX / TV series title XXXX / EP1.mp4

[0135] XXXXX / TV series title XXXX / pure numbers.mp4

[0136] XXXXX / TV series title XXXX / Episode X.mp4

[0137] XXXXX / TV series title XXXX / Season X, Episode XX.mp4

[0138] XXXXX / TV series title XXXX / Part IV.mp4

[0139] XXXXX / TV series title XXXX / E12.mp4

[0140] In some embodiments, the preset invalid field dictionary may include edited, abridged, repaired, or extended versions. In some embodiments, the preset valid word dictionary may include Simplified Chinese, audio tracks, bilingual, HD, Dolby, DTS, etc.

[0141] In the embodiment, by calling the naming rule template corresponding to the audio and video file type, the metadata field is quickly extracted by accurately matching the current hierarchical object, and the efficiency and accuracy of metadata extraction in the standard naming scenario are effectively improved. For the case of failed matching, the invalid fields in the current hierarchical object are first cleaned by means of the preset invalid field dictionary, and then the metadata field is extracted by secondary matching through the preset valid word dictionary, which can solve the problems of insufficient data integration capability when parsing the file name and difficulty in parsing the semantics of non-standard named file path, further expand the adaptation range of non-standard named and complex format files, improve the situation of metadata extraction omission or misjudgment caused by non-standard naming, and ensure the consistency and reliability of metadata field extraction in different naming scenarios, providing high-quality data support for subsequent identification of the same audio and video works and merging of network scraping requests, and optimizing the overall effect of audio and video file metadata processing.

[0142] In some embodiments, before the controller combines the metadata fields of the audio and video file to obtain the structured object of the audio and video file, it is further configured to:

[0143] In the case that multiple metadata fields of the same type are extracted and the multiple metadata fields of the same type are derived from different levels in the storage path, based on the level distance between the source level and the last level of the metadata field, the metadata field corresponding to the minimum level distance is retained in the multiple same metadata fields.

[0144] For example, when extracting the metadata field, multiple metadata fields of the name type are obtained. Among them, the content of one metadata field is "Earth", and the source level is the last level of the audio and video file name. And the content of another metadata field is "Globe", and the source level is the folder name of the third last level. It can be seen that the level distance between the source level and the last level of "Earth" is 0, and the level distance between the source level and the last level of "Globe" is 3. Therefore, the metadata field "Earth" corresponding to the minimum level distance can be retained, that is, the name of the audio and video can be determined as "Earth".

[0145] In some embodiments, if no valid content is extracted when extracting the metadata field of the name type, the metadata field of the name type can be directly supplemented first, such as being filled into the structured object first, and then the same type of metadata field is extracted, and the above processing mode based on the level distance can be used again.

[0146] In this embodiment, for the scenario that multiple same-type metadata fields may be extracted for different levels of storage paths, by taking the level distance between the source level of the metadata field and the last level (the level of the audio / video file name) as the basis for judgment, the metadata field corresponding to the minimum level distance is retained, which can accurately filter out metadata information with strong association with audio / video files and semantic fit, effectively improving the problems caused by metadata redundancy or judgment ambiguity caused by the coexistence of multiple levels of same-type fields. At the same time, this method does not require additional complex verification logic, and can achieve efficient deduplication and accurate filtering only by level distance, which not only guarantees the uniqueness and accuracy of the metadata field, but also provides high-quality data support for subsequent identification of the same audio / video work, merging of network scraping requests, and other processes, further optimizing the metadata processing effect in complex scenarios such as non-standard naming and multi-level paths, and improving the practicality and reliability of the overall technical solution.

[0147] In some embodiments, the metadata fields include audio / video titles and audio / video names; the controller performs identification based on the structured objects of the plurality of audio / video files, and is configured to:

[0148] In the case where the audio / video name and the audio / video type are the same between different structured objects, the corresponding different audio / video files are identified as related files of the same audio / video work.

[0149] For example, for the same scanning task, the structured object of the previously scanned audio / video file is obtained as A: {type: movie; name: earth; year: 2023; resolution: 4K; audio: Dolby; path: xxx} through the above process.

[0150] Then another video path is found in the process of continuing to perform scanning: / movie / 2023 / lost earth extended version Dolby 4K Blu-ray / bonus behind the scenes.mkv. The above process is performed on the corresponding audio / video file of the video path, and the structured object B: {type: movie; name: earth; year: 2023; resolution: null; audio: null; path: xxx} is obtained.

[0151] According to the above identification logic, because the name is "earth" and the type is "movie", it can be determined that the video file corresponding to structured object A and the video file corresponding to structured object B are related files of the same audio / video work.

[0152] In the embodiment, the audio and video name and the audio and video type are taken as the identification basis of the same audio and video work, and the consistency of the two fields in different structured objects is determined to identify the related files of the same work, which can effectively solve the misjudgment problem of the prior art to the multi-fragment files in the complex format of the Blu-ray disc, and avoid the repeated scraping caused by the misjudgment of the fragment files of the same work as independent files. At the same time, the identification method does not depend on complex additional verification logic, can quickly associate the audio and video files with non-standard naming but consistent core information, further improves the adaptability to the non-standard naming scene, lays a reliable foundation for subsequent merging of network scraping requests, reduces network dependence, improves scraping efficiency, and guarantees the association and efficiency of audio and video file metadata processing in multiple scenes.

[0153] In some embodiments, the controller performs scanning on a file directory where the audio and video files are stored to obtain a storage path of each of the plurality of audio and video files, and is configured to:

[0154] scanning a file directory where the audio and video files are stored to obtain an original path of each of the plurality of audio and video files;

[0155] cutting the redundant levels in the original path to obtain a storage path of each of the plurality of audio and video files, and the redundant levels at least include a device root directory level.

[0156] In some embodiments, the original path refers to the complete location address where the file is actually stored in the storage device (hard disk, USB flash disk, server, etc.), which can accurately locate the "root directory + each level of folder + file name (including suffix)" of the file.

[0157] For example, the original path can be "NAS / storage / movies / 2023 / Earth_Extended_Dolby_4K_Blu-ray / Earth_Repaired.mkv". Among them, "NAS" is the device root directory level, and it can be seen that the folder name of this level is redundant for the previous extraction process. In addition, it can also be seen that "storage" is also a redundant level. In actual implementation, the redundant level dictionary can be called to determine the redundant level.

[0158] In this embodiment, by pruning the redundant levels in the original path that at least contain the device root directory level, a simplified storage path is obtained, effectively eliminating path information irrelevant to audio and video file classification and attributes, reducing interference when extracting metadata fields from the path subsequently, and improving the efficiency and accuracy of field extraction. At the same time, the simplified storage path focuses more on the actual classification level and identification information of the audio and video file, which not only facilitates the parsing of the hierarchical structure semantics in the path, but also better adapts to the metadata extraction needs of non-standard named files, and provides clear and high correlation path data support for subsequent structured object construction and same audio and video work identification, further optimizing the smoothness and reliability of the overall audio and video file metadata processing flow.

[0159] The above is mainly to illustrate the display device, in an exemplary embodiment, a poster data scraping method is also provided, applied to the aforementioned display device. Referring to Figure 5 The method comprises:

[0160] 502, scanning the file directory where the audio and video files are stored to obtain the storage path of each audio and video file, the storage path comprising the folder name of the previous level and the audio and video file name of the last level;

[0161] 504, field extraction is performed on the folder name and the audio and video file name to obtain the metadata field of the audio and video file; the metadata field of the audio and video file is combined to obtain a structured object of the audio and video file;

[0162] 506, based on the structured object of each audio and video file, identification is performed, and in the case where the plurality of audio and video files are identified as related files of the same audio and video work, the network scraping requests of the plurality of audio and video files are merged to initiate a preset number of network scraping requests, the preset number being less than the number of the plurality of audio and video files.

[0163] In some embodiments, the field extraction on the folder name and the audio and video file name to obtain the metadata field of the audio and video file comprises:

[0164] The audio and video file name is taken as a current level object, field extraction is performed on the current level object to obtain the metadata field in the current level object;

[0165] The folder name of the previous level of the current level object is taken as the current level object, and the step of field extraction on the current level object is returned and continued to be executed until the current level object does not have the folder name of the previous level.

[0166] In some embodiments, the field extraction on the current level object to obtain the metadata field in the current level object comprises:

[0167] The type of the called audio and video file is matched with the naming rule template corresponding to the current hierarchical object, and in the case of successful matching, the metadata field in the current hierarchical object is obtained;

[0168] In the case of failed matching, the invalid field in the current hierarchical object is cleaned based on the preset invalid field dictionary, and the cleaned current hierarchical object is matched based on the preset valid word dictionary to obtain the metadata field in the current hierarchical object.

[0169] In some embodiments, before the metadata field of the audio and video file is combined to obtain the structured object of the audio and video file, the method further comprises:

[0170] In the case that multiple same metadata fields are extracted and the multiple same metadata fields are derived from different levels in the storage path, based on the level distance between the source level and the last level of the metadata field, the metadata field with the minimum level distance is reserved in the multiple same metadata fields.

[0171] In some embodiments, the overall interaction process of the above poster scratching process can refer to Figure 6 In some embodiments, the process of scanning the file directory where the audio and video file is stored can refer to Figure 7 .

[0172] Figure 7 The directory structure under the BDMV folder can be as follows:

[0173] ├── BDMV

[0174] │ ├── AUXDATA

[0175] │ ├── BACKUP

[0176] │ ├── BDJO

[0177] │ ├── CLIPINF

[0178] │ ├── JAR

[0179] │ ├── META

[0180] │ ├── PLAYLIST

[0181] │ ├── STREAM

[0182] │ ├── index.bdmv

[0183] │ └── MovieObject.bdmv

[0184] └── CERTIFICATE

[0185] If a directory structure contains a STREAM folder, an index.bdmv file, and a MovieObject.bdmv folder, then the directory structure can be considered a BDMV structure.

[0186] For example, the directory structure of other complex format A videos can be as follows:

[0187] ├─ index.bdmv

[0188] ├─ ProductProof

[0189] ├─ Publication Declare

[0190] │ publicationDeclare.json

[0191] │ publicationDeclare.cert

[0192] │ publicationDeclare.sig

[0193] ├─ Resource

[0194] │ ├── Earth.2017.2160p.mkv

[0195] │ ├──Earth.2017.2160p.md5

[0196] │ ├──Earth.nfo

[0197] │ ├──Poster1.png

[0198] │ ├──Poster2.png

[0199] │ ├── Highlights 1.mp4

[0200] │ ├── Trailer 1.mp4

[0201] If a directory structure contains an index.bdmv file, a ProductProof folder, a PublicationDeclare folder, and a Resource folder, then the directory structure can be considered to be in format A.

[0202] In some embodiments, the process of extracting metadata fields layer by layer, combining them to obtain structured objects, and then identifying multiple audio and video files as related files of the same audio and video work based on their respective structured objects can be referred to [reference needed]. Figure 8In some embodiments, when generating the poster data by scraping, the corresponding interactive control architecture can refer to Figure 9 .

[0203] Based on the same inventive concept, the embodiments of the present application also provide a poster data scraping device for implementing the poster data scraping method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more poster data scraping device embodiments provided below can refer to the limitations of the poster data scraping method described above, which will not be repeated here.

[0204] In an exemplary embodiment, as shown in Figure 10 , a poster data scraping device is provided, comprising: a scanning module 1002, a combination module 1004, and a merging module 1006, wherein:

[0205] The scanning module 1002 is configured to scan a file directory in which audio and video files are stored, and obtain a storage path of each of the audio and video files, the storage path comprising a folder name at a previous level and an audio and video file name at a last level;

[0206] The combination module 1004 is configured to extract a field of the folder name and the audio and video file name, and obtain a metadata field of the audio and video file; and combine the metadata field of the audio and video file to obtain a structured object of the audio and video file.

[0207] The merging module 1006 is configured to identify based on the structured object of each of the audio and video files, and in a case where the audio and video files are identified as related files of a same audio and video work, merge network scraping requests of the audio and video files to initiate a preset number of network scraping requests, the preset number being less than a number of the audio and video files.

[0208] In an exemplary embodiment, the combination module 1004 is specifically configured to take the audio and video file name as a current level object, extract a field of the current level object to obtain a metadata field in the current level object, take a folder name at a previous level of the current level object as a current level object, and return the step of extracting a field of the current level object and continue to execute until the current level object does not have a folder name at a previous level.

[0209] In an example embodiment, the combination module 1004 is specifically configured to call a naming rule template corresponding to a type of the audio and video file to match the current hierarchical object, and in a case of successful matching, obtain the metadata field in the current hierarchical object; in a case of failed matching, based on a preset invalid field dictionary, clean up the invalid field in the current hierarchical object; based on a preset valid word dictionary, match the cleaned current hierarchical object to obtain the metadata field in the current hierarchical object.

[0210] In an example embodiment, the combination module 1004 is further configured to, in a case of extracting a plurality of same metadata fields and the plurality of same metadata fields being derived from different levels in the storage path, based on a level distance between a source level and a last level of the metadata field, retain a metadata field corresponding to a minimum level distance in the plurality of same metadata fields.

[0211] The above various modules in the poster data scraping device can be implemented by software, hardware, or a combination thereof, in whole or in part. The above various modules can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to the above various modules.

[0212] In an example embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the possible implementation manners provided by the above various methods when executing the computer program.

[0213] In an example embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program is executed by a processor to implement the possible implementation manners provided by the above various methods.

[0214] In an example embodiment, a computer program product is provided, including a computer program, and the computer program is executed by a processor to implement the possible implementation manners provided by the above various methods.

[0215] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0216] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.

[0217] The above-described embodiments are merely illustrative of several embodiments of the present application, which are described in more detail and in a specific manner, but should not be construed as limiting the scope of the patent of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A display device, characterized in that, include: The display is configured to show images and / or a user interface; The controller is configured as follows: The file directory where the audio and video files are stored is scanned to obtain the storage paths of multiple audio and video files. The storage paths include the folder names at the previous level and the audio and video file names at the last level. Extract fields from the folder name and the audio / video file name to obtain the metadata fields of the audio / video file; The metadata fields of the audio and video files are combined to obtain a structured object of the audio and video files; Based on the structured objects of the multiple audio and video files, if the multiple audio and video files are identified as related files of the same audio and video work, the network scraping requests of the multiple audio and video files are merged to initiate a preset number of network scraping requests, the preset number being less than the number of the multiple audio and video files.

2. The display device according to claim 1, characterized in that, The controller performs field extraction on the folder name and the audio / video file name to obtain the metadata field of the audio / video file, which is configured as follows: The audio and video file names are used as the current level object. Fields are extracted from the current level object to obtain the metadata fields in the current level object. The parent folder name of the current level object is used as the current level object, and the steps for extracting fields from the current level object are returned and execution continues until the current level object does not have a parent folder name.

3. The display device according to claim 2, characterized in that, The controller performs field extraction on the current-level object to obtain the metadata fields in the current-level object, which are configured as follows: The naming rule template corresponding to the type of the audio / video file is called and matched with the current layer object. If the match is successful, the metadata field in the current layer object is obtained. In the event of a match failure, invalid fields in the current level object are cleaned based on a pre-defined invalid field dictionary. The current level object is matched with a pre-defined dictionary of valid words to obtain the metadata fields in the current level object.

4. The display device according to claim 1, characterized in that, Before the controller combines the metadata fields of the audio and video files to obtain the structured object of the audio and video files, it is also configured to: When multiple metadata fields of the same type are extracted and these multiple metadata fields originate from different levels in the storage path, the metadata field with the smallest level distance is retained among the multiple identical metadata fields based on the level distance between the source level and the last level of the metadata field.

5. The display device according to claim 1, characterized in that, The metadata fields include audio / video titles and audio / video names; the controller performs identification based on the structured objects of the multiple audio / video files, and is configured as follows: When different structured objects have the same audio and video names and types, the corresponding different audio and video files are identified as related files of the same audio and video work.

6. The display device according to claim 1, characterized in that, The controller performs a scan of the file directories where the audio and video files are stored, obtains the storage paths of the various audio and video files, and is configured as follows: Scan the directory where the audio and video files are stored to obtain the original paths of each audio and video file; By trimming redundant levels in the original path, storage paths for multiple audio and video files are obtained, wherein the redundant levels include at least the device root directory level.

7. A method for scraping poster data, characterized in that, Applied to the display device as described in any one of claims 1-6; The method includes: The file directory where the audio and video files are stored is scanned to obtain the storage paths of multiple audio and video files. The storage paths include the folder names at the previous level and the audio and video file names at the last level. Extract fields from the folder name and the audio / video file name to obtain the metadata fields of the audio / video file; combine the metadata fields of the audio / video file to obtain the structured object of the audio / video file; Based on the structured objects of the multiple audio and video files, if the multiple audio and video files are identified as related files of the same audio and video work, the network scraping requests of the multiple audio and video files are merged to initiate a preset number of network scraping requests, the preset number being less than the number of the multiple audio and video files.

8. The method according to claim 7, characterized in that, The step of extracting fields from the folder name and the audio / video file name to obtain the metadata fields of the audio / video files includes: The audio and video file names are used as the current level object. Fields are extracted from the current level object to obtain the metadata fields in the current level object. The parent folder name of the current level object is used as the current level object, and the steps for extracting fields from the current level object are returned and execution continues until the current level object does not have a parent folder name.

9. The method according to claim 8, characterized in that, The step of extracting fields from the current-level object to obtain the metadata fields in the current-level object includes: The naming rule template corresponding to the type of the audio / video file is called and matched with the current layer object. If the match is successful, the metadata field in the current layer object is obtained. In the event of a failed match, invalid fields in the current level object are cleaned based on a preset invalid field dictionary; the cleaned current level object is then matched based on a preset valid word dictionary to obtain the metadata fields in the current level object.

10. The method according to claim 7, characterized in that, Before combining the metadata fields of the audio and video files to obtain the structured object of the audio and video files, the method further includes: If multiple identical metadata fields are extracted and these fields originate from different levels in the storage path, the metadata field with the smallest level distance is retained among the multiple identical metadata fields based on the level distance between the source level and the last level of the metadata field.

Citation Information

Patent Citations

  • Data deduplication method and device and storage medium

    CN113973215A

  • Video playing control method and device, electronic device and storage medium

    CN115811631A

  • Movie and television play information collection method and device, electronic equipment and medium

    CN119576867A

  • Method and Device for Playing Media File While Switching Resolution in Webpage and Storage Medium

    US20200396504A1

  • Method and system for optimizing metadata of audio-video asset in television network

    WO2008052908A2