CN107094237B - photographing method, device and equipment - Google Patents

photographing method, device and equipment Download PDF

Info

Publication number
CN107094237B
CN107094237B CN201710473779.2A CN201710473779A CN107094237B CN 107094237 B CN107094237 B CN 107094237B CN 201710473779 A CN201710473779 A CN 201710473779A CN 107094237 B CN107094237 B CN 107094237B
Authority
CN
China
Prior art keywords
picture
sound information
user
target picture
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710473779.2A
Other languages
Chinese (zh)
Other versions
CN107094237A (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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to CN201710473779.2A priority Critical patent/CN107094237B/en
Publication of CN107094237A publication Critical patent/CN107094237A/en
Application granted granted Critical
Publication of CN107094237B publication Critical patent/CN107094237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

the embodiment of the invention provides a photographing method, a photographing device and photographing equipment, wherein the method comprises the steps of collecting sound information after a photographing function of electronic equipment is started; when a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture; and associating the sound information with the target picture, and storing the associated sound information and the target picture. The photographing method, the photographing device and the photographing equipment provided by the embodiment of the invention can improve the user experience.

Description

photographing method, device and equipment
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a photographing method, apparatus, and device.
Background
Users often take photographs anytime and anywhere using a photographing device such as a camera, a mobile phone, or a wearable device having a photographing function to record a drip in life.
Generally, when a user takes a photo, the user may have some experience or other content that the user wants to make notes on the photo, so that when the user views the photo later, the user can easily remember the time, place or other relevant information of taking the photo. In the prior art, after a user takes a picture through a shooting device, characters are usually added to the taken picture to make remarks on related information.
However, the user notes the photo by manually adding the characters, and the operation is cumbersome, so that the user experience is not good.
Disclosure of Invention
In view of this, embodiments of the present invention provide a photographing method, apparatus and device, which are used to solve the technical problem in the prior art that when a user remarks a photo, the operation is cumbersome, and the user experience is not good.
in a first aspect, an embodiment of the present invention provides a photographing method, including:
after the electronic equipment starts a photographing function, sound information is collected;
When a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture;
and associating the sound information with the target picture, and storing the associated sound information and the target picture.
In the above scheme, because electronic equipment is gathering sound information to after acquireing the target picture of shooing, associate sound information and target picture and store, like this, just can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture that shoots through manual mode, not only can improve the efficiency that the remark added from this, can improve user's experience moreover.
in one possible implementation manner, before the collecting the sound information, the method further includes:
And receiving a voice remark instruction triggered by a user, wherein the voice remark instruction is used for indicating the electronic equipment to start collecting the voice information.
in a possible implementation manner, before receiving a voice remark instruction triggered by a user, the method further includes:
Displaying a preview interface to the user, wherein the preview interface is provided with a remark mark;
the receiving of the voice remark instruction triggered by the user comprises the following steps:
and receiving a selected operation instruction of the user on the remark identification on the preview interface.
in the scheme, the electronic equipment displays the preview interface to the user, and the user triggers the sound remark instruction by selecting the remark identifier on the preview interface so that the electronic equipment starts to collect sound information.
In a possible implementation manner, the associating the sound information with the target picture includes:
judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when the target picture is shot;
And if the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value, associating the sound information with the target picture.
In the scheme, whether the difference value between the first time stamp and the second time stamp is smaller than a first preset threshold value or not is judged, and when the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value, the sound information and the target picture are associated, so that the association accuracy can be improved.
in one possible implementation, the method further includes:
Receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for indicating the electronic equipment to display the target picture;
and according to the picture browsing instruction, playing sound information associated with the target picture when the target picture is displayed.
in a possible implementation manner, before receiving a user-triggered instruction to browse a picture, the method further includes:
Displaying a picture browsing interface to the user, wherein at least one picture is displayed on the picture browsing interface;
the receiving of the instruction for browsing pictures triggered by the user includes:
And receiving a selected operation instruction of the user on the target picture in the at least one picture on the picture browsing interface.
In the scheme, the picture browsing interface is displayed for the user, and the picture browsing instruction triggered by the user is received, so that when the target picture is displayed, the sound information associated with the target picture is played, the user can quickly know the related information of the target picture, and the user experience can be improved.
In a possible implementation manner, if the collection time length of the sound information is greater than a second preset threshold value;
The associating the sound information with the target picture includes:
and associating the sound information within a preset time range after the starting timestamp for starting to collect the sound information with the target picture.
In the scheme, when the collection time length of the sound information is greater than the second preset threshold value, the sound information within the preset time range after the starting timestamp for starting to collect the sound information can be associated with the target picture, so that the storage space of the electronic equipment can be saved.
In a second aspect, an embodiment of the present invention provides a photographing apparatus, including:
The acquisition module is used for acquiring sound information after the electronic equipment starts a photographing function;
The processing module is used for controlling the electronic equipment to take a picture when receiving a picture taking instruction triggered by a user to obtain a target picture;
The association module is used for associating the sound information with the target picture;
And the storage module is used for storing the associated sound information and the target picture.
in one possible implementation, the apparatus further includes:
The first receiving module is used for receiving a voice remark instruction triggered by a user, and the voice remark instruction is used for indicating the electronic equipment to start collecting the voice information.
in one possible implementation, the apparatus further includes:
the first display module is used for displaying a preview interface to the user, and the preview interface is provided with a remark identifier;
The first receiving module comprises:
and the first receiving submodule is used for receiving a selected operation instruction of the user on the preview interface for the remark identification.
in one possible implementation, the association module includes:
The judgment sub-module is used for judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when the target picture is shot;
and the association submodule is used for associating the sound information with the target picture when the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value.
in one possible implementation, the apparatus further includes:
The second receiving module is used for receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for indicating the electronic equipment to display the target picture;
And the playing module is used for playing the sound information associated with the target picture when the target picture is displayed according to the picture browsing instruction.
in one possible implementation, the apparatus further includes:
The second display module is used for displaying a picture browsing interface to the user, and at least one picture is displayed on the picture browsing interface;
The second receiving module includes:
and the second receiving submodule is used for receiving a selected operation instruction of the user on the target picture in the at least one picture on the picture browsing interface.
In a possible implementation manner, if the collection time length of the sound information is greater than a second preset threshold value;
the association module is further configured to associate the sound information within a preset time range after the start timestamp of the sound information starts to be acquired with the target picture.
in a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory, the memory storing execution instructions, the processor and the memory communicating when the electronic device is running, execution of the execution instructions by the processor causing the electronic device to perform the method of the first aspect.
the embodiment of the invention provides a photographing method, a photographing device and photographing equipment. Because electronic equipment is gathering sound information to after acquireing the target picture of shooing, associate sound information and target picture and store, like this, just can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture of shooing through manual mode, not only can improve the efficiency that the remark was added from this, can improve user's experience moreover.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
fig. 1 is a schematic flowchart of a first photographing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an electronic device detecting whether audio information is input;
FIG. 3 is a schematic diagram illustrating a triggering manner of a photographing instruction;
fig. 4 is a schematic flowchart of a second photographing method according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a preview interface;
Fig. 6 is a schematic flowchart of a third embodiment of a photographing method according to the present invention;
fig. 7 is a schematic flowchart of a fourth photographing method according to an embodiment of the present invention;
FIG. 8a is a schematic view of a picture browsing interface;
FIG. 8b is a schematic diagram of target image display;
fig. 9 is a schematic structural diagram of a first photographing device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second photographing apparatus according to an embodiment of the present invention;
Fig. 11 is a schematic structural diagram of a third photographing apparatus according to an embodiment of the present invention;
Fig. 12 is a schematic structural diagram of a fourth photographing apparatus according to an embodiment of the present invention;
Fig. 13 is a schematic structural diagram of an electronic device according to a first embodiment of the invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but 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.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
the photographing method, the photographing device and the photographing equipment provided by the embodiment of the invention mainly aim at the problem that when a user takes a photo, and has some mind to experience, idea or other contents which need to be remarked on the photo, in the prior art, the user can only add characters in the shot photo after the photo is taken so as to remark related information, and as the user can only manually annotate the photo, the operation is more complicated, and the user experience is not good.
Therefore, the photographing method, the photographing device and the photographing equipment provided by the embodiment of the invention aim to solve the technical problems that in the prior art, when a photo is remarked, only a character is manually added, so that the operation is complicated, and the user experience is not good.
the technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
fig. 1 is a schematic flowchart of a first embodiment of a photographing method according to an embodiment of the present invention. The embodiment of the invention provides a photographing method, which can be executed by any device for executing the photographing method, and the device can be realized by software and/or hardware. In this embodiment, the apparatus may be integrated in an electronic device. As shown in fig. 1, the method of this embodiment may include:
step 101, collecting sound information after the electronic equipment starts a photographing function.
In this embodiment, the electronic device is a device having a shooting function and a sound information collecting function at the same time, and may be, for example, a camera, a mobile phone, a tablet computer, a wearable device, such as a smart band and smart glasses, or may be other electronic devices having a shooting function and a sound information collecting function.
in addition, the sound information includes voice information input by the user and other sound information, such as rain sound when raining, wind sound when blowing, or the sound of other animals.
After the electronic equipment detects that the photographing function is started, whether sound information exists or not is detected, and if the sound information exists, the sound information is collected. The electronic device starts a photographing function, wherein the photographing function includes that a photographing Application (App) in the electronic device is in an operating state, and the photographing Application is in a photographing preview interface, at this time, the electronic device will start to detect whether a sound signal is input, fig. 2 is a schematic diagram of the electronic device detecting whether sound information is input, as shown in fig. 2, a mobile phone is taken as an example for explanation, and when the photographing Application 10 is turned on and a camera is started, whether sound information is input can be detected through an integrated microphone 20. In a specific implementation process, the electronic device may be implemented by installed application software, for example, after the application software detects that the electronic device starts a photographing function, a microphone may be automatically turned on to detect whether sound information is input, of course, a sound association function may also be added to the existing photographing function, and after the electronic device starts the photographing function, the function may be automatically invoked to turn on the microphone to detect whether sound information is input.
and 102, when a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture.
In this embodiment, after receiving a photographing instruction sent by a user, the electronic device will take a picture according to the photographing instruction, so as to obtain a target picture, where fig. 3 is a schematic diagram of a triggering manner of the photographing instruction, as shown in fig. 3, the user may trigger the photographing instruction by pressing a photographing function key, and in addition, the user may also trigger the photographing instruction by other manners, such as: the specific triggering mode of the photographing instruction is not limited herein, and the triggering mode is triggered by clicking or double-clicking the screen, by pressing a certain physical key, or by voice.
And 103, associating the sound information with the target picture, and storing the associated sound information and the target picture.
In this embodiment, after the electronic device takes a picture and obtains a shot target picture, the electronic device associates the collected sound information with the shot target picture to obtain associated sound information and the associated target picture, and stores the associated sound information and the associated target picture.
when a user wants to browse a shot target picture, the electronic equipment plays sound information associated with the target picture during the process of displaying the target picture. It should be noted that, a piece of sound information may be associated with multiple target pictures, that is, multiple target pictures may correspond to the same piece of sound information, and at this time, when the user wants to view a target picture, multiple target pictures will all play the same piece of sound information. In addition, multiple pieces of sound information may also be associated with one target picture, and in this case, when the user wants to view the target picture, the multiple pieces of sound information will be played when the target picture is displayed.
the embodiment of the invention provides a photographing method, which comprises the steps of collecting sound information input by a user after an electronic device starts a photographing function, controlling the electronic device to photograph when a photographing instruction triggered by the user is received, obtaining a target picture, associating the sound information with the target picture, and storing the associated sound information and the target picture. Because electronic equipment is gathering sound information to after acquireing the target picture of shooing, associate sound information and target picture and store, like this, just can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture of shooing through manual mode, not only can improve the efficiency that the remark was added from this, can improve user's experience moreover.
fig. 4 is a flowchart illustrating a second embodiment of a photographing method according to an embodiment of the present invention, and this embodiment describes details of an embodiment in which, on the basis of the embodiment shown in fig. 1, an electronic device needs to receive a voice remark instruction triggered by a user before acquiring voice information input by the user. As shown in fig. 4, the method of this embodiment may include:
step 401, after the electronic device starts the photographing function, displaying a preview interface to a user, where the preview interface is provided with a remark identifier.
In this embodiment, the preview interface is an interface displayed after the photographing application is opened, that is, an interface capable of directly photographing pictures. Fig. 5 is a schematic view of a preview interface, and as shown in fig. 5, a mark of a sound remark is arranged on the preview interface.
step 402, receiving a voice remark instruction triggered by a user, where the voice remark instruction is used to instruct an electronic device to start collecting voice information.
in this embodiment, as shown in fig. 5, the user may send a selection operation instruction to the electronic device by performing a selection operation on the memo identifier on the preview interface, so as to trigger the sound memo instruction.
And step 403, collecting voice information input by a user.
It should be noted that, in order to prevent the collected sound information from being too long, the electronic device may also set a preset time period, that is, the sound information input by the user may be collected within the preset time period, where the preset time period may be set according to actual conditions or experience, for example, may be set to 10s or 8s, and a specific value of the preset time period is not limited herein.
and step 404, when a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture.
And 405, associating the sound information with the target picture, and storing the associated sound information and the target picture.
Steps 403 to 405 are similar to steps 101 to 103, and detailed description of specific implementation is omitted here.
the embodiment of the invention provides a photographing method, which comprises the steps of collecting sound information input by a user after an electronic device starts a photographing function, controlling the electronic device to photograph when a photographing instruction triggered by the user is received, obtaining a target picture, associating the sound information with the target picture, and storing the associated sound information and the target picture. Because electronic equipment is gathering sound information to after acquireing the target picture of shooing, correlate sound information and target picture and save, like this, can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture of shooing through manual mode, not only can improve the efficiency that the remark was added from this, can improve user's experience moreover. In addition, the electronic equipment displays a preview interface to the user, and the user triggers a sound remark instruction by selecting the remark identifier on the preview interface so that the electronic equipment starts to collect sound information.
fig. 6 is a schematic flowchart of a third embodiment of the photographing method according to the embodiment of the present invention, and this embodiment describes in detail a specific implementation manner of step S103 based on the embodiment shown in fig. 1 or fig. 2. As shown in fig. 6, the method of this embodiment may include:
Step 601, judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when a target picture is shot.
because the user may speak for multiple times when taking a picture, that is, the electronic device may collect multiple sounds, and the user may also take multiple pictures within a certain time period, an error may occur when the electronic device associates the sound information with the target picture, so that the accuracy of associating the sound information with the target picture may be reduced. In order to solve this problem, in this embodiment, the electronic device records a first timestamp when the sound information starts to be collected and a second timestamp when the target picture is taken, and determines whether a difference between the two timestamps is smaller than a first preset threshold.
Step 602, if the difference between the first timestamp and the second timestamp is smaller than a first preset threshold, associating the sound information with the target picture.
in this embodiment, when the electronic device determines that the difference between the first timestamp and the second timestamp is smaller than the first preset threshold, it indicates that the time interval between the sound information collection and the photographing is short, and at this time, the collected sound information may be associated with the obtained target picture. For example, if the first timestamp is 28 minutes and 10 seconds at 13/2017 when the sound information is collected, the second timestamp is 28 minutes and 18 seconds at 11/13/2017 when the target picture is taken, and assuming that the first preset threshold is 10 seconds, since the difference between the first timestamp and the second timestamp is less than 10 seconds, the sound information collected at 11/28 minutes and 10 seconds at 13/2017 is associated with the picture taken at 28 minutes and 18 seconds at 11/28/18/13/2017/5/13/2017. It should be noted that, as long as the picture taken when the difference is smaller than the first preset threshold value, that is, the picture taken by the user within 28 minutes and 20 seconds from 11 o 'clock of 5 th and 13 th in 2017, the sound information collected at 28 minutes and 10 seconds from 11 o' clock of 11 th and 13 th in 2017 may be associated with the sound information.
it should be noted that, if the user triggers the sound remark instruction and the electronic device limits the time of the sound information by setting the preset time duration, at this time, the user may take a picture before the preset time duration is finished, and the electronic device may associate the sound information collected within the preset time duration with the obtained target picture.
The embodiment of the invention provides a photographing method, which comprises the steps of collecting sound information input by a user after an electronic device starts a photographing function, controlling the electronic device to photograph when a photographing instruction triggered by the user is received, obtaining a target picture, associating the sound information with the target picture, and storing the associated sound information and the target picture. Because electronic equipment is gathering sound information to after acquireing the target picture of shooing, associate sound information and target picture and store, like this, just can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture of shooing through manual mode, not only can improve the efficiency that the remark was added from this, can improve user's experience moreover. In addition, whether the difference value between the first time stamp and the second time stamp is smaller than a first preset threshold value or not is judged, and when the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value, the sound information and the target picture are associated, so that the association accuracy can be improved.
fig. 7 is a schematic flowchart of a fourth embodiment of the photographing method according to the embodiment of the present invention, and this embodiment describes in detail an embodiment in which, on the basis of the embodiment shown in fig. 1 or fig. 2, after associating the sound information with the target picture, the user views the target picture. As shown in fig. 7, the method of this embodiment may include:
Step 701, receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for instructing the electronic device to display a target picture.
In this embodiment, after the user finishes taking a picture, the electronic device displays a picture browsing interface to the user, at least one picture is displayed on the picture browsing interface, and the user can send a selected operation instruction to the electronic device by clicking a target picture in the picture browsing interface, so as to trigger a picture browsing instruction.
step 702, according to the picture browsing instruction, when the target picture is displayed, playing the sound information associated with the target picture.
In this embodiment, after receiving a picture browsing instruction triggered by a user, the electronic device displays a target picture according to the instruction, and in addition, when the target picture is displayed, plays sound information associated with the target picture. For example, fig. 8a is a schematic diagram of a picture browsing interface, and fig. 8b is a schematic diagram of target picture display, as shown in fig. 8 a-8 b, the picture browsing interface includes at least one picture that has been taken before, when a user wants to view a certain picture, the user selects the target picture that the user wants to view on the picture browsing interface, and if the user wants to view a certain picture, the user can directly click the picture. Assuming that the sound information associated with the target picture is "this cup is XX made", when the user selects the target picture, the electronic device displays the target picture on the screen, and simultaneously, the sound information "this cup is XX made" is automatically played through the speaker 30.
The embodiment of the invention provides a photographing method, which comprises the steps of collecting sound information input by a user after an electronic device starts a photographing function, controlling the electronic device to photograph when a photographing instruction triggered by the user is received, obtaining a target picture, associating the sound information with the target picture, and storing the associated sound information and the target picture. Because electronic equipment is gathering sound information to after acquireing the target picture of shooing, associate sound information and target picture and store, like this, just can be fast and convenient in the in-process of shooing add the remark for the picture, thereby avoided among the prior art can only add the phenomenon of remark with the form of characters in the picture of shooing through manual mode, not only can improve the efficiency that the remark was added from this, can improve user's experience moreover. In addition, the picture browsing interface is displayed for the user, and the picture browsing instruction triggered by the user is received, so that when the target picture is displayed, the sound information associated with the target picture is played, the user can quickly know the related information of the target picture, and the user experience can be improved.
Optionally, on the basis of the foregoing embodiments, if the collection time length of the sound information is greater than the second preset threshold, the sound information is associated with the target picture, including associating the sound information within a preset time range after the start time stamp of the sound information being collected with the target picture.
specifically, if the time length of the sound information collected by the electronic device is greater than a second preset threshold, for example, greater than 10s, the sound information in a preset time range after the start time stamp of the sound information is started to be collected is associated with the target picture. For example: and if the time length of the collected sound information is 12s, associating the sound information in the first 10s with the target picture. The second preset threshold and the preset time range may be the same or different.
in addition, if the collection time length of the sound information is greater than the second preset threshold, the electronic device may also directly send a prompt message to the user to prompt the user that the sound information input at this time is wrong or invalid.
In this embodiment, when the collection time length of the sound information is greater than the second preset threshold, the sound information within the preset time range after the start timestamp of the sound information is started to be collected may be associated with the target picture, so that the storage space of the electronic device may be saved.
fig. 9 is a schematic structural diagram of a first photographing device according to an embodiment of the present invention. The photographing device can be an independent electronic device or a device integrated in the electronic device, and the photographing device can be realized through software, hardware or a combination of the software and the hardware. As shown in fig. 9, the photographing apparatus includes:
The acquisition module 11 is used for acquiring sound information after the electronic equipment starts a photographing function;
The processing module 12 is configured to control the electronic device to take a picture when receiving a shooting instruction triggered by a user, so as to obtain a target picture;
a correlation module 13, configured to correlate the sound information with the target picture;
And the storage module 14 is configured to store the associated sound information and the target picture.
the photographing apparatus provided in the embodiment of the present invention may implement the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a second photographing apparatus according to an embodiment of the present invention, and based on the embodiment shown in fig. 9, the apparatus further includes: a first receiving module 15.
the first receiving module 15 is configured to receive a voice note instruction triggered by a user, where the voice note instruction is used to instruct the electronic device to start to acquire the voice information.
optionally, the apparatus further comprises:
the first display module 16 is configured to display a preview interface to the user, where the preview interface is provided with a remark identifier;
The first receiving module 15 includes:
And the first receiving submodule 151 is configured to receive a selected operation instruction of the user on the preview interface for the remark identifier.
The photographing apparatus provided in the embodiment of the present invention may implement the method embodiment shown in fig. 4, which has similar implementation principles and technical effects, and is not described herein again.
fig. 11 is a schematic structural diagram of a third photographing apparatus according to an embodiment of the present invention, and based on the embodiment shown in fig. 9, the association module 13 includes: a decision submodule 131 and an association submodule 132.
the determining sub-module 131 is configured to determine whether a difference between a first timestamp and a second timestamp is smaller than a first preset threshold, where the first timestamp is a timestamp when sound information starts to be collected, and the second timestamp is a timestamp when the target picture is shot;
the associating sub-module 132 is configured to associate the sound information with the target picture when a difference between the first timestamp and the second timestamp is smaller than the first preset threshold.
the photographing apparatus provided in the embodiment of the present invention may implement the method embodiment shown in fig. 6, which has similar implementation principles and technical effects, and is not described herein again.
Fig. 12 is a schematic structural diagram of a fourth embodiment of a photographing apparatus according to an embodiment of the present invention, where on the basis of the embodiment shown in fig. 9, the apparatus further includes: a second receiving module 17 and a playing module 18.
A second receiving module 17, configured to receive a picture browsing instruction triggered by a user, where the picture browsing instruction is used to instruct the electronic device to display the target picture;
and the playing module 18 is configured to play, according to the picture browsing instruction, sound information associated with the target picture when the target picture is displayed.
Optionally, the apparatus further comprises:
the second display module 19 is configured to display a picture browsing interface to the user, where at least one picture is displayed on the picture browsing interface;
The second receiving module 17 includes:
the second receiving sub-module 171 is configured to receive a selected operation instruction of the user on the picture browsing interface for the target picture in the at least one picture.
The photographing apparatus provided in the embodiment of the present invention may implement the method embodiment shown in fig. 7, which has similar implementation principles and technical effects, and is not described herein again.
Optionally, if the acquisition time length of the sound information is greater than a second preset threshold value;
the association module 13 is further configured to associate the sound information within a preset time range after the start timestamp of the sound information starts to be acquired with the target picture.
Fig. 13 is a schematic structural diagram of an electronic device according to a first embodiment of the invention. As shown in fig. 13, the electronic device 130 provided in the present embodiment includes a processor 131 and a memory 132. Wherein, the memory 132 stores execution instructions, when the electronic device 130 runs, the processor 131 communicates with the memory 132, and the processor 131 executes the execution instructions to make the electronic device 130 execute the following method:
after the electronic equipment starts a photographing function, sound information is collected;
When a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture;
and associating the sound information with the target picture, and storing the associated sound information and the target picture.
Optionally, before the collecting the sound information, the method further includes:
and receiving a voice remark instruction triggered by a user, wherein the voice remark instruction is used for indicating the electronic equipment to start collecting the voice information.
optionally, before receiving a user-triggered voice remark instruction, the method further includes:
Displaying a preview interface to the user, wherein the preview interface is provided with a remark mark;
The receiving of the voice remark instruction triggered by the user comprises the following steps:
and receiving a selected operation instruction of the user on the remark identification on the preview interface.
Optionally, the associating the sound information with the target picture includes:
judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when the target picture is shot;
and if the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value, associating the sound information with the target picture.
Optionally, the method further comprises:
Receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for indicating the electronic equipment to display the target picture;
And according to the picture browsing instruction, playing sound information associated with the target picture when the target picture is displayed.
Optionally, before receiving a user-triggered instruction to browse a picture, the method further includes:
Displaying a picture browsing interface to the user, wherein at least one picture is displayed on the picture browsing interface;
the receiving of the instruction for browsing pictures triggered by the user includes:
and receiving a selected operation instruction of the user on the target picture in the at least one picture on the picture browsing interface.
optionally, if the acquisition time length of the sound information is greater than a second preset threshold value;
The associating the sound information with the target picture includes:
And associating the sound information within a preset time range after the starting timestamp for starting to collect the sound information with the target picture.
finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. a method of taking a picture, comprising:
After the electronic equipment starts a photographing function, sound information is collected;
When a photographing instruction triggered by a user is received, controlling the electronic equipment to photograph to obtain a target picture;
Associating the sound information with the target picture, and storing the associated sound information and the target picture,
Wherein the associating the sound information with the target picture includes:
Judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when the target picture is shot;
And if the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value, associating the sound information with the target picture.
2. the method of claim 1, wherein prior to collecting the voice information, the method further comprises:
and receiving a voice remark instruction triggered by a user, wherein the voice remark instruction is used for indicating the electronic equipment to start collecting the voice information.
3. the method of claim 2, further comprising, prior to receiving a user-triggered voice remark instruction:
Displaying a preview interface to the user, wherein the preview interface is provided with a remark mark;
the receiving of the voice remark instruction triggered by the user comprises the following steps:
and receiving a selected operation instruction of the user on the remark identification on the preview interface.
4. the method of claim 1, further comprising:
Receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for indicating the electronic equipment to display the target picture;
And according to the picture browsing instruction, playing sound information associated with the target picture when the target picture is displayed.
5. the method of claim 4, further comprising, prior to receiving a user-triggered browse pictures instruction:
Displaying a picture browsing interface to the user, wherein at least one picture is displayed on the picture browsing interface;
the receiving of the instruction for browsing pictures triggered by the user includes:
And receiving a selected operation instruction of the user on the target picture in the at least one picture on the picture browsing interface.
6. the method of claim 1, wherein if the collection time duration of the sound information is greater than a second predetermined threshold;
the associating the sound information with the target picture includes:
And associating the sound information within a preset time range after the starting timestamp for starting to collect the sound information with the target picture.
7. A photographing apparatus, comprising:
The acquisition module is used for acquiring sound information after the electronic equipment starts a photographing function;
The processing module is used for controlling the electronic equipment to take a picture when receiving a picture taking instruction triggered by a user to obtain a target picture;
The association module is used for associating the sound information with the target picture;
A storage module for storing the associated sound information and the target picture,
Wherein the association module comprises:
the judgment sub-module is used for judging whether a difference value between a first time stamp and a second time stamp is smaller than a first preset threshold value, wherein the first time stamp is the time stamp when sound information starts to be collected, and the second time stamp is the time stamp when the target picture is shot;
and the association submodule is used for associating the sound information with the target picture when the difference value between the first time stamp and the second time stamp is smaller than the first preset threshold value.
8. The apparatus of claim 7, further comprising:
the first receiving module is used for receiving a voice remark instruction triggered by a user, and the voice remark instruction is used for indicating the electronic equipment to start collecting the voice information.
9. the apparatus of claim 8, further comprising:
the first display module is used for displaying a preview interface to the user, and the preview interface is provided with a remark identifier;
The first receiving module comprises:
And the first receiving submodule is used for receiving a selected operation instruction of the user on the preview interface for the remark identification.
10. The apparatus of claim 7, further comprising:
the second receiving module is used for receiving a picture browsing instruction triggered by a user, wherein the picture browsing instruction is used for indicating the electronic equipment to display the target picture;
And the playing module is used for playing the sound information associated with the target picture when the target picture is displayed according to the picture browsing instruction.
11. The apparatus of claim 10, further comprising:
the second display module is used for displaying a picture browsing interface to the user, and at least one picture is displayed on the picture browsing interface;
The second receiving module includes:
And the second receiving submodule is used for receiving a selected operation instruction of the user on the target picture in the at least one picture on the picture browsing interface.
12. the apparatus according to claim 7, wherein if the collection time duration of the sound information is greater than a second predetermined threshold;
The association module is further configured to associate the sound information within a preset time range after the start timestamp of the sound information starts to be acquired with the target picture.
13. An electronic device, comprising: a processor and a memory, the memory storing execution instructions that, when executed by the electronic device, communicate between the processor and the memory, execution of the execution instructions by the processor causing the electronic device to perform the method of any of claims 1-6.
CN201710473779.2A 2017-06-21 2017-06-21 photographing method, device and equipment Active CN107094237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710473779.2A CN107094237B (en) 2017-06-21 2017-06-21 photographing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710473779.2A CN107094237B (en) 2017-06-21 2017-06-21 photographing method, device and equipment

Publications (2)

Publication Number Publication Date
CN107094237A CN107094237A (en) 2017-08-25
CN107094237B true CN107094237B (en) 2019-12-10

Family

ID=59639523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710473779.2A Active CN107094237B (en) 2017-06-21 2017-06-21 photographing method, device and equipment

Country Status (1)

Country Link
CN (1) CN107094237B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325581B (en) * 2021-04-29 2023-07-21 江苏洪旭德生科技有限公司 VR glasses based on 5G cloud rendering

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753941A (en) * 2008-12-19 2010-06-23 康佳集团股份有限公司 Method for realizing markup information in imaging device and imaging device
CN203261399U (en) * 2013-04-27 2013-10-30 林宁 Camera intelligent box and shooting information recording device
CN104169913A (en) * 2013-11-21 2014-11-26 华为终端有限公司 A picture display method and device and a terminal device
CN104683677A (en) * 2013-11-26 2015-06-03 深圳富泰宏精密工业有限公司 System and method of adding voice description to photo
CN106060394A (en) * 2016-06-28 2016-10-26 广东欧珀移动通信有限公司 Photographing method and device, and terminal device
CN106375547A (en) * 2015-07-20 2017-02-01 Lg电子株式会社 Terminal device and controlling method thereof
CN106878608A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of mobile terminal and its processing method of taking pictures

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101449862B1 (en) * 2013-07-02 2014-10-08 주식회사 엘지유플러스 Photographing apparatus, control method, and recording medium thereof for matching and saving photograph and voice recognition information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753941A (en) * 2008-12-19 2010-06-23 康佳集团股份有限公司 Method for realizing markup information in imaging device and imaging device
CN203261399U (en) * 2013-04-27 2013-10-30 林宁 Camera intelligent box and shooting information recording device
CN104169913A (en) * 2013-11-21 2014-11-26 华为终端有限公司 A picture display method and device and a terminal device
CN104683677A (en) * 2013-11-26 2015-06-03 深圳富泰宏精密工业有限公司 System and method of adding voice description to photo
CN106375547A (en) * 2015-07-20 2017-02-01 Lg电子株式会社 Terminal device and controlling method thereof
CN106878608A (en) * 2015-12-11 2017-06-20 北京奇虎科技有限公司 A kind of mobile terminal and its processing method of taking pictures
CN106060394A (en) * 2016-06-28 2016-10-26 广东欧珀移动通信有限公司 Photographing method and device, and terminal device

Also Published As

Publication number Publication date
CN107094237A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
JP6117446B2 (en) Real-time video providing method, real-time video providing device, server, terminal device, program, and recording medium
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
CN106165430B (en) Net cast method and device
CN105845124B (en) Audio processing method and device
CN105635254B (en) Multimedia resource method for down loading and device
US20110093266A1 (en) Voice pattern tagged contacts
CN108848313B (en) Multi-person photographing method, terminal and storage medium
CN111416940A (en) Shooting parameter processing method and electronic equipment
TW201251443A (en) Video summary including a feature of interest
CN107948729B (en) Rich media processing method and device, storage medium and electronic equipment
CN105205494B (en) Similar pictures recognition methods and device
CN107517351B (en) Photographing mode switching method and device
US9628966B2 (en) Method and device for sending message
CN113411516B (en) Video processing method, device, electronic equipment and storage medium
CN109257649B (en) Multimedia file generation method and terminal equipment
CN104883503A (en) Customized shooting technology based on voice
EP2988458A1 (en) Method and device for sending message
CN110019897B (en) Method and device for displaying picture
CN103220469A (en) Camera smart box, camera data processing system and camera data processing method
CN107094237B (en) photographing method, device and equipment
CN203261399U (en) Camera intelligent box and shooting information recording device
CN112087653A (en) Data processing method and device and electronic equipment
CN106878620A (en) The method and apparatus for controlling IMAQ
CN106412417A (en) Method and device for shooting images
CN115243087A (en) Audio and video co-shooting processing method and device, terminal equipment and 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