CN108073346A - A kind of record screen method, terminal and computer readable storage medium - Google Patents

A kind of record screen method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108073346A
CN108073346A CN201711239726.0A CN201711239726A CN108073346A CN 108073346 A CN108073346 A CN 108073346A CN 201711239726 A CN201711239726 A CN 201711239726A CN 108073346 A CN108073346 A CN 108073346A
Authority
CN
China
Prior art keywords
record screen
record
screen
terminal
default
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.)
Withdrawn
Application number
CN201711239726.0A
Other languages
Chinese (zh)
Inventor
张隆州
王海珠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201711239726.0A priority Critical patent/CN108073346A/en
Publication of CN108073346A publication Critical patent/CN108073346A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/4448Receiver circuitry for the reception of television signals according to analogue transmission standards for frame-grabbing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of record screen method, terminal and computer readable storage medium, wherein, record screen method includes:If receive it is default start record screen instruction, start record screen, and to record shield during desktop action event be detected;If detecting first object desktop action event, suspend record screen;After pause record screen, if detecting the second target desktop action event, continue record screen;If receiving the default record screen that terminates to instruct, terminate record screen.It realizes pause record screen function in this way, terminal can be based on desktop action event and continues to record screen function, enrich the record screen control mode of terminal.

Description

A kind of record screen method, terminal and computer readable storage medium
Technical field
The present invention relates to a kind of field of computer technology more particularly to record screen method, terminal and computer-readable storage mediums Matter.
Background technology
Record screen refers to carry out multi-medium data acquisition to terminal screen, and generates the process of video file.It is existing most Number intelligent terminal all has the function of record screen, and user can show terminal screen whithin a period of time by the record screen function of terminal The content shown is recorded.Existing record screen method uninterruptedly carries out the recording process of terminal screen, i.e., user is opening After opening record screen function, the record screen process of terminal be will not self-interrupting, only when user, which clicks on, terminates record screen button, record is shielded Process can just terminate.
However, since existing record screen method only supports user manually opened or terminates to record screen process manually, thus cause The record screen control mode of terminal is more single.
The content of the invention
The embodiment of the present invention provides a kind of record screen method, terminal and computer readable storage medium, can enrich terminal Record screen control mode.
In a first aspect, an embodiment of the present invention provides a kind of record screen method, this method includes:
If receive it is default start record screen instruction, start record screen, and to record shield during desktop action event into Row detection;
If detecting first object desktop action event, suspend record screen;
After pause record screen, if detecting the second target desktop action event, continue record screen;
If receiving the default record screen that terminates to instruct, terminate record screen.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes performing above-mentioned first aspect The unit of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is for storage branch The computer program that terminal performs the above method is held, the computer program includes program instruction, and the processor is configured to use In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program includes program instruction, and described program instructs when being executed by a processor The method that the processor is made to perform above-mentioned first aspect.
If the embodiment of the present invention by receive it is default start record screen instruction, start record screen, and to record shield during Desktop action event be detected;If detecting first object desktop action event, suspend record screen;After pause record screen, If detecting the second target desktop action event, continue record screen;If receiving the default record screen that terminates to instruct, terminate to record Screen.It realizes pause record screen function in this way, terminal can be based on desktop action event and continues to record screen function, enrich the record of terminal Shield control mode.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram for recording screen method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for record screen method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment 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 making creative work Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch quick Sense surface) it can support the various application programs with user interface directly perceived and transparent for a user.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram for recording screen method provided in an embodiment of the present invention.It is recorded in the present embodiment The executive agent of screen method is terminal.Terminal can be the mobile terminals such as mobile phone, tablet computer, and but it is not limited to this, can be with For other-end.Record screen method as shown in Figure 1 may comprise steps of:
S11:If receive it is default start record screen instruction, start record screen, and to record shield during desktop operate thing Part is detected.
When terminal works normally, instructed if receiving the default record screen that starts, start record screen.
Wherein, it is default to start record screen instruction and be used to indicate terminal and proceed by screen recording.Terminal receives default It can be that terminal detects that user triggers the record that starts in " control centre " corresponding interactive interface and shields option to start to record screen instruction; It can also be that terminal detects that user triggers the record that starts in setting interface and shields option, not be limited herein.Wherein, record screen is started Option can be an icon or a control button.The icon or the control button can be carried for starting record screen choosing The identification information that item is identified.Identification information includes but not limited to text information or graphical information etc..
Terminal starts record screen and refers to that terminal starts record screen service and to carry out screen recording to terminal screen.To terminal screen into Row screen recording refers to record the content that terminal screen is shown whithin a period of time, and generates the mistake of corresponding video file Journey.Specifically, terminal can capture a frame desktop picture, and the multiframe that will be grabbed in a period of time every prefixed time interval Desktop picture is spliced according to the sequencing of crawl time, and then obtains corresponding video file.Wherein, between preset time Every can be set according to actual demand, it is not limited herein.For example, default time interval can be 0.01 second.
In the present embodiment, terminal receive it is default start record screen instruction after, give tacit consent to corresponding to terminal screen entire Display interface carries out screen recording.
In other embodiments, terminal receives the default target for starting after recording screen instruction, can obtaining user's selection Record screen region, and screen region is only recorded to target and carries out screen recording.Wherein, target record screen region can be that terminal screen is corresponding Part display area in entire display interface or the corresponding display interface of terminal screen, is not limited herein.
After record screen is started, the desktop action event during also shielding to record is detected terminal.
Desktop action event refers to that user is connected outer by the touch-screen of terminal or the physical button of terminal or with terminal The arbitrary action event that portion's input equipment performs terminal.For example, desktop action event, which includes but not limited to user, passes through terminal Touch-screen terminal is performed clicking operation, slide, long-press operation etc..
After record screen is started, the desktop action event during can shielding in real time to record is detected terminal, is with detection It is no target desktop action event occur.
S12:If detecting first object desktop action event, suspend record screen.
Terminal is during record is shielded, if detecting first object desktop action event, suspends record screen.Terminal pause record screen Refer to that terminal temporarily ceases screen recording process.
In the present embodiment, terminal detects that first object desktop action event can be:Terminal detects that user triggers It is used to open the operation of default application.Detect that the operation that user's triggering is used to open default application can detect user's point Hit the icon of default application;Or can detect that user clicks on to be used for into link of default application etc..I.e. if terminal is examined It measures user to click on the icon of default application or detect that user clicks on the connection being used for into default application, is then identified as examining First object desktop action event is measured, at this point, terminal pause record screen, is recorded to avoid by the corresponding contents in default application In video file.
Wherein, it can be the pre-set application for needing to carry out secret protection of user to preset application.For example, default application It can include but is not limited to:Instant messaging application, e-payment application etc. are related to the application of privacy of user.Default application can be It one or at least two, is not limited herein.
It is understood that in other embodiments, terminal can be shown default when starting record screen in display interface Suspension windows, the default suspension windows can include default pause record screen option.Default pause record screen can be a figure Mark or a control button, are not limited herein.
Terminal detects that first object desktop action event can be:Terminal detects the default pause record screen of user's triggering Option.If i.e. terminal detects the default pause record screen option of user's triggering, it is identified as detecting that first object desktop operates Event, at this point, terminal pause record screen.
S13:After pause record screen, if detecting the second target desktop action event, continue record screen.
Terminal is after pause record screen, if detecting the second target desktop action event, continues record screen.Terminal continues record screen Refer to terminal restarting record screen service, to continue to carry out screen recording to terminal screen.
In the present embodiment, terminal detects that the second target desktop action event can be:Terminal detects that user triggers For closing the operation of default application.I.e. if terminal detects that user's triggering for closing the operation of default application, is identified as The second target desktop event is detected, at this point, terminal continues to carry out screen recording to terminal screen.
It is understood that in other embodiments, terminal can be shown default when starting record screen in display interface Suspension windows, the default suspension windows can include default pause record screen option.The default pause record screen option is in quilt User trigger when be converted to it is default continue record screen option.It is default continue record screen option can be and it is default pause record screen choosing The corresponding icon of item or a control button.
Terminal detects that the second target desktop action event can be:Terminal detects that user's triggering is default and continues record screen Option.If i.e. terminal detects that user's triggering is default and continues to record screen option, it is identified as detecting that the second target desktop operates Event, at this point, terminal continues record screen.
It is understood that when user's triggering is default continue record screen option after, this is default to continue record screen option and turns again It is changed to corresponding default pause record screen option.I.e. default pause record screen option and the default record screen option that continues are being triggered When can mutually convert.
S14:If receiving the default record screen that terminates to instruct, terminate record screen.
Terminal, if receiving default end record screen instruction, terminates entirely to record screen process during record is shielded.
Wherein, default end record screen instruction is used to indicate terminal and stops recording screen, and terminates entire record screen process.That is terminal If receiving default end record screen instruction, stop record and shield, and terminate entire record screen process.
It is understood that terminal can show default suspension windows when starting record screen in display interface, this is default Suspension windows can also include it is default terminate record screen option.Default end record screen option is used to generate in advance when being triggered If end record screen instruction.The default record screen option that terminates can be an icon or a control button, the icon or should Control button can be carried for terminating to record the identification information for shielding option and being identified.
Terminal receives default end record screen instruction:Terminal detects that user's triggering is default and terminates record screen choosing .If i.e. terminal detects that user triggers default end record screen option, it is identified as receiving default end and recording shielding instruction, At this point, terminal stops record screen, terminate entire record screen process.
If above as can be seen that it is provided in an embodiment of the present invention it is a kind of record screen method by receive it is default start record screen Instruction then starts record screen, and the desktop action event during record screen is detected;If detecting, first object desktop operates Event then suspends record screen;After pause record screen, if detecting the second target desktop action event, continue record screen;If it receives It is default to terminate record screen instruction, then terminate record screen.In this way, terminal can be based on desktop action event realize pause record screen function and Continue to record screen function, enrich the record screen control mode of terminal.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow diagram for record screen method that another embodiment of the present invention provides.The present embodiment The executive agent of middle record screen method is terminal.Terminal can be the mobile terminals such as mobile phone, tablet computer, and but it is not limited to this, also It can be other-end.Record screen method as shown in Figure 2 may comprise steps of:
S21:If receive it is default start record screen instruction, start record screen, and to record shield during desktop operate thing Part is detected.
In the present embodiment, S21 specifically may comprise steps of:
It if receives the default record screen that starts to instruct, it is determined that the target is recorded in the progress of screen region in target record screen region Screen recording;
Desktop action event during shielding to record is detected.
In the present embodiment, when terminal works normally, instructed if receiving the default record screen that starts, it is determined that user selects Target record screen region, and to the target record screen region carry out screen recording.
Wherein, it is default to start record screen instruction and be used to indicate terminal and proceed by screen recording.Terminal receives default It can be that terminal detects that user triggers the record that starts in " control centre " corresponding interactive interface and shields option to start to record screen instruction; It can also be that terminal detects that user triggers the record that starts in setting interface and shields option, not be limited herein.Wherein, record screen is started Option can be an icon or a control button.The icon or the control button can be carried for starting record screen choosing The identification information that item is identified.Identification information includes but not limited to text information or graphical information etc..
Terminal receive it is default start record screen instruction after, can start record screen service, record screen service in create one A view (view) without filling and size adjustable, and the view is shown in the top of display interface.The view is used to supply User selects target record screen region that its wants to record, i.e., user can by adjust the size (such as long or width) of the view come Select the target record screen region that it wants to record.
It is understood that terminal while view is shown, can also be shown to determine for user in display interface The definite option in its selected record screen region.It can be an icon or a control button to determine option.The icon or The control button can carry the identification information for being identified to determining option.
After user chooses the target record screen region that it wants to record, option can be determined by triggering to determine selected by it The target record screen region selected.If terminal detects user, triggering determines option, obtains the target record screen region of user's selection, and Screen region is recorded to the target and carries out screen recording.
Wherein, target record screen region can be the corresponding entire display interface of terminal screen or terminal screen pair Part display area in the display interface answered, is not limited herein.
Target is recorded screen region carry out screen recording refer to record target the screen content that shows whithin a period of time of region into Row is recorded, and generates the process of corresponding video file.Specifically, terminal can capture a frame desk-top picture every prefixed time interval Picture, and target record screen region is intercepted from the every frame desktop picture grabbed according to the coordinate information in target record screen region and is corresponded to Target image, multiple target images being truncated to according to the sequencing of crawl time are spliced, and then obtain target The corresponding video file in record screen region.
Terminal start to target record screen region carry out screen recording after, also to record shield during desktop action event into Row detection.
Desktop action event refers to that user is connected outer by the touch-screen of terminal or the physical button of terminal or with terminal The arbitrary action event that portion's input equipment performs terminal.For example, desktop action event, which includes but not limited to user, passes through terminal Touch-screen terminal is performed clicking operation, slide, long-press operation etc..
After terminal starts record screen, the desktop action event during can shielding in real time to record is detected, to detect whether There is target desktop action event.
S221:If detecting first object desktop action event, suspend record screen.
Terminal is during record is shielded, if detecting first object desktop action event, suspends record screen.Terminal pause record screen Refer to that terminal temporarily ceases screen recording process.
In the present embodiment, S22 specifically may comprise steps of:
If detecting, triggering is used to open the operation of default application, is identified as detecting that first object desktop operates thing Part, pause record screen.
In the present embodiment, during record is shielded, if terminal detects that user's triggering is used to open the operation of default application, It is then identified as detecting first object desktop action event, at this point, terminal pause record screen.
Detect that the operation that user's triggering is used to open default application can detect that user clicks on the figure of default application Mark;Or can detect that user clicks on to be used for into link of default application etc..I.e. if it is pre- to detect that user clicks on for terminal If the icon of application detects that user clicks on the connection being used for into default application, then it is identified as detecting first object table Face action event, at this point, terminal pause record screen, is recorded to avoid by the corresponding contents in default application in video file.
Wherein, it can be the pre-set application for needing to carry out secret protection of user to preset application.For example, default application It can include but is not limited to:Instant messaging application, e-payment application etc. are related to the application of privacy of user.Default application can be It one or at least two, is not limited herein.
More specifically, if the operation for detecting triggering and being used to open default application, is identified as detecting the first mesh Desktop action event is marked, pause record screen specifically may comprise steps of:
If detecting, triggering is used to open the operation of default application, suspends record screen, preserves the video file currently recorded, And record the holding time of the video file.
In the present embodiment, if terminal detects that triggering is used to open the operation of default application, suspend record screen, preserve and work as The video file of preceding recording, and record the holding time for the video file currently recorded.
It should be noted that terminal often suspends once record screen, a video file will be obtained.Current record described herein The video file of system refers to continue the record screen moment (when recording screen on or at the beginning from adjacent with the current hang record screen moment upper one Carve) start, until current hang record screen moment (detecting the first object desktop action event moment) terminates, what terminal was recorded Video file.
S222:If it detects in preset period of time without desktop action event, and the video frame phase recorded in the preset period of time Together, then suspend record screen, preserve the video file currently recorded, record the holding time of the video file.
In the present embodiment, terminal is during record is shielded, if it detects in preset period of time without desktop action event, and this is pre- If the video frame recorded in the period is identical, then suspends record screen, preserve the video file currently recorded, record the guarantor of the video file Deposit the time.The video file currently recorded described herein refers to continue record screen from adjacent with the current hang record screen moment upper one Moment (record screen moment at the beginning on or) starts, until the current hang record screen moment (detects in preset period of time and operated without desktop Event, and the video frame phase recorded in the preset period of time is in the same time) terminate, the video file that terminal is recorded.
Wherein, preset period of time can be set according to actual demand, be not limited herein.For example, preset period of time can be 1 point Clock.If terminal is detected did not had desktop action event in continuous 1 minute, and in the video frame recorded in this 1 minute Hold it is identical, then suspend record screen.
It is understood that terminal after record screen is suspended, can show that the default record screen that continues selects in current display interface .Terminal detected without desktop action event in preset period of time, and the video frame recorded in the preset period of time is identical and suspend Record screen after, user can by trigger it is default continue record screen option come instruction terminal continue to user select target area into Row is recorded.
It should be noted that S221 and S222 is step arranged side by side.
S23:After pause record screen, if detecting the second target desktop action event, continue record screen.
Terminal is after pause record screen, if detecting the second target desktop action event, continues record screen.Terminal continues record screen Refer to terminal restarting record screen service, to continue to carry out screen recording to terminal screen.
In the present embodiment, S23 specifically may comprise steps of:
If detecting triggering for closing the operation of the default application, it is identified as detecting that the second target desktop operates Event continues record screen.
In the present embodiment, if detecting triggering for closing the operation of the default application, it is identified as detecting the Two target desktop action events, at this point, terminal continues record screen.
S24:If receiving the default record screen that terminates to instruct, terminate record screen.
Terminal, if receiving default end record screen instruction, terminates entirely to record screen process during record is shielded.
Wherein, default end record screen instruction is used to indicate terminal and stops recording screen, and terminates entire record screen process.That is terminal If receiving default end record screen instruction, stop record and shield, and terminate entire record screen process.
It is understood that terminal can show default suspension windows when starting record screen in display interface, this is default Suspension windows can also include it is default terminate record screen option.Default end record screen option is used to generate in advance when being triggered If end record screen instruction.The default record screen option that terminates can be an icon or a control button, the icon or should Control button can be carried for terminating to record the identification information for shielding option and being identified.
Terminal receives default end record screen instruction:Terminal detects that user's triggering is default and terminates record screen choosing .If i.e. terminal detects that user triggers default end record screen option, it is identified as receiving default end and recording shielding instruction, At this point, terminal stops record screen, terminate entire record screen process.
In the present embodiment, S24 specifically may comprise steps of:
If receiving the default record screen that terminates to instruct, terminate record screen, preserve the video file currently recorded, and record institute State the holding time of video file;
At least two video files that record screen preserves in the process are spliced according to the sequencing of holding time, Obtain target video file.
In the present embodiment, terminal preserves the video file currently recorded, and records the video file when terminating record screen Holding time.Video file described herein refers to that continuing the record screen moment from adjacent with terminating to record the screen moment upper one (or opens Begin the record screen moment) start, terminate until terminating the record screen moment, the video file that terminal is recorded.
It is understood that during record screen to the entire record screen for terminating record screen is started, if terminal performs n times pause Record screen operation, then terminal always meet Record and Save (n+1) a video file together, terminal is after record screen is terminated, and by this, (n+1) is a regards Frequency file is spliced according to the sequencing of holding time, obtains target video file.
For example, during entire record screen, terminal saves three video files altogether, is respectively the first video file, the Two video files and the 3rd video file.Wherein, the holding time of the first video file is 9:00, the preservation of the second video file Time is 9:01, the holding time of the 3rd video file is 9:02, then terminal according to the first video file in preceding, the second video text Part is in intermediate, the 3rd posterior order of video file, by the first video file in preceding, the second video file intermediate and the 3rd regards Frequency file is spliced, and obtains target video file.
In the present embodiment, terminal can call third party's jar bags isoparser-1.0.1.jar, aspectjrt.jar The multistage video file recorded is spliced, so as to obtaining target video file.
Above as can be seen that if a kind of record screen method provided in this embodiment is referred to by receiving the default record screen that starts Order then starts record screen, and the desktop action event during record screen is detected;If detecting, first object desktop operates thing Part then suspends record screen;After pause record screen, if detecting the second target desktop action event, continue record screen;If it receives pre- If end record screen instruction, then terminate record screen.In this way, terminal can be based on desktop action event realize pause record screen function and after Continuous record screen function enriches the record screen control mode of terminal.
Since when detecting that triggering is used to open the operation of default application, pause record is shielded, user can be needed The application for carrying out secret protection is arranged to default application, in this way, during record is shielded, needs to carry out privacy if user opens The application of protection, then terminal, which can be suspended, records screen, so as to which the privacy information by user is avoided to record into video file.
Since record when terminating record screen, to be shielded to priority of at least two video files preserved in the process according to the holding time Order is spliced, and obtains final target video file, thus can ensure the continuity of recorded video file.
The embodiment of the present invention also provides a kind of terminal, which includes performing foregoing any one of them record screen method Unit.Specifically, referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal 300 can be with For mobile terminals such as smart mobile phone, tablet computers.The terminal 300 of the present embodiment can include starting record screen unit 301, pause record Screen unit 302 continues record screen unit 303 and terminates record screen unit 304.
If start record screen unit 301 for receive it is default start record screen instruction, start record screen, and to record screen process In desktop action event be detected.
If pause record screen unit 302 suspends record screen for detecting first object desktop action event.
Continue record screen unit 303 to be used for after pause record screen, if detecting the second target desktop action event, continue to record Screen.
If terminating record screen unit 304 for receiving default end record screen instruction, terminate record and shield.
Optionally, in an embodiment of the present invention, if pause record screen unit 302 is specifically used for detecting that triggering is used to open The operation of default application is then identified as detecting first object desktop action event, pause record screen.
Optionally, in an embodiment of the present invention, if pause record screen unit 302 is specifically used for detecting that triggering is used to open The operation of default application then suspends record screen, when preserving the video file currently recorded, and recording the preservation of the video file Between.
Optionally, in an embodiment of the present invention, it is specifically used for detecting triggering for closing if continuing record screen unit 303 The operation of the default application is then identified as detecting the second target desktop action event, continues record screen.
Optionally, in an embodiment of the present invention, if pause record screen unit 302 is additionally operable to detect in preset period of time without table Face action event, and the video frame recorded in the preset period of time is identical, then suspends record screen, preserves the video text currently recorded Part records the holding time of the video file.
Optionally, in an embodiment of the present invention, it is specifically used for receiving default end record if terminating record screen unit 304 Screen instruction then terminates record screen, preserves the video file currently recorded, and record the holding time of the video file;Record is shielded At least two video files preserved in the process are spliced according to the sequencing of holding time, obtain target video text Part.
Optionally, in an embodiment of the present invention, it is specifically used for receiving default starting to record if starting record screen unit 301 Screen instruction, it is determined that target record screen region records the target in screen region and carries out screen recording;Desktop during shielding to record is grasped It is detected as event.
Above as can be seen that if a kind of terminal provided in an embodiment of the present invention is referred to by receiving the default record screen that starts Order then starts record screen, and the desktop action event during record screen is detected;If detecting, first object desktop operates thing Part then suspends record screen;After pause record screen, if detecting the second target desktop action event, continue record screen;If it receives pre- If end record screen instruction, then terminate record screen.In this way, terminal can be based on desktop action event realize pause record screen function and after Continuous record screen function enriches the record screen control mode of terminal.
Since when detecting that triggering is used to open the operation of default application, pause record is shielded, user can be needed The application for carrying out secret protection is arranged to default application, in this way, during record is shielded, needs to carry out privacy if user opens The application of protection, then terminal, which can be suspended, records screen, so as to which the privacy information by user is avoided to record into video file.
Since record when terminating record screen, to be shielded to priority of at least two video files preserved in the process according to the holding time Order is spliced, and obtains final target video file, thus can ensure the continuity of recorded video file.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram for terminal that yet another embodiment of the invention provides.This reality as shown in Figure 4 The terminal 400 applied in example can include:One or more processors 401, one or more input equipments 402, one or more Then output equipment 403 and one or more memories 404.Above-mentioned processor 401, input equipment 402, then output equipment 403 and Memory 404 completes mutual communication by communication bus 405.Memory 404 is used to store computer program, the calculating Machine program includes program instruction.Processor 401 is used to perform the program instruction of the storage of memory 404.Wherein, 401 quilt of processor It is configured to that described program instruction is called to perform following operation:
If receive it is default start record screen instruction, start record screen, and to record shield during desktop action event into Row detection;
If detecting first object desktop action event, suspend record screen;
After pause record screen, if detecting the second target desktop action event, continue record screen;
If receiving the default record screen that terminates to instruct, terminate record screen.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
If detecting, triggering is used to open the operation of default application, is identified as detecting that first object desktop operates thing Part, pause record screen.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
If detecting, triggering is used to open the operation of default application, suspends record screen, preserves the video file currently recorded, And record the holding time of the video file.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
If detecting triggering for closing the operation of the default application, it is identified as detecting that the second target desktop operates Event continues record screen.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
If it detects without desktop action event in preset period of time, and the video frame recorded in the preset period of time is identical, then Pause record screen, preserves the video file currently recorded, records the holding time of the video file.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
If receiving the default record screen that terminates to instruct, terminate record screen, preserve the video file currently recorded, and record institute State the holding time of video file;
At least two video files that record screen preserves in the process are spliced according to the sequencing of holding time, Obtain target video file.
Further, processor 401 is specific is arranged to that described program instruction is called to perform following operation:
It if receives the default record screen that starts to instruct, it is determined that the target is recorded in the progress of screen region in target record screen region Screen recording;
Desktop action event during shielding to record is detected.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint and adopt sensor (for gathering the finger print information of user and fingerprint Directional information), microphone etc., output equipment 403 can include display (LCD etc.), loud speaker etc..
The memory 404 can include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the output equipment 403 described in the embodiment of the present invention can The realization method described in the first embodiment and second embodiment of record screen method provided in an embodiment of the present invention is performed, also may be used The realization method of the described terminal of the embodiment of the present invention is performed, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes program instruction, and described program instruction is realized when being executed by processor:
If receive it is default start record screen instruction, start record screen, and to record shield during desktop action event into Row detection;
If detecting first object desktop action event, suspend record screen;
After pause record screen, if detecting the second target desktop action event, continue record screen;
If receiving the default record screen that terminates to instruct, terminate record screen.
Further, implemented when the computer program is executed by processor:
If detecting, triggering is used to open the operation of default application, is identified as detecting that first object desktop operates thing Part, pause record screen.
Further, implemented when the computer program is executed by processor:
If detecting, triggering is used to open the operation of default application, suspends record screen, preserves the video file currently recorded, And record the holding time of the video file.
Further, implemented when the computer program is executed by processor:
If detecting triggering for closing the operation of the default application, it is identified as detecting that the second target desktop operates Event continues record screen.
Further, implemented when the computer program is executed by processor:
If it detects without desktop action event in preset period of time, and the video frame recorded in the preset period of time is identical, then Pause record screen, preserves the video file currently recorded, records the holding time of the video file.
Further, implemented when the computer program is executed by processor:
If receiving the default record screen that terminates to instruct, terminate record screen, preserve the video file currently recorded, and record institute State the holding time of video file;
At least two video files that record screen preserves in the process are spliced according to the sequencing of holding time, Obtain target video file.
Further, implemented when the computer program is executed by processor:
It if receives the default record screen that starts to instruct, it is determined that the target is recorded in the progress of screen region in target record screen region Screen recording;
Desktop action event during shielding to record is detected.
The computer readable storage medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily The data that ground storage has been exported or will exported.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In the several embodiments provided are originally provided, it should be understood that disclosed terminal and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated The form that hardware had both may be employed in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, terminal or the network equipment etc.) performs the whole of each embodiment the method for the present invention Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (10)

  1. A kind of 1. record screen method, which is characterized in that including:
    If receive it is default start record screen instruction, start record screen, and to record shield during desktop action event examine It surveys;
    If detecting first object desktop action event, suspend record screen;
    After pause record screen, if detecting the second target desktop action event, continue record screen;
    If receiving the default record screen that terminates to instruct, terminate record screen.
  2. 2. record screen method according to claim 1, which is characterized in that if described detect that first object desktop operates thing Part then suspends record screen, including:
    If detecting, triggering is used to open the operation of default application, is identified as detecting first object desktop action event, temporarily Stop record screen.
  3. 3. record screen method according to claim 2, which is characterized in that triggering is used to open the behaviour of default application if detecting To make, be then identified as detecting first object desktop action event, pause record is shielded, including:
    If detecting, triggering is used to open the operation of default application, suspends record screen, preserves the video file currently recorded, and remember Record the holding time of the video file.
  4. 4. record screen method according to claim 2, which is characterized in that it is described after pause record screen, if detecting the second mesh Desktop action event is marked, then continues record screen, including:
    If detecting triggering for closing the operation of the default application, it is identified as detecting that the second target desktop operates thing Part continues record screen.
  5. 5. it is according to claim 1 record screen method, which is characterized in that if it is described receive it is default start record screen instruction, Then start record screen, and to record shield during desktop action event be detected after, further include:
    If it detects without desktop action event in preset period of time, and the video frame recorded in the preset period of time is identical, then suspends Record screen, preserves the video file currently recorded, and records the holding time of the video file.
  6. 6. record screen method according to any one of claims 1 to 5, which is characterized in that if described receive default end Record screen instruction, then terminate record screen, including:
    If receiving default end record shields instruction, terminate record and shield, preserve the video file currently recorded, and regarded described in record The holding time of frequency file;
    At least two video files that record screen preserves in the process according to the sequencing of holding time are spliced, are obtained Target video file.
  7. 7. record screen method according to any one of claims 1 to 5, which is characterized in that if described receive default beginning Instruction is shielded in record, then starts record screen, and the desktop action event during record screen is detected, including:
    It if receives the default record screen that starts to instruct, it is determined that screen region progress screen is recorded the target in target record screen region It records;
    Desktop action event during shielding to record is detected.
  8. 8. a kind of terminal, which is characterized in that including the record screen method for being used to perform as described in claim 1-7 any claims Unit.
  9. 9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes program instruction, and the processor is arranged to call described program instruction, perform such as any one of claim 1-7 The record screen method.
  10. 10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instruction makes the processor perform such as when being executed by a processor Claim 1-7 any one of them records screen method.
CN201711239726.0A 2017-11-30 2017-11-30 A kind of record screen method, terminal and computer readable storage medium Withdrawn CN108073346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711239726.0A CN108073346A (en) 2017-11-30 2017-11-30 A kind of record screen method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711239726.0A CN108073346A (en) 2017-11-30 2017-11-30 A kind of record screen method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108073346A true CN108073346A (en) 2018-05-25

Family

ID=62157672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711239726.0A Withdrawn CN108073346A (en) 2017-11-30 2017-11-30 A kind of record screen method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108073346A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810268A (en) * 2018-06-04 2018-11-13 珠海格力电器股份有限公司 The treating method and apparatus of operation note
CN109815837A (en) * 2018-12-29 2019-05-28 维沃移动通信有限公司 A kind of face information typing control method and mobile terminal
CN109917915A (en) * 2019-03-05 2019-06-21 浙江强脑科技有限公司 Record screen control method, terminal and computer readable storage medium
CN110536143A (en) * 2019-07-11 2019-12-03 网宿科技股份有限公司 Plug-flow method and electronic equipment
CN111857914A (en) * 2020-07-06 2020-10-30 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN112153436A (en) * 2020-09-03 2020-12-29 Oppo广东移动通信有限公司 Screen recording method, device, equipment and storage medium
CN112637624A (en) * 2020-12-14 2021-04-09 广州繁星互娱信息科技有限公司 Live stream processing method, device, equipment and storage medium
CN113312237A (en) * 2021-06-07 2021-08-27 上海游密信息科技有限公司 Information feedback method and device, electronic equipment and storage medium
CN114327034A (en) * 2021-01-18 2022-04-12 海信视像科技股份有限公司 Display device and screen recording interaction method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704539A (en) * 2016-02-15 2016-06-22 努比亚技术有限公司 Video sharing device and video sharing method
CN105828166A (en) * 2015-09-10 2016-08-03 维沃移动通信有限公司 Recording method of terminal screen display content and terminal
CN106101767A (en) * 2016-07-28 2016-11-09 维沃移动通信有限公司 A kind of screen recording method and mobile terminal
CN106598380A (en) * 2016-11-04 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Screen recording method and device, and terminal
CN106980436A (en) * 2017-02-28 2017-07-25 宇龙计算机通信科技(深圳)有限公司 Record screen method and record screen terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN105704539A (en) * 2016-02-15 2016-06-22 努比亚技术有限公司 Video sharing device and video sharing method
CN106101767A (en) * 2016-07-28 2016-11-09 维沃移动通信有限公司 A kind of screen recording method and mobile terminal
CN106598380A (en) * 2016-11-04 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Screen recording method and device, and terminal
CN106980436A (en) * 2017-02-28 2017-07-25 宇龙计算机通信科技(深圳)有限公司 Record screen method and record screen terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810268B (en) * 2018-06-04 2020-11-03 珠海格力电器股份有限公司 Processing method and device for operation record
CN108810268A (en) * 2018-06-04 2018-11-13 珠海格力电器股份有限公司 The treating method and apparatus of operation note
CN109815837A (en) * 2018-12-29 2019-05-28 维沃移动通信有限公司 A kind of face information typing control method and mobile terminal
CN109815837B (en) * 2018-12-29 2020-10-09 维沃移动通信有限公司 Face information input control method and mobile terminal
CN109917915A (en) * 2019-03-05 2019-06-21 浙江强脑科技有限公司 Record screen control method, terminal and computer readable storage medium
CN110536143A (en) * 2019-07-11 2019-12-03 网宿科技股份有限公司 Plug-flow method and electronic equipment
CN111857914A (en) * 2020-07-06 2020-10-30 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN111857914B (en) * 2020-07-06 2021-10-01 上海意略明数字科技股份有限公司 Method and device for acquiring operation information of application program on terminal, storage medium and terminal
CN112153436A (en) * 2020-09-03 2020-12-29 Oppo广东移动通信有限公司 Screen recording method, device, equipment and storage medium
CN112153436B (en) * 2020-09-03 2022-10-18 Oppo广东移动通信有限公司 Screen recording method, device, equipment and storage medium
CN112637624A (en) * 2020-12-14 2021-04-09 广州繁星互娱信息科技有限公司 Live stream processing method, device, equipment and storage medium
CN114327034A (en) * 2021-01-18 2022-04-12 海信视像科技股份有限公司 Display device and screen recording interaction method
CN113312237A (en) * 2021-06-07 2021-08-27 上海游密信息科技有限公司 Information feedback method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108073346A (en) A kind of record screen method, terminal and computer readable storage medium
AU2022201419A1 (en) User interfaces for watches
CN107861679A (en) A kind of operation processing method, terminal and computer-readable recording medium
US11662796B2 (en) User interfaces for indicating battery information on an electronic device
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
CN103631516B (en) The method of touch-sensitive device and the manipulation based on touch to content
CN106681584A (en) Method for optimizing application display and terminal
CN107181858A (en) A kind of method and terminal for showing notification message
CN107908489A (en) Replicate the method pasted and mobile terminal
CN106325663B (en) Mobile terminal and its screenshotss method
CN107329647A (en) One kind shows application drawing calibration method and terminal
CN107870706A (en) One kind management figure calibration method, terminal and computer-readable medium
CN107301204A (en) A kind of method and terminal for sharing file
CN107168602A (en) One kind control application drawing calibration method and terminal
CN107222790A (en) A kind of method, terminal and computer-readable recording medium for sending barrage
CN108463799A (en) The flexible display and its operating method of electronic equipment
CN106453904A (en) Information reminding method and terminal
CN108170438A (en) A kind of application program automatic installation method, terminal and computer-readable medium
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN107491324A (en) A kind of method and terminal for installing application program
CN107766108A (en) A kind of method of interception image, terminal and computer-readable medium
CN107479806A (en) The method and terminal of a kind of changing interface
CN107766712A (en) Message prompt method, terminal and computer-readable medium
CN107608719A (en) A kind of interface operation method, terminal and computer-readable recording medium
CN105549811A (en) Terminal interface displaying method and device based on protective cover window

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180525