CN108920226A - screen recording method and device - Google Patents
screen recording method and device Download PDFInfo
- Publication number
- CN108920226A CN108920226A CN201810418413.XA CN201810418413A CN108920226A CN 108920226 A CN108920226 A CN 108920226A CN 201810418413 A CN201810418413 A CN 201810418413A CN 108920226 A CN108920226 A CN 108920226A
- Authority
- CN
- China
- Prior art keywords
- screen
- area
- region
- touch
- roi region
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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
Abstract
The invention discloses a kind of screen recording method and device, this method includes:During recording screen, treat the specified event recorded on screen and be monitored, the specified event include show the page jump at least one of event, the touch event of control and the change events for showing object;It is determined according to the specified event monitored wait record the ROI region on screen;The ROI region recorded on screen is treated to be recorded.In the present invention, can shield in file to avoid the record of generation includes more garbage, reduces the size of recorded file, to reduce the waste of memory space on mobile terminal;It also avoids and the content recordal wait record other regions on screen is entered, the privacy information of other regions are shown on screen user can be caused to be leaked to avoid when sharing and recording screen file, to improve user experience.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of screen recording methods and device.
Background technique
Screen recording, also referred to as record screen, refer to content shown by the mobile terminals such as mobile phone, tablet computer and show
Show that the variation of content is recorded, obtains the record screen file of visual form.
In the prior art, when carrying out screen recording, usually the entire screen of mobile terminal is recorded, certain
In the case of, user may not need to record entire screen.If recorded using method in the prior art to entire screen
System, it includes more garbage in file that the record of generation, which is shielded, and record screen file is larger, causes to occupy whole more memory space,
Cause the waste of memory space;In addition, may be displayed on hidden at screen other positions when being recorded to entire screen
Personal letter breath is recorded, and will lead to the leakage of user privacy information when sharing and recording screen file in this way, so that user experience is poor.
It to sum up analyzes, screen recording method in the prior art, includes more garbage in obtained record screen file,
More memory space is occupied, the waste of memory space is be easy to cause;Also, it can also result in letting out for user privacy information
Dew, so that user experience is poor.
Summary of the invention
The embodiment of the present invention provides a kind of screen recording method and device, to solve in the prior art, the record screen text of generation
Include more garbage in part, be easy to cause the waste of memory space, and entire screen is recorded and may be led
It applies family leakage of private information, so that the problem that user experience is poor.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, providing a kind of screen recording method, this method includes:
During recording screen, treats the specified event recorded on screen and be monitored, the specified event includes
The display page jumps at least one of event, the touch event of control and the change events for showing object;
It is determined according to the specified event monitored described wait record the ROI region on screen;
The ROI region wait record on screen is recorded.
Second aspect provides a kind of screen recording device, which includes:
Monitoring modular is monitored for during recording screen, treating the specified event on recording screen, described
Specified event includes at least one shown in the change events for jumping event, the touch event of control and display object of the page
Kind;
Determining module, it is described wait record the ROI region on screen for being determined according to the specified event monitored;
Module is recorded, for recording to the ROI region wait record on screen.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of screen recording method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium
Calculation machine program, when the computer program is executed by processor realize as described in relation to the first aspect screen recording method the step of.
In embodiments of the present invention, it is carried out by during recording screen, treating the specified event recorded on screen
Monitoring, and determined according to the specified event monitored wait record the ROI region on screen, and treat and record the area screen Shang ROI
Recorded in domain, wherein above-mentioned specified event include control touch event, display the page jump event and display object
At least one of change events;It can be realized and wait recording screen according to wait record the specified event automatic identification generated on screen
ROI region on curtain, and ROI region is recorded, can shield in this way to avoid the record of generation includes more nothing in file
With information, reduce the size of recorded file, to reduce the waste of memory space on mobile terminal;In addition, in the present invention
In embodiment, by being recorded to ROI region, it is thus also avoided that the content recordal wait record other regions on screen is entered,
The privacy information of other regions are shown on screen user can be caused to be leaked to avoid when sharing and recording screen file, to improve
User experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the first method flow chart for the screen recording method that one embodiment of the present of invention provides;
Fig. 2 (a) is in the screen recording method that provides of one embodiment of the present of invention, and user is using singly referring to that touch-control waits recording
A kind of schematic diagram of control on screen;
Fig. 2 (b) is in the screen recording method that one embodiment of the present of invention provides, by the external of the control of user's touch-control
A kind of schematic diagram of rectangle;
Fig. 2 (c) is in the screen recording method that one embodiment of the present of invention provides, and one kind of determining ROI region is shown
It is intended to;
Fig. 3 (a) is in the screen recording method that provides of one embodiment of the present of invention, and user is using singly referring to that touch-control waits recording
Another schematic diagram of control on screen;
Fig. 3 (b) is in the screen recording method that one embodiment of the present of invention provides, by the external of the control of user's touch-control
Another schematic diagram of rectangle;
Fig. 3 (c) is the signal of determining first area in the screen recording method that one embodiment of the present of invention provides
Figure;
Fig. 3 (d) is the another kind of determining ROI region in the screen recording method that one embodiment of the present of invention provides
Schematic diagram;
Fig. 4 (a) is in the screen recording method that one embodiment of the present of invention provides, and user executes touch-control using two fingers and grasps
The schematic diagram of work;
Fig. 4 (b) is the position of touch for the two fingers determined in the screen recording method that one embodiment of the present of invention provides
Schematic diagram;
Fig. 4 (c) is to be determined in the screen recording method that one embodiment of the present of invention provides according to the position of touch of two fingers
The schematic diagram of touch area out;
Fig. 5 (a) is to be determined in the screen recording method that one embodiment of the present of invention provides according to the sliding trace of user
A kind of schematic diagram of ROI region out;
Fig. 5 (b) is to be determined in the screen recording method that one embodiment of the present of invention provides according to the sliding trace of user
Another schematic diagram of ROI region out;
Fig. 6 (a) is in the screen recording method that one embodiment of the present of invention provides, and the page in file is shielded in obtained record
A kind of schematic diagram;
Fig. 6 (b) is in the screen recording method that one embodiment of the present of invention provides, and the page in file is shielded in obtained record
Another schematic diagram;
Fig. 7 is the second method flow chart for the screen recording method that one embodiment of the present of invention provides;
Fig. 8 is the module composition schematic diagram for the screen recording device that one embodiment of the present of invention provides;
Fig. 9 is the structural schematic diagram for the mobile terminal that one embodiment of the present of invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of screen recording method, this method can be applied to such as mobile phone, tablet computer
Mobile terminal records the screen of mobile terminal.It, can be according to wait record screen using method provided in an embodiment of the present invention
The specified event occurred on curtain automatically identifies the region area-of-interest (region of interest, ROI) for needing to record,
Then ROI region is recorded.This way it is possible to avoid by recording wait record other regions on screen, to reduce
The quantity of garbage in the record screen file generated, and then the size of record screen file is reduced, to reduce mobile terminal
The waste of upper memory space;In addition, in embodiments of the present invention, by being recorded to ROI region, it is thus also avoided that will be wait record
The content recordal in other regions is entered on screen, other regions on screen can be caused to show to avoid when sharing and recording screen file
The privacy information of user is leaked, to improve user experience.
Fig. 1 is the first method flow chart of screen recording method provided in an embodiment of the present invention, and method shown in FIG. 1 is extremely
Include the following steps less:
Step 102, it during recording screen, treats the specified event recorded on screen and is monitored, the specified thing
Part include show the page jump event, control touch event and show at least one of change events of object.
Wherein, the executing subject of method provided in an embodiment of the present invention is mobile terminal, specifically, shifting can be mounted in
Screen recording device in dynamic terminal.In general, can be by installing record screen application program progress screen on mobile terminals
It records.When carrying out record screen, user can open the record screen application program on mobile terminal, then apply journey by record screen
The recording of sequence progress screen.
Specifically, in embodiments of the present invention, the touching for jumping event, control recorded and show the page on screen can be treated
Control event and show object change events in any one, two kinds or three kinds be monitored.
Step 104, it is determined according to the specified event monitored wait record the ROI region on screen.
It is following to be directed to respectively different specified events, introduce the detailed process for determining ROI region.
In one embodiment of the invention, above-mentioned specified event can for wait record show the page on screen jump thing
Part;
Correspondingly, in that case, in above-mentioned steps 104, determining screen to be recorded according to the specified event monitored
On ROI region, specifically include:
If monitoring, the display page is jumped, and entirely screen to be recorded is determined as ROI region.
Wherein, the above-mentioned display page, which jumps, refers to being jumped wait record the page currently shown on screen by a page
Another page is gone to, in this case, then needs to record entirely screen to be recorded.
For example, being page A wait record the page currently shown on screen, if monitoring the page currently shown by the page
A jumps to page B, at this moment, then entirely screen to be recorded is determined as ROI region.
Specifically, in embodiments of the present invention, mobile terminal can get whether the display page is sent out from page manager
Life jumps.
In embodiments of the present invention, it monitors and shows whether the page jumps on screen wait record, and in display page hair
When life jumps, entirely screen to be recorded is determined as ROI region, in this way, will show on screen wait record when determining ROI region
Jumping for the page is taken into account, so that the accuracy of the ROI region identified is higher.
In another embodiment of the present invention, above-mentioned specified event can also be the touch-control wait record the control on screen
Event;
Correspondingly, in that case, in above-mentioned steps 104, determining screen to be recorded according to the specified event monitored
On ROI region, specifically comprise the following steps (1) and step (2);
The number for the touch point that step (1), basis monitor, determines the touch area of touch event;
The overlapping region of first area and screen to be recorded is determined as ROI by step (2);Wherein, above-mentioned first area
Area is the setting multiple of the area of touch area, and the shape of first area and the shape of touch area are identical, and first area
Central point be overlapped with the central point of touch area.
Wherein, above-mentioned control can be wait record the icon of each application program on screen, function in each application program
The icon of module, link, wait record picture and each virtual key on screen etc..
In embodiments of the present invention, it when user's touch-control is when recording the control on screen, can be using singly referring to touch-control,
Mostly finger touch-control can be used.When user uses the finger touch control of different number, touch point that mobile terminal monitors
Number is different, the number of the touch point that general mobile terminal monitors and user's touch-control using the number of finger it is equal.On
It states in step (1), according to the number of the touch point monitored, determines that the detailed process of touch area is different, specifically include:
If the number of above-mentioned touch point is one, the boundary rectangle of above-mentioned control is determined as touch area;If above-mentioned
The number of touch point be it is multiple, then the rectangular area comprising each touch point is determined as above-mentioned touch area.
For ease of understanding, it is following by introduce respectively touch point number be one and it is multiple when touch area specific determination
Process.
If the number of above-mentioned touch point is one, it is determined that the touch point is wait record the position on screen, according to this
The control of user institute touch-control is determined in position, and the boundary rectangle of the control is determined as touch area.Wherein, herein external
Rectangle can be the minimum circumscribed rectangle of control.
In embodiments of the present invention, the boundary rectangle of control is determined as touch area, due to the shape of screen to be recorded
Also it is rectangle, that is, chooses touch area identical with screen shape to be recorded, it can be in order to the determination of subsequent ROI region.
If the number of above-mentioned touch point is multiple, it is determined that go out each touch point wait record the position on screen, so
The rectangular area comprising above-mentioned each position is determined as touch area afterwards.
In embodiments of the present invention, when the number of touch point is multiple, it can be user using mostly finger and treat recording screen
On the zoom operations etc. that execute of the controls such as picture;Certain controls on screen execute one is recorded alternatively, can also be and treat
A little other operations, details are not described herein again.
If specifically, the quantity of above-mentioned touch point be two, then can be using the position of two touch points as rectangle
Two diagonal, and the rectangular area determined with this is determined as touch area.
In embodiments of the present invention, the touch area of above-mentioned determination can be rectangle, or it is oval, trapezoidal etc. other
Shape, the embodiment of the present invention are only illustrated by taking rectangle as an example, and the shape of the above-mentioned touch area determined is not limited to
This.
After (1) determines touch area through the above steps, ROI region is determined according to step (2).In step (2),
The value of above-mentioned setting multiple can be any numbers such as 2,1.5,2.5,3,4, and the embodiment of the present invention is not to above-mentioned setting times
Several specific values are defined, and user can choose the specific value of above-mentioned setting multiple according to practical application scene.
In addition, in above-mentioned steps (2), if first area is in the horizontal and vertical directions without departing from wait record
The boundary of screen, then be determined as ROI region for first area;If first area exceeds in the horizontal direction or on vertical direction
The boundary of screen to be recorded then will be more than that truncation is done in the part on boundary of screen to be recorded, i.e., only by first area not
The region on the boundary beyond screen to be recorded is determined as ROI region.
For ease of understanding, following to be illustrated citing, how through the above steps (1) and step (2) are determined wait record
ROI region on screen.Certainly, each citing in following is exemplary illustration, concrete application program that the inside is related to,
The contents such as numerical value do not constitute the restriction to the embodiment of the present invention.
For example, icon of the user by " setting application program " on index finger touch-control screen to be recorded, as shown in Fig. 2 (a);
At this moment mobile terminal monitors a touch point, and determines that " setting is answered in the position wait record on screen according to the touch point
With program " icon by touch-control, at this moment the minimum circumscribed rectangle of " setting application program " icon is determined as user by mobile terminal
Touch area, shown in such as Fig. 2 (b) of the touch area determined;Above-mentioned touch area is amplified in length and height,
Specifically, the amplification factor of length and height may be the same or different, can be respectively set according to actual needs length and
Amplification factor in height, obtains first area after touch area is amplified, and first area is still rectangle, and first area
It is overlapped with the central point of touch area, in that case, since first area is super in the horizontal and vertical directions
Therefore first area is determined as the ROI region of screen to be recorded by the boundary of screen to be recorded out, as shown in Fig. 2 (c).
Certainly, in above process, the icon that user passes through " setting application program " on index finger touch-control screen to be recorded
When, touch area shown in Fig. 2 (b) can't wait record shown on screen and Fig. 2 (c) shown in ROI region not yet
It is bound to showing on screen wait record, it is above-mentioned only to facilitate understand schematic diagram drawn by the determination process of ROI region, and
Not representing will be wait record the Dynamically Announce above process on screen.
Further for example, icon of the user by " weather application " on index finger touch-control screen to be recorded, such as Fig. 3 (a) institute
Show;At this moment mobile terminal monitors a touch point, and determines " weather in the position wait record on screen according to the touch point
The icon of application program " is by touch-control, and at this moment the minimum circumscribed rectangle of " weather application " icon is determined as using by mobile terminal
The touch area at family, shown in such as Fig. 3 (b) of the touch area determined;Above-mentioned touch area is put in length and height
Greatly, specifically, the amplification factor of length and height may be the same or different, length can be respectively set according to actual needs
Amplification factor on degree and height, obtains first area, and first area is still rectangle, first area after touch area is amplified
It is overlapped with the central point of touch area, shown in such as Fig. 3 (c) of the first area obtained after amplification;Due to amplification after obtain first
Region has exceeded the boundary of screen to be recorded in the horizontal direction, and therefore, the region on the boundary more than screen to be recorded is done
Truncation, only retain first area on be less than screen to be recorded boundary part, that is, include first area with wait record
The region that the boundary of screen to be recorded is less than on first area is determined as the ROI of screen to be recorded by the region of screen coincident
Region, shown in the ROI region determined such as Fig. 3 (d).
Certainly, in above process, the icon that user passes through " weather application " on index finger touch-control screen to be recorded
When, first area shown in touch area and Fig. 3 (c) shown in Fig. 3 (b) can't shown on screen wait record, Fig. 3
(d) ROI region shown in also can not necessarily shown on screen wait record, above-mentioned only to facilitate understanding ROI region really
Determine schematic diagram drawn by process, not representing will be wait record the Dynamically Announce above process on screen.
Further for example, two fingers, which when checking the picture that friend shares, can be used, in user executes zoom operations etc. to picture, such as
Shown in Fig. 4 (a), user executes zoom operations to the picture that user shares with index finger using thumb, and mobile terminal monitors two
Touch point, and the two touch points are determined wait record the position on screen, two determined position such as Fig. 4 (b) is shown,
Then, diagonal using above-mentioned two position as two of rectangular area, such as the upper left corner and the lower right corner, touch area is obtained, really
Shown in such as Fig. 4 (c) of the touch area made;Later, according to touch area determine ROI region process can refer to it is above-mentioned two
Example, details are not described herein again.
Certainly, in above process, touch area shown in the touch location and Fig. 4 (c) of the finger in Fig. 4 (b) is simultaneously
It will not shown on screen wait record, it is above-mentioned only to facilitate understand schematic diagram drawn by the determination process of touch area, and
Not representing will be wait record the Dynamically Announce above process on screen.
In addition, in embodiments of the present invention, above-mentioned touch control operation can be the slide of control;
Correspondingly, in that case, in above-mentioned steps 104, determining screen to be recorded according to the specified event monitored
On process and the specified event of ROI region be that the determination process of touch event of control is identical, details are not described herein again.
But in that case, the central point of above-mentioned touch area changes with the sliding of control.
I.e. as control is wait record the sliding on screen, the position of control is constantly changing, the touching determined
Control region also with control sliding and constantly changing, so the central point of touch area and first area also with
The sliding of control and change.
In one embodiment of the invention, above-mentioned specified event can also be the change wait record the display object on screen
Change event;
Correspondingly, in that case, in above-mentioned steps 104, determining screen to be recorded according to the specified event monitored
On ROI region, specifically include:
Determine region corresponding to changed display object;The overlapping region of second area and screen to be recorded is true
It is set to ROI region;Wherein, the area of above-mentioned second area is the setting multiple for showing the area in region corresponding to object, the
The shape in two regions is identical as the shape in region corresponding to display object, and the central point of second area and display object institute are right
The central point in the region answered is overlapped.
Wherein, above-mentioned display object can be shown in wait record the control on screen, picture, word content etc..
In embodiments of the present invention, the boundary rectangle of above-mentioned display object can be determined as showing area corresponding to object
Domain.
Specifically, determining after determining region corresponding to display object wait record the specific of the ROI region on screen
Process is that the determination process of touch event of control is identical with above-mentioned specified event, and detailed process can refer to above-described embodiment,
Details are not described herein again.
In embodiments of the present invention, it can be automatically identified according to generation in the specified event wait record on screen and need to record
The ROI region of system realizes the automatic identification of ROI region, easy to operate, also, can also be according to generation in screen to be recorded
On specified event dynamic update wait record the ROI region on screen so that the ROI region determined and user currently want record
The region of system is more in line with.
In addition to this, in embodiments of the present invention, user can be with customized above-mentioned ROI region, at this moment, and user can be
Slide is executed on screen wait record, according to the finger of user wait record the sliding trace on screen, by the sliding of user
Track area encompassed determines ROI region.
For example, user is circle in the sliding trace wait record the slide executed on screen, then by the sliding trace
The border circular areas surrounded is determined as ROI region, as shown in Fig. 5 (a);If user is wait record the sliding executed on screen behaviour
The sliding trace of work is rectangle, then the rectangular area that the sliding trace is surrounded is determined as ROI region, as shown in Fig. 5 (b).
Certainly, user can't show user's when executing slide on screen wait record on to recording interface
Sliding trace, above-mentioned Fig. 5 (a) and Fig. 5 (b) are only to facilitate user understands that listed schematic diagram, being not offered as will be wait record
Above-mentioned sliding trace is shown on screen processed.
Correspondingly, in embodiments of the present invention, when above-mentioned specified event is wait record the variation thing for showing object on screen
Part, and show object when being located in user's self defined area, in above-mentioned steps 104, according to the specified event determination monitored to
The region of interest ROI region on screen is recorded, including:
Determine region corresponding to changed display object;Third region and above-mentioned self defined area are overlapped area
Domain is determined as ROI region;Wherein, the area in above-mentioned third region is the setting times for showing the area in region corresponding to object
The shape of number, third region is identical as the shape in region corresponding to display object, and the central point in third region and display object
The central point in region is overlapped.
In embodiments of the present invention, the obtained sliding rail of slide can executed wait record by user on screen
Mark determines user's self defined area, and during recording to the self defined area, then monitors customized at this
Whether the display object in region changes, if monitoring that the display object in the ROI region currently recorded changes
When, it is determined that region corresponding to changed display object.
Wherein, region corresponding to above-mentioned display object can be the boundary rectangle of display object, for example, minimum external square
Shape.
In embodiments of the present invention, the above-mentioned overlapping region by third region and self defined area is determined as ROI region, packet
It includes:
If third region is included in inside self defined area, then third region is determined as the ROI for finally needing to record
Region;If self defined area is included in inside third region, then will self defined area be determined as needing the area ROI that records
Domain;If third region and self defined area have the region that partially overlaps, then the region of coincidence can be determined as finally needing
The region of recording.
In embodiments of the present invention, by the way that self defined area is arranged, the change of display object in self defined area is then monitored
Change, the display object in region that can only record according to actual needs to needs is changed, and is determined in self defined area
The region for needing to record, reduces the region of monitoring, and then reduces the workload of mobile terminal.
In addition, in embodiments of the present invention, in addition to the overlapping region in third region and self defined area is determined as the area ROI
Overseas, occurring the case where certain contents are not recorded into order to prevent can also be true by the union in third region and self defined area
It is set to ROI region, i.e., the region comprising third region and self defined area is determined as ROI region, certainly, in this kind of situation
Under, the region comprising third region and self defined area cannot exceed the boundary of screen to be recorded.
Above-mentioned only describe needs to record in the self defined area of user according to the determination of changed display object
ROI region the case where;In addition to this it is possible to need to record according to the determination of the touch event of control in the self-defined area of user
The ROI region of system.Detailed process can refer to be needed to record in the self defined area of user according to the variation determination of display object
ROI region detailed process, details are not described herein again.
In addition, in embodiments of the present invention, if defining what current needs were recorded according to the self defined area of user
ROI region, and during recording the ROI region occurs showing the case where jumping of the page, at this moment, then will entirely to
It records screen and is determined as ROI region.
Step 106, the ROI recorded on screen is treated to be recorded.
In embodiments of the present invention, it determines then to treat after recording the ROI region on screen according to above-mentioned specified event
The ROI region recorded on screen is recorded.
After the completion for the treatment of the ROI region recording recorded on screen, using video encoder, such as advanced video coding
(Advanced Video Coding, AVC) encodes the video file of the ROI region of recording, obtains the record of ROI region
Shield file.
In addition, during determining wait record the ROI region on screen, and record ROI region, for the ease of user
Know that currently record is wait record which partial region on screen, method provided in an embodiment of the present invention further includes:
Above-mentioned ROI region is being highlighted on screen wait record.
Specifically, can be wait record the frame for showing above-mentioned ROI region on screen, specifically, the frame can use
Solid line can also use dotted line, alternatively, can also set red for the frame of ROI in order to enable above-mentioned ROI region is more eye-catching
The more eye-catching color such as color.
In embodiments of the present invention, it learns wait record the ROI region for highlighting and determining on screen, family can be used understanding
The region currently recorded, if also, actually wanting to the area recorded with user according to the ROI region of specified event recognition out
Domain can be adjusted in time there are when difference in order to user.
It, can be with for wait record the non-ROI region on screen in addition to ROI region specifically, in embodiments of the present invention
It does not record, i.e., only records wait record the ROI region on screen, record in obtained record screen file only include ROI region in this way;Or
Person, during recording, non-ROI region can also be recorded in, but need the area Fei ROI in video is obtained to recording
Domain is handled.
Therefore, method provided in an embodiment of the present invention further includes following steps:
It records wait record the non-ROI region on screen;
The non-ROI region of recording is handled, so that the pixel value of all pixels point of non-ROI region is identical.
Specifically, the pixel of non-ROI region can be set to white pixel point or black pixel point, in this way,
To record screen file in record is entire screen to be recorded, still, wait record pixel all in the non-ROI region on screen
The pixel value of point is identical.For example, being black pixel point or white wait record pixel all in the non-ROI region on screen
Pixel, Fig. 6 (a) and Fig. 6 (b) are shown for non-ROI region is recorded in this case, and boundary in file is shielded in finally obtained record
Face schematic diagram, certainly, Fig. 6 (a) and Fig. 6 (b) only for setting black or white for the pixel of non-ROI region into
Row explanation, the pixel value of the pixel of non-ROI region is not limited thereto, as long as the pixel of all pixels point of non-ROI region
It is worth all the same.
In embodiments of the present invention, the button for recording non-ROI region can be set, when the user clicks when the button,
Then non-ROI region is recorded, and aforesaid operations are executed to the non-ROI region after recording, if user does not click the button,
Non- ROI region is not recorded then.
In embodiments of the present invention, when carrying out screen recording, it can choose and record non-ROI region, by record
The pixel value of the pixel of non-ROI region after system is handled, and also can remove garbage in record screen file in this way, thus
The size for reducing record screen file avoids occupying memory space more on mobile terminal, so as to cause mobile terminal memory space
The case where waste, occurs;In addition, due to being handled non-ROI region, even if carry out record screen sharing files, other users
Also it can not see the content of the original reality of non-ROI region, therefore, when carrying out record screen sharing files, user will not be caused hidden
The leakage of personal letter breath.
It is following that screen recording method provided in an embodiment of the present invention will be introduced by specific embodiment.
Second method flow chart of the Fig. 7 for screen recording method provided in an embodiment of the present invention, method shown in Fig. 7,
Including at least following steps:
Step 202, it during screen recording, treats the specified event recorded on screen and is monitored;
Step 204, if monitoring judge whether the quantity of touch point is one wait record the control on screen by touch-control
It is a;If so, thening follow the steps 206, otherwise, step 208 is executed;
Step 206, the touch area of user will be determined as by the minimum circumscribed rectangle of touch-control control;
Step 208, the rectangular area comprising each touch point is determined to the touch area of user;
Step 210, first area is determined according to above-mentioned touch area;
Wherein, first area is to amplify the area obtained after setting multiple in the horizontal and vertical directions to touch area
Domain, and first area is overlapped with the central point of touch area.
Step 212, which is determined as ROI region by the overlapping region for determining first area Yu screen to be recorded;
Wherein, if first area in the horizontal direction on vertical direction without departing from the boundary of screen to be recorded, then
First area is determined as ROI region, if first area has exceeded screen to be recorded in the horizontal direction or on vertical direction
Boundary, then the region that the boundary of screen to be recorded is less than on first area is determined as ROI region.
Step 214, it records wait record the ROI region on screen.
Screen recording method provided in an embodiment of the present invention is monitored by treating the specified event on recording screen,
And it is determined according to the specified event monitored wait record the ROI region on screen, and treat the ROI region recorded on screen and carry out
It records, wherein above-mentioned specified event includes the variation for jumping event and showing object of the touch event of control, the display page
At least one of event;It can be realized according to wait record on the specified event automatic identification screen to be recorded generated on screen
ROI region, and ROI region is recorded, can shield in this way to avoid the record of generation includes more garbage in file,
Reduce the size of recorded file, to reduce the waste of memory space on mobile terminal;In addition, in the embodiment of the present invention
In, by being recorded to ROI region, it is thus also avoided that the content recordal wait record other regions on screen is entered, can be kept away
Exempt to cause the privacy information of other regions are shown on screen user to be leaked when sharing and recording screen file, to improve user
Experience.
The embodiment of the invention also provides a kind of screen recording devices, for executing screen recording provided by the above embodiment
Method, the device can be applied to mobile terminal, and Fig. 8 is that the module composition of screen recording device provided in an embodiment of the present invention shows
It is intended to, device shown in Fig. 8, including:
Monitoring modular 301 is monitored for during recording screen, treating the specified event on recording screen,
Wherein, which includes showing in the change events for jumping event, the touch event of control and display object of the page
At least one;
Determining module 302, it is above-mentioned wait record the ROI region on screen for being determined according to the specified event monitored;
First records module 303, for recording to the above-mentioned ROI region wait record on screen.
Optionally, above-mentioned specified event be it is above-mentioned wait record show the page on screen jump event;
Above-mentioned determining module 302, including:
First ROI region determination unit, if for monitoring that the above-mentioned display page jumps, it will be entire above-mentioned wait record
Screen processed is determined as above-mentioned ROI region.
Optionally, above-mentioned specified event is the above-mentioned touch event wait record the control on screen;
Above-mentioned determining module 302, including:
First area determination unit determines the touch-control of above-mentioned touch event for the number according to the touch point monitored
Region;
Second ROI region determination unit, for the overlapping region of first area and above-mentioned screen to be recorded to be determined as
State ROI region;Wherein, the area of above-mentioned first area is the setting multiple of the area of above-mentioned touch area, above-mentioned first area
Shape it is identical as the shape of above-mentioned touch area, and the central point weight of the central point of above-mentioned first area and above-mentioned touch area
It closes.
Optionally, above-mentioned first area determination unit, including:
First determines subelement, if the number for above-mentioned touch point is one, the boundary rectangle of above-mentioned control is true
It is set to above-mentioned touch area;
Second determine subelement, if for above-mentioned touch point number be it is multiple, by the rectangle comprising multiple touch points
Region is determined as above-mentioned touch area.
Optionally, above-mentioned touch control operation is the slide of above-mentioned control;
The central point of above-mentioned touch area changes with the sliding of above-mentioned control.
Optionally, above-mentioned specified event is above-mentioned wait record the change events for showing object on screen;
Above-mentioned determining module 302, including:
Second area determination unit, for determining region corresponding to changed display object;
Third ROI region determination unit, for the overlapping region of second area and above-mentioned screen to be recorded to be determined as
State ROI region;Wherein, the area of above-mentioned second area is the setting multiple of the area in region corresponding to above-mentioned display object,
The shape of above-mentioned second area is identical as the shape in region corresponding to above-mentioned display object, and the central point of above-mentioned second area
It is overlapped with the central point in region corresponding to above-mentioned display object.
Optionally, above-mentioned specified event be user above-mentioned wait record the change events for show object on screen, and this shows
Show that object is located at in self defined area;
Above-mentioned determining module 302, including:
Third area determination unit, for determining region corresponding to changed display object;
4th ROI region determination unit, for the overlapping region of third region and above-mentioned screen to be recorded to be determined as
State ROI region;Wherein, the area in above-mentioned third region is the setting multiple of the area in region corresponding to above-mentioned display object,
The shape in above-mentioned third region is identical as the shape in region corresponding to above-mentioned display object, and the central point in above-mentioned third region
It is overlapped with the central point in region corresponding to above-mentioned display object.
Optionally, above-mentioned apparatus further includes:
Module is highlighted, for highlighting above-mentioned ROI region on screen wait record above-mentioned.
Optionally, above-mentioned apparatus further includes:
Second records module, above-mentioned wait record the non-ROI region on screen for recording;
Processing module, for handling the above-mentioned non-ROI region of recording, so that all pictures of above-mentioned non-ROI region
The pixel value of vegetarian refreshments is identical.
Screen recording device provided in an embodiment of the present invention can be realized screen recording in the embodiment of the method for Fig. 1 to Fig. 7
Each process that device is realized, to avoid repeating, which is not described herein again.
Screen recording device provided in an embodiment of the present invention is recorded on screen by treating during recording screen
Specified event be monitored, and determined according to the specified event that monitors wait record the ROI region on screen, and treat recording
ROI region on screen is recorded, wherein above-mentioned specified event includes that the touch event of control, the display page jump thing
Part and at least one of the change events for showing object;It can be realized according to wait record the specified event generated on screen certainly
Dynamic identify is recorded wait record the ROI region on screen, and to ROI region, in this way can be to avoid the record screen file of generation
In include more garbage, reduce the size of recorded file, to reduce the waste of memory space on mobile terminal;
In addition, in embodiments of the present invention, by being recorded to ROI region, it is thus also avoided that will be wait record other regions on screen
Content recordal is entered, can be to avoid the privacy information quilt for leading to other regions are shown on screen user when sharing and recording screen file
Leakage, to improve user experience.
A kind of hardware structural diagram of Fig. 9 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 400 includes but is not limited to:It is radio frequency unit 401, network module 402, audio output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 9 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
In embodiments of the present invention, it is stored with computer program in memory 409, the computer program is by processor 410
When execution, realization following steps can be given:
It during recording screen, treats the specified event recorded on screen and is monitored, which includes aobvious
That shows the page jumps at least one of event, the touch event of control and the change events for showing object;
It is determined according to the specified event monitored described wait record the region of interest ROI region on screen;
The ROI region wait record on screen is recorded.
Optionally, when which is executed by processor 410, the specified event is described aobvious on screen wait record
That shows the page jumps event;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
If monitoring, the display page is jumped, and the entire screen to be recorded is determined as the ROI region.
Optionally, when which is executed by processor 410, the specified event is described wait record on screen
The touch event of control;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
According to the number of the touch point monitored, the touch area of the touch event is determined;
The overlapping region of first area and the screen to be recorded is determined as the ROI region;Wherein, firstth area
The area in domain is the setting multiple of the area of the touch area, the shape of the shape of the first area and the touch area
It is identical, and the central point of the first area is overlapped with the central point of the touch area.
Optionally, when which is executed by processor 410, according to the number of the touch point monitored, institute is determined
The touch area of touch event is stated, including:
If the number of above-mentioned touch point is one, the boundary rectangle of the control is determined as the touch area;
If the number of above-mentioned touch point be it is multiple, the rectangular area comprising multiple touch points is determined as to determine the touching
Control region.
Optionally, when which is executed by processor 410, the touch control operation is that the sliding of the control is grasped
Make;
The central point of the touch area changes with the sliding of the control.
Optionally, when which is executed by processor 410, the specified event is described wait record on screen
Show the change events of object;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
Determine region corresponding to changed display object;
The overlapping region of second area and the screen to be recorded is determined as the ROI region;Wherein, secondth area
The area in domain is the setting multiple of the area in region corresponding to the display object, and the shape of the second area is shown with described
Show that the shape in region corresponding to object is identical, and region corresponding to the central point of the second area and the display object
Central point be overlapped.
Optionally, when which is executed by processor 410, above-mentioned specified event is wait record display pair on screen
The variation of elephant, and the display object is located in user's self defined area;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
Determine region corresponding to changed display object;
The overlapping region in third region and self defined area is determined as ROI region;Wherein, the area in above-mentioned third region
For the setting multiple of the area in region corresponding to display object, the shape in third region and the shape for showing region corresponding to object
Shape is identical, and the central point in third region is overlapped with the centerline in region corresponding to display object.
Optionally, when which is executed by processor 410, the method also includes:
The ROI region is highlighted on screen wait record described.
Optionally, when which is executed by processor 410, the method also includes:
It records described wait record the non-ROI region on screen;
The non-ROI region of recording is handled, so that the pixel value phase of all pixels point of the non-ROI region
Together.
Mobile terminal provided in an embodiment of the present invention, by during recording screen, treating the finger recorded on screen
Determine event to be monitored, and is determined according to the specified event monitored wait record the ROI region on screen, and treat recording screen
On ROI region recorded, wherein above-mentioned specified event include control touch event, display the page jump event with
And at least one of the change events of display object;It can be realized basis to know automatically wait record the specified event generated on screen
Not wait record the ROI region on screen, and ROI region is recorded, it in this way can be to avoid being wrapped in the record screen file of generation
Containing more garbage, reduce the size of recorded file, to reduce the waste of memory space on mobile terminal;Separately
Outside, in embodiments of the present invention, by being recorded to ROI region, it is thus also avoided that will be wait record on screen in other regions
Hold and record, the privacy information of other regions are shown on screen user can be caused to be let out to avoid when sharing and recording screen file
Dew, to improve user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 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 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 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 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, 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 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 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 mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 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 4061.
User input unit 407 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 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, 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 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 9, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 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 409 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 410 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 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 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 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned screen recording method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
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 screen recording method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do
There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a 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 to 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 protection of the invention.
Claims (10)
1. a kind of screen recording method, which is characterized in that the method includes:
It during recording screen, treats the specified event recorded on screen and is monitored, the specified event includes display
The page jumps at least one of event, the touch event of control and the change events for showing object;
It is determined according to the specified event monitored described wait record the ROI region on screen;
The ROI region wait record on screen is recorded.
2. the method as described in claim 1, which is characterized in that the specified event shows the page wait record to be described on screen
Jump event;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
If monitoring, the display page is jumped, and the entire screen to be recorded is determined as the ROI region.
3. the method as described in claim 1, which is characterized in that the specified event is described wait record the control on screen
Touch event;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
According to the number of the touch point monitored, the touch area of the touch event is determined;
The overlapping region of first area and the screen to be recorded is determined as the ROI region;Wherein, the first area
Area is the setting multiple of the area of the touch area, the shape phase of the shape of the first area and the touch area
Together, and the central point of the first area is overlapped with the central point of the touch area.
4. the method as described in claim 1, which is characterized in that the specified event shows object wait record to be described on screen
Change events;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
Determine region corresponding to changed display object;
The overlapping region of second area and the screen to be recorded is determined as the ROI region;Wherein, the second area
Area is the setting multiple of the area in region corresponding to the display object, the shape of the second area and the display pair
As the shape in corresponding region is identical, and in region corresponding to the central point of the second area and the display object
Heart point is overlapped.
5. the method as described in claim 1, which is characterized in that the specified event shows object wait record to be described on screen
Change events, and the display object is located in user's self defined area;
The specified event that the basis monitors is determining described wait record the ROI region on screen, including:
Determine region corresponding to changed display object;
The overlapping region of third region and the self defined area is determined as the ROI region;Wherein, the third region
Area is the setting multiple of the area in region corresponding to the display object, the shape in the third region and the display pair
As the shape in corresponding region is identical, and the center in region corresponding to the central point in the third region and the display object
Point is overlapped.
6. a kind of screen recording device, which is characterized in that described device includes:
Monitoring modular is monitored for during recording screen, treating the specified event on recording screen, described specified
Event include show the page jump event, control touch event and show at least one of change events of object;
Determining module, it is described wait record the ROI region on screen for being determined according to the specified event monitored;
First records module, for recording to the ROI region wait record on screen.
7. device as claimed in claim 6, which is characterized in that the specified event shows the page wait record to be described on screen
Jump event;
The determining module, including:
First ROI region determination unit, if for monitoring that the display page jumps, it will be entire described wait record screen
Curtain is determined as the ROI region.
8. device as claimed in claim 6, which is characterized in that the specified event is described wait record the control on screen
Touch event;
The determining module, including:
First area determination unit determines the touch area of the touch event for the number according to the touch point monitored;
Second ROI region determination unit, for the overlapping region of first area and the screen to be recorded to be determined as the ROI
Region;Wherein, the area of the first area is the setting multiple of the area of the touch area, the shape of the first area
It is identical as the shape of the touch area, and the central point of the first area is overlapped with the central point of the touch area.
9. device as claimed in claim 6, which is characterized in that the specified event shows object wait record to be described on screen
Change events;
The determining module, including:
Second area determination unit, for determining region corresponding to changed display object;
Third ROI region determination unit, for the overlapping region of second area and the screen to be recorded to be determined as the ROI
Region;Wherein, the area of the second area is the setting multiple of the area in region corresponding to the display object, described the
The shape in two regions is identical as the shape in region corresponding to the display object, and the central point of the second area with it is described
Show that the central point in region corresponding to object is overlapped.
10. device as claimed in claim 6, which is characterized in that the specified event is described wait record display pair on screen
The change events of elephant, and the display object is located in user's self defined area;
The determining module, including:
Third area determination unit, for determining region corresponding to changed display object;
4th ROI region determination unit, for the overlapping region of third region and the self defined area to be determined as the ROI
Region;Wherein, the area in the third region is the setting multiple of the area in region corresponding to the display object, described the
The shape in three regions is identical as the shape in region corresponding to the display object, and the central point in the third region is shown with described
Show that the central point in region corresponding to object is overlapped.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810418413.XA CN108920226B (en) | 2018-05-04 | 2018-05-04 | Screen recording method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810418413.XA CN108920226B (en) | 2018-05-04 | 2018-05-04 | Screen recording method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108920226A true CN108920226A (en) | 2018-11-30 |
CN108920226B CN108920226B (en) | 2022-04-29 |
Family
ID=64403237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810418413.XA Active CN108920226B (en) | 2018-05-04 | 2018-05-04 | Screen recording method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108920226B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656827A (en) * | 2018-12-17 | 2019-04-19 | 北京云测信息技术有限公司 | A kind of control tree generation method and terminal device |
CN110417991A (en) * | 2019-06-18 | 2019-11-05 | 华为技术有限公司 | A kind of record screen method and electronic equipment |
CN111666024A (en) * | 2020-05-28 | 2020-09-15 | 维沃移动通信(杭州)有限公司 | Screen recording method and device and electronic equipment |
CN113014987A (en) * | 2021-02-22 | 2021-06-22 | Oppo广东移动通信有限公司 | Screen recording method and device, electronic equipment and storage medium |
CN113946256A (en) * | 2021-10-28 | 2022-01-18 | 北京海泰方圆科技股份有限公司 | Page operation recording method, device, medium and equipment |
CN115460450A (en) * | 2022-09-09 | 2022-12-09 | 北京有竹居网络技术有限公司 | Screen recording method, device, electronic equipment, storage medium and program product |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001127987A (en) * | 1999-10-29 | 2001-05-11 | Olympus Optical Co Ltd | Method and device for recording image and recording medium |
CN102333247A (en) * | 2011-07-29 | 2012-01-25 | 深圳市万兴软件有限公司 | Video recording device and method |
US20140101660A1 (en) * | 2011-05-19 | 2014-04-10 | International Business Machines Corporation | Recognition Techniques to Enhance Automation In a Computing Environment |
CN104836992A (en) * | 2015-05-08 | 2015-08-12 | 无锡天脉聚源传媒科技有限公司 | Surveillance video recording method and device |
US20150277571A1 (en) * | 2014-03-31 | 2015-10-01 | Kobo Incorporated | User interface to capture a partial screen display responsive to a user gesture |
CN104967803A (en) * | 2015-07-01 | 2015-10-07 | 广东欧珀移动通信有限公司 | Video recording method and video recording device |
CN105245809A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Video recording method and video recording device |
CN105843494A (en) * | 2015-01-15 | 2016-08-10 | 中兴通讯股份有限公司 | Method and device for realizing region screen capture, and terminal |
CN106406710A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Screen recording method and mobile terminal |
CN107465958A (en) * | 2017-09-07 | 2017-12-12 | 北京奇虎科技有限公司 | A kind of video sharing method, apparatus, electronic equipment and medium |
US20180091728A1 (en) * | 2016-09-23 | 2018-03-29 | Apple Inc. | Devices, Methods, and Graphical User Interfaces for Capturing and Recording Media in Multiple Modes |
-
2018
- 2018-05-04 CN CN201810418413.XA patent/CN108920226B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001127987A (en) * | 1999-10-29 | 2001-05-11 | Olympus Optical Co Ltd | Method and device for recording image and recording medium |
US20140101660A1 (en) * | 2011-05-19 | 2014-04-10 | International Business Machines Corporation | Recognition Techniques to Enhance Automation In a Computing Environment |
CN102333247A (en) * | 2011-07-29 | 2012-01-25 | 深圳市万兴软件有限公司 | Video recording device and method |
US20150277571A1 (en) * | 2014-03-31 | 2015-10-01 | Kobo Incorporated | User interface to capture a partial screen display responsive to a user gesture |
CN105843494A (en) * | 2015-01-15 | 2016-08-10 | 中兴通讯股份有限公司 | Method and device for realizing region screen capture, and terminal |
CN104836992A (en) * | 2015-05-08 | 2015-08-12 | 无锡天脉聚源传媒科技有限公司 | Surveillance video recording method and device |
CN104967803A (en) * | 2015-07-01 | 2015-10-07 | 广东欧珀移动通信有限公司 | Video recording method and video recording device |
CN105245809A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | Video recording method and video recording device |
US20180091728A1 (en) * | 2016-09-23 | 2018-03-29 | Apple Inc. | Devices, Methods, and Graphical User Interfaces for Capturing and Recording Media in Multiple Modes |
CN106406710A (en) * | 2016-09-30 | 2017-02-15 | 维沃移动通信有限公司 | Screen recording method and mobile terminal |
CN107465958A (en) * | 2017-09-07 | 2017-12-12 | 北京奇虎科技有限公司 | A kind of video sharing method, apparatus, electronic equipment and medium |
Non-Patent Citations (1)
Title |
---|
倪晓军等: "基于Mirror Driver的自适应屏幕录制算法", 《计算机工程》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656827A (en) * | 2018-12-17 | 2019-04-19 | 北京云测信息技术有限公司 | A kind of control tree generation method and terminal device |
CN109656827B (en) * | 2018-12-17 | 2021-10-19 | 北京云测信息技术有限公司 | Control tree generation method and terminal equipment |
CN110417991A (en) * | 2019-06-18 | 2019-11-05 | 华为技术有限公司 | A kind of record screen method and electronic equipment |
CN110417991B (en) * | 2019-06-18 | 2021-01-29 | 华为技术有限公司 | Screen recording method and electronic equipment |
CN111666024A (en) * | 2020-05-28 | 2020-09-15 | 维沃移动通信(杭州)有限公司 | Screen recording method and device and electronic equipment |
CN111666024B (en) * | 2020-05-28 | 2022-04-12 | 维沃移动通信(杭州)有限公司 | Screen recording method and device and electronic equipment |
CN113014987A (en) * | 2021-02-22 | 2021-06-22 | Oppo广东移动通信有限公司 | Screen recording method and device, electronic equipment and storage medium |
WO2022174684A1 (en) * | 2021-02-22 | 2022-08-25 | Oppo广东移动通信有限公司 | Screen recording method and apparatus, electronic device, and storage medium |
CN113946256A (en) * | 2021-10-28 | 2022-01-18 | 北京海泰方圆科技股份有限公司 | Page operation recording method, device, medium and equipment |
CN115460450A (en) * | 2022-09-09 | 2022-12-09 | 北京有竹居网络技术有限公司 | Screen recording method, device, electronic equipment, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN108920226B (en) | 2022-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378A (en) | A kind of display control method and mobile terminal | |
CN108920226A (en) | screen recording method and device | |
CN109460177A (en) | A kind of image processing method and terminal device | |
CN107613131A (en) | A kind of application program disturbance-free method and mobile terminal | |
CN107977132A (en) | A kind of method for information display and mobile terminal | |
CN109814968A (en) | A kind of data inputting method, terminal device and computer readable storage medium | |
CN109407921A (en) | A kind of processing method and terminal device of application program | |
CN109194818A (en) | A kind of information processing method and terminal | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN108519850A (en) | A kind of keyboard interface display methods and mobile terminal | |
CN109582475A (en) | A kind of sharing method and terminal | |
CN109491738A (en) | A kind of control method and terminal device of terminal device | |
CN110196667A (en) | A kind of processing method and terminal of notification message | |
CN110109593A (en) | A kind of screenshotss method and terminal device | |
CN109871164A (en) | A kind of message method and terminal device | |
CN107908523A (en) | Record screen method, apparatus and terminal device | |
CN107656793A (en) | A kind of Application Program Interface switching method and mobile terminal | |
CN108037966A (en) | A kind of interface display method, device and mobile terminal | |
CN109116965A (en) | A kind of electricity saving method and mobile terminal | |
CN110069180A (en) | A kind of function control method and terminal device | |
CN108334265A (en) | A kind of document handling method and mobile terminal | |
CN108391123A (en) | A kind of method and terminal generating video | |
CN110196668A (en) | Information processing method and terminal device | |
CN109656437A (en) | A kind of information display method and terminal device | |
CN109067949A (en) | A kind of electronic equipment and its control method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |