CN115002530A - Picture playing method and device, terminal equipment and computer readable storage medium - Google Patents

Picture playing method and device, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN115002530A
CN115002530A CN202210544923.8A CN202210544923A CN115002530A CN 115002530 A CN115002530 A CN 115002530A CN 202210544923 A CN202210544923 A CN 202210544923A CN 115002530 A CN115002530 A CN 115002530A
Authority
CN
China
Prior art keywords
picture
mode
output
playing
preset
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.)
Granted
Application number
CN202210544923.8A
Other languages
Chinese (zh)
Other versions
CN115002530B (en
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 Qianhai Moka Software Technology Co ltd
Original Assignee
Shenzhen Qianhai Moka Software 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 Qianhai Moka Software Technology Co ltd filed Critical Shenzhen Qianhai Moka Software Technology Co ltd
Priority to CN202210544923.8A priority Critical patent/CN115002530B/en
Publication of CN115002530A publication Critical patent/CN115002530A/en
Application granted granted Critical
Publication of CN115002530B publication Critical patent/CN115002530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a picture playing method, a picture playing device, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: responding to a picture output instruction; respectively determining a picture to be output and a corresponding preset picture playing mode according to the picture output instruction; determining a target picture output mode corresponding to a preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of the preset picture playing mode for playing the picture; and outputting the picture to be output according to the target picture output mode. The invention can realize the effect of compatibility of the playing speed and the definition of the picture in the process of playing the picture under different modes.

Description

Picture playing method and device, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of file playing technologies, and in particular, to a method and an apparatus for playing pictures, a terminal device, and a computer-readable storage medium.
Background
With the development of the smart television industry, playing pictures through a media player in the smart television has become an essential function of the smart television nowadays.
At present, there are two main ways of playing pictures through a media player in a smart television, one of which is to output pictures through a chip bottom interface in the smart television, and the other is to output pictures through an Application Programming Interface (API) in a smart television system. However, one of the two ways focuses on the sharpness of the picture being played, and the other focuses on the speed at which the picture is played.
In summary, the mode of playing pictures by a media player in an existing smart television cannot meet the requirements of playing speed and definition of pictures in the process of playing pictures in different modes.
Disclosure of Invention
The invention mainly aims to provide a picture playing method, a picture playing device, terminal equipment and a computer readable storage medium, and aims to meet the requirements of picture playing speed and definition in the process of playing pictures in different modes.
In order to achieve the above object, the present invention provides a picture playing method, including:
responding to a picture output instruction;
respectively determining a picture to be output and a corresponding preset picture playing mode according to the picture output instruction;
determining a target picture output mode corresponding to the preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of playing the picture in the preset picture playing mode;
and outputting the picture to be output according to the target picture output mode.
In addition, in order to achieve the above object, the present invention further provides a picture playing apparatus, including:
the response module is used for responding to the picture output instruction;
the first determining module is used for respectively determining the picture to be output and a corresponding preset picture playing mode according to the picture output instruction;
the second determining module is used for determining a target picture output mode corresponding to the preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of playing the picture in the preset picture playing mode;
and the playing module is used for outputting the picture to be output according to the target picture output mode.
In addition, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the image playing method comprises a memory, a processor and an image playing program which is stored on the memory and can run on the processor, wherein the steps of the image playing method are realized when the processor executes the image playing program.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a picture playing program is stored on the computer-readable storage medium, and when the picture playing program is executed by a processor, the steps of the picture playing method are implemented as described above.
Compared with the mode that the media player outputs the pictures in the existing intelligent television, the method and the device have the advantages that different picture output modes under the picture playing mode are configured in advance according to the speed requirements and the definition requirements for playing the pictures in different picture playing modes, so that the media player of the intelligent television can play the pictures with different types and sizes under different modes according to the corresponding playing speed requirements and the definition requirements, and the effect of being compatible with the playing speed and the definition of the pictures in the picture playing process is achieved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for playing a picture according to an embodiment of the present invention;
fig. 3 is a schematic view of a scene of picture playing according to an embodiment of the picture playing method of the present invention;
fig. 4 is a schematic view of another scene of picture playing according to an embodiment of the picture playing method of the present invention;
fig. 5 is a schematic view of an application flow related to an embodiment of a picture playing method according to the present invention;
fig. 6 is a schematic diagram of functional modules involved in an embodiment of a picture playing method according to the present invention;
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of a picture playing method of the present invention.
The implementation, functional features and advantages of the objects of the present invention 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 invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal device according to the embodiment of the present invention may specifically be a smart television that integrates an android system as an internal operating system, and of course, the terminal device may specifically be a mobile terminal device or a fixed terminal device such as a mobile phone, a tablet, a Personal Computer (PC), and the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. 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., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a picture playing program.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the terminal device of the present invention may be disposed in the terminal device, and the terminal device calls the picture playing program stored in the memory 1005 through the processor 1001 and executes the picture playing method provided by the embodiment of the present invention.
Based on the terminal device, various embodiments of the picture playing method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a picture playing method according to a first embodiment of the present invention. In this embodiment, the method for playing a picture according to the present invention may include:
step S10: and responding to the picture output instruction.
In this embodiment, in the process of starting operation, the terminal device receives an instruction for outputting and playing a picture in a preset playing mode, which is triggered by a user, and immediately responds to the instruction.
It should be noted that, in this embodiment, the preset play modes include a slide show mode, a picture frame mode, an electronic photo album mode, and a photo wall mode, and the various play modes are stored locally by the terminal device in advance for the user to select through a visual graphical interface output by the front-end screen of the terminal device. It should be understood that, based on design requirements of actual applications, in different feasible embodiments, the terminal device may also acquire, by downloading locally or from a cloud, other various play modes that are not listed in this embodiment, and the picture playing method of the present invention is not limited to specific types of the play modes.
Illustratively, for example, during the operation process of the smart television through the integrated android system, a visual graphical interface is output to the user to receive the instruction executed by the user to select the picture to be output and played and select the play mode of the picture to be output and played to trigger the corresponding output picture, so that the smart television receives the instruction in real time and immediately responds to the instruction.
Step S20: and respectively determining the pictures to be output and the corresponding preset picture playing modes according to the picture output instructions.
It should be noted that, in this embodiment, the preset picture playing mode is specifically a picture playing mode that is configured in advance by the terminal device and stored locally for outputting and playing the picture.
In this embodiment, when a terminal device responds to an instruction, triggered by a user, for outputting and playing a picture in a preset playing mode, first determining characteristics of pictures carried in the instruction, and determining, according to the characteristics, pictures with the same characteristics as pictures to be output from all pictures locally stored in the terminal device, and at the same time, by reading a data identifier of the playing mode used for playing the picture carried in the instruction, the terminal device determines, according to the data identifier, a picture playing mode pointed by the instruction and used for outputting and playing the picture in all picture playing modes locally stored in the terminal device.
Step S30: determining a target picture output mode corresponding to a preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of the preset picture playing mode for playing the picture.
It should be noted that, in this embodiment, the pre-configuring, by the terminal device, a picture output mode corresponding to a locally stored preset picture playing mode may specifically be: the terminal equipment is configured by receiving a configuration instruction triggered by a user in advance and according to the speed requirement and the definition requirement of playing the picture in a picture playing mode packaged in the configuration instruction.
In this embodiment, after acquiring a to-be-output picture pointed by an instruction for outputting a picture triggered by a user, and determining a picture playing mode pointed by the instruction and used for outputting and playing the picture according to the instruction, the terminal device further determines a speed requirement and a definition requirement for playing the picture corresponding to the picture playing mode to configure the obtained picture output mode.
Further, in a possible embodiment, the preset picture playing mode includes a frame mode, and the output mode corresponding to the preset picture playing mode includes: and outputting through a chip bottom interface, wherein the chip bottom interface is a first interface supporting a first standard algorithm preset in a built-in chip of the terminal device. The step S30 may specifically include:
step A301: if the preset picture playing mode is the picture frame mode, determining that a target picture output mode corresponding to the picture frame mode is a first output mode; the first output mode is determined based on that the definition requirement of playing the picture in the frame mode is higher than the speed requirement;
it should be noted that, in this embodiment, the terminal device receives a configuration instruction triggered by a user in advance, and when a picture is played in a frame mode according to the configuration instruction, the instruction content that the definition requirement is higher than the speed requirement is encapsulated by the configuration instruction, so as to configure the output mode corresponding to the frame mode as the first output mode that is output through the chip bottom interface of the terminal device.
In the embodiment, as shown in the application flow of fig. 5, when the terminal device responds to the instruction triggered by the user to output and play the picture in the preset playing mode, matching the data identifier of the picture playing mode used for playing the picture carried in the instruction with the data identifier of the picture frame mode which is configured in advance and stored locally by the terminal equipment, so as to detect and determine whether the picture playing mode for playing the picture pointed by the instruction is the frame mode according to the result obtained by matching, and then, if the terminal device detects and determines that the picture playing mode pointed to for playing the picture is the picture frame mode after the instruction triggered by the user for outputting and playing the picture through the preset playing mode is detected and determined, the terminal device further determines that the picture output mode corresponding to the frame mode is the first output mode.
Further, in a possible embodiment, the preset picture playing mode further includes a slide show mode, and the output mode corresponding to the preset picture playing mode further includes: a second output mode for outputting through the system native interface; the step S30 is to determine a target picture output mode corresponding to the preset picture playing mode, and may specifically include:
step B301: if the preset picture playing mode is a slide mode, determining the resolution of a picture to be output;
in this embodiment, as shown in the application flow of fig. 5, in addition to detecting whether the preset picture playing mode is the picture frame mode, when the terminal device responds to an instruction triggered by a user to output and play a picture through the preset playing mode, the terminal device matches the data identifier of the picture playing mode used for playing the picture carried in the instruction with the data identifier of the slide show mode that is pre-configured and stored locally by the terminal device, so as to detect and determine whether the picture playing mode pointed by the instruction for playing the picture is the slide show mode according to a result obtained by the matching, and then, if the terminal device matches the data identifier of the picture playing mode used for playing the picture carried in the instruction triggered by the user to output and play the picture through the preset playing mode with the data identifier of the slide show mode that is pre-configured and stored locally by the terminal device, therefore, when the picture playing mode pointed by the instruction and used for playing the picture is determined to be the slide show mode according to the matching result of the two data identifications, the terminal equipment further analyzes the resolution of the picture to be output and played through the slide show mode so as to obtain the resolution value of the picture to be output.
Step B302: if the resolution of the picture to be output is greater than the preset resolution, determining that the target picture output mode corresponding to the slide mode is a first output mode; wherein the first output mode is determined based on the slide mode that the definition requirement for playing the pictures is higher than the speed requirement;
in this embodiment, as shown in the application flow shown in fig. 5, after detecting and determining that an instruction for outputting and playing a picture in a preset playing mode triggered by a user is directed to the picture playing mode for playing the picture as a slideshow mode, and further analyzing a resolution of the picture pointed by the instruction and to be output and played in the slideshow mode, so as to obtain a resolution value of the picture to be output, the terminal device further compares the resolution value with a preset resolution, so that when it is determined that the resolution of the picture to be output is greater than the preset resolution, it is determined that an output mode for outputting and playing the picture to be output in the slideshow mode is also the first output mode.
It should be noted that, in this embodiment, the preset resolution may specifically be a resolution threshold value that is configured in advance by the terminal device and is locally stored. It should be understood that, based on different design requirements of practical applications, in different possible embodiments, the terminal device may configure resolution thresholds with different sizes, and the playing method of the picture in the present invention is not limited to a specific size of the preset resolution.
Step B303: if the resolution of the picture to be output is smaller than the preset resolution, determining that the target picture output mode corresponding to the slide mode is a second output mode; wherein the second output mode is determined based on the slide mode that the clarity requirement for playing the pictures is lower than the speed requirement.
It should be noted that, in this embodiment, the terminal device receives a configuration instruction triggered by a user in advance, and configures, according to an instruction content that is encapsulated by the configuration instruction and requires a definition lower than a speed requirement when a picture is played, an output mode corresponding to the preset picture playing mode as a second output mode that is output through a system native interface.
In this embodiment, as shown in the application flow shown in fig. 5, after detecting and determining that the instruction, triggered by the user, for outputting and playing the picture in the preset playing mode indicates that the picture playing mode pointed to for playing the picture is the slideshow mode, and further analyzing the resolution of the picture pointed to by the instruction and to be output and played in the slideshow mode, so as to obtain the resolution value of the picture to be output, the terminal device further compares the resolution value with the preset resolution, so that when it is determined that the resolution of the picture to be output is smaller than the preset resolution, it is determined that the output mode currently output and played for the picture to be output in the slideshow mode is the second output mode.
Further, in a possible embodiment, the preset picture playing mode further includes: the electronic album mode, in the step S30, determining the target picture output mode corresponding to the preset picture playing mode, may further include:
step C301: if the preset picture playing mode is the electronic album mode, determining that the target picture output mode corresponding to the electronic album mode is a second output mode; the second output mode is determined based on that the definition requirement of playing the pictures in the electronic album mode is lower than the speed requirement;
in this embodiment, as shown in the application flow shown in fig. 5, in addition to detecting whether the preset picture playing mode is the picture frame mode or the slide show mode, when the terminal device further responds to the instruction triggered by the user to play the pictures in the preset playing mode, the terminal device matches the data identifier of the picture playing mode for playing the pictures carried in the instruction with the data identifier of the electronic album mode pre-configured and stored locally by the terminal device, so as to detect and determine whether the picture playing mode pointed by the instruction for playing the pictures is the electronic album mode according to the matching result, and then, if the terminal device detects and determines the instruction triggered by the user to play the pictures in the preset playing mode, after the picture playing mode pointed by the terminal device is the electronic album mode, the terminal device further determines that the picture output mode corresponding to the electronic album mode is the second output mode.
Further, in a possible embodiment, the preset picture playing mode further includes: in the photo wall mode, in the step S30, the determining the target picture output mode corresponding to the preset picture playing mode may further include:
step D301: if the preset picture playing mode is a picture wall mode, determining the number of pictures to be output;
in this embodiment, as shown in the application flow shown in fig. 5, in addition to detecting whether the preset picture playing mode is the picture frame mode, the slide show mode and the electronic album, when the terminal device responds to the instruction triggered by the user to output and play the picture in the preset playing mode, the terminal device matches the data identifier of the picture playing mode for playing the picture carried in the instruction with the data identifier of the picture wall mode that is configured in advance and stored locally by the terminal device, so as to detect and determine whether the picture playing mode pointed by the instruction for playing the picture is the electronic album mode according to the result of the matching, and then, if the terminal device detects the data identifier of the picture playing mode for playing the picture carried in the instruction for outputting and playing the picture in the preset playing mode triggered by the user, and matching the data identification of the slide film mode which is preset by the terminal equipment and stored locally, so that when the picture playing mode which is pointed by the instruction and used for playing the picture is determined to be the picture wall mode according to the matching result of the data identification of the slide film mode and the data identification, the terminal equipment further reads the number of the pictures which are pointed by the instruction and need to be output and played through the picture wall mode at present, and judges whether the number is more than one.
Step D302: when the number of the pictures to be output is more than one, determining that the target picture output mode corresponding to the photo wall mode is a second output mode; the second output mode is determined based on that the definition requirement of playing the picture in the photo wall mode is lower than the speed requirement;
in this embodiment, as shown in the application flow illustrated in fig. 5, when the terminal device determines that the number of pictures that need to be output and played in the photo wall mode is greater than one, the terminal device determines that the clarity requirement for playing the pictures in the photo wall mode is lower than the speed requirement, so as to determine that the picture output mode corresponding to the photo mode at present is the second output mode.
Step D303: when the number of the pictures to be output is equal to one, determining that the target picture output mode corresponding to the photo wall mode is a first output mode; wherein the first output mode is determined based on that the definition requirement for playing the picture in the photo wall mode is higher than the speed requirement.
In this embodiment, as shown in the application flow shown in fig. 5, when the terminal device determines that the number of the pictures that need to be output and played in the photo wall mode at present is equal to one, the terminal device determines that the definition requirement of playing the pictures in the photo wall mode at present is higher than the speed requirement, so as to determine that the picture output mode corresponding to the photo mode at present is the first output mode.
Step S40: and outputting the picture to be output according to the target picture output mode.
In this embodiment, after determining a picture playing mode pointed by an instruction, triggered by a user, for outputting and playing a picture through a preset playing mode and determining a picture output mode corresponding to the picture playing mode, the terminal device immediately outputs and plays the picture in the picture playing mode according to the picture output mode.
For example, as shown in the application flow illustrated in fig. 5, after determining that a picture playing mode pointed by an instruction for outputting a picture triggered by a user is a picture frame mode and determining that a picture output mode corresponding to the picture frame mode is the first output mode, the terminal device immediately outputs the picture pointed by the instruction through a chip bottom layer interface according to the first output mode.
Or after determining that the picture playing mode pointed by the instruction for outputting the picture triggered by the user is the picture wall mode and determining that the picture output mode corresponding to the picture wall mode is the second output mode, the terminal device immediately outputs the multiple pictures pointed by the instruction according to the second output mode through the system native interface.
Further, in a possible embodiment, after the step S40, the method for playing pictures according to the present invention may further include:
step S50: receiving a picture switching instruction based on a preset gallery display area; wherein, a plurality of pictures to be output are displayed in the gallery display area;
it should be noted that, in this embodiment, the preset gallery display area is a functional area, which is displayed in a part of the display area of the picture and is used for the user to switch the picture to be output when the terminal device outputs and plays the picture through the front-end screen according to the first output mode or the second output mode, and in addition, the terminal device outputs and displays a plurality of pictures to be output in the gallery display area, which are used for the user to select to perform the picture switching output and play, based on a preset configuration operation.
In this embodiment, after the terminal device performs output playing on the picture in the above-mentioned picture output manner, that is, a gallery display area is displayed in a part of a display area where the picture is output and played on the front-end screen, and a plurality of pictures to be output are displayed in the gallery display area for a user to select and switch the picture to be output and played currently, so that the user can trigger a picture switching instruction by performing a selection operation in the plurality of pictures to be output, and the terminal device receives the picture switching instruction.
Step S60: responding to a picture switching instruction to select a target picture from a plurality of pictures to be output;
in this embodiment, after receiving a picture switching instruction triggered by a user through the gallery display area, when the terminal device immediately executes a selection operation by the user to trigger the picture switching instruction, a picture selected from a plurality of pictures to be output in the gallery display area is determined as a target picture selected by the picture switching instruction in the pictures to be output.
Step S70: and reading a target picture and outputting the target picture.
In this embodiment, the terminal device reads the target picture and immediately performs output playing on the target picture according to a picture output mode for outputting and playing the current picture.
For example, referring to fig. 4, for example, a smart television receives a configuration instruction preset by a user in advance through an integrated android system, the smart television configures a gallery display area in the display area of the smart television according to the instruction, and displays a plurality of pictures to be output in the gallery display area, when the smart television receives an instruction for switching pictures played by the terminal device based on the gallery display area, which is triggered by the user, through the integrated android system, the smart television reads a feature of a target picture in the instruction, compares the feature with a feature of the picture to be output in the gallery display area, loads the picture to be output with the same feature as the target picture, and simultaneously outputs a preset loading waiting picture, and when the target picture is loaded successfully, the smart television plays the target picture which is loaded successfully, and when the target picture fails to be loaded, the intelligent television plays the default picture which fails to be loaded.
It should be noted that, in this embodiment, when the terminal device outputs a plurality of pictures to be output through the gallery display area for the user to select, whether a duration that a cursor or a touch click operation used when the user performs a selection operation stays in an area where a certain picture to be output exceeds a preset duration (for example, whether the duration exceeds 0.3 second) may be specifically determined to determine that the picture to be output is a target picture selected by a picture switching instruction triggered by the user.
Further, in a possible embodiment, after the step S40, outputting the picture according to the picture output mode, the picture playing method of the present invention may further include:
step S80: receiving a picture operation instruction based on a preset operation instruction control; the number of the operation instruction controls is more than or equal to one;
it should be noted that, in this embodiment, the preset operation instruction control is a function control that is displayed in a part of a display area of the picture and is used for a user to select to perform a corresponding operation on the output picture when the terminal device outputs and plays the picture through the front-end screen according to the first output mode or the second output mode, and in addition, the number of the operation instruction controls that are displayed in the display area by the terminal device is greater than or equal to one.
In this embodiment, after the terminal device performs output and play on the picture in the above picture output manner, that is, one or more operation instruction controls are displayed in a part of a display area where the picture is output and played on the front-end screen, so that a user can trigger a picture operation instruction for the currently output picture by selecting the operation instruction control.
Step S90: and processing the outputted picture to be outputted according to the picture operation instruction to obtain an operated picture, and outputting the operated picture.
In this embodiment, when receiving a picture operation instruction for a currently output picture triggered by a user through selection of an operation instruction control, the terminal device immediately performs a corresponding operation on the picture according to instruction content of the picture operation instruction, and then further performs output playing on the picture after the operation according to a picture output mode for outputting the picture.
For example, referring to fig. 3, a smart television receives a configuration instruction preset by a user in advance through an integrated android system, the smart television configures an operation instruction control area in a display area of the smart television according to the instruction, and the number of operation instruction controls configured in the operation instruction control area is greater than or equal to one, when the smart television receives an instruction triggered by the user to operate a picture being played by the terminal device based on the operation instruction control area through the integrated android system, the smart television determines a feature of a target picture to be output in the instruction, and performs operations such as left rotation, right rotation, enlargement, reduction, manual/automatic switching, play mode switching, play time interval, background music selection and the like on the picture currently being played by the smart television according to the feature, when the feature of the picture currently being played by the smart television is modified to be consistent with the target picture to be output in the instruction, and outputting the target picture operated by the terminal equipment.
In this embodiment, first, in the operation process, the terminal device outputs a visual graphical interface to the user to receive an instruction executed by the user to select a picture to be output and played and select a playing mode for outputting and playing the picture to trigger a corresponding output picture, so that the terminal device receives the instruction in real time and immediately responds to the instruction, then, when the terminal device responds to the instruction for outputting and playing the picture in a preset playing mode triggered by the user, the terminal device first determines the characteristics of the picture carried in the instruction, determines the picture with the same characteristics as the picture to be output in all pictures stored locally in the terminal device according to the characteristics, and meanwhile, the terminal device reads a data identifier of the playing mode for playing the picture carried in the instruction, so that all picture playing modes are stored locally in the terminal device according to the data identifier, the picture playing mode pointed by the instruction and used for outputting and playing the picture is determined, and then the terminal device is configured in advance with a picture output mode corresponding to a locally preset picture playing mode, which may be specifically: the method comprises the steps that a terminal device receives a configuration instruction triggered by a user in advance, and configures the configuration instruction according to the speed requirement and the definition requirement of playing the picture in a picture playing mode packaged in the configuration instruction, and finally, the terminal device determines the picture playing mode pointed by the instruction of outputting and playing the picture in the preset playing mode triggered by the user, determines a picture output mode corresponding to the picture playing mode, and immediately outputs and plays the picture in the picture playing mode according to the picture output mode.
Compared with the mode that the media player outputs the pictures in the existing intelligent television, the method and the device have the advantages that different picture output modes under the picture playing mode are configured in advance according to the speed requirements and the definition requirements for playing the pictures in different picture playing modes, so that the media player of the intelligent television can play the pictures with different types and sizes under different modes according to the corresponding playing speed requirements and the definition requirements, and the effect of being compatible with the playing speed and the definition of the pictures in the picture playing process is achieved.
Further, the present invention also provides a picture playing device, please refer to fig. 6, fig. 6 is a schematic diagram of functional modules of an embodiment of the picture playing device of the present invention, as shown in fig. 6, the picture playing device of the present invention includes:
the response module is used for responding to the picture output instruction;
the first determining module is used for respectively determining the pictures to be output and the corresponding preset picture playing modes according to the picture output instructions;
the second determining module is used for determining a target picture output mode corresponding to the preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of the preset picture playing mode for playing the picture;
and the playing module is used for outputting the picture to be output according to the target picture output mode.
Further, the picture output mode includes: a first output mode for outputting through a chip bottom layer interface; the chip bottom layer interface is a first interface supporting a first standard algorithm preset in a built-in chip of the terminal equipment;
a first determination module comprising:
a first output mode determining unit: the image processing device is used for determining that a target image output mode corresponding to the picture frame mode is the first output mode if the preset picture playing mode is the picture frame mode; the first output mode is determined based on that the definition requirement for playing the picture in the frame mode is higher than the speed requirement.
Further, the picture output method further includes: a second output mode for outputting through the system native interface; the system native interface is a second interface supporting a second standard algorithm preset in an integrated native system in the terminal equipment;
the first determining module further comprises:
an analysis unit: the image processing device is used for determining the resolution of the image to be output if the preset image playing mode is a slide show mode;
a first output mode determining unit: the method comprises the steps of determining that a target picture output mode corresponding to the slide mode is a first output mode if the resolution of the picture to be output is greater than a preset resolution; wherein the first output mode is determined based on the slide mode that the definition requirement for playing the pictures is higher than the speed requirement;
a second output mode determining unit: the processing module is used for determining that the target picture output mode corresponding to the slide mode is the second output mode if the resolution of the picture to be output is smaller than the preset resolution; wherein the second output mode is determined based on the clarity requirement lower than the speed requirement for playing the pictures in the slide mode;
further, the first determining module further includes:
a second output mode determining unit: the electronic album playing module is used for determining that the target picture output mode corresponding to the electronic album mode is a second output mode if the preset picture playing mode is the electronic album mode; wherein the second output mode is determined based on the definition requirement of playing the pictures in the electronic album mode being lower than the speed requirement.
Further, the first determining module further includes:
a picture number determination unit: the picture display device is used for determining the number of the pictures to be output if the preset picture playing mode is a picture wall mode;
a first output mode determining unit: the image processing device is used for determining that the target image output mode corresponding to the photo wall mode is a second output mode when the number of the images to be output is more than one; the second output mode is determined based on that the definition requirement of playing the picture in the photo wall mode is lower than the speed requirement;
a second output mode determining unit: the image processing device is used for determining that the target image output mode corresponding to the photo wall mode is a first output mode when the number of the images to be output is equal to one; wherein the first output mode is determined based on that the definition requirement of the photo wall mode for playing the picture is higher than the speed requirement.
Further, the playing module includes:
a receiving switching instruction unit: the system comprises a display area, a picture switching instruction and a display control unit, wherein the display area is used for receiving a picture switching instruction based on a preset gallery display area; wherein, a plurality of pictures to be output are displayed in the gallery display area;
a response unit: a target picture selected from the plurality of pictures to be output in response to the picture switching instruction;
an output unit: and the image processing module is used for reading the target image and outputting the target image.
Further, the playing module further includes:
a receiving operation instruction unit: the picture operation command receiving module is used for receiving a picture operation command based on a preset operation command control; the number of the operation instruction controls is more than or equal to one;
an output unit: and the image processing device is used for processing the output image to be output according to the image operation instruction to obtain an operated image and outputting the operated image.
The present invention also provides a terminal device, including: the image playing method comprises a memory, a processor and an image playing program which is stored on the memory and can be run on the processor, wherein the steps of the image playing method are realized when the processor executes the image playing program.
The specific embodiment of the terminal device of the present invention is basically the same as the embodiments of the above-mentioned picture playing method, and will not be described herein again.
The invention also provides a computer readable storage medium. Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
The present invention also provides a computer-readable storage medium, on which a picture playing program is stored, which when executed by a processor implements the steps of the picture playing method as described above.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the image playing method described above, and is not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, where the Computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk) as described above, and includes several instructions to enable a terminal device (which may be a smart television with an android system integrated as an internal operating system, and of course, the terminal device may also be a mobile terminal device or a fixed terminal device such as a mobile phone, a tablet and a PC (Personal Computer, etc.) to execute the method of each embodiment of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for playing a picture, comprising:
responding to a picture output instruction;
respectively determining a picture to be output and a corresponding preset picture playing mode according to the picture output instruction;
determining a target picture output mode corresponding to the preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of playing the picture in the preset picture playing mode;
and outputting the picture to be output according to the target picture output mode.
2. The method of claim 1, wherein the picture output mode comprises: a first output mode for outputting through a chip bottom layer interface; the method for determining the target picture output mode corresponding to the preset picture playing mode comprises the following steps of:
if the preset picture playing mode is a picture frame mode, determining that a target picture output mode corresponding to the picture frame mode is the first output mode; the first output mode is determined based on that the definition requirement for playing the picture in the picture frame mode is higher than the speed requirement.
3. The method of claim 1, wherein the picture output mode comprises: a second output mode for outputting through the system native interface; the method for determining the target picture output mode corresponding to the preset picture playing mode includes the following steps:
if the preset picture playing mode is a slide show mode, determining the resolution of the picture to be output;
if the resolution ratio of the picture to be output is larger than the preset resolution ratio, determining that the target picture output mode corresponding to the slide mode is a first output mode; wherein the first output mode is determined based on the clarity requirement of playing pictures in the slide mode being higher than the speed requirement; or,
if the resolution of the picture to be output is smaller than the preset resolution, determining that the target picture output mode corresponding to the slide mode is the second output mode; wherein the second output mode is determined based on the slide mode that the clarity requirement for playing the pictures is lower than the speed requirement.
4. The method as claimed in claim 1, wherein the determining the target picture output mode corresponding to the preset picture playing mode comprises:
if the preset picture playing mode is the electronic album mode, determining that a target picture output mode corresponding to the electronic album mode is a second output mode; and the second output mode is determined based on that the definition requirement of playing the pictures in the electronic album mode is lower than the speed requirement.
5. The method of claim 1, wherein the determining the target picture output mode corresponding to the preset picture playing mode comprises:
if the preset picture playing mode is a picture wall mode, determining the number of the pictures to be output;
when the number of the pictures to be output is more than one, determining that the target picture output mode corresponding to the picture wall mode is a second output mode; the second output mode is determined based on that the definition requirement for playing the picture in the photo wall mode is lower than the speed requirement; or,
when the number of the pictures to be output is equal to one, determining that a target picture output mode corresponding to the picture wall mode is a first output mode; wherein the first output mode is determined based on that the definition requirement for playing the picture in the photo wall mode is higher than the speed requirement.
6. The method according to any one of claims 1-5, wherein after the picture to be output is output according to the target picture output mode, the method further comprises:
receiving a picture switching instruction based on a preset gallery display area; wherein, a plurality of pictures to be output are displayed in the gallery display area;
responding to the picture switching instruction to select a target picture in the pictures to be output;
and reading the target picture and outputting the target picture.
7. The method according to any one of claims 1-5, wherein after the picture to be output is output according to the target picture output mode, the method further comprises:
receiving a picture operation instruction based on a preset operation instruction control; the number of the operation instruction controls is more than or equal to one;
and processing the outputted picture to be outputted according to the picture operation instruction to obtain an operated picture, and outputting the operated picture.
8. A picture playback apparatus, comprising:
the response module is used for responding to the picture output instruction;
the first determining module is used for respectively determining the pictures to be output and the corresponding preset picture playing modes according to the picture output instructions;
the second determining module is used for determining a target picture output mode corresponding to the preset picture playing mode; the target picture output mode is determined based on the speed requirement and the definition requirement of playing the picture in the preset picture playing mode;
and the playing module is used for outputting the picture to be output according to the target picture output mode.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor and a picture playing program stored on the memory and operable on the processor, the processor implementing the steps of the picture playing method according to any one of claims 1 to 7 when executing the picture playing program.
10. A computer-readable storage medium, on which a picture playing program is stored, which when executed by a processor implements the steps of the picture playing method according to any one of claims 1 to 7.
CN202210544923.8A 2022-05-19 2022-05-19 Picture playing method and device, terminal equipment and computer readable storage medium Active CN115002530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210544923.8A CN115002530B (en) 2022-05-19 2022-05-19 Picture playing method and device, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210544923.8A CN115002530B (en) 2022-05-19 2022-05-19 Picture playing method and device, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115002530A true CN115002530A (en) 2022-09-02
CN115002530B CN115002530B (en) 2024-08-30

Family

ID=83026729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210544923.8A Active CN115002530B (en) 2022-05-19 2022-05-19 Picture playing method and device, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115002530B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661587A (en) * 2004-02-27 2005-08-31 上海捷硕微电子有限公司 Dynamic electronic album and control method
JP2006319885A (en) * 2005-05-16 2006-11-24 Sharp Corp Playback apparatus, playback program, and computer readable recording medium with playback program recorded thereon
US20090002379A1 (en) * 2007-06-30 2009-01-01 Microsoft Corporation Video decoding implementations for a graphics processing unit
US20100245391A1 (en) * 2009-03-27 2010-09-30 Wistron Corporation Computer screen image displaying method, computer having a vertical display device, and computer program product
CN102404624A (en) * 2011-11-07 2012-04-04 深圳市佳创视讯技术股份有限公司 All-format media player capable of supporting hardware decoding for digital STB (Set Top Box)
CN103561328A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Method and device for playing of smart television and smart television
CN106157988A (en) * 2016-07-25 2016-11-23 合网络技术(北京)有限公司 Play the method and device of multimedia file
CN106488282A (en) * 2016-11-23 2017-03-08 腾讯科技(北京)有限公司 A kind of output control method of multimedia messages and mobile terminal
WO2018000676A1 (en) * 2016-07-01 2018-01-04 深圳创维-Rgb电子有限公司 Method and device for configuring image mode
CN109068159A (en) * 2018-09-20 2018-12-21 何建民 Digital Media circuit system, digital medium player and method based on MIPS framework TV SoC chip
CN110516179A (en) * 2019-08-07 2019-11-29 Oppo广东移动通信有限公司 Method for rendering graph, device, electronic equipment and storage medium
CN110636370A (en) * 2018-06-25 2019-12-31 阿里巴巴集团控股有限公司 Video processing method and device, electronic equipment and readable medium
CN114071153A (en) * 2021-10-21 2022-02-18 深圳创想电子技术有限公司 Multi-format high-definition video decoding system with software and hardware combined decoding function

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661587A (en) * 2004-02-27 2005-08-31 上海捷硕微电子有限公司 Dynamic electronic album and control method
JP2006319885A (en) * 2005-05-16 2006-11-24 Sharp Corp Playback apparatus, playback program, and computer readable recording medium with playback program recorded thereon
US20090002379A1 (en) * 2007-06-30 2009-01-01 Microsoft Corporation Video decoding implementations for a graphics processing unit
US20100245391A1 (en) * 2009-03-27 2010-09-30 Wistron Corporation Computer screen image displaying method, computer having a vertical display device, and computer program product
CN102404624A (en) * 2011-11-07 2012-04-04 深圳市佳创视讯技术股份有限公司 All-format media player capable of supporting hardware decoding for digital STB (Set Top Box)
CN103561328A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Method and device for playing of smart television and smart television
WO2018000676A1 (en) * 2016-07-01 2018-01-04 深圳创维-Rgb电子有限公司 Method and device for configuring image mode
CN106157988A (en) * 2016-07-25 2016-11-23 合网络技术(北京)有限公司 Play the method and device of multimedia file
CN106488282A (en) * 2016-11-23 2017-03-08 腾讯科技(北京)有限公司 A kind of output control method of multimedia messages and mobile terminal
CN110636370A (en) * 2018-06-25 2019-12-31 阿里巴巴集团控股有限公司 Video processing method and device, electronic equipment and readable medium
CN109068159A (en) * 2018-09-20 2018-12-21 何建民 Digital Media circuit system, digital medium player and method based on MIPS framework TV SoC chip
CN110516179A (en) * 2019-08-07 2019-11-29 Oppo广东移动通信有限公司 Method for rendering graph, device, electronic equipment and storage medium
CN114071153A (en) * 2021-10-21 2022-02-18 深圳创想电子技术有限公司 Multi-format high-definition video decoding system with software and hardware combined decoding function

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SIYU YANG等: "A Hardware-Accelerated System for High Resolution Real-Time Screen Sharing", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》, vol. 29, no. 3, 31 March 2019 (2019-03-31), XP011714238, DOI: 10.1109/TCSVT.2018.2809690 *
吴胜兵: "基于海思Hi3521A芯片H264编解码视频传输", 《中国优秀硕士学位论文全文数据库》, no. 1, 15 January 2022 (2022-01-15) *
高得鑫等: "一种多视点自由立体高清视频播放器的设计与实现", 《电子技术应用》, no. 12, 31 December 2011 (2011-12-31) *

Also Published As

Publication number Publication date
CN115002530B (en) 2024-08-30

Similar Documents

Publication Publication Date Title
CN108416825B (en) Dynamic graph generation device, method and computer readable storage medium
JP7043407B2 (en) Display method and terminal
US9779228B2 (en) Touchscreen unlocking method and apparatus
CN112181554B (en) Interactive interface display method, device, electronic device and storage medium
US20140189516A1 (en) Video preview display method and terminal device
CN107748615B (en) Screen control method and device, storage medium and electronic equipment
CN107577472B (en) Software installation method and device and computer readable storage medium
US20170366832A1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN110019464B (en) Page processing method and device
CN111796896A (en) Theme switching method of application page and related equipment
CN112579187A (en) Optimization method and device for cold start of application program
CN111435277A (en) Method, device, terminal and storage medium for displaying content
CN111694490B (en) Setting method and device and electronic equipment
CN111209065A (en) Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111367457A (en) Content sharing method and device and electronic equipment
US11016788B2 (en) Application launching method and display device
CN111061414A (en) Skin replacement method and device, electronic equipment and readable storage medium
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN105373370B (en) Control display method and device
CN109814953B (en) Wearable device view processing method and device, wearable device and storage medium
CN115002530B (en) Picture playing method and device, terminal equipment and computer readable storage medium
CN108600838B (en) Information source switching method and device for Android television, Android television and readable storage medium
CN112740161A (en) Terminal, method for controlling terminal, and recording medium having recorded therein program for implementing the method
CN108734556A (en) Recommend the method and device of application
CN109032728B (en) UI (user interface) display method, intelligent terminal and computer-readable storage medium

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
GR01 Patent grant
GR01 Patent grant