Search

CN-122019042-A - Display apparatus and scraping method

CN122019042ACN 122019042 ACN122019042 ACN 122019042ACN-122019042-A

Abstract

The application relates to a display device and a scraping method. The display device includes a display configured to display an image and/or a user interface, a controller configured to display prompt information for prompting that an external storage device has been accessed in a case where the external storage device is accessed is monitored, to perform a background scraping process on a file in the external storage device in a case where an application currently running in the foreground is not related to a scraping process in response to a scraping trigger operation triggered based on the prompt information, and to display brief information of the scraping process in a current interface provided by the application currently running in the foreground, and to skip to display the scraping management interface provided by the application currently running in the foreground in a case where the application currently running in the foreground is related to the scraping process, and to perform the scraping process based on the scraping management interface. The display device of the present application can simplify the scraping operation.

Inventors

  • LIU ZHAOLEI
  • YANG LUMING
  • SUN YONGJIANG
  • GAO HAOCHENG

Assignees

  • 海信视像科技股份有限公司

Dates

Publication Date
20260512
Application Date
20260211

Claims (10)

  1. 1. A display device, characterized by comprising: a display configured to display an image and/or a user interface; A controller configured to: displaying prompt information for prompting that the external storage device is accessed under the condition that the external storage device is accessed is monitored; responding to scraping triggering operation triggered based on the prompt information, executing background scraping processing on the file in the external storage device under the condition that the application running in the current foreground is irrelevant 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 if the current interface provided by the current foreground running application is not the scraping management interface under the condition that the current foreground running application is related to the scraping process, jumping to display the scraping management interface provided by the current foreground running application, and executing scraping processing based on the scraping management interface.
  2. 2. The display device of claim 1, wherein the controller is further configured to: In response to a triggering operation based on the profile, a scraping management interface provided by the currently running application is displayed in a jumped manner.
  3. 3. The display device according to claim 1, wherein the controller performs a scraping process configured to: Under the condition of first accessing the external storage device, carrying out first scanning on the external storage device, storing media file information obtained by scanning into a media database, and executing scraping processing based on the media file information in the media database; And under the condition that the external storage device is not accessed for the first time and is not scanned for the first time, if the scanning result represents that the newly added media file exists, the corresponding media file information is newly added in the media database based on the scanning result, and the scraping processing is executed based on the corresponding newly added media file information in the media database.
  4. 4. The display device of claim 1, wherein the controller is further configured to: if the management operation is a deletion operation of the media files, deleting the media file information of the corresponding media files in the media database and deleting the media metadata of the corresponding media file information in the scraping database under the condition that the management operation of the media files in the external storage device is monitored; If the management operation is an update operation on the media file information, the correspondingly updated media file information is stored in the media database in a covering manner; and executing scraping processing based on the correspondingly updated media file information, obtaining media metadata and storing the media metadata in a scraping database.
  5. 5. The display device of claim 1, wherein the controller performs a scraping process based on the scraping management interface configured to: Displaying at least one level of file path in the external storage device; in response to a scraping trigger operation based on the file path trigger, a scraping process is performed on the media files under the corresponding file path.
  6. 6. The display device of claim 1, wherein the controller is further configured to: displaying the execution progress of the corresponding scraping task in the process of executing the scraping processing on the media file under the file path; Responding to the management operation of the scraping tasks, deleting the corresponding scraping tasks if the management operation is a deleting operation, suspending execution of the corresponding scraping tasks if the management operation is a suspending operation, resuming execution of the suspended scraping tasks if the management operation is a resuming operation, and replacing the corresponding scraping tasks as file paths of scraping paths if the management operation is a reintroducing operation.
  7. 7. The display device of any one of claims 1-6, wherein the external storage device comprises at least one of a local removable storage device or a network storage device, wherein the profile information comprises a progress of execution of a scraping task, and wherein the application related to the scraping process comprises a media center application.
  8. 8. A scraping method, characterized in that it is applied to the display device according to any one of claims 1-7, the method comprising: displaying prompt information for prompting that the external storage device is accessed under the condition that the external storage device is accessed is monitored; responding to scraping triggering operation triggered based on the prompt information, executing background scraping processing on the file in the external storage device under the condition that the application running in the current foreground is irrelevant 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 if the current interface provided by the current foreground running application is not the scraping management interface under the condition that the current foreground running application is related to the scraping process, jumping to display the scraping management interface provided by the current foreground running application, and executing scraping processing based on the scraping management interface.
  9. 9. The method of claim 8, wherein the method further comprises: In response to a triggering operation based on the profile, a scraping management interface provided by the currently running application is displayed in a jumped manner.
  10. 10. The method of claim 8, wherein performing a scraping process comprises: Under the condition of first accessing the external storage device, carrying out first scanning on the external storage device, storing media file information obtained by scanning into a media database, and executing scraping processing based on the media file information in the media database; And under the condition that the external storage device is not accessed for the first time and is not scanned for the first time, if the scanning result represents that the newly added media file exists, the corresponding media file information is newly added in the media database based on the scanning result, and the scraping processing is executed based on the corresponding newly added media file information in the media database.

Description

Display apparatus and scraping method Technical Field The application relates to the technical field of scraping, in particular to a display device and a scraping method. Background In the related art, when a file in an external storage device needs to be shaved, a user is required to enter a media center, manually select the file in the external storage device to perform a shaving operation, and the operation is complicated, resulting in poor user experience. Disclosure of Invention In view of the foregoing, it is necessary to provide a display device and a scraping method capable of simplifying a scraping operation. In a first aspect, the present application provides a display apparatus comprising: a display configured to display an image and/or a user interface; A controller configured to: displaying prompt information for prompting that the external storage device is accessed under the condition that the external storage device is accessed is monitored; responding to scraping triggering operation triggered based on the prompt information, executing background scraping processing on the file in the external storage device under the condition that the application running in the current foreground is irrelevant 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 if the current interface provided by the current foreground running application is not the scraping management interface under the condition that the current foreground running application is related to the scraping process, jumping to display the scraping management interface provided by the current foreground running application, and executing scraping processing based on the scraping management interface. The technical scheme has the advantages that the method and the device have the advantages that under the condition of monitoring the access of the external storage device, the prompt information for prompting that the external storage device is accessed can be automatically displayed, the user can select to execute the scraping triggering operation aiming at the prompt information, and by combining the two steps of 'finding the device' and 'initiating operation', the user only needs to select whether to execute the scraping triggering operation based on the visual prompt without searching for a scraping function entrance, so that the operation flow of the user is simplified. In addition, under the condition that the application running in the current foreground is irrelevant to the scraping process, the application executes background scraping and only displays brief information in the foreground, which ensures that the scraping task can be immediately and automatically started to execute without interruption and interference with the current immersive experience of the user. When the currently running application is associated with a scraping process, the user may already be in the psychological expectation and operation flow of preparing to manage the media, and may jump to display the scraping management interface provided by the currently running application at this time, so that the user manages the scraping task at the scraping management interface, avoiding the user from manually entering the searching scraping function entry, and simplifying the user operation flow. In one embodiment, the controller is further configured to: In response to a triggering operation based on the profile, a scraping management interface provided by the currently running application is displayed in a jumped manner. The technical scheme has the advantages that the user is allowed to click on the brief information displayed in the foreground to directly jump to the scraping management interface, namely, a shortcut operation channel is provided in the current user interface, and the operation path of the user for carrying out depth management on scraping operation or checking details is further shortened. In one embodiment, the controller performs a scraping process configured to: Under the condition of first accessing the external storage device, carrying out first scanning on the external storage device, storing media file information obtained by scanning into a media database, and executing scraping processing based on the media file information in the media database; And under the condition that the external storage device is not accessed for the first time and is not scanned for the first time, if the scanning result represents that the newly added media file exists, the corresponding media file information is newly added in the media database based on the scanning result, and the scraping processing is executed based on the corresponding newly added media file information in the media database. The technical scheme has the advantages that the scraping processing is performed on the media file information in the media database instead of