CN112068771A - Video processing method, video processing device, terminal device and storage medium - Google Patents

Video processing method, video processing device, terminal device and storage medium Download PDF

Info

Publication number
CN112068771A
CN112068771A CN202010828382.2A CN202010828382A CN112068771A CN 112068771 A CN112068771 A CN 112068771A CN 202010828382 A CN202010828382 A CN 202010828382A CN 112068771 A CN112068771 A CN 112068771A
Authority
CN
China
Prior art keywords
video
written
sampling
preset
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010828382.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010828382.2A priority Critical patent/CN112068771A/en
Publication of CN112068771A publication Critical patent/CN112068771A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Abstract

The embodiment of the application discloses a video processing method, a video processing device, a terminal device and a storage medium, which are applied to the field of data processing, wherein the method comprises the following steps: acquiring a write-in instruction of a video to be written in the terminal equipment; acquiring video sampling parameters of a video to be written according to the writing instruction; according to the video sampling parameters, performing data processing on a video to be written to obtain an image frame of the written video; the memory occupation amount of the written video is less than that of the video to be written; and performing writing operation on the image frame of the written video. Therefore, when the terminal equipment has large-capacity data writing, the large-capacity data is usually video data, and the video to be written is subjected to data processing through the video sampling parameters, so that the data writing amount is reduced, the problem of low writing speed caused by large memory occupation of the terminal equipment can be solved, and the service life of a flash memory in the solid state disk is prolonged under the condition that the hard disk of the terminal equipment is the solid state disk.

Description

Video processing method, video processing device, terminal device and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a video processing method, a video processing apparatus, a terminal device, and a storage medium.
Background
At present, for a terminal device with a small capacity (for example, 16GB, 32GB, etc.), if a large amount of data is written, the space occupied by a hard disk (for example, a mechanical hard disk or a solid state hard disk) of the terminal device is large, and thus the writing speed of the data is slow.
Disclosure of Invention
The embodiment of the application provides a video processing method, a video processing device, a terminal device and a storage medium, which can avoid the problem of slow writing speed caused by large memory occupation of the terminal device and prolong the service life of a flash memory in a solid state disk under the condition that the hard disk of the terminal device is the solid state disk.
In a first aspect, a video processing method is provided, including:
acquiring a write-in instruction of a video to be written in the terminal equipment;
acquiring video sampling parameters of the video to be written according to the writing instruction;
according to the video sampling parameters, performing data processing on the video to be written to obtain image frames of the written video; the memory occupation amount of the written video is less than that of the video to be written;
and writing the image frame of the written video.
In a second aspect, a video processing apparatus is provided, including:
the acquisition module is used for acquiring a write-in instruction of a video to be written in the terminal equipment; and the number of the first and second groups,
acquiring video sampling parameters of the video to be written according to the writing instruction;
the processing module is used for carrying out data processing on the video to be written according to the video sampling parameters to obtain image frames of the written video; the memory occupation amount of the written video is less than that of the video to be written; and the number of the first and second groups,
and writing the image frame of the written video.
In a third aspect, there is provided a terminal device comprising a processor and a memory, the processor and the memory being coupled, the memory being configured to store computer program instructions that, when executed by the processor, cause the terminal device to perform the method of the first aspect.
In a fourth aspect, a computer storage medium is provided, in which program instructions are stored, which, when run on a terminal device, cause the terminal device to perform the method of the first aspect described above.
In a fifth aspect, a chip is provided, where the chip is coupled with a memory in a terminal device, so that when the chip is run, the chip calls program instructions stored in the memory, so that the terminal device executes the method of the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages: firstly, acquiring a write-in instruction of a video to be written in a terminal device; then acquiring video sampling parameters of the video to be written according to the writing instruction; then according to the video sampling parameters, performing data processing on the video to be written to obtain image frames of the written video; the memory occupation amount of the written video is less than that of the video to be written; and finally, performing writing operation on the image frame of the written video. Therefore, when the terminal equipment has large-capacity data writing, the large-capacity data is usually video data, and the video to be written is subjected to data processing through the video sampling parameters, so that the data writing amount is reduced, the problem of low writing speed caused by large memory occupation of the terminal equipment can be solved, and the service life of a flash memory in the solid state disk is prolonged under the condition that the hard disk of the terminal equipment is the solid state disk.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
Fig. 1 is a schematic diagram of a video processing method according to an embodiment of the present application;
fig. 2 is a schematic view of an interface displayed by a terminal device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an interface displayed by another terminal device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of another video processing method according to an embodiment of the present application;
fig. 5 is a block diagram of a video processing apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
For a person skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
In the related art, the mechanical hard disk has a mechanical structure, so that the internal components of the mechanical hard disk are relatively complex compared with the solid state hard disk, so that the mechanical hard disk is heavier than the solid state hard disk. With the increasing demand of users for the portability of terminal devices, the utilization rate of the solid state disk in the terminal device is higher.
The solid state disk adopts a flash memory as a storage medium, and the reading speed is higher than that of a mechanical hard disk. The flash memory controller may manage the flash memory (e.g., NAND flash memory) through software (e.g., firmware) and a Flash Translation Layer (FTL). The flash memory controller may be a controller embedded in the solid state disk, or may be an external controller connected to the solid state disk. Considering that the flash memory has a failure mechanism, a failed bit is generated during the use process, and if the failed bit exceeds the rescue range of an Error Checking and Correcting (ECC) engine, the block (so-called block) to which the failed bit belongs is a bad block (so-called bad block) and cannot be used any more. And, each block of the flash memory has a limited erase/write life (also known as PE cycle), so that it is necessary to perform bad block management, ECC engine management, garbage collection (also known as garbel collection, GC) management, wear leveling (also known as wear leveling) management, etc. by FTL to avoid some block failures caused by overuse of some blocks.
However, a small capacity flash memory still has a large amount of data erased to the end of its life. For example, for a handset facing a low end user, an Over Provisioning (OP) is not generally provided for GC, and thus a Write Amplification Factor (WAF) cannot be reduced. Therefore, the FTL is physically limited by small capacity, and the problem of short service life of the flash memory cannot be avoided, so that the service life of the whole terminal equipment is short.
In order to solve the problem, the application considers that when the terminal device has large-capacity data writing, the large-capacity data is usually video data. Therefore, the video-to-be-written video can be subjected to data processing through the video sampling parameters to obtain the video-to-be-written image frames, the memory occupation amount of the video-to-be-written image is smaller than that of the video-to-be-written image frame, and the video-to-be-written image frames are subjected to writing operation. Therefore, by reducing the data writing amount, the problem of slow writing speed caused by large memory occupation of the terminal equipment can be solved, and the service life of the flash memory in the solid state disk is prolonged under the condition that the hard disk of the terminal equipment is the solid state disk, so that the service life of the whole terminal equipment is also prolonged.
The present application will be described in detail with reference to specific examples.
Fig. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure. The method may be applied to a terminal device, and optionally may be performed by a controller in the terminal device. In the embodiment of the present application, the hard disk of the terminal device includes a solid state disk as an example, the controller may be a hardware control module integrated in the flash memory controller, a circuit control module connected to the flash memory controller, a flash memory controller with a video processing function, a Central Processing Unit (CPU) in the terminal device, and the like, which is not limited in this application.
As shown in fig. 1, the method may include:
101. and acquiring a write-in instruction of a video to be written in the terminal equipment.
In the embodiment of the present application, the write instruction may be obtained by, but is not limited to, the following ways:
in the first mode, the terminal device responds to a first storage operation of a storage control on a display interface of the terminal device, and obtains a write-in instruction of a video to be written, which corresponds to the first storage operation.
It is understood that the storage control may be a video download control and/or a video recording control, etc. provided in the video application.
And secondly, the terminal equipment responds to a second storage operation of the storage key on the terminal equipment, and obtains a write-in instruction of the video to be written, which corresponds to the second storage operation.
It is understood that the storage key may be a video download key for downloading video and/or a video recording key for recording video, which are provided on the terminal device. For example, the video download key may be a combination of a volume up key and a power key, the video record key may be a combination of a volume down key and a power key, and so on.
It should be noted that the same storage key can be set for different video applications; alternatively, different storage keys may be set for different video applications, which is not particularly limited in this application.
And a third mode is that under the condition that the write data stream is detected to be video data, a write command of the video to be written corresponding to the write data stream is generated.
It will be appreciated that the video application of the terminal device sends a write data stream to the controller, the write data stream including a data type identifier (e.g. a header of the write data stream indicates the data type). In this way, the controller acquires the data type identifier in the written data stream, and determines that the written data stream is video data under the condition that the data type identifier is the same as the video data identifier; in the case where the data type identifier is determined to be different from the video data identifier, the written data stream is determined to be non-video data, and since the data amount of the non-video data is considered to be generally small in the present application, it is not necessary to perform data processing on the non-video data in order to reduce the data processing amount.
In an optional embodiment of the present application, it is considered that a part of users do not need to perform data processing on a video to be written by using the video processing method in the present application, but directly perform a writing operation on the video to be written. Thus, to improve the flexibility of video writing. As shown in fig. 2, in the present application, a memory saving control and a selection control for controlling the memory saving control may also be arranged in the first setting page of the terminal device. Executing the video processing method in the application when the saved memory control is in the open state; when the memory saving control is in a closed state, executing a process of performing write operation on a video to be written in the prior art. Fig. 2 is a schematic diagram illustrating the memory-saving control in an open state.
102. And acquiring video sampling parameters of the video to be written according to the writing instruction.
Wherein the video sampling parameters include at least one of: sampling frame frequency, sampling resolution, different color component sets and sampling color levels corresponding to different color components respectively; there is a corresponding sampling period and/or sampling order for the different color component sets, the color component sets comprising at least one color component.
It should be noted that the current video parameters of the video to be written may include a current frame rate, a current resolution, a current color component set, and current color levels corresponding to different color components, respectively. Wherein the video sampling parameter may satisfy at least one of the following conditions: the sampling frame frequency is less than the current frame frequency; the sampling resolution is smaller than the current resolution; the number of color components included in at least one color component set is correspondingly smaller than the number of color components included in the current color component set; the sampled levels of the different color components correspond to current levels that are less than the different color components.
It is to be understood that the sampling frame rate may be the number of frames acquired in a unit time (e.g., 1 s). Illustratively, the sampling frame rate may be 50 fs.
It will be appreciated that the sampling resolution may include resolution in two directions (i.e. so-called landscape and portrait) or resolution in a single direction (i.e. so-called landscape or portrait).
It is understood that the sampling period may be a unit time, or a specified number of frames, or the like. For example, the different color component sets include a first color component set (e.g., the first color component set includes an R color component), a second color component set (e.g., the second color component set includes a G color component), and a third color component set (e.g., the third color component set includes a B color component), and the sampling periods corresponding to the different color component sets are all unit times, and the unit time is 1s, and the sampling order corresponding to the different color component sets from first to last may include: a first set of color components, a second set of color components, and a third set of color components.
It should be noted that, the sampling color levels respectively corresponding to different color components may be the same color level, or may be different color levels, which is not limited in this application. Illustratively, the different color components include R, G, B, and the corresponding sampling tone scale is 8.
Optionally, parameter controls respectively corresponding to the parameter types of the video sampling parameters and a selection control for controlling the parameter controls are set in a parameter setting page of the terminal device, so that a user can select a target parameter type to start the terminal device; the parameter type includes a target parameter type. At this time, the step may include: and the terminal equipment acquires the video sampling parameters to which the started target parameter types belong.
As shown in fig. 3, the parameter type may be a frame rate type corresponding to a sampling frame rate, a resolution type corresponding to a sampling resolution, a color component type corresponding to a different color component set, and a color level type corresponding to a sampling color level of a different color component. Thus, if the parameter control corresponding to the frame frequency type is in the open state, the video sampling parameter comprises the sampling frame frequency; if the parameter control corresponding to the resolution type is in an open state, the video sampling parameter comprises a sampling resolution; if the parameter control corresponding to the color component type is in an open state, the video sampling parameters comprise different color component sets; and if the parameter control corresponding to the color level type is in an open state, the video sampling parameters comprise sampling color levels corresponding to different color components respectively. The above example is only an illustrative illustration of opening a single parameter control, and the present application may also open at least two parameter controls at the same time. Fig. 3 is an example of the parameter control corresponding to the color component type being in the on state.
Further, obtaining the video sampling parameters of the video to be written according to the writing instruction may include, but is not limited to, the following ways:
and in the first mode, a target preset sampling parameter corresponding to the video to be written is obtained according to the writing instruction, and the target preset sampling parameter is used as the video sampling parameter of the video to be written.
In the embodiment of the present application, the preset sampling parameters may be stored in advance, the parameter types of the preset sampling parameters include the parameter types of the video sampling parameters, and the preset sampling parameters may be parameters preset by a user. Different videos may correspond to the same preset sampling parameter, or different videos may correspond to different preset sampling parameters.
In one embodiment, the target preset sampling parameter is the same as the preset sampling parameter if different videos correspond to the same preset sampling parameter.
Illustratively, the preset sampling parameters include at least one of: the preset sampling frame frequency, the preset sampling resolution, the preset color component set and the preset sampling color scale corresponding to the preset color component. Under the condition that the number of the preset color component sets is at least two, corresponding preset sampling periods and/or preset sampling sequences exist in the at least two preset color component sets; the preset set of color components comprises at least one color component.
For example, the preset sampling frame rate may be 50 fs; the preset sampling resolution may be M × N; the different preset color component sets may include { R }, { G }, { B }, and { R } may correspond to a sampling period of 1s, a sampling period of 2s, and a sampling period of 1s, and the sampling order of { R }, { G }, and { B } is { G }, { B }, and { R }; the preset color components comprise R, G, B, where R corresponds to a preset sampling tone scale of 8, G corresponds to a preset sampling tone scale of 16, and B corresponds to a preset sampling tone scale of 16. Wherein M and N are positive integers. The above examples are merely illustrative, and the present application is not limited thereto.
In another embodiment, if different videos correspond to different preset sampling parameters, the terminal device needs to pre-construct a parameter correspondence between the preset sampling parameters and the video parameter samples. Therefore, the current video parameters of the video to be written can be obtained according to the writing instruction, and the preset sampling parameters corresponding to the video parameter samples matched with the current video parameters are determined as the target preset sampling parameters according to the parameter corresponding relation.
It will be appreciated that the parameter types of both the current video parameters and the video parameter samples may be the same as the parameter types of the video sampling parameters.
For example, the parameter correspondence relationship may include: the frame frequency sample is 60fs, and the corresponding preset sampling frame frequency is 50 fs; the resolution sample is 1396 × 768, and the corresponding preset sampling resolution is 1380 × 720; the color component set sample is { R, G, B }, the corresponding preset color component set includes { R }, { G }, { B }, and the sampling order corresponding to the preset color component set is { G }, { B }, { R } corresponding to the sampling period may be 1s, the sampling period corresponding to { G } may be 2s, and the sampling period corresponding to { B } may be 1 s; taking the example that the preset color components include R, G, B three color components, when the R color level sample is 8, the corresponding preset sampling color level is 4, when the G color level sample is 16, the corresponding preset sampling color level is 8, and when the B color level sample is 16, the corresponding preset sampling color level is 8. Thus, assume that the current video parameters of the video to be written include: the current frame frequency is 60 fs; the current resolution is 1396 × 768; the current set of color components is { R, G, B }, where R corresponds to a current color rank of 8, G corresponds to a current color rank of 16, and B corresponds to a current color rank of 16. Then it may be determined that the target preset sampling parameter comprises: presetting a sampling frame frequency to 50 fs; the preset sampling resolution is 1380 × 720; the preset color component set includes { R }, { G }, { B }, and the sampling sequence corresponding to the preset color component set is { G }, { B }, { R }, and { R }, the sampling period corresponding to the preset color component set may be 1s, the sampling period corresponding to the { G } may be 2s, and the sampling period corresponding to the { B } may be 1 s; the preset sampling color level corresponding to R is 4, the preset sampling color level corresponding to G is 8, and the preset sampling color level corresponding to B is 8. The above numerical values are merely exemplary and are not limiting in the present application.
And secondly, acquiring the video content of the video to be written according to the writing instruction, and determining the video sampling parameter of the video to be written according to the video content.
In the embodiment of the present application, the video sampling parameters may be different for different video contents, considering that the video contents may include moving objects or scenery objects, etc.
Optionally, if a moving object exists in the video content of the first image frame sequence included in the video to be written, the sampling frame rate of the first image frame sequence is determined according to a motion variation of the moving object.
Wherein, the optical flow method can be adopted to identify whether a moving object exists in the image frame sequence. Of course, in the present application, a plurality of image frame sequence samples may be acquired, and the preset model is trained according to the image frame sequence samples and the labeling result corresponding to the image frame sequence samples (i.e., whether a moving object exists or not), so as to obtain the trained object recognition model. In this way, the present application may identify the presence of moving objects in the video content of the first sequence of image frames by the object recognition model. The preset model may be a support vector machine or the like.
It is to be understood that the first image frame sequence may be a sequence of image frames within a unit time (e.g., 1s or 2s, etc.). If the motion variation of the moving object is large and the sampling frame frequency is small, the video is not smooth, the action span of the moving object is large, and the visual effect is poor. Therefore, in one embodiment, a first proportional relationship exists between the motion variation range of the moving object and the sampling frame rate in advance, so that the sampling frame rate corresponding to the motion variation range to which the motion variation belongs can be determined through the first proportional relationship. For example, regarding a first image frame sequence of an airplane flying, a sampling frame rate corresponding to a motion variation range to which a flying speed belongs needs to be acquired. In another embodiment, the sampling frame rate may be obtained by adjusting a preset sampling frame rate according to a motion variation of the moving object, for example, an adjustment value may be determined according to the motion variation, and the larger the motion variation, the larger the adjustment value; and then taking the sum of the adjustment value and the preset sampling frame frequency as the sampling frame frequency.
Optionally, if a moving object exists in the video content of the second image frame sequence included in the video to be written, the sampling resolution of the second image frame sequence is determined according to the motion variation of the moving object.
It is to be understood that the second image frame sequence may also be a sequence of image frames within a unit time (e.g., 1s or 2s, etc.). If the motion variation of the moving object is large and the sampling resolution is small, the video is blurred, so that the visual effect is poor. Therefore, in an embodiment, a second proportional relationship exists between the motion variation range of the moving object and the sampling resolution in advance, so that the sampling resolution corresponding to the motion variation range to which the motion variation belongs can be determined through the second proportional relationship. For example, for the second image frame sequence for playing football, the sampling resolution corresponding to the motion variation range of the kicking speed is required to be obtained. In another embodiment, the preset sampling resolution may be adjusted according to a motion variation of the moving object to obtain a sampling resolution, for example, an adjustment ratio may be determined according to the motion variation, and the larger the motion variation, the larger the adjustment ratio; the product of the adjusted ratio and the preset sampling resolution is then taken as the sampling resolution.
Optionally, if a scenic object exists in video content of a third image frame sequence included in the video to be written, determining that at least one first preset color component set is a color component set corresponding to the third image frame sequence; the number of color components included in the first preset color component set is greater than or equal to a preset number. The preset number may be the number of color components included in the corresponding preset color component set when no scenery object exists in the video content of the third image frame sequence included in the video to be written.
It is to be understood that the third image frame sequence may also be a sequence of image frames within a unit time (e.g., 1s or 2s, etc.). If the landscape object uses fewer color components, the color integrity and thus the visual effect are poor. Therefore, the first preset color component set includes a number of color components equal to or greater than a preset number. It should be noted that, in the case that the at least one first preset color component set includes at least two first preset color component sets, there exists a corresponding preset sampling period and/or preset sampling order for the at least two first preset color component sets. For example, the preset number is 2, the at least two first preset color component sets may include { R, G, B }, { R, B }, { G, B }, and the at least two first preset color component sets may correspond to a sampling order of { R, G, B }, { R, B }, { G, B }, { R, B }, and { R, B } may correspond to a sampling period of 1s, a sampling period of 2s, and a sampling period of 1 s.
Optionally, if a scenic object exists in video content of a fourth image frame sequence included in the video to be written, determining that a first preset color level of a different color component corresponds to a sampling color level of a different color component in the fourth image frame sequence; the first preset color level is greater than or equal to a preset numerical value.
It is to be understood that the fourth image frame sequence may also be an image frame sequence within a unit time (e.g., 1s or 2s, etc.). If the landscape object uses a smaller color gradation, the similar colors cannot be distinguished, and thus the visual effect is poor. Therefore, the first preset color level is greater than or equal to a preset value. The preset value may be a preset color level of a corresponding different color component when no scenery object exists in the video content of the fourth image frame sequence included in the video to be written.
Of course, the present application may also combine the above-described embodiments of determining video sampling parameters of a video to be written according to video content. Exemplarily, if a scene object exists in video content of a fifth image frame sequence included in the video to be written, determining at least one preset color component set as a color component set corresponding to the fifth image frame sequence; the number of the color components included in the preset color component set is greater than or equal to the preset number, and it is determined that the preset color level of the color components included in the preset color component set corresponds to the sampling color level of the color components included in the color component set of the fifth image frame sequence; wherein the preset color gradation is greater than or equal to a preset value.
And thirdly, acquiring the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount.
It is understood that the available amount of memory may be the remaining amount of memory or the total memory capacity, etc.
Optionally, the sampling frame rate of the video to be written is determined according to the available memory amount.
In an embodiment, the present application may store a preset frame frequency in advance, and adjust the preset frame frequency according to the available memory of different terminal devices to obtain the sampling frame frequency. That is, the available memory amount is greater than the first preset threshold, the preset frame frequency may be increased to obtain the sampling frame frequency (for example, the sum of the preset frame frequency and the first value may be used as the sampling frame frequency, or the product of the preset frame frequency and the first ratio may be used as the sampling frame frequency, and the first ratio is greater than 1); if the available memory amount is smaller than the first preset threshold, the preset frame rate may be adjusted to be smaller to obtain the sampling frame rate (for example, a difference between the preset frame rate and the second numerical value may be used as the sampling frame rate, or a product of the preset frame rate and the second ratio may be used as the sampling frame rate, and the second ratio is smaller than 1); and if the available memory amount is equal to the first preset threshold, the sampling frame frequency is equal to the preset frame frequency.
It should be noted that, since the available memory amount may include the remaining memory amount or the total memory capacity, the remaining memory amount and the total memory capacity correspond to different first preset thresholds respectively, and the following second preset threshold, third preset threshold, and fourth preset threshold are the same and are not described again.
In another embodiment, the sampling frame frequency corresponding to the memory available amount range to which the memory available amount belongs is obtained according to a first preset corresponding relationship, where the first preset corresponding relationship includes a corresponding relationship between the memory available amount range and the sampling frame frequency.
Optionally, the sampling resolution of the video to be written is determined according to the available memory amount.
In an embodiment, the preset resolution may be stored in advance, and the sampling resolution is obtained by adjusting the preset resolution according to the memory available amount of different terminal devices. That is, if the available memory amount is greater than the second preset threshold, the preset resolution may be increased to obtain the sampling resolution (for example, a sum of the preset resolution and a third numerical value may be used as the sampling resolution, or a product of the preset resolution and a third ratio is used as the sampling resolution, and the third ratio is greater than 1); if the available memory amount is smaller than the second preset threshold, the preset resolution may be reduced to obtain the sampling resolution (for example, a difference between the preset resolution and a fourth value may be used as the sampling resolution, or a product of the preset resolution and a fourth ratio may be used as the sampling resolution, and the fourth ratio is smaller than 1); if the memory availability is equal to the second preset threshold, the sampling resolution is equal to the preset resolution.
In another embodiment, the sampling resolution corresponding to the memory available amount range to which the memory available amount belongs is obtained according to a second preset corresponding relationship, where the second preset corresponding relationship includes a corresponding relationship between the memory available amount range and the sampling resolution.
Optionally, the different color component sets of the video to be written are determined according to the available memory amount.
In an embodiment, the second preset color component set may be stored in advance, and the second preset color component set is adjusted according to the memory available amount of different terminal devices to obtain the color component set. That is, the available memory amount is greater than the third preset threshold, a new color component may be added to the second preset color component set to obtain a color component set (that is, the number of color components included in the color component set is greater than or equal to the number of color components included in the corresponding second preset color component set, and the second preset color component set is a subset of the corresponding color component set); if the available memory amount is less than the third preset threshold, deleting a part of color components in the second preset color component set to obtain a color component set (that is, the number of color components included in the color component set is less than the number of color components included in the corresponding second preset color component set, and the color component set is a subset of the corresponding second preset color component set); if the memory availability is equal to the third preset threshold, the color component set is the same as the corresponding second preset color component set.
In another embodiment, a sampling color component set corresponding to a memory available amount range to which the memory available amount belongs is obtained according to a third preset corresponding relationship, where the third preset corresponding relationship includes a corresponding relationship between the memory available amount range and the sampling color component set.
Optionally, the sampling color levels of the video to be written corresponding to different color components are determined according to the available memory amount.
In an embodiment, the second preset color levels of different color components may be stored in advance, and the second preset color levels of different color components are adjusted according to the memory available amount of different terminal devices to obtain sampling color levels corresponding to different color components. That is, if the available memory amount is greater than the fourth preset threshold, at least one preset color level in the second preset color levels of different color components can be increased to obtain sampling color levels of different color components; if the available memory amount is smaller than the fourth preset threshold, at least one preset color level in second preset color levels of different color components can be adjusted to be smaller to obtain sampling color levels of different color components; and if the memory available quantity is equal to the fourth preset threshold value, the second preset color level of the different color components corresponds to the same sampling color level of the different color components.
In another optional embodiment, according to a fourth preset corresponding relationship, the sampling color levels of different color components corresponding to the memory available amount range to which the memory available amount belongs are obtained, and the fourth preset corresponding relationship includes a corresponding relationship among the memory available amount range, the color components, and the sampling color levels.
And fourthly, acquiring the video content of the video to be written and the memory available quantity of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available quantity and the video content.
For specific contents, reference may be made to contents in the second and third modes, and details are not described herein again.
And a fifth mode, acquiring current parameters of the video to be written according to the writing instruction, wherein the current parameters comprise at least one of current frame frequency and current resolution, and correspondingly determining video sampling parameters of the video to be written according to the current parameters and a preset proportion, and the video sampling parameters comprise at least one of sampling frame frequency and sampling resolution. It should be noted that the current resolution in the present application may also include resolution in two directions or resolution in a single direction, and the present application is not limited thereto.
It is understood that the preset ratio may be less than 1. For example, the current frame rate is 60fs, and the preset ratio is 5/6, the sampling frame rate may be 50 fs. The above examples are merely illustrative, and the present application is not limited thereto.
Of course, the present application may also obtain current color levels corresponding to different color components of the video to be written, and adjust the current color levels to obtain sampling color levels corresponding to the different color components. For example, if the current color levels corresponding to the R color components are 16-bit numbers, the ratio of the current color level to a fixed value (e.g., 2) can be used as the sampling color level (i.e., 8-bit number) corresponding to the R color component.
103. According to the video sampling parameters, performing data processing on a video to be written to obtain an image frame of the written video; and the memory occupation amount of the written video is less than that of the video to be written.
Under the condition that the video sampling parameters comprise sampling frame frequencies, the terminal equipment can perform data processing on a video to be written according to the sampling frame frequencies to obtain image frames of the written video; under the condition that the video sampling parameters comprise sampling resolution, the terminal equipment can process data of a video to be written according to the sampling resolution to obtain an image frame of the written video; under the condition that the video sampling parameters comprise different color component sets, the terminal equipment can perform data processing on a video to be written according to the different color component sets to obtain an image frame of the written video; the video sampling parameters comprise sampling color levels respectively corresponding to different color components, and the terminal equipment can perform data processing on the video to be written according to the sampling color levels respectively corresponding to the different color components to obtain the image frame of the written video.
Illustratively, the sampling frame rate may be 50fs, and in this case, the step may include: the terminal device samples 50 image frames per unit time (e.g., per second) of the video to be written.
For example, the current resolution may be B × D, the sampling resolution may be M × N, B, D, M, N are natural numbers, and B is greater than M and D is greater than N. At this time, the step may include: the terminal equipment reduces the current resolution of the image frame of the video to be written to MxN; as another example, the sampling resolution may include a sampling lateral resolution of M, and in this case, this step may include: the terminal device reduces the current horizontal resolution of the image frame to be written with the video to M, and the above example is only an exemplary illustration, and the present application does not specifically limit this.
For example, if the different color component sets include a first color component set (e.g., the first color component set includes an R color component), a second color component set (e.g., the second color component set includes a G color component), and a third color component set (e.g., the third color component set includes a B color component), and the sampling periods corresponding to the different color component sets are all 1s, the sampling order corresponding to the different color component sets may include, from first to last: a first set of color components, a second set of color components, and a third set of color components. This step may include: sampling an image frame to be written into the 1 st s of the video according to the R color component, sampling an image frame to be written into the 2 nd s of the video according to the G color component, sampling an image frame to be written into the 3 rd s of the video according to the B color component, and so on.
Illustratively, the different color components include R, G, B, and the corresponding sampling gradations are all 8, this step may sample the pixel values of the different color components to be written into the video in 8-bit colors. The above examples are merely illustrative, and the present application is not limited thereto.
It should be noted that, because a video is generally composed of consecutive image frames, the difference between image contents of adjacent frames is small, and human eyes have a persistence of vision effect, a partial frame missing exists in the video to be written, a small amount of color components are lost in the partial frame of the video to be written, the resolution of the partial frame of the video to be written becomes small, or the color contrast of the partial frame of the video to be written is reduced, which does not cause a large influence on viewing.
104. And performing writing operation on the image frame of the written video.
In an embodiment of the present application, after all image frames of the written video are acquired, a write operation may be performed on all image frames of the written video; or, a part of image frames of the written video is acquired first, and then the other part of image frames of the written video can be acquired continuously while the part of image frames of the written video is written, so that the writing efficiency is improved. The writing method is not particularly limited in the present application.
It can be understood that if the video to be written is subjected to data processing by sampling the frame frequency, the number of frames to be written can be reduced; if the data processing is carried out on the video to be written through the sampling resolution, the number of pixel points can be reduced; if the data processing is carried out on the video to be written through different color component sets, pixel values of partial color components can be written, and therefore the number of the pixel values is reduced; if the video to be written is subjected to data processing by sampling the tone scale, the number of bits of the pixel value can be reduced. Of course, the method and the device can combine different types of sampling video parameters to perform data processing on the video to be written so as to reduce the data writing amount.
As shown in table 1, related data for performing data processing on a video to be written by different schemes are shown, where scheme 1 is a scheme for performing data processing on a video to be written according to a sampling frame frequency; the scheme 2 is a scheme of performing data processing on a video to be written according to a resolution (i.e., X resolution) in a single direction of a sampling frame frequency and a sampling resolution; the scheme 3 is a scheme of performing data processing on a video to be written according to resolutions in two directions (i.e., an X resolution and a Y resolution) of a sampling frame frequency and a sampling resolution; the scheme 4 is a scheme of performing data processing on a video to be written according to sampling frame rates, resolutions in two directions (i.e., X resolution and Y resolution) in the sampling resolutions, different color component sets, and sampling gradations corresponding to different color components. It is understood that chroma is the number of color components in a single image.
TABLE 1
Reference scheme Scheme 1 Scheme 2 Scheme 3 Scheme 4
Sampling time(s) 1 1 1 1 1
Sampling frame frequency (fs) 60 54 54 54 54
X resolution 1396 1396 1256 1256 1256.4
Y resolution 768 768 768 691 691.2
Average value of sampled color levels 16 16 16 16 14.4
Average value of chromaticity 3 3 3 3 2.7
Memory footprint per frame (Bit) 51462144 51462144 46301184 41659008 33764312.68
Memory footprint per frame (Byte) 6432768 6432768 5787648 5207376 4220539.085
Memory footprint per frame (MB) 6.1347 6.1347 5.5195 4.9661 4.0250
Total memory footprint (MB) 368.0859 331.2770 298.0547 268.1716 217.3511
Comparison (%) 100% 90% 81% 73% 60%
As can be seen from table 1, the reference scheme is a scheme in which a video of 1s is written in the prior art, and it can be seen that the total memory occupation amount needs to reach 368.0859 MB; by adopting the scheme 1 in the application, the total memory occupation amount is 331.2770MB, which is reduced by about 10 percent, namely the service life of the flash memory is prolonged by 10 percent; by adopting the scheme 2 in the application, the total memory occupation amount is 298.0547MB, which is reduced by about 19 percent, namely the service life of the flash memory is prolonged by 19 percent; by adopting the scheme 3 in the application, the total memory occupation amount is 268.1716MB, which is reduced by about 27 percent, namely the service life of the flash memory is prolonged by 27 percent; by adopting the scheme 4 in the application, the total memory occupation amount is 217.3511MB, which is reduced by about 40%, and is equivalent to prolonging the service life of the flash memory by 40%. According to experimental data, the video processing method can greatly reduce the data writing amount.
In an optional embodiment of the present application, a weakening function control weakening an edge of the image may also be provided in the second setting page. Therefore, under the condition that the user starts the weakening function control, the method and the device can weaken the edge of the image frame written in the video, so that the number of pixel values of the image frame written in the video is reduced.
For example, if the pixel points (1, 1), (1, 3), (1, 5), (1, 9), (1, 12), (2, 1), (3, 1) in a certain image frame of the written video are weakened so that the corresponding pixel values are all specified values (for example, the pixel value is (0, 0, 0)), when the certain image frame is written, the pixel points (1, 1), (1, 3), (1, 5), (1, 9), (1, 12), (2, 1), (3, 1) can be directly written into (0, 0, 0), thereby avoiding inputting the pixel values to the several pixel points in sequence, and reducing the data volume.
By adopting the method, when the terminal equipment has large-capacity data writing, the large-capacity data is usually video data. Therefore, the video-to-be-written video can be subjected to data processing through the video sampling parameters to obtain the video-to-be-written image frames, the memory occupation amount of the video-to-be-written image is smaller than that of the video-to-be-written image frame, and the video-to-be-written image frames are subjected to writing operation. Therefore, by reducing the data writing amount, the problem of slow writing speed caused by large memory occupation of the terminal equipment can be avoided, and the service life of the flash memory in the solid state disk is prolonged under the condition that the hard disk of the terminal equipment is the solid state disk.
In conjunction with the embodiment shown in fig. 1, as shown in fig. 4, after step 104, the method may further include:
105. and under the condition of receiving a playing instruction of the written video, acquiring the video to be played according to the image frame of the written video.
The video to be played comprises image frames of the written video, or the video to be played is obtained by performing data reduction on the image frames of the written video.
It can be understood that, in consideration of the fact that the visual deviation between the written video and the video to be written is not obvious in the application, the written video can be directly used as the video to be played (that is, the memory occupied amount of the written video is equal to that of the video to be played), and the data processing amount is reduced.
It should be understood that, in consideration of the fact that the visual deviation between the written video and the video to be written is large in the application, the written video can be subjected to data restoration to obtain the video to be played (that is, the memory occupation amount of the written video is smaller than that of the video to be played), so that the visual effect of a user is improved.
Optionally, the written video may be subjected to data restoration according to the current target video parameter of the video to be written, so as to obtain the video to be played. The current target video parameter is the same as the video sampling parameter in parameter type, and the current target video parameter is the parameter to be written into the video before data processing. The current target video parameters comprise at least one of a current frame frequency, a current resolution, a current color component set and current color levels respectively corresponding to different color components.
Under the condition that both the current target video parameter and the video sampling parameter comprise frame frequency types, inserting target number of initial image frames into the image frames of the written video, wherein the target number is the difference value between the current frame frequency of the to-be-written video and the sampling frame frequency. For example, if the current frame rate of the video to be written is 60fs, the sampling frame rate is 50fs, and the target number is 10 (i.e., 60-50 is 10), 10 initial image frames may be inserted into the image frames of the video to be written.
Further, a target number of initial image frames may be inserted in the image frames of the written video according to a sampling strategy of a sampling frame rate. For example, if the first 50 image frames are acquired from the 60 image frames of the 1 st second of the video to be written according to the sampling frame frequency as the image frames of the 1 st second of the video to be written, 10 initial image frames may be inserted after the image frames of the 1 st second of the video to be written in this step; if the o-th image frame is obtained from the first 20 image frames of the 1 st second of the video to be written according to the sampling frame frequency, and the last 40 image frames of the 1 st second of the video to be written are obtained to obtain the image frame of the 1 st second of the video to be written, where o is an odd number, then 1 initial image frame may be inserted after each frame of the first 10 image frames of the 1 st second of the video to be written in this step, and so on.
When the current target video parameter and the video sampling parameter both include a resolution type, if the current resolutions corresponding to the image frames included in the video to be written are the same, the image frames written in the video may be set according to the current resolutions. Or, in consideration of the fact that the current resolutions corresponding to the image frames included in the video to be written are different, the current resolution before the unprocessed image frame may be marked in advance, so that the image frame written in the video may be set according to the corresponding current resolution.
Under the condition that the current target video parameter and the video sampling parameter both include a resolution type and a frame frequency type, if the current resolutions corresponding to the image frames included in the video to be written are the same, the image frames written in the video and the initial image frame can be set according to the current resolutions. Or, considering that the current resolutions corresponding to the image frames included in the video to be written are different, the current resolution before the video is not processed may be marked in advance for the image frame of the video to be written, so that the image frame of the video to be written may be set according to the corresponding current resolution, and the target resolution of the initial image frame may be determined according to the resolutions of the adjacent frames of the initial image frame. The adjacent frames may be a front V frame and/or a rear U frame, and V and U are both natural numbers. Considering that the relevance of several adjacent frames of the video is good, in order to make the restoration effect good, both V and U are smaller than the preset value. Thus, in one embodiment, the resolution of the first 1 frame may be taken as the target resolution for the initial image frame; in another embodiment, the resolution of the next 1 frame may be taken as the target resolution of the initial image frame; in yet another embodiment, the average of the resolution of the first 1 frame and the resolution of the second 1 frame may be used as the target resolution of the initial image frame; in another embodiment, the target resolution of the initial image frame may be the average of the resolutions of the previous and next frames, and so on.
In another embodiment, in order to match the video to be played with the screen resolution of the terminal device, the screen resolution may also be used as the target resolution of the initial image frame and the image frame of the written video.
When the current target video parameter and the video sampling parameter both include a color component type, performing pixel value reduction processing on the target image frame written in the video may include: the method comprises the steps of obtaining missing color components in a target image frame and obtaining a target adjacent frame from adjacent frames of the target image frame under the condition that the color component set of the target image frame does not include all color components or the number of the color components in the color component set of the target image frame is less than or equal to the preset component number, wherein the adjacent frames can be front R frames and/or rear T frames, R and T are natural numbers, and the color component set of the target adjacent frame includes the missing color components. In this way, the target component pixel value corresponding to the missing color component of the target image frame can be determined according to the reference component pixel value corresponding to the missing color component of the target adjacent frame. If the number of the target adjacent frames is one, taking the reference component pixel value as a target component pixel value; and if the number of the target adjacent frames is at least two, taking the average value of the reference component pixel values as the target component pixel value.
For example, for the target image frame, the color components of the previous frame image are set to { R }, the color components of the next frame image are set to { B }, and the color components of the target image frame are set to { G }, the reference component pixel value of the R color component of the previous frame image may be used as the target R component pixel value, and the reference component pixel value of the B color component of the next frame image may be used as the target R component pixel value.
It should be noted that, in the case where all the color components are included in the color component set of the target image frame, it may not be necessary to perform the pixel value restoration processing on the target image frame.
Under the condition that the current target video parameter and the video sampling parameter both comprise color level types, different color components written into an image frame of a video are set as a current color level; alternatively, the target color level may be determined according to a contrast parameter of the display screen and different color components in the image frame written to the video may be set as the target color level. Wherein, the larger the contrast is, the larger the target color level is; conversely, the smaller the contrast, the smaller the target tone scale.
It should be noted that, if the current target video parameter includes multiple types of parameters, the video to be played may be obtained by combining the content in the foregoing embodiment, which is not described in detail herein.
106. And playing the video to be played.
It should be noted that, in the case that the video to be played is a video obtained by performing data restoration on the image frame written in the video, the terminal device may cache the video to be played, so that the video to be played does not need to occupy the memory of the terminal device. At this time, the step may include: and playing the cached video to be played. In addition, the terminal device can delete the cached video to be played periodically, so that the terminal device can cache other information and improve the caching efficiency.
By adopting the method, the stored data volume of the image frame written with the video is less, so that the terminal equipment can read the less data volume in the process of playing the video, thereby shortening the reading time. In addition, the video to be played is obtained by carrying out data restoration on the image frames written in the video, so that the video playing effect is ensured, and the visual experience of a user is improved.
Fig. 5 is a block diagram of a video processing apparatus according to an embodiment of the present application, and as shown in fig. 5, the video processing apparatus includes:
an obtaining module 501, configured to obtain a write instruction of a video to be written in a terminal device; and the number of the first and second groups,
acquiring video sampling parameters of the video to be written according to the writing instruction;
a processing module 502, configured to perform data processing on the video to be written according to the video sampling parameter, so as to obtain an image frame of the written video; the memory occupation amount of the written video is less than that of the video to be written; and the number of the first and second groups,
and writing the image frame of the written video.
Optionally, the video sampling parameters include at least one of:
sampling frame frequency, sampling resolution, different color component sets and sampling color levels corresponding to different color components respectively; there is a corresponding sampling period and/or sampling order for the different sets of color components.
Optionally, the processing module 502 is further configured to obtain a target preset sampling parameter corresponding to the video to be written according to the writing instruction, and use the target preset sampling parameter as the video sampling parameter of the video to be written; alternatively, the first and second electrodes may be,
acquiring video content of the video to be written according to the writing instruction, and determining video sampling parameters of the video to be written according to the video content; alternatively, the first and second electrodes may be,
acquiring the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount; alternatively, the first and second electrodes may be,
acquiring the video content of the video to be written and the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount and the video content; alternatively, the first and second electrodes may be,
and acquiring current parameters of the video to be written according to the writing instruction, wherein the current parameters comprise at least one of current frame frequency and current resolution, and correspondingly determining video sampling parameters of the video to be written according to the current parameters and a preset proportion, and the video sampling parameters comprise at least one of the sampling frame frequency and the sampling resolution.
Optionally, the processing module 502 is further configured to determine, according to the video content, a video sampling parameter of the video to be written, and includes:
if a moving object exists in the video content of a first image frame sequence included in the video to be written, determining the sampling frame frequency of the first image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a moving object exists in the video content of a second image frame sequence included in the video to be written, determining the sampling resolution of the second image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a scenery object exists in the video content of a third image frame sequence included in the video to be written, determining at least one first preset color component set as a color component set corresponding to the third image frame sequence; the number of color components included in the first preset color component set is greater than or equal to a preset number; alternatively, the first and second electrodes may be,
if a landscape object exists in the video content of a fourth image frame sequence included in the video to be written, determining that the first preset color level of the different color components corresponds to the sampling color level of the different color components in the fourth image frame sequence; and the first preset color level is greater than or equal to a preset numerical value.
Optionally, the processing module 502 is further configured to obtain a sampling frame frequency corresponding to a memory available amount range to which the memory available amount belongs according to a first preset corresponding relationship, where the first preset corresponding relationship includes a corresponding relationship between the memory available amount range and the sampling frame frequency; alternatively, the first and second electrodes may be,
acquiring a sampling resolution corresponding to a memory available amount range to which the memory available amount belongs according to a second preset corresponding relationship, wherein the second preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling resolution; alternatively, the first and second electrodes may be,
acquiring a sampling color component set corresponding to a memory available amount range to which the memory available amount belongs according to a third preset corresponding relationship, wherein the third preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling color component set; alternatively, the first and second electrodes may be,
and acquiring sampling color levels of different color components corresponding to the memory available amount range to which the memory available amount belongs according to a fourth preset corresponding relationship, wherein the fourth preset corresponding relationship comprises the corresponding relationship among the memory available amount range, the color components and the sampling color levels.
Optionally, the obtaining module 501 is further configured to, in response to a first storage operation on a storage control on a display interface of the terminal device, obtain a write instruction of a video to be written, where the write instruction corresponds to the first storage operation; alternatively, the first and second electrodes may be,
responding to a second storage operation of a storage key on the terminal equipment, and acquiring a write-in instruction of a video to be written, which corresponds to the second storage operation; alternatively, the first and second electrodes may be,
and under the condition that the write data stream is detected to be video data, generating a write instruction of a video to be written corresponding to the write data stream.
Optionally, the video processing module further comprises: a playing module;
the processing module 502 is further configured to, when a playing instruction for the written video is received, obtain a video to be played according to the image frame of the written video; the video to be played comprises the image frames of the written video, or the video to be played is a video obtained by performing data reduction on the image frames of the written video;
and the playing module is used for playing the video to be played.
The specific content of the video processing apparatus may refer to the content described in the above embodiments of the video processing method, and is not described herein again.
Fig. 6 shows a block diagram of a terminal device according to an embodiment of the present application. Referring to fig. 6, the terminal device includes: radio Frequency (RF) circuitry 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuitry 660, wireless fidelity (WiFi) module 670, processor 680, and power supply 690. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each constituent component of the terminal device with reference to fig. 6:
the RF circuit 610 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 680; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 610 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications of the terminal device and data processing by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 or near the touch panel 631 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 640 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuit 660, speaker 661, and microphone 662 can provide an audio interface between a user and a terminal device. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then passed through the RF circuit 610 to be transmitted to, for example, another terminal device, or output to the memory 620 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the terminal equipment can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 670, and provides wireless broadband internet access for the user.
The processor 680 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby monitoring the terminal device as a whole. Optionally, processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The terminal device also includes a power supply 690 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 680 via a power management system to manage charging, discharging, and power consumption via the power management system.
Although not shown, the terminal device may further include a camera, a bluetooth module, and the like, which are not described herein.
In this embodiment of the present invention, the processor 680 included in the terminal device further has the following functions:
acquiring a write-in instruction of a video to be written in the terminal equipment;
acquiring video sampling parameters of the video to be written according to the writing instruction;
according to the video sampling parameters, performing data processing on the video to be written to obtain image frames of the written video; the memory occupation amount of the written video is less than that of the video to be written;
and writing the image frame of the written video.
Optionally, the video sampling parameters include at least one of:
sampling frame frequency, sampling resolution, different color component sets and sampling color levels corresponding to different color components respectively; there is a corresponding sampling period and/or sampling order for the different sets of color components.
Optionally, the processor 680 included in the terminal device further has the following functions:
acquiring a target preset sampling parameter corresponding to the video to be written according to the writing instruction, and taking the target preset sampling parameter as a video sampling parameter of the video to be written; alternatively, the first and second electrodes may be,
acquiring video content of the video to be written according to the writing instruction, and determining video sampling parameters of the video to be written according to the video content; alternatively, the first and second electrodes may be,
acquiring the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount; alternatively, the first and second electrodes may be,
acquiring the video content of the video to be written and the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount and the video content; alternatively, the first and second electrodes may be,
and acquiring current parameters of the video to be written according to the writing instruction, wherein the current parameters comprise at least one of current frame frequency and current resolution, and correspondingly determining video sampling parameters of the video to be written according to the current parameters and a preset proportion, and the video sampling parameters comprise at least one of the sampling frame frequency and the sampling resolution.
Optionally, the processor 680 included in the terminal device further has the following functions: if a moving object exists in the video content of a first image frame sequence included in the video to be written, determining the sampling frame frequency of the first image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a moving object exists in the video content of a second image frame sequence included in the video to be written, determining the sampling resolution of the second image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a scenery object exists in the video content of a third image frame sequence included in the video to be written, determining at least one first preset color component set as a color component set corresponding to the third image frame sequence; the number of color components included in the first preset color component set is greater than or equal to a preset number; alternatively, the first and second electrodes may be,
if a landscape object exists in the video content of a fourth image frame sequence included in the video to be written, determining that the first preset color level of the different color components corresponds to the sampling color level of the different color components in the fourth image frame sequence; and the first preset color level is greater than or equal to a preset numerical value.
Optionally, the processor 680 included in the terminal device further has the following functions: acquiring a sampling frame frequency corresponding to a memory available amount range to which the memory available amount belongs according to a first preset corresponding relationship, wherein the first preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling frame frequency; alternatively, the first and second electrodes may be,
acquiring a sampling resolution corresponding to a memory available amount range to which the memory available amount belongs according to a second preset corresponding relationship, wherein the second preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling resolution; alternatively, the first and second electrodes may be,
acquiring a sampling color component set corresponding to a memory available amount range to which the memory available amount belongs according to a third preset corresponding relationship, wherein the third preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling color component set; alternatively, the first and second electrodes may be,
and acquiring sampling color levels of different color components corresponding to the memory available amount range to which the memory available amount belongs according to a fourth preset corresponding relationship, wherein the fourth preset corresponding relationship comprises the corresponding relationship among the memory available amount range, the color components and the sampling color levels.
Optionally, the processor 680 included in the terminal device further has the following functions: responding to a first storage operation of a storage control on a display interface of the terminal equipment, and acquiring a write-in instruction of a video to be written, which corresponds to the first storage operation; alternatively, the first and second electrodes may be,
responding to a second storage operation of a storage key on the terminal equipment, and acquiring a write-in instruction of a video to be written, which corresponds to the second storage operation; alternatively, the first and second electrodes may be,
and under the condition that the write data stream is detected to be video data, generating a write instruction of a video to be written corresponding to the write data stream.
Optionally, the processor 680 included in the terminal device further has the following functions: under the condition that a playing instruction of the written video is received, acquiring a video to be played according to the image frame of the written video; the video to be played comprises the image frames of the written video, or the video to be played is a video obtained by performing data reduction on the image frames of the written video; and the number of the first and second groups,
and playing the video to be played.
The embodiment of the present invention further provides a terminal device, where the terminal device may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal device in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and details are not repeated here to avoid repetition.
An embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a terminal device in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A video processing method, comprising:
acquiring a write-in instruction of a video to be written in the terminal equipment;
acquiring video sampling parameters of the video to be written according to the writing instruction;
according to the video sampling parameters, performing data processing on the video to be written to obtain image frames of the written video; the memory occupation amount of the written video is less than that of the video to be written;
and writing the image frame of the written video.
2. The method of claim 1, wherein the video sampling parameters comprise at least one of:
sampling frame frequency, sampling resolution, different color component sets and sampling color levels corresponding to different color components respectively; there is a corresponding sampling period and/or sampling order for the different sets of color components.
3. The method according to claim 2, wherein the obtaining video sampling parameters of the video to be written according to the writing instruction comprises:
acquiring a target preset sampling parameter corresponding to the video to be written according to the writing instruction, and taking the target preset sampling parameter as a video sampling parameter of the video to be written; alternatively, the first and second electrodes may be,
acquiring video content of the video to be written according to the writing instruction, and determining video sampling parameters of the video to be written according to the video content; alternatively, the first and second electrodes may be,
acquiring the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount; alternatively, the first and second electrodes may be,
acquiring the video content of the video to be written and the memory available amount of the terminal equipment according to the writing instruction, and determining the video sampling parameter of the video to be written according to the memory available amount and the video content; alternatively, the first and second electrodes may be,
and acquiring current parameters of the video to be written according to the writing instruction, wherein the current parameters comprise at least one of current frame frequency and current resolution, and correspondingly determining video sampling parameters of the video to be written according to the current parameters and a preset proportion, and the video sampling parameters comprise at least one of the sampling frame frequency and the sampling resolution.
4. The method according to claim 3, wherein said determining video sampling parameters of the video to be written according to the video content comprises:
if a moving object exists in the video content of a first image frame sequence included in the video to be written, determining the sampling frame frequency of the first image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a moving object exists in the video content of a second image frame sequence included in the video to be written, determining the sampling resolution of the second image frame sequence according to the motion variation of the moving object; alternatively, the first and second electrodes may be,
if a scenery object exists in the video content of a third image frame sequence included in the video to be written, determining at least one first preset color component set as a color component set corresponding to the third image frame sequence; the number of color components included in the first preset color component set is greater than or equal to a preset number; alternatively, the first and second electrodes may be,
if a landscape object exists in the video content of a fourth image frame sequence included in the video to be written, determining that the first preset color level of the different color components corresponds to the sampling color level of the different color components in the fourth image frame sequence; and the first preset color level is greater than or equal to a preset numerical value.
5. The method of claim 3, wherein determining the video sampling parameters of the video to be written according to the memory availability comprises:
acquiring a sampling frame frequency corresponding to a memory available amount range to which the memory available amount belongs according to a first preset corresponding relationship, wherein the first preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling frame frequency; alternatively, the first and second electrodes may be,
acquiring a sampling resolution corresponding to a memory available amount range to which the memory available amount belongs according to a second preset corresponding relationship, wherein the second preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling resolution; alternatively, the first and second electrodes may be,
acquiring a sampling color component set corresponding to a memory available amount range to which the memory available amount belongs according to a third preset corresponding relationship, wherein the third preset corresponding relationship comprises a corresponding relationship between the memory available amount range and the sampling color component set; alternatively, the first and second electrodes may be,
and acquiring sampling color levels of different color components corresponding to the memory available amount range to which the memory available amount belongs according to a fourth preset corresponding relationship, wherein the fourth preset corresponding relationship comprises the corresponding relationship among the memory available amount range, the color components and the sampling color levels.
6. The method according to claim 1, wherein the obtaining of the writing instruction of the video to be written in the terminal device comprises:
responding to a first storage operation of a storage control on a display interface of the terminal equipment, and acquiring a write-in instruction of a video to be written, which corresponds to the first storage operation; alternatively, the first and second electrodes may be,
responding to a second storage operation of a storage key on the terminal equipment, and acquiring a write-in instruction of a video to be written, which corresponds to the second storage operation; alternatively, the first and second electrodes may be,
and under the condition that the write data stream is detected to be video data, generating a write instruction of a video to be written corresponding to the write data stream.
7. The method of any of claims 1 to 6, further comprising:
under the condition that a playing instruction of the written video is received, acquiring a video to be played according to the image frame of the written video; the video to be played comprises the image frames of the written video, or the video to be played is a video obtained by performing data reduction on the image frames of the written video;
and playing the video to be played.
8. A video processing apparatus, comprising:
the acquisition module is used for acquiring a write-in instruction of a video to be written in the terminal equipment; and the number of the first and second groups,
acquiring video sampling parameters of the video to be written according to the writing instruction;
the processing module is used for carrying out data processing on the video to be written according to the video sampling parameters to obtain an image frame of the written video; the memory occupation amount of the written video is less than that of the video to be written; and the number of the first and second groups,
and writing the image frame of the written video.
9. A terminal device comprising a processor and a memory, the processor and memory coupled, the memory for storing computer program instructions that, when executed by the processor, cause the terminal device to perform the video processing method of any of claims 1 to 7.
10. A computer storage medium having stored therein program instructions that, when run on a terminal device, cause the terminal device to perform the video processing method of any of claims 1 to 7.
CN202010828382.2A 2020-08-17 2020-08-17 Video processing method, video processing device, terminal device and storage medium Withdrawn CN112068771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010828382.2A CN112068771A (en) 2020-08-17 2020-08-17 Video processing method, video processing device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010828382.2A CN112068771A (en) 2020-08-17 2020-08-17 Video processing method, video processing device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN112068771A true CN112068771A (en) 2020-12-11

Family

ID=73661355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010828382.2A Withdrawn CN112068771A (en) 2020-08-17 2020-08-17 Video processing method, video processing device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN112068771A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883782A (en) * 2021-01-12 2021-06-01 上海肯汀通讯科技有限公司 Method, device, equipment and storage medium for identifying putting behaviors
CN116089320A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Garbage recycling method and related device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853193A (en) * 2014-02-19 2015-08-19 腾讯科技(北京)有限公司 Video compression method, device and electronic equipment
WO2017185609A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Video processing method and device
CN107803029A (en) * 2017-10-26 2018-03-16 广东欧珀移动通信有限公司 Display processing method and related product
CN108347580A (en) * 2018-03-27 2018-07-31 聚好看科技股份有限公司 A kind of method and electronic equipment of processing video requency frame data
CN108769682A (en) * 2018-06-20 2018-11-06 腾讯科技(深圳)有限公司 Video coding, coding/decoding method, device, computer equipment and storage medium
CN110312156A (en) * 2018-03-27 2019-10-08 腾讯科技(深圳)有限公司 A kind of video cache method, apparatus and readable storage medium storing program for executing
CN110502954A (en) * 2018-05-17 2019-11-26 杭州海康威视数字技术股份有限公司 The method and apparatus of video analysis
CN110622517A (en) * 2018-01-19 2019-12-27 深圳市大疆创新科技有限公司 Video processing method and device
CN110675342A (en) * 2019-09-18 2020-01-10 努比亚技术有限公司 Video frame optimization method, mobile terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853193A (en) * 2014-02-19 2015-08-19 腾讯科技(北京)有限公司 Video compression method, device and electronic equipment
WO2017185609A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Video processing method and device
CN107803029A (en) * 2017-10-26 2018-03-16 广东欧珀移动通信有限公司 Display processing method and related product
CN110622517A (en) * 2018-01-19 2019-12-27 深圳市大疆创新科技有限公司 Video processing method and device
CN108347580A (en) * 2018-03-27 2018-07-31 聚好看科技股份有限公司 A kind of method and electronic equipment of processing video requency frame data
CN110312156A (en) * 2018-03-27 2019-10-08 腾讯科技(深圳)有限公司 A kind of video cache method, apparatus and readable storage medium storing program for executing
CN110502954A (en) * 2018-05-17 2019-11-26 杭州海康威视数字技术股份有限公司 The method and apparatus of video analysis
CN108769682A (en) * 2018-06-20 2018-11-06 腾讯科技(深圳)有限公司 Video coding, coding/decoding method, device, computer equipment and storage medium
CN110675342A (en) * 2019-09-18 2020-01-10 努比亚技术有限公司 Video frame optimization method, mobile terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883782A (en) * 2021-01-12 2021-06-01 上海肯汀通讯科技有限公司 Method, device, equipment and storage medium for identifying putting behaviors
CN112883782B (en) * 2021-01-12 2023-03-24 上海肯汀通讯科技有限公司 Method, device, equipment and storage medium for identifying putting behaviors
CN116089320A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Garbage recycling method and related device
CN116089320B (en) * 2022-08-31 2023-10-20 荣耀终端有限公司 Garbage recycling method and related device

Similar Documents

Publication Publication Date Title
CN110008141B (en) Fragment sorting method and electronic equipment
CN109901980B (en) Serial port log capturing circuit, method, terminal and computer readable storage medium
CN109995862B (en) Resource scheduling method and terminal
CN110874128B (en) Visualized data processing method and electronic equipment
CN112068771A (en) Video processing method, video processing device, terminal device and storage medium
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
US20220319378A1 (en) Screen color temperature control method, apparatus, storage medium, and mobile terminal
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN108037934A (en) A kind of method and apparatus of application program update
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN109445945B (en) Memory allocation method of application program, mobile terminal, server and storage medium
CN108833717B (en) Information cleaning method and device, mobile terminal and computer readable storage medium
CN109429076B (en) Playing card pause processing method and device for multimedia data
CN112712815A (en) Software-based pop sound suppression method, terminal and computer readable medium
CN109889568B (en) Data export method, server and system
CN109375979B (en) Flow control method, terminal and readable storage medium
CN107894958B (en) Junk information cleaning method, terminal, server and computer readable storage medium
CN109308147B (en) Application icon display method and device and computer readable storage medium
CN109284110B (en) Terminal application replacement method, terminal and computer readable storage medium
CN107743204B (en) Exposure processing method, terminal, and computer-readable storage medium
CN107623788B (en) Method and device for improving application starting speed and computer readable storage medium
CN106817621B (en) Mobile terminal and video backup and play method and device thereof
CN108563528A (en) A kind of application control method, terminal and computer storage media
CN112492450B (en) Sound parameter regulation and control method, device and computer readable storage medium
CN111240729B (en) Software updating method, electronic device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20201211

WW01 Invention patent application withdrawn after publication