CN107957899B - Screen recording method and device, computer readable storage medium and mobile terminal - Google Patents
Screen recording method and device, computer readable storage medium and mobile terminal Download PDFInfo
- Publication number
- CN107957899B CN107957899B CN201711270497.9A CN201711270497A CN107957899B CN 107957899 B CN107957899 B CN 107957899B CN 201711270497 A CN201711270497 A CN 201711270497A CN 107957899 B CN107957899 B CN 107957899B
- Authority
- CN
- China
- Prior art keywords
- screen recording
- parameter
- screen
- recording
- parameters
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
Abstract
The embodiment of the invention discloses a screen recording method, a screen recording device, a computer readable storage medium and a mobile terminal, which are used for improving the success rate of screen recording and enhancing the use experience of a user. The method comprises the following steps: receiving a screen recording instruction, wherein the screen recording instruction comprises a first screen recording parameter; if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording a screen according to the first screen recording parameter; and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from the parameter list, and recording the screen according to the second screen recording parameter. According to the technical scheme provided by the invention, a user does not need to continuously try to input the screen recording parameters, so that the screen recording efficiency and success rate can be improved, and better use experience is brought to the screen recording user.
Description
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a screen recording method and apparatus, a computer-readable storage medium, and a mobile terminal.
Background
The screen recording means that some screen recording application programs are adopted to record audio and video contents which are being played on screens of intelligent mobile terminals such as smart phones and tablet computers. With the wide popularization of intelligent mobile terminals such as smart phones and tablet computers, in order to keep the use traces of the terminals, users can keep playback through screen recording in the process of using the intelligent mobile terminals. When a user inputs parameters which are not supported by the system to be set, the user can prompt that the recording fails, the abnormal situation is thrown out, and more seriously, the screen recording application is broken down.
For the processing mode of screen recording failure, the existing processing scheme usually lets the user input the recording parameters again.
However, since inputting reasonable parameters during screen recording is a relatively professional operation, some users may not succeed in inputting recording parameters again after screen recording fails, and sometimes need to try to input recording parameters repeatedly. Therefore, the screen recording success rate and efficiency are low, and the user experience is also affected badly.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a screen recording method, a screen recording device, a computer readable storage medium and a mobile terminal, so as to improve the success rate of screen recording and enhance the use experience of a user.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a screen recording method for a mobile terminal, where the method includes:
receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording a screen according to the first screen recording parameter;
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from a parameter list, and recording the screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect, if the first screen recording parameter is a screen recording parameter supported by a mobile terminal system, performing screen recording according to the first screen recording parameter includes:
and selecting the screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, setting the screen recording parameter as the screen recording parameter required during the screen recording, and then recording the screen.
With reference to the first implementation manner of the first aspect of the embodiments of the present invention, in a second implementation manner of the first aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the current screen recording and then performing screen recording includes:
sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and if the number of the matched and consistent screen recording parameters with higher importance reaches a preset value, determining the screen recording parameters matched with each screen recording parameter in the group of first screen recording parameters in the parameter list as the screen recording parameters required in the screen recording process, and then recording the screen.
With reference to the first implementation manner of the first aspect of the embodiments of the present invention, in a third implementation manner of the first aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the current screen recording and then performing screen recording includes:
matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording similarity;
and recording the screen after taking the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one of the screen recording parameters required during the screen recording at this time.
With reference to the first aspect of the embodiments, the first, second, or third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the method further includes:
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, throwing screen recording abnormity.
In order to achieve the above object, a second aspect of the embodiments of the present invention provides a screen recording apparatus, including:
the instruction receiving module is used for receiving a screen recording instruction, wherein the screen recording instruction is used for instructing screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
the first screen recording module is used for recording a screen according to the first screen recording parameter if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system;
and the second screen recording module is used for acquiring a second screen recording parameter from a parameter list if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, and recording the screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
With reference to the second aspect of the embodiment of the present invention, in a first implementation manner of the second aspect, the second screen recording module includes:
and the selection unit is used for selecting the screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, setting the screen recording parameter as the screen recording parameter required by the screen recording at this time, and then recording the screen.
With reference to the first implementation manner of the second aspect of the embodiment of the present invention, in a second implementation manner of the second aspect, the selecting unit includes:
the sorting unit is used for sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
the first matching unit is used for sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and the first determining unit is used for determining the screen recording parameters matched with the screen recording parameters in the group of first screen recording parameters in the parameter list as the screen recording parameters required during the screen recording if the number of the matched screen recording parameters with higher importance reaches a preset value.
With reference to the first implementation manner of the second aspect of the embodiment of the present invention, in a third implementation manner of the second aspect, the selecting unit includes:
the second matching unit is used for matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording the similarity;
and the second determining unit is used for recording the screen after the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list is taken as one of the screen recording parameters required during the screen recording at this time.
With reference to the second aspect, the first, second or third embodiment of the second aspect, in a fourth embodiment of the second aspect, the apparatus further comprises:
and the abnormity prompting module is used for throwing the screen recording abnormity if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system.
In order to achieve the above object, a third aspect of embodiments of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps of the method when executing the computer program:
receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording a screen according to the first screen recording parameter;
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from a parameter list, and recording the screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
With reference to the third aspect of the embodiment of the present invention, in a first implementation manner of the third aspect, if the first screen recording parameter is a screen recording parameter supported by a mobile terminal system, performing screen recording according to the first screen recording parameter includes:
and selecting the screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, setting the screen recording parameter as the screen recording parameter required during the screen recording, and then recording the screen.
With reference to the first implementation manner of the third aspect of the embodiments of the present invention, in a second implementation manner of the third aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the current screen recording and then performing screen recording includes:
sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and if the number of the matched and consistent screen recording parameters with higher importance reaches a preset value, determining the screen recording parameters matched with each screen recording parameter in the group of first screen recording parameters in the parameter list as the screen recording parameters required in the screen recording process, and then recording the screen.
With reference to the first implementation manner of the third aspect of the embodiments of the present invention, in a third implementation manner of the third aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the current screen recording and then performing screen recording includes:
matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording similarity;
and recording the screen after taking the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one of the screen recording parameters required during the screen recording at this time.
With reference to the third aspect of the present embodiments, and the first, second, or third implementation manners of the third aspect, in a fourth implementation manner of the third aspect, the method further includes:
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, throwing screen recording abnormity.
To achieve the above object, a fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the steps of the method:
receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording a screen according to the first screen recording parameter;
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from a parameter list, and recording the screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
With reference to the fourth aspect of the present invention, in a first implementation manner of the fourth aspect, if the first screen recording parameter is a screen recording parameter supported by a mobile terminal system, performing screen recording according to the first screen recording parameter includes:
and selecting the screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, setting the screen recording parameter as the screen recording parameter required during the screen recording, and then recording the screen.
With reference to the first implementation manner of the fourth aspect of the present invention, in a second implementation manner of the fourth aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the screen recording of this time, and then performing screen recording includes:
sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and if the number of the matched and consistent screen recording parameters with higher importance reaches a preset value, determining the screen recording parameters matched with each screen recording parameter in the group of first screen recording parameters in the parameter list as the screen recording parameters required in the screen recording process, and then recording the screen.
With reference to the first implementation manner of the fourth aspect of the embodiments of the present invention, in a third implementation manner of the fourth aspect, the selecting, from a parameter list, a screen recording parameter with a highest matching degree with the first screen recording parameter as a screen recording parameter required in the current screen recording, and then performing screen recording includes:
matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording similarity;
and recording the screen after taking the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one of the screen recording parameters required during the screen recording at this time.
With reference to the fourth aspect of the present embodiments, and the first, second, or third implementation manners of the fourth aspect, in a fourth implementation manner of the fourth aspect, the method further includes:
and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, throwing screen recording abnormity.
According to the technical scheme provided by the embodiment of the invention, when the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, the second screen recording parameter can be obtained from the parameter list, and screen recording is carried out according to the second screen recording parameter. Therefore, compared with the prior art that the screen recording parameters are input continuously by the user until the screen recording succeeds, the technical scheme provided by the invention does not need the user to input the screen recording parameters continuously, so that the screen recording efficiency and success rate can be improved, and better use experience is brought to the screen recording user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a screen recording method according to an embodiment of the present invention;
fig. 3 is a flowchart of a screen recording method according to another embodiment of the present invention;
fig. 4 is a flowchart of a screen recording method according to another embodiment of the present invention;
fig. 5 is a block diagram of a screen recording device according to an embodiment of the present invention;
fig. 6 is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 7 is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 8 is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 9-a is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 9-b is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 9-c is a block diagram of a screen recording apparatus according to another embodiment of the present invention;
fig. 9-d is a block diagram of a screen recording device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a block diagram of a mobile terminal. The screen recording method provided by the embodiment of the present invention may be applied to the mobile terminal 10 shown in fig. 1, where the mobile terminal 10 may include, but is not limited to: the system is a smart phone, a notebook, a tablet computer, a wearable smart device and the like which need to maintain normal operation by depending on a battery and support network and downloading functions.
As shown in fig. 1, the mobile terminal 10 includes a memory 101, a memory controller 102, one or more processors 103 (only one shown), a peripheral interface 104, a radio frequency module 105, a key module 106, an audio module 107, and a touch screen 108. These components communicate with each other via one or more communication buses/signal lines 109.
It is to be understood that the structure shown in fig. 1 is only an illustration and does not limit the structure of the mobile terminal. The mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or may have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be used to store software programs and modules, such as program instructions/modules corresponding to the method for notifying the public account information and the mobile terminal in the embodiment of the present invention, and the processor 103 executes various functional applications and data processing by running the software programs and modules stored in the memory 101, that is, implements the method for notifying the public account information.
The peripheral interface 104 couples various input/output devices to the CPU and to the memory 101. The processor 103 executes various software, instructions within the memory 101 to perform various functions of the mobile terminal 10 and to perform data processing.
In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 105 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf module 105 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 105 may communicate with various networks such as the internet, an intranet, a preset type of wireless network, or other devices through a preset type of wireless network. The preset types of wireless networks described above may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The Wireless network of the above-mentioned preset type may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.11 n), Voice over Internet protocol (VoIP), world wide web for Wireless Access (Wi-Max), other protocols for email, instant messaging, and short messaging, and any other suitable messaging protocol.
The key module 106 provides an interface for user input to the mobile terminal, and the user may cause the mobile terminal 10 to perform different functions by pressing different keys.
The touch screen 108 provides both an output and an input interface between the mobile terminal and the user. In particular, the touch screen 108 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. The touch screen 108 also receives user inputs, such as user clicks, swipes, and other gesture operations, for the user interface objects to respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen 108 display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
Based on the mobile terminal, a flowchart describing the screen recording method in the embodiment of the present invention is shown in fig. 2, and an execution main body of the method may be a mobile terminal, and mainly includes the following steps S201 to S203, which are explained in detail as follows:
s201, receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter.
In the embodiment of the invention, the screen recording instruction can be received by monitoring the screen recording function. The screen recording function is a main function for realizing screen recording operation, so that if the input, processing, output and other processes of the screen recording function are monitored, the current screen recording operation can be monitored, and a screen recording instruction is received, wherein the screen recording instruction is used for indicating screen recording operation, the screen recording instruction comprises a first screen recording parameter, the first screen recording parameter can be a screen recording parameter input by a user, and can be resolution, coding format, code rate, frame frequency, background color, recorded screen size and the like set during video recording.
And S202, if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording the screen according to the first screen recording parameter.
And S203, if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from the parameter list, and recording the screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
In the embodiment of the present invention, if the first screen recording parameter is not a screen recording parameter supported by the mobile terminal system, a second screen recording parameter is obtained from the parameter list, and screen recording is performed according to the second screen recording parameter, specifically, a screen recording parameter with the highest matching degree with the first screen recording parameter may be selected from the parameter list and set as the screen recording parameter required during screen recording of this time, and then screen recording is performed. The highest matching degree may be considered to be the highest similarity between the two, and so on.
As can be seen from the screen recording method illustrated in fig. 2, when the first screen recording parameter is not a screen recording parameter supported by the mobile terminal system, the second screen recording parameter can be obtained from the parameter list, and screen recording is performed according to the second screen recording parameter. Therefore, compared with the prior art that the screen recording parameters are input continuously by the user until the screen recording succeeds, the technical scheme provided by the invention does not need the user to input the screen recording parameters continuously, so that the screen recording efficiency and success rate can be improved, and better use experience is brought to the screen recording user.
A flowchart describing a screen recording method according to another embodiment of the present invention based on the mobile terminal is shown in fig. 3, and mainly includes the following steps S301 to S305, which are explained in detail as follows:
s301, receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter.
The implementation of step S301 is the same as the implementation of step S201 in the foregoing embodiment, and the process, terms, concepts, and the like of the implementation can refer to the description of the foregoing embodiment, which is not described herein again.
And S302, if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording the screen according to the first screen recording parameter.
The implementation of step S302 is the same as the implementation of step S202 in the foregoing embodiment, and the process, terms, concepts, and the like of the implementation can refer to the description of the foregoing embodiment, which is not described herein again.
And S303, if the first screen recording parameters are not screen recording parameters supported by the mobile terminal system, sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter.
Not all screen recording parameters are equally important for different recording objects. For example, for a recording object that is a video recording screen, the recording parameters such as resolution, code rate, frame rate, and even background color may be relatively important or mainly considered, whereas for a recording object that is an audio recording screen, the recording parameters such as resolution and background color are less important or mainly considered, and at this time, the recording parameters such as code rate, frame rate, and even coding format are relatively important recording parameters.
And S304, sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low.
Assuming that the input set of first screen recording parameters comprises P1, P4, P6, P2, P5 and P3, if the first screen recording parameters are sorted from high to low according to the importance degree, the sorting result is P1> P2> P3> P4> P5> P6, and the screen recording parameters in the parameter list comprise P '4, P' 1, P '5, P' 6, P '2, P' 3, P7 and P8. Matching P1 with P '1, matching P2 with P' 2, matching P3 with P '3, matching P4 with P' 4, matching P5 with P '5, matching P6 with P' 6, wherein if every two parameters are the same or the similarity is within a preset threshold range, the two parameters are matched in a consistent manner.
And S305, if the number of the screen recording parameters with higher importance degree matched with the same number reaches a preset value, determining the screen recording parameters matched with each screen recording parameter in a group of first screen recording parameters in the parameter list as the screen recording parameters required in the screen recording process, and then recording the screen.
Assuming that the preset values are 4 pairs, for the example of step S304, only P1 needs to be matched with P '1, P2 needs to be matched with P' 2, P3 needs to be matched with P '3, and P4 needs to be matched with P' 4, and P5 needs to be matched with P '5, and P6 needs to be matched with P' 6, respectively, then P '1, P' 2, P '5, P' 6, P '5, and P' 6 in the parameter list are determined as the screen recording parameters required in the screen recording process, and then screen recording is performed.
A flowchart describing a screen recording method according to another embodiment of the present invention based on the mobile terminal is shown in fig. 4, and mainly includes the following steps S401 to S404, which are explained in detail as follows:
s401, receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter.
The implementation of step S401 is the same as the implementation of step S201 or S301 in the foregoing embodiment, and the process, terms, concepts, and the like may refer to the description of the foregoing embodiment, which is not described herein again.
And S402, if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording the screen according to the first screen recording parameter.
The implementation of step S402 is the same as the implementation of step S202 or S302 in the foregoing embodiment, and the process, terms, concepts, and the like of the implementation can refer to the description of the foregoing embodiment, which is not repeated herein.
And S403, matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording the similarity.
And S404, taking the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one screen recording parameter in the screen recording parameters required in the screen recording process, and then recording the screen.
Assuming that the input screen recording parameters include P1, P2, P3, P4 and P5, the screen recording parameters in the parameter list include P ' 1, P ' 2, P ' 3, P ' 4, P ' 5, P ' 6, P ' 7, P ' 8 and P ' 9, then P1 is matched with P ' 1, P ' 2, P ' 3, P ' 4, P ' 5, P ' 6, P ' 7, P ' 8 and P ' 9, the corresponding similarity is recorded as C11, C12, C13, C14, C15, C16, C17, C18 and C19, if C11, C12, C13, C14, C15, C16, C17, C18 and C19 are the highest, then P ' 1 is taken as one screen recording parameter required in the screen recording of the current screen recording; similarly, if after matching, P ' 2 is the screen recording parameter with the highest similarity to P2 in P ' 1, P ' 2, P ' 3, P ' 4, P ' 5, P ' 6, P ' 7, P ' 8 and P ' 9, then P ' 2 is taken as one of the screen recording parameters required in this screen recording, and so on. When the matching work is completed and the final result, for example, the final result may be a group of screen recording parameters with the highest similarity to P1, P2, P3, P4 and P5 respectively, P ' 1, P ' 2, P ' 3, P ' 4 and P ' 5 in the parameter list are taken as the screen recording parameters required in this screen recording.
In the foregoing embodiment of the present invention, the screen recording method further includes throwing a screen recording exception if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, so as to remind the user that the screen recording parameter input by the user is incorrect, and the user may try to input the screen recording parameter again, or, as described in the foregoing embodiment, obtaining a second screen recording parameter from the parameter list, and recording the screen according to the second screen recording parameter.
Please refer to fig. 5, which is a screen recording apparatus according to an embodiment of the present invention. For convenience of explanation, only portions related to the embodiments of the present invention are shown. The screen recording apparatus provided in fig. 5 mainly includes an instruction receiving module 501, a first screen recording module 502, and a second screen recording module 503, which are described in detail as follows:
the instruction receiving module 501 is configured to receive a screen recording instruction, where the screen recording instruction is used to instruct to perform screen recording operation, and the screen recording instruction includes a first screen recording parameter;
the first screen recording module 502 is configured to record a screen according to a first screen recording parameter if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system;
the second screen recording module 503 is configured to, if the first screen recording parameter is not a screen recording parameter supported by the mobile terminal system, obtain a second screen recording parameter from the parameter list, and record a screen according to the second screen recording parameter, where one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list.
It should be noted that, since the apparatus provided in the embodiment of the present invention is based on the same concept as the method embodiment of the present invention, the technical effect brought by the apparatus is the same as the method embodiment of the present invention, and specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
The second screen recording module 503 illustrated in fig. 5 may include a selection unit 601, such as the screen recording apparatus illustrated in fig. 6. The selecting unit 601 is configured to select a screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, set as a screen recording parameter required in the screen recording of this time, and then record the screen.
The selecting unit 601 illustrated in fig. 6 may include a sorting unit 701, a first matching unit 702, and a first determining unit 703, such as the screen recording apparatus illustrated in fig. 7, wherein:
a sorting unit 701, configured to sort a set of first screen recording parameters from high to low according to importance degrees of the parameters;
a first matching unit 702, configured to match, in order from high to low in importance degree, each screen recording parameter in a group of first screen recording parameters with a screen recording parameter in a parameter list in sequence;
the first determining unit 703 is configured to, if the number of pairs of screen recording parameters with higher importance matches the preset value, determine a screen recording parameter that matches each screen recording parameter in a group of first screen recording parameters in the parameter list as a screen recording parameter required in this screen recording, and then record a screen.
The selecting unit 601 illustrated in fig. 6 may include a second matching unit 801 and a second determining unit 802, such as the screen recording apparatus illustrated in fig. 8, wherein:
a second matching unit 801, configured to match each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list, and record similarity;
a second determining unit 802, configured to record a screen after taking a screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one of the screen recording parameters required in the screen recording of this time.
The device shown in any of fig. 5 to 8 may further include an exception prompting module 901, such as the screen recording device shown in any of fig. 9-a to 9-d. The exception prompting module 901 is configured to throw a screen recording exception if the first screen recording parameter is not a screen recording parameter supported by the mobile terminal system.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description of the screen recording method, apparatus, mobile terminal and computer readable storage medium provided by the present invention, for those skilled in the art, according to the idea of the embodiment of the present invention, there may be changes in the specific implementation manner and the application scope, and in summary, the content of the present specification should not be construed as limiting the present invention.
Claims (8)
1. A screen recording method is used for a mobile terminal, and is characterized by comprising the following steps: receiving a screen recording instruction, wherein the screen recording instruction is used for indicating screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system, recording a screen according to the first screen recording parameter;
if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, acquiring a second screen recording parameter from a parameter list, and recording a screen according to the second screen recording parameter, wherein the parameter list stores a plurality of screen recording parameters supported by the mobile terminal system;
the acquiring a second screen recording parameter from the parameter list and recording the screen according to the second screen recording parameter includes: selecting a screen recording parameter with the highest matching degree with the first screen recording parameter from a parameter list, setting the screen recording parameter as a screen recording parameter required during the screen recording, and then recording the screen; the method specifically comprises the following steps:
sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and if the number of the matched logarithms of the screen recording parameters reaches a preset value, determining the screen recording parameters matched with each screen recording parameter in the group of first screen recording parameters in the parameter list as the screen recording parameters required in the screen recording process, and then recording the screen.
2. The screen recording method of claim 1, wherein the screen recording is performed after the screen recording parameter with the highest matching degree with the first screen recording parameter is selected from the parameter list and set as the screen recording parameter required in the screen recording of the time, and the method comprises the following steps: matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording similarity;
and recording the screen after taking the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list as one of the screen recording parameters required during the screen recording at this time.
3. The screen recording method according to claim 1 or 2, wherein the method further comprises: and if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system, throwing screen recording abnormity.
4. A screen recording apparatus, the apparatus comprising:
the instruction receiving module is used for receiving a screen recording instruction, wherein the screen recording instruction is used for instructing screen recording operation, and the screen recording instruction comprises a first screen recording parameter;
the first screen recording module is used for recording a screen according to the first screen recording parameter if the first screen recording parameter is a screen recording parameter supported by the mobile terminal system;
the second screen recording module is used for acquiring a second screen recording parameter from a parameter list if the first screen recording parameter is not a screen recording parameter supported by the mobile terminal system, and recording a screen according to the second screen recording parameter, wherein one or more screen recording parameters supported by the mobile terminal system are stored in the parameter list;
the second screen recording module comprises: the selection unit is used for selecting the screen recording parameter with the highest matching degree with the first screen recording parameter from the parameter list, setting the screen recording parameter as the screen recording parameter required by the screen recording at the time, and then recording the screen; the selection unit includes:
the sorting unit is used for sorting a group of first screen recording parameters from high to low according to the importance degree of each parameter;
the first matching unit is used for sequentially matching each screen recording parameter in the group of first screen recording parameters with the screen recording parameters in the parameter list according to the sequence of the importance degrees from high to low;
and the first determining unit is used for determining the screen recording parameters matched with each screen recording parameter in the group of first screen recording parameters in the parameter list as the required screen recording parameters during the screen recording if the number of the matched logarithms of the screen recording parameters reaches a preset value.
5. The screen recording apparatus according to claim 4, wherein the selection unit includes: the second matching unit is used for matching each screen recording parameter in the first screen recording parameters with each screen recording parameter in the parameter list and recording the similarity;
and the second determining unit is used for recording the screen after the screen recording parameter with the highest similarity to the first screen recording parameter in the parameter list is taken as one of the screen recording parameters required during the screen recording at this time.
6. A screen recording apparatus as claimed in claim 4 or 5, wherein said apparatus further comprises: and the abnormity prompting module is used for throwing the screen recording abnormity if the first screen recording parameter is not the screen recording parameter supported by the mobile terminal system.
7. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270497.9A CN107957899B (en) | 2017-12-05 | 2017-12-05 | Screen recording method and device, computer readable storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270497.9A CN107957899B (en) | 2017-12-05 | 2017-12-05 | Screen recording method and device, computer readable storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107957899A CN107957899A (en) | 2018-04-24 |
CN107957899B true CN107957899B (en) | 2021-06-22 |
Family
ID=61957459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711270497.9A Active CN107957899B (en) | 2017-12-05 | 2017-12-05 | Screen recording method and device, computer readable storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107957899B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI701656B (en) * | 2019-07-10 | 2020-08-11 | 大陸商北京歐錸德微電子技術有限公司 | Drive circuit, display device and information processing device |
CN114489547A (en) * | 2022-01-30 | 2022-05-13 | 深圳创维-Rgb电子有限公司 | Screen projection method and device, electronic equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103280232A (en) * | 2013-04-08 | 2013-09-04 | 北京小米科技有限责任公司 | Method and device for audio recording and terminal equipment |
CN204887304U (en) * | 2015-08-25 | 2015-12-16 | 北京新唐思创教育科技有限公司 | Record screen terminal equipment |
CN105635613A (en) * | 2015-12-16 | 2016-06-01 | 北京奇虎科技有限公司 | Screen recording method and device of mobile device |
CN105872580A (en) * | 2016-04-15 | 2016-08-17 | 广州酷狗计算机科技有限公司 | Recording method and device of live broadcast video |
CN106648531A (en) * | 2016-12-21 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for automatically matching different audio parameters based on mobile terminal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110289398A1 (en) * | 2004-11-26 | 2011-11-24 | Philip King Chin | Method of displaying data in a table with a fixed header |
CN101316421A (en) * | 2008-07-11 | 2008-12-03 | 中国网络通信集团公司 | Parameter confirming method and device, and network card |
CN103246752A (en) * | 2013-05-30 | 2013-08-14 | 北京瑞翔恒宇科技有限公司 | System for associating ppt document with audio |
CN105094202B (en) * | 2015-09-02 | 2017-01-11 | 重庆大学 | ECPT system output voltage stability control method based on NSGA-II parameter optimization |
US20170199748A1 (en) * | 2016-01-13 | 2017-07-13 | International Business Machines Corporation | Preventing accidental interaction when rendering user interface components |
CN105704539A (en) * | 2016-02-15 | 2016-06-22 | 努比亚技术有限公司 | Video sharing device and video sharing method |
CN106657864A (en) * | 2016-12-27 | 2017-05-10 | 无锡纽微特科技有限公司 | Video call system and method for switching resolution ratio in video call |
-
2017
- 2017-12-05 CN CN201711270497.9A patent/CN107957899B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103280232A (en) * | 2013-04-08 | 2013-09-04 | 北京小米科技有限责任公司 | Method and device for audio recording and terminal equipment |
CN204887304U (en) * | 2015-08-25 | 2015-12-16 | 北京新唐思创教育科技有限公司 | Record screen terminal equipment |
CN105635613A (en) * | 2015-12-16 | 2016-06-01 | 北京奇虎科技有限公司 | Screen recording method and device of mobile device |
CN105872580A (en) * | 2016-04-15 | 2016-08-17 | 广州酷狗计算机科技有限公司 | Recording method and device of live broadcast video |
CN106648531A (en) * | 2016-12-21 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for automatically matching different audio parameters based on mobile terminal |
Non-Patent Citations (1)
Title |
---|
"Apowersoft安卓录屏王1.0版本正式发布";Apowersoft;《Apowersoft安卓录屏王1.0版本正式发布》;20160614;第1-8页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107957899A (en) | 2018-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683444B (en) | Data transmission method and related product | |
CN107871015B (en) | Log data processing method and device, terminal and readable storage medium | |
CN106406940B (en) | System upgrading method, device and terminal | |
CN103716309A (en) | Security authentication method and terminal | |
CN104571498A (en) | Application program starting method | |
CN106302808A (en) | Data transmission method and mobile terminal | |
CN107948055B (en) | Method, apparatus and computer readable storage medium for masking messages sent by group members | |
CN110765502B (en) | Information processing method and related product | |
CN109992453B (en) | System recovery method and related product | |
CN106488413A (en) | Notification message based reminding method and mobile terminal | |
CN106502826A (en) | Data backup and transmission method and mobile terminal | |
CN106331372A (en) | Data transmission method and mobile terminal | |
CN106445743A (en) | Data backup transmission method and mobile terminal | |
CN112188597A (en) | Proximity-aware network creation method and related product | |
CN106569910A (en) | Data backup and transmission method, and mobile terminal | |
US20150109210A1 (en) | Control method, and input device of touch screen terminal | |
CN107682553B (en) | Call signal sending method and device, mobile terminal and storage medium | |
CN107957899B (en) | Screen recording method and device, computer readable storage medium and mobile terminal | |
CN106569916A (en) | Data backup method and mobile terminal | |
CN104536781A (en) | Terminal | |
CN105808061A (en) | Desktop arranging method and mobile terminal | |
CN108900385B (en) | Network connection method and related product | |
CN108377298B (en) | Method and device for switching answering mode, mobile terminal and computer readable storage medium | |
CN105787323A (en) | Safety protection method for WiFi hotspot and mobile terminal | |
CN105808077A (en) | Method for controlling page turning, and mobile terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |