patents.google.com

CN117956104A - Display device and built-in hard disk protection method - Google Patents

  • ️Tue Apr 30 2024

Detailed Description

In order to facilitate the technical solution of the application, some concepts related to the present application will be described below first.

For the purposes of making the objects and embodiments of the present application more apparent, an exemplary embodiment of the present application will be described in detail below with reference to the accompanying drawings in which exemplary embodiments of the present application are illustrated, it being apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.

It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.

The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.

The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.

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

Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display device 200 through the smart device 300 or the control apparatus 100.

In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.

In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on a smart device.

In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.

In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.

Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200.

Fig. 3 shows a hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment.

In some embodiments, display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, memory, a power supply, a user interface.

In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface.

In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, for receiving image signals from the controller output, for displaying video content, image content, and a menu manipulation interface, and for manipulating a UI interface by a user.

In some embodiments, the display 260 may be a liquid crystal display, an OLED display, a projection device, and a projection screen.

In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.

In some embodiments, the user interface may be configured to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).

In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; either the detector 230 comprises an image collector, such as a camera, which may be used to collect external environmental scenes, user attributes or user interaction gestures, or the detector 230 comprises a sound collector, such as a microphone or the like, for receiving external sounds.

In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.

In some embodiments, the modem 210 receives broadcast television signals via wired or wireless reception and demodulates audio-video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.

In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.

In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.

In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other operable control. The operations related to the selected object are: displaying an operation of connecting to a hyperlink page, a document, an image, or the like, or executing an operation of a program corresponding to the icon.

In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.

A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. Such as one main processor and one or more sub-processors.

In some embodiments, a graphics processor is used to generate various graphical objects, such as: icons, operation menus, user input instruction display graphics, and the like. The graphic processor comprises an arithmetic unit, which is used for receiving various interactive instructions input by a user to operate and displaying various objects according to display attributes; the device also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.

In some embodiments, the video processor is configured to receive an external video signal, perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, etc., according to a standard codec protocol of an input signal, and may obtain a signal that is displayed or played on the directly displayable device 200.

In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated by the graphic generator, so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received frame rate into a video output signal and changing the video output signal to be in accordance with a display format, such as outputting RGB data signals.

In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the audio signal according to a standard codec protocol of an input signal, and perform noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.

In some embodiments, a user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Or the user may input the user command by inputting a specific sound or gesture, the user input interface recognizes the sound or gesture through the sensor, and receives the user input command.

In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of a user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a graphically displayed user interface that is related to computer operations. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.

In some embodiments, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.

The system of the display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.

As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.

The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; and a native application (NATIVE APPS).

The application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).

The native application (NATIVE APPS) may support online or offline, message pushing, or local resource access.

The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.

The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.

The hardware or software architecture in some embodiments may be based on the description in the foregoing embodiments, and in some embodiments may be based on other similar hardware or software architectures, so long as the technical solution of the present application may be implemented.

In some embodiments, the display device may have a built-in mass storage, such as a built-in hard disk, and the user may record a television program that he wants to watch to the hard disk through the PVR (Personal Video Recorder ) for watching again when there is time.

In some embodiments, the PVR can use the built-in hard disk as a storage medium, build a local mass buffer and a huge program repository, and can edit and record and play programs. Wherein the recording and playing control comprises hard disk program recording and hard disk program playback.

In some embodiments, the display device may also perform recording and playing simultaneously by using the PVR, i.e. performing hard disk program recording and hard disk program playback simultaneously, where the programs corresponding to the hard disk program recording and hard disk program playback may be the same program or different programs.

In some embodiments, recording a hard disk program refers to storing a TS (Transport Stream) Stream of a target program and related information on the hard disk in a data organization format, while the program or other programs can still be decoded and played. The target program may be a program specified by the user, such as a live program.

In some embodiments, the program playback refers to listing the program information (including the content, length, code rate, adding time, etc. of the program) of all the programs stored on the hard disk in the form of an OSD (on-SCREEN DISPLAY, on-screen menu adjustment) menu through a display device, and the user can select the program desired to be watched through a remote controller, and the display device plays the program selected by the user.

The PVR will be described below based on the overall principle of hard disk program recording and hard disk program playback, respectively.

Referring to fig. 5, which is a schematic diagram of the operation principle of the PVR according to some embodiments, in fig. 5, a solid line part represents processing of a TS stream of one program, such as program 1, and a dotted line part represents processing of a TS stream of another program, such as program 2.

As shown in fig. 5, when recording a program, the tuner of the display device transmits the TS stream of the television program to the demultiplexing module for demultiplexing to obtain a/V data, and the a/V data is stored in a storage device, such as an internal hard disk of the display device, through a channel 3.

In some embodiments, when a program is recorded, the program may also be played in real time, i.e., recorded while played. For example, when recording the program 1, the a/V data obtained by demultiplexing the TS stream may be transmitted to the decoding module through the channel 1, and the decoded output may be transmitted to the a/V output for output after decoding by the decoding module, so as to realize playing of the program 1.

In some embodiments, channel 1 is turned off and channel 2 is turned on when a recorded program is being played, typically when channel 3 is also turned off.

In some embodiments, the principle of hard disk program recording can be seen in fig. 6. The TS stream obtained by front-end demodulation enters a programmable transmission interface module through a multiplexer. The programmable transmission interface module is a special microprocessor integrated in a main control chip, namely a control device in the display equipment, and the main task of the programmable transmission interface module is to complete analysis, descrambling and de-multiplexing of TS streams. The self-contained on-chip cache can carry out data transmission with external storage in a DMA (Direct Memory Access ) mode, and the hardware support is provided for the hard disk recording and playing function of programs. The programmable transmission interface module extracts corresponding TS packets of programs to be recorded in the TS stream, stores the TS packets into an on-chip cache, when the TS packets are received, informs a software part through a driver, and is responsible for copying the TS packets in the on-chip cache into an external storage, and once an area (the size is 64KB for example) opened up for reading and writing of a hard disk in the external storage area is full, data is written into the hard disk from the external storage area, so that the whole recording process is completed. Meanwhile, due to the multi-channel gating function of the multiplexer and the multi-program gating function of the programmable transmission interface unit, the program can be played back in real time while being recorded, and other programs can be watched while the program is recorded.

In some embodiments, the principle of hard disk program playback can be seen in fig. 7. Program information (including content, length, code rate, adding time and the like of all programs on the hard disk) is listed in an OSD menu form through display equipment, and a user selects a played program through a remote controller; after the program is selected, reading the corresponding program stream in the hard disk, and putting the program stream into an external storage area (SDRAM); program TS flows through the multi-path selector, and the programmable transmission interface module performs operations such as demultiplexing and the like; the video PES stream and the audio PES stream (Packetized ELEMENTARY STREAMS) obtained by demultiplexing are decoded by a decoder.

Based on the working principle of the PVR, the principle of recording a hard disk program and the principle of playing back a hard disk program, an embodiment of the present application provides a method for protecting a built-in hard disk, referring to fig. 8, the method may include the following steps:

step S101: and receiving a starting instruction.

In some embodiments, the power-on instruction may be an instruction entered by a user through a power-on key of a remote control.

Step S102: and responding to the starting instruction, and not powering on the hard disk.

In some embodiments, after receiving the startup instruction, the display device starts up and enters the first page or the interface corresponding to the signal source when the device is turned off last time.

In some embodiments, the built-in hard disk is not powered on after the display device is started, so that the built-in hard disk is kept in a power-off state before the display device is started.

In some embodiments, after the display device is started, an external storage device interface, such as a USB interface, a hard disk interface, may be further powered on, so that a storage device connected to the external interface, such as a USB disk, an external hard disk, or the like, is powered on. The external storage device interface may or may not be connected to a storage device.

Step S103: and receiving a starting instruction of the video recorder application.

In some embodiments, after the display device is powered on, the user may find a video recorder application, such as a PVR, on the my application interface on the display device, and input a start instruction of the application to the display device to cause the display device to start the application.

In some embodiments, the display device supports voice control, the start instruction of the video recorder application may be a voice instruction, and after the display device is powered on, a user may input a voice instruction to start the video recorder application to the display device, so that the display device starts the application.

Step S104: and responding to the starting instruction, electrifying the hard disk, and configuring the hard disk to be mounted in a read-only mode when the hard disk is a target storage device of the video recorder application.

In some embodiments, after receiving a start instruction of the video recorder application, the display device may power up the internal hard disk, so that the internal hard disk is switched from the power-off state to the power-on state.

In some embodiments, after the built-in hard disk is powered up, the display device may default to the built-in hard disk as the PVR's designated disk, i.e., the target storage device.

In some embodiments, after the internal hard disk is powered on, if the display device is not currently connected with the external storage device, a storage device selection interface may be displayed, where the interface only displays the internal magnetic disk at this time, if the user wants to use the external storage device, the external storage device may be plugged through the external storage device interface, and after the external storage device is plugged, the display device may refresh the storage device selection interface to display the internal magnetic disk and the storage device plugged by the user.

In some embodiments, after the internal hard disk is powered on, the display device may obtain a disk selected when the user uses the PVR last time, set the internal hard disk as a designated disk of the PVR if the disk selected by the user last time is the internal hard disk, determine whether the external disk is connected if the disk selected by the user last time is the external disk, set the external disk as the designated disk if the external disk is connected, and set the internal hard disk as the designated disk of the PVR if the external disk is not connected, or display a storage device selection interface for the user to select the disk used this time.

In some embodiments, after the internal hard disk is powered on, if the display device is not currently connected to the external storage device, the internal hard disk may be set as a specific disk of the PVR by default, and if the display device is currently connected to the external storage device, all the storage devices may be displayed for the user to select.

If the user selects the built-in hard disk, the display device sets the built-in hard disk as a specified disk of the PVR, and configures the built-in hard disk as RO for mounting, namely mounting in a read-only mode.

If the user selects the external storage device, the display device sets the storage device selected by the user as the designated disk of the PVR, and the subsequent flow in the flowchart is not executed, but the response flow of the non-internal hard disk is executed, such as automatically playing the stored file in the storage device.

After the built-in hard disk is mounted in a read-only manner, whether the residual storage space of the built-in hard disk is sufficient or not can be detected.

Step S105: if a program recording instruction corresponding to the hard disk is received, the hard disk is configured to be mounted in a read-write mode, program recording is started, and the hard disk is unloaded when recording is finished.

In some embodiments, the user may enter a program recording instruction or a program playback instruction at the PVR application, wherein the program recording instruction may be an instruction to record a user-specified program, such as an instruction to record a program currently being played. After receiving the program recording instruction, the display device can reconfigure the built-in hard disk to be mounted in a RW mode by utilizing a remount command, then starts program recording, stores recording data into the built-in hard disk, and after the user designates that program recording is finished, reconfigures the built-in hard disk to be mounted in an RO mode by utilizing a remount command, plays a role of protecting the data in the built-in hard disk, and then unloads the built-in hard disk to prevent the data damage of the built-in hard disk caused by sudden power failure before unloading. The unloading of the built-in hard disk can avoid the application program on the display device from accessing the data of the built-in hard disk, and ensure the data security of the built-in hard disk.

Step S106: if a program playback instruction corresponding to the hard disk is received, the hard disk is kept to be mounted in a read-only mode, program playback is started, and the hard disk is unloaded when playback is finished.

In some embodiments, if the user inputs a program playback instruction in the PVR application, the display device may keep the built-in hard disk mounted in a read-only manner, so that the recorded program stored in the built-in hard disk can be played, and an application program on the display device can be prevented from writing data into the built-in hard disk, thereby ensuring the data security of the built-in hard disk. After the program playing corresponding to the program playback instruction is finished, the display equipment can unload the built-in hard disk, so that the application program on the display equipment can be prevented from accessing the built-in hard disk, and the data safety of the built-in hard disk is ensured.

Step S107: and if an exit instruction of the video recorder application is received, powering off the hard disk.

In some embodiments, after the display device uninstalls the built-in hard disk, if an instruction of exiting the PVR application input by a user is received, the PVR application is exited, and the built-in hard disk is powered off, so that the built-in hard disk is restored to a power-off state before the PVR application is started, and the data security of the built-in hard disk is ensured.

In some embodiments, after the built-in hard disk is powered off by the display device, if the user restarts the PVR application, the display device may power up the built-in hard disk again and power off after the user exits the PVR application.

As can be seen from the above embodiments, in the embodiments of the present application, the built-in hard disk is not powered on after the display device is powered on, and is powered on when the user starts the video recorder application, and is powered off after the user exits the video recorder application, so that the built-in hard disk is prevented from being powered on for a time, and the risk of data damage of the built-in hard disk is reduced; the built-in hard disk is configured to be read-write mounted when the program is recorded and read-only mounted when the program is replayed, and the built-in hard disk is unloaded after the program is recorded or replayed, so that the access probability of the application on the display device to the built-in hard disk can be reduced on the basis of ensuring the smooth progress of the program recording and the program replaying, and the data security of the built-in hard disk is further improved.

For further explanation of the method for protecting an internal hard disk according to the embodiment of the present application, fig. 9 is a schematic flow chart of a method for protecting an internal hard disk according to another embodiment. Referring to fig. 9, the method may include the steps of:

step S201: and powering up the built-in hard disk according to the start of the PVR by a user.

In some embodiments, the built-in hard disk may be powered off until the PVR is started, and the display device powers up the built-in hard disk according to the user starting the PVR.

Step S202: a list of storage devices is presented.

In some embodiments, after the internal hard disk is powered on, the display device may obtain the powered-on storage device according to the powered-on state of each storage device interface, where the storage device interfaces include an interface of the internal hard disk and an external storage device interface.

In some embodiments, after determining the storage device that has been powered on, the display device may generate a storage device selection interface according to the name of the storage device that has been powered on.

Referring to fig. 10, a schematic diagram of a storage device selection interface is shown in fig. 10, where if there are multiple storage devices that are powered on, the storage device selection interface may display the storage devices one by one in a control form, in fig. 10, an "internal hard disk" is an exemplary name of an internal hard disk of a display device, an "external hard disk" is an exemplary name of a hard disk externally connected to the display device, and a "U disk" is an exemplary name of a U disk externally connected to the display device. The user clicks one of the controls, and a storage device selection instruction corresponding to the control to the storage device can be generated.

In some embodiments, if there is only one storage device that is already powered on, such as an "internal hard disk," on the display device, then the storage device selection interface may only display a control corresponding to the "internal hard disk," and after the user clicks the control, the display device may generate a storage device selection instruction corresponding to the internal hard disk.

Step S203: and receiving a storage device selection instruction.

In some embodiments, the user may click on one of the controls via the remote control to select one of the storage devices as a PVR-enabled disk at a storage device selection interface as shown in fig. 10. And the display device generates a storage device selection instruction according to the control clicked by the user, wherein the storage device selection instruction comprises the identity information of the storage device corresponding to the control clicked by the user, such as a disk name, a disk UUID (Universally Unique Identifier, a universal unique identification code) and the like.

Step S204: judging whether the storage device corresponding to the storage device selection instruction is a built-in hard disk or not.

In some embodiments, the display device may determine whether the storage device selected by the user is a built-in hard disk according to the identity information of the storage device in the storage device selection instruction.

Step S205: if the storage device corresponding to the storage device selection instruction is an internal hard disk, setting the internal hard disk as an RO mount.

In some embodiments, if the user selected storage device is an internal hard disk, the internal hard disk may be set as an RO mount.

Step S206: and if the storage device selection instruction corresponds to the storage device which is not the built-in hard disk, executing a response flow of the non-built-in hard disk.

In some embodiments, if the storage device selected by the user is not a built-in hard disk, a response procedure of the non-built-in hard disk is performed, such as automatically playing the stored file in the storage device, and so on.

Step S207: and judging whether the residual storage space is larger than a first threshold value.

In some embodiments, after the display device determines the storage device selected by the user, the display device may determine whether the storage space of the built-in hard disk is greater than the first threshold, if the storage space of the built-in hard disk is less than or equal to the first threshold, which indicates that the available storage space of the built-in hard disk is insufficient, and continuing to use the built-in hard disk may cause problems such as jamming and breakdown of the display device, at this time, the step S202 may be returned to, and the storage device selection interface may be displayed again to prompt the user to reselect one storage device. If the storage space is larger than the first threshold value, the available storage space of the built-in hard disk is sufficient, and the next step can be continuously executed.

In some embodiments, the display device may enter an exception handling procedure when the available storage space of the internal hard disk is insufficient, the exception handling procedure may include: (1) prompting that the magnetic disk is not enough for recording for 15 minutes; (2) When the built-in hard disk contains non-important files which are not protected by deletion and created by PVR, a user can be reminded whether to start the function of automatically optimizing the space of the built-in hard disk so as to optimize the disk space; (3) If the user presses the ok key, the operation flow returns to step S203).

Step S208: and (3) performing disk speed measurement, and starting the built-in hard disk according to the fact that the read-write speed is larger than a second threshold value.

In some embodiments, the display device may perform the disk speed measurement on the internal hard disk after determining that the storage space of the internal hard disk is greater than the first threshold, and may enable the internal hard disk if the read/write speed is greater than the second threshold (e.g., 3 MB/s). The test read-write speed can be at least one of the write-in speed and the read-out speed of the built-in hard disk, if the test read-write speed comprises the write-in speed and the read-out speed, the second threshold is two data, the write-in speed and the read-out speed respectively correspond to the write-in speed and the read-out speed, the write-in speed and the read-out speed of the built-in hard disk are both larger than the corresponding threshold, the built-in hard disk can be started, and the influence on the program recording effect or the program playback effect caused by poor read-write performance of the built-in hard disk is avoided.

In some embodiments, the display device sets the identity information of the built-in hard disk, such as UUID, to the UUID of the storage device corresponding to the PVR, so as to enable the built-in hard disk.

Step S209: and receiving a user operation, and judging whether the user operation is a read operation or a write operation.

In some embodiments, after the user selects the built-in hard disk in the storage device selection interface, the user may continue to select to record or play back the hard disk program, if the user selects to record the hard disk program, the display device determines that the received user operation is a write operation, and if the user selects to play back the hard disk program, the display device determines that the received user operation is a read operation.

Step S210: if the user operation is writing operation, the built-in hard disk is set as RW mount.

In some embodiments, if the display device determines that the user operation is a write operation, the built-in hard disk may be reset to RW mount by remount command.

Step S211: recording the program into the built-in hard disk.

In some embodiments, program recording may begin after the built-in hard disk is set to RW mount.

Step S212: and setting the built-in hard disk as an RO mount when recording is finished.

In some embodiments, after recording is finished, the display device may automatically reset the built-in hard disk to be RO-mounted to secure the data of the built-in hard disk.

Step S213: and unloading the built-in hard disk.

In some embodiments, the display device may automatically unload the built-in hard disk after recording or playing is finished, so as to further protect the data security of the built-in hard disk.

Step S214: and playing back the programs stored in the built-in hard disk.

In some embodiments, if the display device determines that the user operation is a read operation, the program stored in the internal hard disk may be played back without changing the mounting manner of the internal hard disk.

Step S215: and receiving the user operation, and judging whether the user operation is to exit the PVR.

In some embodiments, after the display device uninstalls the built-in hard disk, the user may need to exit the PVR application, at which point the user may input a user operation to exit the PVR application to the display device, such as pressing the return key of the remote control multiple times in succession.

In some embodiments, after the display device uninstalls the built-in hard disk, the user may need to continue recording or playback of the program using the PVR application, at which point the user may enter a user operation other than exiting the PVR application, such as pressing a return key of the remote control once.

In some embodiments, after the display device uninstalls the built-in hard disk, if a user operation is received, it may be determined whether the user operation is exiting the PVR. If the user operation is that the user presses the remote controller for a single time, the display device determines that the user operation is not to exit the PVR according to the received single return key pressing command; if the user operation is that the user presses the return key of the remote controller for the second time, the time from the last time of pressing the return key of the remote controller is shorter, and no other user operation exists in the middle, namely, the user continuously presses the return key of the remote controller twice, the display device can judge that the user operation is to exit the PVR according to the received continuous pressing instruction of the return key.

Step S216: if the PVR is exited, and the built-in hard disk is powered off.

In some embodiments, the display device exits the PVR application and then powers off the built-in hard disk if it determines that the user has entered a user operation to exit the PVR.

In some embodiments, if the display device determines that the user operation input by the user is not to exit the PVR, the process returns to step S202 to redisplay the storage device selection interface for the user to select one storage device to perform the next program recording or playback.

According to the embodiment of the application, the power-off, power-on and mounting modes of the built-in hard disk are flexibly controlled, so that the built-in hard disk is only in a power-on state during program recording and program playback, is mounted for RW during program recording and is mounted for RO during program playback, smooth program recording function is ensured, meanwhile, the built-in hard disk is prevented from being in the power-on state for a long time and mounted for RW for a long time, the power-on probability of the built-in hard disk and the mounting probability of the built-in hard disk for RW during sudden power-off are reduced, and the data security of the built-in hard disk is effectively improved.

Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. The illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.