Display apparatus and poster data generation method

By scanning the audio and video file directory to obtain NFO files and combining them with network scraping, the metadata of audio and video files is integrated, solving the problems of high maintenance costs and poor stability of traditional poster scraping technology. This enables fast, accurate and complete acquisition of poster data, improving the user experience.

CN121509731APending Publication Date: 2026-02-10HISENSE VISUAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional poster scraping technology relies on the fixed data structure of websites, which is easily affected by page iterations and access restrictions, resulting in high maintenance costs and poor timeliness. Furthermore, fluctuations in the network environment lead to unstable poster data acquisition, making it difficult to meet user needs.

Method used

The system obtains NFO files by scanning the audio and video file directory, scrapes to obtain the first metadata, and initiates network scraping based on identity data to obtain the second metadata. It integrates media metadata by combining data selection strategies, leveraging the advantages of local and network data to ensure the accuracy and integrity of the data.

Benefits of technology

It enables rapid acquisition and efficient integration of poster data, improves user experience and functional reliability, reduces network request overhead, and ensures the authenticity and adaptability of metadata.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509731A_ABST
    Figure CN121509731A_ABST
Patent Text Reader

Abstract

The invention relates to a display device and a poster data generation method. The display apparatus includes: a display configured to display an image and / or a user interface; the controller is configured to perform scraping based on the NFO file to obtain first metadata of the audio and video file; based on the identity identification data of the audio and video file in the first metadata, initiating a data request for network scraping, and obtaining second metadata of the returned audio and video file; and under the condition that a difference exists between the first metadata and the second metadata, based on a data selection strategy, selecting based on the data difference existing between the first metadata and the second metadata, and obtaining media metadata obtained by integration based on a selection result. Due to the fact that the metadata can be rapidly obtained by means of local NFO file scraping, and richer and more comprehensive second metadata are supplemented through network scraping, the problem that data are incomplete possibly existing in single local scraping or network scraping is solved.
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 generation method. BACKGROUND

[0002] Traditional poster scraping is generally a common way to obtain poster data through network scraping technology, but this method has obvious technical defects: on the one hand, it relies on the fixed data structure and open access permission of the target network site, and if the site iterates the page, updates the interface or sets access restrictions, it is easy to cause the scraping rule to be invalid, and the rule needs to be adjusted frequently, which has high maintenance cost and poor timeliness; on the other hand, problems such as network environment fluctuation, lack of unpopular resource data or copyright restrictions will directly cause the poster scraping to fail, and it is difficult to stably obtain poster data, which cannot meet the reliable acquisition demand of users for movie resource posters. SUMMARY

[0003] Therefore, it is necessary to provide a display device and a poster data generation method which are convenient for users to operate in view of the above technical problems.

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

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

[0006] a controller configured to:

[0007] scrape based on an NFO file to obtain first metadata of an audio / video file, the NFO file being obtained by scanning a file directory in which the audio / video file is stored; initiate a data request for network scraping based on identity data of the audio / video file in the first metadata, and obtain second metadata of the audio / video file returned; in the case that there is a difference between the first metadata and the second metadata, select based on the data difference between the first metadata and the second metadata based on a data selection strategy, and obtain media metadata integrated based on the selection result.

[0008] The above technical solution has the following advantages or beneficial effects: By first scanning the audio and video file storage directory to obtain the NFO file and scraping it to obtain the first metadata, and then initiating network scraping based on the audio and video file identification data in the first metadata to obtain the second metadata, it not only achieves rapid acquisition of metadata by scraping the local NFO file, ensuring scraping efficiency and the accuracy of basic data, but also supplements the second metadata with richer and more comprehensive second metadata through network scraping, improving the data incompleteness problem that may exist with single local scraping or network scraping. At the same time, when there are differences between the first metadata and the second metadata, the data selection strategy is used to selectively select and integrate the differing data to obtain media metadata, effectively balancing the authenticity, completeness, and adaptability of the metadata. It can make full use of existing local data resources to reduce network request overhead, and optimize data quality by supplementing network data. Ultimately, it provides users with more accurate and comprehensive media metadata support, improving the user experience and functional reliability of subsequent media display, management, and other related operations.

[0009] In one embodiment, the controller performs scraping based on the NFO file to obtain the first metadata of the audio and video files, and is configured as follows:

[0010] The NFO file is parsed to obtain the first metadata of the audio and video files. If the parsing of the poster resource address of the audio and video files fails, a valid poster image resource is searched in the file directory where the NFO file is stored. If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata.

[0011] In one embodiment, the controller is configured to perform a query for valid poster image resources in the file directory where the NFO files are stored.

[0012] If the title of the audio / video file is successfully parsed during parsing, the title is combined with the preset image format suffix to obtain the first complete filename; in the current directory where the NFO file is stored and / or the parent directory of the current directory, a valid poster image resource corresponding to the first complete filename is searched; if no image is found, the common filename of the poster image is combined with the preset image format suffix to obtain the second complete filename; in the current directory where the NFO file is stored and / or the parent directory of the current directory, a valid poster image resource corresponding to the second complete filename is searched.

[0013] In one embodiment, the controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows:

[0014] If there is no audio / video rating in the first metadata, or if the value priority of the audio / video rating in the second metadata is higher than that of the audio / video rating in the first metadata, then the audio / video rating in the second metadata is selected; if there is an audio / video rating in the first metadata, and the value priority of the audio / video rating in the first metadata is higher than that of the audio / video rating in the second metadata, then the audio / video rating in the first metadata is selected.

[0015] In one embodiment, the controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows:

[0016] If only one of the first metadata or the second metadata contains a poster resource address, select the corresponding poster resource address. If both the first metadata and the second metadata contain poster resource addresses, obtain the first resolution of the valid poster image resource corresponding to the poster resource address in the first metadata and the second resolution of the valid poster image resource corresponding to the poster resource address in the second metadata. Based on the first resolution, the second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, select the poster resource address in the first metadata and the poster resource address in the second metadata.

[0017] In one embodiment, the controller performs a selection based on a first resolution, a second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, choosing a poster resource address from the first metadata and a poster resource address from the second metadata, configured as follows:

[0018] If the poster height represented by the first resolution is greater than the poster height represented by the second resolution, select the poster resource address from the first metadata; if the poster height represented by the second resolution is greater than the poster height represented by the first resolution, select the poster resource address from the second metadata; or...

[0019] Obtain the height carrying threshold determined based on the display height. If the poster height represented by the first resolution is greater than the height carrying threshold and the poster height represented by the second resolution is less than the height carrying threshold, select the poster resource address in the first metadata. If the poster height represented by the second resolution is greater than the height carrying threshold and the poster height represented by the first resolution is less than the height carrying threshold, select the poster resource address in the second metadata.

[0020] In one embodiment, the controller is further configured to:

[0021] In response to actions taken on the scraping settings page, set the type of audio / video files to be scraped and / or the priority between NFO scraping and network scraping.

[0022] In one embodiment, the controller is further configured to:

[0023] Based on media metadata, a poster page for audio and video files is displayed on the monitor. The poster page shows audio and video version information with the same title but different versions. In response to a trigger operation for the audio and video version information, a content collection of the corresponding version is displayed. The content collection is obtained through scraping. In response to a trigger operation for a content unit in the content collection, the corresponding content of the triggered content unit is played first, based on the locally stored audio and video files. If the corresponding audio and video files for the triggered content unit are not stored locally, the corresponding content of the triggered content unit is played based on the playback link obtained through scraping from the network.

[0024] Secondly, this application also provides a poster data generation method, applicable to display devices provided by various possible implementations of the first aspect, the method comprising:

[0025] The first metadata of the audio and video files is obtained by scraping the NFO file, which is obtained by scanning the file directory where the audio and video files are stored. Based on the identification data of the audio and video files in the first metadata, a data request for network scraping is initiated to obtain the second metadata of the returned audio and video files. If there is a difference between the first metadata and the second metadata, a data selection strategy is used to select based on the data differences between the first metadata and the second metadata to obtain the media metadata integrated based on the selection result.

[0026] In one embodiment, scraping is performed based on the NFO file to obtain the first metadata of the audio and video file, including:

[0027] The NFO file is parsed to obtain the first metadata of the audio and video files. If the parsing of the poster resource address of the audio and video files fails, a valid poster image resource is searched in the file directory where the NFO file is stored. If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application;

[0030] Figure 2 This is a schematic diagram of the hardware configuration of a display device provided in some embodiments of this application;

[0031] Figure 3 This is a schematic diagram of the hardware configuration of the control device provided in some embodiments of this application;

[0032] Figure 4 This is a schematic diagram of the software configuration of a display device provided in some embodiments of this application;

[0033] Figure 5 A schematic diagram of the scraping process in the related art provided for some embodiments of this application;

[0034] Figure 6 These are schematic diagrams illustrating the poster display effect provided for some embodiments of this application;

[0035] Figure 7 A schematic diagram of a UI interface for setting priority provided in some embodiments of this application;

[0036] Figure 8 This is a schematic diagram illustrating different versions of audio and video provided for some embodiments of this application;

[0037] Figure 9 A schematic diagram illustrating the collection of content provided for some embodiments of this application;

[0038] Figure 10 This application provides a schematic diagram of the interactive control architecture for some embodiments.

[0039] Figure 11 This is a schematic diagram of the overall interactive process of scraping implementation provided in some embodiments of this application;

[0040] Figure 12 A schematic diagram illustrating the process of initiating a scraping request provided for some embodiments of this application;

[0041] Figure 13 This is a schematic diagram illustrating the process of querying poster image files provided in some embodiments of this application;

[0042] Figure 14 A schematic diagram illustrating the process of integrating media metadata provided for some embodiments of this application;

[0043] Figure 15 This is a structural block diagram of a poster data generation apparatus provided in some embodiments of this application. Detailed Implementation

[0044] The embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described below do not represent all embodiments consistent with this application. They are merely examples of systems and methods consistent with some aspects of this application as detailed in the claims.

[0045] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0046] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0047] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

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

[0049] In this embodiment, display device 200 generally refers to a device with screen display and data processing capabilities. For example, display device 200 includes, but is not limited to, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, augmented reality devices, etc.

[0050] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application. For example... Figure 1 As 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.

[0051] 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.

[0052] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. The display device 200 can communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The display device 200 can provide broadcast television reception functionality and can also be additionally equipped with intelligent network television functionality that provides computer support, including but not limited to, internet television, smart television, and Internet Protocol television (IPTV).

[0053] Figure 2 Provided for some embodiments of this application Figure 1 The diagram shows the hardware configuration of the display device 200. In some embodiments, the display device 200 may include at least one of a tuner / demodulator 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. In some embodiments, the detector 230 is used to collect signals from the external environment or to interact with the external environment. For example, the detector 230 includes a light receiver, a sensor for collecting ambient light intensity; or, the detector 230 includes an image acquisition device, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures; or, the detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds. In some embodiments, the display 260 includes display function components for presenting images and driving components for driving image display. The display 260 is used to receive and display image signals output from the controller 250. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces, etc.

[0054] In some embodiments, the communication device 220 is a component used to communicate with external devices or the server 400 according to various communication protocol types. The display device 200 may have multiple communication devices 220 depending on the supported communication methods. For example, when the display device 200 supports wireless network communication, it may have a communication device 220 with WiFi functionality. When the display device 200 supports Bluetooth connectivity, it needs to have a communication device 220 with Bluetooth functionality.

[0055] The communication device 220 enables the display device 200 to communicate with external devices or the server 400 via wireless or wired connections. Wired connections utilize data cables, interfaces, or other components to connect the display device 200 to external devices. Wireless connections utilize wireless signals or wireless networks. The display device 200 can directly establish a connection with external devices or indirectly through gateways, routers, or other connection devices.

[0056] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0057] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

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

[0059] In some embodiments, the audio output device 270 can be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200. For the external audio output device connected to the display device 200, the display device 200 may also be provided with an external audio output terminal, through which the audio output device can be connected to the display device 200 to output sound from the display device 200.

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

[0061] Figure 3 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the central control device. (Example) Figure 3 As shown, the control device 100 may include: a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.

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

[0063] In some embodiments, the control device 100 may be an intelligent device. For example, the control device 100 may be equipped with various applications for controlling the display device 200 according to user needs.

[0064] In some embodiments, such as Figure 1 As shown, the mobile terminal 300 or other smart electronic devices can perform similar functions to the control device 100 after installing the application of the control display device 200.

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

[0066] Under the control of the controller 110, the communication interface 130 enables communication of control signals and data signals with the display device 200. The communication interface 130 may include at least one of other near-field communication modules such as WiFi chip 131, Bluetooth module 132, and NFC module 133.

[0067] User input / output interface 140, wherein the input interface includes at least one of other input interfaces such as microphone 141, touchpad 142, sensor 143, and button 144.

[0068] In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input / output interface 140. The control device 100 is configured with the communication interface 130, such as a WiFi, Bluetooth, or NFC module, which can encode user input commands via WiFi, Bluetooth, or NFC protocols and send them to the display device 200.

[0069] The memory 190 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller. The memory 190 can also store various control signal instructions input by the user.

[0070] The power supply 180 is used to provide operating power support for the various components of the control device 100 under the control of the controller.

[0071] In some embodiments, the display device 200 may run an operating system to enable user interaction. An operating system is a computer program that manages and controls the hardware and software resources of the display device 200. The operating system can (control the display device) provide a user interface, allowing users to interact with the display device 200 and supporting the running of various applications.

[0072] 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 that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for display devices.

[0073] An operating system can be divided into different modules or levels based on the functions it implements, for example... Figure 4 As shown, in some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the System Library layer, and the Kernel layer.

[0074] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run the applications and interact with the user based on the applications. The application layer may contain at least one application, which may be a built-in Windows program, system settings program, or clock program of the operating system; or it may be an application developed by a third-party developer. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0075] The framework layer provides application programming interfaces (APIs) and a programming framework for applications. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer. Through the API, applications can access system resources and obtain system services during execution.

[0076] like Figure 4As shown, the application framework layer in this embodiment includes a view system, managers, and content providers. The view system designs and implements the application's interface and interactions, and includes lists, grids, text boxes, and buttons. The managers include at least one of the following modules: an activity manager for interacting with all running activities in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0077] In some embodiments, the Activity Manager manages the lifecycle of individual applications and common navigation and back functions, such as controlling application exit, opening, and back actions. The Window Manager manages all window programs, such as obtaining the screen size, determining if a status bar is present, locking the screen, capturing the screen, and controlling changes to the display window, such as shrinking the display window, shaking the display, or distorting the display.

[0078] 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 contained in the system runtime library layer, such as the C / C++ instruction library, to implement the functions to be performed by the framework layer.

[0079] In some embodiments, the kernel layer is a functional layer situated between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management. For example, ... Figure 4 As shown, hardware drivers can be configured in the kernel layer. The kernel layer can contain 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 driver, etc.

[0080] It should be noted that the above examples are merely a simple division of operating system functions and do not limit the specific form of the operating system of the display device 200 in this application embodiment. Depending on the function of the display device, the type of operating system, and other factors, the number of levels and the specific level type of the operating system may be expressed in other forms.

[0081] Based on the preceding principle description, embodiments of this application provide a display device, including:

[0082] The display is configured to show images and / or a user interface;

[0083] The controller is configured as follows:

[0084] The first metadata of the audio and video files is obtained by scraping the NFO file, which is obtained by scanning the file directory where the audio and video files are stored. Based on the identification data of the audio and video files in the first metadata, a data request for network scraping is initiated to obtain the second metadata of the returned audio and video files. If there is a difference between the first metadata and the second metadata, a data selection strategy is used to select based on the data differences between the first metadata and the second metadata to obtain the media metadata integrated based on the selection result.

[0085] An NFO file is a text-based auxiliary configuration file that stores metadata of media resources (video / audio files). It is usually stored in the same directory as the corresponding media file (such as a video file), and the file name is consistent with the media file (only the suffix is ​​.nfo). Its core function is to provide structured data support for the information identification (i.e., "scraping") of media resources.

[0086] In some embodiments, the file directory can be a locally stored file directory, such as the file directory corresponding to the storage medium within the display device; it can also be a network storage file directory, such as the file directory corresponding to the storage medium within a cloud drive or local area network server; or it can be a file directory of external plug-in storage, such as the file directory corresponding to a USB flash drive or external hard drive. It is understood that some of the audio and video files in these file directories are downloaded by the user; unlike audio and video files played online, online apps or web pages already provide complete media metadata. The audio and video files in these file directories may typically lack media metadata, hence the need to obtain media metadata through scraping.

[0087] In some embodiments, the scraping process in the related art can be referred to Figure 5As can be seen, the application's UI allows for both NFO file scraping and network scraping. When scraping an NFO file, if the poster resource address cannot be resolved, the scraping is considered a failure. Similarly, when scraping from the network, if the poster resource address cannot be obtained, the scraping is also considered a failure. In these cases, obtaining more complete media metadata cannot be effectively guaranteed.

[0088] Therefore, in some embodiments, the NFO file can be scraped first, followed by network scraping. If there are differences between the first and second metadata obtained after the two scraping processes, selection is made from the differing data to obtain the integrated media metadata based on the selection result. This allows the data obtained from scraping the NFO file and the data obtained from network scraping to complement each other, resulting in more complete media metadata.

[0089] In some embodiments, network scraping can be performed first, followed by scraping of the NFO file, with the subsequent execution process being similar.

[0090] In some embodiments, before scraping based on NFO files, the file directory can be scanned to locate NFO files. The content format of the NFO file can be as follows:

[0091] <poster>xxx< / poster> Poster resource address field

[0092] <title>xxx< / title> Title and other fields

[0093] In some embodiments, the contents and interpretations of the NFO file can be referenced in Table 1 below:

[0094] Table 1

[0095] Field Type Description title String Main title overview String Brief description backdrop_path String Background poster path poster_path String Poster path directors Array Director list actors Array Actor list url String Media play link Rating float Rating Year int Release time Language String Language Show_type int Type

[0096] The table above primarily uses NFO files for movies and TV shows as an example. It shows data such as the movie / TV show title, synopsis, and director list. From this, we can obtain the primary metadata of the audio / video file.

[0097] In some embodiments, audio and video files can be either audio or video. In some embodiments, audio can be instrumental music or vocals. Therefore, the corresponding metadata can include music titles, descriptions, album art resource paths, artist lists, etc. In some embodiments, videos can be movies, short videos, or self-made videos, etc. In some embodiments, the identification data of audio and video files is mainly used to determine the identity of the audio and video, that is, to determine which specific audio and video it is. For example, the title, release year, and director list mentioned earlier can further pinpoint the specific movie or TV show even if there are multiple movies or TV shows with the same name (i.e., the same title). Therefore, the target can be clearly defined when initiating online scraping, reducing the possibility of incorrect scraping targets.

[0098] In some embodiments, the difference between the first metadata and the second metadata may be a difference between key attributes, such as poster resources, actor information, release date, film rating, etc. In some embodiments, the data selection strategy may be based on the value priority of the data and / or its suitability for poster display. In some embodiments, when there is a difference in film rating between the first metadata and the second metadata, selection may be based on the value priority of the film rating. In some embodiments, it is understood that there may also be identical data between the first metadata and the second metadata. Integrating the identical data with the previous selection results yields the media metadata.

[0099] The aforementioned display device first scans the audio and video file storage directory to obtain the NFO file and scrapes it to extract the first metadata. Then, based on the audio and video file identification data in the first metadata, it initiates network scraping to obtain the second metadata. This approach achieves rapid metadata acquisition by utilizing local NFO file scraping, ensuring scraping efficiency and the accuracy of basic data. Furthermore, network scraping supplements the second metadata with richer and more comprehensive data, mitigating the potential data incompleteness issues that may arise from either local or network scraping alone. Simultaneously, when discrepancies exist between the first and second metadata, a data selection strategy is used to selectively choose and integrate the differing data to obtain media metadata. This effectively balances the authenticity, completeness, and adaptability of the metadata. It fully utilizes existing local data resources to reduce network request overhead while optimizing data quality through network data supplementation. Ultimately, this provides users with more accurate and comprehensive media metadata support, enhancing the user experience and functional reliability of subsequent media display, management, and other related operations.

[0100] In some embodiments, the controller performs scraping based on the NFO file to obtain the first metadata of the audio and video files, and is configured as follows:

[0101] The NFO file is parsed to obtain the first metadata of the audio and video files. If the parsing of the poster resource address of the audio and video files fails, a valid poster image resource is searched in the file directory where the NFO file is stored. If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata.

[0102] In some embodiments, the directory where the NFO file is stored can be the current directory or a parent directory of the current directory. In some embodiments, the parent directory can be the parent directory at the previous level or multiple parent directories above it. In some embodiments, if the poster resource address resolution fails, it may be because the corresponding field of the poster resource address in the NFO file is empty, or because the field content does not conform to the format of the poster resource address. In some embodiments, when querying for valid poster image resources in the directory where the NFO file is stored, the query can be based on the image format suffix, such as querying for jpg or bmp format files. In some embodiments, when converting the storage address of the queried valid poster image resources into the poster resource address in the first metadata, the storage address can be directly used as the poster resource address.

[0103] In this embodiment, based on parsing the NFO file to obtain the first metadata of the audio and video files, to address the potential issue of poster resource address parsing failure during the parsing process, valid poster image resources in the NFO file storage directory are automatically queried, and their storage addresses are converted into poster resource addresses in the first metadata. This effectively improves the problem of missing poster resources caused by relying solely on NFO file parsing, ensuring the integrity and validity of poster information in the first metadata. Users do not need to manually supplement poster resources or perform scraping operations again, which not only improves the fault tolerance and reliability of metadata acquisition, but also reduces the user's additional operating costs. At the same time, it ensures that subsequent media display functions (such as poster wall display) can present poster information normally, thereby optimizing the user's browsing and management experience of media resources.

[0104] In some embodiments, the controller is configured to query valid poster image resources in the file directory where the NFO files are stored.

[0105] If the title of the audio / video file is successfully parsed during parsing, the title is combined with the preset image format suffix to obtain the first complete filename; in the current directory where the NFO file is stored and / or the parent directory of the current directory, a valid poster image resource corresponding to the first complete filename is searched; if no image is found, the common filename of the poster image is combined with the preset image format suffix to obtain the second complete filename; in the current directory where the NFO file is stored and / or the parent directory of the current directory, a valid poster image resource corresponding to the second complete filename is searched.

[0106] In some embodiments, the filenames of most poster image resources are typically related to the titles of audio and video files. For example, if a movie or TV show is titled "A," a poster image resource, such as "A-poster.jpg," is usually included in the same directory when the movie or TV show is downloaded. As mentioned earlier, image formats can have various suffixes, such as jpg and bmp. Therefore, combining the title with various suffixes can yield multiple first complete filenames. In some embodiments, the integration method can be to directly concatenate the title as a prefix with the suffix to obtain the first complete filename.

[0107] In some embodiments, the wildcard .[ext] of the image format suffix can be used to integrate with the title, thus not being limited to image format suffixes such as "jpg", "jpeg", "png", "webp", "gif", or "bmp", to perform multiple searches in the file directory with the same prefix but different suffixes. In some embodiments, if no corresponding valid poster image resource is found based on the first complete filename, a generic filename can be integrated with a preset image format suffix. The generic filename can carry characteristics that clearly indicate the image file is a poster image resource. For example, the generic filename can be "poster," and by translation, the meaning of the poster can be clearly understood, thus indicating that the corresponding image file is highly likely to be a poster image resource.

[0108] In this embodiment, assuming successful parsing of the audio / video file title, a first complete filename is generated by integrating the title with a preset image format suffix. This filename is then used to search for matching valid poster image resources in the corresponding directory of the NFO file and its parent directories. This fully utilizes the already parsed, accurate title information to improve the targeting and efficiency of the poster search. If no matching resource is found, a second complete filename is generated by integrating the poster's generic filename with a preset image format suffix. A second search is then performed within the same directory range, further broadening the search coverage of poster resources. This effectively improves the problem of missing poster resources that may occur with a single search method. It ensures both the comprehensiveness and flexibility of poster resource acquisition without relying on additional network requests or manual user intervention, reducing operational costs and resource overhead. This ensures the integrity of the poster information in the first metadata, providing reliable support for the normal presentation of subsequent media display functions, thereby optimizing the user's browsing experience of media resources.

[0109] In some embodiments, the controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows:

[0110] If there is no audio / video rating in the first metadata, or if the value priority of the audio / video rating in the second metadata is higher than that of the audio / video rating in the first metadata, then the audio / video rating in the second metadata is selected; if there is an audio / video rating in the first metadata, and the value priority of the audio / video rating in the first metadata is higher than that of the audio / video rating in the second metadata, then the audio / video rating in the first metadata is selected.

[0111] In some embodiments, audio / video ratings may refer to user-aggregated ratings provided by online audio / video streaming platforms or information collection platforms. For example, film ratings on cinema platforms. The absence of an audio / video rating in the first metadata indicates that scraping the NFO file failed to yield a rating. If the value priority of the audio / video rating in the second metadata is higher than that in the first metadata, or vice versa, it means that both online scraping and scraping the NFO file yielded an audio / video rating. In this case, a selection needs to be made, prioritizing the rating with the higher value priority.

[0112] In some embodiments, value priority can be determined by a score. A score greater than a preset threshold indicates a higher value priority, and vice versa. In some embodiments, the maximum score is 10 points, and the preset threshold can be 7 points. A score of 7 or higher is generally considered to be of a "good / excellent" level, effectively distinguishing between "high-quality resources" and "ordinary / inferior resources," making it relatively more reliable.

[0113] In this embodiment, by using the value priority determination rules of audio and video ratings in the first and second metadata, when no audio or video ratings exist in the first metadata, the ratings in the second metadata are automatically selected to fill the data gap, ensuring the completeness of the rating information. When ratings exist in both, the more credible and suitable rating result is selected based on priority. This improves the problem of missing ratings or poor rating quality caused by relying solely on one type of metadata. It makes full use of rating data resources from different sources, and the reliability and accuracy of the rating information are guaranteed by priority determination. Users do not need to manually filter or supplement ratings, reducing user operation costs. At the same time, it provides high-quality data support for subsequent rating-based resource filtering, recommendation and other functions, further optimizing the user's experience in filtering and using media resources.

[0114] In some embodiments, the controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows:

[0115] If only one of the first metadata or the second metadata contains a poster resource address, select the corresponding poster resource address. If both the first metadata and the second metadata contain poster resource addresses, obtain the first resolution of the valid poster image resource corresponding to the poster resource address in the first metadata and the second resolution of the valid poster image resource corresponding to the poster resource address in the second metadata. Based on the first resolution, the second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, select the poster resource address in the first metadata and the poster resource address in the second metadata.

[0116] In some embodiments, if only one of the first or second metadata items includes a poster resource address, the poster resource address obtained through scraping is used directly. In some embodiments, if both NFO file scraping and network scraping can obtain poster resource addresses, a choice can be made between the poster resource addresses obtained from both. In some embodiments, the selection method can be to directly select a valid poster image resource with a higher resolution, such as selecting a valid poster image resource with a larger size parameter in the height direction, or selecting a valid poster image resource with a larger size parameter in the width direction. In some embodiments, the poster resource address can also be selected based on the layout mode of the poster wall (single-column / multi-column / adaptive) and the aspect ratio (the upper limit of the load capacity in the height and / or width directions) of the preset display area. The selection criterion can be to prioritize filling the target area with posters without cropping key content, while taking into account visual unity and image integrity.

[0117] In this embodiment, a differentiated selection logic is used to handle the different situations where poster resource addresses exist in the first and second metadata. When only a single metadata element contains a poster resource address, that address is directly selected to ensure no poster information is missing. When both metadata elements exist, the actual resolution of the corresponding poster image is obtained, and the selection is performed based on the display's maximum height and / or width capacity when displaying the poster wall. This avoids the problem of missing poster resources due to reliance on a single source, and accurately matches the display's capabilities, selecting poster resources with resolutions that fit the display's capacity. This effectively prevents loading stutters and display abnormalities caused by poster resolutions exceeding the display's capacity, or blurring and distortion caused by resolutions that are too low, thus balancing the completeness of poster resource acquisition with display adaptability. Furthermore, since no manual user intervention is required, operational costs are reduced, while ensuring the clarity and visual effect of the poster wall display, further optimizing the user's browsing experience.

[0118] In some embodiments, the controller performs a selection based on the first resolution, the second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, choosing between the poster resource address in the first metadata and the poster resource address in the second metadata, configured as follows:

[0119] If the poster height represented by the first resolution is greater than the poster height represented by the second resolution, select the poster resource address from the first metadata; if the poster height represented by the second resolution is greater than the poster height represented by the first resolution, select the poster resource address from the second metadata; or...

[0120] Obtain the height carrying threshold determined based on the display height. If the poster height represented by the first resolution is greater than the height carrying threshold and the poster height represented by the second resolution is less than the height carrying threshold, select the poster resource address in the first metadata. If the poster height represented by the second resolution is greater than the height carrying threshold and the poster height represented by the first resolution is less than the height carrying threshold, select the poster resource address in the second metadata.

[0121] In some embodiments, without considering the display's maximum height and / or width capacity when displaying a poster wall, the poster resource address corresponding to the higher resolution poster image resource can be directly selected. In some embodiments, considering the display's maximum height and / or width capacity when displaying a poster wall, a threshold value for the percentage of screen height occupied by the poster image display height can be set first, such as 0.85. Multiplying this percentage threshold by the display height yields the height capacity threshold. Since poster images can be scaled, the poster resource address corresponding to the poster image resource whose resolution indicates a poster height greater than the height capacity threshold can be preferentially selected. The reason for not selecting the poster resource address corresponding to the poster image resource whose resolution indicates a poster height less than the height capacity threshold is that this may result in blurry poster display on the poster wall.

[0122] In some embodiments, the poster image is displayed at the height of the screen display, and the corresponding display effect can be referred to as follows. Figure 6 As shown.

[0123] This embodiment provides two poster resource address selection logics. One logic directly compares the poster heights represented by the first and second resolutions, prioritizing the poster resource address with the higher height. This ensures the poster's display effect and image integrity in the height dimension, adapting to vertical display needs or poster wall layouts with height requirements. The other logic determines a height carrying capacity threshold based on the monitor height. When any poster height exceeds the threshold, the poster resource address exceeding the threshold is prioritized. This fully utilizes the monitor's height carrying capacity while avoiding excessive vertical blank space due to insufficient poster height, ensuring maximum clarity of the poster on the monitor. Both selection logics precisely match poster size with monitor carrying capacity, eliminating the need for manual user selection. This improves the targeting and adaptability of poster resource selection, avoids visual defects caused by mismatch between poster height and monitor, ensures the clarity, fullness, and visual unity of the poster wall display, and further optimizes the user's browsing experience.

[0124] In some embodiments, the controller is further configured to:

[0125] In response to actions taken on the scraping settings page, set the type of audio / video files to be scraped and / or the priority between NFO scraping and network scraping.

[0126] In some embodiments, the UI interface for setting priority may refer to... Figure 7 .exist Figure 7 In this context, "Content Includes" primarily determines the type of audio and video files being scraped; "Priority Source" sets the priority between NFO scraping and network scraping.

[0127] In this embodiment, users can actively configure the types of audio and video files to be scraped and the priority of NFO scraping versus network scraping through the scraping settings page. This satisfies users' precise scraping needs for specific types of audio and video files (such as scraping only movie / TV series files), avoiding irrelevant files from occupying scraping resources and affecting efficiency. It also allows users to choose the scraping method priority according to their actual usage scenarios (such as prioritizing NFO scraping when there is no network, or prioritizing network scraping when comprehensive data is desired), improving the personalization and adaptability of the scraping function. It eliminates the need for the system to force the scraping of all files or a fixed scraping order by default, reducing unnecessary scraping overhead and invalid data acquisition. It also lowers the cost for users to adjust the scraping results, making the scraping process more aligned with actual user needs. This improves the efficiency and accuracy of media metadata acquisition and optimizes the overall scraping experience.

[0128] In some embodiments, the controller is further configured to:

[0129] The controller is also configured as follows:

[0130] Based on media metadata, a poster page for audio and video files is displayed on the monitor. The poster page shows audio and video version information with the same title but different versions. In response to a trigger operation for the audio and video version information, a content collection of the corresponding version is displayed. The content collection is obtained through scraping. In response to a trigger operation for a content unit in the content collection, the corresponding content of the triggered content unit is played first, based on the locally stored audio and video files. If the corresponding audio and video files for the triggered content unit are not stored locally, the corresponding content of the triggered content unit is played based on the playback link obtained through scraping from the network.

[0131] In some embodiments, audio and video version information with the same title but different versions displayed on the poster page can be as follows: Figure 8 As shown. In Figure 8 The image shows three audio / video versions, all titled "A" but with different versions. These different versions could also be obtained through scraping. In some embodiments, a content unit can refer to the smallest content segment in an audio / video file that possesses independent function, complete semantics, or well-defined boundaries, and is a fundamental component of a complete audio / video file. For example, for audio, a content unit could be each song in a music album. For video, such as a TV series, a content unit could be each episode.

[0132] In some embodiments, displaying the content collection of the corresponding version can be as follows: Figure 9 As shown. It should be noted that in actual implementation, the locally stored video files may only contain "Episode 1" and "Episode 2". However, in the display... Figure 9In the case of the number of episodes shown, it can display not only the list of episodes from locally stored video files, but also a combined list of episodes obtained through network scraping. Figure 9 The page shown includes episode numbers such as "Episode 3". In some embodiments, a content collection refers to a collection of multiple audio and video content units that are related in theme and of the same type, integrated according to a preset logic (such as series association or theme classification), which is a structured aggregation of scattered content units.

[0133] In some embodiments, the triggering operation for a content unit within a content collection can be a click operation. In this case, the audio and video files corresponding to the content unit stored locally are played first. If they are not stored locally, online playback can be performed based on the playback links obtained from Table 1.

[0134] In this embodiment, audio and video versions with the same title but different versions are first displayed centrally on a poster page, allowing users to intuitively understand the diverse content options under the same theme and reducing the operational cost of searching for different versions. After a user triggers the target version, the corresponding content collection obtained through scraping is directly displayed, achieving a seamless connection between version selection and collection access, improving content search efficiency. During playback, locally stored audio and video files are prioritized for playback of the corresponding content unit, ensuring smooth and stable playback and avoiding issues such as stuttering and loading failures caused by network dependencies. When no corresponding file is available locally, playback is automatically completed through a playback link obtained through network scraping, ensuring the integrity and continuity of content access without requiring users to manually switch playback methods. The entire process, from version display and collection access to content playback, forms a closed loop, taking into account users' personalized needs for different versions of content, and balancing playback experience and content coverage through the playback logic of prioritizing local and supplementing with network, thus optimizing the entire process of users searching for, selecting, and playing audio and video content.

[0135] The above mainly describes the display device. In an exemplary embodiment, a poster data generation method is also provided, applied to the aforementioned display device. The corresponding interactive control architecture of this method can be found here. Figure 10 .

[0136] exist Figure 10 The scraping module manages media scanning, NFO scraping, network scraping, and local poster data querying. Media scanning scans media files in a media directory to obtain specific media title files. NFO scraping scans for NFO files attached to media files. Network scraping, based on media titles and other information, retrieves a list of media attribute values ​​via network requests, as detailed in Table 1 above. Local poster data querying checks if posters or other local files exist in the same directory as the media file.

[0137] The scraping UI includes a scraping control interface and a scraping data UI display. The scraping control interface displays options such as scraping priority and path. The scraping data UI displays the scraping results for different file directories.

[0138] The scraping data is used to obtain scraping attribute values ​​through the aforementioned scraping methods. The data is analyzed, prioritizing the existence of attributes such as posters. If these attributes are not found, local poster file queries and parsing are performed to maximize the display of poster attributes. The scraping module management provides UI interfaces for scraping management, enabling scraping tasks, data processing, and data feedback.

[0139] The overall interaction process for scraping can be referenced. Figure 11 Specifically, the Film and Television Space Management function initiates media data scraping requests to the "Poster Wall Scraping" function based on the user's scraping path and scraping priority. The Poster Wall Scraping function then initiates a request to "Device Management" to query the media file list based on the user's selected scraping path. Device Management is used to perform the file list query and return the obtained file list to the "Poster Wall Scraping" function. Depending on the user's selected priority, data requests for network scraping can be initiated to either the NFO or the network; for details, please refer to [link / reference]. Figure 12 .

[0140] In scenarios prioritizing NFO scraping, the `nfoPath` is obtained based on the scanned NFO file. The `nfoPath` provides the corresponding NFO file for data parsing. Specifically, it first parses the poster's URL and title, represented as `poster_url` and `title`. If parsing the poster's URL fails, it checks if the parent directory of this NFO file contains a poster image file with the same name and title. If title parsing fails, this NFO data parsing is ignored. If the title is obtained, following the previous implementation process, the title is combined with the image format extension, and the resulting filename is used to search for the corresponding image file in the directory. If still not found, a common filename and image format extension can be combined, and the resulting filename is used to search for the corresponding image file in the directory. For details, please refer to [link to relevant documentation]. Figure 13 .

[0141] As mentioned earlier, if there are discrepancies between the data obtained from NFO scraping and network scraping, a selection can be made, and the media metadata can be obtained by integrating the selected data. For details on this process, please refer to [link / reference needed]. Figure 14Based on the above, the method specifically includes: scraping the NFO file to obtain the first metadata of the audio and video file, wherein the NFO file is obtained by scanning the file directory where the audio and video file is stored; initiating a data request for network scraping based on the identity data of the audio and video file in the first metadata to obtain the returned second metadata of the audio and video file; in the case of differences between the first metadata and the second metadata, selecting based on the data differences between the first metadata and the second metadata according to a data selection strategy to obtain the media metadata integrated based on the selection result.

[0142] In some embodiments, scraping based on an NFO file to obtain the first metadata of an audio / video file includes: parsing the NFO file to obtain the first metadata of the audio / video file;

[0143] If the resolution of the poster resource address of the audio / video file fails during parsing, search for valid poster image resources in the file directory where the NFO file is stored.

[0144] If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata.

[0145] Based on the same inventive concept, this application also provides a poster data generation apparatus for implementing the poster data generation method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more embodiments of the poster data generation apparatus provided below can be found in the limitations of the poster data generation method described above, and will not be repeated here.

[0146] In one exemplary embodiment, such as Figure 15 As shown, a poster data generation device is provided, including: a first acquisition module 1502, a second acquisition module 1504, and an integration module 1506, wherein:

[0147] The first acquisition module 1502 is used to scrape the NFO file to obtain the first metadata of the audio and video file. The NFO file is obtained by scanning the file directory where the audio and video file is stored.

[0148] The second acquisition module 1504 is used to initiate a data request for network scraping based on the identity identification data of the audio and video files in the first metadata, and obtain the second metadata of the returned audio and video files;

[0149] Integration module 1506 is used to select based on the data differences between the first metadata and the second metadata when there are differences between them, and to obtain the integrated media metadata based on the selection results.

[0150] In an exemplary embodiment, the first acquisition module 1502 is specifically used to parse the NFO file to obtain the first metadata of the audio and video file; if the parsing of the poster resource address of the audio and video file fails, it queries the file directory where the NFO file is stored for valid poster image resources; if valid poster image resources are found, it converts the storage address of the found valid poster image resources into the poster resource address in the first metadata.

[0151] In an exemplary embodiment, the first acquisition module 1502 is specifically configured to, if the title of the audio / video file is successfully parsed during parsing, integrate the title with a preset image format suffix to obtain a first complete filename; query the current directory where the NFO file is stored and / or the parent directory of the current directory for valid poster image resources corresponding to the first complete filename; if no such resource is found, integrate the common filename of the poster image with a preset image format suffix to obtain a second complete filename; and query the current directory where the NFO file is stored and / or the parent directory of the current directory for valid poster image resources corresponding to the second complete filename.

[0152] In an exemplary embodiment, the integration module 1506 is specifically used to select the audio and video score in the second metadata when there is no audio and video score in the first metadata or when the value priority of the audio and video score in the second metadata is higher than the value priority of the audio and video score in the first metadata; and to select the audio and video score in the first metadata when there is an audio and video score in the first metadata and the value priority of the audio and video score in the first metadata is higher than the value priority of the audio and video score in the second metadata.

[0153] In an exemplary embodiment, the integration module 1506 is specifically configured to: select the poster resource address included if only one of the first metadata or the second metadata contains a poster resource address; if poster resource addresses exist in both the first metadata and the second metadata, obtain the first resolution of the valid poster image resource corresponding to the poster resource address in the first metadata and the second resolution of the valid poster image resource corresponding to the poster resource address in the second metadata; and select the poster resource address in the first metadata and the poster resource address in the second metadata based on the first resolution, the second resolution, and the upper limit of the display's capacity in the height and / or width directions when displaying the poster wall.

[0154] In an exemplary embodiment, the integration module 1506 is specifically configured to select the poster resource address in the first metadata when the poster height represented by the first resolution is greater than the poster height represented by the second resolution; and to select the poster resource address in the second metadata when the poster height represented by the second resolution is greater than the poster height represented by the first resolution.

[0155] Alternatively, obtain the height carrying threshold determined based on the display height. If the poster height represented by the first resolution is greater than the height carrying threshold and the poster height represented by the second resolution is less than the height carrying threshold, select the poster resource address in the first metadata. If the poster height represented by the second resolution is greater than the height carrying threshold and the poster height represented by the first resolution is less than the height carrying threshold, select the poster resource address in the second metadata.

[0156] In one exemplary embodiment, the integration module 1506 is further configured to, in response to an operation on the scraping settings page, set the type of audio / video file to be scraped and / or the priority between NFO scraping and network scraping.

[0157] In an exemplary embodiment, the integration module 1506 is further configured to display a poster page of audio and video files on a display based on media metadata, the poster page displaying audio and video version information with the same title but different versions; in response to a trigger operation on the audio and video version information, displaying a content collection of the corresponding version, the content collection being obtained through scraping; in response to a trigger operation on a content unit in the content collection, prioritizing the playback of the corresponding content of the triggered content unit based on locally stored audio and video files; and if the corresponding audio and video files of the triggered content unit are not stored locally, playing the corresponding content of the triggered content unit based on a playback link obtained through network scraping.

[0158] Each module in the aforementioned poster data generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0159] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the possible implementations provided by the various methods described above.

[0160] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the possible implementations provided by the methods described above.

[0161] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the possible implementations provided by the methods described above.

[0162] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0163] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0164] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by 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 first metadata of the audio and video files is obtained by scraping the NFO file, which is obtained by scanning the file directory where the audio and video files are stored. Based on the identity data of the audio and video files in the first metadata, a data request for network scraping is initiated to obtain the second metadata of the returned audio and video files; In the event of a difference between the first metadata and the second metadata, a selection is made based on the data difference between the first metadata and the second metadata according to a data selection strategy, and media metadata integrated based on the selection result is obtained.

2. The display device according to claim 1, characterized in that, The controller performs scraping based on the NFO file to obtain the first metadata of the audio and video files, and is configured as follows: Parse the NFO file to obtain the first metadata of the audio and video files; If the resolution of the poster resource address of the audio / video file fails during parsing, a valid poster image resource is searched in the file directory where the NFO file is stored. If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata.

3. The display device according to claim 2, characterized in that, The controller is configured to query valid poster image resources in the file directory where the NFO files are stored. If the title of the audio / video file is successfully parsed during the parsing process, the title is combined with the preset image format suffix to obtain the first complete file name; In the current directory where the NFO file is stored and / or in the parent directory of the current directory, query the valid poster image resources corresponding to the first complete file name; If no image is found, the generic file name of the poster image is combined with the default image format extension to obtain a second complete file name; In the current directory where the NFO file is stored and / or in the parent directory of the current directory, search for valid poster image resources corresponding to the second complete file name.

4. The display device according to claim 1, characterized in that, The controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows: If there is no audio / video score in the first metadata, or if the value priority of the audio / video score in the second metadata is higher than the value priority of the audio / video score in the first metadata, then the audio / video score in the second metadata shall be selected. If an audio / video score exists in the first metadata and the value priority of the audio / video score in the first metadata is higher than the value priority of the audio / video score in the second metadata, then the audio / video score in the first metadata shall be selected.

5. The display device according to claim 1, characterized in that, The controller executes a data selection strategy, selecting based on the data differences between the first metadata and the second metadata, and is configured as follows: If only one item in the first metadata or the second metadata contains a poster resource address, select the corresponding poster resource address. If a poster resource address exists in both the first metadata and the second metadata, obtain the first resolution of the valid poster image resource corresponding to the poster resource address in the first metadata and the second resolution of the valid poster image resource corresponding to the poster resource address in the second metadata; Based on the first resolution, the second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, the poster resource addresses in the first metadata and the second metadata are selected.

6. The display device according to claim 5, characterized in that, The controller, based on the first resolution, the second resolution, and the display's maximum capacity in the height and / or width directions when displaying the poster wall, selects from the poster resource addresses in the first metadata and the second metadata, and is configured as follows: If the poster height represented by the first resolution is greater than the poster height represented by the second resolution, select the poster resource address in the first metadata. If the poster height represented by the second resolution is greater than the poster height represented by the first resolution, select the poster resource address in the second metadata. or, Obtain the height carrying threshold determined based on the height of the display. If the poster height represented by the first resolution is greater than the height carrying threshold and the poster height represented by the second resolution is less than the height carrying threshold, select the poster resource address in the first metadata. If the poster height represented by the second resolution is greater than the height carrying threshold, and the poster height represented by the first resolution is less than the height carrying threshold, then the poster resource address in the second metadata is selected.

7. The display device according to any one of claims 1 to 6, characterized in that, The controller is also configured to: In response to actions taken on the scraping settings page, set the type of audio / video files to be scraped and / or the priority between NFO scraping and network scraping.

8. The display device according to any one of claims 1 to 6, characterized in that, The controller is also configured to: Based on the media metadata, a poster page for the audio and video file is displayed on the monitor. The poster page displays audio and video version information with the same title but different versions. In response to a trigger operation on the audio / video version information, a content collection for the corresponding version is displayed, the content collection being obtained through scraping; In response to a trigger operation on a content unit in the content collection, the corresponding content of the triggered content unit is played based on locally stored audio and video files. If the audio or video file corresponding to the triggered content unit is not stored locally, the content corresponding to the triggered content unit is played based on the playback link obtained through network scraping.

9. A method for generating poster data, characterized in that, Applied to the display device as described in any one of claims 1-8; The method includes: The first metadata of the audio and video files is obtained by scraping the NFO file, which is obtained by scanning the file directory where the audio and video files are stored. Based on the identity data of the audio and video files in the first metadata, a data request for network scraping is initiated to obtain the second metadata of the returned audio and video files; In the event of a difference between the first metadata and the second metadata, a selection is made based on the data difference between the first metadata and the second metadata according to a data selection strategy, and media metadata integrated based on the selection result is obtained.

10. The method according to claim 9, characterized in that, The scraping process based on the NFO file to obtain the first metadata of the audio and video file includes: Parse the NFO file to obtain the first metadata of the audio and video files; If the resolution of the poster resource address of the audio / video file fails during parsing, a valid poster image resource is searched in the file directory where the NFO file is stored. If a valid poster image resource is found, the storage address of the found valid poster image resource is converted into the poster resource address in the first metadata.

Citation Information

Patent Citations

  • Method and system for MRIS platinum database

    US20030055747A1

  • Display device and playback record display method for display device

    WO2025086843A1