Display device and scraping method

By automatically prompting users on the display device and performing scraping in the background, the problem of cumbersome file operations on external storage devices is solved, simplifying the user operation process and improving the user experience.

CN122019042APending Publication Date: 2026-05-12HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HISENSE VISUAL TECH CO LTD
Filing Date
2026-02-11
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, scraping files from external storage devices is a cumbersome process that results in a poor user experience.

Method used

A display device and scraping method are provided. By listening for the access of an external storage device, a prompt message is automatically displayed and the user is allowed to directly trigger the scraping operation. The scraping process is performed in the background and a brief message is displayed in the foreground or the user is redirected to the scraping management interface, thus simplifying the operation process.

Benefits of technology

This allows users to perform scraping tasks automatically without having to manually search for the scraping function entry point, without interrupting the user's immersive experience, simplifying the operation process, and reducing waiting time and network resource pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122019042A_ABST
    Figure CN122019042A_ABST
Patent Text Reader

Abstract

The invention relates to a display device and a scraping method. The display apparatus includes: a display configured to display an image and / or a user interface; the controller is configured to display prompt information for prompting that the external storage device is accessed under the condition that the external storage device is monitored to be accessed; in response to a scraping triggering operation triggered based on the prompt information, executing background scraping processing on a file in an external storage device under the condition that the application running in the current foreground is not related to the scraping process, and displaying brief information of the scraping process in a current interface provided by the application running in the current foreground; and under the condition that the application running in the current foreground is related to the scraping process, if the current interface provided by the application running in the current foreground is not the scraping management interface, skipping to display the scraping management interface provided by the application running in the current foreground, and executing scraping processing based on the scraping management interface. According to the display device, the scraping operation can be simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of scraping technology, and in particular to a display device and a scraping method. Background Technology

[0002] In related technologies, when it is necessary to scrape files on external storage devices, users need to enter the media center and manually select the files on the external storage devices to perform the scraping operation. This process is cumbersome and results in a poor user experience. Summary of the Invention

[0003] Therefore, it is necessary to provide a display device and a scraping method that can simplify the scraping operation in response to the above-mentioned technical problems.

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

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

[0006] The controller is configured as follows:

[0007] Upon detecting the connection of an external storage device, a prompt message is displayed to indicate that the external storage device has been connected.

[0008] In response to the scraping trigger operation based on the prompt information, if the currently running application is not related to the scraping process, background scraping processing is performed on the files in the external storage device, and a brief information about the scraping process is displayed in the current interface provided by the currently running application.

[0009] If the current interface provided by the application currently running in the foreground is not the scraping management interface, and the application is related to the scraping process, the user will be redirected to the scraping management interface provided by the application currently running in the foreground, and the scraping process will be performed based on the scraping management interface.

[0010] The above technical solution has the following advantages or beneficial effects: When monitoring the connection of an external storage device, this application can automatically display a prompt message indicating that the external storage device has been connected. The user can then choose to execute a scraping trigger operation based on the prompt message. By combining the two steps of "discovering the device" and "initiating the operation" into one, the user only needs to choose whether to execute the scraping trigger operation based on the intuitive prompt, without needing to search for the scraping function entry point, thus simplifying the user's operation process. Furthermore, when the currently running application is unrelated to the scraping process, this application performs background scraping and only displays brief information in the foreground. This ensures that the scraping task can start immediately and automatically, without interrupting or interfering with the user's current immersive experience. When the currently running application is related to the scraping process, the user may already be in the mental anticipation and operational flow of managing media. At this time, the user can be redirected to the scraping management interface provided by the currently running application, allowing the user to manage the scraping task directly in the scraping management interface, avoiding the need for the user to manually search for the scraping function entry point, thus simplifying the user's operation process.

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

[0012] In response to a triggering action based on the brief information, the scraping management interface provided by the currently running application in the foreground is displayed.

[0013] The above technical solution has the following advantages or beneficial effects: by allowing users to click on the brief information displayed on the front end to directly jump to the scraping management interface, this application provides a quick operation channel in the current user interface, further shortening the operation path for users to perform in-depth management of scraping operations or view details.

[0014] In one embodiment, the process by which the controller performs the scraping process is configured as follows:

[0015] When the external storage device is connected for the first time, the external storage device is scanned for the first time, the media file information obtained by the scan is stored in the media database, and scraping processing is performed based on the media file information in the media database;

[0016] If the external storage device is not accessed for the first time and is not scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.

[0017] The above technical solution has the following advantages or beneficial effects: By establishing a media database specifically for storing media file information scanned from external storage devices, and performing scraping processing on the media file information in the media database instead of directly scraping the external storage device, the controller can continue scraping the media file information in the media database even if the connection between the external storage device and the display device is interrupted. Scraping will not terminate due to the disconnection from the external storage device, ensuring that when the display device reconnects to the external storage device, the scraping operation for the original media files on the external storage device has already been completed, reducing scraping waiting time. Furthermore, when new media files are added to the external storage device, scraping processing is only initiated for these new files, avoiding repeated scanning and network metadata matching of all files every time the external storage device is connected. This shortens the execution time of the scraping task, reduces user waiting time or system time occupied by background tasks, and reduces the pressure on network resource requests.

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

[0019] If a management operation on a media file in the external storage device is detected, and the management operation is a deletion operation on the media file, the media file information of the corresponding media file in the media database is deleted, and the media metadata of the corresponding media file information in the database is also deleted.

[0020] If the management operation is an update operation on media file information, the updated media file information is overwritten and stored in the media database; scraping is performed based on the updated media file information to obtain media metadata and store it in the scraping database.

[0021] The above technical solution has the following advantages or beneficial effects: when a user performs file management operations on an external storage device, the media database and scraping database are updated in conjunction with each other, which can effectively avoid problems such as display errors, resource waste or operation chaos caused by inconsistency between the actual files and database records, and ensure the accuracy and reliability of the media database and scraping database.

[0022] In one embodiment, the controller performs scraping processing based on the scraping management interface, and is configured to:

[0023] Display at least one level file path in the external storage device;

[0024] In response to a scraping trigger operation based on a file path, scraping processing is performed on the media files under the corresponding file path.

[0025] The above technical solution has the following advantages or beneficial effects: by displaying the file path in the scraping management interface and allowing users to trigger scraping based on the path, users can freely choose to scrape the entire device, a specific folder or a single directory, meeting users' management needs for different ranges of content and providing a flexible scraping method.

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

[0027] During the scraping process of media files under the file path, the execution progress of the corresponding scraping task is displayed;

[0028] In response to a management operation on the scraping task, if the management operation is a delete operation, the corresponding scraping task is deleted; if the management operation is a pause operation, the execution of the corresponding scraping task is paused; if the management operation is a resume operation, the execution of the corresponding paused scraping task is resumed; if the management operation is a re-import operation, the file path of the corresponding scraping task as the scraping path is changed.

[0029] The above technical solution has the following advantages or beneficial effects: by displaying the progress of the scraping task, users can clearly know the status of the scraping task; by providing management operations such as pausing, resuming, deleting, and re-importing the task, users can intervene and control the execution of the scraping task at any time when encountering problems (such as incorrect information or poor network) or changing their minds, thereby improving the user experience.

[0030] In one embodiment, the external storage device includes at least one of a local removable storage device or a network storage device; the brief information includes the progress of the scraping task; and the application associated with the scraping process includes a media center application.

[0031] The above technical solution has the following advantages or beneficial effects: By explicitly defining external storage devices as including local removable storage devices (such as USB flash drives, external hard drives, and SD cards) and network storage devices (such as NAS, SMB shared folders, and home media servers), it covers mainstream usage scenarios from personal portable storage to home networked media centers. By clearly specifying the progress of the scraping task, users can directly understand the progress of the scraping task through the brief information when it is executed in the background, providing clear feedback and improving the user experience.

[0032] Secondly, this application provides a scraping method applied to the display device described in any of the above embodiments; the method includes:

[0033] Upon detecting the connection of an external storage device, a prompt message is displayed to indicate that the external storage device has been connected.

[0034] In response to the scraping trigger operation based on the prompt information, if the currently running application is not related to the scraping process, background scraping processing is performed on the files in the external storage device, and a brief information about the scraping process is displayed in the current interface provided by the currently running application.

[0035] If the current interface provided by the application currently running in the foreground is not the scraping management interface, and the application is related to the scraping process, the user will be redirected to the scraping management interface provided by the application currently running in the foreground, and the scraping process will be performed based on the scraping management interface.

[0036] The above technical solution has the following advantages or beneficial effects: When monitoring the connection of an external storage device, this application can automatically display a prompt message indicating that the external storage device has been connected. The user can then choose to execute a scraping trigger operation based on the prompt message. By combining the two steps of "discovering the device" and "initiating the operation" into one, the user only needs to choose whether to execute the scraping trigger operation based on the intuitive prompt, without needing to search for the scraping function entry point, thus simplifying the user's operation process. Furthermore, when the currently running application is unrelated to the scraping process, this application performs background scraping and only displays brief information in the foreground. This ensures that the scraping task can start immediately and automatically, without interrupting or interfering with the user's current immersive experience. When the currently running application is related to the scraping process, the user may already be in the mental anticipation and operational flow of managing media. At this time, the user can be redirected to the scraping management interface provided by the currently running application, allowing the user to manage the scraping task directly in the scraping management interface, avoiding the need for the user to manually search for the scraping function entry point, thus simplifying the user's operation process.

[0037] In one embodiment, the method further includes:

[0038] In response to a triggering action based on the brief information, the scraping management interface provided by the currently running application in the foreground is displayed.

[0039] The above technical solution has the following advantages or beneficial effects: by allowing users to click on the brief information displayed on the front end to directly jump to the scraping management interface, this application provides a quick operation channel in the current user interface, further shortening the operation path for users to perform in-depth management of scraping operations or view details.

[0040] In one embodiment, performing a scraping process includes:

[0041] When the external storage device is connected for the first time, the external storage device is scanned for the first time, the media file information obtained by the scan is stored in the media database, and scraping processing is performed based on the media file information in the media database;

[0042] If the external storage device is not accessed for the first time and is not scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.

[0043] The above technical solution has the following advantages or beneficial effects: By establishing a media database specifically for storing media file information scanned from external storage devices, and performing scraping processing on the media file information in the media database instead of directly scraping the external storage device, the controller can continue scraping the media file information in the media database even if the connection between the external storage device and the display device is interrupted. Scraping will not terminate due to the disconnection from the external storage device, ensuring that when the display device reconnects to the external storage device, the scraping operation for the original media files on the external storage device has already been completed, reducing scraping waiting time. Furthermore, when new media files are added to the external storage device, scraping processing is only initiated for these new files, avoiding repeated scanning and network metadata matching of all files every time the external storage device is connected. This shortens the execution time of the scraping task, reduces user waiting time or system time occupied by background tasks, and reduces the pressure on network resource requests. Attached Figure Description

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

[0045] 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;

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

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

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

[0049] Figure 5 Control architecture diagram for the controller performing scraping processing provided in some embodiments of this application;

[0050] Figure 6 The following are schematic diagrams of a page in some embodiments of this application, showing a situation where the currently running application in the foreground is unrelated to the scraping process;

[0051] Figure 7 A schematic diagram illustrating page navigation in relation to the scraping process in some embodiments of this application;

[0052] Figure 8 A schematic diagram illustrating page redirection in the event of triggering brief information, provided for some embodiments of this application;

[0053] Figure 9 Interaction flowcharts for the film and television space management UI, front-end application, access monitoring service, scraping module, scraping database, system framework, and notification center provided in some embodiments of this application;

[0054] Figure 10 The following is an interactive flowchart of the external storage device scanning module, media database, media editing interface, scraping module, scraping logic module and scraping database provided for some embodiments of this application. Detailed Implementation

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

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

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

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

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

[0060] In this embodiment, the display device 200 generally refers to a device with screen display and data processing capabilities. For example, the 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.

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

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

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

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

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

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

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

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

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

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

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

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

[0073] 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).

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

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

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

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

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

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

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

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

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

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

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

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

[0086] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources in 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.

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

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

[0089] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run 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.

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

[0091] like Figure 4 As 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.

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

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

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

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

[0096] In some exemplary embodiments, this application provides a display device, including:

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

[0098] The controller is configured as follows:

[0099] When an external storage device is detected, a notification message indicating that an external storage device has been connected is displayed.

[0100] In response to a scraping trigger operation based on a prompt message, if the currently running application is not related to the scraping process, perform background scraping on the file on the external storage device and display a brief information about the scraping process in the current interface provided by the currently running application.

[0101] If the current interface provided by the currently running application is not the scraping management interface, and the scraping process is related to the scraping process, the user will be redirected to the scraping management interface provided by the currently running application, and the scraping process will be performed based on the scraping management interface.

[0102] In this application embodiment, external storage device refers to a storage medium that is not built into the display device itself and needs to be connected and accessed through a specific interface or protocol. For example, external storage device may include at least one of local removable storage device or network storage device; local removable storage device may include at least one of USB flash drive (U flash), external hard drive or flash memory card such as SD card, MicroSD card, CF card, etc.; network storage device may include at least one of NAS (Network Attached Storage), SMB (Common Internet File System) / CIFS (Server Message Block) shared folder or cloud storage service.

[0103] Please see Figure 5 , Figure 5 This is a control architecture diagram illustrating the scraping process performed when an external storage device is detected in an example. The scraping module includes a scraping service. The "scraping" function within the scraping service refers to obtaining media metadata corresponding to each field in the media file's attribute value list via network requests, based on information such as the media title. In one example, the media file's attribute value list might be as shown in Table 1:

[0104] Table 1

[0105]

[0106] The "storage" function in the scraping service refers to recording and maintaining the media metadata corresponding to each field in the attribute value list of the obtained media files in the local scraping database, providing data for the UI (User Interface). The media data source in the scraping service is divided into two parts: first, data updates are achieved directly through media scanning on the system platform; second, information on scanned media files is obtained from media management through the media database interface. The "scanning" function in media management is used to obtain information such as file scanning paths based on media data in external storage devices, and to store the scanned media file information in the media database through the database interface. The scraping shortcut entry in the UI refers to the shortcut entry displayed on the UI after the controller detects the connection of an external storage device, i.e., a prompt message indicating that an external storage device has been connected. The scraping interface in the UI is the control display interface used to show the scraping process. The scraping module also includes an external storage device management service, which is used to establish communication with the system platform regarding changes in the access status of external storage devices, enabling the monitoring of external storage device access changes and driving the display of the scraping shortcut entry based on the changes in the access status of external storage devices.

[0107] The system platform primarily provides applications with interfaces for accessing and reading / writing files from external storage devices. It also utilizes a media scanning function to traverse media file storage paths, obtain corresponding media file information, and store it in the media database. The media database, serving as the platform's media storage database, provides external functions such as media file querying.

[0108] Figure 5 The "Other Applications" section describes the external storage device management service in the scraping module as a global background service. Even when any application is in the foreground, it can still monitor changes in the access status of external storage devices and perform actions such as scanning related media data. The "Notification Center" is used to display brief information about the scraping process on the current interface provided by the application currently running in the foreground.

[0109] As can be seen, based on the control architecture described above for scraping processing, the controller can monitor the connection status between the display device and the external storage device in real time. Upon detecting a connection, it can display a notification on the current user interface indicating that the external storage device is connected. The user can then choose whether to initiate the scraping function for the external storage device based on the notification. If the user chooses to initiate the scraping function for the external storage device—that is, if the user has triggered the scraping operation based on the notification—the controller can further determine whether the currently running application is related to scraping.

[0110] If the application currently running in the foreground is unrelated to scraping, such as when the user is watching a video, the scraping process is performed in the background, with only a brief message displayed in the foreground. This ensures that the scraping task starts immediately and automatically, without interrupting or interfering with the user's current immersive experience. At the same time, the brief message informs the user of the background process, avoiding confusion about the device status and providing necessary transparency. See the example below. Figure 6When the current page is homepage 601 and the controller detects an external storage device connected, the controller displays a prompt message on homepage 601. The prompt message can be in the form of a prompt box 51, which includes a first interactive element 511 and a second interactive element 512. The user can use the first interactive element 511 to select whether to activate the scraping function for the external storage device, and the second interactive element 512 to select whether to open the external storage device. When the user triggers the first interactive element 511, since the current page is the homepage and unrelated to scraping, the controller closes the prompt box 51 and begins scraping the external storage device in the background. A brief message is displayed on homepage 601, which can be in the form of a notification card 52, allowing the user to track the scraping progress. When the user switches applications, the user interface follows the application being switched to. Except when the user switches to an application related to scraping (such as a media center application), the notification card 52 always appears on the user interface so that the user can monitor the scraping status at any time.

[0111] If the currently running application is related to scraping, it directly redirects to the scraping management interface. This respects the user's expectations and workflow, assuming they are already in the process of managing media, providing the most direct and fully functional operating environment and improving operational efficiency. See the example below. Figure 7 When the current page is the first page 602 of the media center, and the controller detects the access of an external storage device, the controller controls the display of a prompt message on the first page 602. The prompt message can be in the form of a prompt box 51, which includes a first interactive element 511 and a second interactive element 512. The user can select whether to start the scraping function for the external storage device through the first interactive element 511, and can select whether to open the external storage device through the second interactive element 512. When the user selects to trigger the first interactive element 511, since the current application is the media center and is related to scraping, the user interface jumps from the first page 602 of the media center to the second page 603 of the media center. The second page 603 of the media center displays the media path of the external storage device. The user can select the media path to be scraped. For example, after the user selects "Folder Name 1", the user interface jumps from the second page 603 of the media center to the third page 604 of the media center. On the third page 604, the user can manage the various related scraping tasks in "Folder Name 1".

[0112] In this embodiment, when an external storage device is connected, the application can automatically display a prompt message indicating that an external storage device has been connected. The user can then choose to trigger a scraping operation based on this prompt. By combining the two steps of "discovering the device" and "initiating the operation" into one, the user only needs to choose whether to trigger the scraping operation based on the intuitive prompt, without having to search for the scraping function entry point, thus simplifying the user's operation process. Furthermore, when the currently running application is unrelated to the scraping process, the application performs background scraping and only displays brief information in the foreground. This ensures that the scraping task can start immediately and automatically, without interrupting or interfering with the user's current immersive experience. When the currently running application is related to the scraping process, the user may already be in the mental anticipation and operational flow of managing media. At this time, the user can be redirected to the scraping management interface provided by the currently running application, allowing the user to manage the scraping task directly in the scraping management interface, avoiding the need for the user to manually search for the scraping function entry point, thus simplifying the user's operation process.

[0113] In some exemplary embodiments, the controller is also configured to:

[0114] In response to a trigger action based on brief information, the user is redirected to the scraping management interface provided by the currently running foreground application.

[0115] In this application, the brief information not only serves as a status notification but also acts as a direct, interactive, and functional shortcut. Users do not need to exit the current application or painstakingly search for the Media Center in the system menu or application list; they can directly access the scraping management interface simply by clicking or selecting the brief information. In one example, assuming the scraping module is scraping media files in "Folder Name 1" on external storage, when the user clicks notification card 52, the page can jump directly from the homepage 601 to the third page 604 of the Media Center. On the third page 604, the user can manage the various related scraping tasks in "Folder Name 1".

[0116] In this embodiment, by allowing users to click on the brief information displayed on the front end to directly jump to the scraping management interface, this application provides a quick operation channel in the current user interface, further shortening the operation path for users to perform in-depth management of scraping operations or view details.

[0117] In some exemplary embodiments, the process of the controller performing the scraping process is configured as follows:

[0118] When an external storage device is connected for the first time, an initial scan is performed on the external storage device, and the media file information obtained from the scan is stored in the media database. Scraping processing is then performed based on the media file information in the media database.

[0119] If the external storage device is not being accessed for the first time and is not being scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.

[0120] In this embodiment, the controller can determine whether the external storage device is being accessed for the first time. For external storage devices accessing for the first time, the controller performs a complete scan and stores the obtained media file information in the media database. Subsequent scraping processing is performed based on the media file information in the media database. For external storage devices accessing for the first time, to improve efficiency, the controller compares the scan results with historical information stored in the media database to accurately identify newly added media files. The controller stores the media file information of the newly added media files in the media database, and subsequent scraping processing is performed only based on the corresponding newly added media file information in the media database. This mechanism avoids repeatedly scanning and matching network metadata for all files (including successfully scraped old files) every time an external storage device is accessed. For storage devices with large and relatively stable content libraries (such as hard drives full of movies), this can significantly shorten the execution time of scraping tasks, reduce user waiting time or system time occupied by background tasks, and significantly reduce the request pressure on network resources.

[0121] Furthermore, in related technologies, the scraping process heavily relies on a continuous connection to an external storage device because it requires real-time file reading for metadata matching. Once disconnected, the scraping task immediately fails. In this application, the scraping process is performed based on media file information in a media database. That is, after completing the scanning phase and storing file information (such as filenames and paths) in the media database, subsequent metadata matching (the core of scraping—retrieving poster and description information from the network) can be performed independently of the external storage device. When the external storage device is unexpectedly disconnected (e.g., due to a loose interface or user accidental unplugging), the controller does not need to terminate the already started scraping thread but continues to perform the scraping operation using the media file information already stored in the media database. This greatly enhances the scraping task's anti-interference capability and completion rate, avoiding task failure due to unstable connections.

[0122] In one example, see Figure 9When a user actively enables the "Quick Scraping" function in the video storage management interface, the system enters a pending state. The video storage management module registers an external storage device access status monitoring event callback interface with the access monitoring service. The underlying system uses the external storage device management module within the system framework to monitor the status of the external storage device. The system maintains seamless operation of foreground applications (such as video players and homepages), ensuring the scraping function is unaffected by currently active applications through a separate service process. When the system framework detects an external storage device access event, it transmits the access or abnormal event to the scraping monitoring service. When a USB drive is inserted, it checks whether the "Quick Scraping" switch is enabled. If "Quick Scraping" is supported, a notification about the external storage device is displayed as a floating window on the currently running interface. If the user does not trigger the first interactive element, the automatic scraping logic is not triggered; if the user triggers the first interactive element, the automatic scraping process begins. The scraping module determines whether the external storage device is being accessed for the first time based on its path, such as storage / usb_1 (name), storage / usb_2 (name), etc., checking if a scraping history exists in the scraping database. If so, incremental scraping is performed: based on the input media path, the module scans the file directories level by level to obtain a list of media files in the corresponding directories. If a scraping history exists, it prioritizes checking the history (database) to see if the media file exists. If it does, the entry is ignored; otherwise, it is added to the scraping list, thus scraping the media. The scraping service acts as a background process. During scraping, the module sends scraping progress and other status updates to the notification center in real time. The notification center displays the scraping progress and status on the user interface as a notification card. Users can access the scraping management interface by triggering the notification card.

[0123] In one example, the device is shown to support the access or removal of multiple external storage devices.

[0124] In this embodiment, a media database is established specifically for storing media file information scanned from external storage devices. Scraping is performed on the media file information in this database, rather than directly on the external storage device. Even if the connection between the external storage device and the display device is interrupted, the controller can continue scraping the media file information in the database without terminating the scraping process due to the disconnection. This ensures that when the display device reconnects to the external storage device, the scraping operation for the existing media files on the external storage device has already been completed, reducing scraping waiting time. Furthermore, when new media files are added to the external storage device, scraping is only initiated for these new files. This avoids repeatedly scanning and matching all files every time the external storage device is connected, shortening the execution time of the scraping task, reducing user waiting time or system time occupied by background tasks, and lowering the pressure on network resources.

[0125] In some exemplary embodiments, the controller is also configured to:

[0126] If a management operation targeting a media file on an external storage device is detected, and the management operation is a deletion operation, the media file information of the corresponding media file in the media database is deleted, and the media metadata of the corresponding media file information in the database is also deleted.

[0127] If the management operation is an update operation on media file information, the updated media file information will be overwritten and stored in the media database; scraping processing will be performed based on the updated media file information to obtain media metadata and store it in the scraping database.

[0128] In applications, when a display device is connected to an external storage device, the user may perform management operations on the media files on the external storage device, such as deleting a media file, inserting a new media file, or renaming a media file. In this application, when the user performs file management operations on the external storage device, the controller manages the media database and the scraping database in a coordinated manner. Specifically, when the user deletes a media file on the external storage device, the controller deletes the corresponding media file information from the media database and the corresponding media metadata from the scraping database to prevent invalid data from occupying the device's local storage space for an extended period. When the user inserts a new media file into the external storage device, the controller adds the corresponding media file information to the media database, and the scraping module then creates a scraping task based on the newly added media file information and performs the scraping process. When a user modifies the name or other information of a media file on an external storage device, the controller will delete the corresponding media file information in the media database and the corresponding media metadata in the scraping database. Then, based on the modified media file, the controller will add the corresponding media file information to the media database. The scraping module will then create a scraping task based on the newly added media file information and perform the scraping process.

[0129] In one example, see Figure 10 When an external storage device is detected being connected, the external storage device scanning module scans the device and updates the media database based on the media files on it. The scraping module monitors changes to the media file information in the media database. When a change is detected, the scraping module sends a scraping request to the scraping logic module, which then performs the scraping process and stores the acquired media metadata in the scraping database. Users can perform file management operations on the external storage device in the media editing interface, such as inserting a new media file. The external storage device scanning module stores the new media file information in the media database, and the scraping module can detect the new media file by analyzing changes in its information, prompting the scraping logic module to execute the corresponding scraping process. When the scraping module detects that a media file has been deleted, it deletes the corresponding media metadata from the scraping database.

[0130] In this embodiment, when a user is detected performing file management operations on an external storage device, the media database and scraping database are updated in conjunction with each other. This can effectively avoid problems such as display errors, resource waste, or operational chaos caused by inconsistencies between the actual files and database records, and ensure the accuracy and reliability of the media database and scraping database.

[0131] In some exemplary embodiments, the controller performs scraping processing based on the scraping management interface, and is configured to:

[0132] Display the file path at least one level in the external storage device;

[0133] In response to a scraping trigger operation based on a file path, scraping processing is performed on the media files under the corresponding file path.

[0134] In one example, please refer to [link / reference]. Figure 7 When the application currently running in the foreground is related to the scraping process, if the current interface provided by the application currently running in the foreground is not the scraping management interface, the user interface will jump to display the scraping management interface provided by the application currently running in the foreground. The scraping management interface displays at least one level of file paths in the external storage device. Users can trigger scraping operations based on file paths. That is, users can manually select which files in the external storage device to scrape and which files not to scrape, which can save users' time and system resources.

[0135] In this embodiment, by displaying the file path in the scraping management interface and allowing users to trigger scraping based on the path, users can freely choose to scrape the entire device, a specific folder, or a single directory, meeting users' management needs for different ranges of content and providing a flexible scraping method.

[0136] In some exemplary embodiments, the controller is also configured to:

[0137] During the scraping process of media files under the file path, the execution progress of the corresponding scraping task is displayed;

[0138] In response to management operations on scraping tasks, if the management operation is a delete operation, the corresponding scraping task is deleted; if the management operation is a pause operation, the corresponding scraping task is paused; if the management operation is a resume operation, the corresponding paused scraping task is resumed; if the management operation is a re-import operation, the file path of the corresponding scraping task as the scraping path is changed.

[0139] Please continue reading Figure 7When a user selects a media path, the user interface redirects to the scraping management interface corresponding to that selected media path. This interface displays the execution progress of each scraping task up to that selected media path. Users can manage these tasks through this interface, such as deleting, pausing, or resuming a scraping task, or changing the file path used as the scraping path for that task. This allows for flexible management of scraping tasks, upgrading the scraping function from a simple automated service into a deeply interactive and user-participatory task system.

[0140] In this embodiment, by displaying the progress of the scraping task, users can clearly know the status of the scraping task; by providing management operations such as pausing, resuming, deleting, and re-importing the task, users can intervene and control the execution of the scraping task at any time when encountering problems (such as incorrect information or poor network) or changing their minds, thereby improving the user experience.

[0141] In some exemplary embodiments, the external storage device includes at least one of a local removable storage device or a network storage device; the brief information includes the progress of the scraping task; and the applications associated with the scraping process include media center applications.

[0142] Local removable storage devices may include at least one of the following: USB flash drive, external hard drive, or flash memory card such as SD card, MicroSD card, or CF card; network storage devices may include at least one of the following: NAS, SMB / CIFS shared folder, or cloud storage service.

[0143] Brief information can include the progress of the scraping task to provide users with clear progress feedback, such as "3 / 10 files processed". Users can understand the progress of background tasks in a timely manner through brief information, eliminating users' guessing about the status of background tasks.

[0144] Applications related to the scraping process can be media center applications, which are software applications integrated on top of the display device's operating system, specifically designed for the centralized management and display of user multimedia files (such as videos, audio, and images), and providing functions including scraping management.

[0145] In this embodiment, by explicitly defining external storage devices as including local removable storage devices (such as USB flash drives, external hard drives, and SD cards) and network storage devices (such as NAS, SMB shared folders, and home media servers), the mainstream usage scenarios range from personal portable storage to home networked media centers. By clearly specifying the progress of the scraping task in the brief information, users can directly understand the progress of the scraping task when it is executed in the background, providing clear feedback and improving the user experience.

[0146] In some exemplary embodiments, this application provides a scraping method applied to the display device in any of the above embodiments; the method includes:

[0147] When an external storage device is detected, a notification message indicating that an external storage device has been connected is displayed.

[0148] In response to a scraping trigger operation based on a prompt message, if the currently running application is not related to the scraping process, perform background scraping on the file on the external storage device and display a brief information about the scraping process in the current interface provided by the currently running application.

[0149] If the current interface provided by the currently running application is not the scraping management interface, and the scraping process is related to the scraping process, the user will be redirected to the scraping management interface provided by the currently running application, and the scraping process will be performed based on the scraping management interface.

[0150] In this embodiment, when an external storage device is connected, the application can automatically display a prompt message indicating that an external storage device has been connected. The user can then choose to trigger a scraping operation based on this prompt. By combining the two steps of "discovering the device" and "initiating the operation" into one, the user only needs to choose whether to trigger the scraping operation based on the intuitive prompt, without having to search for the scraping function entry point, thus simplifying the user's operation process. Furthermore, when the currently running application is unrelated to the scraping process, the application performs background scraping and only displays brief information in the foreground. This ensures that the scraping task can start immediately and automatically, without interrupting or interfering with the user's current immersive experience. When the currently running application is related to the scraping process, the user may already be in the mental anticipation and operational flow of managing media. At this time, the user can be redirected to the scraping management interface provided by the currently running application, allowing the user to manage the scraping task directly in the scraping management interface, avoiding the need for the user to manually search for the scraping function entry point, thus simplifying the user's operation process.

[0151] In some exemplary embodiments, the method further includes:

[0152] In response to a trigger action based on brief information, the user is redirected to the scraping management interface provided by the currently running foreground application.

[0153] In this embodiment, by allowing users to click on the brief information displayed on the front end to directly jump to the scraping management interface, this application provides a quick operation channel in the current user interface, further shortening the operation path for users to perform in-depth management of scraping operations or view details.

[0154] In some exemplary embodiments, performing a scraping process includes:

[0155] When an external storage device is connected for the first time, an initial scan is performed on the external storage device, and the media file information obtained from the scan is stored in the media database. Scraping processing is then performed based on the media file information in the media database.

[0156] If the external storage device is not being accessed for the first time and is not being scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.

[0157] In this embodiment, a media database is established specifically for storing media file information scanned from external storage devices. Scraping is performed on the media file information in this database, rather than directly on the external storage device. Even if the connection between the external storage device and the display device is interrupted, the controller can continue scraping the media file information in the database without terminating the scraping process due to the disconnection. This ensures that when the display device reconnects to the external storage device, the scraping operation for the existing media files on the external storage device has already been completed, reducing scraping waiting time. Furthermore, when new media files are added to the external storage device, scraping is only initiated for these new files. This avoids repeatedly scanning and matching all files every time the external storage device is connected, shortening the execution time of the scraping task, reducing user waiting time or system time occupied by background tasks, and lowering the pressure on network resources.

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

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

[0160] 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: Upon detecting the connection of an external storage device, a prompt message is displayed to indicate that the external storage device has been connected. In response to the scraping trigger operation based on the prompt information, if the currently running application is not related to the scraping process, background scraping processing is performed on the files in the external storage device, and a brief information about the scraping process is displayed in the current interface provided by the currently running application. If the current interface provided by the application currently running in the foreground is not the scraping management interface, and the application is related to the scraping process, the user will be redirected to the scraping management interface provided by the application currently running in the foreground, and the scraping process will be performed based on the scraping management interface.

2. The display device according to claim 1, characterized in that, The controller is also configured to: In response to a triggering action based on the brief information, the scraping management interface provided by the currently running application in the foreground is displayed.

3. The display device according to claim 1, characterized in that, The process by which the controller performs the scraping process is configured as follows: When the external storage device is connected for the first time, the external storage device is scanned for the first time, the media file information obtained by the scan is stored in the media database, and scraping processing is performed based on the media file information in the media database; If the external storage device is not accessed for the first time and is not scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.

4. The display device according to claim 1, characterized in that, The controller is also configured to: If a management operation on a media file in the external storage device is detected, and the management operation is a deletion operation on the media file, the media file information of the corresponding media file in the media database is deleted, and the media metadata of the corresponding media file information in the database is also deleted. If the management operation is an update operation on media file information, the updated media file information is overwritten and stored in the media database; scraping is performed based on the updated media file information to obtain media metadata and store it in the scraping database.

5. The display device according to claim 1, characterized in that, The controller performs scraping processing based on the scraping management interface and is configured as follows: Display at least one level file path in the external storage device; In response to a scraping trigger operation based on a file path, scraping processing is performed on the media files under the corresponding file path.

6. The display device according to claim 1, characterized in that, The controller is also configured to: During the scraping process of media files under the file path, the execution progress of the corresponding scraping task is displayed; In response to a management operation on the scraping task, if the management operation is a delete operation, the corresponding scraping task is deleted; if the management operation is a pause operation, the execution of the corresponding scraping task is paused; if the management operation is a resume operation, the execution of the corresponding paused scraping task is resumed; if the management operation is a re-import operation, the file path of the corresponding scraping task as the scraping path is changed.

7. The display device according to any one of claims 1 to 6, characterized in that, The external storage device includes at least one of a local removable storage device or a network storage device; the brief information includes the execution progress of the scraping task; the application related to the scraping process includes a media center application.

8. A scraping method, characterized in that, Applied to the display device according to any one of claims 1-7; the method includes: Upon detecting the connection of an external storage device, a prompt message is displayed to indicate that the external storage device has been connected. In response to the scraping trigger operation based on the prompt information, if the currently running application is not related to the scraping process, background scraping processing is performed on the files in the external storage device, and a brief information about the scraping process is displayed in the current interface provided by the currently running application. If the current interface provided by the application currently running in the foreground is not the scraping management interface, and the application is related to the scraping process, the user will be redirected to the scraping management interface provided by the application currently running in the foreground, and the scraping process will be performed based on the scraping management interface.

9. The method according to claim 8, characterized in that, The method further includes: In response to a triggering action based on the brief information, the scraping management interface provided by the currently running application in the foreground is displayed.

10. The method according to claim 8, characterized in that, Perform scraping treatment, including: When the external storage device is connected for the first time, the external storage device is scanned for the first time, the media file information obtained by the scan is stored in the media database, and scraping processing is performed based on the media file information in the media database; If the external storage device is not accessed for the first time and is not scanned for the first time, and the scan results indicate the presence of newly added media files, the corresponding media file information is added to the media database based on the scan results, and scraping processing is performed based on the newly added media file information in the media database.