CN112346684A - Data display method and device, television and computer readable storage medium - Google Patents

Data display method and device, television and computer readable storage medium Download PDF

Info

Publication number
CN112346684A
CN112346684A CN202011128403.6A CN202011128403A CN112346684A CN 112346684 A CN112346684 A CN 112346684A CN 202011128403 A CN202011128403 A CN 202011128403A CN 112346684 A CN112346684 A CN 112346684A
Authority
CN
China
Prior art keywords
data
display
scanning
displaying
terminal screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011128403.6A
Other languages
Chinese (zh)
Inventor
周良俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011128403.6A priority Critical patent/CN112346684A/en
Publication of CN112346684A publication Critical patent/CN112346684A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data display method, a data display device, a television and a computer readable storage medium, wherein the data display method comprises the following steps: when the condition that the data scanning is met is monitored, scanning data in the accessed external equipment; and determining the data type of the scanned data, determining corresponding display content and a display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode. The technical problems that when data of external equipment are previewed quickly, previewing data is unsmooth, and previewing cannot respond are solved.

Description

Data display method and device, television and computer readable storage medium
Technical Field
The present application relates to the field of smart televisions, and in particular, to a data display method and apparatus, a television, and a computer-readable storage medium.
Background
With the development of smart televisions, large-screen devices, such as U disks or mobile hard disks, are becoming more popular, and the use frequency is becoming higher and higher. However, because of the large number of files on the usb disk or the mobile hard disk and the limited capability of the terminal processor, when a user browses multimedia files such as pictures using a terminal such as a mobile phone or a television, in order to quickly turn over a picture to be browsed, when the user selects to quickly turn over the picture, the response time is slow, and the user needs to wait for a period of time before responding. Therefore, when data of an external device is previewed quickly, the problem that previewing data is jammed and previewing cannot respond exists.
Disclosure of Invention
The embodiment of the application provides a data display method and device, a television and a computer readable storage medium, and aims to solve the problems that preview data is blocked and preview cannot respond when data of external equipment is previewed quickly.
In order to achieve the above object, an aspect of the present application provides a data display method, including:
when the condition that the data scanning is met is monitored, scanning data in the accessed external equipment;
determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode.
Optionally, the step of displaying the corresponding display content on the terminal screen according to the determined display mode includes:
when the scanned data meet the set display conditions, updating the data to form the display content of the scanned data;
and displaying the display contents on the terminal screen in batches.
Optionally, the step of determining corresponding display content and display mode according to the difference of the data types, and displaying the corresponding display content on the terminal screen according to the determined display mode includes:
if the data type is a picture, displaying thumbnails of the pictures on the terminal screen in batches; or
If the data type is a video, displaying thumbnails of the video in batches on the terminal screen; or
And if the data type is audio, displaying thumbnails of the audio in batches on the terminal screen.
Optionally, the step of updating the data to form the display content of the scanned data comprises:
determining the data type of data to be updated, and sending different updating information according to the data type;
and updating the data to form the display content of the scanned data according to the updating information.
Optionally, the step of scanning data in the accessed external device includes:
determining the data type of the scanning data and the quantity of the scanning data in each batch;
and scanning the data in the external equipment in batches according to the data type and the quantity of the data scanned in each batch.
Optionally, the step of displaying the display contents on the terminal screen in batches includes:
acquiring an identification value of a memory corresponding to the data type;
and if the identification value is a set value, acquiring the display content stored in the memory, and displaying the display content on the terminal screen.
Optionally, before the step of scanning the data in the accessed external device, the method further includes:
when a connection request of the external equipment is acquired, the external equipment larger than a preset storage space is applied according to the connection request;
and setting an identifier for the external equipment which is applied for and is larger than the preset storage space.
In addition, to achieve the above object, another aspect of the present application further provides a display device for data, the display device including:
the scanning module is used for scanning data in the accessed external equipment when the condition that the data scanning is met is monitored;
and the display module is used for determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on the terminal screen according to the determined display mode.
In addition, in order to achieve the above object, another aspect of the present application further provides a television, which includes a memory, a processor, and a display program of data stored in the memory and running on the processor, wherein the processor implements the steps of the display method of data as described above when executing the display program of data.
In addition, to achieve the above object, another aspect of the present application further provides a computer-readable storage medium having stored thereon a display program of data, which when executed by a processor, implements the steps of the display method of data as described above.
When the terminal is monitored to be accessed to the external equipment and the terminal starts the scanning service, the data in the external equipment are scanned in batches; determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode. The technical problems that when data of external equipment are previewed quickly, previewing data is unsmooth, and previewing cannot respond are solved.
Drawings
Fig. 1 is a schematic diagram of a television structure of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a first embodiment of a method for displaying data according to the present application;
FIG. 3 is a schematic flow chart diagram illustrating a second embodiment of a method for displaying data according to the present application;
FIG. 4 is a schematic flow chart diagram illustrating a third embodiment of a method for displaying data according to the present application;
FIG. 5 is a schematic flow chart diagram illustrating a fourth embodiment of a method for displaying data according to the present application;
FIG. 6 is a schematic flow chart diagram illustrating a fifth embodiment of a display method of the present application;
fig. 7 is a schematic flowchart illustrating a process of scanning data in an accessed external device in the data display method of the present application;
fig. 8 is a schematic flow chart illustrating a process of displaying the corresponding display content on the terminal screen according to the determined display mode in the display method of the data of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: when the condition that the data scanning is met is monitored, scanning data in the accessed external equipment; determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode.
Because of a lot of files on the U disk or the mobile hard disk and limited terminal processor capacity, when a user browses multimedia files such as pictures by using terminals such as a mobile phone and a television, in order to quickly turn over pictures to be browsed, when the user selects to quickly turn over the pictures, the response time is slow, and the user needs to wait for a period of time before responding. Therefore, when data of an external device is previewed quickly, the problem that previewing data is jammed and previewing cannot respond exists. When the terminal is monitored to be accessed into the external equipment and the terminal starts the scanning service, the data in the external equipment are scanned in batches; determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode. By displaying the scanning data in batches, the problems that preview data is blocked and cannot be responded by previewing are solved, so that the data can be browsed smoothly, the data browsing time is saved, and the data browsing efficiency is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a television structure of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the television may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the television may also include a camera, RF (Radio Frequency) circuitry, sensors, remote controls, audio circuitry, WiFi modules, detectors, and the like. Of course, the television may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the television architecture shown in fig. 1 does not constitute a limitation of television apparatus and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a display program of data.
In the television shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a display program of data in the memory 1005 and perform the following operations:
when the condition that the data scanning is met is monitored, scanning data in the accessed external equipment;
determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a display method of the data of the present application.
While embodiments of the present application provide an embodiment of a method for displaying data, it should be noted that, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown or described here.
The data display method comprises the following steps:
step S10, when the condition of data scanning is monitored to be satisfied, scanning the data in the accessed external equipment;
the application environment of the method provided in this embodiment is applied to a television, which may be an intelligent device with an IOS or Android operating system, and it should be noted that the method provided in this embodiment may also be applied to an intelligent terminal such as a smart phone or a tablet computer, and is not limited herein.
When the television monitors that a data scanning condition is met, scanning data in the accessed external equipment, wherein the data scanning condition is that the television is accessed into the external equipment and a scanning service in the television is started. Specifically, a detection thread of a USB device is created in the television, and is used to detect whether there is a USB device inserted in real time during the startup or operation of the television, where the USB device refers to an external device connected to the television through a USB interface configured in the television, for example: u disk, portable hard drive, peripheral hardware WIFI transmitter etc.. In one embodiment, the detection of the USB device is as follows: when the intelligent television is started, starting a USB detection thread to detect whether the USB port is plugged with the USB equipment or not in real time through the detection thread, wherein the detection thread detects the plugging operation of the USB equipment by detecting the equipment node change under the preset directory. The preset directory can be a/dev/bus/USB directory, and the device node is generated for each USB device at the bottom layer of the system and is used for uniquely identifying the USB device; when the USB device is plugged in, a device node is generated, and when the USB device is pulled out, the device node is deleted. When the USB device is detected to be plugged, the system bottom layer generates a device node corresponding to the USB, and stores the device node in a preset directory.
When the television monitors the USB equipment, further monitoring whether a scanning service in the television is started, if the scanning service is not started, starting the scanning service, and executing scanning operation on data in the USB equipment based on the scanning service; and if the scanning service is started, directly executing scanning operation on the data in the accessed USB equipment based on the scanning service. The picture data, the video data and the audio data in the USB equipment are screened out in the scanning process, and meanwhile, the equipment is not allowed to enter a sleep state in the scanning process, so that the scanning can be completely finished. Furthermore, the USB device has a large amount of stored data, so that the time required for executing one scanning operation is too long, and the phenomenon of scanning card pause is easy to occur. Therefore, batch scanning operation is required to be performed on the data in the USB device to avoid the phenomenon of too long scanning time.
Further, referring to fig. 7, the step of scanning the accessed external device for data includes:
step S11, determining the data type of the scanning data and the quantity of the scanning data in each batch;
step S12, performing batch scanning on the data in the external device according to the data type and the amount of the data scanned in each batch.
Before the television performs the batch scanning operation of the data in the USB device, the amount of the scanned data in each batch needs to be acquired, wherein the amount of the scanned data can be preset by the user or directly adopts the default value of the system. In addition, since the data in the USB device includes multiple data types, such as picture data, video data, and audio data, before performing a batch scanning operation of data, a tv background thread is started to scan all data in the USB directory, and a suffix name of the data is compared to determine which data file (picture, video, audio) the data belongs to, for example: if the suffix name of the data file is JPG, PNG, PDF, TIFF, SWF and the like, determining that the data is a picture; if the suffix name of the data file is FLV, RMVB, MP4, MVB and the like, determining that the data is a video; if the suffix name of the data file is WMA, MP3, etc., the data is determined to be audio. Further performing batch scanning operation of data in the USB device according to the data type and the amount of the data scanned in each batch, for example: if the scanning quantity of each batch preset by the user is 100, the television system can automatically detect the pictures in the USB equipment, and 100 pictures are scanned each time until all the pictures are scanned; automatically detecting videos in data in the USB equipment, and scanning 100 videos each time until all videos are scanned; the audio in the data in the USB device is automatically detected, and 100 audios are scanned each time until all audios are scanned. And if the scanning quantity of the current batch is less than 100, scanning according to the quantity of 100. Based on different data types, different scanning numbers can be set, such as 100 pictures per scanning, 50 videos per scanning, and 80 audios per scanning.
Optionally, based on different data types of the data, the time sequence of the scanning operation is also different, where the time sequence may be determined by the number corresponding to the data type or the storage space occupied by the data corresponding to the data type. For example: when the current USB device has 800 pictures, 100 videos, and 200 audios, the scanning operation of the pictures is performed first, then the scanning operation of the audios is performed, and finally the scanning operation of the videos is performed.
Step S20, determining the data type of the scanned data, determining the corresponding display content and the display mode according to the different data types, and displaying the corresponding display content on the terminal screen according to the determined display mode.
Because the scanned data types are different, the display contents and the display modes of the scanned data are also different, so that when the scanned data is displayed, the data type of the scanned data needs to be determined first, the corresponding display contents and the display modes are further determined according to the different data types, and the corresponding display contents are displayed on the television screen according to the determined display modes. The display contents of different data types are thumbnails corresponding to the data types, namely, the picture data, the video data and the audio data are respectively displayed on a menu page of the television in the form of the picture thumbnail, the video thumbnail and the audio thumbnail. Further, the thumbnail display size can be determined based on the size of a television screen, specifically, thumbnails corresponding to a picture, a video and an audio to be displayed are obtained, and a preset display size of the thumbnail is set according to the size of a display interface of a television menu, wherein the preset display size comprises a preset width or a preset height; comparing the display size of the obtained thumbnail to be displayed with a preset display size, if so, directly displaying the thumbnail to be displayed, and if not, adjusting the size of the thumbnail; the method for adjusting the size comprises the steps of zooming a thumbnail to be displayed in a mode of keeping the length-width ratio unchanged, enabling the width of the zoomed thumbnail to be equal to the preset display size if the preset display size is the preset width, and enabling the height of the zoomed thumbnail to be equal to the preset display size if the preset display size is the preset height; and displaying the adjusted thumbnail.
After determining the thumbnails displayed corresponding to the data types, further determining the display modes of the thumbnails, wherein the display modes of the thumbnails corresponding to the data types are all displayed in batch. For example: and displaying 100 expanded thumbnails on a television menu page, and displaying 100 expanded thumbnails when the user slides the screen to switch the display, namely displaying the same number of thumbnails each time the user slides the screen to switch the display until all thumbnails are displayed. If the number of thumbnails displayed in the last batch is less than 100, and if there are only 20 thumbnails in the last batch, 20 thumbnail images may be displayed as they are. Alternatively, the display size of the thumbnails may also be determined based on the number of thumbnails displayed per batch, for example: if the number of thumbnails to be displayed on the current television screen is 100, the size of each thumbnail can be set to be 2 x 3 cm; if the number of thumbnails to be displayed on the current television screen is 50, the size of each thumbnail may be set to 4 × 6 cm.
Further, referring to fig. 8, the step of displaying the corresponding display content on the terminal screen according to the determined display mode includes:
step S21, when the scanned data meets the set display condition, the data is updated to form the display content of the scanned data;
and step S22, displaying the display contents on the terminal screen in batches.
When the television receives a browsing instruction of data, whether the scanned data meet set display conditions is judged based on the browsing instruction, wherein the set display conditions include whether the number of displays in each batch exceeds a preset display number, whether the size of the corresponding display thumbnail of each data type meets requirements and the like, and the specific display conditions can be set by a user according to actual requirements, and are not limited herein. And if the quantity of the data displayed in each batch is less than or equal to the preset display quantity and the sizes of the data types corresponding to the display thumbnails respectively meet the requirements, updating the data to form the display content of the scanned data, and displaying the scanned data in batches on the terminal screen.
When the terminal is monitored to be accessed to the external equipment and the terminal starts the scanning service, the data in the external equipment are scanned in batches; determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode. By displaying the scanning data in batches, the problems that preview data is blocked and cannot be responded by previewing are solved, so that the data can be browsed smoothly, the data browsing time is saved, and the data browsing efficiency is improved.
Further, referring to fig. 3, a second embodiment of the display method of the data of the present application is proposed.
The second embodiment of the data display method is different from the first embodiment of the data display method in that the step of determining corresponding display contents and display modes according to different data types and displaying the corresponding display contents on the terminal screen according to the determined display modes comprises the following steps:
step S23, if the data type is pictures, displaying thumbnails of the pictures on the terminal screen in batches; or
Step S24, if the data type is video, displaying thumbnails of the video in batches on the terminal screen; or
And step S25, if the data type is audio, displaying thumbnails of the audio in batches on the terminal screen.
Since the external device stores a large amount of file data and the quality of the file is high, the file data needs to be processed and displayed in a thumbnail form in order to be able to quickly view the file data. For example: the large part of the pictures stored in the external equipment has the characteristics of large quantity, large size, high resolution and the like, namely the storage space occupied by the pictures is also larger and larger, when the pictures are browsed quickly, the problems of browsing jam, long response time and the like can occur, and when the pictures are displayed in a thumbnail mode, the quantity of the pictures which can be displayed each time is large, so that the needed pictures can be found quickly.
And if the data type is a picture, displaying thumbnails of the pictures on a television screen in batches. Specifically, a scanned picture stored in a memory is obtained, whether a standard thumbnail of the picture meets a display requirement is judged according to the display resolution requirement, and if the standard thumbnail of the picture meets the display requirement, the standard thumbnail of the picture data is displayed; and if the display requirement is not met, generating the thumbnail meeting the display resolution requirement according to the standard thumbnail of the picture.
And if the data type is a video, displaying the thumbnails of the video in batches on a television screen. Specifically, multiple frames of data are collected from a video file to obtain corresponding multiple still pictures, for example: after a plurality of static pictures in BMP format are collected from the video file, the static pictures in BMP format are further zoomed, so that static pictures in BMP format with proper size are obtained. The format of the acquired still picture is not limited, and other picture formats than the BMP format may be used. And then making the plurality of static pictures into an animation file as a video thumbnail of the video. When the current data type is determined to be a video, the video thumbnails are obtained from the memory to be displayed in batches, wherein a hyperlink is established between the video thumbnails and a video playing page displaying detailed video information, and a user clicks on the video thumbnails to enter the playing page of the video through the hyperlink, so that the detailed information of the selected video is seen in the video playing page.
And if the data type is audio, displaying thumbnails of the audio in batches on a television screen. In particular, a suitable segment of an audio file for a thumbnail is determined, generating a plurality of audio fingerprints, each audio fingerprint based in part on a plurality of audio frames of the audio file; generating one or more sets of fingerprint clusters based on all fingerprints within a set of clusters that satisfy an initial threshold representing similarity; creating a thumbnail of the audio file from a set of fingerprint clusters having at least two spaces between fingerprints in one or more sets of fingerprint clusters; wherein the distance is a time interval between two adjacent fingerprints that exceeds a predetermined threshold when the fingerprints in one of the one or more sets of fingerprint clusters are placed in chronological order. And when the current data type is determined to be audio, acquiring the audio thumbnail from the memory for displaying, for example, displaying by using a thumbnail of an audio name or displaying by using a thumbnail of an audio cover. And a hyperlink is established between the audio thumbnail and an audio playing page for playing the audio detailed information, and a user clicks the audio thumbnail to enter the audio playing page through the hyperlink, so that the detailed information of the selected audio is seen in the audio playing page.
According to the method and the device, when the data type of the scanned data is determined, the thumbnails corresponding to different data types are further determined, and the thumbnails corresponding to different data types are displayed on the television screen in batches, so that the problems that a user is blocked in browsing and cannot respond to browsing when the user browses the thumbnails quickly are solved.
Further, referring to fig. 4, a third embodiment of the display method of the data of the present application is proposed.
The third embodiment of the method for displaying data differs from the first and second embodiments of the method for displaying data in that the step of updating the data to form the display content of the scanned data comprises:
step S210, determining the data type of the data to be updated, and sending different updating information according to the data type;
and step S212, updating the data to form the display content of the scanned data according to the updating information.
After the batch scanning operation of the data in the external equipment is finished by the television, the data type of the data to be updated in the batch scanning operation is determined, different updating information is further sent according to different data types, the refreshing operation of the television menu interface is executed according to the updating information, so that the displayed file information of the menu page is different, and the scanned data after the refreshing operation is stored in the set storage. The updating information comprises the number of files, the names of the files, the sizes of the files, thumbnails corresponding to the files and the like. Specifically, if the data type of the data to be updated is a picture, sending update information of the picture, wherein the update information comprises the number of the pictures, the names of the pictures, the sizes of the pictures, thumbnails of the pictures and the like, executing refreshing operation of the pictures in a television menu page according to the update information of the pictures to obtain updated picture data, and storing the picture data into a memory A; if the data type of the data to be updated is a video, sending update information of the video, wherein the update information comprises the number of the video, the name of the video, the size of the video, a thumbnail of the video and the like, executing refreshing operation of the video in a television menu page according to the update information of the video to obtain updated video data, and storing the video data into a memory B; if the data type of the data to be updated is audio, sending update information of the audio, wherein the update information comprises the number of the audio, the name of the audio, the size of the audio, a thumbnail of the audio and the like, executing refreshing operation of the audio in a television menu page according to the update information of the audio to obtain updated audio data, and storing the audio data in a memory C. The update information is obtained by performing batch scanning operation, specifically, when the television performs data scanning operation, after screening out pictures, video files and audio files, further analyzing file data, and acquiring the number, name, size, path, modification time, creation time, description information, and the like of the file data.
The embodiment sends different updating information based on different data types, so that the scanning data obtained by scanning operation is refreshed to the display interface of the television menu in time, and the refreshed data is stored in the set memory, thereby ensuring the real-time integrity of the scanning data and avoiding the situation that the acquired scanning data is incomplete before the scanning data is displayed.
Further, referring to fig. 5, a fourth embodiment of the display method of the present application is proposed.
The fourth embodiment of the display method of data is different from the first, second and third embodiments of the display method of data in that the step of displaying the display contents on the terminal screen in batches includes:
step S220, obtaining the identification value of the memory corresponding to the data type;
step S221, if the identification value is a set value, acquiring the display content stored in the memory, and displaying the display content on the terminal screen.
When a television receives a display instruction of scanning data, acquiring an identification value of a memory corresponding to a data type, and further judging whether the identification value is a set value; wherein the identification value is used to identify the data status information of the current memory, such as whether the scan data has been completely stored. And if the identification value is the set value, acquiring the scanning data in the memory and displaying the scanning data on a television screen in batches. Specifically, a detection program of a memory identification value is arranged in the television, when the television receives a display instruction of scan data, the detection program is started to detect the identification values of the memory a, the memory B and the memory C, and when the obtained identification value of the memory is 1, the scanning type corresponding to each memory is indicated to complete information transmission, that is, the scan data of different data types are stored in the corresponding memories; when the acquired identification value of the memory is 0, it indicates that the scanning type corresponding to each memory does not complete information transmission. And acquiring scanning data with a memory identification value of 1, namely thumbnails of files, and displaying the thumbnails in batches on the television menu page.
In the embodiment, the identification value of the memory corresponding to the data type is acquired, and when the identification value is a set value, it is determined that the data in the memory is completely scanned and transmitted, so that the scanned data is displayed on the television screen in batches. The state information of the data in the memory is judged through the identification value of the memory, so that the corresponding scanning data in the memory can be accurately and quickly acquired.
Further, referring to fig. 6, a fifth embodiment of the display method of the present application is provided.
The fifth embodiment of the data display method is different from the above embodiments of the data display method in that, before the step of scanning the data in the accessed external device, the method further includes:
step S13, when a connection request of the external device is obtained, the external device larger than a preset storage space is applied according to the connection request;
and step S14, setting identification for the applied external device larger than the preset storage space.
When the number of files required to be stored by the USB device is large, the occupied storage space is also large, and the external device with a large enough storage space is required, so that when the television acquires the connection request of the external device, the external device larger than the preset storage space is applied according to the connection request, an identifier is set for the applied external device, and the identifier is stored in a target memory; the target memory is a preset identifier for storing the memory, and the identifier is mainly used for judging the state of the external device, such as a connection state or a disconnection state. Specifically, when the television monitors a connection request of the USB device, the external device with a storage space larger than 100GHz is applied based on the connection request, wherein the size of the applied storage space is determined by the size of data to be displayed currently. Further setting an identifier for the applied external device, for example: the identification is carried out by specific numbers or specific English letters.
Further, whether the external device is accessed in the television can be determined according to the identification value stored in the target memory. And if the identification value of the external equipment is a preset value, determining that the external equipment is accessed in the television. For example: when the identification value of the external device acquired by the television is 1, it is determined that the external device and the television are in a connected state, and the specific program expression may be: 0x01, indicating that the television system discovers an external device; 0x00, indicating that the television system does not discover an external device.
When the connection request of the external device is acquired, the external device larger than the preset storage space is applied based on the connection request, the identifier is set for the applied external device, and whether the external device and the television are in a connection state is judged based on the identifier value, so that the television can quickly detect the existence of the external device, and the detection operation time is shortened.
In addition, the present application also provides a display device of data, the display device includes:
the scanning module is used for scanning data in the accessed external equipment when the condition that the data scanning is met is monitored;
and the display module is used for determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on the terminal screen according to the determined display mode.
Further, the display module comprises a judging unit and a display unit;
the judging unit is used for updating the scanned data to form the display content of the scanned data when the scanned data meets the set display condition;
and the display unit is used for displaying the display contents on the terminal screen in batches.
Further, the display unit is further configured to display thumbnails of the pictures in batches on the terminal screen if the data type is a picture; or
The display unit is further configured to display thumbnails of the videos in batches on the terminal screen if the data type is a video; or
The display unit is further configured to display thumbnails of the audios in batches on the terminal screen if the data type is an audio.
Further, the determining unit is further configured to determine a data type of the data to be updated, and send different update information according to the data type;
the display unit is further used for updating the data to form the display content of the scanned data according to the updating information.
Further, the scanning module includes a determination unit and a scanning unit;
the determining unit is used for determining the data type of the scanning data and the quantity of the scanning data in each batch;
the scanning unit is used for scanning the data in the external equipment in batches according to the data type and the quantity of the data scanned in each batch.
Further, the display module further comprises an acquisition unit;
the acquisition unit is used for acquiring the identification value of the memory corresponding to the data type;
the display unit is further configured to acquire the display content stored in the memory and display the display content on the terminal screen if the identification value is a set value.
Further, the obtaining unit is further configured to, when obtaining a connection request of the external device, apply for the external device larger than a preset storage space according to the connection request;
the acquisition unit is further used for setting an identifier for the external equipment which applies for the external equipment is larger than the preset storage space.
The implementation of the functions of each module of the data display device is similar to the process in the embodiment of the method, and is not repeated here.
In addition, the application also provides a television, which comprises a memory, a processor and a display program of data stored in the memory and running on the processor, wherein when the television monitors that the USB equipment exists, the television judges that the scanning services of the detection background are all started; if the scanning service is started, batch scanning operation of files in the external equipment is executed based on the scanning service to obtain scanning data of each batch, and further, because the files comprise a plurality of data types, batch scanning operation of the files is executed based on different data types to obtain scanning data of each batch in different data types, and then the scanning data is displayed on a screen of a television in batches. Through automatically summarizing the data types of files in the external equipment, different scanning data are displayed in batches based on different data types, so that the phenomena that the files are jammed in browsing and cannot be browsed and cannot respond can be avoided when the files are browsed, the data browsing time is saved, and the data browsing efficiency is improved.
In addition, the present application also provides a computer-readable storage medium having stored thereon a display program of data, which when executed by a processor, implements the steps of the display method of data as described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for displaying data, the method comprising:
when the condition that the data scanning is met is monitored, scanning data in the accessed external equipment;
determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on a terminal screen according to the determined display mode.
2. The method for displaying data according to claim 1, wherein the step of displaying the corresponding display content on the terminal screen in the determined display manner comprises:
when the scanned data meet the set display conditions, updating the data to form the display content of the scanned data;
and displaying the display contents on the terminal screen in batches.
3. The data display method of claim 1, wherein the step of determining corresponding display contents and display modes according to different data types and displaying the corresponding display contents on the terminal screen according to the determined display modes comprises:
if the data type is a picture, displaying thumbnails of the pictures on the terminal screen in batches; or
If the data type is a video, displaying thumbnails of the video in batches on the terminal screen; or
And if the data type is audio, displaying thumbnails of the audio in batches on the terminal screen.
4. The method of claim 2, wherein the step of updating the data to form a display of scanned data comprises:
determining the data type of data to be updated, and sending different updating information according to the data type;
and updating the data to form the display content of the scanned data according to the updating information.
5. The method of claim 1, wherein the step of scanning the accessed external device for data comprises:
determining the data type of the scanning data and the quantity of the scanning data in each batch;
and scanning the data in the external equipment in batches according to the data type and the quantity of the data scanned in each batch.
6. The method for displaying data according to claim 2, wherein the step of displaying the display contents on the terminal screen in batches comprises:
acquiring an identification value of a memory corresponding to the data type;
and if the identification value is a set value, acquiring the display content stored in the memory, and displaying the display content on the terminal screen.
7. The method for displaying data according to claim 1, wherein the step of scanning the accessed external device is preceded by the steps of:
when a connection request of the external equipment is acquired, the external equipment larger than a preset storage space is applied according to the connection request;
and setting an identifier for the external equipment which is applied for and is larger than the preset storage space.
8. A display device of data, characterized in that the display device comprises:
the scanning module is used for scanning data in the accessed external equipment when the condition that the data scanning is met is monitored;
and the display module is used for determining the data type of the scanned data, determining corresponding display content and display mode according to different data types, and displaying the corresponding display content on the terminal screen according to the determined display mode.
9. A television comprising a memory, a processor and a display program of data stored on the memory and running on the processor, the processor when executing the display program of data implementing the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a display program of data which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202011128403.6A 2020-10-20 2020-10-20 Data display method and device, television and computer readable storage medium Pending CN112346684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011128403.6A CN112346684A (en) 2020-10-20 2020-10-20 Data display method and device, television and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011128403.6A CN112346684A (en) 2020-10-20 2020-10-20 Data display method and device, television and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112346684A true CN112346684A (en) 2021-02-09

Family

ID=74359396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011128403.6A Pending CN112346684A (en) 2020-10-20 2020-10-20 Data display method and device, television and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112346684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076566A (en) * 2021-04-26 2021-07-06 深圳市三旺通信股份有限公司 Display content detection method, device, computer program product and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608730A (en) * 2017-09-14 2018-01-19 光锐恒宇(北京)科技有限公司 A kind of application content loading method and device
CN108762850A (en) * 2018-05-31 2018-11-06 广州市美聚商盟文化发展有限公司 Dynamic loading method and system for webpage commodities
CN109753483A (en) * 2018-12-18 2019-05-14 努比亚技术有限公司 file management application page display method and device, mobile terminal and storage medium
CN110609598A (en) * 2019-09-02 2019-12-24 Oppo广东移动通信有限公司 Data scanning method, mobile terminal and non-volatile computer-readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608730A (en) * 2017-09-14 2018-01-19 光锐恒宇(北京)科技有限公司 A kind of application content loading method and device
CN108762850A (en) * 2018-05-31 2018-11-06 广州市美聚商盟文化发展有限公司 Dynamic loading method and system for webpage commodities
CN109753483A (en) * 2018-12-18 2019-05-14 努比亚技术有限公司 file management application page display method and device, mobile terminal and storage medium
CN110609598A (en) * 2019-09-02 2019-12-24 Oppo广东移动通信有限公司 Data scanning method, mobile terminal and non-volatile computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076566A (en) * 2021-04-26 2021-07-06 深圳市三旺通信股份有限公司 Display content detection method, device, computer program product and storage medium
CN113076566B (en) * 2021-04-26 2024-02-27 深圳市三旺通信股份有限公司 Display content detection method, apparatus, computer program product, and storage medium

Similar Documents

Publication Publication Date Title
KR101813196B1 (en) Method, device, program, and recording medium for video communication
US7716605B2 (en) Thumbnail image browsing method in an embedded system
CN111897507B (en) Screen projection method and device, second terminal and storage medium
CN112333474B (en) Screen projection method, system, equipment and storage medium
CN110012217B (en) Method and device for determining acquisition resolution and electronic equipment
CN110996154B (en) Video playing method and device and electronic equipment
WO2021179803A1 (en) Content sharing method and apparatus, electronic device and storage medium
CN104811745A (en) Video content displaying method and device
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
CN112351333A (en) Data transmission method, device and medium
CN110798701B (en) Video update pushing method and terminal
CN115396705A (en) Screen projection operation verification method, platform and system
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
CN112333508A (en) Video preview method, system, device and storage medium
CN111669641A (en) Media resource playing method, terminal and storage medium
CN105630498A (en) Application program display method and device and electronic equipment
CA3102425C (en) Video processing method, device, terminal and storage medium
CN112346684A (en) Data display method and device, television and computer readable storage medium
CN105653674B (en) File management method and system of intelligent terminal
CN110456999B (en) Program creation method, program creation device, electronic equipment and computer readable storage medium
CN109525839B (en) HDMI compatibility testing method and device, mobile terminal and readable storage medium
CN111444143A (en) Picture centralized picture display method and device and mobile terminal
CN108111905B (en) Channel list display method, smart television and computer readable storage medium
CN107688572B (en) Page display method and terminal
CN115460452A (en) Display device and channel playing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination