CN110908954A - File saving method and device, electronic equipment and medium - Google Patents

File saving method and device, electronic equipment and medium Download PDF

Info

Publication number
CN110908954A
CN110908954A CN201911106938.0A CN201911106938A CN110908954A CN 110908954 A CN110908954 A CN 110908954A CN 201911106938 A CN201911106938 A CN 201911106938A CN 110908954 A CN110908954 A CN 110908954A
Authority
CN
China
Prior art keywords
input
user
preset
condition
saving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911106938.0A
Other languages
Chinese (zh)
Other versions
CN110908954B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911106938.0A priority Critical patent/CN110908954B/en
Publication of CN110908954A publication Critical patent/CN110908954A/en
Application granted granted Critical
Publication of CN110908954B publication Critical patent/CN110908954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving

Abstract

The embodiment of the invention discloses a file saving method, a file saving device, electronic equipment and a file saving medium. The method comprises the following steps: receiving a first input of a user on a shooting preview interface; under the condition that the first input meets the preset condition, responding to the first input, and saving the shot multimedia file into a first photo album; and under the condition that the first input does not meet the preset condition, responding to the first input, and saving the shot multimedia file into a second album. The embodiment of the invention can solve the problem that the experience of a user when browsing the photo album is influenced by invalid multimedia files.

Description

File saving method and device, electronic equipment and medium
Technical Field
The embodiment of the invention relates to the field of multimedia file saving, in particular to a file saving method, a file saving device, electronic equipment and a medium.
Background
With the rapid development of mobile internet, electronic devices with photographing and recording functions have become indispensable tools in life.
However, at present, in the process of using the electronic device, there may be a photographing or video recording operation caused by a collision error, so that some unclear or invalid multimedia files may be stored in the electronic device, and a user may skip or manually delete the useless multimedia files when browsing an album, which affects the experience of the user when browsing the album.
Disclosure of Invention
The embodiment of the invention provides a file saving method, a file saving device, electronic equipment and a file saving medium, and aims to solve the problem that an invalid multimedia file influences the experience of a user when the user browses an album.
In a first aspect, an embodiment of the present invention provides a file saving method, which is applied to an electronic device, and includes:
receiving a first input of a user on a shooting preview interface;
under the condition that the first input meets a preset condition, responding to the first input, and saving the shot multimedia file into a first photo album;
and under the condition that the first input does not meet the preset condition, responding to the first input, and saving the shot multimedia file into a second album.
In a second aspect, an embodiment of the present invention further provides a file saving apparatus, which is applied to an electronic device, and includes:
the input receiving module is used for receiving a first input of a user on a shooting preview interface;
the first saving module is used for responding to the first input and saving the shot multimedia file into a first album under the condition that the first input meets the preset condition;
and the second saving module is used for responding to the first input and saving the shot multimedia file into a second album under the condition that the first input does not accord with the preset condition.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the file saving method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the file saving method according to the first aspect.
In the embodiment of the invention, two albums are arranged in the electronic equipment, and the multimedia files meeting the preset conditions and the multimedia files not meeting the preset conditions are respectively stored in different albums. The method can independently store the multimedia files which are possibly invalid, and the user can not be influenced by the invalid multimedia files when browsing other albums, so that the operation that the user skips or deletes the invalid multimedia files is reduced, and the convenience of the user and the experience of the user when browsing the albums are improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flowchart of a file saving method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a setup menu according to an embodiment of the present invention;
fig. 3 is a schematic view of an album according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a touch screen location provided in an embodiment of the present invention;
fig. 5 is a schematic diagram of a touch screen area provided in an embodiment of the present invention;
fig. 6 is a schematic flowchart of another file saving method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a preset saving time setting interface according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a file saving apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As described in the background section, the existing image saving method has a defect that invalid multimedia files caused by mistaken touch shooting cannot be removed, and the invalid multimedia files can affect the experience of a user for browsing an album and occupy the storage space of electronic equipment, so in order to solve the defect, the embodiment of the invention provides a file saving method which can distinguish whether the shot multimedia files are valid by setting a preset condition, and further realize a mode of storing the valid multimedia files and the invalid multimedia files in a classified manner, so that the experience of the user for browsing the album is improved, the invalid multimedia files can be conveniently deleted by the user, and the occupation of the storage space by the invalid multimedia files is reduced.
The document saving method provided by the present application is described in detail below with reference to the accompanying drawings. Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a file saving method according to an embodiment of the present invention, where the method is applied to an electronic device, and includes:
s101, receiving a first input of a user on a shooting preview interface;
the multimedia files include pictures and videos shot by the electronic equipment.
S102, judging whether the first input meets a preset condition or not;
s103, under the condition that the first input meets a preset condition, responding to the first input, and saving the shot multimedia file into a first photo album;
the preset condition may be set as a photographing condition characterizing photographing effectiveness. Through setting a preset condition, the shot effective multimedia files and the shot invalid multimedia files can be classified.
And S104, under the condition that the first input does not meet the preset condition, responding to the first input, and saving the shot multimedia file into a second album.
The shooting condition which is not in accordance with the preset condition is a shooting condition for representing shooting invalidity. For example, a picture taken by a 2-3 year old child without unlocking the phone is considered an invalid picture.
In the embodiment of the invention, two albums are arranged in the electronic equipment, and the multimedia files meeting the preset conditions and the multimedia files not meeting the preset conditions are respectively stored in different albums. The method can independently store the multimedia files which are possibly invalid, and the user can not be influenced by the invalid multimedia files when browsing other albums, so that the operation that the user skips or deletes the invalid multimedia files is reduced, and the convenience of the user and the experience of the user when browsing the albums are improved.
In some embodiments, before S101, further comprising: and controlling the multimedia classification function to be started.
The multimedia file classifying function is used for classifying and storing the multimedia files according to the condition that whether the multimedia files shot under different shooting conditions meet the preset conditions. The switch of the multimedia file classification function may be preset in a setting application of the electronic device, or in a setting menu of an album application, and the name of the multimedia file classification function may be set as a "temporary album" function, as shown in fig. 2, where fig. 2 is a schematic diagram of a setting menu provided in an embodiment of the present invention. In addition, under the condition that the multimedia file classification function is not manually started, the multimedia file classification function can be set to be not started by default, and then the user can manually control the starting. That is, the process of controlling the opening of the multimedia file classification function may be: and controlling the multimedia file classification function to be started under the condition of receiving a starting input for controlling the multimedia file classification function to be started by a user. Of course, the switch of the multimedia file sorting function may also be provided in other applications or be activated by a mechanical key on the electronic device.
In addition, the first album in S103 refers to an album for storing multimedia files deemed to be valid, so that "my album" in the electronic device may be directly utilized as the first album, as shown in fig. 3, where fig. 3 is a schematic diagram of an album provided by an embodiment of the present invention. Of course, a first album may be separately provided. And, the second album in S104 refers to an album for saving the multimedia file regarded as invalid. Since the second album is only used to save the view files regarded as invalid for a short time, the second album may be named as a "temporary album" as shown in fig. 3, and of course, the named contents of the second album are not limited by the present invention.
The preset condition set in the invention is used for distinguishing whether the shot multimedia file is valid according to the first input operation mode, so the setting of the preset condition can be set according to the input operation of the user during normal shooting and abnormal shooting. The following are some specific examples in which the first input meets the preset condition.
In some embodiments of the present invention, as shown in fig. 4, fig. 4 is a schematic diagram of a touch screen location according to an embodiment of the present invention. The first input meets a preset condition, and the first input comprises: the touch area of the first input on the display screen is the position of the shooting button.
If the touch screen position is the position of the shooting button, it usually indicates that the user currently using the electronic device is consciously and actively shooting, and therefore, the shot video or picture can be regarded as a valid multimedia file, whereas if the user shoots through touching the other position, the shot picture or video is highly likely to be an invalid file, so that the shot picture or video is temporarily allocated to the second album for saving, and the user can select whether to transfer the multimedia files from the second album to the other album. The judging method has high reliability and accords with the habit of shooting by users at ordinary times.
In other embodiments of the present invention, the first input meeting the preset condition may include: the user corresponding to the first input is a preset user.
Since the electronic device may be used by the owner or others (e.g., family members) permitted by the owner, or may be used by others not permitted by the owner, such as children aged 2-3 years old, at this time, since these children cannot control their own behavior, the multimedia files shot by the children are basically invalid multimedia files, and a large number of invalid multimedia files may be stored in the electronic device. Therefore, when the user corresponding to the first input is a preset user allowed by the owner, the preset user is usually indicated as a user capable of controlling the behavior of the user, and therefore the multimedia file shot under the condition is usually an effective file; otherwise, the shot multimedia file is likely to be an invalid file. The judgment method considers that the generation reason of the invalid multimedia files is mostly caused by the behaviors of playing mobile phones and the like of children, so that the judgment method judges whether the multimedia files are valid or not by judging the type of the user using the electronic equipment, and the judgment accuracy is high.
Further, S102 may further include: identifying a user corresponding to the first input through face identification operation; in this case, S102 may include: determining whether the identified user is the preset user, and if so, conforming to preset conditions; if not, the preset condition is not met.
That is, in this embodiment, the user identity is recognized through face recognition, and since the front-end camera of the electronic device usually faces the face of the user currently using the electronic device, the face information can be conveniently obtained to perform the identity recognition.
In another embodiment, the first input meets a preset condition, which may include: the electronic device is in an unlocked state.
At this time, the determining whether the first input meets the preset condition may include: and judging whether the electronic equipment is in an unlocked state. Whether the electronic device is in the unlocked state can be used for judging whether the user is a preset user, because only the preset user can usually take the unlocked electronic device, for example, when the electronic device is in the unlocked state, most users using the electronic device are owners or users allowed by the owners, and when the electronic device is not in the unlocked state, most users using the electronic device are users using the electronic device without the owner's permission, such as infants. Since the foregoing embodiment mentioned that the purpose of distinguishing valid files from invalid files as much as possible can be achieved by determining whether the user is a preset user, the present embodiment can also have the above-mentioned effect by determining whether the electronic device is in an unlocked state.
In other embodiments of the present invention, as shown in fig. 5, fig. 5 is a schematic diagram of a touch screen area according to an embodiment of the present invention. The first input meets the preset condition, and may include: the touch area corresponding to the first input reaches a preset area threshold.
Because the user mistakenly touches the shooting that leads to, the operation of the user mistakenly touching is usually lighter, and very few a part of user's finger has usually contacted the screen promptly, and the touch area can be less, and based on this, this embodiment judges whether the operation of shooing the multimedia file is the mistake according to the size of touch area, and is comparatively reliable.
In other embodiments of the present invention, the first input meeting the preset condition may include: the touch pressure corresponding to the first input exceeds a preset pressure threshold.
Because the user mistakenly touches the shooting that leads to, the operation of mistakenly touching of user is lighter usually, and user's touch pressure is less promptly, and based on this, this embodiment judges whether multimedia file is the mistake according to the size of touch pressure, and is comparatively reliable.
In the foregoing embodiments, the present invention provides several determination manners for determining whether the shooting operation is valid according to a single condition, and in other embodiments, whether the shooting operation is valid may be determined according to other single conditions.
Further, in other embodiments of the present invention, several single conditions given in the foregoing embodiments may be combined as the preset condition, and the combined condition judgment mode has higher accuracy in distinguishing the invalid multimedia files than the single condition judgment mode. Several specific examples of some embodiments of the invention are given below. In addition, other combinations of the aforementioned single conditions can be used as the preset conditions, which is not limited by the present invention.
In a specific embodiment, the first input meeting the preset condition may include: under the condition that the touch area of the first input on the display screen is not the position of the shooting button, the user corresponding to the first input is a preset user and the touch area corresponding to the first input reaches a preset area threshold; or the touch area of the first input on the display screen is the position of the shooting button.
That is, in the present embodiment, the process of S102 is as follows:
determining whether a touch area of the first input on the display screen is the position of the shooting button;
under the condition that the touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition;
under the condition that a touch area of the first input on the display screen is not the position of the shooting button, identifying a user corresponding to the first input, and acquiring a touch area corresponding to the first input;
when the user corresponding to the first input is a preset user and the touch area corresponding to the first input reaches a preset area threshold, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In this embodiment, the aforementioned three single conditions are integrated, that is, whether the touch area of the first input on the display screen is the position of the shooting button, whether the user corresponding to the first input is the preset user, and whether the touch area corresponding to the first input reaches the preset area threshold. The comprehensive judgment mode can give consideration to various shooting conditions of the user as much as possible, and can finely distinguish different shooting conditions of the user, so that invalid multimedia files can be accurately stored in the second album.
In another embodiment, the first input meeting the preset condition may include: the user corresponding to the first input is a preset user, and the touch area of the first input on the display screen is the position of the shooting button.
That is, in the present embodiment, the process of S102 is as follows:
determining whether a touch area of the first input on the display screen is the position of the shooting button, and identifying a user corresponding to the first input;
under the condition that the user corresponding to the first input is a preset user and the touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In another specific embodiment, the first input meets the preset condition, and the method may further include: the user corresponding to the first input is a preset user, or the touch area of the first input on the display screen is the position of the shooting button. That is, the preset condition is not satisfied when the user corresponding to the first input is not the preset user and the touch area of the first input on the display screen is not the position of the shooting button.
That is, in the present embodiment, the process of S102 is as follows:
determining whether a touch area of the first input on the display screen is the position of the shooting button, and identifying a user corresponding to the first input;
under the condition that a user corresponding to the first input is a preset user or a touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In the above two embodiments, the aforementioned two single conditions are combined, that is, whether the touch area of the first input on the display screen is the position of the shooting button and whether the user corresponding to the first input is the preset user. The invalid multimedia files are mainly generated when the user operates the non-preset multimedia files and the non-shooting button shoots, so that the invalid multimedia files and the valid multimedia files can be basically classified through the two single conditions, and the judgment process is simpler compared with a judgment mode of three conditions.
In another embodiment of the present invention, as shown in fig. 6, fig. 6 is a schematic flowchart of another file saving method provided in the embodiment of the present invention. The method further comprises the following steps:
and S105, deleting the multimedia files with the storage time exceeding the preset storage time length in the second album.
Namely, a timer for respectively recording the storage time of each multimedia file in the second album is arranged in the electronic equipment. The preset storage duration may be set to a default value, for example, 1 day, and a subsequent user may select a custom setting according to the user's own situation, change the preset storage duration to 1 hour or permanently, and so on. As shown in fig. 7, fig. 7 is a schematic view of a preset saving time period setting interface according to an embodiment of the present invention.
That is, in this embodiment, the multimedia file stored in the second album and possibly useless has a preset allowed storage time, that is, the storage time at most reaches the preset storage duration, and if the multimedia file is not still transferred to another album when the storage time reaches the preset storage duration, the multimedia file in the second album is deleted. The method can reduce the occupation of useless multimedia files on the storage space, improve the utilization efficiency of the space, and simultaneously give the user the opportunity to select the multimedia files required by the user in the second album. In addition, the embodiment provides an automatic deleting mechanism, so that the user does not need to delete the useless multimedia files at irregular intervals through the automatic deleting mechanism, and the user convenience is higher.
It should be noted that in some cases, S105 may be implemented after S104, i.e., S105 is executed in a short time after S101 to S104 are executed. However, in other cases, S105 is not required to be executed each time the multimedia file is saved in the second album, S101 to S104 may be executed again after S104 is executed, and S105 may be executed only after a long time; it is also possible to execute S101 to S104 once after executing S105. Therefore, there is no sequential restriction between S105 and S101-S104. Fig. 6 is a schematic illustration of only one embodiment.
Based on the file saving method embodiment provided in the foregoing embodiment, correspondingly, an embodiment of the present invention further provides a file saving device, as shown in fig. 8, where fig. 8 is a schematic structural diagram of the file saving device provided in the embodiment of the present invention. The device is applied to the electronic equipment, and comprises:
an input receiving module 201, configured to receive a first input of a user at a shooting preview interface;
the judging module 202 is configured to judge whether the first input meets a preset condition;
the first saving module 203 is used for responding to the first input and saving the shot multimedia file into a first album under the condition that the first input meets the preset condition;
and the second saving module 204 is used for responding to the first input and saving the shot multimedia file into a second album under the condition that the first input does not meet the preset condition.
In the embodiment of the invention, two albums are arranged in the electronic equipment, and the multimedia files meeting the preset conditions and the multimedia files not meeting the preset conditions are respectively stored in different albums. The method can independently store the multimedia files which are possibly invalid, and the user can not be influenced by the invalid multimedia files when browsing other albums, so that the operation that the user skips or deletes the invalid multimedia files is reduced, and the convenience of the user and the experience of the user when browsing the albums are improved.
In some embodiments, the apparatus further comprises: and the function starting module is used for controlling the starting of the multimedia file classification function. Specifically, the function starting module may be configured to: and controlling the multimedia file classification function to be started under the condition of receiving a starting input for controlling the multimedia file classification function to be started by a user. Further, in some embodiments of the present invention, the determining module may be configured to determine whether a touch area of the first input on the display screen is a position where the shooting button is located, if so, trigger the first saving module 203, and otherwise, trigger the second saving module 204.
If the touch screen position is the position of the shooting button, it usually indicates that the user currently using the electronic device is consciously and actively shooting, and therefore, the shot video or picture can be regarded as a valid multimedia file, whereas if the user shoots through touching the other position, the shot picture or video is highly likely to be an invalid file, so that the shot picture or video is temporarily allocated to the second album for saving, and the user can select whether to transfer the multimedia files from the second album to the other album. The judging method has high reliability and accords with the habit of shooting by users at ordinary times.
In other embodiments of the present invention, the determining module may be configured to determine whether the user corresponding to the first input is a preset user, if so, trigger the first saving module 203, otherwise, trigger the second saving module 204.
Since the electronic device may be used by the owner or others (e.g., family members) permitted by the owner, or may be used by others not permitted by the owner, such as children aged 2-3 years old, at this time, since these children cannot control their own behavior, the multimedia files shot by the children are basically invalid multimedia files, and a large number of invalid multimedia files may be stored in the electronic device. Therefore, when the user corresponding to the first input is a preset user allowed by the owner, the preset user is usually indicated as a user capable of controlling the behavior of the user, and therefore the multimedia file shot under the condition is usually an effective file; otherwise, the shot multimedia file is likely to be an invalid file. The judgment method considers that the generation reason of the invalid multimedia files is mostly caused by the behaviors of playing mobile phones and the like of children, so that the judgment method judges whether the multimedia files are valid or not by judging the type of the user using the electronic equipment, and the judgment accuracy is high.
The judging module may specifically execute the following operations to judge whether the user corresponding to the first input is a preset user: identifying a user corresponding to the first input through face identification operation; and determining whether the identified user is the preset user.
That is, in this embodiment, the user identity is recognized through face recognition, and since the front-end camera of the electronic device usually faces the face of the user currently using the electronic device, the face information can be conveniently obtained to perform the identity recognition.
In another embodiment, the determining module may be configured to determine whether the electronic device is in an unlocked state, and determine that the first input meets a preset condition when the electronic device is in the unlocked state.
Whether the electronic device is in the unlocked state can be used for judging whether the user is a preset user, because only the preset user can usually take the unlocked electronic device, for example, when the electronic device is in the unlocked state, most users using the electronic device are owners or users allowed by the owners, and when the electronic device is not in the unlocked state, most users using the electronic device are users using the electronic device without the owner's permission, such as infants. Since the foregoing embodiment mentioned that the purpose of distinguishing valid files from invalid files as much as possible can be achieved by determining whether the user is a preset user, the present embodiment can also have the above-mentioned effect by determining whether the electronic device is in an unlocked state.
In other embodiments of the present invention, the determining module may be configured to determine whether a touch area corresponding to the first input reaches a preset area threshold, if so, trigger the first saving module 203, and otherwise, trigger the second saving module 204.
Because the user mistakenly touches the shooting that leads to, the operation of the user mistakenly touching is usually lighter, and very few a part of user's finger has usually contacted the screen promptly, and the touch area can be less, and based on this, this embodiment judges whether the operation of shooing the multimedia file is the mistake according to the size of touch area, and is comparatively reliable.
In other embodiments of the present invention, the determining module may be configured to determine whether the touch pressure corresponding to the first input exceeds a preset pressure threshold, if so, trigger the first saving module 203, otherwise, trigger the second saving module 204.
Because the user mistakenly touches the shooting that leads to, the operation of mistakenly touching of user is lighter usually, and user's touch pressure is less promptly, and based on this, this embodiment judges whether multimedia file is the mistake according to the size of touch pressure, and is comparatively reliable.
In the foregoing embodiments, the present invention provides several determination manners for determining whether the shooting operation is valid according to a single condition, and in other embodiments, whether the shooting operation is valid may be determined according to other single conditions.
Further, in other embodiments of the present invention, several single conditions given in the foregoing embodiments may be combined as the preset condition, and the combined condition judgment mode has higher accuracy in distinguishing the invalid multimedia files than the single condition judgment mode. Several specific examples of some embodiments of the invention are given below. In addition, other combinations of the aforementioned single conditions can be used as the preset conditions, which is not limited by the present invention.
In an embodiment, the determining module may be configured to:
determining whether a touch area of the first input on the display screen is the position of the shooting button; under the condition that the touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition; under the condition that a touch area of the first input on the display screen is not the position of the shooting button, identifying a user corresponding to the first input, and acquiring a touch area corresponding to the first input; when the user corresponding to the first input is a preset user and the touch area corresponding to the first input reaches a preset area threshold, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In this embodiment, the aforementioned three single conditions are integrated, that is, whether the touch area of the first input on the display screen is the position of the shooting button, whether the user corresponding to the first input is the preset user, and whether the touch area corresponding to the first input reaches the preset area threshold. The comprehensive judgment mode can give consideration to various shooting conditions of the user as much as possible, and can finely distinguish different shooting conditions of the user, so that invalid multimedia files can be accurately stored in the second album.
In another specific embodiment, the determining module may be configured to:
determining whether a touch area of the first input on the display screen is the position of the shooting button, and identifying a user corresponding to the first input; under the condition that the user corresponding to the first input is a preset user and the touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In another specific embodiment, the determining module may be configured to:
determining whether a touch area of the first input on the display screen is the position of the shooting button, and identifying a user corresponding to the first input; under the condition that a user corresponding to the first input is a preset user or a touch area of the first input on the display screen is the position of the shooting button, the first input meets a preset condition; otherwise, the first input does not meet the preset condition.
In the above two embodiments, the aforementioned two single conditions are combined, that is, whether the touch area of the first input on the display screen is the position of the shooting button and whether the user corresponding to the first input is the preset user. The invalid multimedia files are mainly generated when the user operates the non-preset multimedia files and the non-shooting button shoots, so that the invalid multimedia files and the valid multimedia files can be basically classified through the two single conditions, and the judgment process is simpler compared with a judgment mode of three conditions.
In another embodiment of the present invention, the apparatus further comprises: and the deleting module is used for deleting the multimedia files with the storage time exceeding the preset storage time length in the second album.
That is, in this embodiment, the multimedia file stored in the second album and possibly useless has a preset allowed storage time, that is, the storage time at most reaches the preset storage duration, and if the multimedia file is not still transferred to another album when the storage time reaches the preset storage duration, the multimedia file in the second album is deleted. The method can reduce the occupation of useless multimedia files on the storage space, improve the utilization efficiency of the space, and simultaneously give the user the opportunity to select the multimedia files required by the user in the second album. In addition, the embodiment provides an automatic deleting mechanism, so that the user does not need to delete the useless multimedia files at irregular intervals through the automatic deleting mechanism, and the user convenience is higher.
The file saving device provided in the embodiment of the present invention can implement each method step implemented in the method embodiments of fig. 1 to fig. 7, and is not described herein again to avoid repetition.
Based on the file saving method embodiment provided by the above embodiment, correspondingly, an embodiment of the present invention further provides an electronic device, as shown in fig. 9, where fig. 9 shows a hardware structure diagram of the electronic device provided by the embodiment of the present invention.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to receive a first input of a user at a shooting preview interface; under the condition that the first input meets a preset condition, responding to the first input, and saving the shot multimedia file into a first photo album; and under the condition that the first input does not meet the preset condition, responding to the first input, and saving the shot multimedia file into a second album.
In the embodiment of the invention, two albums are arranged in the electronic equipment, and the multimedia files meeting the preset conditions and the multimedia files not meeting the preset conditions are respectively stored in different albums. The method can independently store the multimedia files which are possibly invalid, and the user can not be influenced by the invalid multimedia files when browsing other albums, so that the operation that the user skips or deletes the invalid multimedia files is reduced, and the convenience of the user and the experience of the user when browsing the albums are improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an 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 to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 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 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown in fig. 9 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage 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 cellular phone, and the like. Further, the memory 309 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 processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 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 the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program, when executed by the processor 310, implements each process of the above-mentioned file saving method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further 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 of the file saving method embodiment, 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 invention 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 (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A file saving method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input of a user on a shooting preview interface;
under the condition that the first input meets a preset condition, responding to the first input, and saving the shot multimedia file into a first photo album;
and under the condition that the first input does not meet the preset condition, responding to the first input, and saving the shot multimedia file into a second album.
2. The method of claim 1, further comprising:
and deleting the multimedia files with the storage time exceeding the preset storage time length in the second album.
3. The method according to claim 1 or 2, wherein the first input meets a preset condition, comprising: the touch area of the first input on the display screen is the position of the shooting button;
alternatively, the first and second electrodes may be,
the first input meets a preset condition and comprises the following steps: and the user corresponding to the first input is a preset user.
4. The method of claim 3, wherein after receiving the first input from the user and before determining whether the first input meets the preset condition, further comprising:
identifying a user corresponding to the first input through face identification operation;
the determining whether the first input meets a preset condition includes:
and determining whether the identified user is the preset user.
5. The method according to claim 1 or 2, wherein the first input meets a preset condition, comprising: the touch area corresponding to the first input reaches a preset area threshold.
6. The method according to claim 1 or 2, wherein the first input meets a preset condition, comprising: the touch pressure corresponding to the first input exceeds a preset pressure threshold.
7. The method according to claim 1 or 2, wherein the first input meets a preset condition, comprising:
under the condition that the touch area of the first input on the display screen is not the position of the shooting button, the user corresponding to the first input is the preset user and the touch area corresponding to the first input reaches a preset area threshold; or the touch area of the first input on the display screen is the position of the shooting button.
8. A file saving device applied to electronic equipment is characterized by comprising:
the input receiving module is used for receiving a first input of a user on a shooting preview interface;
the first saving module is used for responding to the first input and saving the shot multimedia file into a first album under the condition that the first input meets the preset condition;
and the second saving module is used for responding to the first input and saving the shot multimedia file into a second album under the condition that the first input does not accord with the preset condition.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the file saving method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the file saving method according to any one of claims 1 to 7.
CN201911106938.0A 2019-11-13 2019-11-13 File storage method, device, electronic equipment and medium Active CN110908954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911106938.0A CN110908954B (en) 2019-11-13 2019-11-13 File storage method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911106938.0A CN110908954B (en) 2019-11-13 2019-11-13 File storage method, device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN110908954A true CN110908954A (en) 2020-03-24
CN110908954B CN110908954B (en) 2023-05-12

Family

ID=69817618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911106938.0A Active CN110908954B (en) 2019-11-13 2019-11-13 File storage method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110908954B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051414A (en) * 2021-03-25 2021-06-29 重庆蓝岸通讯技术有限公司 Photographing video storage management method and device and terminal equipment

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140321721A1 (en) * 2013-04-26 2014-10-30 Canon Kabushiki Kaisha Information processing apparatus, control method thereof and program
CN104951176A (en) * 2014-03-24 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Image browsing device and method
US20160005229A1 (en) * 2014-07-01 2016-01-07 Samsung Electronics Co., Ltd. Electronic device for providing map information
US20160054896A1 (en) * 2014-08-25 2016-02-25 Canon Kabushiki Kaisha Electronic apparatus and method for controlling the same
US20160073036A1 (en) * 2015-03-17 2016-03-10 Mediatek Inc. Automatic Image Capture During Preview And Image Recommendation
US20160224179A1 (en) * 2015-02-04 2016-08-04 Canon Kabushiki Kaisha Electronic apparatus and control method of the same
CN105872424A (en) * 2015-12-25 2016-08-17 乐视致新电子科技(天津)有限公司 Video recording method of mobile terminal and the mobile terminal
US20160286118A1 (en) * 2014-06-11 2016-09-29 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN107124552A (en) * 2017-05-26 2017-09-01 努比亚技术有限公司 A kind of image pickup method, terminal and computer-readable recording medium
CN107231522A (en) * 2017-05-04 2017-10-03 广东欧珀移动通信有限公司 A kind of mobile terminal and its photographic method, computer-readable recording medium
CN107346202A (en) * 2017-06-26 2017-11-14 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107454269A (en) * 2017-09-08 2017-12-08 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107509028A (en) * 2017-08-10 2017-12-22 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium
WO2017219515A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Method for photographing focusing and electronic device
WO2018000116A1 (en) * 2016-06-26 2018-01-04 康丰生 Face recognition-based safe box
CN108712612A (en) * 2018-05-28 2018-10-26 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN109313533A (en) * 2016-06-30 2019-02-05 华为技术有限公司 A kind of touch-control response method, device and the terminal of touch screen
WO2019061419A1 (en) * 2017-09-30 2019-04-04 深圳市大疆创新科技有限公司 Photographing apparatus control method, photographing apparatus and storage medium
CN110140117A (en) * 2017-11-10 2019-08-16 华为技术有限公司 Terminal is based on the automatic cleaning individual subscriber file of user's habit
CN110198417A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140321721A1 (en) * 2013-04-26 2014-10-30 Canon Kabushiki Kaisha Information processing apparatus, control method thereof and program
CN104951176A (en) * 2014-03-24 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Image browsing device and method
US20160286118A1 (en) * 2014-06-11 2016-09-29 Lg Electronics Inc. Mobile terminal and method for controlling the same
US20160005229A1 (en) * 2014-07-01 2016-01-07 Samsung Electronics Co., Ltd. Electronic device for providing map information
US20160054896A1 (en) * 2014-08-25 2016-02-25 Canon Kabushiki Kaisha Electronic apparatus and method for controlling the same
US20160224179A1 (en) * 2015-02-04 2016-08-04 Canon Kabushiki Kaisha Electronic apparatus and control method of the same
US20160073036A1 (en) * 2015-03-17 2016-03-10 Mediatek Inc. Automatic Image Capture During Preview And Image Recommendation
CN105872424A (en) * 2015-12-25 2016-08-17 乐视致新电子科技(天津)有限公司 Video recording method of mobile terminal and the mobile terminal
WO2017219515A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Method for photographing focusing and electronic device
WO2018000116A1 (en) * 2016-06-26 2018-01-04 康丰生 Face recognition-based safe box
CN109313533A (en) * 2016-06-30 2019-02-05 华为技术有限公司 A kind of touch-control response method, device and the terminal of touch screen
CN107231522A (en) * 2017-05-04 2017-10-03 广东欧珀移动通信有限公司 A kind of mobile terminal and its photographic method, computer-readable recording medium
CN107124552A (en) * 2017-05-26 2017-09-01 努比亚技术有限公司 A kind of image pickup method, terminal and computer-readable recording medium
CN107346202A (en) * 2017-06-26 2017-11-14 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107509028A (en) * 2017-08-10 2017-12-22 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107454269A (en) * 2017-09-08 2017-12-08 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
WO2019061419A1 (en) * 2017-09-30 2019-04-04 深圳市大疆创新科技有限公司 Photographing apparatus control method, photographing apparatus and storage medium
CN110140117A (en) * 2017-11-10 2019-08-16 华为技术有限公司 Terminal is based on the automatic cleaning individual subscriber file of user's habit
CN108712612A (en) * 2018-05-28 2018-10-26 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal
CN110198417A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M. BURRI 等: "Design and control of a spherical omnidirectional blimp", 2013 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS *
王宇: "手机拍摄照片的原始性问题研究", 信息系统工程 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051414A (en) * 2021-03-25 2021-06-29 重庆蓝岸通讯技术有限公司 Photographing video storage management method and device and terminal equipment

Also Published As

Publication number Publication date
CN110908954B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN107580147B (en) Management method of notification message and mobile terminal
CN107194224B (en) Unlocking control method and related product
CN107656793B (en) Application program interface switching method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN108763540B (en) File browsing method and terminal
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
CN107786739B (en) Information acquisition method and mobile terminal
CN109284055B (en) Display page collection method and electronic equipment
CN107819936B (en) Short message classification method, mobile terminal and storage medium
CN107809515B (en) Display control method and mobile terminal
CN111290673B (en) Message processing method and electronic equipment
CN110908954B (en) File storage method, device, electronic equipment and medium
CN108132823B (en) Notification message prompting method and mobile terminal
CN109711198B (en) Application management method, mobile terminal and storage medium
CN110941592A (en) Data management method and mobile terminal
CN108810276B (en) Face recognition method and mobile terminal
CN110825288A (en) Image screening processing method and electronic equipment
CN108170360B (en) Control method of gesture function and mobile terminal
WO2019179312A1 (en) Mobile terminal operation method and mobile terminal
CN108228357B (en) Memory cleaning method and mobile terminal
US11461509B2 (en) Screen control method and terminal
CN109976610B (en) Application program identifier classification method and terminal equipment
CN110324493B (en) Notification message checking method and terminal
CN108418955B (en) Message processing method and device
CN109587345B (en) Abnormal application prompting method, mobile terminal and computer readable storage 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
GR01 Patent grant
GR01 Patent grant