CN108710468A - Image acquiring method, device, storage medium and electronic equipment - Google Patents

Image acquiring method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108710468A
CN108710468A CN201810394912.XA CN201810394912A CN108710468A CN 108710468 A CN108710468 A CN 108710468A CN 201810394912 A CN201810394912 A CN 201810394912A CN 108710468 A CN108710468 A CN 108710468A
Authority
CN
China
Prior art keywords
camera
touch
electronic equipment
image
control operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810394912.XA
Other languages
Chinese (zh)
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810394912.XA priority Critical patent/CN108710468A/en
Publication of CN108710468A publication Critical patent/CN108710468A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

A kind of image acquiring method of the embodiment of the present application offer, device, storage medium and electronic equipment, described image acquisition methods include:Obtain the acceleration of electronic equipment;If the acceleration is more than predetermined acceleration threshold value, touch control operation is detected by touch-control sensing module;Camera is opened according to the touch control operation and image is obtained by the camera.In described image acquisition methods, since touch-control sensing module is arranged on the frame of electronic equipment, user only needs to carry out touch control operation on the frame of electronic equipment can to open camera and capture, electronic equipment is unlocked without the display screen by electronic equipment, opens the operations such as camera application, so as to simplify the operation of user so that user may be implemented quickly to capture.

Description

Image acquiring method, device, storage medium and electronic equipment
Technical field
This application involves electronic technology field, more particularly to a kind of image acquiring method, device, storage medium and electronics are set It is standby.
Background technology
With the fast development of electronic technology, the function of the electronic equipments such as smart mobile phone is more and more abundant.Wherein, it claps Have become the essential function of the electronic equipments such as smart mobile phone according to function.
In the daily life of user, it is frequently encountered some excellent moments.User often wants excellent by what is encountered Moment is recorded by way of photo.However, in current electronic equipment, user wants to capture by electronic equipment excellent When moment, need to carry out a series of cumbersome operations.For example, firstly the need of unlock electronic equipment, then needs to open to shoot and answer With calling camera to take pictures finally by camera application.Cumbersome photographing operation not only wastes the time of user, toward contact meeting Lead to not capture and arrives Highlight.
Invention content
A kind of image acquiring method of the embodiment of the present application offer, device, storage medium and electronic equipment, may be implemented quickly It captures.
The embodiment of the present application provides a kind of image acquiring method, is applied to electronic equipment, the electronic equipment includes frame And it is fixed on the camera on the frame, touch-control sensing module, described image are provided on the frame of the electronic equipment Acquisition methods include:
Obtain the acceleration of the electronic equipment;
If the acceleration is more than predetermined acceleration threshold value, touch control operation is detected by the touch-control sensing module;
The camera is opened according to the touch control operation and image is obtained by the camera.
The embodiment of the present application also provides a kind of image acquiring device, is applied to electronic equipment, the electronic equipment includes side Frame and the camera being fixed on the frame are provided with touch-control sensing module, the figure on the frame of the electronic equipment As acquisition device includes:
First acquisition module, the acceleration for obtaining the electronic equipment;
Detection module is examined if being more than predetermined acceleration threshold value for the acceleration by the touch-control sensing module Survey touch control operation;
Second acquisition module is schemed for opening the camera according to the touch control operation and being obtained by the camera Picture.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers so that the computer executes above-mentioned image acquiring method.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment includes storage circuit and processing circuit, institute It states and is stored with computer program in storage circuit, the processing circuit is by calling the calculating stored in the storage circuit Machine program, for executing above-mentioned image acquiring method.
The embodiment of the present application also provides a kind of electronic equipment, including acceleration transducer, camera, processing circuit and shell Body, the acceleration transducer, camera, processing circuit are separately positioned on the enclosure interior, the frame setting of the shell There are touch-control sensing module, the acceleration transducer, camera, touch-control sensing module to be connect respectively with the processing circuit, In:
The acceleration transducer is used to obtain the acceleration of the electronic equipment;
The touch-control sensing module is used to detect touch control operation when the acceleration is more than predetermined acceleration threshold value;
The processing circuit, which is used to open the camera according to the touch control operation and obtain by the camera, schemes Picture.
Image acquiring method provided by the embodiments of the present application, including:Obtain the acceleration of electronic equipment;If the acceleration More than predetermined acceleration threshold value, then touch control operation is detected by touch-control sensing module;Camera is opened according to the touch control operation And image is obtained by the camera.In described image acquisition methods, since touch-control sensing module is arranged in electronic equipment On frame, user only needs to carry out touch control operation on the frame of electronic equipment can to open camera and capture, without logical The display screen for crossing electronic equipment is unlocked electronic equipment, opens the operations such as camera application, so as to simplify the behaviour of user Make so that user may be implemented quickly to capture.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the circuit diagram for the touch-control sensing module being arranged on the embodiment of the present application electronic equipment.
Fig. 3 is another circuit diagram for the touch-control sensing module being arranged on the embodiment of the present application electronic equipment.
Fig. 4 is the first flow diagram of image acquiring method provided by the embodiments of the present application.
Fig. 5 is second of flow diagram of image acquiring method provided by the embodiments of the present application.
Fig. 6 is the third flow diagram of image acquiring method provided by the embodiments of the present application.
Fig. 7 is the 4th kind of flow diagram of image acquiring method provided by the embodiments of the present application.
Fig. 8 is the 5th kind of flow diagram of image acquiring method provided by the embodiments of the present application.
Fig. 9 is the 6th kind of flow diagram of image acquiring method provided by the embodiments of the present application.
Figure 10 is the 7th kind of flow diagram of image acquiring method provided by the embodiments of the present application.
Figure 11 is the application scenarios schematic diagram of image acquiring method provided by the embodiments of the present application.
Figure 12 is the structural schematic diagram of image acquiring device provided by the embodiments of the present application.
Figure 13 is another structural schematic diagram of image acquiring device provided by the embodiments of the present application.
Figure 14 is the another structural schematic diagram of image acquiring device provided by the embodiments of the present application.
Figure 15 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, all other implementation that those skilled in the art are obtained under the premise of not making the creative labor Example, belongs to the protection domain of the application.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing etc. (if present) is for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that this The object of sample description can be interchanged in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning Figure, which is to cover, non-exclusive includes.For example, containing the process of series of steps, method or containing a series of modules or list The device of member, electronic equipment, system those of are not necessarily limited to clearly to list step or module or unit, can also include not having The step of clearly listing or module or unit can also include for these processes, method, apparatus, electronic equipment or system Intrinsic other steps or module or unit.
With reference to figure 1, Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.The electronic equipment can be with It is smart mobile phone, tablet computer, game station, AR (Augmented Reality, augmented reality) equipment, automobile, data storage Device, audio playing apparatus, video play device, notebook, Desktop computing device, wearable device such as wrist-watch, glasses, head The equipment such as helmet, electronic bracelet, electronics necklace, electronic clothes.Electronic equipment 100 include display screen 10, center 20, circuit board 30, Battery 40, shell 50 and camera 60.
Wherein, display screen 10 is mounted on shell 50, to form the display surface of electronic equipment 100.Display screen 10 is as electricity The front housing of sub- equipment 100 forms a receiving space, other electronic components or work(for accommodating electronic equipment 100 with shell 50 It can component.Meanwhile display screen 10 forms the display surface of electronic equipment 100, for showing the information such as image, text.Display screen 10 Can be liquid crystal display (Liquid Crystal Display, LCD) or organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED) etc. types display screen.
In some embodiments, glass cover-plate can be provided on display screen 10.Wherein, glass cover-plate can cover display Screen 10, to be protected to display screen 10, prevents display screen 10 to be scraped off or by Water Damage.
In some embodiments, as shown in Figure 1, display screen 10 may include display area 11 and non-display area 12. Wherein, display area 11 executes the display function of display screen 10, for showing the information such as image, text.Non-display area 12 can For functional units such as setting camera, receiver, display screen touch control electrodes.In some embodiments, non-display area 12 May include positioned at least one region of 11 upper and lower part of display area.
In some embodiments, display screen 10 can be to shield comprehensively.At this point, display screen 10 can be displayed in full screen information, from And electronic equipment 100 has larger screen accounting.Display screen 10 only includes display area 11, without including non-display area, or The area of person's non-display area for a user is smaller.At this point, the work(such as camera, ambient light sensor in electronic equipment 100 Energy component can be hidden in 10 lower section of display screen, and the fingerprint recognition module of electronic equipment 100 can be arranged in electronic equipment 100 The back side.
Center 20 can be lamellar or laminar structure, or hollow frame structure.Wherein, center 20 can To be housed in the receiving space that above-mentioned display screen 10 is formed with shell 50.Center 20 is used for as the electronics in electronic equipment 100 Element or functional unit provide a supporting role, and electronic component, the functional unit in electronic equipment are mounted together.For example, The functional units such as camera, receiver, circuit board, battery in electronic equipment can be installed on center 20 to be consolidated It is fixed.In some embodiments, the material of center 20 may include metal or plastic cement.
Circuit board 30 is mounted on inside above-mentioned receiving space.For example, circuit board 30 may be mounted on the center 20, and It is housed in together in above-mentioned receiving space with center 20.Circuit board 30 can be the mainboard of electronic equipment 100.It is set on circuit board 30 It is equipped with earth point, to realize the ground connection of circuit board 30.It is integrated with processing circuit on circuit board 30.The processing circuit is for running Application program in electronic equipment, and the data stored in electronic equipment are handled.The processing circuit can be with institute Circuit board 30 is stated to be installed along with inside shell 50.Motor, microphone, loud speaker, called can also be integrated on circuit board 30 Device, earphone interface, Universal Serial Bus Interface (USB interface), camera, range sensor, ambient light sensor, acceleration pass One in the functional units such as sensor, gyroscope, it is two or more.Meanwhile display screen 10 can be electrically connected to circuit board 30.
In some embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen 10 output electric signals, information is shown with control display screen 10.
Battery 40 is mounted on inside above-mentioned receiving space.For example, battery 40 may be mounted on the center 20, and in Frame 20 is housed in together in above-mentioned receiving space.Battery 40 can be electrically connected to the circuit board 30, to realize that battery 40 is electricity Sub- equipment 100 is powered.Wherein, electric power management circuit can be provided on circuit board 30.The electric power management circuit is used for will be electric The voltage that pond 40 provides is assigned to each electronic component in electronic equipment 100.
Shell 50 is used to form the frame and rear cover of electronic equipment 100.Shell 50 can be integrally formed.In shell 50 In forming process, the structures such as rear camera hole, fingerprint recognition module mounting hole can be formed on shell 50.
In the embodiment of the present application, it is provided with touch-control sensing module on the frame of the shell 50.The touch-control sensing mould Group is connect with the processing circuit in electronic equipment 100.Wherein, the touch-control sensing module may include pressure sensor.It is described Pressure sensor can be arranged in the frame of shell 50, and touch panel is arranged in the top of pressure sensor, be touched with being formed Control inductive module.
In some embodiments, as shown in Fig. 2, pressure sensor may include the electric bridge electricity being made of four varistors Road.Wherein, bridge circuit is by joining end to end and resistance value identical varistor R1, R2, R3, R4 are formed.Work as pressure sensor When not having depressed force effect, the resistance value of four resistance is equal in bridge circuit.When pressure sensor is depressed When force effect, the resistance value of two opposite resistance increases, and the resistance value of other two resistance will reduce.To by resistance value Variable quantity is converted to corresponding voltage value, to know the size of pressing force according to the variation of voltage value.
For example, as shown in figure 3, when the depressed power of the resistance value of resistance R2 and resistance R3 reduces 1%, resistance The resistance value of R1 and resistance R4 then increase by 1%, then two " in " voltage value between point will become 2% from 0, it in turn, can should Amplified sensor output voltage is converted to number by voltage value by ADC in turn by the level of enhanced processing to suitable ADC Word formula, then the controller in circuit board or DSP processing are given, know the size and pressing position of current press power.
It continues to refer to figure 1, camera 60 can be integrated on the circuit board 30, and be arranged together in shell with circuit board 30 Inside body 50.The camera 60 can be fixed on the frame of shell 50.Camera 60 and the processing electricity in electronic equipment 100 Road connects.Camera 60 can be used for obtaining image for realizing camera function namely camera 60.Wherein, the camera 60 may include front camera, can also include rear camera.The camera 60 can be single camera, can also be Dual camera, or can also be multi-cam.The application is to installation position of the camera 60 on electronic equipment 100 and takes the photograph As the quantity of head does not limit.
The embodiment of the present application provides a kind of image acquiring method, and described image acquisition methods can be applied to above-mentioned electronics and set In standby 100.Wherein, the electronic equipment 100 includes frame and the camera being fixed on the frame.The electronic equipment Touch-control sensing module is provided on 100 frame.As shown in figure 4, described image acquisition methods, may comprise steps of:
110, obtain the acceleration of electronic equipment.
Wherein, it is provided with acceleration transducer in electronic equipment.The acceleration transducer can be integrated in electronic equipment Circuit board on, and connect with the processing circuit on circuit board.
The acceleration transducer is used to detect the acceleration of electronic equipment.Wherein, the acceleration of electronic equipment can be made For the reference of electronic equipment motion state.
Electronic equipment can obtain the acceleration of itself by the acceleration transducer, to pass through the acceleration got Data judge the motion state of itself.
It should be noted that the acceleration that electronic equipment obtains can be instantaneous acceleration, can also be in one section of duration Acceleration change data, such as acceleration change data in 100ms (millisecond), can also be average in one section of duration plus Average acceleration in speed, such as 100ms.
120, if the acceleration is more than predetermined acceleration threshold value, touch control operation is detected by touch-control sensing module.
In general, user is having found splendid moment, it is desirable to which when being captured by electronic equipment, electronic equipment is often not in The posture that can be shot immediately.For example, electronic equipment is likely to be brought on table, it is likely to be brought into pocket, it is also possible to quilt It is placed in knapsack, it is also possible to user's hand-hold electronic equipments during walking.When user wants to capture by electronic equipment, need The posture that electronic equipment is adjusted to shoot.At this point, the process of a jerky motion can occur for electronic equipment, I.e. user by electronic equipment by process that the pose adjustment that should not be shot is the posture that can be shot.This jerky motion During, the acceleration of electronic equipment can occur significantly to change.
Wherein, a predetermined acceleration threshold value, such as 3m/s can be pre-set in electronic equipment2(rice is per quadratic power Second).When the acceleration of electronic equipment is more than the predetermined acceleration threshold value, it is believed that the tune of posture has occurred in electronic equipment It is whole;When the acceleration of electronic equipment is less than or equal to the predetermined acceleration threshold value, it is believed that appearance does not occur for electronic equipment The adjustment of state.
It, can be by the acceleration got and the predetermined acceleration threshold value after electronic equipment gets the acceleration of itself It is compared.If the acceleration is more than the predetermined acceleration threshold value, it is believed that the adjustment of posture has occurred in electronic equipment, Electronic equipment detects touch control operation by touch-control sensing module at this time.If the acceleration is less than or equal to the predetermined acceleration Threshold value, then electronic equipment can be without response.
The operation that the touch control operation is carried out by user by the touch-control sensing module of electronic equipment frame.For example, with Family can press the touch-control sensing module, and user can also carry out slide on the touch-control sensing module.Electronics is set Standby pressing force size, pressing position and the Continued depression duration that user's pressing can be detected by the touch-control sensing module. When user carries out slide on the touch-control sensing module, touch-control sensing module can be by detecting user's slide In multiple press points detect glide direction, sliding trace and the sliding speed of user's slide.
130, camera is opened according to the touch control operation and image is obtained by the camera.
After electronic equipment detects touch control operation by touch-control sensing module, you can open electronics according to the touch control operation The camera of equipment simultaneously obtains image by the camera.The image of acquisition can be saved as photo by electronic equipment, namely Shoot photo by the camera, or the image of acquisition can also be saved as to video, namely by the camera into Row video recording.Wherein, video recording is referred to as imaging.
In the embodiment of the present application, since touch-control sensing module is arranged on the frame of electronic equipment, user only needs in electricity Progress touch control operation can open camera and be captured on the frame of sub- equipment, without the display screen by electronic equipment to electricity Sub- equipment is unlocked, opens the operations such as camera application, so as to simplify the operation of user so that user may be implemented quickly It captures.
In some embodiments, as shown in figure 5, step 130, opening according to the touch control operation camera and by described Camera obtains image, includes the following steps:
131, if the touch control operation is located at the first touch-control sensing area, opens front camera and preposition taken the photograph by described As head obtains image;If the touch control operation is located at the second touch-control sensing area, rear camera is opened and by the postposition Camera obtains image.
With reference to Figure 11, wherein the touch-control sensing module being arranged on electronic equipment frame includes the first touch-control sensing area With the second touch-control sensing area.First touch-control sensing area is intervally installed with the second touch-control sensing area.For example, described first Touch-control sensing area can be located at one end of electronic equipment frame, and second touch-control sensing area can be located at electronic equipment frame The other end.
After electronic equipment detects touch control operation by touch-control sensing module, determine which touch-control the touch control operation is located at Induction zone.That is, judging to be touch control operation that the first touch-control sensing area detects or what the second touch-control sensing area detected touches Control operation.
Meanwhile the camera on electronic equipment includes front camera and rear camera.Wherein, front camera is arranged One side where display screen in electronic equipment, the direction where the shooting direction towards display screen of front camera.Postposition is taken the photograph One side where rear cover in electronic equipment is set as head, the direction where the shooting direction towards rear cover of rear camera.
If the touch control operation is located at first touch-control sensing area, opens front camera and preposition taken the photograph by described As head obtains image.For example, user can obtain the image of user itself by the front camera, namely carry out self-timer.
If the touch control operation is located at second touch-control sensing area, opens rear camera and taken the photograph by the postposition As head obtains image.For example, user can obtain scene image remotely by the rear camera.
In some embodiments, as shown in fig. 6, step 130, opening according to the touch control operation camera and by described Camera obtains image, includes the following steps:
132, if the touch control operation is located at the first touch-control sensing area, opens camera and obtained by the camera Present image;If the touch control operation is located at the second touch-control sensing area, opens camera and persistently obtained by the camera Take image.
With reference to Figure 11, wherein the touch-control sensing module being arranged on electronic equipment frame includes the first touch-control sensing area With the second touch-control sensing area.First touch-control sensing area is intervally installed with the second touch-control sensing area.For example, described first Touch-control sensing area can be located at one end of electronic equipment frame, and second touch-control sensing area can be located at electronic equipment frame The other end.
After electronic equipment detects touch control operation by touch-control sensing module, determine which touch-control the touch control operation is located at Induction zone.That is, judging to be touch control operation that the first touch-control sensing area detects or what the second touch-control sensing area detected touches Control operation.
If the touch control operation is located at first touch-control sensing area, opens camera and obtained by the camera Present image.Wherein, present image is the image got at this time by the camera.Electronic equipment obtains present image The present image got is saved as into photo or picture afterwards.
If the touch control operation is located at second touch-control sensing area, opens camera and continued by the camera Obtain image.Wherein, it is persistently to be shot by the camera, namely record a video persistently to obtain image.Electronics is set The image persistently got is saved as into video after standby persistently acquisition image.
In some embodiments, as shown in fig. 7, step 130, opening according to the touch control operation camera and by described Camera obtains image, includes the following steps:
133, determine that the action type of the touch control operation, the action type include clicking to grasp according to the touch control operation Make, slide and Continued depression operate;
134, if the action type is the first predetermined registration operation type, opens camera and obtained by the camera Present image;If the action type is second predetermined registration operation type, opens camera and persistently obtained by the camera Take image.
Wherein, the touch control operation that electronic equipment is got may include clicking operation (such as single-click operation, double click operation Deng), slide and Continued depression operation.Continued depression operation is also referred to as long press operation.When user's Continued depression touch-control sense The duration of module is answered to reach certain time length, such as when 1s (second), you can to think that the operation of user operates for Continued depression.
The first predetermined registration operation type of triggering camera shooting photo can be pre-set in electronic equipment.Described first is pre- If action type can be any type of operations such as clicking operation, slide, Continued depression operation.
The second predetermined registration operation type that triggering camera is recorded a video can also be pre-set in electronic equipment.Described second Predetermined registration operation type may be any type of operations such as clicking operation, slide, Continued depression operation.Also, it is described Second predetermined registration operation type and the first predetermined registration operation type are different types of touch control operations.For example, described first is default Action type is clicking operation, and the second predetermined registration operation type operates for Continued depression.
If the action type is the first predetermined registration operation type, opens camera and obtained by the camera Present image, namely shooting photo.If the action type is the second predetermined registration operation type, opens camera and pass through The camera persistently obtains image, namely records a video.
In some embodiments, as shown in figure 8, step 130, opening according to the touch control operation camera and by described Camera obtains image, includes the following steps:
135, obtain the Continued depression duration of the touch control operation;
136, if the Continued depression duration is less than preset duration, opens camera and worked as by camera acquisition Preceding image;If the Continued depression duration is greater than or equal to the preset duration, camera is opened and by the camera Persistently obtain image.
Wherein, the touch control operation that touch-control sensing module detects includes Continued depression operation.It can be in electronic equipment Pre-set a preset duration.The preset duration is recorded a video for triggering electronic equipment.For example, the preset duration can Think 3s (second), 4s etc..
After electronic equipment gets the touch control operation that touch-control sensing module detects, the touch control operation is further obtained Continued depression duration.If the Continued depression duration is less than the preset duration, camera is opened and by the camera Obtain present image, namely shooting photo.If the Continued depression duration is greater than or equal to the preset duration, camera shooting is opened Head simultaneously persistently obtains image by the camera, namely records a video.
For example, the preset duration is 3s.A length of 3.5s when the Continued depression of the touch control operation, the then Continued depression Duration is more than the preset duration.At this point, electronic equipment opens camera and is recorded a video by the camera.
In some embodiments, as shown in figure 9, step 130, opening according to the touch control operation camera and by described It is further comprising the steps of before camera obtains image:
140, judge whether the ambient light intensity of the electronic equipment local environment changes;
130, if the ambient light intensity changes, the camera is opened according to the touch control operation and passes through institute It states camera and obtains image.
Wherein, it is provided with ambient light sensor in electronic equipment.The ambient light sensor can be integrated in electronic equipment Circuit board on, and connect with the processing circuit in electronic equipment.The ambient light sensor is for detecting ambient light intensity.
After electronic equipment detects touch control operation by touch-control sensing module, can repeatedly it be obtained by ambient light sensor The ambient light intensity of electronic equipment local environment.For example, electronic equipment can first obtain a secondary environment by ambient light sensor Luminous intensity obtains ambient light intensity again after being spaced one section of duration, such as interval 50ms (millisecond) obtains ambient light intensity again.
Then, the ambient light intensity repeatedly obtained is compared by electronic equipment, you can judges ring residing for electronic equipment Whether the ambient light intensity in border changes.For example, the ambient light intensity obtained twice be respectively 200lux (lux), 300lux.It then may determine that the ambient light intensity for electronic equipment local environment is changed.
If the ambient light intensity of electronic equipment local environment is changed, it may be considered that the environment residing for electronic equipment Changed, the process that also electronic equipment can have occurred posture change further confirms that.At this point, electronic equipment It opens camera and image is obtained by the camera.If the ambient light intensity of electronic equipment local environment does not change, Then electronic equipment can not respond the touch control operation detected.
In some embodiments, as shown in Figure 10, step 130, opened according to the touch control operation and camera and pass through institute It is further comprising the steps of before stating camera acquisition image:
150, judge whether the display screen of the electronic equipment is in and puts out screen state;
130, if the display screen of the electronic equipment, which is in, puts out screen state, the camera shooting is opened according to the touch control operation Head simultaneously obtains image by the camera.
Wherein, electronic equipment, which can detect display screen and be in, puts out screen state or bright screen state.Electronic equipment, which is in, puts out screen When state, illustrate that electronic equipment is not in the state being used by a user.Therefore, in the case where display screen is in and puts out the scene of screen state, User has the demand of bigger to capture.
If the display screen of electronic equipment, which is in, puts out screen state, the camera is opened according to the touch control operation and is passed through The camera obtains image.If the display screen of electronic equipment is not in screen state of putting out, electronic equipment can not be to detecting Touch control operation responded.
In some embodiments, 0 is continued to refer to figure 1, step 130 is opened camera according to the touch control operation and passed through It is further comprising the steps of after the camera obtains image:
161, the display screen for controlling the electronic equipment is lighted;
162, the image of acquisition is shown on the display screen.
Wherein, screen state is put out when the display screen of electronic equipment is in, it, can be with after electronic equipment obtains image by camera The display screen of control electronics is lighted, and the image got is shown on the display screen, is obtained with being shown to user The image arrived allows user to learn the result of candid photograph.User such as can preserve, delete to the photo or video of shooting at the behaviour Make.
When it is implemented, the application is not limited by the execution sequence of described each step, conflict is not being generated In the case of, certain steps can also use other sequences to carry out or be carried out at the same time.
From the foregoing, it will be observed that image acquiring method provided by the embodiments of the present application, including:Obtain the acceleration of electronic equipment;If The acceleration is more than predetermined acceleration threshold value, then detects touch control operation by touch-control sensing module;According to the touch control operation It opens camera and image is obtained by the camera.In described image acquisition methods, since the setting of touch-control sensing module exists On the frame of electronic equipment, user only needs to carry out touch control operation on the frame of electronic equipment can to open camera and grab It claps, electronic equipment is unlocked without the display screen by electronic equipment, opens the operations such as camera application, so as to simplification The operation of user so that user may be implemented quickly to capture.
The embodiment of the present application also provides a kind of image acquiring device, and described image acquisition device can be integrated in above-mentioned electronics In equipment 100.Wherein, the electronic equipment 100 includes frame and the camera being fixed on the frame.The electronics is set It is provided with touch-control sensing module on standby 100 frame.
As shown in figure 12, image acquiring device 200 may include:First acquisition module 201, detection module 202, second are obtained Modulus block 203.
First acquisition module 201, the acceleration for obtaining electronic equipment.
Wherein, it is provided with acceleration transducer in electronic equipment.The acceleration transducer can be integrated in electronic equipment Circuit board on, and connect with the processing circuit on circuit board.
The acceleration transducer is used to detect the acceleration of electronic equipment.Wherein, the acceleration of electronic equipment can be made For the reference of electronic equipment motion state.
First acquisition module 201 can obtain the acceleration of electronic equipment by the acceleration transducer, with by obtaining The acceleration information got judges the motion state of electronic equipment.
It should be noted that the acceleration that the first acquisition module 201 obtains can be instantaneous acceleration, can also be one section Acceleration change data in acceleration change data in duration, such as 100ms (millisecond) can also be in one section of duration Average acceleration in average acceleration, such as 100ms.
Detection module 202 is detected if being more than predetermined acceleration threshold value for the acceleration by touch-control sensing module Touch control operation.
In general, user is having found splendid moment, it is desirable to which when being captured by electronic equipment, electronic equipment is often not in The posture that can be shot immediately.For example, electronic equipment is likely to be brought on table, it is likely to be brought into pocket, it is also possible to quilt It is placed in knapsack, it is also possible to user's hand-hold electronic equipments during walking.When user wants to capture by electronic equipment, need The posture that electronic equipment is adjusted to shoot.At this point, the process of a jerky motion can occur for electronic equipment, I.e. user by electronic equipment by process that the pose adjustment that should not be shot is the posture that can be shot.This jerky motion During, the acceleration of electronic equipment can occur significantly to change.
Wherein, a predetermined acceleration threshold value, such as 3m/s can be pre-set in electronic equipment2(rice is per quadratic power Second).When the acceleration of electronic equipment is more than the predetermined acceleration threshold value, it is believed that the tune of posture has occurred in electronic equipment It is whole;When the acceleration of electronic equipment is less than or equal to the predetermined acceleration threshold value, it is believed that appearance does not occur for electronic equipment The adjustment of state.
After first acquisition module 201 gets the acceleration of electronic equipment, acceleration that detection module 202 can will be got Degree is compared with the predetermined acceleration threshold value.If the acceleration is more than the predetermined acceleration threshold value, it is believed that electricity The adjustment of posture has occurred in sub- equipment, and detection module 202 detects touch control operation by touch-control sensing module at this time.If the acceleration Degree is less than or equal to the predetermined acceleration threshold value, then can be without response.
Second acquisition module 203 is schemed for opening camera according to the touch control operation and being obtained by the camera Picture.
After detection module 202 detects touch control operation by touch-control sensing module, the second acquisition module 203 can be according to institute Touch control operation is stated to open the camera of electronic equipment and obtain image by the camera.Second acquisition module 203 can incite somebody to action The image of acquisition saves as photo, namely shoots photo by the camera, or can also save as the image of acquisition Video, namely recorded a video by the camera.Wherein, video recording is referred to as imaging.
In the embodiment of the present application, since touch-control sensing module is arranged on the frame of electronic equipment, user only needs in electricity Progress touch control operation can open camera and be captured on the frame of sub- equipment, without the display screen by electronic equipment to electricity Sub- equipment is unlocked, opens the operations such as camera application, so as to simplify the operation of user so that user may be implemented quickly It captures.
In some embodiments, the second acquisition module 203 is for executing following steps:
If the touch control operation is located at the first touch-control sensing area, front camera is opened and by the front camera Obtain image;If the touch control operation is located at the second touch-control sensing area, opens rear camera and imaged by the postposition Head obtains image.
Wherein, the touch-control sensing module being arranged on electronic equipment frame includes the first touch-control sensing area and the second touch-control sensing Area.First touch-control sensing area is intervally installed with the second touch-control sensing area.For example, first touch-control sensing area can be with Positioned at one end of electronic equipment frame, second touch-control sensing area can be located at the other end of electronic equipment frame.
After detection module 202 detects touch control operation by touch-control sensing module, the second acquisition module 203 determines described touch Which touch-control sensing area control operation is located at.It is touched that is, judgement is the touch control operation that the first touch-control sensing area detects or second The touch control operation that control induction zone detects.
Meanwhile the camera on electronic equipment includes front camera and rear camera.Wherein, front camera is arranged One side where display screen in electronic equipment, the direction where the shooting direction towards display screen of front camera.Postposition is taken the photograph One side where rear cover in electronic equipment is set as head, the direction where the shooting direction towards rear cover of rear camera.
If the touch control operation is located at first touch-control sensing area, the second acquisition module 203 opens front camera And image is obtained by the front camera.For example, user can obtain the figure of user itself by the front camera Picture, namely carry out self-timer.
If the touch control operation is located at second touch-control sensing area, the second acquisition module 203 opens rear camera And image is obtained by the rear camera.For example, user can obtain scenery remotely by the rear camera Image.
In some embodiments, the second acquisition module 203 is for executing following steps:
If the touch control operation is located at the first touch-control sensing area, opens camera and obtained by the camera current Image;If the touch control operation is located at the second touch-control sensing area, camera is opened and by the lasting acquisition figure of the camera Picture.
Wherein, the touch-control sensing module being arranged on electronic equipment frame includes the first touch-control sensing area and the second touch-control sensing Area.First touch-control sensing area is intervally installed with the second touch-control sensing area.For example, first touch-control sensing area can be with Positioned at one end of electronic equipment frame, second touch-control sensing area can be located at the other end of electronic equipment frame.
After detection module 202 detects touch control operation by touch-control sensing module, the second acquisition module 203 determines described touch Which touch-control sensing area control operation is located at.It is touched that is, judgement is the touch control operation that the first touch-control sensing area detects or second The touch control operation that control induction zone detects.
If the touch control operation is located at first touch-control sensing area, the second acquisition module 203 is opened camera and is led to It crosses the camera and obtains present image.Wherein, present image is the image got at this time by the camera.Second The present image got is saved as into photo or picture after the acquisition present image of acquisition module 203.
If the touch control operation is located at second touch-control sensing area, the second acquisition module 203 is opened camera and is led to It crosses the camera and persistently obtains image.Wherein, image is persistently obtained as persistently to be shot by the camera, namely It records a video.Second acquisition module 203 persistently obtains and the image persistently got is saved as video after image.
In some embodiments, the second acquisition module 203 is for executing following steps:
Determine the action type of the touch control operation according to the touch control operation, the action type include clicking operation, Slide and Continued depression operation;
If the action type is the first predetermined registration operation type, opens camera and obtained by the camera current Image;If the action type is second predetermined registration operation type, camera is opened and by the lasting acquisition figure of the camera Picture.
Wherein, the touch control operation that detection module 202 detects may include clicking operation (such as single-click operation, double-click behaviour Make etc.), slide and Continued depression operation.Continued depression operation is also referred to as long press operation.When user's Continued depression touch-control The duration of inductive module reaches certain time length, such as when 1s (second), you can thinks that the operation of user operates for Continued depression.
The first predetermined registration operation type of triggering camera shooting photo can be pre-set in electronic equipment.Described first is pre- If action type can be any type of operations such as clicking operation, slide, Continued depression operation.
The second predetermined registration operation type that triggering camera is recorded a video can also be pre-set in electronic equipment.Described second Predetermined registration operation type may be any type of operations such as clicking operation, slide, Continued depression operation.Also, it is described Second predetermined registration operation type and the first predetermined registration operation type are different types of touch control operations.For example, described first is default Action type is clicking operation, and the second predetermined registration operation type operates for Continued depression.
If the action type is the first predetermined registration operation type, the second acquisition module 203 is opened camera and is led to It crosses the camera and obtains present image, namely shooting photo.If the action type is the second predetermined registration operation type, Second acquisition module 203 opens camera and persistently obtains image by the camera, namely records a video.
In some embodiments, the second acquisition module 203 is for executing following steps:
Obtain the Continued depression duration of the touch control operation;
If the Continued depression duration is less than preset duration, opens camera and current figure is obtained by the camera Picture;If the Continued depression duration is greater than or equal to the preset duration, opens camera and continued by the camera Obtain image.
Wherein, the touch control operation that detection module 202 detects includes Continued depression operation.It can be pre- in electronic equipment One preset duration is first set.The preset duration is recorded a video for triggering electronic equipment.For example, the preset duration can be with For 3s (second), 4s etc..
After detection module 202 gets the touch control operation that touch-control sensing module detects, the second acquisition module 203 is further Obtain the Continued depression duration of the touch control operation.If the Continued depression duration is less than the preset duration, second obtains Module 203 opens camera and obtains present image, namely shooting photo by the camera.If the Continued depression duration More than or equal to the preset duration, then the second acquisition module 203 opens camera and persistently obtains figure by the camera Picture, namely record a video.
For example, the preset duration is 3s.A length of 3.5s when the Continued depression of the touch control operation, the then Continued depression Duration is more than the preset duration.At this point, the second acquisition module 203 opens camera and is recorded a video by the camera.
In some embodiments, as shown in figure 13, image acquiring device 200 further includes the first judgment module 204.
First judgment module 204, for judging whether the ambient light intensity of the electronic equipment local environment changes;
Second acquisition module 203 opens institute if changing for the ambient light intensity according to the touch control operation It states camera and image is obtained by the camera.
Wherein, it is provided with ambient light sensor in electronic equipment.The ambient light sensor can be integrated in electronic equipment Circuit board on, and connect with the processing circuit in electronic equipment.The ambient light sensor is for detecting ambient light intensity.
After detection module 202 detects touch control operation by touch-control sensing module, the first judgment module 204 can pass through ring Border optical sensor repeatedly obtains the ambient light intensity of electronic equipment local environment.For example, the first judgment module 204 can pass through ring Border optical sensor first obtains an ambient light intensity, obtains ambient light intensity again after being spaced one section of duration, such as be spaced 50ms (millisecond) obtains ambient light intensity again.
Then, the ambient light intensity repeatedly obtained is compared by the first judgment module 204, you can judges electronic equipment Whether the ambient light intensity of local environment changes.For example, the ambient light intensity obtained twice is respectively 200lux (Le Ke This), 300lux.It then may determine that the ambient light intensity for electronic equipment local environment is changed.
If the ambient light intensity of electronic equipment local environment is changed, it may be considered that the environment residing for electronic equipment Changed, the process that also electronic equipment can have occurred posture change further confirms that.At this point, second obtains Module 203 opens camera and obtains image by the camera.If the ambient light intensity of electronic equipment local environment is not sent out It is raw to change, then the touch control operation detected can not be responded.
In some embodiments, as shown in figure 14, image acquiring device 200 further includes the second judgment module 205.
Second judgment module 205 puts out screen state for judging whether the display screen of the electronic equipment is in;
Second acquisition module 203, if the display screen for the electronic equipment, which is in, is put out screen state, according to the touch-control Operation opens the camera and obtains image by the camera.
Wherein, the second judgment module 205, which can detect display screen and be in, puts out screen state or bright screen state.At electronic equipment When putting out screen state, illustrate that electronic equipment is not in the state being used by a user.Therefore, in display screen in the field for putting out screen state Under scape, user has the demand of bigger to capture.
If the display screen of electronic equipment is in screen state of putting out, the second acquisition module 203 is opened according to the touch control operation The camera simultaneously obtains image by the camera.If the display screen of electronic equipment, which is not in, puts out screen state, can not The touch control operation detected is responded.
In some embodiments, 4 are continued to refer to figure 1, image acquiring device 200 further includes control module 206.The control Module 206 is for executing following steps:
The display screen for controlling the electronic equipment is lighted;
The image of acquisition is shown on the display screen.
Wherein, screen state is put out when the display screen of electronic equipment is in, the second acquisition module 203 obtains image by camera Afterwards, control module 206 can be lighted with the display screen of control electronics, and the image that the second acquisition module 203 is got is shown Show on the display screen, to show the image got to user, user is allow to learn the result of candid photograph.User can be right The photo or video of shooting such as are preserved, are deleted at the operations.
When it is implemented, the above modules can be realized as independent entity, arbitrary combination can also be carried out, is made It is realized for same or several entities.
From the foregoing, it will be observed that image acquiring device 200 provided by the embodiments of the present application, electricity is obtained by the first acquisition module 201 The acceleration of sub- equipment;Detection module 202 is examined when the acceleration is more than predetermined acceleration threshold value by touch-control sensing module Survey touch control operation;Second acquisition module 203 opens camera according to the touch control operation and obtains image by the camera. In described image acquisition device, since touch-control sensing module is arranged on the frame of electronic equipment, user only needs to set in electronics Progress touch control operation can open camera and be captured on standby frame, without being set to electronics by the display screen of electronic equipment It is standby to be unlocked, open the operations such as camera application, so as to simplify the operation of user so that user may be implemented quickly to grab It claps.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart mobile phone, tablet computer, trip Play equipment, AR (Augmented Reality, augmented reality) equipment, automobile, data storage device, audio playing apparatus, video Playing device, notebook, Desktop computing device, wearable device such as wrist-watch, glasses, the helmet, electronic bracelet, electronics necklace, The equipment such as electronic clothes.
As shown in figure 15, electronic equipment 300 may include control circuit.Wherein, the control circuit may include storage Circuit 310 and processing circuit 320.Storage circuit 310 is connect with processing circuit 320.
Storage circuit 310 may include memory, such as hard drive memory, nonvolatile memory (such as flash memory Or the other electrically programmable read only memories etc. for being used to form solid state drive), volatile memory (such as either statically or dynamically Random access memory etc.) etc., the embodiment of the present application is not construed as limiting this.
Storage circuit 310 can be used for storing computer program and data.In the computer program stored in storage circuit 310 It include the instruction that can be executed in processing circuit 320.The computer program can form various functions module.Processing circuit 320 by calling the computer program and data that are stored in storage circuit 310, to perform various functions application and data Processing.
Processing circuit 320 can be used for the operating of control electronics 300.The processing circuit 320 can be based on one Or multi-microprocessor, microcontroller, digital signal processor, baseband processor, power management unit, audio codec core Piece, application-specific integrated circuit, display-driver Ics etc. are realized.
Processing circuit 320 can be used for running the application program in electronic equipment, such as the Internet browser application program, interconnection FidonetFido voice (Voice over Internet Protocol, VOIP) call application program, e-mail applications journey Sequence, media play-back application, operation system function etc..These application programs can be used for executing some control operations, such as Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor It measures, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized, passed based on touching The touch event detection of sensor, function associated with information show on multiple (such as layering) displays and execution nothing Line communication function it is associated operation, with collect and generate audio signal it is associated operation, with collect and treatment button pressing Other functions etc. in the associated control operation of event data and electronic equipment, the embodiment of the present application is not restricted this.
In the embodiment of the present application, the processing circuit 320 in electronic equipment 300 can call storage electricity according to following step The corresponding instruction of the process of one or more computer program is loaded into and deposits by the computer program stored in road 310 In storing up electricity road 310, and the computer program being stored in storage circuit 310 is run by processing circuit 320, it is following to realize Function:
Obtain the acceleration of electronic equipment;
If the acceleration is more than predetermined acceleration threshold value, touch control operation is detected by touch-control sensing module;
Camera is opened according to the touch control operation and image is obtained by the camera.
In some embodiments, the touch-control sensing module includes spaced first touch-control sensing area and the second touch-control Induction zone, the camera include front camera and rear camera, open camera according to the touch control operation and pass through When the camera obtains image, processing circuit 320 executes following steps:
If the touch control operation is located at first touch-control sensing area, the front camera is opened and by before described It sets camera and obtains image;
If the touch control operation is located at second touch-control sensing area, the rear camera is opened and by after described It sets camera and obtains image.
In some embodiments, the touch-control sensing module includes spaced first touch-control sensing area and the second touch-control Induction zone, according to the touch control operation open camera and by the camera obtain image when, processing circuit 320 execute with Lower step:
If the touch control operation is located at first touch-control sensing area, the camera is opened and by the camera Obtain present image;
If the touch control operation is located at second touch-control sensing area, the camera is opened and by the camera Persistently obtain image.
In some embodiments, when opening camera according to the touch control operation and obtaining image by the camera, Processing circuit 320 executes following steps:
Determine the action type of the touch control operation according to the touch control operation, the action type include clicking operation, Slide and Continued depression operation;
If the action type is the first predetermined registration operation type, opens the camera and obtained by the camera Present image;
If the action type is second predetermined registration operation type, opens the camera and continued by the camera Obtain image.
In some embodiments, the touch control operation includes Continued depression operation, is opened and is imaged according to the touch control operation Head and by the camera obtain image when, processing circuit 320 execute following steps:
Obtain the Continued depression duration of the touch control operation;
If the Continued depression duration is less than preset duration, opens the camera and worked as by camera acquisition Preceding image;
If the Continued depression duration is greater than or equal to the preset duration, opens the camera and taken the photograph by described As head persistently obtains image.
In some embodiments, according to the touch control operation open camera and by the camera obtain image it Before, processing circuit 320 also executes following steps:
Judge whether the ambient light intensity of the electronic equipment local environment changes;
If the ambient light intensity changes, the camera is opened according to the touch control operation and is taken the photograph by described As head obtains image.
In some embodiments, according to the touch control operation open camera and by the camera obtain image it Before, processing circuit 320 also executes following steps:
Judge whether the display screen of the electronic equipment is in and puts out screen state;
If the display screen of the electronic equipment, which is in, puts out screen state, the camera is opened simultaneously according to the touch control operation Image is obtained by the camera.
In some embodiments, according to the touch control operation open camera and by the camera obtain image it Afterwards, processing circuit 320 also executes following steps:
The display screen for controlling the electronic equipment is lighted;
The image of acquisition is shown on the display screen.
Electronic equipment 300 can also include imput output circuit 330.Wherein, imput output circuit 330 and processing circuit 320 connections.Imput output circuit 330 can be used for making electronic equipment 300 to realize outputting and inputting for data, that is, allow electronic equipment From outer equipment receiving data and electronic equipment is allowed to export data to external equipment.User can pass through imput output circuit The operation of control electronics is input a command for, it can be using the output data of imput output circuit to realize reception electronic equipment Status information and other output informations.
Imput output circuit 330 may include one or more sensors 331.Sensor 331 may include that ambient light passes Sensor, the proximity sensor based on light or capacitance or sound wave, touch sensor are (for example, the touch sensor based on light and/or electricity Appearance formula touch sensor, wherein touch sensor can be a part for touching display screen, can also be used as a touch sensing Device structure independently uses), acceleration transducer, the imaging sensor based on optical signal, such as camera and other sensors Deng.Wherein, the acceleration transducer in imput output circuit 330, camera are connect with processing circuit 320 respectively.
Imput output circuit 330 may include one or more displays 332.Display 332 may include liquid crystal display Device, electronic ink display, plasma display, uses the display of other display technologies at organic light emitting diode display The combination of middle one or several kinds.Display 332 may include touch sensor array (that is, display 332 can be that touch-control is aobvious Display screen).Touch sensor can be formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array Capacitive touch sensors, or can be the touch sensor formed using other touching techniques, for example, it is sound wave touch-control, pressure-sensitive Touch, resistive touch, optical touch etc., the embodiment of the present application is not construed as limiting this.
Imput output circuit 330 may include voicefrequency circuit 333.Voicefrequency circuit 333 can be used for providing for electronic equipment Audio input and/or audio output function.Voicefrequency circuit 333 may include receiver (receiver) loud speaker, microphone, buzzing Device, tone generator and other components for generating and/or detecting sound.
Imput output circuit 330 may include telecommunication circuit 334.Telecommunication circuit 334 can be used for providing for electronic equipment With the ability of external device communication.Telecommunication circuit 334 may include analog signal imput output circuit, digital signal input and output Circuit, the radio communication circuit etc. based on radiofrequency signal and/or optical signal.Radio communication circuit in telecommunication circuit may include RF transmit-receive circuit, power amplification circuit, low noise amplifier circuit, switch module, filter circuit and antenna etc..For example, Radio communication circuit in telecommunication circuit may include supporting that near field is logical by emitting and/or receiving near-field coupling electromagnetic signal Believe the circuit of (Near Field Communication, NFC).For example, telecommunication circuit may include near-field communication aerial and close Field communication transceiver.Telecommunication circuit can also include cellular telephone transceiver and cellular phone antennas, wireless lan transceiver With wireless lan antenna etc..
Imput output circuit 330 can also include other input-output units 335.For example, input-output unit 335 can be with Including button, control stick, click wheel, scroll wheel, touch tablet, keyboard, camera, light emitting diode and other positioning indicators Deng.
Electronic equipment 300 can also include power supply 340.Power supply 340 is used to power for all parts of electronic equipment.Its In, power supply 340 can be logically contiguous by power-supply management system and processing circuit 320, to be realized by power-supply management system The functions such as management charging, electric discharge and power managed.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment executes following steps:It obtains The acceleration of electronic equipment;If the acceleration is more than predetermined acceleration threshold value, touch-control behaviour is detected by touch-control sensing module Make;Camera is opened according to the touch control operation and image is obtained by the camera.In the electronic equipment, due to touch-control Inductive module is arranged on the frame of electronic equipment, and user only needs the progress touch control operation on the frame of electronic equipment that can open It opens camera to be captured, electronic equipment is unlocked without the display screen by electronic equipment, opens the behaviour such as camera application Make, so as to simplify the operation of user so that user may be implemented quickly to capture.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers, the computer executes the image acquiring method described in any of the above-described embodiment.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Image acquiring method, device, storage medium and the electronic equipment provided above the embodiment of the present application carries out It is discussed in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, above example Illustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to this The thought of application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered It is interpreted as the limitation to the application.

Claims (12)

1. a kind of image acquiring method is applied to electronic equipment, which is characterized in that the electronic equipment includes frame and fixation Camera on the frame is provided with touch-control sensing module, described image acquisition methods on the frame of the electronic equipment Including:
Obtain the acceleration of the electronic equipment;
If the acceleration is more than predetermined acceleration threshold value, touch control operation is detected by the touch-control sensing module;
The camera is opened according to the touch control operation and image is obtained by the camera.
2. image acquiring method according to claim 1, which is characterized in that the touch-control sensing module includes that interval is arranged The first touch-control sensing area and the second touch-control sensing area, the camera includes front camera and rear camera, described The camera is opened according to the touch control operation and includes the step of obtaining image by the camera:
If the touch control operation is located at first touch-control sensing area, opens the front camera and preposition taken the photograph by described As head obtains image;
If the touch control operation is located at second touch-control sensing area, opens the rear camera and taken the photograph by the postposition As head obtains image.
3. image acquiring method according to claim 1, which is characterized in that the touch-control sensing module includes that interval is arranged The first touch-control sensing area and the second touch-control sensing area, it is described the camera to be opened according to the touch control operation and by described Camera obtain image the step of include:
If the touch control operation is located at first touch-control sensing area, opens the camera and obtained by the camera Present image;
If the touch control operation is located at second touch-control sensing area, opens the camera and continued by the camera Obtain image.
4. image acquiring method according to claim 1, which is characterized in that described according to described in touch control operation unlatching Camera and by the camera obtain image the step of include:
Determine that the action type of the touch control operation, the action type include clicking operation, sliding according to the touch control operation Operation and Continued depression operation;
If the action type is the first predetermined registration operation type, opens the camera and obtained by the camera current Image;
If the action type is second predetermined registration operation type, opens the camera and persistently obtained by the camera Image.
5. image acquiring method according to claim 1, which is characterized in that the touch control operation includes Continued depression behaviour Make, it is described that the camera is opened according to the touch control operation and includes the step of obtaining image by the camera:
Obtain the Continued depression duration of the touch control operation;
If the Continued depression duration is less than preset duration, opens the camera and current figure is obtained by the camera Picture;
If the Continued depression duration is greater than or equal to the preset duration, the camera is opened and by the camera Persistently obtain image.
6. image acquiring method according to any one of claims 1 to 4, which is characterized in that described to be grasped according to the touch-control Before the step of making the unlatching camera and obtaining image by the camera, further include:
Judge whether the ambient light intensity of the electronic equipment local environment changes;
If the ambient light intensity changes, the camera is opened according to the touch control operation and passes through the camera Obtain image.
7. image acquiring method according to any one of claims 1 to 4, which is characterized in that described to be grasped according to the touch-control Before the step of making the unlatching camera and obtaining image by the camera, further include:
Judge whether the display screen of the electronic equipment is in and puts out screen state;
If the display screen of the electronic equipment, which is in, puts out screen state, the camera is opened according to the touch control operation and is passed through The camera obtains image.
8. image acquiring method according to claim 7, which is characterized in that described according to described in touch control operation unlatching Camera and by the camera obtain image the step of after, further include:
The display screen for controlling the electronic equipment is lighted;
The image of acquisition is shown on the display screen.
9. a kind of image acquiring device is applied to electronic equipment, which is characterized in that the electronic equipment includes frame and fixation Camera on the frame is provided with touch-control sensing module, described image acquisition device on the frame of the electronic equipment Including:
First acquisition module, the acceleration for obtaining the electronic equipment;
Detection module is detected by the touch-control sensing module and is touched if being more than predetermined acceleration threshold value for the acceleration Control operation;
Second acquisition module, for opening the camera according to the touch control operation and obtaining image by the camera.
10. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey When sequence is run on computers so that the computer perform claim requires 1 to 8 any one of them image acquiring method.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes storage circuit and processing circuit, the storage electricity Be stored with computer program in road, the processing circuit by calling the computer program stored in the storage circuit, 1 to 8 any one of them image acquiring method is required for perform claim.
12. a kind of electronic equipment, which is characterized in that described including acceleration transducer, camera, processing circuit and shell Acceleration transducer, camera, processing circuit are separately positioned on the enclosure interior, and the frame of the shell is provided with touch-control sense Module, the acceleration transducer, camera, touch-control sensing module is answered to be connect respectively with the processing circuit, wherein:
The acceleration transducer is used to obtain the acceleration of the electronic equipment;
The touch-control sensing module is used to detect touch control operation when the acceleration is more than predetermined acceleration threshold value;
The processing circuit is used to open the camera according to the touch control operation and obtains image by the camera.
CN201810394912.XA 2018-04-27 2018-04-27 Image acquiring method, device, storage medium and electronic equipment Pending CN108710468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810394912.XA CN108710468A (en) 2018-04-27 2018-04-27 Image acquiring method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810394912.XA CN108710468A (en) 2018-04-27 2018-04-27 Image acquiring method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN108710468A true CN108710468A (en) 2018-10-26

Family

ID=63867585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810394912.XA Pending CN108710468A (en) 2018-04-27 2018-04-27 Image acquiring method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108710468A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198414A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 The control method of electronic equipment and camera
CN110266854A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 The control method of electronic equipment and its camera
CN110290321A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 The selection method of electronic equipment and its image processing mode
CN110300265A (en) * 2019-06-28 2019-10-01 Oppo广东移动通信有限公司 The control method of electronic equipment and camera
CN110572566A (en) * 2019-08-21 2019-12-13 维沃移动通信有限公司 Camera control method and electronic equipment
CN110971834A (en) * 2019-12-09 2020-04-07 维沃移动通信有限公司 Flash lamp control method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795923A (en) * 2014-01-27 2014-05-14 北京飞流九天科技有限公司 Shooting control method of camera shooting device and camera shooting device
WO2015096067A1 (en) * 2013-12-25 2015-07-02 华为终端有限公司 Mobile terminal and method for starting shooting of mobile terminal
CN106603902A (en) * 2015-10-14 2017-04-26 中兴通讯股份有限公司 Photographing method and device
CN107133059A (en) * 2016-02-29 2017-09-05 北京小米移动软件有限公司 Camera control method, device and mobile terminal
CN107333004A (en) * 2017-07-25 2017-11-07 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107395926A (en) * 2017-07-25 2017-11-24 维沃移动通信有限公司 A kind of photographic method, mobile terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015096067A1 (en) * 2013-12-25 2015-07-02 华为终端有限公司 Mobile terminal and method for starting shooting of mobile terminal
CN103795923A (en) * 2014-01-27 2014-05-14 北京飞流九天科技有限公司 Shooting control method of camera shooting device and camera shooting device
CN106603902A (en) * 2015-10-14 2017-04-26 中兴通讯股份有限公司 Photographing method and device
CN107133059A (en) * 2016-02-29 2017-09-05 北京小米移动软件有限公司 Camera control method, device and mobile terminal
CN107333004A (en) * 2017-07-25 2017-11-07 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107395926A (en) * 2017-07-25 2017-11-24 维沃移动通信有限公司 A kind of photographic method, mobile terminal and computer-readable recording medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198414A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 The control method of electronic equipment and camera
CN110266854A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 The control method of electronic equipment and its camera
CN110290321A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 The selection method of electronic equipment and its image processing mode
CN110300265A (en) * 2019-06-28 2019-10-01 Oppo广东移动通信有限公司 The control method of electronic equipment and camera
CN110266854B (en) * 2019-06-28 2021-06-15 Oppo广东移动通信有限公司 Electronic equipment and control method of camera thereof
CN110198414B (en) * 2019-06-28 2021-08-24 Oppo广东移动通信有限公司 Electronic equipment and control method of camera
CN110572566A (en) * 2019-08-21 2019-12-13 维沃移动通信有限公司 Camera control method and electronic equipment
CN110971834A (en) * 2019-12-09 2020-04-07 维沃移动通信有限公司 Flash lamp control method and electronic equipment
CN110971834B (en) * 2019-12-09 2021-09-10 维沃移动通信有限公司 Flash lamp control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108710468A (en) Image acquiring method, device, storage medium and electronic equipment
CN108153900A (en) A kind of image processing method and mobile terminal
CN107181559B (en) Processing method, device, storage medium and the terminal of radio frequency interference
CN108810403A (en) Focus adjustment method, apparatus, storage medium and electronic equipment
CN104765446A (en) Electronic device and method of controlling electronic device
CN110413364A (en) A kind of information processing method and terminal
CN109583356A (en) Fingerprint identification method and Related product
CN109614865A (en) Fingerprint identification method and Related product
CN108920059A (en) Message treatment method and mobile terminal
CN109283996A (en) Display control method and Related product
CN109144454A (en) double-sided screen display control method and related product
CN108595105A (en) Light filling lamp control method, device, storage medium and electronic equipment
CN109543570A (en) Fingerprint identification method and Related product
CN109710150A (en) Key control method and terminal
CN108848317A (en) Camera control method and Related product
CN110231900A (en) A kind of application icon display methods and terminal
EP3518085A1 (en) Mobile terminal and method for controlling the same
CN109348528A (en) Display control method and Related product
CN108733282A (en) A kind of page moving method and terminal device
CN107276685A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
CN109067978A (en) Button operation processing method, device, storage medium and electronic equipment
CN110213412A (en) A kind of display methods and terminal
CN108664206A (en) Information processing method, device, storage medium and electronic equipment
CN109088973A (en) A kind of method of controlling antenna, device and mobile terminal
CN109375889A (en) Display control method and Related product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181026