CN105872701A - Method and mobile terminal for realizing video playing control - Google Patents

Method and mobile terminal for realizing video playing control Download PDF

Info

Publication number
CN105872701A
CN105872701A CN201510883711.2A CN201510883711A CN105872701A CN 105872701 A CN105872701 A CN 105872701A CN 201510883711 A CN201510883711 A CN 201510883711A CN 105872701 A CN105872701 A CN 105872701A
Authority
CN
China
Prior art keywords
video
presentation
screen
video playback
refresh frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510883711.2A
Other languages
Chinese (zh)
Inventor
董万强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510883711.2A priority Critical patent/CN105872701A/en
Publication of CN105872701A publication Critical patent/CN105872701A/en
Pending legal-status Critical Current

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and a mobile terminal for realizing video playing control. The method comprises the following steps of monitoring whether a first trigger condition is generated; and if the first trigger condition is generated, reducing screen refresh rate of a display screen and video frame playing rate of the current playing video content. The mobile terminal comprises a display screen trigger detection module and a video playing control service module. The method of the invention allows a user to dynamically reduce the video frame playing rate of the current playing video content according to the own requirements, when the video frame playing rate is reduced, the screen refresh rate of hardware of the display screen is reduced to reduce the power consumption, the using requirements for the user to view a slow playing detail effect are finally realized, and the user experience is effectively improved.

Description

A kind of method realizing video playback control and mobile terminal
Technical field
The present invention relates to field of video processing, particularly relate to a kind of method realizing video playback control and shifting Dynamic terminal.
Background technology
The software platform of mobile terminal can support polytype multimedia function, and one of them is important Function be exactly video content play, and, video content playing function the most from strength to strength, range of application More and more extensive.
But, the present inventor finds under study for action, and user is using the video content of mobile terminal During playing function, mobile terminal plays video content only in a certain fixing presentation of video frames speed, uses Family cannot dynamically adjust the presentation of video frames speed of video content according to the actual demand of oneself, directly affects The experience of user.Such as, user uses mobile phone at party one section of video content of photographs, is returning During putting, if seeing certain wonderful, this user wishes that mobile phone can be with than normal frame of video The slower playback rate of playback rate plays this wonderful, in order to user can be in this wonderful Each plot sees.It addition, the playing function of video content expends the electricity of mobile terminal the most very much, This problem is especially prominent in the broadcasting of HD video content.
To sum up, how while providing the user more personalized presentation of video frames speed, movement is saved Terminal power is the problem needing to solve.
Summary of the invention
In order to solve above-mentioned technical problem, it is proposed that a kind of method realizing video playback control and movement are eventually End, in order to save mobile terminal electricity while providing the user more personalized presentation of video frames speed Amount.
The invention provides a kind of method realizing video playback control, described method includes: monitor whether Produce the first trigger condition;If producing described first trigger condition, reduce the screen-refresh frequency of display screen The presentation of video frames speed of the video content that rate reduction are currently played.
Said method can also have the following characteristics that
Monitor whether to produce the second trigger condition;If producing described second trigger condition, by display screen Screen refresh frequency reverts to the screen refresh frequency before reducing and by the presentation of video frames of described video content Rate recovery is the presentation of video frames speed before reducing.
Said method can also have the following characteristics that
Trigger condition includes: clicks screen, double-click screen, along preset direction paddling screen or along presetting Figure paddling screen.
Said method can also have the following characteristics that
The screen refresh frequency of described reduction display screen includes: the video playback triggering framework services layer controls The locally located interface of display screen frame synchronizing signal of encapsulation in service call JNI layer, in order to by described aobvious It is default screen-refresh that the locally located interface of display screen frame synchronizing signal arranges the screen refresh frequency of display screen Frequency, described default screen refresh frequency is less than the screen refresh frequency of operating system acquiescence;
The presentation of video frames speed of the described video content of described reduction includes: trigger the video of framework services layer Play the presentation of video frames speed controlling to encapsulate in service call application layer and interface is set, in order to by described Presentation of video frames speed arrange interface arrange described video playback application presentation of video frames speed be default Presentation of video frames speed, described default presentation of video frames speed is less than described video playback application acquiescence Presentation of video frames speed.
Said method can also have the following characteristics that
The described screen refresh frequency reverted to by the screen refresh frequency of display screen before reducing includes: trigger It is local that the video playback of framework services layer controls the display screen frame synchronizing signal of encapsulation in service call JNI layer Interface is set, in order to arrange display screen by calling the described locally located interface of display screen frame synchronizing signal Screen refresh frequency is the screen refresh frequency before reducing;
The presentation of video frames speed that the described playback rate by described video content reverts to before reducing includes: Trigger the presentation of video frames speed of encapsulation in the video playback control service call application layer of framework services layer to set Put interface, in order to interface is set by described presentation of video frames speed regarding of described video playback application is set Frequently frame playback rate is the presentation of video frames speed before reducing.
Said method can also have the following characteristics that
When the screen refresh frequency arranging display screen is default screen refresh frequency, described framework services The video playback of layer controls any one mode in service in the following manner and determines default screen-refresh frequency Rate:
Mode one, is configured with described default screen refresh frequency in described video playback controls service Parameter value, described video playback controls service and reads the parameter value of described default screen refresh frequency;
Mode two, is configured with the first ratio, described video playback control in described video playback controls service Described first ratio is read in uniform business, calculates the screen refresh frequency of operating system acquiescence and described first ratio The product of value, product value is described default screen refresh frequency;
When the presentation of video frames speed arranging the application of described video playback is default presentation of video frames speed Time, any one mode that the video playback of described framework services layer controls in service in the following manner determines Described default presentation of video frames speed:
Mode one, is configured with described default presentation of video frames speed in described video playback controls service Parameter value, described video playback control service read described default presentation of video frames speed parameter value;
Mode two, is configured with the second ratio, described video playback control in described video playback controls service Uniform business read described second ratio, calculate described video playback application acquiescence presentation of video frames speed with The product of described second ratio, product value is described default presentation of video frames speed.
Said method can also have the following characteristics that
When the screen refresh frequency that the screen refresh frequency arranging display screen is before reducing, described framework takes Any one mode that the video playback of business layer controls in service in the following manner determines what operating system was given tacit consent to Screen refresh frequency:
Mode one, is configured with the screen brush of described operating system acquiescence in described video playback controls service The parameter value of new frequency, described video playback controls service and reads the screen of described default operating system acquiescence The parameter value of curtain refreshing frequency;
Mode two, producing after described first trigger condition and reducing the screen-refresh frequency of display screen Before rate, the video playback of framework services layer controls the display screen frame synchronization of encapsulation in service call JNI layer Signal this locality obtains interface, in order to obtain interface acquisition by calling described display screen frame synchronizing signal this locality Described display screen is at current screen refresh frequency at current screen refresh frequency, described display screen The screen refresh frequency of operating system acquiescence;
When the presentation of video frames speed arranging the application of described video playback is the playback rate before reducing, institute Any one mode stated in the video playback control service in the following manner of framework services layer determines that video is broadcast Put and apply the presentation of video frames speed given tacit consent to:
Mode one, is configured with regarding of described video playback application acquiescence in described video playback controls service Frequently the parameter value of frame playback rate, described video playback controls service and reads described video playback application acquiescence The parameter value of presentation of video frames speed;
Mode two, producing after described first trigger condition and reducing the screen-refresh frequency of display screen Before rate, the video playback of framework services layer controls to be used for obtaining video playback in service call application layer should Presentation of video frames speed interface obtain described video content in current presentation of video frames speed, institute State video content and be the presentation of video frames speed of video playback application acquiescence in current presentation of video frames speed Rate.
Said method can also have the following characteristics that
Described first ratio and described second ratio are linear relationship.
Present invention also offers a kind of mobile terminal realizing video playback control, described mobile terminal includes: Display screen detection trigger module, video playback control service module;
Described display screen detection trigger module, is used for monitoring whether to produce the first trigger condition, and in monitoring Service module transmission the first triggering signal is controlled to described video playback after producing the first trigger condition;
Described video playback controls service module, after being used for receiving the first triggering signal, reduces display screen The presentation of video frames speed of the video content that screen refresh frequency reduction are currently played.
Above-mentioned mobile terminal can also have the following characteristics that
Described display screen detection trigger module, is additionally operable to monitor whether to produce the second trigger condition, in monitoring Service module transmission the second triggering signal is controlled to described video playback after producing the second trigger condition;
Described video playback controls service module, after being used for receiving the second triggering signal, by the screen of display screen Curtain refreshing frequency reverts to the screen refresh frequency before reducing and by the presentation of video frames speed of described video content Rate reverts to the presentation of video frames speed before reducing.
The method of the present invention allows user dynamically to reduce the presentation of video frames of video content according to the demand of oneself Speed, while reducing presentation of video frames speed, reduces the screen refresh frequency of display screen hardware, with Reduce power consumption, be finally reached user and check the use requirement broadcasting details effect slowly, be effectively improved user and make With experience.
Accompanying drawing explanation
Fig. 1 is the flow chart realizing the method that video playback controls;
Fig. 2 is the flow chart realizing the other method that video playback controls;
Fig. 3 is to realize the software frame that the method for video playback control is suitable for;
Fig. 4 is the structure chart realizing the mobile communication terminal that video playback controls.
Specific embodiment
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.It should be noted that do not conflicting In the case of, the embodiment in the application and the feature in embodiment can mutual combination in any.
Fig. 1 is the flow chart realizing the method that video playback controls.Realize the method bag that video playback controls Include:
Step 101, monitors whether to produce the first trigger condition;
Step 102, if producing above-mentioned first trigger condition, reduces the screen refresh frequency of display screen also Reduce the presentation of video frames speed of the video content being currently played.
On the basis of Fig. 1, this method also includes following processing procedure, and (Fig. 2 only illustrates as shown in Figure 2 The step increased):
Step 201, monitors whether to produce the second trigger condition;
Step 202, if producing above-mentioned second trigger condition, recovers the screen refresh frequency of display screen For reduce before screen refresh frequency and by the presentation of video frames rate recovery of described video content for reduce before Presentation of video frames speed.
First trigger condition and the second trigger condition each mean any one in operations described below: click screen, Double-click screen, along preset direction paddling screen (paddling screen, to the left paddling screen, upwards the most to the right Paddling screen or downward stroke screen) or along preset pattern paddling screen (drawing of such as closed circle Dynamic, the paddling of closed triangle or the paddling of non-closed figure or erose paddling etc.). First trigger condition and the second trigger condition can difference can also be identical.Obviously, if both are different, Be easy to judgement is to create which trigger condition, when both are identical, then need set distinguish monitor touch Clockwork spring part is the first trigger condition or the mode of the second trigger condition.Controlled state ginseng such as can be set Number, during mobile terminal-opening, the value of this parameter is 0, and when a trigger condition produces, such as user is double Hit screen, identify the value of this parameter, if the value of this parameter is 0, then can determine that this trigger condition is One trigger condition, and the value of this parameter is set to 1, when another trigger condition produces, (user is again Secondary double-click screen), identify the value of this parameter, if the value of this parameter is 1, then can determine that this triggers bar Part is the second trigger condition, and the value of this parameter is reverted to 0.
It addition, in the present invention, it is also possible to continuously generate multiple first trigger condition, or continuously generate Multiple second trigger conditions.Such as, the first trigger condition is paddling screen to the right, and the second trigger condition is Slide screen to the left, user when watching video content, for the first time paddling screen the most to the right, can make current The presentation of video frames rate reduction of the video content play, and it is in state of broadcasting slowly, if user is not Presentation of video frames speed after satisfied reduction, it is also possible to continue for the second time, for the third time ... paddling screen to the right Curtain, so that the presentation of video frames speed of the video content being currently played continues to reduce.Equally, as Really user wants the presentation of video frames rate recovery being in the video content broadcasting state slowly is regarding before reducing Frequently frame playback rate, it is necessary to paddling screen the most to the left.
Fig. 3 is to realize the software frame that the method for video playback control is suitable for.This framework wraps from top to bottom Include application layer, framework services (Framework Service) layer, JAVA local interface (Java Native Interface, be called for short JNI) layer i.e. JNI layer, hardware abstraction layer (Hardware Abstraction Layer, Be called for short HAL) i.e. HAL layer.
Framework services layer support, for realizing the various services of difference in functionality, can set according to the needs of user Put service-specific.The service of framework services layer is by Android IDL (Android Interface Definition Language, is called for short AIDL) and application layer communication, concrete, the clothes of framework services layer It is engaged in monitoring (Listener) mechanism by AIDL to communicate with the third-party application in application layer, wherein, AIDL monitoring mechanism is the conventional mechanism for framework services layer Yu application layer communication, does not the most make in detail State.JNI layer is packaged with a large amount of JNI interface for realizing JAVA language and HAL layer in framework services layer The conversion of C/C++ language, the mode of the service call JNI interface of framework services layer uses in HAL layer Api function.
JNI interface relevant to this method in JNI layer includes following two:
First interface is the locally located interface of display screen frame synchronizing signal, is specifically defined as:
private native int nativeSetLcdVsync();
Call this JNI interface to call the display screen frame synchronizing signal of HAL layer and arrange function, HAL The definition of this api function in Ceng is: int set_lcd_Vsync (), and the function of this function is for arranging display The frequency of vertical synchronization (Vertical synchronization the is called for short Vsync) signal of screen, in display Before screen often carries out the scanning of a frame, this signal the most once will be may determine that LCD by this signal Field frequency i.e. screen refresh frequency.Generally this Vsync signal is referred to as display screen frame synchronizing signal, this letter Number frequency be screen refresh frequency.
Second interface is that display screen frame synchronizing signal this locality obtains interface, is specifically defined as:
private native int nativeGetLcdVsync();
Call this JNI interface and can call the display screen frame synchronizing signal acquisition function of HAL layer, this function Definition be: int get_lcd_Vsync (), the function of this function be obtain display screen vertical synchronizing signal Frequency, i.e. obtain the frequency i.e. screen refresh frequency of the frame synchronizing signal of display screen.
The method of the present invention arranges video playback at framework services layer and controls service, use this video playback Control service completes following both sides content:
First aspect: by calling the screen refresh frequency of the JNI Interface Controller display screen of JNI layer.
Video playback controls service and reduces aobvious by calling the locally located interface of screen frame synchronizing signal of JNI layer The screen refresh frequency of display screen, concrete executive mode is as follows: the video playback triggering framework services layer controls The locally located interface of display screen frame synchronizing signal of encapsulation in service call JNI layer, in order to pass through display screen It is default screen-refresh frequency that the locally located interface of frame synchronizing signal arranges the screen refresh frequency of display screen Rate, default screen refresh frequency is less than the screen refresh frequency of operating system acquiescence.
Video playback controls service and knows that the mode of default screen refresh frequency includes:
Mode one, is configured with the parameter value of default screen refresh frequency in video playback controls service, Video playback controls service and reads the parameter value of the screen refresh frequency preset.
Mode two, is configured with the first ratio in video playback controls service, and video playback controls service and reads Take described first ratio, calculate screen refresh frequency and the product of the first ratio of operating system acquiescence, take advantage of Product value is default screen refresh frequency.
In conventional mobile terminal, the value of the screen refresh frequency of operating system acquiescence is 60, i.e. each second shows Show 60 two field pictures.Default screen refresh frequency value can be set to 50, screen brush need to be reduced the most every time During new frequency, screen refresh frequency is set to 50.First ratio can also be set to 5/6, every time When need to reduce screen refresh frequency, calculate screen refresh frequency and this first ratio of operating system acquiescence Product, can obtain default screen refresh frequency is 50, carries out continuous print when repeatedly reducing triggering, Ke Yi On the basis of current screen refreshing frequency, the ratio with 5/6 is gradually lowered.Through experimental results demonstrate, will First ratio is set to the value between 4/6 to 5/6, meet at the same time reduce power consumption performance requirement and During user viewing, using of vision satisfaction requires that upper is optimum value mode.
Video playback controls service will be aobvious also by the locally located interface of screen frame synchronizing signal calling JNI layer The screen refresh frequency of display screen reverts to the screen refresh frequency before reducing, and concrete executive mode is as follows: touch Send out the display screen frame synchronizing signal encapsulated in the video playback control service call JNI layer of framework services layer originally Interface is set, in order to by calling described display screen frame synchronizing signal locally located interface, display screen is set Screen refresh frequency be reduce before screen refresh frequency.
When the screen refresh frequency that the screen refresh frequency arranging display screen is before reducing, framework services layer Video playback control service in the following manner in any one mode determine the screen that operating system is given tacit consent to Refreshing frequency:
Mode one, is configured with the screen refresh frequency of operating system acquiescence in video playback controls service Parameter value, video playback controls the parameter that the screen refresh frequency of the operating system acquiescence preset is read in service Value;
Mode two, produce after the first trigger condition and reduce display screen screen refresh frequency it Before, the video playback of framework services layer controls the display screen frame synchronizing signal of encapsulation in service call JNI layer Local acquisition interface, in order to exist by calling display screen frame synchronizing signal this locality acquisition interface acquisition display screen Current screen refresh frequency, display screen is the screen of operating system acquiescence at current screen refresh frequency Curtain refreshing frequency.
Second aspect: by applying the speed of the broadcasting to video content with the interactive controlling video playback of application layer Rate.
Video playback controls service and sets by calling the presentation of video frames speed of video playback application in application layer Putting interface and reduce the presentation of video frames speed playing application to video content, concrete executive mode is as follows: touch The video playback sending out framework services layer controls the presentation of video frames speed setting of encapsulation in service call application layer Interface, in order to interface is set by presentation of video frames speed the presentation of video frames speed of video playback application is set Rate is default presentation of video frames speed, and default presentation of video frames speed is less than video playback application acquiescence Presentation of video frames speed.
When the presentation of video frames speed arranging video playback application is default presentation of video frames speed, frame Any one mode that the video playback of frame service layer controls in service in the following manner determines default video Frame playback rate:
Mode one, is configured with the parameter value of default presentation of video frames speed in video playback controls service, Video playback controls service and reads the parameter value of the presentation of video frames speed preset;
Mode two, is configured with the second ratio in video playback controls service, and video playback controls service and reads Take described second ratio, calculate the presentation of video frames speed of video playback application acquiescence and taking advantage of of the second ratio Long-pending, product value is default presentation of video frames speed.
In conventional mobile terminal, the presentation of video frames speed of video playback application is 30, i.e. display each second 30 two field pictures.Default presentation of video frames speed can be set to 20, presentation of video frames need to be reduced the most every time During speed, presentation of video frames speed is set to 20.Second ratio can also be set to 2/3, every time When need to reduce presentation of video frames speed, 2/3 into its initial value will be turned down when presentation of video frames speed.Carry out When continuous print repeatedly reduces triggering, can on the basis of current screen refreshing frequency with 2/3 ratio by Gradually reduce.Through experimental results demonstrate, when the first ratio and the second ratio are linear relationship, full at the same time When foot reduces performance requirement and the user viewing of power consumption, the use of vision satisfaction requires upper for optimum Value mode.
Video playback controls service and sets by calling the presentation of video frames speed of video playback application in application layer Putting the presentation of video frames speed that interface recovers to play application to video content, concrete executive mode is as follows: touch The video playback sending out framework services layer controls the presentation of video frames speed setting of encapsulation in service call application layer Interface, in order to interface is set by presentation of video frames speed the presentation of video frames speed of video playback application is set Rate is the presentation of video frames speed before reducing.
When the presentation of video frames speed arranging video playback application is the playback rate before reducing, framework takes The video playback of business layer controls any one mode in service in the following manner and determines that video playback application is silent The presentation of video frames speed recognized:
Mode one, is configured with the presentation of video frames of video playback application acquiescence in video playback controls service The parameter value of speed, video playback controls service and reads the presentation of video frames speed of video playback application acquiescence Parameter value;
Mode two, produce after the first trigger condition and reduce display screen screen refresh frequency it Before, the video playback of framework services layer controls in service call application layer for obtaining video playback application The interface acquisition video content of presentation of video frames speed is in current presentation of video frames speed, and video content exists Current presentation of video frames speed is the presentation of video frames speed of video playback application acquiescence.
Fig. 4 is the structure chart realizing the mobile terminal that video playback controls.Realize the shifting that video playback controls Mobile communication terminal includes: display screen detection trigger module, video playback control service module.
Display screen detection trigger module is used for monitoring whether to produce the first trigger condition, and is monitoring generation Control service module to described video playback after first trigger condition and send the first triggering signal.
After video playback control service module is used for receiving the first triggering signal, reduce the screen brush of display screen The presentation of video frames speed of the video content that new frequency reduction are currently played.
This mobile terminal also has the function that video playback controls to recover, concrete:
Display screen detection trigger module is additionally operable to monitor whether to produce the second trigger condition, is monitoring generation Control service module to described video playback after second trigger condition and send the second triggering signal;
After video playback control service module is additionally operable to receive the second triggering signal, by the screen brush of display screen New frequency retrieval is the screen refresh frequency before reducing by extensive for the presentation of video frames speed of described video content Multiple for the presentation of video frames speed before reducing.
The corresponding phase of executive mode that the function of above-mentioned each module of mobile communication terminal is concrete with said method With, here is omitted.
The method of the present invention allows user dynamically to reduce the presentation of video frames of video content according to the demand of oneself Speed, while reducing presentation of video frames speed, reduces the screen refresh frequency of display screen hardware, with Reduce power consumption, be finally reached user and check the use requirement broadcasting details effect slowly, be effectively improved user and make With experience.
Specific embodiment
The screen refresh frequency of the system default of the touch screen of mobile terminal is that 60 frames are per second, presets screen brush It is per second that new frequency is defaulted as 40 frames.The video frame rate of the video jukebox software acquiescence installed in mobile terminal It is that 30 frames are per second, subfunction is set by video jukebox software arranges the default video frame rate in function Arranging default video frame rate is that 15 frames are per second.Triggered by self-defining function setting software design patterns first Condition triggers for double-clicking screen, and arranging the second trigger condition is closed circle figure paddling screen.
User, during playing HD video, wants that slowing down playback rate sees video details, double-clicks screen Curtain, after mobile terminal detects the operation double-clicking screen, it is judged that meet the first trigger condition, uses video Play and control the locally located interface of screen frame synchronizing signal of service call JNI layer by the screen-refresh of display screen Per second to be revised as 40 frames per second from 60 frames for frequency, makes the terminal display screen brush screen rate reduction amount of saving energy, And use video playback to control the interface of service call video playback application program by video playback application program Per second to be revised as 15 frames per second from 30 frames for middle presentation of video frames speed, reaches user and uses needs.
User wants to recover the normal play rate of HD video, carries out closed circle figure on a display screen Paddling, after terminal detects the operation of closed circle figure paddling, it is judged that meets the second trigger condition, makes The locally located interface of screen frame synchronizing signal of service call JNI layer is controlled by the screen of display screen by video playback It is per second that curtain refreshing frequency is revised as 60 frames from 40 frame amendments per second, and uses video playback to control service tune With the interface of video playback application program by presentation of video frames speed in video playback application program from 15 frames Per second to be revised as 30 frames per second, reaches user and uses needs.
Furthermore, it is necessary to illustrate, the specific embodiment described in this specification, its parts and components Shape, be named title etc. can be different, and the above content described in this specification is only to the present invention Structure example explanation.
Descriptions above can combine enforcement individually or in every way, and these modification Mode is all within protection scope of the present invention.
In this article, term " includes ", " comprising " or its any other variant are intended to nonexcludability Comprise so that include that the article of a series of key element or equipment not only include those key elements, and Also include other key elements being not expressly set out, or also include intrinsic for this article or equipment Key element.In the case of there is no more restriction, statement " including ... " key element limited, do not arrange Except there is also other identical element in the article including key element or equipment.
Above example is only in order to illustrate technical scheme and unrestricted, reference only to preferably implementing The present invention has been described in detail by example.It will be understood by those within the art that, can be to this Bright technical scheme is modified or equivalent, without deviating from spirit and the model of technical solution of the present invention Enclose, all should contain in the middle of scope of the presently claimed invention.

Claims (10)

1. one kind realizes the method that video playback controls, it is characterised in that described method includes:
Monitor whether to produce the first trigger condition;
If producing described first trigger condition, reducing the screen refresh frequency of display screen and the most just reducing Presentation of video frames speed at the video content play.
2. the method for claim 1, it is characterised in that described method also includes:
Monitor whether to produce the second trigger condition;
If producing described second trigger condition, before reverting to the screen refresh frequency of display screen reduce Screen refresh frequency and by the presentation of video frames rate recovery of described video content be reduce before frame of video broadcast Put speed.
3. method as claimed in claim 1 or 2, it is characterised in that trigger condition includes: click screen Curtain, double-click screen, along preset direction paddling screen or along preset pattern paddling screen.
4. the method for claim 1, it is characterised in that
The screen refresh frequency of described reduction display screen includes: the video playback triggering framework services layer controls The locally located interface of display screen frame synchronizing signal of encapsulation in service call JNI layer, in order to by described aobvious It is default screen-refresh that the locally located interface of display screen frame synchronizing signal arranges the screen refresh frequency of display screen Frequency, described default screen refresh frequency is less than the screen refresh frequency of operating system acquiescence;
The presentation of video frames speed of the described video content of described reduction includes: trigger the video of framework services layer Play the presentation of video frames speed controlling to encapsulate in service call application layer and interface is set, in order to by described Presentation of video frames speed arrange interface arrange described video playback application presentation of video frames speed be default Presentation of video frames speed, described default presentation of video frames speed is less than described video playback application acquiescence Presentation of video frames speed.
5. method as claimed in claim 2, it is characterised in that
The described screen refresh frequency reverted to by the screen refresh frequency of display screen before reducing includes: trigger It is local that the video playback of framework services layer controls the display screen frame synchronizing signal of encapsulation in service call JNI layer Interface is set, in order to arrange display screen by calling the described locally located interface of display screen frame synchronizing signal Screen refresh frequency is the screen refresh frequency before reducing;
The presentation of video frames speed that the described playback rate by described video content reverts to before reducing includes: Trigger the presentation of video frames speed of encapsulation in the video playback control service call application layer of framework services layer to set Put interface, in order to interface is set by described presentation of video frames speed regarding of described video playback application is set Frequently frame playback rate is the presentation of video frames speed before reducing.
6. method as claimed in claim 4, it is characterised in that
When the screen refresh frequency arranging display screen is default screen refresh frequency, described framework services The video playback of layer controls any one mode in service in the following manner and determines default screen-refresh frequency Rate:
Mode one, is configured with described default screen refresh frequency in described video playback controls service Parameter value, described video playback controls service and reads the parameter value of described default screen refresh frequency;
Mode two, is configured with the first ratio, described video playback control in described video playback controls service Described first ratio is read in uniform business, calculates the screen refresh frequency of operating system acquiescence and described first ratio The product of value, product value is described default screen refresh frequency;
When the presentation of video frames speed arranging the application of described video playback is default presentation of video frames speed Time, any one mode that the video playback of described framework services layer controls in service in the following manner determines Described default presentation of video frames speed:
Mode one, is configured with described default presentation of video frames speed in described video playback controls service Parameter value, described video playback control service read described default presentation of video frames speed parameter value;
Mode two, is configured with the second ratio, described video playback control in described video playback controls service Uniform business read described second ratio, calculate described video playback application acquiescence presentation of video frames speed with The product of described second ratio, product value is described default presentation of video frames speed.
7. method as claimed in claim 5, it is characterised in that
When the screen refresh frequency that the screen refresh frequency arranging display screen is before reducing, described framework takes Any one mode that the video playback of business layer controls in service in the following manner determines what operating system was given tacit consent to Screen refresh frequency:
Mode one, is configured with the screen brush of described operating system acquiescence in described video playback controls service The parameter value of new frequency, described video playback controls service and reads the screen of described default operating system acquiescence The parameter value of curtain refreshing frequency;
Mode two, producing after described first trigger condition and reducing the screen-refresh frequency of display screen Before rate, the video playback of framework services layer controls the display screen frame synchronization of encapsulation in service call JNI layer Signal this locality obtains interface, in order to obtain interface acquisition by calling described display screen frame synchronizing signal this locality Described display screen is at current screen refresh frequency at current screen refresh frequency, described display screen The screen refresh frequency of operating system acquiescence;
When the presentation of video frames speed arranging the application of described video playback is the playback rate before reducing, institute Any one mode stated in the video playback control service in the following manner of framework services layer determines that video is broadcast Put and apply the presentation of video frames speed given tacit consent to:
Mode one, is configured with regarding of described video playback application acquiescence in described video playback controls service Frequently the parameter value of frame playback rate, described video playback controls service and reads described video playback application acquiescence The parameter value of presentation of video frames speed;
Mode two, producing after described first trigger condition and reducing the screen-refresh frequency of display screen Before rate, the video playback of framework services layer controls to be used for obtaining video playback in service call application layer should Presentation of video frames speed interface obtain described video content in current presentation of video frames speed, institute State video content and be the presentation of video frames speed of video playback application acquiescence in current presentation of video frames speed Rate.
8. method as claimed in claim 6, it is characterised in that described first ratio and described second Ratio is linear relationship.
9. one kind realizes the mobile terminal that video playback controls, it is characterised in that described mobile terminal bag Include: display screen detection trigger module, video playback control service module;
Described display screen detection trigger module, is used for monitoring whether to produce the first trigger condition, and in monitoring Service module transmission the first triggering signal is controlled to described video playback after producing the first trigger condition;
Described video playback controls service module, after being used for receiving the first triggering signal, reduces display screen The presentation of video frames speed of the video content that screen refresh frequency reduction are currently played.
10. mobile terminal as claimed in claim 9, it is characterised in that
Described display screen detection trigger module, is additionally operable to monitor whether to produce the second trigger condition, in monitoring Service module transmission the second triggering signal is controlled to described video playback after producing the second trigger condition;
Described video playback controls service module, after being used for receiving the second triggering signal, by the screen of display screen Curtain refreshing frequency reverts to the screen refresh frequency before reducing and by the presentation of video frames speed of described video content Rate reverts to the presentation of video frames speed before reducing.
CN201510883711.2A 2015-12-03 2015-12-03 Method and mobile terminal for realizing video playing control Pending CN105872701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510883711.2A CN105872701A (en) 2015-12-03 2015-12-03 Method and mobile terminal for realizing video playing control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510883711.2A CN105872701A (en) 2015-12-03 2015-12-03 Method and mobile terminal for realizing video playing control

Publications (1)

Publication Number Publication Date
CN105872701A true CN105872701A (en) 2016-08-17

Family

ID=56624331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510883711.2A Pending CN105872701A (en) 2015-12-03 2015-12-03 Method and mobile terminal for realizing video playing control

Country Status (1)

Country Link
CN (1) CN105872701A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566527A (en) * 2018-03-30 2018-09-21 青岛海信移动通信技术股份有限公司 A kind of kinescope method and device
CN111212326A (en) * 2020-01-14 2020-05-29 咪咕视讯科技有限公司 Video playing method, electronic equipment and storage medium
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
CN111399625A (en) * 2020-03-04 2020-07-10 RealMe重庆移动通信有限公司 Refreshing frequency switching method and device, readable medium and communication terminal
WO2021244666A1 (en) * 2020-06-02 2021-12-09 深圳市万普拉斯科技有限公司 Video playing control method and apparatus, and computer device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008050492A1 (en) * 2006-10-04 2008-05-02 Sharp Kabushiki Kaisha Image display device and method, and image processing device and method
CN101552909A (en) * 2009-04-28 2009-10-07 山东大学 Frame rate controlling method based on wireless video monitoring
CN103136102A (en) * 2013-02-07 2013-06-05 百度在线网络技术(北京)有限公司 Method and device for testing fluency of Android platform
CN104080006A (en) * 2014-07-10 2014-10-01 福州瑞芯微电子有限公司 Video processing device and method
CN104347049A (en) * 2014-09-24 2015-02-11 广东欧珀移动通信有限公司 Method and device for adjusting screen refresh rate

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008050492A1 (en) * 2006-10-04 2008-05-02 Sharp Kabushiki Kaisha Image display device and method, and image processing device and method
CN101552909A (en) * 2009-04-28 2009-10-07 山东大学 Frame rate controlling method based on wireless video monitoring
CN103136102A (en) * 2013-02-07 2013-06-05 百度在线网络技术(北京)有限公司 Method and device for testing fluency of Android platform
CN104080006A (en) * 2014-07-10 2014-10-01 福州瑞芯微电子有限公司 Video processing device and method
CN104347049A (en) * 2014-09-24 2015-02-11 广东欧珀移动通信有限公司 Method and device for adjusting screen refresh rate

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷霄骅: "RTSP协议学习笔记", 《HTTPS://BLOG.CSDN.NET/LEIXIAOHUA1020/ARTICLE/DETAILS/11955341》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566527A (en) * 2018-03-30 2018-09-21 青岛海信移动通信技术股份有限公司 A kind of kinescope method and device
CN111212326A (en) * 2020-01-14 2020-05-29 咪咕视讯科技有限公司 Video playing method, electronic equipment and storage medium
CN111314639A (en) * 2020-02-28 2020-06-19 维沃移动通信有限公司 Video recording method and electronic equipment
CN111399625A (en) * 2020-03-04 2020-07-10 RealMe重庆移动通信有限公司 Refreshing frequency switching method and device, readable medium and communication terminal
WO2021244666A1 (en) * 2020-06-02 2021-12-09 深圳市万普拉斯科技有限公司 Video playing control method and apparatus, and computer device and storage medium

Similar Documents

Publication Publication Date Title
CN105872701A (en) Method and mobile terminal for realizing video playing control
AU2020233755B2 (en) Controlling display performance
CN111767013A (en) Control method, control device, electronic device, computer-readable storage medium
CN111899680B (en) Display device and setting method thereof
US7561874B2 (en) Mobile communication device with a transition effect function
US11568588B2 (en) Controlling display performance using display statistics and feedback
CN102930852B (en) Method of improving mobile terminal system performance by dynamically regulating of screen refresh rate
US20150092107A1 (en) Method and Device for Displaying Video on Mobile Terminal
CN107846617B (en) Interaction method of intelligent terminal and intelligent television
CN101895634A (en) Method and device for realizing dynamic switching of mobile terminal interface
CN103019688A (en) Terminal and screen control method for terminal in reading mode
CN102750146A (en) Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
CN102646018A (en) Method and device for controlling display size of mobile terminal screen
CN103823546A (en) Information control method and electronic equipment
WO2021244666A1 (en) Video playing control method and apparatus, and computer device and storage medium
CN103108232A (en) Method and system based on interaction control of mobile phone and television
CN104503564A (en) Control method and device for picture refreshing of application program
CN114443269A (en) Frame rate adjustment method and related device
CN112272329A (en) Method for accelerating display speed of android list
CN102724353A (en) Mobile phone interface display method and device thereof
WO2023061096A1 (en) Method and apparatus for adjusting refresh frame rate of display screen, and processor, chip and terminal
CN104539837A (en) Method and device for recording variable speed playback video
CN110174966B (en) Control method, display module and electronic equipment
CN104093220A (en) Dual-system mobile terminal and realizing method thereof
CN101860594A (en) Method for conveniently browsing webpage picture at full-screen mobile phone client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817

WD01 Invention patent application deemed withdrawn after publication