CN105872754B - Picture display method and device and electronic equipment - Google Patents

Picture display method and device and electronic equipment Download PDF

Info

Publication number
CN105872754B
CN105872754B CN201610112691.3A CN201610112691A CN105872754B CN 105872754 B CN105872754 B CN 105872754B CN 201610112691 A CN201610112691 A CN 201610112691A CN 105872754 B CN105872754 B CN 105872754B
Authority
CN
China
Prior art keywords
picture
played
electronic equipment
video
space size
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.)
Expired - Fee Related
Application number
CN201610112691.3A
Other languages
Chinese (zh)
Other versions
CN105872754A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610112691.3A priority Critical patent/CN105872754B/en
Publication of CN105872754A publication Critical patent/CN105872754A/en
Application granted granted Critical
Publication of CN105872754B publication Critical patent/CN105872754B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a picture display method, which comprises the following steps: when an instruction for playing a picture to be displayed is received, detecting whether the picture to be displayed carries a playing identifier; when the picture to be displayed is determined to carry the playing identifier, performing video format conversion on the picture to be displayed to obtain a video file to be played; and playing the video file to be played. The embodiment of the invention also discloses a picture display device and electronic equipment. By adopting the invention, the electronic equipment can dynamically display the picture, the display effect of the picture is enriched, and the user experience is improved.

Description

A kind of display methods of picture, device and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of display methods of picture, device and electronic equipment.
Background technique
With the development of electronic technology, the electronic equipment with camera function is more and more common, and people can use electronics Equipment is taken pictures to record the excellent picture in life.
And currently, some electronic equipments can also record one section of dynamic video before and after photograph taking, work as user's operation When photo plays out, electronic equipment will play the dynamic effect taken pictures automatically, reappear dynamic transient.As mobile phone model is Iphone 6s mobile phone can record one section of 1.5 seconds dynamic video before and after photograph taking, when again user presses one on photo Under, the dynamic effect of photo will be played automatically.This makes photo become fresh and alive, effectively improves user experience.
But have the electronic equipment for the dynamic video function of recording one section before and after photograph taking not simultaneous to other at present When holding electronic equipment (electronic equipment of such as Android system) the progress share photos of the function, due to receiving the electronic equipment of photo It can not be played without the function of playing the photo dynamic effect so that electronic equipment is only only capable of displaying the tableaux of photo The dynamic effect of photo reduces user experience.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing and a kind of display methods of picture, device and electricity Sub- equipment.Can solve the dynamic effect problem for how playing photo.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of display methods of picture, comprising:
When receiving the instruction played out to picture to be shown, detect whether the picture to be shown carries broadcasting mark Know symbol;
When determining that the picture to be shown carries the broadcast identifier, the picture to be shown is subjected to video format Conversion, obtains video file to be played;
Play the video file to be played.
Wherein, include: after the broadcasting video to be played
The video to be played is subjected to picture format conversion, obtains the picture to be shown;
Show the picture to be shown.
Wherein, described when receiving the instruction played out to picture to be shown, whether detect the picture to be shown Include: before carrying broadcast identifier
Obtain space size occupied by picture to be shown;
Detect whether space size occupied by the picture to be shown meets preset condition;
When determining that space size occupied by the picture to be shown meets preset condition, by preset broadcast identifier It is added in the picture to be shown.
Wherein, whether space size occupied by the detection picture to be shown meets preset condition and includes:
Detect the ratio occupied by the picture to be shown between space size and preset target value whether be greater than it is pre- If threshold value;
It is preset when determining that the ratio occupied by the picture to be shown between space size and preset target value is greater than When threshold value, determine that space size occupied by the picture to be shown meets preset condition.
Wherein, the ratio occupied by the detection picture to be shown between space size and preset target value is It is no to include: before greater than preset threshold
Obtain the target device identifier of electronic equipment;
According to the corresponding relationship of preset device identifier and numerical value, mesh corresponding to the target device identifier is obtained Mark numerical value.
Wherein, described to include: after determining that space size occupied by the picture to be shown meets preset condition
The picture to be shown is subjected to video format conversion, obtains video to be played;
Whether abnormal detect the video to be played;
If the video to be played without abnormal, execute described preset broadcast identifier is added to it is described to be shown Step in picture.
Correspondingly, the embodiment of the present invention also provides a kind of display device of picture, and described device includes:
First detection unit, for detecting described to be shown when receiving the instruction played out to picture to be shown Whether picture carries broadcast identifier;
First converting unit, for carrying the broadcast identifier when the first detection unit detection picture to be shown When, the picture to be shown is subjected to video format conversion, obtains video file to be played;
Broadcast unit, for playing the video file to be played.
Wherein, described device further include:
Second converting unit obtains the picture to be shown for the video to be played to be carried out picture format conversion;
Display unit, for showing the picture to be shown.
Wherein, described device includes:
Acquiring unit, for obtaining space size occupied by picture to be shown;
Second detection unit, for detecting whether space size occupied by the picture to be shown meets preset condition;
Adding unit, for when second detection unit detect space size occupied by the picture to be shown meet it is preset When condition, preset broadcast identifier is added in the picture to be shown.
Wherein, the second detection unit includes:
Detection sub-unit, for detecting occupied by the picture to be shown between space size and preset target value Whether ratio is greater than preset threshold;
When detection sub-unit detects the ratio occupied by the picture to be shown between space size and preset target value When value is greater than preset threshold, second detection unit detects space size occupied by the picture to be shown and meets preset condition.
Wherein, the second detection unit includes:
First obtains subelement, for obtaining the target device identifier of electronic equipment;
Second acquisition subelement obtains the target for the corresponding relationship according to preset device identifier and numerical value Target value corresponding to device identifier.
Wherein, the adding unit includes:
Conversion subunit obtains video to be played for the picture to be shown to be carried out video format conversion;
Whether detection sub-unit is abnormal for detecting the video to be played;
Subelement is added, for detecting the video to be played without abnormal, by preset broadcasting mark when detection sub-unit Know symbol to be added in the picture to be shown.
Correspondingly, the embodiment of the invention also provides a kind of electronic equipment, the electronic equipment include: shell, processor, Memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are set It sets on circuit boards;Power circuit, for each circuit or the device power supply for electronic equipment;Memory is executable for storing Program code;Processor is corresponding with executable program code to run by reading the executable program code stored in memory Program, with for executing following steps:
When receiving the instruction played out to picture to be shown, detect whether the picture to be shown carries broadcasting mark Know symbol;
When determining that the picture to be shown carries the broadcast identifier, the picture to be shown is subjected to video format Conversion, obtains video file to be played;
Play the video file to be played.
Correspondingly, the embodiment of the invention also provides a kind of storage mediums, wherein the storage medium applies journey for storing Sequence, the application program for executing a kind of display methods of picture described in the embodiment of the present invention at runtime.
Correspondingly, the embodiment of the invention also provides a kind of application programs, wherein the application program for holding at runtime A kind of display methods of picture described in the row embodiment of the present invention.
The implementation of the embodiments of the present invention has the following beneficial effects:
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of first embodiment flow diagram of the display methods of picture provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment flow diagram of the display methods of picture provided in an embodiment of the present invention;
Fig. 3 is a kind of first embodiment structure chart of the display device of picture provided in an embodiment of the present invention;
Fig. 4 is a kind of second embodiment structure chart of the display device of picture provided in an embodiment of the present invention;
Fig. 5 is the first embodiment structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
For convenience, using electronic equipment as the executing subject in the embodiment of the present invention, described electronic equipment It can be the electronic equipments such as smart phone, the tablet computer with shooting function.Above-mentioned electronic equipment is only citing, rather than poor It lifts, including but not limited to above-mentioned electronic equipment.
It referring to Figure 1, is a kind of first embodiment flow diagram of the display methods of picture of the present invention.As shown in Figure 1, A kind of display methods of picture described in the present embodiment comprising steps of
S100 detects whether the picture to be shown carries when receiving the instruction played out to picture to be shown Broadcast identifier.
In embodiments of the present invention, the operating system of electronic equipment can be android system, Windows system or IOS system.Preferably, the operating system of electronic equipment be android system, android system be it is a kind of based on Linux from By and open source code operating system, portable equipment is mainly used for, such as smart phone and tablet computer.
In embodiments of the present invention, picture to be shown is the picture that user is operated, and picture to be shown can be electronics The picture that equipment is shot by camera is also possible to the picture that other electronic equipments that electronic equipment receives are sent.When with When family need to check the Dynamic Graph of picture to be shown, user can input the instruction played out to picture to be shown, such as user's long-pressing Picture to be shown, electronic equipment can receive the instruction played out to picture to be shown.Wherein, user can also be to figure to be shown Piece carries out other operations, so that electronic equipment can receive the instruction played out to picture to be shown.
In embodiments of the present invention, broadcast identifier, which is used to indicate, is converted to playable video file for picture, is to take Picture with broadcast identifier can carry out being converted to playable video file.When picture to be shown can be exchanged into playable video When file, picture to be shown can carry broadcast identifier;It is to be shown when picture is not available for being converted to playable video file Picture does not carry broadcast identifier.Therefore, in embodiments of the present invention, picture to be shown is carried out when electronic equipment receives When the instruction of broadcasting, electronic device-readable takes information entrained by picture to be shown, detects information entrained by picture to be shown It whether include that broadcast identifier determines to be shown when detecting information entrained by picture to be shown includes broadcast identifier Picture carry broadcast identifier, when detecting information entrained by picture to be shown not includes broadcast identifier, determine to Display picture does not carry broadcast identifier.
S101 regards the picture to be shown when determining that the picture to be shown carries the broadcast identifier The conversion of frequency format, obtains video file to be played.
In embodiments of the present invention, when electronic equipment determines that picture to be shown carries broadcast identifier, electronic equipment will Picture to be shown carries out video format conversion, obtains video file to be played.Such as when the format of picture to be shown is .jpeg picture When format, electronic equipment can be by the video file to be played for the video format that picture unsteady state operation to be shown is .rmbv, further , picture unsteady state operation to be shown can also be the video file to be played of other video formats by electronic equipment, as avi, The video file to be played of the video formats such as wmv, mpeg, mp4, mov, mkv.
S102 plays the video file to be played.
In embodiments of the present invention, after picture to be shown is converted to video file to be played by electronic equipment, electronics is set It is standby to play video file to be played, so that static picture can be carried out Dynamically Announce by electronic equipment, realizes and play figure to be shown The effect of the Dynamic Graph of piece.
In embodiments of the present invention, after electronic equipment plays video file to be played, electronic equipment can will be to be played Video file carries out picture format conversion, obtains picture to be shown, such as can be by the video file to be played of the video format of .rmbv Unsteady state operation be .jpeg picture format picture to be shown, wherein picture format can be .bmp .jpg .GIFf .gif, .pcx, the picture formats such as .tga .exif .fpx .svg.After electronic equipment obtains picture to be shown, electronic equipment can be shown Picture to be shown.
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Fig. 2 is referred to, for a kind of second embodiment flow diagram of the display methods of picture of the present invention.As shown in Fig. 2, A kind of display methods of picture described in the present embodiment comprising steps of
S200 obtains space size occupied by picture to be shown.
In embodiments of the present invention, when electronic equipment receives picture to be shown, electronic equipment calculates picture to be shown Occupied space size, wherein it is empty that space size occupied by picture to be shown specifically can be the occupied storage of picture to be shown Between size.In a particular application, can be such as when picture size to be shown be 20M, electronic equipment, which can calculate, obtains figure to be shown Space size occupied by piece is 20M.
In embodiments of the present invention, electronic equipment can also be by the figure to be shown stored in preset intermittent scanning electronic equipment Piece obtains the size in space occupied by picture to be shown.
S201, detects whether space size occupied by the picture to be shown meets preset condition.
In embodiments of the present invention, electronic equipment can detecte space size occupied by picture to be shown and preset target Whether the ratio between numerical value is greater than preset threshold value.Wherein, preset target value can be electronic equipment and be set by electronics Space size occupied by picture captured by standby camera.Further, preset target value can also be electronic equipment Pass through maximum space size occupied by picture captured by camera of electronic equipment.Since current having is converted to playable view The occupied space size of the picture of frequency file is 2 times of normal picture mostly, therefore preset threshold value can be 2 or preset Threshold value can be a range, and such as preset threshold value can be numerical value of the range between (1.8,2.2).Wherein, preset threshold Value can also be user's self-setting, not limit herein.
In embodiments of the present invention, electronic equipment can also obtain the target device identifier of electronic equipment, and according to pre- The corresponding relationship of the device identifier and numerical value set obtains target value corresponding to object identifier, therefore, preset target Numerical value can also be target value corresponding to target device identifier.Wherein, device identifier can be used for identifying electronics and set Standby model, device identifier can be EIC equipment identification code, if the corresponding EIC equipment identification code of XXX model mobile phone is 0001, wherein The electronic equipment of each model has its unique EIC equipment identification code, and therefore, electronic equipment can be with by EIC equipment identification code Identify electronic equipment corresponding to EIC equipment identification code.Target device identifier is the equipment mark of executing subject electronic equipment itself Know symbol.
Further, in embodiments of the present invention, electronic equipment can establish the corresponding relationship of device identifier and numerical value. Wherein, electronic equipment establishes device identifier and the corresponding relationship of numerical value may is that electronic equipment obtains other electronic equipments pair The device identifier answered, and space size occupied by picture captured by other electronic equipments is obtained as numerical value, to build The corresponding relationship of vertical device identifier and numerical value.
S202, when determining that space size occupied by the picture to be shown meets preset condition, by preset broadcasting Identifier is added in the picture to be shown
In embodiments of the present invention, when electronic equipment determines that space size occupied by picture to be shown meets preset condition Later, picture to be shown can also be carried out video format conversion by electronic equipment, obtain video file to be played, and detect to be played Whether whether video file is abnormal, wherein detect video file to be played and can be extremely and treat after playing video file carries out Platform play, detect whether dynamic menu occur, if detect there is dynamic menu if can determine that video file to be played is not different Often.When electronic equipment detects video file to be played without exception, preset broadcast identifier is added to institute by electronic equipment It states in picture to be shown.
S203 detects whether the picture to be shown carries when receiving the instruction played out to picture to be shown Broadcast identifier.
S204 regards the picture to be shown when determining that the picture to be shown carries the broadcast identifier The conversion of frequency format, obtains video file to be played.
S205 plays the video file to be played.
In embodiments of the present invention, step S203, step S204, step S205 specific embodiment may refer to it is above-mentioned The specific embodiment of a kind of step S100 of embodiment, step S101 and step S102, this will not be repeated here.
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Fig. 3 is referred to, for a kind of first embodiment flow diagram of the display device of picture of the present invention.As shown in figure 3, A kind of display device of picture described in the present embodiment includes:
First detection unit 100, for when receiving the instruction played out to picture to be shown, detection to be described to aobvious Whether diagram piece carries broadcast identifier.
First converting unit 200, for carrying the broadcasting mark when the first detection unit detection picture to be shown The picture to be shown is carried out video format conversion, obtains video file to be played by Fu Shi.
Broadcast unit 300, for playing the video file to be played.
In embodiments of the present invention, the display device of described picture concretely electronic equipment, can also set for electronics Some functional module in standby, will simply be described explanation by taking electronic equipment as an example below.
In embodiments of the present invention, the operating system of electronic equipment can be android system, Windows system or IOS system.Preferably, the operating system of electronic equipment be android system, android system be it is a kind of based on Linux from By and open source code operating system, portable equipment is mainly used for, such as smart phone and tablet computer.
In embodiments of the present invention, picture to be shown is the picture that user is operated, and picture to be shown can be electronics The picture that equipment is shot by camera is also possible to the picture that other electronic equipments that electronic equipment receives are sent.When with When family need to check the Dynamic Graph of picture to be shown, user can input the instruction played out to picture to be shown, such as user's long-pressing Picture to be shown, electronic equipment can receive the instruction played out to picture to be shown.Wherein, user can also be to figure to be shown Piece carries out other operations, so that electronic equipment can receive the instruction played out to picture to be shown.
In embodiments of the present invention, broadcast identifier, which is used to indicate, is converted to playable video file for picture, is to take Picture with broadcast identifier can carry out being converted to playable video file.When picture to be shown can be exchanged into playable video When file, picture to be shown can carry broadcast identifier;It is to be shown when picture is not available for being converted to playable video file Picture does not carry broadcast identifier.Therefore, in embodiments of the present invention, when first detection unit 100 is received to be shown When the instruction that picture plays out, information entrained by picture to be shown is can be read in first detection unit 100, detects figure to be shown Whether information entrained by piece includes broadcast identifier, when first detection unit 100 detects letter entrained by picture to be shown When breath includes broadcast identifier, first detection unit 100 determines that picture to be shown carries broadcast identifier, works as first detection unit 100 when to detect information entrained by picture to be shown not include broadcast identifier, and the determination of first detection unit 100 is to be shown Picture does not carry broadcast identifier.
In embodiments of the present invention, when first detection unit 100 determines that picture to be shown carries broadcast identifier, first Picture to be shown is carried out video format conversion by converting unit 200, obtains video file to be played.Such as when the lattice of picture to be shown When formula is .jpeg picture format, the first converting unit 200 can be by the video format that picture unsteady state operation to be shown is .rmbv Picture unsteady state operation to be shown can also be other videos by video file to be played, further, the first converting unit 200 The video file to be played of format, such as the video file to be played of avi, wmv, mpeg, mp4, mov, mkv video format.
In embodiments of the present invention, after picture to be shown is converted to video file to be played by the first converting unit 200, Broadcast unit 300 plays video file to be played, so that static picture can be carried out Dynamically Announce by electronic equipment, realizes and plays The effect of the Dynamic Graph of picture to be shown.
In embodiments of the present invention, after broadcast unit 300 plays video file to be played, electronic equipment can will be wait broadcast It puts video file and carries out picture format conversion, obtain picture to be shown, it such as can be by the video to be played text of the video format of .rmbv Part unsteady state operation be .jpeg picture format picture to be shown, wherein picture format can be .bmp .jpg .GIFf, .gif, the picture formats such as .pcx .tga .exif .fpx .svg.After electronic equipment obtains picture to be shown, electronic equipment It can show picture to be shown.
Wherein, described device further include:
Second converting unit obtains the picture to be shown for the video to be played to be carried out picture format conversion;
Display unit, for showing the picture to be shown.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Fig. 4 is referred to, for a kind of second embodiment flow diagram of the display device of picture of the present invention.As shown in figure 4, A kind of display device of picture described in the present embodiment includes:
First detection unit 100, the first converting unit 200 and broadcast unit 300.
Wherein, described device further include:
Acquiring unit 400, for obtaining space size occupied by picture to be shown.
Second detection unit 500, for detecting whether space size occupied by the picture to be shown meets preset item Part.
Adding unit 600, for meeting in advance when second detection unit detects space size occupied by the picture to be shown If condition when, preset broadcast identifier is added in the picture to be shown.
In embodiments of the present invention, when electronic equipment receives picture to be shown, acquiring unit 400 calculates figure to be shown Space size occupied by piece, wherein space size occupied by picture to be shown specifically can be the occupied storage of picture to be shown Space size.In a particular application, can be such as when picture size to be shown be 20M, acquiring unit 400, which can calculate, to be obtained to aobvious Space size occupied by diagram piece is 20M.
In embodiments of the present invention, acquiring unit 400 can also be by storing in preset intermittent scanning electronic equipment to aobvious Diagram piece obtains the size in space occupied by picture to be shown.
In embodiments of the present invention, second detection unit 500 can detecte space size occupied by picture to be shown and pre- Whether the ratio between target value set is greater than preset threshold value.Wherein, it is logical to can be electronic equipment for preset target value Cross space size occupied by picture captured by the camera of electronic equipment.Further, preset target value can also be Electronic equipment passes through maximum space size occupied by picture captured by camera of electronic equipment.Since current having is converted to The occupied space size that can play the picture of video file is 2 times of normal picture mostly, therefore preset threshold value can be 2, or The preset threshold value of person can be a range, and such as preset threshold value can be numerical value of the range between (1.8,2.2).Wherein, Preset threshold value can also be user's self-setting, not limit herein.
In embodiments of the present invention, second detection unit 500 can also obtain the target device identifier of electronic equipment, and According to the corresponding relationship of preset device identifier and numerical value, target value corresponding to object identifier is obtained, it is therefore, preset Target value can also be target value corresponding to target device identifier.Wherein, device identifier can be used for identifying The model of electronic equipment, device identifier can be EIC equipment identification code, as the corresponding EIC equipment identification code of XXX model mobile phone is 0001, wherein the electronic equipment of each model has its unique EIC equipment identification code, and therefore, electronic equipment passes through equipment Identification code can identify electronic equipment corresponding to EIC equipment identification code.Target device identifier is executing subject electronic equipment sheet The device identifier of body.
Further, in embodiments of the present invention, electronic equipment can establish the corresponding relationship of device identifier and numerical value. Wherein, electronic equipment establishes device identifier and the corresponding relationship of numerical value may is that electronic equipment obtains other electronic equipments pair The device identifier answered, and space size occupied by picture captured by other electronic equipments is obtained as numerical value, to build The corresponding relationship of vertical device identifier and numerical value.
In embodiments of the present invention, when second detection unit 500 determines that space size occupied by picture to be shown meets in advance If condition after, adding unit 600 can also by picture to be shown carry out video format conversion, obtain video file to be played, Whether and it is abnormal to detect video file to be played, wherein detects whether video file to be played is can be extremely to view to be played Frequency file carry out backstage broadcasting, detect whether dynamic menu occur, if detect there is dynamic menu if can determine view to be played Frequency file is without abnormal.When electronic equipment detect video file to be played without it is abnormal when, adding unit 600 is by preset broadcasting Identifier is added in the picture to be shown.
Wherein, the second detection unit 500 includes:
First detection sub-unit, for detect space size occupied by the picture to be shown and preset target value it Between ratio whether be greater than preset threshold.
When detection sub-unit detects the ratio occupied by the picture to be shown between space size and preset target value When value is greater than preset threshold, second detection unit detects space size occupied by the picture to be shown and meets preset condition.
The second detection unit 500 further include:
First obtains subelement, for obtaining the target device identifier of electronic equipment.
Second acquisition subelement obtains the target for the corresponding relationship according to preset device identifier and numerical value Target value corresponding to device identifier.
The adding unit 600 includes:
Conversion subunit obtains video to be played for the picture to be shown to be carried out video format conversion;
Whether the second detection sub-unit is abnormal for detecting the video to be played;
Subelement is added, for detecting the video to be played without abnormal, by preset broadcasting mark when detection sub-unit Know symbol to be added in the picture to be shown.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Fig. 5 is referred to, is the first embodiment flow diagram of a kind of electronic equipment of the present invention.As shown in figure 5, this implementation Example described in a kind of electronic equipment include:
Shell 501, processor 502, memory 503, circuit board 504 and power circuit 505, wherein circuit board 504 disposes In the space interior that shell 501 surrounds, processor 502 and memory 503 are arranged on circuit board 504;Power circuit 505 is used In each circuit or the device power supply for electronic equipment;Memory 503 is for storing executable program code;Processor 502 is logical It crosses and reads in memory 503 executable program code that stores to run program corresponding with executable program code, to be used for Execute following steps:
When receiving the instruction played out to picture to be shown, detect whether the picture to be shown carries broadcasting mark Know symbol;
When determining that the picture to be shown carries the broadcast identifier, the picture to be shown is subjected to video format Conversion, obtains video file to be played;
Play the video file to be played.
Wherein, include: after processor 502 plays the video to be played
The video to be played is subjected to picture format conversion, obtains the picture to be shown;
Show the picture to be shown.
Wherein, described when processor 502 receives the instruction played out to picture to be shown, processor 502 detects Before whether the picture to be shown carries broadcast identifier, processor 502 also executes following steps:
Obtain space size occupied by picture to be shown;
Detect whether space size occupied by the picture to be shown meets preset condition;
When determining that space size occupied by the picture to be shown meets preset condition, by preset broadcast identifier It is added in the picture to be shown.
Wherein, the processor 502 detects whether space size occupied by the picture to be shown meets preset condition Include:
Detect the ratio occupied by the picture to be shown between space size and preset target value whether be greater than it is pre- If threshold value;
When processor 502 detects the ratio occupied by the picture to be shown between space size and preset target value When greater than preset threshold, processor 502 determines that space size occupied by the picture to be shown meets preset condition.
Wherein, it is detected occupied by the picture to be shown between space size and preset target value in processor 502 Ratio whether be greater than before preset threshold, processor 502 also executes following steps:
Obtain the target device identifier of electronic equipment;
According to the corresponding relationship of preset device identifier and numerical value, mesh corresponding to the target device identifier is obtained Mark numerical value.
Wherein, it is described when processor 502 determine space size occupied by the picture to be shown meet preset condition it Afterwards, processor 502 also executes following steps:
The picture to be shown is subjected to video format conversion, obtains video to be played;
Whether abnormal detect the video to be played;
If the video to be played, without abnormal, preset broadcast identifier is added to by the execution of processor 502 by described Step in the picture to be shown.
It is understood that the function of each functional module of the electronic equipment of the present embodiment can be according to above method embodiment In method specific implementation, specific implementation process is referred to the associated description of above method embodiment, no longer carries out herein It repeats.
In embodiments of the present invention, when electronic equipment receives the instruction played out to picture to be shown, institute is detected State whether picture to be shown carries broadcast identifier, when determining that the picture to be shown carries the broadcast identifier, by institute It states picture to be shown and carries out video format conversion, obtain video file to be played, play the video file to be played, this can make Dynamically Announce can be carried out to picture by obtaining electronic equipment, enriched the display effect of picture, improved user experience.
Correspondingly, the embodiment of the invention also provides a kind of storage mediums, wherein the storage medium applies journey for storing Sequence, a kind of display methods of picture of the application program for executing foregoing description at runtime.
Correspondingly, the embodiment of the invention also provides a kind of application programs, wherein the application program for holding at runtime A kind of display methods of picture of row foregoing description.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (13)

1. a kind of display methods of picture, which is characterized in that the method is applied to electronic equipment, which comprises
When receiving the instruction played out to picture to be shown, detect whether the picture to be shown carries broadcasting mark Symbol, wherein the broadcast identifier, which is used to indicate, is converted to playable video file for picture;
When determining that the picture to be shown carries the broadcast identifier, the picture to be shown is subjected to video format and is turned It changes, obtains video file to be played;
Play the video file to be played.
2. the method as described in claim 1, which is characterized in that include: after the broadcasting video to be played
The video to be played is subjected to picture format conversion, obtains the picture to be shown;
Show the picture to be shown.
3. the method as described in claim 1, which is characterized in that described to receive the instruction played out to picture to be shown When, whether the detection picture to be shown carries broadcast identifier includes: before
Obtain space size occupied by picture to be shown;
Detect whether space size occupied by the picture to be shown meets preset condition;
When determining that space size occupied by the picture to be shown meets preset condition, preset broadcast identifier is added To in the picture to be shown.
4. method as claimed in claim 3, which is characterized in that space size occupied by the detection picture to be shown is It is no to meet preset condition and include:
Detect whether the ratio occupied by the picture to be shown between space size and preset target value is greater than default threshold Value;
When determine the ratio occupied by the picture to be shown between space size and preset target value be greater than preset threshold When, determine that space size occupied by the picture to be shown meets preset condition.
5. method as claimed in claim 4, which is characterized in that space size occupied by the detection picture to be shown with Whether the ratio between preset target value is greater than preset threshold
Obtain the target device identifier of the electronic equipment;
According to the corresponding relationship of preset device identifier and numerical value, number of targets corresponding to the target device identifier is obtained Value.
6. method as claimed in claim 3, which is characterized in that described to work as space size occupied by the determining picture to be shown Meet preset condition includes: later
The picture to be shown is subjected to video format conversion, obtains video to be played;
Whether abnormal detect the video to be played;
If the video to be played, without abnormal, preset broadcast identifier is added to the picture to be shown for described by execution Middle step.
7. a kind of display device of picture, which is characterized in that described device includes:
First detection unit, for detecting the picture to be shown when receiving the instruction played out to picture to be shown Whether broadcast identifier is carried, wherein the broadcast identifier, which is used to indicate, is converted to playable video file for picture;
First converting unit is used for when the first detection unit detection picture to be shown carries the broadcast identifier, will The picture to be shown carries out video format conversion, obtains video file to be played;
Broadcast unit, for playing the video file to be played.
8. device as claimed in claim 7, which is characterized in that described device further include:
Second converting unit obtains the picture to be shown for the video to be played to be carried out picture format conversion;
Display unit, for showing the picture to be shown.
9. device as claimed in claim 7, which is characterized in that described device includes:
Acquiring unit, for obtaining space size occupied by picture to be shown;
Second detection unit, for detecting whether space size occupied by the picture to be shown meets preset condition;
Adding unit, for meeting preset condition when second detection unit detects space size occupied by the picture to be shown When, preset broadcast identifier is added in the picture to be shown.
10. device as claimed in claim 9, which is characterized in that the second detection unit includes:
First detection sub-unit, for detecting occupied by the picture to be shown between space size and preset target value Whether ratio is greater than preset threshold;
When to detect the ratio occupied by the picture to be shown between space size and preset target value big for detection sub-unit When preset threshold, second detection unit detects space size occupied by the picture to be shown and meets preset condition.
11. device as claimed in claim 10, which is characterized in that the second detection unit includes:
First obtains subelement, for obtaining the target device identifier of electronic equipment;
Second acquisition subelement obtains the target device for the corresponding relationship according to preset device identifier and numerical value Target value corresponding to identifier.
12. device as claimed in claim 9, which is characterized in that the adding unit includes:
Conversion subunit obtains video to be played for the picture to be shown to be carried out video format conversion;
Whether the second detection sub-unit is abnormal for detecting the video to be played;
Subelement is added, for detecting the video to be played without abnormal, by preset broadcast identifier when detection sub-unit It is added in the picture to be shown.
13. a kind of electronic equipment, which is characterized in that the electronic equipment includes: shell, processor, memory, circuit board and electricity Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply Circuit, for each circuit or the device power supply for electronic equipment;Memory is for storing executable program code;Processor is logical It crosses and reads in memory the executable program code that stores to run program corresponding with executable program code, for executing Following steps:
When receiving the instruction played out to picture to be shown, detect whether the picture to be shown carries broadcasting mark Symbol;
When determining that the picture to be shown carries the broadcast identifier, the picture to be shown is subjected to video format and is turned It changes, obtains video file to be played;
Play the video file to be played.
CN201610112691.3A 2016-02-29 2016-02-29 Picture display method and device and electronic equipment Expired - Fee Related CN105872754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610112691.3A CN105872754B (en) 2016-02-29 2016-02-29 Picture display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610112691.3A CN105872754B (en) 2016-02-29 2016-02-29 Picture display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105872754A CN105872754A (en) 2016-08-17
CN105872754B true CN105872754B (en) 2019-02-15

Family

ID=56625466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610112691.3A Expired - Fee Related CN105872754B (en) 2016-02-29 2016-02-29 Picture display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105872754B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609012B (en) * 2017-07-31 2019-03-29 珠海市魅族科技有限公司 Multimedia file treating method and apparatus, computer installation, readable storage medium storing program for executing
CN115098442B (en) * 2022-07-25 2022-11-18 润芯微科技(江苏)有限公司 Intelligent automobile dynamic photo generation, conversion and analysis method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607629A (en) * 2013-11-22 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and electronic terminal
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN104780417A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Display method for preview video file, mobile terminal and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11580155B2 (en) * 2011-03-28 2023-02-14 Kodak Alaris Inc. Display device for displaying related digital images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN103607629A (en) * 2013-11-22 2014-02-26 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and electronic terminal
CN104780417A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Display method for preview video file, mobile terminal and system

Also Published As

Publication number Publication date
CN105872754A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
KR102083696B1 (en) Image identification and organisation according to a layout without user intervention
KR102091848B1 (en) Method and apparatus for providing emotion information of user in an electronic device
CN103559713B (en) Method and terminal for providing augmented reality
WO2019062606A1 (en) Overlay comment information display method, providing method, and apparatus
US20160231720A1 (en) Controller for scent diffusing device and a server for supporting the controller
CN103312971A (en) Image processing device, image processing method and computer-readable medium
CN107610206A (en) Dynamic picture processing method and device, storage medium and electronic equipment
CN106662969A (en) Method of processing content and electronic device thereof
CN104268150A (en) Method and device for playing music based on image content
US20130321463A1 (en) Apparatus and method for augmenting a video image
CN105872754B (en) Picture display method and device and electronic equipment
CN103608761A (en) Input device, input method and recording medium
CN112118397B (en) Video synthesis method, related device, equipment and storage medium
US9445047B1 (en) Method and apparatus to determine focus of attention from video
CN106879263A (en) A kind of image pickup method and mobile device
CN108111748B (en) Method and device for generating dynamic image
JP2009225415A (en) Mobile multimedia broadcasting device with position instructing function and multimedia file broadcasting method
CN109255652B (en) Advertisement playing method based on human face and related product
CN106358076A (en) Video clipping method and device and electronic equipment
US10133408B2 (en) Method, system and computer program product
EP1511304A3 (en) Device, system, method and program for data processing, recording medium storing the program, and player
CN105740455B (en) Picture deleting method and device and electronic equipment
CN105554398B (en) Video shooting method and device and electronic equipment
EP2955621B1 (en) Electronic device and file storing method thereof
CN106293660B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190215