CN105245713A - Method and system for automatically switching pre-posed and post-posed cameras and terminal - Google Patents

Method and system for automatically switching pre-posed and post-posed cameras and terminal Download PDF

Info

Publication number
CN105245713A
CN105245713A CN201510690209.XA CN201510690209A CN105245713A CN 105245713 A CN105245713 A CN 105245713A CN 201510690209 A CN201510690209 A CN 201510690209A CN 105245713 A CN105245713 A CN 105245713A
Authority
CN
China
Prior art keywords
camera
numerical value
signal
acceleration transducer
acceleration
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
CN201510690209.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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510690209.XA priority Critical patent/CN105245713A/en
Publication of CN105245713A publication Critical patent/CN105245713A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and system for automatically switching a pre-posed camera and a post-posed camera and a terminal. The system for automatically switching the pre-posed camera and a post-posed camera includes an acceleration sensor which monitors shake amplitude of the acceleration sensor itself and obtaining a shake numerical value, a switching judgment module which is connected with the acceleration sensor and judges whether the shake numerical value achieves a preset value, and a camera switching module which is connected with the switching judgment module and switches a current camera to the other camera when the shake numerical value achieves the preset value. According to the method and system of the invention, the cameras can be switched through a shake mode, which enables great convenience in use; if a current state of a mobile phone is a pre-posed camera state, the current state of the mobile phone can be switched to a post-posed camera state through shaking the mobile phone; if the current state of the mobile phone is a post-posed camera state, the current state of the mobile phone can be switched to a pre-posed camera state through shaking the mobile phone; and therefore, great convenience and quickness can be realized.

Description

The method of automatic switchover front and rear camera, system and terminal
Technical field
The invention belongs to shooting technology field, relate to one and to take pictures method to set up, particularly relate to a kind of method of the front and rear camera that automatically switches, system and terminal.
Background technology
Along with development and the maturation of the communication technology, from strength to strength, namely take pictures is one of them very important function to the function of mobile phone.Existing mobile phone is generally all provided with a front-facing camera and a post-positioned pick-up head.Because post-positioned pick-up head can not see the posture of oneself when autodyning, can only blindly clap, very inconvenient.If make front-facing camera into take pictures, then need manual switchover, operation inconvenience, be unfavorable for saving photo opporunity, poor user experience.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of method of the front and rear camera that automatically switches, system and terminal, and the front and rear camera for solving existing electronic equipment switches inconvenient problem when taking pictures.
For achieving the above object and other relevant objects, the invention provides a kind of method of the front and rear camera that automatically switches, the method for described automatic switchover front and rear camera comprises: the shaking amplitude of monitoring self, obtains and rocks numerical value; Rock numerical value described in judgement and whether reach preset value; When described rock numerical value reach preset value time, switch to another camera from current camera.
Alternatively, the shaking amplitude of described monitoring self, obtains a kind of implementation procedure of rocking numerical value and comprises: the acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication; The described signal of telecommunication is processed, obtains corresponding digital signal, namely, rock numerical value.
Alternatively, the method for described automatic switchover front and rear camera also comprises: utilize piezo electrics, pressure drag mode, capacitive way, servo mode or/and the shaking amplitude of self monitored by the acceleration transducer of three axle modes, obtain and rock numerical value.
The present invention also provides a kind of system of the front and rear camera that automatically switches, and the system of described automatic switchover front and rear camera comprises: acceleration transducer, monitors the shaking amplitude of self, obtains and rocks numerical value; Switching judging module, is connected with described acceleration sensor, rocks numerical value and whether reach preset value described in judgement; Camera handover module, is connected with described switching judging module, when described rock numerical value reach preset value time, switch to another camera from current camera.
Alternatively, described acceleration transducer comprises: senser, and the acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication; Signal adjustment circuit, is connected with described senser, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
Alternatively, described acceleration transducer comprises piezoelectric acceleration transducer, piezoresistance type acceleration sensor, capacitance acceleration transducer, servo-type acceleration transducer or/and 3-axis acceleration sensor.
The present invention also provides a kind of terminal, and described terminal comprises: acceleration transducer, monitors the shaking amplitude of self, obtains and rocks numerical value; Processor, is connected with described acceleration transducer, whether reaches by rocking numerical value described in judging the switching that preset value triggers front and rear camera.
Alternatively, described processor comprises: switching judging module, is connected with described acceleration sensor, rocks numerical value and whether reach preset value described in judgement; Camera handover module, is connected with described switching judging module, when described rock numerical value reach preset value time, switch to another camera from current camera.
Alternatively, described acceleration transducer comprises: senser, and the acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication; Signal adjustment circuit, is connected with described senser, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
Alternatively, described terminal comprises the smart mobile phone, Pad or the PC that are provided with at least one camera.
As mentioned above, the method for automatic switchover front and rear camera of the present invention, system and terminal, have following beneficial effect:
The present invention switches camera by the mode of rocking and facilitates a lot in use, it is front-facing camera state if current, then just can automatically switch into post-positioned pick-up head by rocking mobile phone, it is post-positioned pick-up head state if current, then can automatically switch into front-facing camera state by rocking mobile phone, more convenient.
Accompanying drawing explanation
Fig. 1 is shown as a kind of realization flow schematic diagram of the method for the automatic switchover front and rear camera described in the embodiment of the present invention.
Fig. 2 is shown as a kind of realization flow schematic diagram of the step S101 of the method for the automatic switchover front and rear camera described in the embodiment of the present invention.
Fig. 3 is shown as a kind of implementation structure schematic diagram of the system of the automatic switchover front and rear camera described in the embodiment of the present invention.
Fig. 4 is shown as a kind of implementation structure schematic diagram of the acceleration transducer of the system of the automatic switchover front and rear camera described in the embodiment of the present invention.
Fig. 5 is shown as a kind of implementation structure schematic diagram of the terminal described in the embodiment of the present invention.
Element numbers explanation
The system of 300 automatic switchover front and rear cameras
310 acceleration transducers
311 sensers
312 signal adjustment circuits
320 switching judging modules
330 camera handover modules
500 terminals
510 acceleration transducers
511 sensers
512 signal adjustment circuits
520 processors
521 switching judging modules
522 camera handover modules
S101 ~ S103 step
S201 ~ S202 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Refer to Fig. 1, the invention provides a kind of method of the front and rear camera that automatically switches, the method for described automatic switchover front and rear camera comprises:
S101, monitors the shaking amplitude of self, obtains and rocks numerical value.Described step S101 can utilize piezo electrics, pressure drag mode, capacitive way, servo mode or/and the shaking amplitude of self monitored by the acceleration transducer of three axle modes, obtains and rocks numerical value.As: when rocking mobile phone, utilizing acceleration transducer to monitor acceleration in the change of all directions, judging that the change of acceleration is the difference obtaining acceleration within shorter time interval, namely, rocking numerical value.
S102, rocks numerical value and whether reaches preset value described in judgement.The difference being about to obtain acceleration within shorter time interval compares with a threshold value of specifying, and namely determines whether the accekeration recorded exceedes the sensitivity of setting.
S103, when described rock numerical value reach preset value time, switch to another camera from current camera.If namely difference is greater than threshold value, then thinks to rock there occurs, start to switch camera after determining rocking action.
Further, shown in Figure 2, described step S101 monitors self shaking amplitude, obtains a kind of implementation procedure of rocking numerical value and comprises:
S201, is converted to the corresponding signal of telecommunication by the acceleration signal gathering the measuring point obtained.
S202, processes the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
The present invention switches camera by the mode of rocking and facilitates a lot in use, it is front-facing camera state if current, then just can automatically switch into post-positioned pick-up head by rocking mobile phone, it is post-positioned pick-up head state if current, then can automatically switch into front-facing camera state by rocking mobile phone, more convenient.
The protection range of the method for automatic switchover front and rear camera of the present invention is not limited to the step execution sequence that the present embodiment is enumerated, and the step increase and decrease of the prior art that every principle according to the present invention is done, step are replaced the scheme realized and be all included in protection scope of the present invention.
The present invention also provides a kind of system of the front and rear camera that automatically switches; the system of described automatic switchover front and rear camera can realize the method for automatic switchover front and rear camera of the present invention; but the implement device of the method for automatic switchover front and rear camera of the present invention includes but not limited to the structure of the system of the automatic switchover front and rear camera that the present embodiment is enumerated; the malformation of the prior art that every principle according to the present invention is done and replacement, be all included in protection scope of the present invention.
Shown in Figure 3, the system 300 of described automatic switchover front and rear camera comprises: acceleration transducer 310, switching judging module 320, camera handover module 330.
Self shaking amplitude monitored by described acceleration transducer 310, obtains and rocks numerical value.Described acceleration transducer 310 comprises piezoelectric acceleration transducer, piezoresistance type acceleration sensor, capacitance acceleration transducer, servo-type acceleration transducer or/and any one or a few in 3-axis acceleration sensor.As: when rocking mobile phone, utilizing acceleration transducer to monitor acceleration in the change of all directions, judging that the change of acceleration is the difference obtaining acceleration within shorter time interval, namely, rocking numerical value.
Described switching judging module 320 is connected with described acceleration sensor 310, rocks numerical value and whether reach preset value described in judgement.The difference being about to obtain acceleration within shorter time interval compares with a threshold value of specifying, and namely determines whether the accekeration recorded exceedes the sensitivity of setting.
Described camera handover module 330 is connected with described switching judging module 320, when described rock numerical value reach preset value time, switch to another camera from current camera.If namely difference is greater than threshold value, then thinks to rock there occurs, start to switch camera after determining rocking action.
Further, shown in Figure 4, described acceleration transducer 310 comprises: senser 311, signal adjustment circuit 312.
The acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication by described senser 311.
Described signal adjustment circuit 312 is connected with described senser 311, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
Shown in Figure 5, the present invention also provides a kind of terminal, described terminal 500 for having the electronic equipment of at least 2 cameras 530, as smart mobile phone, Pad or notebook computer etc.Described terminal 500 comprises acceleration transducer 510, processor 520.
Self shaking amplitude monitored by described acceleration transducer 510, obtains and rocks numerical value.
Further, described acceleration transducer 510 comprises: senser 511, signal adjustment circuit 512.The acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication by described senser 511.Described signal adjustment circuit 512 is connected with described senser 511, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.As: when rocking terminal, utilizing acceleration transducer to monitor acceleration in the change of all directions, judging that the change of acceleration is the difference obtaining acceleration within shorter time interval, namely, rocking numerical value.
Described processor 520 is connected with described acceleration transducer 510, whether reaches by rocking numerical value described in judging the switching that preset value triggers front and rear camera 530.
Further, described processor 520 comprises: switching judging module 521, camera handover module 522.Described switching judging module 521 is connected with described acceleration sensor 510, rocks numerical value and whether reach preset value described in judgement.The difference being about to obtain acceleration within shorter time interval compares with a threshold value of specifying, and namely determines whether the accekeration recorded exceedes the sensitivity of setting.Described camera handover module 522 is connected with described switching judging module 521, when described rock numerical value reach preset value time, switch to another camera from current camera.If namely difference is greater than threshold value, then thinks to rock there occurs, start to switch camera after determining rocking action.
The present invention is based on acceleration transducer detection rocking action whether to occur, whether it not rocks by means of only having acceleration to judge, but by judging that the change of acceleration obtains the difference of acceleration shorter time interval, recycle this difference to compare with a threshold value of specifying, if difference is greater than threshold value, then think to rock there occurs.After monitoring out rocking action generation, be front-facing camera state if current, then automatically switch into post-positioned pick-up head state by rocking mobile phone, otherwise, if post-positioned pick-up head state, then automatically switch into front-facing camera state by rocking mobile phone.
The present invention utilizes acceleration transducer, when rocking mobile phone, monitors the change of acceleration in all directions, when accekeration exceedes the sensitivity of setting, then triggers and switches camera function, thus improve the operating experience of user.
In sum, the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. automatically switch the method for front and rear camera, and it is characterized in that, the method for described automatic switchover front and rear camera comprises:
Monitor the shaking amplitude of self, obtain and rock numerical value;
Rock numerical value described in judgement and whether reach preset value;
When described rock numerical value reach preset value time, switch to another camera from current camera.
2. the method for automatic switchover front and rear camera according to claim 1, is characterized in that, the shaking amplitude of described monitoring self, obtains a kind of implementation procedure of rocking numerical value and comprises:
The acceleration signal gathering the measuring point obtained is converted to the corresponding signal of telecommunication;
The described signal of telecommunication is processed, obtains corresponding digital signal, namely, rock numerical value.
3. the method for automatic switchover front and rear camera according to claim 1, it is characterized in that, the method of described automatic switchover front and rear camera also comprises: utilize piezo electrics, pressure drag mode, capacitive way, servo mode or/and the shaking amplitude of self monitored by the acceleration transducer of three axle modes, obtain and rock numerical value.
4. automatically switch the system of front and rear camera, and it is characterized in that, the system of described automatic switchover front and rear camera comprises:
Acceleration transducer, monitors the shaking amplitude of self, obtains and rocks numerical value;
Switching judging module, is connected with described acceleration sensor, rocks numerical value and whether reach preset value described in judgement;
Camera handover module, is connected with described switching judging module, when described rock numerical value reach preset value time, switch to another camera from current camera.
5. the system of automatic switchover front and rear camera according to claim 4, it is characterized in that, described acceleration transducer comprises:
Senser, is converted to the corresponding signal of telecommunication by the acceleration signal gathering the measuring point obtained;
Signal adjustment circuit, is connected with described senser, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
6. the system of automatic switchover front and rear camera according to claim 4, is characterized in that: described acceleration transducer comprises piezoelectric acceleration transducer, piezoresistance type acceleration sensor, capacitance acceleration transducer, servo-type acceleration transducer or/and 3-axis acceleration sensor.
7. a terminal, is characterized in that, described terminal comprises:
Acceleration transducer, monitors the shaking amplitude of self, obtains and rocks numerical value;
Processor, is connected with described acceleration transducer, whether reaches by rocking numerical value described in judging the switching that preset value triggers front and rear camera.
8. terminal according to claim 7, is characterized in that, described processor comprises:
Switching judging module, is connected with described acceleration sensor, rocks numerical value and whether reach preset value described in judgement;
Camera handover module, is connected with described switching judging module, when described rock numerical value reach preset value time, switch to another camera from current camera.
9. terminal according to claim 8, is characterized in that, described acceleration transducer comprises:
Senser, is converted to the corresponding signal of telecommunication by the acceleration signal gathering the measuring point obtained;
Signal adjustment circuit, is connected with described senser, is processed by the described signal of telecommunication, obtains corresponding digital signal, rocks numerical value namely.
10. terminal according to claim 8, is characterized in that, described terminal comprises the smart mobile phone, Pad or the PC that are provided with at least one camera.
CN201510690209.XA 2015-10-22 2015-10-22 Method and system for automatically switching pre-posed and post-posed cameras and terminal Pending CN105245713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510690209.XA CN105245713A (en) 2015-10-22 2015-10-22 Method and system for automatically switching pre-posed and post-posed cameras and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510690209.XA CN105245713A (en) 2015-10-22 2015-10-22 Method and system for automatically switching pre-posed and post-posed cameras and terminal

Publications (1)

Publication Number Publication Date
CN105245713A true CN105245713A (en) 2016-01-13

Family

ID=55043205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510690209.XA Pending CN105245713A (en) 2015-10-22 2015-10-22 Method and system for automatically switching pre-posed and post-posed cameras and terminal

Country Status (1)

Country Link
CN (1) CN105245713A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516587A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Method for switching cameras and mobile terminal
CN105827955A (en) * 2016-03-14 2016-08-03 乐卡汽车智能科技(北京)有限公司 Camera switching method and device
CN105824530A (en) * 2016-03-14 2016-08-03 乐卡汽车智能科技(北京)有限公司 Method and device for switching cameras
CN106527708A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Method for switching front and rear cameras by shaking and mobile terminal
CN106603921A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching front and rear cameras based on mobile terminal
CN106959875A (en) * 2017-03-21 2017-07-18 北京小米移动软件有限公司 Deployment method, device and the equipment of front camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008122848A1 (en) * 2007-04-10 2008-10-16 Sony Ericsson Mobile Communications Ab Adjustment of screen text size
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN102664993A (en) * 2012-04-05 2012-09-12 南京米田科技有限公司 Method of switching mobile phone advertisement pictures by shaking
CN102685306A (en) * 2011-03-15 2012-09-19 联想(北京)有限公司 Method and mobile terminal for switching image collecting units
CN103037083A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Switching method and device of front-and-rear camera
CN103856707A (en) * 2012-12-03 2014-06-11 联想(北京)有限公司 Camera switchover method and device and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008122848A1 (en) * 2007-04-10 2008-10-16 Sony Ericsson Mobile Communications Ab Adjustment of screen text size
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
CN102685306A (en) * 2011-03-15 2012-09-19 联想(北京)有限公司 Method and mobile terminal for switching image collecting units
CN102664993A (en) * 2012-04-05 2012-09-12 南京米田科技有限公司 Method of switching mobile phone advertisement pictures by shaking
CN103856707A (en) * 2012-12-03 2014-06-11 联想(北京)有限公司 Camera switchover method and device and electronic device
CN103037083A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Switching method and device of front-and-rear camera

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516587A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Method for switching cameras and mobile terminal
CN105827955A (en) * 2016-03-14 2016-08-03 乐卡汽车智能科技(北京)有限公司 Camera switching method and device
CN105824530A (en) * 2016-03-14 2016-08-03 乐卡汽车智能科技(北京)有限公司 Method and device for switching cameras
CN106527708A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Method for switching front and rear cameras by shaking and mobile terminal
CN106603921A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching front and rear cameras based on mobile terminal
CN106959875A (en) * 2017-03-21 2017-07-18 北京小米移动软件有限公司 Deployment method, device and the equipment of front camera
CN106959875B (en) * 2017-03-21 2023-09-12 北京小米移动软件有限公司 Front camera opening method, device and equipment

Similar Documents

Publication Publication Date Title
CN105245713A (en) Method and system for automatically switching pre-posed and post-posed cameras and terminal
CN110262947B (en) Threshold warning method and device, computer equipment and storage medium
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
US10956280B2 (en) Data backup method, electronic device, and storage medium
CN109976570B (en) Data transmission method and device and display device
CN109061481B (en) Battery state of charge determining method and device and storage medium
CN108427630B (en) Performance information acquisition method, device, terminal and computer readable storage medium
US20170147904A1 (en) Picture processing method and apparatus
RU2649971C1 (en) Method and device for state switching
KR20220039822A (en) Key instruction method and electronic device
CN111106821A (en) Touch control method and wearable device
CN111290896A (en) Server pressure testing method, device, equipment and medium
CN105554381A (en) Picture taking control method, system, electronic equipment and aircraft
CN106532876B (en) Power supply control method and device and computer equipment
CN111131612B (en) Screen color temperature control method and device, storage medium and mobile terminal
CN106713572B (en) Data reporting control method, device and terminal
US10719926B2 (en) Image stitching method and electronic device
CN108595352B (en) Protection method and device for mobile terminal
CN109348212B (en) Image noise determination method and terminal equipment
CN103108078A (en) Mobile terminal with call reminding control system and call reminding control method
CN111428080A (en) Storage method, search method and device for video files
CN111081198B (en) Data control method, data control device, storage medium and terminal equipment
CN111464829B (en) Method, device and equipment for switching media data and storage medium
US20170059503A1 (en) Mobile device, control method, and non-transitory storage medium
CN111898542A (en) Display screen control method and device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113

RJ01 Rejection of invention patent application after publication