CN110401870A - Method of adjustment, terminal and the computer readable storage medium of record screen frame per second - Google Patents

Method of adjustment, terminal and the computer readable storage medium of record screen frame per second Download PDF

Info

Publication number
CN110401870A
CN110401870A CN201910695037.3A CN201910695037A CN110401870A CN 110401870 A CN110401870 A CN 110401870A CN 201910695037 A CN201910695037 A CN 201910695037A CN 110401870 A CN110401870 A CN 110401870A
Authority
CN
China
Prior art keywords
record screen
terminal
frame per
adjustment
animation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910695037.3A
Other languages
Chinese (zh)
Other versions
CN110401870B (en
Inventor
李红钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Tianxing Yunshi Technology Co ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910695037.3A priority Critical patent/CN110401870B/en
Publication of CN110401870A publication Critical patent/CN110401870A/en
Application granted granted Critical
Publication of CN110401870B publication Critical patent/CN110401870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses method of adjustment, terminal and the computer readable storage medium of a kind of record screen frame per second, the method of adjustment of the record screen frame per second includes: that the animation of a default size is shown on the display interface of the currently running application program of the terminal in the case where terminal enters record screen state;Record screen is carried out according to the record screen parameter that the animation determines.The embodiment of the present application carries out record screen according to the record screen parameter that the animation determines by the animation shown on the display interface of the currently running application program of terminal;The problem of solving video playing Caton existing for the mode of existing terminal recorded video, reducing user experience;The playing fluency of recorded video is improved, the user experience is improved.

Description

Method of adjustment, terminal and the computer readable storage medium of record screen frame per second
Technical field
The invention relates to field of terminal technology more particularly to a kind of record screen method of adjustment of frame per second, terminal and Computer readable storage medium.
Background technique
In mobile internet era, with the promotion and popularization of terminal, user constantly pursues the audio-video of high-quality, takes the photograph Picture, record screen experience.In order to record truer, coherent and smooth video image, and the video image dynamic is presented Effect in greater detail out, it usually needs improve the record screen frame per second of intelligent terminal.
Existing terminal generally all come with record screen interface, such as: MediaRecorder, MediaCodec with MediaMuxer etc..Terminal is in recorded video, the different APP (Application, the application that are usually shown according to screen Program) the highest frame per second of different windows recorded, rather than recorded according to screen display frame rate.With terminal user For playing game, screen only has the window of game application, and the highest frame per second of the window of the game application is 30 frames, screen Curtain display frame rate is 60 frames, if record screen is recorded with 30 frame of highest frame per second of the window of game application at this time.
The mode of existing terminal recorded video the problem is that, when the video playing of recording, terminal user can be obvious Feel Caton, reduces user experience.
Summary of the invention
In view of this, method of adjustment, terminal and the meter for being designed to provide a kind of record screen frame per second of the embodiment of the present application Calculation machine readable storage medium storing program for executing, in a manner of solving existing terminal recorded video existing for recording video play when Caton, drop The problem of low user experience.
It is as follows that the embodiment of the present application solves technical solution used by above-mentioned technical problem:
According to the one aspect of the embodiment of the present application, a kind of method of adjustment of the record screen frame per second provided, this method is for eventually End, the method for adjustment that frame per second is shielded in the record include:
In the case where terminal enters record screen state, shown on the display interface of the currently running application program of the terminal Show the animation of a default size;
Record screen is carried out according to the record screen parameter that the animation determines.
It is described in the case where terminal enters record screen state in a kind of possible embodiment, it is current in the terminal The animation of a default size is shown on the display interface of the application program of operation, before further include:
In the case where record screen switch is turned on, detect whether the application program starts operation;
In the case where application program launching operation, controls the terminal and enter record screen state.
It is described in the case where terminal enters record screen state in a kind of possible embodiment, it is current in the terminal The animation of a default size is shown on the display interface of the application program of operation, later further include:
According to animation described in preset velocity amplitude loop play.
In a kind of possible embodiment, the record screen parameter determined according to the animation carries out record screen, later also Include:
The residual capacity of target storage space of the monitoring for storing record screen data;
In the case where the residual capacity of the target storage space is not more than preset threshold, according to the application program The record screen parameter that display interface determines carries out record screen.
In a kind of possible embodiment, the record screen parameter determined according to the animation or described according to The record screen parameter that the display interface of application program determines includes at least one of resolution ratio, coded format, code rate and frame per second.
In a kind of possible embodiment, the monitoring is held for storing the remaining of target storage space of record screen data Amount, comprising:
Determine that the memory space for storing record screen file, the record screen file are the texts generated according to the record screen data Part;
Determine the residual storage capacity of the memory space and the specified residual capacity of the record screen file, it is described specified surplus Covolume amount, which is equal to the maximum storage capacity that the record screen file is allowed to occupy and subtracts the storage that has occupied of record screen file, to be held Amount;
By the smaller value in the residual storage capacity and the specified residual capacity of the record screen file, it is determined as the mesh Mark the residual capacity of memory space.
In a kind of possible embodiment, the monitoring is held for storing the remaining of target storage space of record screen data Amount, later further include:
In the case where the residual capacity of the target storage space is not more than the preset threshold, prompting message is shown; The prompting message is used to remind the memory margin of the target storage space no more than the preset threshold to terminal user.
In a kind of possible embodiment, the residual capacity in the target storage space is not more than preset threshold In the case where, show prompting message, later further include:
It monitors whether to receive predetermined registration operation, the predetermined registration operation is to be used to indicate the behaviour for stopping record screen or pause record screen Make;
In the case where receiving the predetermined registration operation, stop showing the prompting message.
According to the other side of the embodiment of the present application, a kind of terminal provided, the terminal includes memory, processor And the adjustment programme for recording screen frame per second that is stored on the memory and can run on the processor, the record screen frame per second Adjustment programme realizes the step of method of adjustment of above-mentioned record screen frame per second when being executed by the processor.
According to the other side of the embodiment of the present application, a kind of computer readable storage medium provided, the computer The adjustment programme of record screen frame per second is stored on readable storage medium storing program for executing, the adjustment programme of the record screen frame per second is real when being executed by processor The step of method of adjustment of existing above-mentioned record screen frame per second.
Method of adjustment, terminal and the computer readable storage medium of the record screen frame per second of the embodiment of the present application, by end The animation shown on the display interface of currently running application program is held, record screen is carried out according to the record screen parameter that the animation determines; The problem of solving video playing Caton existing for the mode of existing terminal recorded video, reducing user experience;Improve record The playing fluency of video processed, the user experience is improved.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and together with specification it is used to explain the principle of the application.
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the application;
Fig. 2 is a kind of communications network system architecture diagram provided by the embodiments of the present application;
Fig. 3 is the method for adjustment flow diagram of the record screen frame per second of the application first embodiment;
Fig. 4 is the adjustment process schematic of the record screen frame per second of the smart phone of the embodiment of the present application;
Fig. 5 is the terminal structure schematic diagram of the application second embodiment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
In order to be clearer and more clear technical problems to be solved in this application, technical solution and beneficial effect, tie below Drawings and examples are closed, the application is further elaborated.It should be appreciated that specific embodiment described herein is only To explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, PDA (Personal Digital Assistant, personal digital assistant), PMP (Portable Media Player, portable media player), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as equal mobile terminals, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTSTerrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
As shown in figure 3, the application first embodiment provides a kind of method of adjustment of record screen frame per second, this method is used for terminal, It is described record screen frame per second method of adjustment include:
Step S31, in the case where terminal enters record screen state, in the display of the currently running application program of the terminal The animation of a default size is shown on interface.
In the present embodiment, the size of animation can be voluntarily configured by user, it should be noted that the animation of setting Size should not have an impact to the display of the currently running application program of the terminal, in order to avoid reduce the experience of user.
In the present embodiment, application program can be the application program of preset kind, for example, the application program of game class.
As illustratively, after smart phone carries out gamespace, when starting " king's honor " application program, in " king The Window animation of a 1*1 pixel, the Window of the 1*1 pixel are shown on the display interface of person's honor " application program Almost naked eyes are invisible for animation, therefore any influence is not had for game user.
In one embodiment, described in the case where terminal enters record screen state, it is currently running in the terminal The animation of a default size is shown on the display interface of application program, before further include:
In the case where record screen switch is turned on, detect whether the application program starts operation;
In the case where application program launching operation, controls the terminal and enter record screen state.
In this embodiment, record screen switch can be software switch or hardware switch, specifically be not limited thereto. When the user clicks when record screen switch, if detecting the application program launching operation, the terminal can control to enter record screen shape State.
Still connect it is above-mentioned illustratively, when the user clicks record screen switch after, if user start " king's honor " application program, Record screen can initially entered from the background.
In one embodiment, described in the case where terminal enters record screen state, it is currently running in the terminal The animation of a default size is shown on the display interface of application program, later further include:
According to animation described in preset velocity amplitude loop play.
In this embodiment, it can be moved according to animation object's property value according to described in preset velocity amplitude loop play It draws.Animation object's property value refers to the parameter for being able to reflect animation characteristics of objects, and there are many forms, and the embodiment of the present application is to this It is not specifically limited.
Step S32, record screen is carried out according to the record screen parameter that the animation determines.
In the present embodiment, it is described according to the animation determine record screen parameter include resolution ratio, coded format, code rate and At least one of frame per second.
As illustratively, by foregoing teachings it is known that the included record screen interface of existing terminal, such as: MediaRecorder, MediaCodec and MediaMuxer etc., the different window of the different APP usually shown according to screen What the highest frame per second of mouth was recorded, rather than recorded according to screen display frame rate.By currently being run in the terminal Application program display interface on show a default size animation, then according to the animation determine frame per second recorded Screen, which refreshed according to screen-refresh frame per second, and the video recorded in this way is played when playing according to screen frame per second, is improved Playing fluency.
In one embodiment, the record screen parameter determined according to the animation carries out record screen, later further include:
The residual capacity of target storage space of the monitoring for storing record screen data;
In the case where the residual capacity of the target storage space is not more than preset threshold, according to the application program The record screen parameter that display interface determines carries out record screen.
In this embodiment, the record screen parameter determined according to the display interface of the application program includes differentiating At least one of rate, coded format, code rate and frame per second.
It takes the mobile phone as an example, when the record screen parameter that the animation described in the mobile phone determines carries out record screen, mobile phone stores monitoring objective The residual capacity in space.When target storage space is the memory space specified in mobile phone, correlation function will be called to determine specified Memory space residual capacity.
For example, the operating system that mobile phone carries is Android operation system, it, can when target storage space is storage card Remaining memory capacity in storage card is determined to call getAvailaleSize () function.When target storage space is mobile phone Storage inside when, can determine remaining memory capacity in storage inside by reading the data in configuration file.
In this embodiment, when the residual capacity of the target storage space is not more than preset threshold, according to described The record screen parameter that the display interface of application program determines carries out record screen.Such as: according to the frame of the display interface of the application program Rate carries out record screen, since the record screen data that the frame per second according to the display interface of the application program generates are less than according to the animation The record screen data that determining frame per second generates can extend the duration of terminal record screen in lack of memory capacity, improve terminal into The success rate of row long-time screen recording.
In one embodiment, the residual capacity of target storage space of the monitoring for storing record screen data, packet It includes:
Determine that the memory space for storing record screen file, the record screen file are the texts generated according to the record screen data Part;
Determine the residual storage capacity of the memory space and the specified residual capacity of the record screen file, it is described specified surplus Covolume amount, which is equal to the maximum storage capacity that the record screen file is allowed to occupy and subtracts the storage that has occupied of record screen file, to be held Amount;
By the smaller value in the residual storage capacity and the specified residual capacity of the record screen file, it is determined as the mesh Mark the residual capacity of memory space.
In this embodiment, the memory space of storage record screen file usually by the operating system of terminal or has record screen The application program of function is specified.For example, operating system specifies the memory space for storing the record screen file in data card in mobile phone In.
As illustratively, the maximum storage capacity that record screen file is allowed to occupy in the terminal is 200MByte, storage record The memory space for shielding file is storage card, and record screen file has occupied the memory capacity of 80MByte at present, it is determined that specifies out Residual capacity is 120MByte.When the residual storage capacity of the storage card is 350MByte, 350MByte will be compared and specified Smaller 120MByte in the two is determined as the residual capacity of target storage space by the size of residual capacity 120MByte.
In one embodiment, the residual capacity of target storage space of the monitoring for storing record screen data, it Afterwards further include:
In the case where the residual capacity of the target storage space is not more than the preset threshold, prompting message is shown; The prompting message is used to remind the memory margin of the target storage space no more than the preset threshold to terminal user.
In this embodiment, prompting message can determine exhibition method according to the form of information output precision.For example, If information output precision includes screen, the exhibition method of prompting message can be image displaying, specifically can be text information, Pictorial information or animation information.If information output precision includes loudspeaker, the exhibition method of prompting message can be voice and mention It wakes up or jingle bell prompts.If it is warning light that information output precision, which includes, the exhibition method of prompting message can be the normal of warning light The illumination modes such as bright, flashing or discoloration.
In one embodiment, the residual capacity in the target storage space is not more than the case where preset threshold Under, show prompting message, later further include:
It monitors whether to receive predetermined registration operation, the predetermined registration operation is to be used to indicate the behaviour for stopping record screen or pause record screen Make;
In the case where receiving the predetermined registration operation, stop showing the prompting message.
In order to preferably illustrate that the adjustment process of frame per second is shielded in the record of the embodiment of the present application, take the mobile phone as an example below It is bright:
As shown in figure 4, first turning on red magic moment switch, then start the game application journey for supporting the red magic moment Sequence, the frame per second of game application are set as 30 frames, and screen-refresh frame per second is set as 60 frames (or 90 frames).
Formally start when recognizing game application, while opening backstage record screen, in game application The Window animation of a 1*1 pixel is shown on interface, this animation loops plays, and the frame per second of animation is according to screen at this time Refresh what frame per second refreshed, that is, 60 frames (90 frame).
Beginning is recorded according to the Window animation frame per second of 1*1 pixel, that is, 60 frames (90 frame);It records and comes out in this way Video frame rate it is just identical with screen-refresh frame per second, with regard to being identical with the effect in game process when broadcasting.
The method of adjustment of the record screen frame per second of the embodiment of the present application, passes through display circle in the currently running application program of terminal The animation shown on face carries out record screen according to the record screen parameter that the animation determines;Solves the mode of existing terminal recorded video Existing video playing Caton, the problem of reducing user experience;The playing fluency for improving recorded video, improves user Experience.
Second embodiment
As shown in figure 5, the application second embodiment provides a kind of terminal, the terminal includes memory 41, processor 42 And frame is shielded in the adjustment programme for recording screen frame per second that is stored on the memory 41 and can run on the processor 42, the record When the adjustment programme of rate is executed by the processor 42, for realizing as described below the step of recording the method for adjustment for shielding frame per second:
In the case where terminal enters record screen state, shown on the display interface of the currently running application program of the terminal Show the animation of a default size;
Record screen is carried out according to the record screen parameter that the animation determines.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
It is described terminal enter record screen state in the case where, in the display interface of the currently running application program of the terminal The animation of one default size of upper display, before further include:
In the case where record screen switch is turned on, detect whether the application program starts operation;
In the case where application program launching operation, controls the terminal and enter record screen state.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
It is described terminal enter record screen state in the case where, in the display interface of the currently running application program of the terminal The animation of one default size of upper display, later further include:
According to animation described in preset velocity amplitude loop play.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
The record screen parameter determined according to the animation carries out record screen, later further include:
The residual capacity of target storage space of the monitoring for storing record screen data;
In the case where the residual capacity of the target storage space is not more than preset threshold, according to the application program The record screen parameter that display interface determines carries out record screen.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
The record screen parameter determined according to the animation or described determining according to the display interface of the application program Record screen parameter include at least one of resolution ratio, coded format, code rate and frame per second.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
The residual capacity of target storage space of the monitoring for storing record screen data, comprising:
Determine that the memory space for storing record screen file, the record screen file are the texts generated according to the record screen data Part;
Determine the residual storage capacity of the memory space and the specified residual capacity of the record screen file, it is described specified surplus Covolume amount, which is equal to the maximum storage capacity that the record screen file is allowed to occupy and subtracts the storage that has occupied of record screen file, to be held Amount;
By the smaller value in the residual storage capacity and the specified residual capacity of the record screen file, it is determined as the mesh Mark the residual capacity of memory space.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
The residual capacity of target storage space of the monitoring for storing record screen data, later further include:
In the case where the residual capacity of the target storage space is not more than the preset threshold, prompting message is shown; The prompting message is used to remind the memory margin of the target storage space no more than the preset threshold to terminal user.
When the adjustment programme of the record screen frame per second is executed by the processor 42, it is also used to realize record screen frame as described below The step of method of adjustment of rate:
It is described to show prompting message in the case where the residual capacity of the target storage space is not more than preset threshold, Later further include:
It monitors whether to receive predetermined registration operation, the predetermined registration operation is to be used to indicate the behaviour for stopping record screen or pause record screen Make;
In the case where receiving the predetermined registration operation, stop showing the prompting message.
The terminal of the embodiment of the present application, it is dynamic by what is shown on the display interface of the currently running application program of terminal It draws, record screen is carried out according to the record screen parameter that the animation determines;It solves video existing for the mode of existing terminal recorded video to broadcast The problem of putting Caton, reducing user experience;The playing fluency of recorded video is improved, the user experience is improved.
3rd embodiment
The application 3rd embodiment provides a kind of computer readable storage medium, deposits on the computer readable storage medium The adjustment programme of record screen frame per second is contained, for realizing first embodiment when the adjustment programme of the record screen frame per second is executed by processor The step of method of adjustment of the record screen frame per second.
It should be noted that the computer readable storage medium of the present embodiment, belongs to same with the method for first embodiment Design, specific implementation process is shown in embodiment of the method in detail, and the technical characteristic in embodiment of the method is right in the present embodiment It should be applicable in, which is not described herein again.
The computer readable storage medium of the embodiment of the present application passes through display circle in the currently running application program of terminal The animation shown on face carries out record screen according to the record screen parameter that the animation determines;Solves the mode of existing terminal recorded video Existing video playing Caton, the problem of reducing user experience;The playing fluency for improving recorded video, improves user Experience.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data) The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.
Above by reference to Detailed description of the invention preferred embodiment of the present application, not thereby limit to the interest field of the application.This Field technical staff does not depart from made any modifications, equivalent replacements, and improvements in scope of the present application and essence, should all be at this Within the interest field of application.

Claims (10)

1. a kind of method of adjustment of record screen frame per second, this method are used for terminal, which is characterized in that the method for adjustment of the record screen frame per second Include:
In the case where terminal enters record screen state, one is shown on the display interface of the currently running application program of the terminal The animation of a default size;
Record screen is carried out according to the record screen parameter that the animation determines.
2. the method for adjustment of record screen frame per second according to claim 1, which is characterized in that described to enter record screen state in terminal In the case where, the animation of a default size is shown on the display interface of the currently running application program of the terminal, before Further include:
In the case where record screen switch is turned on, detect whether the application program starts operation;
In the case where application program launching operation, controls the terminal and enter record screen state.
3. the method for adjustment of record screen frame per second according to claim 1, which is characterized in that described to enter record screen state in terminal In the case where, the animation of a default size is shown on the display interface of the currently running application program of the terminal, later Further include:
According to animation described in preset velocity amplitude loop play.
4. it is according to claim 1 record screen frame per second method of adjustment, which is characterized in that it is described according to the animation determine Record screen parameter carries out record screen, later further include:
The residual capacity of target storage space of the monitoring for storing record screen data;
In the case where the residual capacity of the target storage space is not more than preset threshold, according to the display of the application program The record screen parameter that interface determines carries out record screen.
5. the method for adjustment of record screen frame per second according to claim 1 or 4, which is characterized in that described true according to the animation Fixed record screen parameter or the record screen parameter determined according to the display interface of the application program include resolution ratio, coding lattice At least one of formula, code rate and frame per second.
6. the method for adjustment of record screen frame per second according to claim 4, which is characterized in that the monitoring is for storing record screen number According to target storage space residual capacity, comprising:
Determine that the memory space for storing record screen file, the record screen file are the files generated according to the record screen data;
Determine the residual storage capacity of the memory space and the specified residual capacity of the record screen file, the specified remaining appearance Amount is equal to the maximum storage capacity that the record screen file is allowed to occupy and subtracts the memory capacity that the record screen file has occupied;
By the smaller value in the residual storage capacity and the specified residual capacity of the record screen file, it is determined as the target and deposits Store up the residual capacity in space.
7. the method for adjustment of record screen frame per second according to claim 4, which is characterized in that the monitoring is for storing record screen number According to target storage space residual capacity, later further include:
In the case where the residual capacity of the target storage space is not more than the preset threshold, prompting message is shown;It is described Prompting message is used to remind the memory margin of the target storage space no more than the preset threshold to terminal user.
8. the method for adjustment of record screen frame per second according to claim 7, which is characterized in that described in the target storage space Residual capacity no more than in the case where preset threshold, show prompting message, later further include:
It monitors whether to receive predetermined registration operation, the predetermined registration operation is to be used to indicate the operation for stopping record screen or pause record screen;
In the case where receiving the predetermined registration operation, stop showing the prompting message.
9. a kind of terminal, which is characterized in that the terminal includes memory, handles and is stored on the memory and can be in institute The adjustment programme of the record screen frame per second run on processor is stated, the adjustment programme of the record screen frame per second is real when being executed by the processor Now such as the step of the method for adjustment of record screen frame per second described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with record screen frame on the computer readable storage medium The adjustment programme of the adjustment programme of rate, the record screen frame per second is realized when being executed by the processor as any in claim 1 to 8 The step of method of adjustment of record screen frame per second described in.
CN201910695037.3A 2019-07-30 2019-07-30 Method for adjusting screen recording frame rate, terminal and computer readable storage medium Active CN110401870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910695037.3A CN110401870B (en) 2019-07-30 2019-07-30 Method for adjusting screen recording frame rate, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910695037.3A CN110401870B (en) 2019-07-30 2019-07-30 Method for adjusting screen recording frame rate, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110401870A true CN110401870A (en) 2019-11-01
CN110401870B CN110401870B (en) 2022-12-06

Family

ID=68326563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910695037.3A Active CN110401870B (en) 2019-07-30 2019-07-30 Method for adjusting screen recording frame rate, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110401870B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596827A (en) * 2020-12-11 2021-04-02 上海闻泰信息技术有限公司 Display information extraction method and device and computer equipment
CN112672201A (en) * 2020-12-18 2021-04-16 努比亚技术有限公司 Screen recording frame rate control method and device and computer readable storage medium
CN114449349A (en) * 2020-10-30 2022-05-06 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN116684668A (en) * 2023-08-03 2023-09-01 湖南马栏山视频先进技术研究院有限公司 Self-adaptive video frame processing method and playing terminal

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0703715A2 (en) * 1994-09-26 1996-03-27 Matsushita Electric Industrial Co., Ltd. Digital signal recording apparatus
CN104077211A (en) * 2013-03-25 2014-10-01 腾讯科技(深圳)有限公司 Test method and test system for mobile terminal software
CN104572052A (en) * 2013-10-21 2015-04-29 腾讯科技(深圳)有限公司 Measuring method and device of application program frame rate
CN104714879A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Picture testing method and device
US20150194125A1 (en) * 2014-01-06 2015-07-09 Samsung Electronics Co., Ltd. Method and system for adjusting output of display
CN105912444A (en) * 2016-04-29 2016-08-31 网易(杭州)网络有限公司 Refresh rate testing method and device of picture change of mobile terminal game screen
CN107193515A (en) * 2017-04-10 2017-09-22 腾讯科技(深圳)有限公司 Animation shows monitoring method, device and its equipment of fluency
CN107835452A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Data processing method and related product
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN108391123A (en) * 2018-02-09 2018-08-10 维沃移动通信有限公司 A kind of method and terminal generating video
CN108519847A (en) * 2018-04-13 2018-09-11 维沃移动通信有限公司 A kind of record screen method and terminal
CN108600668A (en) * 2018-03-27 2018-09-28 维沃移动通信有限公司 A kind of record screen frame per second method of adjustment and mobile terminal
WO2019015643A1 (en) * 2017-07-19 2019-01-24 腾讯科技(深圳)有限公司 Display control method and apparatus for game picture, and electronic device and storage medium
CN109981898A (en) * 2019-03-14 2019-07-05 维沃移动通信有限公司 A kind of method, apparatus and terminal of record screen

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0703715A2 (en) * 1994-09-26 1996-03-27 Matsushita Electric Industrial Co., Ltd. Digital signal recording apparatus
CN104077211A (en) * 2013-03-25 2014-10-01 腾讯科技(深圳)有限公司 Test method and test system for mobile terminal software
CN104572052A (en) * 2013-10-21 2015-04-29 腾讯科技(深圳)有限公司 Measuring method and device of application program frame rate
CN104714879A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Picture testing method and device
US20150194125A1 (en) * 2014-01-06 2015-07-09 Samsung Electronics Co., Ltd. Method and system for adjusting output of display
CN105912444A (en) * 2016-04-29 2016-08-31 网易(杭州)网络有限公司 Refresh rate testing method and device of picture change of mobile terminal game screen
CN107193515A (en) * 2017-04-10 2017-09-22 腾讯科技(深圳)有限公司 Animation shows monitoring method, device and its equipment of fluency
WO2019015643A1 (en) * 2017-07-19 2019-01-24 腾讯科技(深圳)有限公司 Display control method and apparatus for game picture, and electronic device and storage medium
CN107835452A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Data processing method and related product
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN108391123A (en) * 2018-02-09 2018-08-10 维沃移动通信有限公司 A kind of method and terminal generating video
CN108600668A (en) * 2018-03-27 2018-09-28 维沃移动通信有限公司 A kind of record screen frame per second method of adjustment and mobile terminal
CN108519847A (en) * 2018-04-13 2018-09-11 维沃移动通信有限公司 A kind of record screen method and terminal
CN109981898A (en) * 2019-03-14 2019-07-05 维沃移动通信有限公司 A kind of method, apparatus and terminal of record screen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHANN-CHIUEN WU等: ""Remote Screen Recording and Playback"", 《2006 INTERNATIONAL CONFERENCE ON SYSTEMS AND NETWORKS COMMUNICATIONS (ICSNC"06)》 *
席铮: "" 基于FFmpeg和SDL的智能录屏及播放系统"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449349A (en) * 2020-10-30 2022-05-06 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN114449349B (en) * 2020-10-30 2023-07-25 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN112596827A (en) * 2020-12-11 2021-04-02 上海闻泰信息技术有限公司 Display information extraction method and device and computer equipment
CN112672201A (en) * 2020-12-18 2021-04-16 努比亚技术有限公司 Screen recording frame rate control method and device and computer readable storage medium
CN112672201B (en) * 2020-12-18 2023-12-12 努比亚技术有限公司 Screen recording frame rate control method, equipment and computer readable storage medium
CN116684668A (en) * 2023-08-03 2023-09-01 湖南马栏山视频先进技术研究院有限公司 Self-adaptive video frame processing method and playing terminal
CN116684668B (en) * 2023-08-03 2023-10-20 湖南马栏山视频先进技术研究院有限公司 Self-adaptive video frame processing method and playing terminal

Also Published As

Publication number Publication date
CN110401870B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN110401870A (en) Method of adjustment, terminal and the computer readable storage medium of record screen frame per second
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN110175062A (en) A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal
CN108159688A (en) Interface sharing method, mobile terminal and computer readable storage medium
CN108289174A (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN108282771A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN109151169A (en) Camera right management method, mobile terminal and computer readable storage medium
CN109684023A (en) Multi-screen display method, terminal and the storage medium of application program
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN108553896A (en) A kind of status information display control method, terminal and computer readable storage medium
CN110086993A (en) Image processing method, device, mobile terminal and computer readable storage medium
CN109769067A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN108989873A (en) Barrage information display method, mobile terminal and computer readable storage medium
CN110275794A (en) Screen display method, terminal and the computer readable storage medium of terminal
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109618049A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN109348113A (en) Camera module, terminal, terminal control method, computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN108540657A (en) A kind of interference processing method, mobile terminal and storage medium
CN109348071A (en) Call-information display methods, terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221109

Address after: 6/F, Block D, Greenland Center, Intersection of Susong Road and Qimen Road, Baohe District, Hefei City, Anhui Province, 230000

Applicant after: ANHUI TIANXING YUNSHI TECHNOLOGY CO.,LTD.

Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant