WO2018161604A1 - Playback control method and device for mobile terminal, storage medium and electronic device - Google Patents

Playback control method and device for mobile terminal, storage medium and electronic device Download PDF

Info

Publication number
WO2018161604A1
WO2018161604A1 PCT/CN2017/107372 CN2017107372W WO2018161604A1 WO 2018161604 A1 WO2018161604 A1 WO 2018161604A1 CN 2017107372 W CN2017107372 W CN 2017107372W WO 2018161604 A1 WO2018161604 A1 WO 2018161604A1
Authority
WO
WIPO (PCT)
Prior art keywords
target video
video segment
power consumption
type
content
Prior art date
Application number
PCT/CN2017/107372
Other languages
French (fr)
Chinese (zh)
Inventor
苟生俊
彭德良
易永鹏
袁晓日
甘高亭
郑志勇
杨海
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161604A1 publication Critical patent/WO2018161604A1/en

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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Definitions

  • the embodiments of the present invention relate to the field of mobile terminal technologies, and in particular, to a playback control method, apparatus, storage medium, and electronic device of a mobile terminal.
  • the display screen size of the mobile terminal is getting larger and larger, the loaded application and the functions that can be implemented are more and more abundant, and the user spends a lot of time every day to use the mobile terminal. .
  • the video playback application usually takes a long time, so the power consumption of the mobile terminal and the like become an important indicator for considering the performance of the mobile terminal.
  • the control scheme of the mobile terminal when playing video has a great influence on the power consumption situation, and the existing mobile terminal control scheme needs to be improved.
  • the embodiment of the present application provides a playback control method, device, storage medium, and electronic device of a mobile terminal, which can reduce power consumption of the electronic device.
  • an embodiment of the present application provides a playback control method for a mobile terminal, including:
  • the power consumption reduction process is performed when the target video segment is played.
  • the embodiment of the present application provides a playback control apparatus for a mobile terminal, including:
  • An evaluation information obtaining module configured to acquire user evaluation information corresponding to the target video segment from a server before playing the target video segment;
  • a power consumption reduction determining module configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
  • a power consumption processing module configured to perform power reduction processing when playing the target video segment when the preset power consumption condition is met.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute a play control method of the mobile terminal.
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor implements the following steps:
  • the power consumption reduction process is performed when the target video segment is played.
  • the embodiment of the present application provides a playback control method, device, storage medium, and electronic device of a mobile terminal, which can reduce power consumption of the electronic device.
  • FIG. 1 is a schematic flowchart of a playback control method of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic diagram of a display process according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart diagram of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart diagram of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a structural block diagram of a playback control apparatus for a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a playback control method for a mobile terminal, including the following steps:
  • the power consumption reduction process is performed when the target video segment is played.
  • the reducing power consumption processing is performed when the target video segment is played, including:
  • the target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
  • the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
  • the user evaluation information includes a number of bullets or the number of likes
  • Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition including:
  • a target power consumption reduction strategy corresponding to the target video segment including:
  • the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition including:
  • a target power reduction strategy corresponding to the target video segment including:
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition including:
  • Obtaining a type of aversion corresponding to the current user where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
  • a target power consumption reduction strategy corresponding to the target video segment including:
  • the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  • the power reduction process comprises:
  • FIG. 1 is a schematic flowchart of a playback control method of a mobile terminal according to an embodiment of the present disclosure.
  • the method may be performed by a playback control apparatus of a mobile terminal, where the apparatus may be implemented by software and/or hardware, and may be integrated in a mobile terminal. in.
  • the method includes:
  • Step 101 Obtain user evaluation information corresponding to the target video segment from the server before playing the target video segment.
  • the mobile terminal in the embodiment of the present application may specifically be a device including a display screen, such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, and a digital multimedia player.
  • a display screen such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, and a digital multimedia player.
  • video playback applications provide more and more video resources, and support functions such as on-demand and live broadcast, so more and more users choose video playback applications to watch videos.
  • video playback applications that can be loaded on mobile terminals, such as iQiyi video, Youku video, Tencent video and Sohu video.
  • These video playback applications provide users with a large number of free video resources, users can choose to play online or offline.
  • the playback mode is played, and the embodiment of the present application is particularly applicable to an application scenario of the online play mode.
  • the target video resource to be played may be divided into a plurality of video segments at preset time intervals.
  • the preset time interval may be a fixed value (for example, 5 minutes), or may be a preset ratio value (for example, 1/30) of the total playing time of the target video resource, and the specific value is not limited.
  • the target video segment is determined according to the playing progress of the target video resource, and the target video segment can be understood as the next video segment of the video segment currently being played.
  • the video content is evaluated during the video viewing process, such as posting a barrage, likes, comments, and chatting with other online users in the discussion forum, etc., who express their own evaluation of the video content.
  • the information can be used as user evaluation information.
  • the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, and a discussion zone chat record received by the target video segment during the historical playback.
  • the user evaluation information generally has a certain correspondence with the playing time of the video (corresponding to the playing time axis of the video), that is, the user will post the evaluation information at the corresponding playing time when seeing the video content that he wants to evaluate. Therefore, the corresponding video segment can be determined according to the playing progress of the user evaluation information, and the corresponding relationship is uploaded to the server (for example, the server corresponding to the video playing application being used), so that the server can summarize
  • the evaluation information posted by all the users who have watched the video clip corresponding to the current video clip, that is, the user evaluation information corresponding to the target video clip includes all the target video videos that have been viewed by the target video clip summarized by the server.
  • the rating information posted by the user of the segment is not limited to the user of the segment.
  • the corresponding user evaluation information may be obtained from the server before the target video segment is played, or may be obtained when the user selects the target video resource to obtain the user evaluation corresponding to all the video segments included in the target video resource.
  • the information in this application is not limited.
  • Step 102 Determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
  • the user evaluation information may reflect the degree of preference or attention of the user who has viewed the target video clip to the target video clip. For example, when the user evaluation information includes the number of barrage, if the number of barrage is large, the user's attention is high; for example, when the user evaluation information includes the number of likes, if the number of praises is more, it means a lot.
  • the user likes the video clip; for example, when the user evaluation information includes the barrage content or the discussion area chat record, the text in the barrage content and the chat record can be identified, and a field that reflects the user's evaluation is extracted, such as “ Look good, "exciting”, “boring”, “want to fast forward”, etc., based on the identified fields to determine the user's viewing attitude.
  • the preset power consumption reduction condition may be used to measure the user's satisfaction with the video segment, including the degree of attention or whether the user likes to watch, etc., when determining that the target video segment is less concerned or many users according to the user evaluation information.
  • you don't like watching you can determine that the target video clip meets the preset power reduction conditions.
  • Step 103 If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
  • the power reduction processing may include: reducing screen brightness, reducing a screen refresh rate, reducing a layer drawing frame rate, lowering a layer composite frame rate, reducing a display screen resolution, and reducing a playback volume. item.
  • the step may include: determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment; and using the target power reduction strategy to perform a power reduction when playing the target video segment.
  • the power reduction strategy may include a method for reducing power consumption and a corresponding parameter value.
  • the target power reduction strategy includes at least one of reducing screen brightness, reducing screen refresh rate, reducing layer drawing frame rate, reducing layer composite frame rate, reducing display resolution, and reducing playback volume. And the corresponding parameter values.
  • the parameter value corresponding to the reduced screen brightness is the target screen brightness value
  • the parameter value corresponding to the reduced screen refresh rate is the target screen refresh rate
  • the parameter value corresponding to the frame drawing frame rate is reduced, and the frame rate of the target layer is drawn, and the layer is lowered.
  • the parameter value corresponding to the composite frame rate is the target layer composite frame rate
  • the display screen resolution is reduced to the target display screen resolution
  • the parameter value corresponding to the playback volume is reduced to the target volume value.
  • the above various power reduction methods can be simultaneously adopted, for example, simultaneously reducing screen brightness, reducing screen refresh rate, reducing layer drawing frame rate, reducing layer composite frame rate, Reduce the display resolution and reduce the playback volume.
  • the difference between the different power consumption reduction policies may be different in the aspects of the power consumption reduction mode, the number of the power consumption reduction modes, and the parameter values corresponding to the power consumption reduction modes.
  • the embodiment of the present application does not limit the operating system loaded in the mobile terminal, and may be an Android system or a mobile phone window (Windows). Phone, WP) operating system, Linux and IOS systems, etc. Illustratively, for convenience of explanation, the embodiments of the present application are described in the following with a common Android system.
  • FIG. 2 is a schematic diagram of a display process according to an embodiment of the present application.
  • each application (hereinafter referred to as an application or APP) contains one or more layers, and each application APP1, APP2...APPN is designed according to its own application (generally by the corresponding installation package APK) Decided to perform a layer rendering operation (that is, drawing an image on the layer), and after the drawing operation is completed, each application sends all the layers drawn to the layer composition that performs the layer composition operation.
  • Module Surface Flinger
  • the layer composition module selects the visible layer from ListAll to form a visible layer list, which is defined as DisplayList.
  • the layer synthesis module from the system three recyclable frame buffers (Frame Buffer, referred to as BF or buffer, finds an idle FB, and on the free FB, according to the application configuration information, for example, which layer should be bottomed, which layer should be topped, which area is visible, and which The area is a transparent area, etc., and the layers contained in the DisplayList are superimposed by a Compose operation to obtain a final picture to be displayed.
  • BF recyclable frame buffer
  • the picture to be displayed can be transmitted to the display hardware (including the display controller and the display screen, so that the picture to be displayed is finally displayed on the display screen.
  • the type of the display screen is not limited, for example, Is a liquid crystal display (Liquid Crystal Display, LCD).
  • FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application.
  • the Vsync refresh mechanism actually inserts a "heartbeat" or system synchronization (Vsync) signal in the entire display process, and is sent by the display controller to the CPU for generating a Vsync interrupt to control each layer drawing operation and graph.
  • Layer synthesis operations need to be done in accordance with the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync.
  • the frequency of the Vsync signal is currently commonly 60 Hz. As shown in FIG.
  • the CPU forwards the second Vsync signal Vsync2 to the layer synthesizing module, and the layer synthesizing module starts performing a layer synthesizing operation, and synthesizes the multiple layers drawn by each application to generate The screen to be displayed.
  • the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh and finally displays the to-be-displayed screen on the display.
  • the frequency of the Vsync signal received by the application, the layer synthesis module, and the display screen is consistent, and is a fixed value set in advance.
  • the drawing frame rate In the process of drawing, synthesizing, and refreshing the display of the mobile terminal layer, there are three kinds of frame rates: the drawing frame rate, the composite frame rate, and the refresh rate.
  • the drawing frame rate is a frame rate that triggers the layer synthesis module to perform layer composition after the drawing of the layer is completed, and can be understood as the number of layer frames drawn per unit time (for example, 1 second).
  • the drawing frame rate includes a (layer) drawing frame rate corresponding to the application and a (layer) drawing frame rate corresponding to the single class layer.
  • a video player application generally includes three layers: a layer that displays video content, which can be defined as U1; Two SurfaceView type layers, one for displaying the barrage content, which can be defined as U2 and the other for displaying the user interface (User Interface, UI) controls (such as playback progress bar, volume control bar, and various control buttons) and advertisements can be defined as U3.
  • the drawing frame rate corresponding to the application is the number of times the drawing operation is performed in the application unit time, and one or more layers may be drawn when performing a drawing operation.
  • the drawing frame rate corresponding to the single class layer is the number of times the layer is triggered to be drawn in the unit time of the same number or name (such as the previous U1, U2, or U3).
  • the composite frame rate is a frame rate in which the layers drawn by each application are combined into one picture to be displayed, which can be understood as the number of picture frames synthesized per unit time.
  • the refresh rate is the frame rate at which the display screen of the mobile terminal is refreshed. Typically, the display will refresh at a 60Hz refresh rate.
  • the screen brightness can be reduced by adjusting the brightness value of the display screen to the target screen brightness value, including adjusting the brightness value of the display screen to a minimum (equivalent to extinguishing the screen).
  • the layer can be reduced by adjusting the frequency of the reference signal (such as the Vsync signal) used to draw the layer, composite layer, or screen refresh to the target layer drawing frame rate, the target layer composite frame rate, or the target screen refresh rate.
  • Draw the frame rate, reduce the layer composite frame rate or reduce the screen refresh rate, and the frequency of the Vsync signal corresponding to the drawing layer, composite layer and screen refresh can be the same (if both are reduced from 60Hz to 50Hz) or different ( For example, from 60Hz to 50Hz, 52Hz and 54Hz).
  • the layer drawing frame rate, the layer composite frame rate or the screen refresh rate to the target layer drawing frame rate by changing the response mechanism of the layer drawing operation, the layer composition operation, and the screen refresh operation to the reference signal, Target layer composite frame rate or target screen refresh rate.
  • the received 2n+1th signal response, the received 2nth signal does not respond; for example, a set of n (such as 5) signals, the first type of preset number in each group ( For signals such as 1, 2, 4, 5), the signal of the second type of preset number (such as 4) does not respond.
  • the current layer drawing frame rate of 60 Hz is reduced to the target layer drawing frame rate of 50 Hz, which can be implemented in two ways: First, the frequency of the Vsync signal sent to the application is changed. 50Hz; second, assuming that the frequency of the Vsync signal is 60Hz, with six signals as a group, the control application responds to five first-class preset numbers in each group (such as 1, 2, 3, 4, and 5). The signal is used to draw the layer and does not respond to a second type of preset number (such as 6).
  • Decreasing the display screen resolution can be implemented in the layer drawing stage or the layer composition stage.
  • the application reduces the resolution of the image to the target display screen resolution when drawing the layer corresponding to the target video clip, and the layer layer synthesis module
  • the display screen resolution corresponding to the target video clip can be reduced to the target display screen resolution before the synthesis or during the synthesis.
  • the resolution can be reduced by image processing related means.
  • the playback control method of the mobile terminal obtains user evaluation information corresponding to the target video segment from the server before playing the target video segment, and determines a target power reduction strategy corresponding to the target video segment according to the user evaluation information.
  • the target power reduction strategy is used to reduce power consumption when playing the target video segment.
  • FIG. 4 is a schematic flowchart of a playback control method of another mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 401 Obtain a number of the barrage corresponding to the target video segment from the server before playing the target video segment.
  • the number of barrage can also be the number of praises, but also the number of barrage and the number of praises.
  • the following is an example of the number of barrage.
  • Step 402 Calculate a first ratio of the number of the barrage to the historical on-demand amount of the target video segment.
  • the historical on-demand amount of the target video segment can be understood as the number of times the target video segment has been played, and the number of the barrage corresponding to the target video segment can be understood as the number of the barrage received by the target video segment during the historical playback.
  • Step 403 it is determined whether the first ratio is less than the preset ratio threshold, and if so, step 404 is performed; otherwise, step 407 is performed;
  • the preset ratio threshold may be set empirically, for example, may be 0.5.
  • Step 404 Determine that the target video segment meets a preset power consumption condition.
  • the barrage When the user watches the target video clip, if the video clip is interested, the barrage may be published to evaluate it, so the ratio of the number of the barrage to the historical on-demand amount of the target video segment may reflect all the video segments that have been viewed. The degree of overall attention of the user to the target video segment, as a reference to determine the current user's attention to the target video segment.
  • Step 405 Query the first preset correspondence according to the first ratio, and obtain a target power reduction strategy corresponding to the target video segment.
  • the first preset correspondence includes a correspondence between a pre-established ratio and a power consumption reduction strategy.
  • the correspondence between the ratio interval and the power reduction strategy can be established in advance.
  • the power consumption reduction strategy is three.
  • the ratio is greater than 0.3 and less than 0.5
  • the first power reduction strategy is corresponding.
  • the second power reduction strategy is corresponding.
  • the corresponding number is corresponding.
  • the ratio of the number of the barrage to the historical amount of the target video segment can be recorded as the ratio A, and the number of the barrage and the historical amount of the target video segment can be recorded.
  • the ratio is recorded as the ratio B.
  • the first ratio in this step is recorded as the composite ratio.
  • the composite ratio is the sum of the ratio A and the ratio B (A+B) or the weighted sum (aA+bB).
  • the coefficients a and b can be set according to experience, and the specific values are not limited.
  • the first power reduction strategy is to reduce the screen refresh rate, reduce the layer drawing frame rate, and reduce the layer composite frame rate
  • the second power reduction strategy is to reduce the screen brightness, reduce the screen refresh rate, and reduce the layer drawing.
  • third power reduction strategy is to reduce screen brightness, reduce screen refresh rate, reduce layer drawing frame rate, reduce layer composite frame rate and reduce display resolution Rate and reduce the playback volume.
  • the parameter values corresponding to the above various power consumption modes are not limited, as long as they are lower than the original corresponding parameter values, for example, the screen refresh rate is reduced from 60 Hz to 50 Hz.
  • the first power reduction strategy is to reduce the screen refresh rate, reduce the frame drawing frame rate, and reduce the layer composite frame rate, and the corresponding target parameter values are both 58 Hz (60 Hz before power consumption reduction);
  • the power consumption strategy is to reduce the screen refresh rate, reduce the frame drawing frame rate, and reduce the layer composite frame rate.
  • the corresponding target parameter values are all 55 Hz;
  • the third power reduction strategy is to reduce the screen refresh rate and reduce the layer drawing frame rate.
  • the corresponding target parameter value is 50Hz.
  • Step 406 Perform a power reduction process by using a target power reduction strategy when playing the target video segment.
  • Step 407 Play the original video strategy when playing the target video segment.
  • the embodiment of the present application can more accurately determine the power consumption reduction strategy corresponding to the target video segment according to the ratio of the number of the barrage or the number of praises to the historical on-demand amount of the target video segment, and ensure the user's viewing experience while reducing the system of the mobile terminal. Power consumption.
  • FIG. 5 is a schematic flowchart of a playback control method of another mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 501 Obtain a barrage content corresponding to the target video segment from the server before playing the target video segment.
  • the content of the barrage may also be the comment content or the chat record of the discussion area, and may also include the content of the barrage, the content of the comment, and the chat record of the discussion area.
  • the following describes the number of the barrage as an example.
  • Step 502 Acquire text information included in the content of the barrage.
  • Step 503 Extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords.
  • keywords of positive evaluation type may include positive evaluation languages such as “good-looking”, “exciting”, “scene shock”, and “like”
  • keywords of negative evaluation type may include “not good-looking”, “boring” Negative evaluation language such as “disappointment” and "wasting time”.
  • Step 504 Determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than the sum of the second occurrence times corresponding to the positive evaluation type. If yes, execute step 505; otherwise, perform step 508.
  • Step 505 Calculate a first difference between the sum of the first number of occurrences and the sum of the second occurrences.
  • Step 506 Query a second preset correspondence according to the first difference, and obtain a target power reduction strategy corresponding to the target video segment.
  • the second preset correspondence includes a correspondence between the pre-established difference and the power reduction strategy.
  • the correspondence between the difference interval and the power reduction strategy can also be established.
  • the difference is greater than 100, the corresponding first power reduction strategy is adopted.
  • the corresponding second power reduction strategy is used.
  • the difference is less than or equal to 50, the third is corresponding.
  • Power reduction strategy For specific power reduction strategies, refer to the related description above.
  • Step 507 Perform the power consumption reduction process by using the target power reduction strategy when playing the target video segment.
  • Step 508 playing the original video segment when playing the target video segment.
  • the embodiment of the present application can extract a keyword that can express the user's preference from the text content corresponding to the content of the barrage, the content of the comment, and the chat record of the discussion area, and obtain whether the target video segment is liked or disliked by most users.
  • the power consumption reduction strategy corresponding to the target video segment is determined more accurately, and the user's viewing experience is ensured while reducing the system power consumption of the mobile terminal.
  • FIG. 6 is a schematic flowchart of another playback control method of a mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 601 Obtain a barrage content corresponding to the target video segment from the server before playing the target video segment.
  • the content of the barrage may also be the comment content or the chat record of the discussion area, and may also include the content of the barrage, the content of the comment, and the chat record of the discussion area.
  • the following describes the number of the barrage as an example.
  • Step 602 Obtain a type of aversion corresponding to the current user.
  • the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item.
  • video content types may include hilarity, bloodyness, violence, sadness, and the like.
  • the type of aversion that the current user corresponds to can be selected by the user, or can be determined by counting the viewing habits of the user. For example, when the user selects the number of fast forwards in the history viewing process to exceed the preset number threshold when encountering a violent type of video clip, it may be determined that the user's corresponding aversion type includes a violence type.
  • Step 603 Determine, according to the user evaluation information, a content type corresponding to the target video segment.
  • the content type corresponding to the target video segment includes at least one item.
  • the text information included in the content of the barrage can be obtained, the keywords related to the content type are extracted from the text information, and the frequency of occurrence of the keywords related to each content type is separately counted, and the corresponding keyword is The content type with a higher total frequency of occurrence is determined as the content type corresponding to the target video segment.
  • Step 604 Determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, execute step 605; otherwise, perform step 607.
  • the current user does not hate to watch the target video segment, and does not need to reduce power consumption, and uses the original playing strategy when playing the target video segment.
  • the content type corresponding to the target video segment is consistent with any one of the video content types included in the aversion type, it is determined that the power consumption reduction process needs to be performed during the playback.
  • Step 605 Determine a first item quantity in the content type that is consistent with the aversion type.
  • Step 606 Query a third preset correspondence according to the first item quantity, and obtain a target power consumption reduction strategy corresponding to the target video segment.
  • the third preset correspondence includes a correspondence between the pre-established number and the power consumption reduction policy.
  • the correspondence between the project quantity interval and the power reduction strategy can be established.
  • the corresponding first power reduction strategy is adopted.
  • the second power reduction strategy is corresponding.
  • the third power reduction is performed. Consumption strategy.
  • specific power reduction strategies refer to the related description above.
  • Step 607 playing the original video strategy when playing the target video segment.
  • the embodiment of the present application can extract the content type corresponding to the target video segment from the text content corresponding to the content of the barrage, the comment content, and the chat record of the discussion area, and can more accurately determine the matching degree according to the type of the user and the aversion type of the current user.
  • the power consumption reduction strategy corresponding to the target video segment ensures the user's viewing experience while reducing the system power consumption of the mobile terminal.
  • the embodiment of the present application further provides a playback control apparatus for a mobile terminal, including:
  • An evaluation information obtaining module configured to acquire user evaluation information corresponding to the target video segment from a server before playing the target video segment;
  • a power consumption reduction determining module configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
  • a power consumption processing module configured to perform power reduction processing when playing the target video segment when the preset power consumption condition is met.
  • the power reduction processing module includes:
  • a policy determining unit configured to determine, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment when the preset power consumption condition is met;
  • a power consumption processing unit configured to perform power reduction processing by using the target power reduction strategy when playing the target video segment.
  • the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
  • the user evaluation information includes a number of bullets or the number of likes
  • the power reduction determination module includes:
  • a ratio calculating unit configured to calculate a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment
  • a ratio determining unit configured to determine whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to: query the first preset correspondence according to the first ratio, and obtain a target power consumption reduction policy corresponding to the target video segment, where the first preset correspondence includes pre-established The correspondence between the ratio and the power reduction strategy.
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • the power reduction determination module includes:
  • a text information obtaining unit configured to acquire text information included in the content of the barrage, the content of the comment, or the chat record of the discussion area;
  • An appearance number statistics unit configured to extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords;
  • a sum totaling determining unit configured to determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to:
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • the power reduction determination module includes:
  • the disgusting type obtaining unit is configured to obtain a disgusting type corresponding to the current user, wherein the disgusting type is a video content type that the user does not like to watch, and the aversive type corresponding to the current user includes at least one item;
  • a content type determining unit configured to determine, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
  • a type determining unit configured to determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to:
  • the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  • the power reduction process comprises:
  • FIG. 7 is a structural block diagram of a playback control apparatus for a mobile terminal according to an embodiment of the present disclosure.
  • the device may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and can be played by performing a playback control method of the mobile terminal. control. As shown in Figure 7, the device includes:
  • the evaluation information obtaining module 701 is configured to acquire user evaluation information corresponding to the target video segment from the server before playing the target video segment;
  • the power consumption reduction determining module 702 is configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
  • the power consumption reduction processing module 703 is configured to perform power consumption reduction processing when the target video segment is played when the preset power consumption condition is met.
  • the playback control apparatus of the mobile terminal may determine, according to the user evaluation information, whether the unplayed target video segment satisfies the power consumption reduction condition, and performs power reduction processing when satisfied, thereby saving system power consumption of the mobile terminal.
  • the power reduction processing module 703 includes:
  • a policy determining unit configured to determine, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment when the preset power consumption condition is met;
  • a power consumption processing unit configured to perform power reduction processing by using the target power reduction strategy when playing the target video segment.
  • the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
  • the user evaluation information includes a number of bullets or the number of likes
  • the power reduction determination module 702 includes:
  • a ratio calculating unit configured to calculate a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment
  • a ratio determining unit configured to determine whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to: query the first preset correspondence according to the first ratio, and obtain a target power consumption reduction policy corresponding to the target video segment, where the first preset correspondence includes pre-established The correspondence between the ratio and the power reduction strategy.
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • the power reduction determination module 702 includes:
  • a text information obtaining unit configured to acquire text information included in the content of the barrage, the content of the comment, or the chat record of the discussion area;
  • An appearance number statistics unit configured to extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords;
  • a sum totaling determining unit configured to determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to:
  • the user evaluation information includes the barrage content, the comment content, or a discussion area chat record
  • the power reduction determination module 702 includes:
  • the disgusting type obtaining unit is configured to obtain a disgusting type corresponding to the current user, wherein the disgusting type is a video content type that the user does not like to watch, and the aversive type corresponding to the current user includes at least one item;
  • a content type determining unit configured to determine, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
  • a type determining unit configured to determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition
  • the policy determining unit is configured to:
  • the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  • the power reduction processing module 703 is configured to:
  • the control device for playing the mobile terminal acquires user evaluation information corresponding to the target video segment from the server before playing the target video segment; and determines whether the target video segment meets the preset power consumption condition according to the user evaluation information; If the preset power consumption condition is met, the power consumption processing is performed when the target video segment is played.
  • the embodiment of the present application can determine whether the unplayed target video segment satisfies the power consumption reduction condition according to the user evaluation information, and performs power reduction processing when satisfied, thereby saving system power consumption of the mobile terminal.
  • FIG. 8 is a schematic structural diagram of a mobile terminal 800 according to an embodiment of the present application.
  • the mobile terminal 800 may include a casing (not shown), a memory 801, and a central processing unit (Central). Processing Unit, CPU) 802 (also referred to as a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power supply circuit (not shown).
  • CPU central processing unit
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 802 and the memory 801 are disposed on the circuit board; and the power circuit is used for each circuit or device of the mobile terminal 800 a memory 801 for storing executable program code; the CPU 802 running a program corresponding to the executable program code by reading executable program code stored in the memory 801 for performing the following step:
  • the power consumption reduction process is performed when the target video segment is played.
  • the processor 802 implements the following steps when executing the computer program:
  • the target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
  • the user rating information includes a number of bullets or the number of likes; the processor 802 implements the computer program to implement the following steps:
  • the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
  • the user rating information includes the barrage content, the comment content, or a discussion area chat record; the processor 802 also implements the computer program to implement the following steps:
  • the user rating information includes the barrage content, the comment content, or the discussion area chat record; the processor 802 implements the computer program to implement the following steps:
  • Obtaining a type of aversion corresponding to the current user where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
  • the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  • the mobile terminal 800 further includes: a peripheral interface 803, RF (Radio) Frequency, RF) circuit 805, audio circuit 806, speaker 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/control devices 810, and external port 804, these components are passed through one or A plurality of communication buses or signal lines 807 are in communication.
  • RF Radio
  • RF Radio Frequency
  • RF radio frequency
  • the illustrated mobile terminal 800 is merely one example of a mobile terminal, and that the mobile terminal 800 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal 800 for implementing the play control provided in this embodiment is described in detail below.
  • the mobile terminal 800 takes a mobile phone as an example.
  • the memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
  • the I/O subsystem 809 can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803.
  • the I/O subsystem 809 can include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810.
  • one or more input controllers 8092 receive electrical signals from other input/control devices 810 or transmit electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812.
  • the touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 805 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 805 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 805 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 805 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
  • CODEC COder-DECoder, codec
  • the audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
  • the speaker 811 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
  • the power management chip 808 is used for power supply and power management of the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
  • the electronic device provided by the embodiment of the present application can determine whether the unplayed target video segment satisfies the power consumption reduction condition according to the user evaluation information, and performs power reduction processing when satisfied, thereby saving system power consumption of the electronic device.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute a play control method of any of the foregoing mobile terminals.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory
  • the playback control device and the electronic device of the mobile terminal provided in the foregoing embodiments may perform the playback control method of the mobile terminal provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of performing the method.
  • the playback control method of the mobile terminal provided by any embodiment of the present application may perform the playback control method of the mobile terminal provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of performing the method.

Abstract

A playback control method for a mobile terminal, comprising: before a target video clip is played back, acquiring, from a server end, user evaluation information corresponding to the target video clip; determining, according to the user evaluation information, whether the target video clip satisfies preset power consumption reduction conditions; and if the preset power consumption reduction conditions are satisfied, performing power consumption reduction processing when the target video clip is played back. The present application further provides a playback control device for a mobile terminal, a storage medium and an electronic device.

Description

移动终端的播放控制方法、装置、存储介质及电子设备 Playback control method, device, storage medium and electronic device of mobile terminal
本申请要求于2017年3月10日提交中国专利局、申请号为201710142947.X、发明名称为“一种移动终端的播放控制方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on March 10, 2017, the Chinese Patent Office, the application number is 201710142947.X, the invention titled "a mobile terminal playback control method, device and mobile terminal", all of which The content is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及移动终端技术领域,尤其涉及一种移动终端的播放控制方法、装置、存储介质及电子设备。The embodiments of the present invention relate to the field of mobile terminal technologies, and in particular, to a playback control method, apparatus, storage medium, and electronic device of a mobile terminal.
背景技术Background technique
目前,随着移动终端技术的快速发展,移动终端的显示屏幕尺寸越来越大,所装载的应用程序以及所能够实现的功能也越来越丰富,用户每天会花费大量的时间来使用移动终端。其中,视频播放应用的使用时间通常比较长,所以移动终端耗电情况等成为考量移动终端工作性能的重要指标。At present, with the rapid development of mobile terminal technology, the display screen size of the mobile terminal is getting larger and larger, the loaded application and the functions that can be implemented are more and more abundant, and the user spends a lot of time every day to use the mobile terminal. . Among them, the video playback application usually takes a long time, so the power consumption of the mobile terminal and the like become an important indicator for considering the performance of the mobile terminal.
移动终端的在播放视频时的控制方案对耗电情况的影响较大,现有的移动终端控制方案有待于改进。The control scheme of the mobile terminal when playing video has a great influence on the power consumption situation, and the existing mobile terminal control scheme needs to be improved.
技术问题technical problem
本申请实施例提供一种移动终端的播放控制方法、装置、存储介质及电子设备,可以降低电子设备的功耗。The embodiment of the present application provides a playback control method, device, storage medium, and electronic device of a mobile terminal, which can reduce power consumption of the electronic device.
技术解决方案Technical solution
第一方面,本申请实施例提供了一种移动终端的播放控制方法,包括:In a first aspect, an embodiment of the present application provides a playback control method for a mobile terminal, including:
在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
第二方面,本申请实施例提供了一种移动终端的播放控制装置,包括:In a second aspect, the embodiment of the present application provides a playback control apparatus for a mobile terminal, including:
评价信息获取模块,用于在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;An evaluation information obtaining module, configured to acquire user evaluation information corresponding to the target video segment from a server before playing the target video segment;
降功耗判断模块,用于根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件。And a power consumption reduction determining module, configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
降功耗处理模块,用于在满足所述预设降功耗条件时,在播放所述目标视频片段时进行降功耗处理。And a power consumption processing module, configured to perform power reduction processing when playing the target video segment when the preset power consumption condition is met.
第三方面,本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述移动终端的播放控制方法。In a third aspect, the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute a play control method of the mobile terminal.
第四方面,本申请实施例提供了一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor implements the following steps:
在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
有益效果 Beneficial effect
本申请实施例提供一种移动终端的播放控制方法、装置、存储介质及电子设备,可以降低电子设备的功耗。The embodiment of the present application provides a playback control method, device, storage medium, and electronic device of a mobile terminal, which can reduce power consumption of the electronic device.
附图说明DRAWINGS
图1为本申请实施例提供的一种移动终端的播放控制方法的流程示意图。FIG. 1 is a schematic flowchart of a playback control method of a mobile terminal according to an embodiment of the present disclosure.
图2为本申请实施例提供的一种显示过程示意图。FIG. 2 is a schematic diagram of a display process according to an embodiment of the present application.
图3为本申请实施例提供的Vsync显示刷新机制的示意图。FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application.
图4为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图。FIG. 4 is a schematic flowchart diagram of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
图5为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图。FIG. 5 is a schematic flowchart of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
图6为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图。FIG. 6 is a schematic flowchart diagram of another playback control method of a mobile terminal according to an embodiment of the present disclosure.
图7为本申请实施例提供的一种移动终端的播放控制装置的结构框图。FIG. 7 is a structural block diagram of a playback control apparatus for a mobile terminal according to an embodiment of the present disclosure.
图8为本申请实施例提供的一种移动终端的结构示意图。FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图并通过具体实施方式来进一步说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The technical solutions of the present application will be further described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. In addition, it should be noted that, for the convenience of description, only some but not all of the structures related to the present application are shown in the drawings.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe the various steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of the steps can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
本申请实施例提供一种移动终端的播放控制方法,包括以下步骤:The embodiment of the present application provides a playback control method for a mobile terminal, including the following steps:
在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
在一些实施例中,所述在播放所述目标视频片段时进行降功耗处理,包括:In some embodiments, the reducing power consumption processing is performed when the target video segment is played, including:
根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment;
在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。The target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
在一些实施例中,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数、评论内容以及讨论区聊天记录中的至少一项。In some embodiments, the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
在一些实施例中,所述用户评价信息包括弹幕数量或所述点赞次数;In some embodiments, the user evaluation information includes a number of bullets or the number of likes;
所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;Calculating a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件;Determining whether the first ratio is less than a preset ratio threshold; if less, determining that the target video segment meets a preset power consumption condition;
所述根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power consumption reduction strategy corresponding to the target video segment, including:
根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。Querying the first preset correspondence according to the first ratio, and obtaining a target power reduction policy corresponding to the target video segment, where the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;Obtaining the text information included in the barrage content, the comment content, or the chat record in the discussion area;
从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;Extracting keywords of negative evaluation type and positive evaluation type from the text information, and separately counting the sum of occurrences of each type of keywords;
判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;Determining whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment, including:
计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;Obtaining a type of aversion corresponding to the current user, where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;Determining, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;Determining whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
所述根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power consumption reduction strategy corresponding to the target video segment, including:
确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
在一些实施例中,所述降功耗处理包括:In some embodiments, the power reduction process comprises:
降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Reduce at least one of screen brightness, lower screen refresh rate, lower frame drawing frame rate, lower layer composite frame rate, lower display resolution, and lower playback volume.
图1为本申请实施例提供的一种移动终端的播放控制方法的流程示意图,该方法可以由移动终端的播放控制装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a playback control method of a mobile terminal according to an embodiment of the present disclosure. The method may be performed by a playback control apparatus of a mobile terminal, where the apparatus may be implemented by software and/or hardware, and may be integrated in a mobile terminal. in. As shown in Figure 1, the method includes:
步骤101、在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息。Step 101: Obtain user evaluation information corresponding to the target video segment from the server before playing the target video segment.
示例性的,本申请实施例中的移动终端具体可为手机、智能手表、平板电脑、游戏机、个人数字助理和数字多媒体播放器等包含显示屏的设备。Illustratively, the mobile terminal in the embodiment of the present application may specifically be a device including a display screen, such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, and a digital multimedia player.
目前,视频播放应用所提供的视频资源越来越丰富,且支持点播以及直播等功能,所以选择视频播放应用来观看视频的用户越来越多。移动终端上可装载的视频播放应用有很多,如爱奇艺视频、优酷视频、腾讯视频以及搜狐视频等等,这些视频播放应用为用户提供了大量的免费视频资源,用户可选择在线播放或者离线播放等播放模式,本申请实施例尤其适用于在线播放模式的应用场景。At present, video playback applications provide more and more video resources, and support functions such as on-demand and live broadcast, so more and more users choose video playback applications to watch videos. There are many video playback applications that can be loaded on mobile terminals, such as iQiyi video, Youku video, Tencent video and Sohu video. These video playback applications provide users with a large number of free video resources, users can choose to play online or offline. The playback mode is played, and the embodiment of the present application is particularly applicable to an application scenario of the online play mode.
示例性的,在执行本步骤之前,可将即将播放的目标视频资源(如用户选择播放的一部电影、一集电视剧或一期电视节目等)以预设时间间隔划分为多个视频片段。其中,预设时间间隔可为固定值(如5分钟),也可为目标视频资源总播放时长的预设比例值(如1/30),具体数值不做限定。根据所述目标视频资源的播放进度确定目标视频片段,目标视频片段可理解为当前正在播放的视频片段的下一个视频片段。Exemplarily, before performing this step, the target video resource to be played (such as a movie selected by the user, a TV series or a TV program, etc.) may be divided into a plurality of video segments at preset time intervals. The preset time interval may be a fixed value (for example, 5 minutes), or may be a preset ratio value (for example, 1/30) of the total playing time of the target video resource, and the specific value is not limited. The target video segment is determined according to the playing progress of the target video resource, and the target video segment can be understood as the next video segment of the video segment currently being played.
当用户选择在线观看模式时,在观看视频的过程中会对视频内容进行评价,如发布弹幕、点赞、评论以及在讨论区与其他在线用户聊天等等,这些用户表达自己对视频内容评价的信息均可作为用户评价信息。示例性的,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数以及讨论区聊天记录中的至少一项。When the user selects the online viewing mode, the video content is evaluated during the video viewing process, such as posting a barrage, likes, comments, and chatting with other online users in the discussion forum, etc., who express their own evaluation of the video content. The information can be used as user evaluation information. Exemplarily, the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, and a discussion zone chat record received by the target video segment during the historical playback.
用户评价信息一般可以与视频的播放时间(与视频的播放时间轴相对应)存在一定的对应关系,也就是说用户在看到自己想要评价的视频内容时会在对应的播放时刻发表评价信息,因此,可根据用户评价信息的发布时的播放进度确定其对应的视频片段,并将此对应关系上传至服务端(例如可以是正在使用的视频播放应用程序对应的服务器),以便服务端汇总当前的视频片段所对应的所有曾观看过该视频片段的用户所发布的评价信息,也就是说目标视频片段对应的用户评价信息包括服务端汇总的目标视频片段所对应的所有曾观看过目标视频片段的用户所发布的评价信息。The user evaluation information generally has a certain correspondence with the playing time of the video (corresponding to the playing time axis of the video), that is, the user will post the evaluation information at the corresponding playing time when seeing the video content that he wants to evaluate. Therefore, the corresponding video segment can be determined according to the playing progress of the user evaluation information, and the corresponding relationship is uploaded to the server (for example, the server corresponding to the video playing application being used), so that the server can summarize The evaluation information posted by all the users who have watched the video clip corresponding to the current video clip, that is, the user evaluation information corresponding to the target video clip includes all the target video videos that have been viewed by the target video clip summarized by the server. The rating information posted by the user of the segment.
本步骤中,可在即将播放目标视频片段之前从服务端获取其对应的用户评价信息,也可在用户选择播放目标视频资源时开始获取该目标视频资源中包含的所有视频片段分别对应的用户评价信息,本申请实施例不做限定。In this step, the corresponding user evaluation information may be obtained from the server before the target video segment is played, or may be obtained when the user selects the target video resource to obtain the user evaluation corresponding to all the video segments included in the target video resource. The information in this application is not limited.
步骤102、根据所述用户评价信息确定目标视频片段是否满足预设降功耗条件。Step 102: Determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
示例性的,用户评价信息可以反映出曾经观看过目标视频片段的用户对目标视频片段的喜好程度或关注程度等。例如,当用户评价信息包含弹幕数量时,若弹幕数量较多,则说明用户关注程度较高;又如,当用户评价信息包含点赞次数时,若点赞次数较多,则说明很多用户喜欢该视频片段;再如,当用户评价信息包含弹幕内容或讨论区聊天记录时,可对弹幕内容和聊天记录中的文字进行识别,从中提取出能够反映用户评价的字段,如“好看”、“精彩”、“无聊”、“想快进”等等,根据识别出的字段来确定用户的观看态度。Exemplarily, the user evaluation information may reflect the degree of preference or attention of the user who has viewed the target video clip to the target video clip. For example, when the user evaluation information includes the number of barrage, if the number of barrage is large, the user's attention is high; for example, when the user evaluation information includes the number of likes, if the number of praises is more, it means a lot. The user likes the video clip; for example, when the user evaluation information includes the barrage content or the discussion area chat record, the text in the barrage content and the chat record can be identified, and a field that reflects the user's evaluation is extracted, such as “ Look good, "exciting", "boring", "want to fast forward", etc., based on the identified fields to determine the user's viewing attitude.
本申请实施例中,预设降功耗条件可用于衡量用户对视频片段的满意程度,包括受关注度或是否喜欢观看等,当根据用户评价信息确定目标视频片段受关注程度较低或很多用户不喜欢观看时,可确定目标视频片段满足预设降功耗条件。In the embodiment of the present application, the preset power consumption reduction condition may be used to measure the user's satisfaction with the video segment, including the degree of attention or whether the user likes to watch, etc., when determining that the target video segment is less concerned or many users according to the user evaluation information. When you don't like watching, you can determine that the target video clip meets the preset power reduction conditions.
步骤103、若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。Step 103: If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
示例性的,所述降功耗处理可包括:降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Exemplarily, the power reduction processing may include: reducing screen brightness, reducing a screen refresh rate, reducing a layer drawing frame rate, lowering a layer composite frame rate, reducing a display screen resolution, and reducing a playback volume. item.
在一些实施例中,本步骤可包括:根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。其中,降功耗策略中可包括降功耗处理的方式以及对应的参数值。这样设置的好处在于,能够更加细致地根据用户评价信息进行不同程度的降功耗处理,更好地兼顾用户的观看需求和节省功耗的效果。In some embodiments, the step may include: determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment; and using the target power reduction strategy to perform a power reduction when playing the target video segment. Consumption processing. The power reduction strategy may include a method for reducing power consumption and a corresponding parameter value. The advantage of this setting is that it can perform different levels of power reduction processing according to the user evaluation information in a more detailed manner, and better balance the user's viewing requirements and power saving effects.
示例性的,所述目标降功耗策略包括降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项以及对应的参数值。其中,降低屏幕亮度对应的参数值为目标屏幕亮度值,降低屏幕刷新率对应的参数值为目标屏幕刷新率,降低图层绘制帧率对应的参数值为目标图层绘制帧率,降低图层合成帧率对应的参数值为目标图层合成帧率,降低显示画面分辨率为目标显示画面分辨率,减小播放音量对应的参数值为目标音量值。可以理解的是,为了增强降功耗的效果,可以同时采用上述多种降功耗的方式,例如同时降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量。不同的降功耗策略之间的区别可体现在降功耗方式的不同、降功耗方式的数量不同以及降功耗方式对应的参数值不同等各个方面,本申请实施例不做限定。Exemplarily, the target power reduction strategy includes at least one of reducing screen brightness, reducing screen refresh rate, reducing layer drawing frame rate, reducing layer composite frame rate, reducing display resolution, and reducing playback volume. And the corresponding parameter values. The parameter value corresponding to the reduced screen brightness is the target screen brightness value, and the parameter value corresponding to the reduced screen refresh rate is the target screen refresh rate, and the parameter value corresponding to the frame drawing frame rate is reduced, and the frame rate of the target layer is drawn, and the layer is lowered. The parameter value corresponding to the composite frame rate is the target layer composite frame rate, the display screen resolution is reduced to the target display screen resolution, and the parameter value corresponding to the playback volume is reduced to the target volume value. It can be understood that, in order to enhance the effect of reducing power consumption, the above various power reduction methods can be simultaneously adopted, for example, simultaneously reducing screen brightness, reducing screen refresh rate, reducing layer drawing frame rate, reducing layer composite frame rate, Reduce the display resolution and reduce the playback volume. The difference between the different power consumption reduction policies may be different in the aspects of the power consumption reduction mode, the number of the power consumption reduction modes, and the parameter values corresponding to the power consumption reduction modes.
本申请实施例对移动终端中装载的操作系统不做限定,可以是安卓(Android)系统、手机窗口(Windows Phone,WP)操作系统、Linux及IOS系统等等。示例性的,为了便于说明,本申请实施例以常见的Android系统进行后续的说明。The embodiment of the present application does not limit the operating system loaded in the mobile terminal, and may be an Android system or a mobile phone window (Windows). Phone, WP) operating system, Linux and IOS systems, etc. Illustratively, for convenience of explanation, the embodiments of the present application are described in the following with a common Android system.
为了便于理解,下面以Android系统为例,对Android系统中显示画面从生成到显示的过程进行简单的说明。图2为本申请实施例提供的一种显示过程示意图。In order to facilitate understanding, the Android system is taken as an example to briefly describe the process from the generation to the display of the display screen in the Android system. FIG. 2 is a schematic diagram of a display process according to an embodiment of the present application.
首先,在应用(Application)层,每个应用程序(以下简称应用或APP)包含1个或多个图层,各个应用APP1、APP2…APPN按照自己的应用设计情况(一般由对应的安装包APK决定)各自单独执行图层绘制(Render)操作(即绘制图层上的图像),并在绘制操作处理完成后,各应用将所绘制的所有图层发送给执行图层合成操作的图层合成模块(Surface flinger)。First, in the Application layer, each application (hereinafter referred to as an application or APP) contains one or more layers, and each application APP1, APP2...APPN is designed according to its own application (generally by the corresponding installation package APK) Decided to perform a layer rendering operation (that is, drawing an image on the layer), and after the drawing operation is completed, each application sends all the layers drawn to the layer composition that performs the layer composition operation. Module (Surface Flinger).
然后,在应用框架(Framework)层,所有图层(包括可见图层和不可见图层)组成一个图层列表,定义为ListAll。图层合成模块从ListAll中挑选出可见图层组成可见图层列表,定义为DisplayList。随后,图层合成模块从系统中三个可循环使用的帧缓冲器(Frame Buffer,简称BF或buffer)中,找出一个空闲的FB,并在该空闲的FB上,根据应用配置信息,例如哪个图层应该置底、哪个图层应该置顶、哪个区域为可见区以及哪个区域为透明区等等,通过合成(Compose)操作,将DisplayList中包含的图层叠加在一起,得到最终的待显示画面。Then, in the Framework layer, all layers (including visible and invisible layers) form a list of layers, defined as ListAll. The layer composition module selects the visible layer from ListAll to form a visible layer list, which is defined as DisplayList. Subsequently, the layer synthesis module from the system three recyclable frame buffers (Frame Buffer, referred to as BF or buffer, finds an idle FB, and on the free FB, according to the application configuration information, for example, which layer should be bottomed, which layer should be topped, which area is visible, and which The area is a transparent area, etc., and the layers contained in the DisplayList are superimposed by a Compose operation to obtain a final picture to be displayed.
最后,在内核(Kernel)层,可以将待显示画面传输给显示硬件(包括显示控制器和显示屏,使待显示画面最终显示在显示屏上。这里对显示屏的类型不做限定,例如可以是液晶显示器(Liquid Crystal Display, LCD)。Finally, at the Kernel layer, the picture to be displayed can be transmitted to the display hardware (including the display controller and the display screen, so that the picture to be displayed is finally displayed on the display screen. Here, the type of the display screen is not limited, for example, Is a liquid crystal display (Liquid Crystal Display, LCD).
另外,Android系统在显示刷新的过程中引入了同步(Vsync)刷新机制。图3为本申请实施例提供的Vsync显示刷新机制的示意图。具体地,Vsync刷新机制其实就是在整个显示流程中,插入“心跳”即系统同步(Vsync)信号,由显示控制器发送给CPU,用于产生Vsync中断,以控制每次图层绘制操作和图层合成操作都需要按照心跳来完成,从而将整个显示过程中的关键步骤都纳入到Vsync的统一管理机制。Vsync信号的频率目前常见为60Hz。如图3所示,假设Vsync信号周期为T,不考虑信号的传输延迟,第一个Vsync信号Vsync1到达CPU后,CPU向各应用转发该第一个Vsync信号Vsync1,各应用响应用户在显示屏上的触摸滑动等操作,开始执行绘制操作;在各应用完成绘制操作后,得到各应用所绘制的多个图层。第二个Vsync信号Vsync2到达CPU后,CPU向图层合成模块转发该第二个Vsync信号Vsync2,图层合成模块开始执行图层合成操作,将各应用所绘制的多个图层进行合成,生成待显示画面。第三个Vsync信号Vsync3到达CPU后,系统开始执行显示刷新,并将该待显示画面最终显示在显示屏上。由上述描述可知,应用程序、图层合成模块和显示屏接收到的Vsync信号的频率是一致的,且是预先设置好的固定值。In addition, the Android system introduced a synchronization (Vsync) refresh mechanism during the display refresh process. FIG. 3 is a schematic diagram of a Vsync display refresh mechanism provided by an embodiment of the present application. Specifically, the Vsync refresh mechanism actually inserts a "heartbeat" or system synchronization (Vsync) signal in the entire display process, and is sent by the display controller to the CPU for generating a Vsync interrupt to control each layer drawing operation and graph. Layer synthesis operations need to be done in accordance with the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync. The frequency of the Vsync signal is currently commonly 60 Hz. As shown in FIG. 3, assuming that the Vsync signal period is T, regardless of the signal transmission delay, after the first Vsync signal Vsync1 reaches the CPU, the CPU forwards the first Vsync signal Vsync1 to each application, and each application responds to the user on the display screen. On the touch and other operations, the drawing operation is started; after each application completes the drawing operation, multiple layers drawn by each application are obtained. After the second Vsync signal Vsync2 reaches the CPU, the CPU forwards the second Vsync signal Vsync2 to the layer synthesizing module, and the layer synthesizing module starts performing a layer synthesizing operation, and synthesizes the multiple layers drawn by each application to generate The screen to be displayed. After the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh and finally displays the to-be-displayed screen on the display. As can be seen from the above description, the frequency of the Vsync signal received by the application, the layer synthesis module, and the display screen is consistent, and is a fixed value set in advance.
在移动终端图层绘制、合成和刷新显示的流程中,存在3种帧率:绘制帧率、合成帧率和刷新率。In the process of drawing, synthesizing, and refreshing the display of the mobile terminal layer, there are three kinds of frame rates: the drawing frame rate, the composite frame rate, and the refresh rate.
其中,绘制帧率为图层绘制完成后,触发图层合成模块进行图层合成的帧率,可以理解为单位时间(例如,1秒钟)绘制的图层帧数。所述绘制帧率包括应用程序对应的(图层)绘制帧率和单类图层对应的(图层)绘制帧率。系统中运行的应用程序可能有多个,每个应用程序可能包括多个图层,例如,视频播放器应用程序下一般包括三个图层:一个显示视频内容的图层,可定义为U1;两个SurfaceView类型的图层,一个用于显示弹幕内容,可定义为U2,另一个用于显示用户界面(User Interface,UI)控件(如播放进度条、音量控制条以及各种控制按钮等)和广告,可定义为U3。所述应用程序对应的绘制帧率为应用程序单位时间内执行绘制操作的次数,其中,执行一次绘制操作时可能绘制了一个或者多个图层。所述单类图层对应的绘制帧率为同一编号或名称(如前面的U1、U2或U3)的图层单位时间内被触发绘制的次数。The drawing frame rate is a frame rate that triggers the layer synthesis module to perform layer composition after the drawing of the layer is completed, and can be understood as the number of layer frames drawn per unit time (for example, 1 second). The drawing frame rate includes a (layer) drawing frame rate corresponding to the application and a (layer) drawing frame rate corresponding to the single class layer. There may be multiple applications running in the system. Each application may include multiple layers. For example, a video player application generally includes three layers: a layer that displays video content, which can be defined as U1; Two SurfaceView type layers, one for displaying the barrage content, which can be defined as U2 and the other for displaying the user interface (User Interface, UI) controls (such as playback progress bar, volume control bar, and various control buttons) and advertisements can be defined as U3. The drawing frame rate corresponding to the application is the number of times the drawing operation is performed in the application unit time, and one or more layers may be drawn when performing a drawing operation. The drawing frame rate corresponding to the single class layer is the number of times the layer is triggered to be drawn in the unit time of the same number or name (such as the previous U1, U2, or U3).
合成帧率为把各个应用程序绘制的图层合成为一个待显示画面的帧率,可以理解为单位时间合成的画面帧数。The composite frame rate is a frame rate in which the layers drawn by each application are combined into one picture to be displayed, which can be understood as the number of picture frames synthesized per unit time.
刷新率为移动终端显示屏画面刷新的帧率。一般,显示屏会以60Hz的刷新率刷新。The refresh rate is the frame rate at which the display screen of the mobile terminal is refreshed. Typically, the display will refresh at a 60Hz refresh rate.
在一些实施方式中,可通过将显示屏的亮度值调整到目标屏幕亮度值来降低屏幕亮度,包括将显示屏的亮度值调到最低(相当于熄灭屏幕)。In some embodiments, the screen brightness can be reduced by adjusting the brightness value of the display screen to the target screen brightness value, including adjusting the brightness value of the display screen to a minimum (equivalent to extinguishing the screen).
可通过将用于绘制图层、合成图层或屏幕刷新的参考信号(如Vsync信号)的频率调整为目标图层绘制帧率、目标图层合成帧率或目标屏幕刷新率来实现降低图层绘制帧率、降低图层合成帧率或降低屏幕刷新率,且绘制图层、合成图层和屏幕刷新对应的Vsync信号的频率可以相同(如均由60Hz降为50Hz)也可以各不相同(如由60Hz分别降为50Hz、52Hz和54Hz)。也可通过变更图层绘制操作、图层合成操作和屏幕刷新操作对参考信号的响应机制来实现将图层绘制帧率、图层合成帧率或屏幕刷新率降低至目标图层绘制帧率、目标图层合成帧率或目标屏幕刷新率。例如,接收到的第2n+1个信号响应,接收到的第2n个信号不响应;又如,以n个(如5个)信号为一组,每组中的第一类预设编号(如1,2,4,5)的信号响应,第二类预设编号(如4)的信号不响应。The layer can be reduced by adjusting the frequency of the reference signal (such as the Vsync signal) used to draw the layer, composite layer, or screen refresh to the target layer drawing frame rate, the target layer composite frame rate, or the target screen refresh rate. Draw the frame rate, reduce the layer composite frame rate or reduce the screen refresh rate, and the frequency of the Vsync signal corresponding to the drawing layer, composite layer and screen refresh can be the same (if both are reduced from 60Hz to 50Hz) or different ( For example, from 60Hz to 50Hz, 52Hz and 54Hz). It is also possible to reduce the layer drawing frame rate, the layer composite frame rate or the screen refresh rate to the target layer drawing frame rate by changing the response mechanism of the layer drawing operation, the layer composition operation, and the screen refresh operation to the reference signal, Target layer composite frame rate or target screen refresh rate. For example, the received 2n+1th signal response, the received 2nth signal does not respond; for example, a set of n (such as 5) signals, the first type of preset number in each group ( For signals such as 1, 2, 4, 5), the signal of the second type of preset number (such as 4) does not respond.
示例性的,如上述举例,将当前的图层绘制帧率60Hz降至目标图层绘制帧率50Hz,可通过以下两种方式实现:第一种,将发送至应用程序的Vsync信号的频率更改为50Hz;第二种,假设Vsync信号的频率为60Hz,以6个信号为一组,控制应用程序响应每组中的5个第一类预设编号(如1,2,3,4和5)的信号来绘制图层,不响应1个第二类预设编号(如6)的信号。Exemplarily, as the above example, the current layer drawing frame rate of 60 Hz is reduced to the target layer drawing frame rate of 50 Hz, which can be implemented in two ways: First, the frequency of the Vsync signal sent to the application is changed. 50Hz; second, assuming that the frequency of the Vsync signal is 60Hz, with six signals as a group, the control application responds to five first-class preset numbers in each group (such as 1, 2, 3, 4, and 5). The signal is used to draw the layer and does not respond to a second type of preset number (such as 6).
降低显示画面分辨率可以在图层绘制阶段或图层合成阶段来实现,例如应用程序在绘制目标视频片段对应的图层时降低图像的分辨率至目标显示画面分辨率,又如图层合成模块可在进行合成前或在合成过程中将目标视频片段对应的显示画面分辨率降至目标显示画面分辨率。其中,调低分辨率可通过图像处理相关手段实现。Decreasing the display screen resolution can be implemented in the layer drawing stage or the layer composition stage. For example, the application reduces the resolution of the image to the target display screen resolution when drawing the layer corresponding to the target video clip, and the layer layer synthesis module The display screen resolution corresponding to the target video clip can be reduced to the target display screen resolution before the synthesis or during the synthesis. Among them, the resolution can be reduced by image processing related means.
本申请实施例提供的移动终端的播放控制方法,在播放目标视频片段前从服务端获取目标视频片段对应的用户评价信息,根据用户评价信息确定所述目标视频片段对应的目标降功耗策略,在播放目标视频片段时采用所述目标降功耗策略进行降功耗处理。通过采用上述技术方案,可根据用户评价信息确定未播放的目标视频片段对应的降功耗策略,并采用所确定的降功耗策略对目标视频进行降功耗播放,可节省移动终端的系统功耗。The playback control method of the mobile terminal provided by the embodiment of the present application obtains user evaluation information corresponding to the target video segment from the server before playing the target video segment, and determines a target power reduction strategy corresponding to the target video segment according to the user evaluation information. The target power reduction strategy is used to reduce power consumption when playing the target video segment. By adopting the above technical solution, the power reduction strategy corresponding to the unplayed target video segment can be determined according to the user evaluation information, and the target video is reduced in power consumption by using the determined power reduction strategy, thereby saving system performance of the mobile terminal. Consumption.
图4为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图,该方法包括如下步骤:FIG. 4 is a schematic flowchart of a playback control method of another mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
步骤401、在播放目标视频片段前从服务端获取目标视频片段对应的弹幕数量。Step 401: Obtain a number of the barrage corresponding to the target video segment from the server before playing the target video segment.
其中,弹幕数量还可以是点赞次数,也可同时包括弹幕数量和点赞次数,为了便于说明,下面以弹幕数量为例进行说明。Among them, the number of barrage can also be the number of praises, but also the number of barrage and the number of praises. For convenience of explanation, the following is an example of the number of barrage.
步骤402、计算弹幕数量与目标视频片段的历史点播量的第一比值。Step 402: Calculate a first ratio of the number of the barrage to the historical on-demand amount of the target video segment.
示例性的,目标视频片段的历史点播量可理解为目标视频片段曾经播放过的次数,目标视频片段对应的弹幕数量可理解为目标视频片段在历史播放过程中接收到的弹幕的数量。Exemplarily, the historical on-demand amount of the target video segment can be understood as the number of times the target video segment has been played, and the number of the barrage corresponding to the target video segment can be understood as the number of the barrage received by the target video segment during the historical playback.
步骤403、判断第一比值是否小于预设比值阈值,若是,则执行步骤404;否则,执行步骤407;Step 403, it is determined whether the first ratio is less than the preset ratio threshold, and if so, step 404 is performed; otherwise, step 407 is performed;
示例性的,预设比值阈值可根据经验设置,例如,可以是0.5。Illustratively, the preset ratio threshold may be set empirically, for example, may be 0.5.
步骤404、确定目标视频片段满足预设降功耗条件。Step 404: Determine that the target video segment meets a preset power consumption condition.
当用户观看目标视频片段时,如果对这个视频片段感兴趣,可能会发布弹幕对其进行评价,因此弹幕数量与目标视频片段的历史点播量的比值可反映出所有观看过目标视频片段的用户对目标视频片段的总体关注程度,以此作为参考确定当前用户对目标视频片段的关注程度。When the user watches the target video clip, if the video clip is interested, the barrage may be published to evaluate it, so the ratio of the number of the barrage to the historical on-demand amount of the target video segment may reflect all the video segments that have been viewed. The degree of overall attention of the user to the target video segment, as a reference to determine the current user's attention to the target video segment.
步骤405、根据第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略。Step 405: Query the first preset correspondence according to the first ratio, and obtain a target power reduction strategy corresponding to the target video segment.
其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。The first preset correspondence includes a correspondence between a pre-established ratio and a power consumption reduction strategy.
示例性的,可预先建立比值区间与降功耗策略的对应关系。例如,降功耗策略为3种,比值大于0.3且小于0.5时对应第一降功耗策略,比值大于0.1且小于或等于0.3时对应第二降功耗策略,比值小于或等于0.1时对应第三降功耗策略。Exemplarily, the correspondence between the ratio interval and the power reduction strategy can be established in advance. For example, the power consumption reduction strategy is three. When the ratio is greater than 0.3 and less than 0.5, the first power reduction strategy is corresponding. When the ratio is greater than 0.1 and less than or equal to 0.3, the second power reduction strategy is corresponding. When the ratio is less than or equal to 0.1, the corresponding number is corresponding. Three power reduction strategies.
在一些实施例中,当同时包含弹幕数量和点赞次数时,可将弹幕数量与目标视频片段的历史点播量的比值记为比值A,将弹幕数量与目标视频片段的历史点播量的比值记为比值B,本步骤中所述第一比值记为综合比值,综合比值为比值A和比值B的和(A+B)或者加权求和的值(aA+bB),其中的加权系数a和b可根据经验设置,具体数值不做限定。In some embodiments, when the number of the barrage and the number of likes are included, the ratio of the number of the barrage to the historical amount of the target video segment can be recorded as the ratio A, and the number of the barrage and the historical amount of the target video segment can be recorded. The ratio is recorded as the ratio B. The first ratio in this step is recorded as the composite ratio. The composite ratio is the sum of the ratio A and the ratio B (A+B) or the weighted sum (aA+bB). The coefficients a and b can be set according to experience, and the specific values are not limited.
示例性的,第一降功耗策略为降低屏幕刷新率、降低图层绘制帧率和降低图层合成帧率;第二降功耗策略为降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率和降低显示画面分辨率;第三降功耗策略为降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率和降低显示画面分辨率和减小播放音量。对以上各降功耗方式对应的参数值不做限定,只要低于原来对应的参数值即可,例如将屏幕刷新率由60Hz降至50Hz。Exemplarily, the first power reduction strategy is to reduce the screen refresh rate, reduce the layer drawing frame rate, and reduce the layer composite frame rate; the second power reduction strategy is to reduce the screen brightness, reduce the screen refresh rate, and reduce the layer drawing. Frame rate, lower layer composite frame rate and lower display resolution; third power reduction strategy is to reduce screen brightness, reduce screen refresh rate, reduce layer drawing frame rate, reduce layer composite frame rate and reduce display resolution Rate and reduce the playback volume. The parameter values corresponding to the above various power consumption modes are not limited, as long as they are lower than the original corresponding parameter values, for example, the screen refresh rate is reduced from 60 Hz to 50 Hz.
示例性的,第一降功耗策略为降低屏幕刷新率、降低图层绘制帧率和降低图层合成帧率,对应的目标参数值均为58Hz(降功耗前为60Hz);第二降功耗策略为降低屏幕刷新率、降低图层绘制帧率和降低图层合成帧率,对应的目标参数值均为55Hz;第三降功耗策略为降低屏幕刷新率、降低图层绘制帧率和降低图层合成帧率,对应的目标参数值均为50Hz。Exemplarily, the first power reduction strategy is to reduce the screen refresh rate, reduce the frame drawing frame rate, and reduce the layer composite frame rate, and the corresponding target parameter values are both 58 Hz (60 Hz before power consumption reduction); The power consumption strategy is to reduce the screen refresh rate, reduce the frame drawing frame rate, and reduce the layer composite frame rate. The corresponding target parameter values are all 55 Hz; the third power reduction strategy is to reduce the screen refresh rate and reduce the layer drawing frame rate. And reduce the layer composite frame rate, the corresponding target parameter value is 50Hz.
步骤406、在播放目标视频片段时采用目标降功耗策略进行降功耗处理。Step 406: Perform a power reduction process by using a target power reduction strategy when playing the target video segment.
步骤407、在播放目标视频片段时采用原播放策略进行播放。Step 407: Play the original video strategy when playing the target video segment.
本申请实施例可根据弹幕数量或点赞次数与目标视频片段的历史点播量的比值来更加准确地确定目标视频片段对应的降功耗策略,保证用户的观看体验的同时降低移动终端的系统功耗。The embodiment of the present application can more accurately determine the power consumption reduction strategy corresponding to the target video segment according to the ratio of the number of the barrage or the number of praises to the historical on-demand amount of the target video segment, and ensure the user's viewing experience while reducing the system of the mobile terminal. Power consumption.
图5为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图,该方法包括如下步骤:FIG. 5 is a schematic flowchart of a playback control method of another mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
步骤501、在播放目标视频片段前从服务端获取目标视频片段对应的弹幕内容。Step 501: Obtain a barrage content corresponding to the target video segment from the server before playing the target video segment.
其中,弹幕内容还可以是评论内容或讨论区聊天记录等,也可同时包括弹幕内容、评论内容和讨论区聊天记录,为了便于说明,下面以弹幕数量为例进行说明。The content of the barrage may also be the comment content or the chat record of the discussion area, and may also include the content of the barrage, the content of the comment, and the chat record of the discussion area. For convenience of explanation, the following describes the number of the barrage as an example.
步骤502、获取所述弹幕内容中包含的文字信息。Step 502: Acquire text information included in the content of the barrage.
步骤503、从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和。Step 503: Extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords.
示例性的,例如,正面评价类型的关键字可包括“好看”、“精彩”、“场面震撼”以及“赞”等正面评价语言;负面评价类型的关键字可包括“不好看”、“无聊”、“失望”以及“浪费时间”等负面评价语言。For example, keywords of positive evaluation type may include positive evaluation languages such as "good-looking", "exciting", "scene shock", and "like"; keywords of negative evaluation type may include "not good-looking", "boring" Negative evaluation language such as "disappointment" and "wasting time".
步骤504、判断负面评价类型对应的第一出现次数总和是否大于正面评价类型对应的第二出现次数总和,若是,则执行步骤505;否则,执行步骤508。Step 504: Determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than the sum of the second occurrence times corresponding to the positive evaluation type. If yes, execute step 505; otherwise, perform step 508.
步骤505、计算第一出现次数总和与第二出现次数总和的第一差值。Step 505: Calculate a first difference between the sum of the first number of occurrences and the sum of the second occurrences.
步骤506、根据第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略。Step 506: Query a second preset correspondence according to the first difference, and obtain a target power reduction strategy corresponding to the target video segment.
其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。The second preset correspondence includes a correspondence between the pre-established difference and the power reduction strategy.
示例性的,也可建立差值区间与降功耗策略的对应关系。例如,降功耗策略有3种,差值大于100时对应第一降功耗策略,差值大于50小于或等于100时对应第二降功耗策略,差值小于或等于50时对应第三降功耗策略。具体的降功耗策略可参照上文的相关描述。Exemplarily, the correspondence between the difference interval and the power reduction strategy can also be established. For example, there are three types of power reduction strategies. When the difference is greater than 100, the corresponding first power reduction strategy is adopted. When the difference is greater than 50 or less than 100, the corresponding second power reduction strategy is used. When the difference is less than or equal to 50, the third is corresponding. Power reduction strategy. For specific power reduction strategies, refer to the related description above.
步骤507、在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。Step 507: Perform the power consumption reduction process by using the target power reduction strategy when playing the target video segment.
步骤508、在播放目标视频片段时采用原播放策略进行播放。Step 508: playing the original video segment when playing the target video segment.
本申请实施例可通过从弹幕内容、评论内容和讨论区聊天记录对应的文字信息中提取到能够表达用户喜好程度的关键字,并得出目标视频片段是否得到多数用户的喜欢或厌恶,可更加准确地确定目标视频片段对应的降功耗策略,保证用户的观看体验的同时降低移动终端的系统功耗。The embodiment of the present application can extract a keyword that can express the user's preference from the text content corresponding to the content of the barrage, the content of the comment, and the chat record of the discussion area, and obtain whether the target video segment is liked or disliked by most users. The power consumption reduction strategy corresponding to the target video segment is determined more accurately, and the user's viewing experience is ensured while reducing the system power consumption of the mobile terminal.
图6为本申请实施例提供的另一种移动终端的播放控制方法的流程示意图,该方法包括如下步骤:FIG. 6 is a schematic flowchart of another playback control method of a mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
步骤601、在播放目标视频片段前从服务端获取目标视频片段对应的弹幕内容。Step 601: Obtain a barrage content corresponding to the target video segment from the server before playing the target video segment.
其中,弹幕内容还可以是评论内容或讨论区聊天记录等,也可同时包括弹幕内容、评论内容和讨论区聊天记录,为了便于说明,下面以弹幕数量为例进行说明。The content of the barrage may also be the comment content or the chat record of the discussion area, and may also include the content of the barrage, the content of the comment, and the chat record of the discussion area. For convenience of explanation, the following describes the number of the barrage as an example.
步骤602、获取当前用户对应的厌恶类型。Step 602: Obtain a type of aversion corresponding to the current user.
其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目。The aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item.
示例性的,视频内容类型可包括搞笑、血腥、暴力及悲情等等。当前用户对应的厌恶类型可由用户自行选定,也可通过统计用户的观看习惯来确定。例如,用户在历史观看过程中,在遇到暴力类型的视频片段时选择快进的次数超过预设次数阈值时,可确定用户对应的厌恶类型包括暴力类型。Illustrative, video content types may include hilarity, bloodyness, violence, sadness, and the like. The type of aversion that the current user corresponds to can be selected by the user, or can be determined by counting the viewing habits of the user. For example, when the user selects the number of fast forwards in the history viewing process to exceed the preset number threshold when encountering a violent type of video clip, it may be determined that the user's corresponding aversion type includes a violence type.
步骤603、根据所述用户评价信息确定所述目标视频片段对应的内容类型。Step 603: Determine, according to the user evaluation information, a content type corresponding to the target video segment.
其中,所述目标视频片段对应的内容类型中包含至少一个项目。The content type corresponding to the target video segment includes at least one item.
示例性的,可获取所述弹幕内容中包含的文字信息,从文字信息中提取与内容类型相关的关键字,并分别统计每种内容类型相关的关键字的出现频率,将对应的关键字的出现频率总和较高的内容类型确定为目标视频片段对应的内容类型。Exemplarily, the text information included in the content of the barrage can be obtained, the keywords related to the content type are extracted from the text information, and the frequency of occurrence of the keywords related to each content type is separately counted, and the corresponding keyword is The content type with a higher total frequency of occurrence is determined as the content type corresponding to the target video segment.
步骤604、判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若是,则执行步骤605;否则,执行步骤607。Step 604: Determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, execute step 605; otherwise, perform step 607.
示例性的,当目标视频片段对应的内容类型与厌恶类型中包含的所有项目均不一致时,说明当前用户不讨厌观看目标视频片段,不需要降功耗,在播放目标视频片段时采用原播放策略进行播放;当目标视频片段对应的内容类型与厌恶类型中包含的任意一个视频内容类型一致时,确定需要在播放过程中进行降功耗处理。Exemplarily, when the content type corresponding to the target video segment is inconsistent with all the items included in the aversion type, the current user does not hate to watch the target video segment, and does not need to reduce power consumption, and uses the original playing strategy when playing the target video segment. Performing playback; when the content type corresponding to the target video segment is consistent with any one of the video content types included in the aversion type, it is determined that the power consumption reduction process needs to be performed during the playback.
步骤605、确定所述内容类型中与所述厌恶类型中相一致的第一项目数量。Step 605: Determine a first item quantity in the content type that is consistent with the aversion type.
步骤606、根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略。Step 606: Query a third preset correspondence according to the first item quantity, and obtain a target power consumption reduction strategy corresponding to the target video segment.
其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。The third preset correspondence includes a correspondence between the pre-established number and the power consumption reduction policy.
示例性的,可建立项目数量区间与降功耗策略的对应关系。例如,降功耗策略有3种,项目数量大于3时对应第一降功耗策略,项目数量大于1小于或等于3时对应第二降功耗策略,项目数量等于1时对应第三降功耗策略。具体的降功耗策略可参照上文的相关描述。Exemplarily, the correspondence between the project quantity interval and the power reduction strategy can be established. For example, there are three types of power reduction strategies. When the number of items is greater than 3, the corresponding first power reduction strategy is adopted. When the number of items is greater than 1 or less than or equal to 3, the second power reduction strategy is corresponding. When the number of items is equal to 1, the third power reduction is performed. Consumption strategy. For specific power reduction strategies, refer to the related description above.
步骤607、在播放目标视频片段时采用原播放策略进行播放。Step 607: playing the original video strategy when playing the target video segment.
本申请实施例可通过从弹幕内容、评论内容和讨论区聊天记录对应的文字信息中提取到目标视频片段对应的内容类型,根据内容类型与当前用户的厌恶类型的匹配程度可更加准确地确定目标视频片段对应的降功耗策略,保证用户的观看体验的同时降低移动终端的系统功耗。The embodiment of the present application can extract the content type corresponding to the target video segment from the text content corresponding to the content of the barrage, the comment content, and the chat record of the discussion area, and can more accurately determine the matching degree according to the type of the user and the aversion type of the current user. The power consumption reduction strategy corresponding to the target video segment ensures the user's viewing experience while reducing the system power consumption of the mobile terminal.
本申请实施例中还提供一种移动终端的播放控制装置,包括:The embodiment of the present application further provides a playback control apparatus for a mobile terminal, including:
评价信息获取模块,用于在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;An evaluation information obtaining module, configured to acquire user evaluation information corresponding to the target video segment from a server before playing the target video segment;
降功耗判断模块,用于根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件。And a power consumption reduction determining module, configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
降功耗处理模块,用于在满足所述预设降功耗条件时,在播放所述目标视频片段时进行降功耗处理。And a power consumption processing module, configured to perform power reduction processing when playing the target video segment when the preset power consumption condition is met.
在一些实施例中,所述降功耗处理模块包括:In some embodiments, the power reduction processing module includes:
策略确定单元,用于在满足所述预设降功耗条件时,根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;a policy determining unit, configured to determine, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment when the preset power consumption condition is met;
降功耗处理单元,用于在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。And a power consumption processing unit, configured to perform power reduction processing by using the target power reduction strategy when playing the target video segment.
在一些实施例中,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数、评论内容以及讨论区聊天记录中的至少一项。In some embodiments, the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
在一些实施例中,所述用户评价信息包括弹幕数量或所述点赞次数;In some embodiments, the user evaluation information includes a number of bullets or the number of likes;
所述降功耗判断模块包括:The power reduction determination module includes:
比值计算单元,用于计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;a ratio calculating unit, configured to calculate a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
比值判断单元,用于判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件;a ratio determining unit, configured to determine whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。The policy determining unit is configured to: query the first preset correspondence according to the first ratio, and obtain a target power consumption reduction policy corresponding to the target video segment, where the first preset correspondence includes pre-established The correspondence between the ratio and the power reduction strategy.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述降功耗判断模块包括:The power reduction determination module includes:
文字信息获取单元,用于获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;a text information obtaining unit, configured to acquire text information included in the content of the barrage, the content of the comment, or the chat record of the discussion area;
出现次数统计单元,用于从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;An appearance number statistics unit, configured to extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords;
次数总和判断单元,用于判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;a sum totaling determining unit, configured to determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:The policy determining unit is configured to:
计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述降功耗判断模块包括:The power reduction determination module includes:
厌恶类型获取单元,用于获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;The disgusting type obtaining unit is configured to obtain a disgusting type corresponding to the current user, wherein the disgusting type is a video content type that the user does not like to watch, and the aversive type corresponding to the current user includes at least one item;
内容类型确定单元,用于根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;a content type determining unit, configured to determine, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
类型判断单元,用于判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;a type determining unit, configured to determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:The policy determining unit is configured to:
确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
在一些实施例中,所述降功耗处理包括:In some embodiments, the power reduction process comprises:
降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Reduce at least one of screen brightness, lower screen refresh rate, lower frame drawing frame rate, lower layer composite frame rate, lower display resolution, and lower playback volume.
图7为本申请实施例提供的一种移动终端的播放控制装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行移动终端的播放控制方法来进行播放控制。如图7所示,该装置包括:FIG. 7 is a structural block diagram of a playback control apparatus for a mobile terminal according to an embodiment of the present disclosure. The device may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and can be played by performing a playback control method of the mobile terminal. control. As shown in Figure 7, the device includes:
评价信息获取模块701,用于在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;The evaluation information obtaining module 701 is configured to acquire user evaluation information corresponding to the target video segment from the server before playing the target video segment;
降功耗判断模块702,用于根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件。The power consumption reduction determining module 702 is configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
降功耗处理模块703,用于在满足所述预设降功耗条件时,在播放所述目标视频片段时进行降功耗处理。The power consumption reduction processing module 703 is configured to perform power consumption reduction processing when the target video segment is played when the preset power consumption condition is met.
本申请实施例提供的移动终端的播放控制装置,可根据用户评价信息确定未播放的目标视频片段是否满足降功耗条件,在满足时进行降功耗处理,可节省移动终端的系统功耗。The playback control apparatus of the mobile terminal provided by the embodiment of the present application may determine, according to the user evaluation information, whether the unplayed target video segment satisfies the power consumption reduction condition, and performs power reduction processing when satisfied, thereby saving system power consumption of the mobile terminal.
在一些实施方式中,所述降功耗处理模块703包括:In some implementations, the power reduction processing module 703 includes:
策略确定单元,用于在满足所述预设降功耗条件时,根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;a policy determining unit, configured to determine, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment when the preset power consumption condition is met;
降功耗处理单元,用于在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。And a power consumption processing unit, configured to perform power reduction processing by using the target power reduction strategy when playing the target video segment.
在一些实施方式中,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数、评论内容以及讨论区聊天记录中的至少一项。In some embodiments, the user evaluation information includes at least one of a number of the barrage, a barrage content, a number of likes, a comment content, and a discussion zone chat record received by the target video segment during the historical playback.
在一些实施方式中,所述用户评价信息包括弹幕数量或所述点赞次数;In some embodiments, the user evaluation information includes a number of bullets or the number of likes;
所述降功耗判断模块702包括:The power reduction determination module 702 includes:
比值计算单元,用于计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;a ratio calculating unit, configured to calculate a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
比值判断单元,用于判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件;a ratio determining unit, configured to determine whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。The policy determining unit is configured to: query the first preset correspondence according to the first ratio, and obtain a target power consumption reduction policy corresponding to the target video segment, where the first preset correspondence includes pre-established The correspondence between the ratio and the power reduction strategy.
在一些实施方式中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述降功耗判断模块702包括:The power reduction determination module 702 includes:
文字信息获取单元,用于获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;a text information obtaining unit, configured to acquire text information included in the content of the barrage, the content of the comment, or the chat record of the discussion area;
出现次数统计单元,用于从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;An appearance number statistics unit, configured to extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords;
次数总和判断单元,用于判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;a sum totaling determining unit, configured to determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:The policy determining unit is configured to:
计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
在一些实施方式中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;In some embodiments, the user evaluation information includes the barrage content, the comment content, or a discussion area chat record;
所述降功耗判断模块702包括:The power reduction determination module 702 includes:
厌恶类型获取单元,用于获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;The disgusting type obtaining unit is configured to obtain a disgusting type corresponding to the current user, wherein the disgusting type is a video content type that the user does not like to watch, and the aversive type corresponding to the current user includes at least one item;
内容类型确定单元,用于根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;a content type determining unit, configured to determine, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
类型判断单元,用于判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;a type determining unit, configured to determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
所述策略确定单元用于:The policy determining unit is configured to:
确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
在一些实施方式中,所述降功耗处理模块703用于:In some embodiments, the power reduction processing module 703 is configured to:
降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Reduce at least one of screen brightness, lower screen refresh rate, lower frame drawing frame rate, lower layer composite frame rate, lower display resolution, and lower playback volume.
本申请实施例提供的移动终端的播放那个控制装置,在播放目标视频片段前从服务端获取目标视频片段对应的用户评价信息;根据用户评价信息确定目标视频片段是否满足预设降功耗条件;若满足预设降功耗条件,则在播放目标视频片段时进行降功耗处理。本申请实施例通过采用上述技术方案,可根据用户评价信息确定未播放的目标视频片段是否满足降功耗条件,在满足时进行降功耗处理,可节省移动终端的系统功耗。The control device for playing the mobile terminal provided by the embodiment of the present application acquires user evaluation information corresponding to the target video segment from the server before playing the target video segment; and determines whether the target video segment meets the preset power consumption condition according to the user evaluation information; If the preset power consumption condition is met, the power consumption processing is performed when the target video segment is played. By adopting the above technical solution, the embodiment of the present application can determine whether the unplayed target video segment satisfies the power consumption reduction condition according to the user evaluation information, and performs power reduction processing when satisfied, thereby saving system power consumption of the mobile terminal.
本申请实施例还提供一种电子设备,所述电子设备可以为智能手机、平板电脑等移动终端。该移动终端中可集成本申请实施例提供的移动终端的播放控制装置。图8为本申请实施例提供的一种移动终端800的结构示意图。如图8所示,该移动终端800可以包括:壳体(图中未示出)、存储器801、中央处理器(Central Processing Unit,CPU)802(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU802和所述存储器801设置在所述电路板上;所述电源电路,用于为所述移动终端800的各个电路或器件供电;所述存储器801,用于存储可执行程序代码;所述CPU802通过读取所述存储器801中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:The embodiment of the present application further provides an electronic device, which may be a mobile terminal such as a smart phone or a tablet computer. The playback control device of the mobile terminal provided by the embodiment of the present application may be integrated into the mobile terminal. FIG. 8 is a schematic structural diagram of a mobile terminal 800 according to an embodiment of the present application. As shown in FIG. 8, the mobile terminal 800 may include a casing (not shown), a memory 801, and a central processing unit (Central). Processing Unit, CPU) 802 (also referred to as a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power supply circuit (not shown). The circuit board is disposed inside a space enclosed by the casing; the CPU 802 and the memory 801 are disposed on the circuit board; and the power circuit is used for each circuit or device of the mobile terminal 800 a memory 801 for storing executable program code; the CPU 802 running a program corresponding to the executable program code by reading executable program code stored in the memory 801 for performing the following step:
在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
在一些实施例中,所述处理器802执行所述计算机程序时实现以下步骤:In some embodiments, the processor 802 implements the following steps when executing the computer program:
根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment;
在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。The target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
在一些实施例中,所述用户评价信息包括弹幕数量或所述点赞次数;所述处理器802执行所述计算机程序时实现以下步骤:In some embodiments, the user rating information includes a number of bullets or the number of likes; the processor 802 implements the computer program to implement the following steps:
计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;Calculating a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件。Determining whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition.
根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。Querying the first preset correspondence according to the first ratio, and obtaining a target power reduction policy corresponding to the target video segment, where the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;所述处理器802还执行所述计算机程序时实现以下步骤:In some embodiments, the user rating information includes the barrage content, the comment content, or a discussion area chat record; the processor 802 also implements the computer program to implement the following steps:
获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;Obtaining the text information included in the barrage content, the comment content, or the chat record in the discussion area;
从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;Extracting keywords of negative evaluation type and positive evaluation type from the text information, and separately counting the sum of occurrences of each type of keywords;
判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;Determining whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
在一些实施例中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;所述处理器802执行所述计算机程序时实现以下步骤:In some embodiments, the user rating information includes the barrage content, the comment content, or the discussion area chat record; the processor 802 implements the computer program to implement the following steps:
获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;Obtaining a type of aversion corresponding to the current user, where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;Determining, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;Determining whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
所述移动终端800还包括:外设接口803、RF(Radio Frequency,射频)电路805、音频电路806、扬声器811、电源管理芯片808、输入/输出(I/O)子系统809、触摸屏812、其他输入/控制设备810以及外部端口804,这些部件通过一个或多个通信总线或信号线807来通信。The mobile terminal 800 further includes: a peripheral interface 803, RF (Radio) Frequency, RF) circuit 805, audio circuit 806, speaker 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/control devices 810, and external port 804, these components are passed through one or A plurality of communication buses or signal lines 807 are in communication.
应该理解的是,图示移动终端800仅仅是移动终端的一个范例,并且移动终端800可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 800 is merely one example of a mobile terminal, and that the mobile terminal 800 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于实现播放控制的移动终端进行详细的描述,该移动终端800以手机为例。The mobile terminal for implementing the play control provided in this embodiment is described in detail below. The mobile terminal 800 takes a mobile phone as an example.
存储器801,所述存储器801可以被CPU802、外设接口803等访问,所述存储器801可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 The memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
外设接口803,所述外设接口803可以将设备的输入和输出外设连接到CPU802和存储器801。Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
I/O子系统809,所述I/O子系统809可以将设备上的输入输出外设,例如触摸屏812和其他输入/控制设备810,连接到外设接口803。I/O子系统809可以包括显示控制器8091和用于控制其他输入/控制设备810的一个或多个输入控制器8092。其中,一个或多个输入控制器8092从其他输入/控制设备810接收电信号或者向其他输入/控制设备810发送电信号,其他输入/控制设备810可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器8092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 809, which can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 can include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Wherein, one or more input controllers 8092 receive electrical signals from other input/control devices 810 or transmit electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel. It is worth noting that the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏812,所述触摸屏812是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统809中的显示控制器8091从触摸屏812接收电信号或者向触摸屏812发送电信号。触摸屏812检测触摸屏上的接触,显示控制器8091将检测到的接触转换为与显示在触摸屏812上的用户界面对象的交互,即实现人机交互,显示在触摸屏812上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812. The touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running. The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路805,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路805接收并发送RF信号,RF信号也称为电磁信号,RF电路805将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路805可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 805 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 805 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 805 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate. RF circuitry 805 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
音频电路806,主要用于从外设接口803接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器811。The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
扬声器811,用于将手机通过RF电路805从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 811 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
电源管理芯片808,用于为CPU802、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 808 is used for power supply and power management of the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
本申请实施例提供的电子设备,可根据用户评价信息确定未播放的目标视频片段是否满足降功耗条件,在满足时进行降功耗处理,可节省电子设备的系统功耗。The electronic device provided by the embodiment of the present application can determine whether the unplayed target video segment satisfies the power consumption reduction condition according to the user evaluation information, and performs power reduction processing when satisfied, thereby saving system power consumption of the electronic device.
本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述任一移动终端的播放控制方法。The embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute a play control method of any of the foregoing mobile terminals.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
上述实施例中提供的移动终端的播放控制装置及电子设备可执行本申请任意实施例所提供的移动终端的播放控制方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的移动终端的播放控制方法The playback control device and the electronic device of the mobile terminal provided in the foregoing embodiments may perform the playback control method of the mobile terminal provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of performing the method. For the technical details that are not described in detail in the above embodiments, refer to the playback control method of the mobile terminal provided by any embodiment of the present application.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present application and the technical principles applied thereto. A person skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various changes, modifications and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in detail by the above embodiments, the present application is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the concept of the present application. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种移动终端的播放控制方法,其中,包括:A playback control method for a mobile terminal, comprising:
    在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
    根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
    若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
  2. 根据权利要求1所述的方法,其中,所述在播放所述目标视频片段时进行降功耗处理,包括:The method of claim 1, wherein the performing a power reduction process when playing the target video segment comprises:
    根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment;
    在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。The target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
  3. 根据权利要求2所述的方法,其中,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数、评论内容以及讨论区聊天记录中的至少一项。The method according to claim 2, wherein said user evaluation information comprises the number of barrages received by the target video segment during the history playing, the content of the barrage, the number of likes, the content of the comment, and the chat history of the discussion area. At least one of them.
  4. 根据权利要求3所述的方法,其中,所述用户评价信息包括弹幕数量或所述点赞次数;The method according to claim 3, wherein said user evaluation information includes a number of barrage or said number of likes;
    所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
    计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;Calculating a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
    判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件;Determining whether the first ratio is less than a preset ratio threshold; if less, determining that the target video segment meets a preset power consumption condition;
    所述根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power consumption reduction strategy corresponding to the target video segment, including:
    根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。Querying the first preset correspondence according to the first ratio, and obtaining a target power reduction policy corresponding to the target video segment, where the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
  5. 根据权利要求3所述的方法,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The method according to claim 3, wherein said user evaluation information comprises said barrage content, said comment content or a discussion area chat record;
    所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
    获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;Obtaining the text information included in the barrage content, the comment content, or the chat record in the discussion area;
    从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;Extracting keywords of negative evaluation type and positive evaluation type from the text information, and separately counting the sum of occurrences of each type of keywords;
    判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;Determining whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
    根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment, including:
    计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
    根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
  6. 根据权利要求3所述的方法,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The method according to claim 3, wherein said user evaluation information comprises said barrage content, said comment content or a discussion area chat record;
    所述根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件,包括:Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition, including:
    获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;Obtaining a type of aversion corresponding to the current user, where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
    根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;Determining, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
    判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;Determining whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
    所述根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略,包括:Determining, according to the user evaluation information, a target power consumption reduction strategy corresponding to the target video segment, including:
    确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
    根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  7. 根据权利要求1所述的方法,其中,所述降功耗处理包括:The method of claim 1 wherein said power reduction process comprises:
    降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Reduce at least one of screen brightness, lower screen refresh rate, lower frame drawing frame rate, lower layer composite frame rate, lower display resolution, and lower playback volume.
  8. 一种移动终端的播放控制装置,其中,包括:A playback control device for a mobile terminal, comprising:
    评价信息获取模块,用于在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;An evaluation information obtaining module, configured to acquire user evaluation information corresponding to the target video segment from a server before playing the target video segment;
    降功耗判断模块,用于根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件。And a power consumption reduction determining module, configured to determine, according to the user evaluation information, whether the target video segment meets a preset power consumption condition.
    降功耗处理模块,用于在满足所述预设降功耗条件时,在播放所述目标视频片段时进行降功耗处理。And a power consumption processing module, configured to perform power reduction processing when playing the target video segment when the preset power consumption condition is met.
  9. 根据权利要求8所述的装置,其中,所述降功耗处理模块包括:The device of claim 8, wherein the power reduction processing module comprises:
    策略确定单元,用于在满足所述预设降功耗条件时,根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;a policy determining unit, configured to determine, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment when the preset power consumption condition is met;
    降功耗处理单元,用于在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。And a power consumption processing unit, configured to perform power reduction processing by using the target power reduction strategy when playing the target video segment.
  10. 根据权利要求9所述的装置,其中,所述用户评价信息包括所述目标视频片段在历史播放过程中接收到的弹幕数量、弹幕内容、点赞次数、评论内容以及讨论区聊天记录中的至少一项。The apparatus according to claim 9, wherein said user evaluation information comprises the number of barrages received by the target video clip during the history playing, the content of the barrage, the number of likes, the content of the comment, and the chat history of the discussion area. At least one of them.
  11. 根据权利要求10所述的装置,其中,所述用户评价信息包括弹幕数量或所述点赞次数;The apparatus according to claim 10, wherein said user evaluation information includes a number of barrage or said number of likes;
    所述降功耗判断模块包括:The power reduction determination module includes:
    比值计算单元,用于计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;a ratio calculating unit, configured to calculate a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
    比值判断单元,用于判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件;a ratio determining unit, configured to determine whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition;
    所述策略确定单元用于:根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。The policy determining unit is configured to: query the first preset correspondence according to the first ratio, and obtain a target power consumption reduction policy corresponding to the target video segment, where the first preset correspondence includes pre-established The correspondence between the ratio and the power reduction strategy.
  12. 根据权利要求10所述的装置,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The apparatus according to claim 10, wherein said user evaluation information comprises said barrage content, said comment content or a discussion area chat record;
    所述降功耗判断模块包括:The power reduction determination module includes:
    文字信息获取单元,用于获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;a text information obtaining unit, configured to acquire text information included in the content of the barrage, the content of the comment, or the chat record of the discussion area;
    出现次数统计单元,用于从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;An appearance number statistics unit, configured to extract keywords of a negative evaluation type and a positive evaluation type from the text information, and separately count the sum of occurrences of each type of keywords;
    次数总和判断单元,用于判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;a sum totaling determining unit, configured to determine whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
    所述策略确定单元用于:The policy determining unit is configured to:
    计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
    根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
  13. 根据权利要求10所述的装置,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The apparatus according to claim 10, wherein said user evaluation information comprises said barrage content, said comment content or a discussion area chat record;
    所述降功耗判断模块包括:The power reduction determination module includes:
    厌恶类型获取单元,用于获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;The disgusting type obtaining unit is configured to obtain a disgusting type corresponding to the current user, wherein the disgusting type is a video content type that the user does not like to watch, and the aversive type corresponding to the current user includes at least one item;
    内容类型确定单元,用于根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;a content type determining unit, configured to determine, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
    类型判断单元,用于判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;a type determining unit, configured to determine whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
    所述策略确定单元用于:The policy determining unit is configured to:
    确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
    根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
  14. 根据权利要求8所述的装置,其中,所述降功耗处理模块用于:The apparatus of claim 8 wherein said power reduction processing module is operative to:
    降低屏幕亮度、降低屏幕刷新率、降低图层绘制帧率、降低图层合成帧率、降低显示画面分辨率和减小播放音量中的至少一项。Reduce at least one of screen brightness, lower screen refresh rate, lower frame drawing frame rate, lower layer composite frame rate, lower display resolution, and lower playback volume.
  15. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1-7任一项所述的移动终端的播放控制方法。A storage medium, wherein the storage medium stores a plurality of instructions adapted to be loaded by a processor to perform the playback control method of the mobile terminal according to any one of claims 1-7.
  16. 一种电子设备,其中,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable by the processor, the processor executing the computer program to implement the following steps:
    在播放目标视频片段前从服务端获取所述目标视频片段对应的用户评价信息;Obtaining user evaluation information corresponding to the target video segment from the server before playing the target video segment;
    根据所述用户评价信息确定所述目标视频片段是否满足预设降功耗条件;Determining, according to the user evaluation information, whether the target video segment meets a preset power consumption condition;
    若满足所述预设降功耗条件,则在播放所述目标视频片段时进行降功耗处理。If the preset power consumption condition is met, the power consumption reduction process is performed when the target video segment is played.
  17. 如权利要求16所述的电子设备,其中,所述处理器执行所述计算机程序时实现以下步骤:The electronic device of claim 16 wherein said processor, when executing said computer program, implements the following steps:
    根据所述用户评价信息确定所述目标视频片段对应的目标降功耗策略;Determining, according to the user evaluation information, a target power reduction strategy corresponding to the target video segment;
    在播放所述目标视频片段时采用所述目标降功耗策略进行降功耗处理。The target power reduction strategy is adopted to perform power reduction processing when playing the target video segment.
  18. 如权利要求17所述的电子设备,其中,所述用户评价信息包括弹幕数量或所述点赞次数;The electronic device of claim 17, wherein the user rating information comprises a number of barrage or the number of likes;
    所述处理器执行所述计算机程序时实现以下步骤:The processor implements the following steps when executing the computer program:
    计算所述弹幕数量或所述点赞次数与所述目标视频片段的历史点播量的第一比值;Calculating a first ratio of the number of the barrage or the number of the likes to the historical on-demand amount of the target video segment;
    判断所述第一比值是否小于预设比值阈值,若小于,则确定所述目标视频片段满足预设降功耗条件。Determining whether the first ratio is less than a preset ratio threshold, and if less, determining that the target video segment meets a preset power consumption condition.
    根据所述第一比值查询第一预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第一预设对应关系包括预先建立的比值与降功耗策略的对应关系。Querying the first preset correspondence according to the first ratio, and obtaining a target power reduction policy corresponding to the target video segment, where the first preset correspondence includes a pre-established ratio and a corresponding power consumption reduction strategy relationship.
  19. 如权利要求17所述的电子设备,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The electronic device of claim 17, wherein the user rating information comprises the barrage content, the comment content or a discussion area chat record;
    所述处理器还执行所述计算机程序时实现以下步骤:The processor also implements the following steps when executing the computer program:
    获取所述弹幕内容、所述评论内容或讨论区聊天记录中包含的文字信息;Obtaining the text information included in the barrage content, the comment content, or the chat record in the discussion area;
    从所述文字信息中提取负面评价类型和正面评价类型的关键字,并分别统计每种类型的关键字的出现次数总和;Extracting keywords of negative evaluation type and positive evaluation type from the text information, and separately counting the sum of occurrences of each type of keywords;
    判断所述负面评价类型对应的第一出现次数总和是否大于所述正面评价类型对应的第二出现次数总和,若是,则确定所述目标视频片段满足预设降功耗条件;Determining whether the sum of the first occurrence times corresponding to the negative evaluation type is greater than a sum of the second occurrence times corresponding to the positive evaluation type, and if yes, determining that the target video segment meets a preset power consumption condition;
    计算所述第一出现次数总和与所述第二出现次数总和的第一差值;Calculating a first difference between the sum of the first number of occurrences and the sum of the second occurrences;
    根据所述第一差值查询第二预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第二预设对应关系包括预先建立的差值与降功耗策略的对应关系。Obtaining, according to the first difference, the second preset correspondence, the target power consumption reduction strategy corresponding to the target video segment, where the second preset correspondence includes a pre-established difference and power consumption reduction strategy Correspondence.
  20. 如权利要求17所述的电子设备,其中,所述用户评价信息包括所述弹幕内容、所述评论内容或讨论区聊天记录;The electronic device of claim 17, wherein the user rating information comprises the barrage content, the comment content or a discussion area chat record;
    所述处理器执行所述计算机程序时实现以下步骤:The processor implements the following steps when executing the computer program:
    获取当前用户对应的厌恶类型,其中,所述厌恶类型为用户不喜欢观看的视频内容类型,所述当前用户对应的厌恶类型中包含至少一个项目;Obtaining a type of aversion corresponding to the current user, where the aversion type is a type of video content that the user does not like to watch, and the aversion type corresponding to the current user includes at least one item;
    根据所述用户评价信息确定所述目标视频片段对应的内容类型,其中,所述目标视频片段对应的内容类型中包含至少一个项目;Determining, according to the user evaluation information, a content type corresponding to the target video segment, where the content type corresponding to the target video segment includes at least one item;
    判断所述内容类型中是否存在与所述厌恶类型中的任意一项相一致的项目,若存在,则确定所述目标视频片段满足预设降功耗条件;Determining whether there is an item in the content type that is consistent with any one of the aversion types, and if yes, determining that the target video segment meets a preset power consumption condition;
    确定所述内容类型中与所述厌恶类型中相一致的第一项目数量;Determining a number of first items in the content type that are consistent with the aversion type;
    根据所述第一项目数量查询第三预设对应关系,得到所述目标视频片段对应的目标降功耗策略,其中,所述第三预设对应关系包括预先建立的数量与降功耗策略的对应关系。 Querying a third preset correspondence relationship according to the first item quantity, and obtaining a target power consumption reduction strategy corresponding to the target video segment, where the third preset correspondence relationship includes a pre-established number and a power consumption reduction strategy Correspondence relationship.
PCT/CN2017/107372 2017-03-10 2017-10-23 Playback control method and device for mobile terminal, storage medium and electronic device WO2018161604A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142947.XA CN106941625B (en) 2017-03-10 2017-03-10 A kind of control method for playing back of mobile terminal, device and mobile terminal
CN201710142947.X 2017-03-10

Publications (1)

Publication Number Publication Date
WO2018161604A1 true WO2018161604A1 (en) 2018-09-13

Family

ID=59469694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107372 WO2018161604A1 (en) 2017-03-10 2017-10-23 Playback control method and device for mobile terminal, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN106941625B (en)
WO (1) WO2018161604A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941625B (en) * 2017-03-10 2019-08-02 Oppo广东移动通信有限公司 A kind of control method for playing back of mobile terminal, device and mobile terminal
CN109462685A (en) 2017-09-06 2019-03-12 上海中兴软件有限责任公司 A kind of method and device of display, mobile terminal
CN110020210A (en) * 2017-09-07 2019-07-16 上海掌门科技有限公司 Obtain the method and apparatus of the popular degree of Internet resources
CN107846625B (en) * 2017-10-30 2019-09-24 Oppo广东移动通信有限公司 Video image quality adjustment method, device, terminal device and storage medium
CN107659828B (en) * 2017-10-30 2020-01-14 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN107613315B (en) * 2017-10-30 2020-05-12 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN107734355A (en) * 2017-10-30 2018-02-23 广东欧珀移动通信有限公司 Video image quality adjustment method, device, terminal device and storage medium
CN107734356B (en) * 2017-10-30 2020-01-14 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN107846624B (en) * 2017-10-30 2020-01-14 Oppo广东移动通信有限公司 Video image quality adjusting method and device, terminal equipment and storage medium
CN108512701B (en) * 2018-03-26 2021-02-26 校宝在线(杭州)科技股份有限公司 Music playing completion degree analysis method based on user comment information
CN108683938A (en) * 2018-05-11 2018-10-19 Oppo(重庆)智能科技有限公司 Video playing display methods, device, storage medium and terminal device
CN109089148A (en) * 2018-09-20 2018-12-25 传线网络科技(上海)有限公司 Video clip display methods and device
CN109302631B (en) * 2018-09-20 2021-06-08 阿里巴巴(中国)有限公司 Video interface display method and device
CN109151550B (en) * 2018-09-20 2021-11-02 阿里巴巴(中国)有限公司 Video interface display method and device
CN109151966B (en) * 2018-10-15 2021-08-17 Oppo广东移动通信有限公司 Terminal control method, terminal control device, terminal equipment and storage medium
CN110245266B (en) * 2019-06-17 2022-11-01 百度在线网络技术(北京)有限公司 Video evaluation recording method and device and video query method and device
CN110337008B (en) * 2019-06-21 2020-10-13 腾讯科技(深圳)有限公司 Video interaction adjusting method, device, equipment and storage medium
CN110619860B (en) * 2019-10-15 2022-11-29 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and device, storage medium and electronic equipment
CN112911326B (en) * 2021-01-29 2023-04-11 平安科技(深圳)有限公司 Barrage information processing method and device, electronic equipment and storage medium
CN113422995B (en) * 2021-02-04 2023-06-23 郑州大学 Video processing method based on AI model and portable electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668139A (en) * 2008-09-04 2010-03-10 索尼株式会社 Video display device, video display method and system
CN103281579A (en) * 2013-05-29 2013-09-04 苏州福丰科技有限公司 Television monitoring method based on face identification
CN104936028A (en) * 2015-06-30 2015-09-23 深圳市九洲电器有限公司 Set top box, and set top box control method, device and system based on brain wave signal
CN106941625A (en) * 2017-03-10 2017-07-11 广东欧珀移动通信有限公司 A kind of control method for playing back of mobile terminal, device and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8358273B2 (en) * 2006-05-23 2013-01-22 Apple Inc. Portable media device with power-managed display
CN103325355B (en) * 2013-06-18 2016-01-20 华南理工大学 A kind of method of image content-based dynamic adjustments backlight illumination
CN105489191A (en) * 2014-09-18 2016-04-13 北京三星通信技术研究有限公司 Display device and display method thereof
CN105979387A (en) * 2015-12-01 2016-09-28 乐视网信息技术(北京)股份有限公司 Video clip display method and system
CN106095804B (en) * 2016-05-30 2019-08-20 维沃移动通信有限公司 A kind of processing method of video clip, localization method and terminal
CN106341700B (en) * 2016-09-05 2020-10-27 Tcl科技集团股份有限公司 Automatic video frame rate adjusting method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668139A (en) * 2008-09-04 2010-03-10 索尼株式会社 Video display device, video display method and system
CN103281579A (en) * 2013-05-29 2013-09-04 苏州福丰科技有限公司 Television monitoring method based on face identification
CN104936028A (en) * 2015-06-30 2015-09-23 深圳市九洲电器有限公司 Set top box, and set top box control method, device and system based on brain wave signal
CN106941625A (en) * 2017-03-10 2017-07-11 广东欧珀移动通信有限公司 A kind of control method for playing back of mobile terminal, device and mobile terminal

Also Published As

Publication number Publication date
CN106941625A (en) 2017-07-11
CN106941625B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
WO2018161604A1 (en) Playback control method and device for mobile terminal, storage medium and electronic device
WO2018161578A1 (en) Method, device, storage medium, and electronic apparatus for dynamically adjusting screen refresh rate
WO2017142293A1 (en) Electronic device and method of application data display therefor
WO2018161571A1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
WO2016129784A1 (en) Image display apparatus and method
WO2016060514A1 (en) Method for sharing screen between devices and device using the same
WO2018034462A1 (en) Image display apparatus and method of operating the same
WO2016137167A1 (en) Terminal
WO2015026058A1 (en) Method, terminal, and system for reproducing content
WO2018161572A1 (en) Method and apparatus for controlling frame rate of mobile terminal, storage medium, and electronic device
WO2017052143A1 (en) Image display device and method of operating the same
WO2018161602A1 (en) Method and apparatus for controlling frame rate of electronic device, storage medium, and electronic device
WO2013027908A1 (en) Mobile terminal, image display device mounted on vehicle and data processing method using the same
WO2018161586A1 (en) Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device
WO2018076818A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
WO2014092469A1 (en) Content playing apparatus, method for providing ui of content playing apparatus, network server, and method for controlling by network server
WO2018161585A1 (en) Method and apparatus for controlling frame rate of electronic device, storage medium, and electronic device
WO2015122590A1 (en) Electronic device and method for controlling the same
WO2016076570A1 (en) Display apparatus and display method
WO2019039868A1 (en) Electronic device for displaying application and operating method thereof
WO2018090822A1 (en) Smart watch-based mobile terminal camera control method and control system
WO2012102592A2 (en) Image display device and method for operating same
WO2018076864A1 (en) Data synchronization method, apparatus, storage medium and electronic device
WO2018113187A1 (en) Display control method and display device
WO2018161603A1 (en) Method and apparatus for controlling image drawing of mobile terminal, medium, electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900176

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900176

Country of ref document: EP

Kind code of ref document: A1