CN111031177A - Screen recording method, device and readable storage medium - Google Patents

Screen recording method, device and readable storage medium Download PDF

Info

Publication number
CN111031177A
CN111031177A CN201911249358.7A CN201911249358A CN111031177A CN 111031177 A CN111031177 A CN 111031177A CN 201911249358 A CN201911249358 A CN 201911249358A CN 111031177 A CN111031177 A CN 111031177A
Authority
CN
China
Prior art keywords
screen
screen recording
recording
mobile terminal
recording mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911249358.7A
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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201911249358.7A priority Critical patent/CN111031177A/en
Publication of CN111031177A publication Critical patent/CN111031177A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a screen recording method, screen recording equipment and a readable storage medium. The method comprises the following steps: by detecting whether the screen recording condition of the mobile terminal is met or not, when the screen recording condition is met, recording and caching processing can be carried out on the screen content of the mobile terminal in a background, and after a user triggers a recording and storing request, the cached screen content before the time point of receiving the recording and storing request can be intercepted according to the recording and storing request, so that the intercepted screen content can be obtained and stored. The method provided by the invention effectively realizes that the content to be recorded can be completely recorded by completely adopting a screen recording mode based on the requirement of a user.

Description

Screen recording method, device and readable storage medium
Technical Field
The present invention relates to the field of information technologies, and in particular, to a screen recording method, a device, and a readable storage medium.
Background
The screen recording function is also called a screen recording function, and refers to a function of continuously recording screen contents of the mobile terminal to synthesize and store a video.
In the prior art, when a user needs to start a screen recording function of a mobile terminal, the user needs to manually touch a corresponding screen recording function virtual key, and the mobile terminal starts a screen recording corresponding operation after receiving a screen recording instruction, that is, the screen content starts to be recorded after the time point of receiving the screen recording instruction.
However, when a user plays a game on a mobile terminal, watches a live video, etc., a highlight moment is often found, and wants to save the highlight content by screen recording in time, the highlight moment may not be completely saved, for example, only a part of the video of the highlight moment may be saved.
Disclosure of Invention
The invention provides a screen recording method, a screen recording device and a readable storage medium, which are used for solving the problem that the screen content which a user wants to store cannot be completely stored by the conventional screen recording function.
In a first aspect, the present invention provides a screen recording method, including:
detecting whether a screen recording triggering condition is met;
when the screen recording triggering condition is detected to be met, starting background screen recording processing so as to record and cache screen contents of the mobile terminal;
receiving a recording and storing request;
and according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request so as to obtain and store the intercepted screen content.
Optionally, the detecting whether the screen recording triggering condition is met includes:
detecting whether a recording starting instruction is received;
and when a recording starting instruction is detected, determining that a screen recording triggering condition is met.
Optionally, the detecting whether the screen recording triggering condition is met includes:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
detecting whether a user operation is received;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and user operation is received, determining that the screen recording triggering condition is met.
Optionally, the detecting whether the screen recording triggering condition is met includes:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
identifying whether the application currently executed by the mobile terminal is an application to be recorded;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, determining that a screen recording triggering condition is met.
Optionally, when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is identified as the application to be recorded, determining that the screen recording trigger condition is met includes:
when the automatic screen recording mode is determined to be the automatic screen recording mode, and the application currently executed by the mobile terminal is identified to be at least one of the following applications: and determining that the screen recording triggering condition is met during voice call, video call or game application.
Optionally, when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is identified as the application to be recorded, determining that the screen recording trigger condition is met includes:
when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application for playing the video, determining the type of the video;
and when the type of the video is determined to be a live type, determining that a screen recording triggering condition is met.
Optionally, the capturing, according to the obtained recording and storing request, the screen content cached before the time point when the recording and storing request is obtained, so as to obtain and store the captured screen content, including:
acquiring a time length corresponding to user operation or a time length corresponding to an application to be recorded according to the acquired recording and storing request;
and intercepting the screen content cached before the time point of acquiring the recording and storing request according to the time length corresponding to the operation or the time length corresponding to the application to be recorded so as to acquire and store the intercepted screen content.
Optionally, the recording and storing request includes a storing duration;
according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request, wherein the intercepting comprises the following steps:
and intercepting the cached screen content before the time point of receiving the recording and storing request according to the storing duration.
In a second aspect, the present invention provides a screen recording apparatus, including:
the detection module is used for detecting whether the screen recording triggering condition is met;
the screen recording module is used for starting background screen recording processing when detecting that the screen recording triggering condition is met so as to record and cache screen contents of the mobile terminal;
the receiving module is used for receiving a recording and storing request;
and the storage module is used for intercepting and processing the cached screen content before the time point of receiving the recording and storing request according to the recording and storing request so as to obtain and store the intercepted screen content.
Optionally, the detection module is specifically configured to:
detecting whether a recording starting instruction is received;
and when a recording starting instruction is detected, determining that a screen recording triggering condition is met.
Optionally, the detection module is specifically configured to:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
detecting whether a user operation is received;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and user operation is received, determining that the screen recording triggering condition is met.
Optionally, the detection module is specifically configured to:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
identifying whether the application currently executed by the mobile terminal is an application to be recorded;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, determining that a screen recording triggering condition is met.
Optionally, when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is identified as the application to be recorded, determining that the screen recording trigger condition is met includes:
and when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be a voice call, a video call or a game application, determining that a screen recording triggering condition is met.
Optionally, when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is identified as the application to be recorded, determining that the screen recording trigger condition is met includes:
when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application for playing the video, determining the type of the video;
and when the type of the video is determined to be a live type, determining that a screen recording triggering condition is met.
Optionally, the saving module is specifically configured to:
acquiring a time length corresponding to user operation or a time length corresponding to an application to be recorded according to the acquired recording and storing request;
and intercepting the screen content cached before the time point of acquiring the recording and storing request according to the time length corresponding to the user operation or the time length corresponding to the application to be recorded so as to acquire and store the intercepted screen content.
Optionally, the recording and storing request includes a storing duration;
the saving module is specifically configured to: and intercepting the cached screen content before the time point of receiving the recording and storing request according to the storing duration.
In a third aspect, the present invention provides a screen recording apparatus, comprising:
a memory for storing processor-executable instructions;
a processor for implementing the method according to the first aspect as described above when the computer program is executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the screen recording method according to the first aspect when the computer-executable instructions are executed by a processor.
The screen recording method, the screen recording equipment and the readable storage medium provided by the invention have the advantages that whether the screen recording condition of the mobile terminal is met or not is detected, when the screen recording condition is met, the screen content of the mobile terminal can be recorded and cached in a background, and after a user triggers a recording and storing request, the cached screen content before the time point of receiving the recording and storing request is intercepted according to the recording and storing request, so that the intercepted screen content is obtained and stored, and the problem that the user possibly misses or records incompletely when wanting to record a wonderful moment in the prior art is effectively solved, namely, the content needing to be recorded can be completely recorded by adopting a screen recording mode based on the user requirement.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flow chart of a screen recording method according to the present invention;
FIG. 2 is a flowchart illustrating another screen recording method according to the present invention;
fig. 3 is a schematic flow chart of another screen recording method according to the present invention;
fig. 4 is a schematic structural diagram of a screen recording apparatus according to the present invention;
fig. 5 is a schematic structural diagram of a screen recording device according to the present invention;
fig. 6 is a block diagram of a mobile terminal according to the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. The drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the invention by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The existing screen recording function needs a user to manually start a screen recording function of a mobile terminal, manually touch a corresponding screen recording function virtual key, and start screen recording after the mobile terminal receives a screen recording instruction, that is, the screen recording starts to record screen content from a time point when the screen recording instruction is received. However, when a user uses a mobile terminal to play a game, make a video call, or watch a live broadcast, the user often finds out a highlight moment, and the user cannot estimate the moment of the highlight moment, so that there is no way to start the screen recording function in advance. For example, when a user plays a certain game application, a highlight moment is often played, and since the next highlight moment of the game cannot be predicted, the user wants to save the highlight moment after playing the highlight moment, and then starts a screen recording function, but the user may miss the highlight moment or only save the content of the next highlight moment, and cannot completely save the highlight moment.
According to the screen recording method provided by the embodiment of the invention, whether the screen recording condition of the mobile terminal is met or not is detected, when the screen recording condition is met, the screen content of the mobile terminal can be recorded and cached in a background, and after a user triggers a recording and storing request, the cached screen content before the time point of receiving the recording and storing request is intercepted according to the recording and storing request, so that the problem that the intercepted screen content is missed or incomplete when the user wants to record a wonderful moment in the prior art is effectively solved, namely, the content needing to be recorded can be completely recorded in a screen recording mode according to the requirement of the user.
Fig. 1 is a schematic flow chart of a screen recording method provided by the present invention, and as shown in fig. 1, the method of this embodiment is executed by a mobile terminal, which may be a mobile phone, a tablet device, and the like, without limiting the present invention. The method of this example is as follows:
s101, detecting whether a screen recording triggering condition is met.
In this embodiment, the screen recording mode of the mobile terminal may include: a manual screen recording mode and an automatic screen recording mode. The manual screen recording mode is to record a screen based on a recording starting instruction triggered by a user. The automatic screen recording mode is that the screen recording can be automatically carried out in the background without being triggered by a user, and the automatic screen recording mode can also comprise an automatic scene screen recording mode, an automatic operation screen recording mode and the like. The automatic scene screen recording mode refers to that an automatic trigger screen recording function can be adopted for specific scenes, particularly for applications corresponding to the specific scenes; the automatic operation screen recording mode refers to that the automatic triggering screen recording function can be adopted for specific operation of a user or all operation of the mobile terminal by the user.
The method comprises the steps of detecting whether screen recording conditions are met, in a possible implementation mode, adopting a manual screen recording mode, detecting whether a recording starting instruction is received by a mobile terminal, and determining that the screen recording triggering conditions are met when the recording starting instruction is received.
In another possible implementation manner, an automatic screen recording mode is adopted, whether the current screen recording mode of the mobile terminal is the automatic screen recording mode or not is detected, whether user operation is received or not is detected, and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the user operation is received, the screen recording triggering condition is determined to be met.
In another possible implementation manner, an automatic screen recording mode is adopted, whether the current screen recording mode of the mobile terminal is the automatic screen recording mode is detected, whether the application currently executed by the mobile terminal is the application to be recorded is identified, and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, it is determined that the screen recording trigger condition is satisfied.
S102, when the screen recording triggering condition is detected to be met, starting background screen recording processing so as to record and cache screen contents of the mobile terminal.
In this embodiment, the mobile terminal may set any one of the screen recording modes based on an instruction of the user. The mobile terminal detects whether the screen recording triggering condition is met or not based on the instruction of a user, and when the screen recording triggering condition is met, background screen recording processing can be started to record and cache the screen content of the mobile terminal.
And S103, receiving a recording and storing request.
And S104, according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request so as to obtain and store the intercepted screen content.
In this embodiment, when the background screen recording process is started to record and cache the screen content of the mobile terminal, the mobile terminal may receive a recording and saving request triggered by a user, for example, the recording and saving request is triggered in a voice manner or in a touch manner. When the mobile terminal receives the recording and storing request, the mobile terminal may intercept the screen content cached before the time point of the received recording request according to the recording and storing request, so as to obtain and store the intercepted screen content.
Optionally, the recording and storing request includes a storage duration, and the mobile terminal may intercept, according to the storage duration, the screen content cached before the time point when the recording and storing request is received. The storage duration is the duration of the screen content to be intercepted, the storage duration may be a preset time period, which may be preset by a user or default, for example, the preset storage duration is 1 minute, and when the mobile terminal receives a recording storage request, the mobile terminal intercepts the cached screen content 1 minute before the time point of receiving the recording storage request; or the preset time length from the starting of the background screen recording to the time point of receiving the recording and saving request; for example, after the user triggers the recording and storing request, a storage duration selection option is immediately popped up, the user selects 3 minutes for the storage duration, and the mobile terminal intercepts the screen content cached 3 minutes before the time point of receiving the recording and storing request.
Taking a video call as an example, when the mobile terminal sets the current screen recording mode as an automatic screen recording mode, it is identified whether the mobile terminal is executing a video call application, and when it is identified that the mobile terminal is executing the video call application, the background screen recording process is directly and automatically triggered (at this time, a virtual save button may also appear on the screen), and then the background of the mobile terminal records and caches the entire screen content of the video call (including the image displayed on the screen and the sound corresponding to the image). When a user perceives that the call content needs to be recorded in the video call process, the virtual saving button on the screen is triggered, namely the screen content cached before the corresponding time point is triggered can be intercepted, so that the call content which the user wants to record can be saved.
In addition, if the user wants to save all call contents, the virtual save button can be triggered when the call is finished, or the mobile terminal recognizes the 'bye' sound, the recording and saving request can be considered to be triggered, that is, all the screen contents cached before the triggered time point are intercepted to obtain the complete call contents.
In the embodiment, whether the screen recording condition of the mobile terminal is met or not is detected, when the screen recording condition is met, the screen content of the mobile terminal can be recorded and cached in a background, and after a recording and storing request is triggered by a user, the cached screen content before the time point of receiving the recording and storing request is intercepted according to the recording and storing request, so that the intercepted screen content is obtained and stored, and the problem that the user possibly misses the recording or is incomplete when wanting to record a wonderful moment in the prior art is effectively solved, namely, the content to be recorded can be completely recorded by adopting a screen recording mode based on the requirement of the user is effectively realized.
Fig. 2 is a schematic flow chart of another screen recording method provided by the present invention, as shown in fig. 2:
s201, when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, starting background screen recording processing so as to record and cache the screen content of the mobile terminal.
In this embodiment, the screen recording mode of the mobile terminal is preset to be an automatic screen recording mode, when the automatic scene screen recording mode is started, some application programs to be recorded are preset in the automatic scene screen recording mode, where the application programs to be recorded may be a voice call, a video call, or a game application, and when a user enters a certain application preset in the automatic scene screen recording mode, the mobile terminal automatically starts to record the content of the current screen in the background.
S202, receiving a recording and saving request.
S203, according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request so as to obtain and store the intercepted screen content.
Taking a scene that a mobile terminal enters a game application as an example, a screen recording mode of the mobile terminal is preset as an automatic screen recording mode, the automatic scene screen recording mode is started, the game application is selected as the automatic scene screen recording mode, the storage duration of the game application is set to a time period, such as 30 seconds, when a user enters a certain game application, the mobile terminal detects that the mobile terminal is the automatic scene screen recording mode, the current screen content (including images displayed on the screen and sound corresponding to the images) is automatically recorded at the background, or the environmental sound can be selected through presetting, so that the environmental sound is recorded at the same time, so that the sound of explanation and the like of the user is recorded at the same time in the game process), when the user detects that a wonderful moment is played, a recording storage request is triggered through a predefined entity button or a virtual button on the terminal, and the mobile terminal intercepts the screen recording content 30 seconds before the recording and storing request triggered by the user is received and stores the screen recording content to the appointed position of the mobile terminal.
Further, taking a live broadcast scene played by the mobile terminal as an example, a screen recording mode of the mobile terminal is preset as an automatic screen recording mode, the automatic scene screen recording mode is started, a live broadcast application in the video application is selected as the automatic scene screen recording mode, a screen recording storage duration in a live broadcast scene in the video application is set to be a time period, for example, 3 minutes, when the mobile terminal monitors that a user enters the video application and plays the live broadcast, current screen content (including images displayed on the screen and sound corresponding to the images) is automatically recorded at the background, and after the mobile terminal receives a recording storage request triggered by the user, the mobile terminal intercepts the screen recording content which is 3 minutes before the recording storage request triggered by the user is received, and stores the screen recording content to a specified position of the mobile terminal.
In this embodiment, by determining that the current screen recording mode of the mobile terminal is the automatic screen recording mode and identifying that the application currently executed by the mobile terminal is the application to be recorded, the background screen recording process is started, and according to the received recording and storing request, the screen content cached before the time point when the recording and storing request is received is intercepted, so as to obtain and store the intercepted screen content, thereby effectively realizing that the content to be recorded can be completely recorded in different scenes based on the needs of the user.
Fig. 3 is a schematic flow chart of another screen recording method provided by the present invention, as shown in fig. 3:
s301, when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and user operation is received, starting background screen recording processing so as to record and cache screen content of the mobile terminal.
S302, receiving a recording and saving request.
And S303, according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request so as to obtain and store the intercepted screen content.
In this embodiment, when it is determined that the screen recording mode of the mobile terminal is the automatic screen recording mode and the automatic screen recording mode is started, the mobile terminal automatically starts to record the current screen content in the background when receiving a user operation, and triggers a recording and saving request by the user, and the mobile terminal intercepts the screen recording content before receiving the recording and saving request triggered by the user and saves the screen recording content to the specified position of the mobile terminal. For example, the user operation may be that the mobile terminal detects that the screen changes from a screen-off state to a screen-on state, or that the mobile terminal changes from a screen-locking state to an screen-unlocking state, or that the user touches the screen to perform a certain operation, and the like.
In this embodiment, when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the user operation is received, screen recording processing is automatically performed in the background, and according to the received recording and storing request, screen content cached before the time point when the recording and storing request is received is intercepted and stored in the mobile terminal, so that complete recording of content to be recorded can be effectively achieved based on the user requirement.
Fig. 4 is a schematic structural diagram of a screen recording apparatus according to the present invention, and as shown in fig. 4, the apparatus provided in this embodiment includes:
the detection module 401 is configured to detect whether a screen recording trigger condition is met;
the screen recording module 402 is configured to start a background screen recording process when it is detected that a screen recording trigger condition is met, so as to perform recording and caching processes on screen content of the mobile terminal;
a receiving module 403, configured to receive a recording and saving request;
the storage module 404 is configured to intercept, according to the recording and storing request, the screen content cached before the time point when the recording and storing request is received, so as to obtain and store the intercepted screen content.
Optionally, the detection module 401 is specifically configured to:
detecting whether a recording starting instruction is received;
and when a recording starting instruction is detected, determining that a screen recording triggering condition is met.
Optionally, the detection module 401 is specifically configured to:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
detecting whether a user operation is received;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and user operation is received, determining that the screen recording triggering condition is met.
Optionally, the detection module 401 is specifically configured to:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
identifying whether the application currently executed by the mobile terminal is an application to be recorded;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, determining that the screen recording triggering condition is met.
Optionally, when determining that the current screen recording mode of the mobile terminal is the automatic screen recording mode and identifying that the application currently executed by the mobile terminal is the application to be recorded, determining that the screen recording trigger condition is satisfied includes:
and when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be a voice call, a video call or a game application, determining that the screen recording triggering condition is met.
Optionally, when determining that the current screen recording mode of the mobile terminal is the automatic screen recording mode and identifying that the application currently executed by the mobile terminal is the application to be recorded, determining that the screen recording trigger condition is satisfied includes:
when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application for playing the video, determining the type of the video;
and when the type of the video is determined to be the live type, determining that the screen recording triggering condition is met.
Optionally, the saving module 404 is specifically configured to:
acquiring a time length corresponding to user operation or a time length corresponding to an application to be recorded according to the acquired recording and storing request;
and intercepting the screen content cached before the time point of acquiring the recording and storing request according to the time length corresponding to the user operation or the time length corresponding to the application to be recorded so as to acquire and store the intercepted screen content.
Optionally, the recording and storing request includes a storing duration;
the saving module 404 is specifically configured to: and intercepting the cached screen content before the time point of receiving the recording and storing request according to the storing time length.
The apparatus of the foregoing embodiment may be configured to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of a screen recording device according to the present invention, and as shown in fig. 5, the device according to this embodiment includes:
a memory 51 for storing instructions executable by the processor 52;
a processor 52 for implementing the method of the embodiment shown in any of fig. 1 to 3 when the computer program is executed.
Fig. 6 is a block diagram of a mobile terminal according to the present invention, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
The apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the screen recording method described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for screen recording, comprising:
detecting whether a screen recording triggering condition is met;
when the screen recording triggering condition is detected to be met, starting background screen recording processing so as to record and cache screen contents of the mobile terminal;
receiving a recording and storing request;
and according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request so as to obtain and store the intercepted screen content.
2. The screen recording method according to claim 1, wherein the detecting whether the screen recording triggering condition is met comprises:
detecting whether a recording starting instruction is received;
and when a recording starting instruction is detected, determining that a screen recording triggering condition is met.
3. The screen recording method according to claim 1, wherein the detecting whether the screen recording triggering condition is met comprises:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
detecting whether an operation is received;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the operation is received, determining that the screen recording triggering condition is met.
4. The screen recording method according to claim 3, wherein the detecting whether the screen recording triggering condition is met comprises:
detecting whether the current screen recording mode of the mobile terminal is an automatic screen recording mode;
identifying whether the application currently executed by the mobile terminal is an application to be recorded;
and when the current screen recording mode of the mobile terminal is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application to be recorded, determining that a screen recording triggering condition is met.
5. The screen recording method according to claim 4, wherein when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is the application to be recorded, determining that the screen recording trigger condition is satisfied comprises:
when the automatic screen recording mode is determined to be the automatic screen recording mode, and the application currently executed by the mobile terminal is identified to be at least one of the following applications: and determining that the screen recording triggering condition is met during voice call, video call or game application.
6. The screen recording method according to claim 4, wherein when it is determined that the current screen recording mode of the mobile terminal is the automatic screen recording mode and the application currently executed by the mobile terminal is the application to be recorded, determining that the screen recording trigger condition is satisfied comprises:
when the automatic screen recording mode is determined to be the automatic screen recording mode and the application currently executed by the mobile terminal is identified to be the application for playing the video, determining the type of the video;
and when the type of the video is determined to be a live type, determining that a screen recording triggering condition is met.
7. The screen recording method according to any one of claims 1 to 6, wherein the capturing, according to the obtained recording and saving request, the screen content cached before the time point when the recording and saving request is obtained, so as to obtain and save the captured screen content, includes:
acquiring a time length corresponding to operation or a time length corresponding to an application to be recorded according to the acquired recording and storing request;
and intercepting the screen content cached before the time point of acquiring the recording and storing request according to the time length corresponding to the operation or the time length corresponding to the application to be recorded so as to acquire and store the intercepted screen content.
8. The screen recording method according to any one of claims 1 to 6, wherein the recording save request includes a save duration;
according to the recording and storing request, intercepting the cached screen content before the time point of receiving the recording and storing request, wherein the intercepting comprises the following steps:
and intercepting the cached screen content before the time point of receiving the recording and storing request according to the storing duration.
9. A screen recording device comprising:
a memory for storing processor-executable instructions;
a processor for implementing the method of any one of claims 1 to 8 when the computer program is executed.
10. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the screen recording method of any one of claims 1 to 8.
CN201911249358.7A 2019-12-09 2019-12-09 Screen recording method, device and readable storage medium Pending CN111031177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911249358.7A CN111031177A (en) 2019-12-09 2019-12-09 Screen recording method, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911249358.7A CN111031177A (en) 2019-12-09 2019-12-09 Screen recording method, device and readable storage medium

Publications (1)

Publication Number Publication Date
CN111031177A true CN111031177A (en) 2020-04-17

Family

ID=70205277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911249358.7A Pending CN111031177A (en) 2019-12-09 2019-12-09 Screen recording method, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111031177A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565321A (en) * 2020-04-28 2020-08-21 聚好看科技股份有限公司 Terminal device, server and method for screen recording
CN112073641A (en) * 2020-09-18 2020-12-11 深圳市众志联城科技有限公司 Image shooting method and device, mobile terminal and storage medium
CN112601118A (en) * 2020-12-07 2021-04-02 海信视像科技股份有限公司 Display device and video recording method
CN113312237A (en) * 2021-06-07 2021-08-27 上海游密信息科技有限公司 Information feedback method and device, electronic equipment and storage medium
CN114095776A (en) * 2021-10-18 2022-02-25 荣耀终端有限公司 Screen recording method and electronic equipment
CN114615098A (en) * 2022-03-17 2022-06-10 北京华伟恒远信息系统技术有限公司 Method, device, conference platform and medium for realizing backtracking function of conference process
CN116668763A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device
CN116668762A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107249707A (en) * 2014-12-19 2017-10-13 Cy游戏公司 Information processing system, server, program and information processing method
US20180284981A1 (en) * 2017-03-28 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen capture processing
CN108810437A (en) * 2018-05-28 2018-11-13 努比亚技术有限公司 Record screen method, terminal and computer readable storage medium
CN109718537A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Game video method for recording, mobile terminal and computer readable storage medium
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107249707A (en) * 2014-12-19 2017-10-13 Cy游戏公司 Information processing system, server, program and information processing method
US20180284981A1 (en) * 2017-03-28 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen capture processing
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium
CN108810437A (en) * 2018-05-28 2018-11-13 努比亚技术有限公司 Record screen method, terminal and computer readable storage medium
CN109718537A (en) * 2018-12-29 2019-05-07 努比亚技术有限公司 Game video method for recording, mobile terminal and computer readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565321A (en) * 2020-04-28 2020-08-21 聚好看科技股份有限公司 Terminal device, server and method for screen recording
CN112073641A (en) * 2020-09-18 2020-12-11 深圳市众志联城科技有限公司 Image shooting method and device, mobile terminal and storage medium
CN112601118A (en) * 2020-12-07 2021-04-02 海信视像科技股份有限公司 Display device and video recording method
CN113312237A (en) * 2021-06-07 2021-08-27 上海游密信息科技有限公司 Information feedback method and device, electronic equipment and storage medium
CN114095776A (en) * 2021-10-18 2022-02-25 荣耀终端有限公司 Screen recording method and electronic equipment
CN114615098A (en) * 2022-03-17 2022-06-10 北京华伟恒远信息系统技术有限公司 Method, device, conference platform and medium for realizing backtracking function of conference process
CN116668763A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device
CN116668762A (en) * 2022-11-10 2023-08-29 荣耀终端有限公司 Screen recording method and device
CN116668762B (en) * 2022-11-10 2024-04-05 荣耀终端有限公司 Screen recording method and device
CN116668763B (en) * 2022-11-10 2024-04-19 荣耀终端有限公司 Screen recording method and device

Similar Documents

Publication Publication Date Title
CN111031177A (en) Screen recording method, device and readable storage medium
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
CN106911961B (en) Multimedia data playing method and device
EP3182716A1 (en) Method and device for video display
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
CN105338409B (en) Network video preloading method and device
CN105159640B (en) Display interface rotating method and device and mobile terminal
CN109557999B (en) Bright screen control method and device and storage medium
EP3188066A1 (en) A method and an apparatus for managing an application
CN107608561B (en) Touch screen control method and device
US10292004B2 (en) Method, device and medium for acquiring location information
CN106792173B (en) Video playing method and device and non-transitory computer readable storage medium
US20190235745A1 (en) Method and device for displaying descriptive information
CN108763104B (en) Method and device for pre-reading file page and storage medium
CN107562349B (en) Method and device for executing processing
CN109413157B (en) Message shielding method and device
CN106547462B (en) Photographing control method and device and mobile terminal
CN105786561B (en) Method and device for calling process
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN109922203B (en) Terminal, screen off method and device
CN108647074B (en) Method, device, hardware device and medium for displaying dynamic information in screen locking state
CN107832377B (en) Image information display method, device and system, and storage medium
CN110809184A (en) Video processing method, device and storage medium
CN114186154A (en) Page processing method and device, electronic equipment and storage medium
CN108833994B (en) Advertisement playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination