CN108519847A - A kind of record screen method and terminal - Google Patents
A kind of record screen method and terminal Download PDFInfo
- Publication number
- CN108519847A CN108519847A CN201810329790.6A CN201810329790A CN108519847A CN 108519847 A CN108519847 A CN 108519847A CN 201810329790 A CN201810329790 A CN 201810329790A CN 108519847 A CN108519847 A CN 108519847A
- Authority
- CN
- China
- Prior art keywords
- record screen
- record
- parameter
- terminal
- display interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Abstract
A kind of record screen method of present invention offer and terminal, this method include:Whether the display interface for detecting the terminal switches;If the display interface switches, parameter is shielded according to the first record and carries out record screen;If the display interface does not switch, parameter is shielded according to the second record and carries out record screen;Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.The present invention can improve the flexibility ratio of record screen.In addition, the present invention can both improve the utilization rate of system resource, the details that display interface switches can also be captured.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of record screen methods and terminal.
Background technology
Screen technology is recorded, is a kind of technology that the screen to electronic equipment is recorded a video, can be used for sharing some application
Operating procedure, usage experience, or record the appearance scene and settlement steps to deal of some problem.
In mobile internet era, with the promotion and popularization of electronic equipment, user constantly pursue high-quality audio and video,
Camera shooting, record screen experience.To make the video of recording have more true screen operator effect, dynamic shows in greater detail
The frame per second of record screen application program and resolution ratio are usually set as maximum value, and are recorded with fixed frame per second and resolution ratio by effect
Screen.
As it can be seen that the flexibility ratio of existing record screen technology is relatively low.
Invention content
A kind of record screen method of offer of the embodiment of the present invention and terminal, to solve, the existing flexibility ratio for recording screen technology is lower to ask
Topic.
In a first aspect, an embodiment of the present invention provides a kind of record screen method, this method includes:
Whether the display interface for detecting the terminal switches;
If the display interface switches, parameter is shielded according to the first record and carries out record screen;
If the display interface does not switch, parameter is shielded according to the second record and carries out record screen;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
Second aspect, the embodiment of the present invention also provide a kind of terminal, which includes:
Whether detection module, the display interface for detecting the terminal switch;
First record panel module shields parameter according to the first record and carries out record screen if switching for the display interface;
Second record panel module shields parameter according to the second record and carries out record screen if not switching for the display interface;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
The third aspect, the embodiment of the present invention also provide a kind of terminal, which includes processor, memory and be stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing record screen method as described above.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage medium
It is stored with computer program in matter, the step of record screen method as described above is realized when the computer program is executed by processor
Suddenly.
In embodiments of the present invention, the testing result that whether terminal switches according to display interface, adaptive adjustment record
The record screen parameter of screen improves the flexibility ratio of record screen.
In addition, in the case where display interface switches, according to numerical value, the first larger record screen parameter carries out record screen,
In the case that display interface does not switch, according to numerical value, the second smaller record screen parameter carries out record screen, can both improve system
The utilization rate of resource can also capture the details of display interface switching.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without having to pay creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is one of the flow chart of record screen method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of system block diagram provided in an embodiment of the present invention;
Fig. 3 is the two of the flow chart of record screen method provided in an embodiment of the present invention;
Fig. 4 is one of the structure chart of terminal provided in an embodiment of the present invention;
Fig. 5 is the two of the structure chart of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The record screen method of the embodiment of the present invention is mainly used in terminal.Wherein, terminal can be mobile phone, tablet computer
(Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal
Digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable
Equipment (Wearable Device) etc..
The record screen method of the embodiment of the present invention is illustrated below.
Fig. 1 is referred to, Fig. 1 is one of the flow chart of record screen method provided in an embodiment of the present invention, as shown in Figure 1, this reality
The record screen method for applying example includes the following steps:
Whether step 101, the display interface for detecting the terminal switch.
In the present embodiment, terminal can be based on detection cycle T1, and whether dynamic detection display interface switches, i.e. terminal
Every the T1 times, whether display interface of detection switches.
Wherein, detection cycle T1 can be configured according to actual needs, such as T1 is set as 5 seconds or 10 seconds, the present invention
This is not especially limited.
It should be understood that make the actual conditions that testing result preferably reflects that display interface switches, can will examine
Survey the inverse that cycle T 1 is set as screen refresh rate.In this way, screen-refresh is primary, i.e. the display picture refreshing of terminal is primary, eventually
End can detect whether a display interface switches, and so as to improve the accuracy of testing result, and then improve record screen
Picture display effect.
Whether display interface, which switches, can be understood as whether display interface redirects.Display interface switching can with but
It is not limited only to include at least one of following:Interface in application program redirects;Interface between each application program redirects;System circle
Face redirects;System interface is redirected to Application Program Interface.
In practical applications, terminal can be cut by page manager (Activity Manager) management and control display interface
It changes, the switching of record display interface at a certain moment, and counts the switching times in preset duration, for measuring display interface
Switching frequency.
If step 102, the display interface switch, parameter is shielded according to the first record and carries out record screen.
If step 103, the display interface do not switch, parameter is shielded according to the second record and carries out record screen.
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
In the present embodiment, if terminal detects that display interface switches, it can be shielded according to the first larger record of numerical value
Parameter carries out record screen, so as to generate more coherent true record screen file, can show the details such as more changing interfaces
Effect.
If terminal detects that display interface does not switch, according to numerical value, the second smaller record screen parameter carries out record screen,
So as to while ensureing to record picture, improve the utilization rate of system resource.
Optionally, the first record screen parameter includes:First record screen frame per second and/or the first record screen resolution ratio, described second
Parameter is shielded in record:Second record screen frame per second and/or record screen resolution ratio;Wherein, the first record screen frame per second is more than the second record and shields frame per second, the
One record screen resolution ratio is more than the second record and shields resolution ratio.
Illustratively, if terminal detects that display interface switches, record screen frame per second can be set as to 120F/s, record screen
Resolution ratio is set as 1080 × 1920, and carries out record screen according to the record screen frame per second and record screen resolution ratio;If terminal detects display circle
Face does not switch, then record screen frame per second can be set as to 60F/s, record screen resolution ratio is set as 720 × 1080, and states record screen according to this
Frame per second and record screen resolution ratio carry out record screen.
It should be understood that in embodiments of the present invention, the unit of record screen frame per second is F/s, full name FramesPer
Second, Chinese are that frame is per second;The unit of resolution ratio can be inch pixel (Pixel per inch, ppi), but not only
It is limited to this.
It should be noted that the display interface for terminal does not switch, but shows the content change of picture, that is, show picture
Newer scene, terminal can also use the record screen method switched with the display interface of terminal to carry out record screen.
The record screen method of the present embodiment, the testing result whether terminal switches according to display interface are adaptive to adjust
The record screen parameter of screen is recorded, record screen file is generated, improves the flexibility ratio of record screen.
In addition, in the case where display interface switches, according to numerical value, the first larger record screen parameter carries out record screen,
In the case that display interface does not switch, according to numerical value, the second smaller record screen parameter carries out record screen, can both improve system
The utilization rate of resource can also capture the details of display interface switching.
In other embodiments of the invention, on the basis of the above embodiments, terminal can detect display interface
When switching, at the time of recording display interface and switch, in this way, subsequent terminal is detecting that display interface do not cut
When changing, the time to switch apart from last time display interface can be calculated, that is, calculate that display interface do not switch it is lasting when
It is long, and then parameter is shielded according to record corresponding with the target duration section where duration and carries out record screen, so as to further
Improve the flexibility ratio of record screen.
Refer to Fig. 2, Fig. 2 is the two of the flow chart of record screen method provided in an embodiment of the present invention, the present embodiment with it is above-mentioned
The main distinction of embodiment is, described according to the after whether the display interface of the detection terminal switches
Before two record screen parameters carry out record screen, further restriction is made to record screen method, specially:If the display interface does not occur
Switching, then calculate the duration that the display interface does not switch;Determine the target duration section where the duration;Described
Shield parameter according to the second record and carries out record screen, including:Record screen is carried out according to the second record screen parameter corresponding with target duration section.
As shown in Fig. 2, the record screen method of the present embodiment includes the following steps:
Whether step 201, the display interface for detecting the terminal switch.
This step is identical as the step 101 in above-described embodiment, specifically refers to the description in above-described embodiment, to avoid
It repeats, details are not described herein.
If step 202, the display interface switch, parameter is shielded according to the first record and carries out record screen.
This step is identical as the step 102 in above-described embodiment, specifically refers to the description in above-described embodiment, to avoid
It repeats, details are not described herein.
If step 203, the display interface do not switch, the duration that the display interface does not switch is calculated.
In the present embodiment, if terminal detects that display interface does not switch, calculating cycle T2, computing terminal can be based on
The duration T3 that display interface does not switch, i.e. terminal calculate what a terminal display interface did not switched every the T2 times
Duration T3.
Wherein, calculating cycle T2 can be configured according to actual needs, such as T2 is set as 30 milliseconds or 1 second, this hair
It is bright that this is not especially limited.
It should be understood that avoid terminal from switching display interface in calculating cycle T2, lead to display circle being calculated
The duration that face does not switch occurs more than the case where duration that actual displayed interface does not switch, can be by calculating cycle T2
It is set as the value equal with detection cycle T1.In this way, terminal detects whether a display interface switches, you can on display circle
In the case that face does not switch, calculating once states the duration that display interface does not switch, so as to improve result of calculation
Accuracy, and then improve record screen picture display effect.
Step 204 determines target duration section where the duration.
In the present embodiment, terminal can obtain the correspondence of duration section and screen parameter in advance.Optionally, described
Before carrying out record screen according to the second record screen parameter corresponding with the duration, further include:
Establish the correspondence in duration section and record screen parameter.
Certainly, in specific application, the duration area pre-established that terminal can also be sent by receiving other-end
Between with the correspondence of record screen parameter obtain its correspondence, can specifically determine according to actual needs, the embodiment of the present invention pair
This is not construed as limiting.
It should be understood that duration section with record screen parameter correspondence in, each duration section can be it is continuous,
It can be discrete, but each time interval is non-overlapping, obscuring for record screen parameter is called to avoid terminal.
In addition, the maximum value in duration section is bigger, then parameter is shielded in the corresponding record of the time interval, such as record screen frame per second and/or
Record screen resolution ratio is smaller, i.e. the maximum value in duration section and the numerical value of record screen parameter is negatively correlated.
Illustratively, duration section in the correspondence of record screen parameter, for the first duration section of t < 30s,
Corresponding record screen frame per second is 120F/s, and record screen resolution ratio is set as 1080 × 1920;For the second duration section of 30≤t < 1m,
Its corresponding record screen frame per second is 60F/s, and record screen resolution ratio is set as 720 × 1080;For the third duration section of 1m≤t < 5m,
Its corresponding record screen frame per second is 30F/s, and record screen resolution ratio is set as 480 × 640;For the 4th duration section of t >=5m, correspond to
Record screen frame per second be 15F/s, record screen resolution ratio be set as 240 × 320.
Wherein, the full name of s is second (s), and Chinese is the second;The full name of m is minute (s), and Chinese is point
Clock;The full name of F/s is Frames Per Second, and Chinese is that frame is per second.
In this way, terminal can execute step 205 behind the target duration section where determining duration T3.
Step 205 carries out record screen according to the second record screen parameter corresponding with target duration section.
Assuming that duration T3=10s, falls into the first duration section, then record screen frame per second can be set as 120F/s by terminal, be recorded
Screen resolution ratio is set as 1080 × 1920, and carries out record screen according to the record screen frame per second and record screen resolution ratio;Assuming that duration T3=40s,
The second duration section is fallen into, record screen frame per second can will be set as 60F/s by terminal if, and record screen resolution ratio is set as 720 × 1080, and
Record screen is carried out according to the record screen frame per second and record screen resolution ratio;And so on.
It is not cut in this way, terminal in the case where detecting that display interface does not switch, can calculate display interface
The duration changed carries out record screen according to the second record screen parameter corresponding with the target duration section where not newer duration, to
The flexibility ratio of record screen can be further increased, and the picture display effect of file is shielded in the record generated.
In other examples, terminal can also determine mesh behind the target duration section where determining the duration
The corresponding target scene in duration section is marked, and parameter is shielded according to record corresponding with the target scene and is shielded into record.Illustratively,
One duration section corresponds to scene C1, and further, the corresponding record screen frame per second of scene C1 is 120F/s, and record screen resolution ratio is set as 1080
×1920;Second duration section corresponds to scene C2, and further, the corresponding record screen frame per second of scene C1 is 60F/s, record screen resolution ratio
It is set as 720 × 1080.
In addition, detecting the case where display interface switches for terminal, optionally, the detection terminal is shown
It is described to be shielded before parameter carries out record screen according to the first record after showing whether interface switches, further include:
If the display interface switches, the update frequency of the display picture in preset duration is counted;
Determine the target frequency range where the update frequency;
It is described that record screen is carried out according to the first record screen parameter, including:
Record screen is carried out according to the first record screen parameter corresponding with the target frequency range.
In this optional step, terminal can count the display in the case where detecting that display interface switches
The update frequency of the picture in preset duration, it should be understood that the update frequency in preset duration counted can wrap
Include this update.
In some embodiments, the end time point of preset duration can be time when terminal executes statistical operation
The length of point, preset duration can be set according to actual needs, such as 1 minute or 5 minutes, and the embodiment of the present invention does not make this
It limits.
In the present embodiment, terminal can obtain the correspondence of frequency range and screen parameter in advance.Specifically, terminal can
To pre-establish the correspondence in duration section and record screen parameter, can also be pre-established by receive that other-end sends
The correspondence of parameter is shielded to obtain its correspondence in duration section with record, can specifically determine according to actual needs, and the present invention is real
Example is applied to be not construed as limiting this.
It should be understood that in frequency range with the correspondence of record screen parameter, each frequency may range from continuously,
It can be discrete, but each frequency range is non-overlapping, obscuring for record screen parameter is called to avoid terminal.
In addition, the maximum value of frequency range is bigger, then parameter is shielded in the corresponding record of the time interval, such as record screen frame per second and/or
Record screen resolution ratio is bigger, that is, shields the numerical value positive correlation of the maximum value and record screen parameter of underrange.
Terminal is after counting the update frequency of the display picture in preset duration, it may be determined that the update frequency is fallen
The target frequency range entered, and record screen is carried out according to the first record screen parameter corresponding with the target frequency range.It should be understood that
It is that the realization method is similar with step 203, step 204 and step 205 in Fig. 2, specifically refers to the corresponding embodiments of Fig. 2
Description, to avoid repeating, details are not described herein.
In this way, terminal can count the display picture and exist in the case where detecting that display interface switches
The update frequency in preset duration, and according to the first record screen parameter corresponding with the target frequency range where the update frequency
Record screen is carried out, so as to further increase the flexibility ratio of record screen, and the picture display effect of file is shielded in the record generated.
It should be noted that the embodiment for the plurality of optional introduced in the embodiment of the present invention, can be combined with each other each other
It realizes, can also be implemented separately, this embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, as shown in figure 3, terminal can preset record screen parameter switching module in multimedia framework,
In this way, terminal when shielding application progress film recording by recording, can be realized above-mentioned each by above-mentioned record screen parameter switching module
Each step in embodiment of the method.
Specifically, record screen parameter switching module can show as one section of program in record screen application program or one
Independently of the software of record screen application program, can specifically determine according to actual needs, the embodiment of the present invention is not construed as limiting this.
It should be understood that terminal can close record screen parameter switching module, so as to discharge after recording screen
The system resource that the module occupies, improves the utilization rate of system resource.
In figure 3, medium recorder can be construed to media recorder;File description can be construed to media
writer;Track can be construed to Audio track;Video tracking can be construed to Video Track;Recorder can be explained
For Audio Recorder;Video recorder can be construed to Video Recorder;Color space conversion can be construed to Color
Space Converter;Screen driver can be construed to Screen Driver;Audio compression driver can be explained
For Audio Compressed Driver;LCD screen can be construed to LCD (Liquid Crystal Display)
Screen;PCM (Pulse Code Modulation, pulse code modulation) audio output can be construed to Audio PCM
Output。
It should be understood that in figure 3, the direction of arrow can characterize the flow direction of record screen data.
It is the structure chart for the terminal that one embodiment of the invention provides referring to Fig. 4, Fig. 4, as shown in figure 4, terminal 400 includes:
Detection module 401, first records panel module 402 and second and records panel module 403.
Wherein, whether detection module 401, the display interface for detecting the terminal switch;
First record panel module 402 shields parameter according to the first record and is recorded if switching for the display interface
Screen;
Second record panel module 403 shields parameter according to the second record and is recorded if not switching for the display interface
Screen;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
On the basis of Fig. 4,400 also included module of terminal is illustrated below.
Optionally, the first record screen parameter includes:First record screen frame per second and/or the first record screen resolution ratio, described second
Parameter is shielded in record:Second record screen frame per second and/or record screen resolution ratio;
First record screen frame per second is more than the second record and shields frame per second, and the first record screen resolution ratio is more than the second record and shields resolution ratio.
Optionally, terminal 400 further includes:
Computing module, after whether switching in the display interface for detecting the terminal, according to the second record screen ginseng
Before number carries out record screen, if the display interface does not switch, the duration that the display interface does not switch is calculated;
First determining module, for determining the target duration section where the duration;
The second record panel module 403, is specifically used for:According to the second record screen parameter corresponding with target duration section
Carry out record screen.
Optionally, terminal 400 further includes:
Module is established, for before carrying out record screen according to the second record screen parameter corresponding with the duration, establishing duration
The correspondence in section and record screen parameter.
Optionally, terminal 400 further includes:
Statistical module, after whether switching in the display interface for detecting the terminal, according to the first record screen ginseng
Before number carries out record screen, if the display interface does not switch, update of the display picture in preset duration is counted
The frequency;
Second determining module, for determine it is described update the frequency where target frequency range;
The first record panel module, is specifically used for:According to it is corresponding with the target frequency range first record screen parameter into
Row record screen.
Terminal 400 can realize each process in the method for the present invention embodiment, and reach identical advantageous effect, be
It avoids repeating, which is not described herein again.
Referring to FIG. 5, Fig. 5 is the structure chart for the terminal that further embodiment of this invention provides, which can be to realize this
Invent a kind of hardware architecture diagram of terminal of each embodiment.As shown in figure 5, terminal 500 includes but not limited to:Radio frequency list
Member 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user's input
The components such as unit 507, interface unit 508, memory 509, processor 510 and power supply 511.Those skilled in the art can be with
Understand, the restriction of the not structure paired terminal of terminal structure shown in Fig. 5, terminal may include than illustrating more or fewer portions
Part either combines certain components or different components arrangement.In embodiments of the present invention, terminal include but not limited to mobile phone,
Tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510 are used for:
Whether the display interface for detecting the terminal switches;
If the display interface switches, parameter is shielded according to the first record and carries out record screen;
If the display interface does not switch, parameter is shielded according to the second record and carries out record screen;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
Optionally, the first record screen parameter includes:First record screen frame per second and/or the first record screen resolution ratio, described second
Parameter is shielded in record:Second record screen frame per second and/or record screen resolution ratio;
First record screen frame per second is more than the second record and shields frame per second, and the first record screen resolution ratio is more than the second record and shields resolution ratio.
Optionally, processor 510 are additionally operable to:
If the display interface does not switch, the duration that the display interface does not switch is calculated;
Determine the target duration section where the duration;
Record screen is carried out according to the second record screen parameter corresponding with target duration section.
Optionally, processor 510 are additionally operable to:
Establish the correspondence in duration section and record screen parameter.
Optionally, processor 510 are additionally operable to:
If the display interface switches, the update frequency of the display picture in preset duration is counted;
Determine the target frequency range where the update frequency;
Record screen is carried out according to the first record screen parameter corresponding with the target frequency range.
It should be noted that above-mentioned terminal 500 may be implemented in the embodiment of the present invention in embodiment of the method in the present embodiment
Each process, and reach identical advantageous effect, to avoid repeating, details are not described herein again.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set
Standby communication.
Terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 500 executes.Sound
Frequency output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 5061, and proximity sensor can close display panel when terminal 500 is moved in one's ear
5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 505 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 507 include touch panel 5071 and other
Input equipment 5072.Touch panel 5071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 5071 or near touch panel 5071
Operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receives processor 510
The order sent simultaneously is executed.Furthermore, it is possible to according to multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.
Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display
Panel 5061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of terminal is realized so that touch panel 5071 and display panel 5061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 508 is the interface that external device (ED) is connect with terminal 500.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port
Etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 500 or can be used for terminal 500 and external device (ED) it
Between transmission data.
Memory 509 can be used for storing software program and various data.Memory 509 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, 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 510 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 509, and call and be stored in memory 509
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 510 may include one
Or multiple processing units;Preferably, processor 510 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 510.
Terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 can be with
It is logically contiguous by power-supply management system and processor 510, to by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 510, and memory 509 is stored in storage
It is real when which is executed by processor 510 on device 509 and the computer program that can be run on the processor 510
Each process of existing above-mentioned record screen embodiment of the method, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating
It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned record screen embodiment of the method when being executed by processor, and can reach
Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (11)
1. a kind of record screen method is applied to terminal, which is characterized in that including:
Whether the display interface for detecting the terminal switches;
If the display interface switches, parameter is shielded according to the first record and carries out record screen;
If the display interface does not switch, parameter is shielded according to the second record and carries out record screen;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
2. according to the method described in claim 1, it is characterized in that, the first record screen parameter includes:First record screen frame per second and/
Or first record screen resolution ratio, it is described second record screen parameter includes:Second record screen frame per second and/or record screen resolution ratio;
First record screen frame per second is more than the second record and shields frame per second, and the first record screen resolution ratio is more than the second record and shields resolution ratio.
3. according to the method described in claim 1, it is characterized in that, whether the display interface of the detection terminal is cut
It is described to be shielded before parameter carries out record screen according to the second record after alternatively, further include:
If the display interface does not switch, the duration that the display interface does not switch is calculated;
Determine the target duration section where the duration;
It is described that record screen is carried out according to the second record screen parameter, including:
Record screen is carried out according to the second record screen parameter corresponding with target duration section.
4. according to the method described in claim 3, it is characterized in that, the basis the second record screen parameter corresponding with the duration
Before carrying out record screen, further include:
Establish the correspondence in duration section and record screen parameter.
5. method according to claim 1 to 4, which is characterized in that display circle of the detection terminal
It is described to be shielded before parameter carries out record screen according to the first record after whether face switches, further include:
If the display interface switches, the update frequency of the display picture in preset duration is counted;
Determine the target frequency range where the update frequency;
It is described that record screen is carried out according to the first record screen parameter, including:
Record screen is carried out according to the first record screen parameter corresponding with the target frequency range.
6. a kind of terminal, which is characterized in that including:
Whether detection module, the display interface for detecting the terminal switch;
First record panel module shields parameter according to the first record and carries out record screen if switching for the display interface;
Second record panel module shields parameter according to the second record and carries out record screen if not switching for the display interface;
Wherein, the numerical value of the first record screen parameter is more than the numerical value of the second record screen parameter.
7. terminal according to claim 6, which is characterized in that first record shields parameter and includes:First record screen frame per second and/
Or first record screen resolution ratio, it is described second record screen parameter includes:Second record screen frame per second and/or record screen resolution ratio;
First record screen frame per second is more than the second record and shields frame per second, and the first record screen resolution ratio is more than the second record and shields resolution ratio.
8. terminal according to claim 6, which is characterized in that further include:
Computing module, after whether switching in the display interface for detecting the terminal, according to the second record shield parameter into
Before row record screen, if the display interface does not switch, the duration that the display interface does not switch is calculated;
First determining module, for determining the target duration section where the duration;
The second record panel module, is specifically used for:It is recorded according to the second record screen parameter corresponding with target duration section
Screen.
9. terminal according to claim 8, which is characterized in that further include:
Module is established, for before carrying out record screen according to the second record screen parameter corresponding with the duration, establishing duration section
With the correspondence of record screen parameter.
10. the terminal according to any one of claim 6 to 9, which is characterized in that further include:
Statistical module, after whether switching in the display interface for detecting the terminal, according to the first record shield parameter into
Before row record screen, if the display interface does not switch, the update frequency of the display picture in preset duration is counted;
Second determining module, for determine it is described update the frequency where target frequency range;
The first record panel module, is specifically used for:It is recorded according to the first record screen parameter corresponding with the target frequency range
Screen.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5
The step of record screen method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810329790.6A CN108519847A (en) | 2018-04-13 | 2018-04-13 | A kind of record screen method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810329790.6A CN108519847A (en) | 2018-04-13 | 2018-04-13 | A kind of record screen method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108519847A true CN108519847A (en) | 2018-09-11 |
Family
ID=63432511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810329790.6A Pending CN108519847A (en) | 2018-04-13 | 2018-04-13 | A kind of record screen method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108519847A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109584652A (en) * | 2018-12-29 | 2019-04-05 | 武汉易测云网络科技有限公司 | A kind of building practitioner on-line study system |
CN110401870A (en) * | 2019-07-30 | 2019-11-01 | 努比亚技术有限公司 | Method of adjustment, terminal and the computer readable storage medium of record screen frame per second |
CN111866577A (en) * | 2020-07-20 | 2020-10-30 | 上海连尚网络科技有限公司 | Screen recording method, electronic device and computer readable storage medium |
CN113946256A (en) * | 2021-10-28 | 2022-01-18 | 北京海泰方圆科技股份有限公司 | Page operation recording method, device, medium and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828166A (en) * | 2015-09-10 | 2016-08-03 | 维沃移动通信有限公司 | Recording method of terminal screen display content and terminal |
CN105825801A (en) * | 2016-03-21 | 2016-08-03 | 联想(北京)有限公司 | Display control method and electronic device |
CN106919401A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | A kind of method of dynamic regulation resolution ratio, device and mobile terminal |
-
2018
- 2018-04-13 CN CN201810329790.6A patent/CN108519847A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828166A (en) * | 2015-09-10 | 2016-08-03 | 维沃移动通信有限公司 | Recording method of terminal screen display content and terminal |
CN105825801A (en) * | 2016-03-21 | 2016-08-03 | 联想(北京)有限公司 | Display control method and electronic device |
CN106919401A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | A kind of method of dynamic regulation resolution ratio, device and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109584652A (en) * | 2018-12-29 | 2019-04-05 | 武汉易测云网络科技有限公司 | A kind of building practitioner on-line study system |
CN110401870A (en) * | 2019-07-30 | 2019-11-01 | 努比亚技术有限公司 | Method of adjustment, terminal and the computer readable storage medium of record screen frame per second |
CN111866577A (en) * | 2020-07-20 | 2020-10-30 | 上海连尚网络科技有限公司 | Screen recording method, electronic device and computer readable storage medium |
CN113946256A (en) * | 2021-10-28 | 2022-01-18 | 北京海泰方圆科技股份有限公司 | Page operation recording method, device, medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762640A (en) | A kind of display methods and terminal of barrage information | |
CN107817939A (en) | A kind of image processing method and mobile terminal | |
CN108519847A (en) | A kind of record screen method and terminal | |
CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
CN109788136A (en) | Information display method and mobile terminal | |
CN108418950B (en) | Message prompt method and mobile terminal | |
CN108600668A (en) | A kind of record screen frame per second method of adjustment and mobile terminal | |
CN108391123A (en) | A kind of method and terminal generating video | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN107734170A (en) | A kind of notification message processing method, mobile terminal and wearable device | |
CN108124059A (en) | A kind of way of recording and mobile terminal | |
CN109407948A (en) | A kind of interface display method and mobile terminal | |
CN107707760A (en) | A kind of sending out notice processing method and mobile terminal | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN109819171A (en) | A kind of video capture method and terminal device | |
CN108536349A (en) | A kind of icon management method and mobile terminal | |
CN110069122A (en) | A kind of screen control method, terminal and computer readable storage medium | |
CN108509141A (en) | A kind of generation method and mobile terminal of control | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program | |
CN108650392A (en) | A kind of call recording method and mobile terminal | |
CN108259739A (en) | A kind of method, device and mobile terminal of image taking | |
CN107864378A (en) | A kind of frame rate detection method, device, mobile terminal and server | |
CN111314639A (en) | Video recording method and electronic equipment | |
CN108536272B (en) | Method for adjusting frame rate of application program and mobile terminal | |
CN109960557A (en) | A kind of display methods and terminal device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180911 |