CN107613214B - Camera interface entering method, device and system - Google Patents

Camera interface entering method, device and system Download PDF

Info

Publication number
CN107613214B
CN107613214B CN201711008574.3A CN201711008574A CN107613214B CN 107613214 B CN107613214 B CN 107613214B CN 201711008574 A CN201711008574 A CN 201711008574A CN 107613214 B CN107613214 B CN 107613214B
Authority
CN
China
Prior art keywords
characteristic value
angular velocity
camera
mobile terminal
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711008574.3A
Other languages
Chinese (zh)
Other versions
CN107613214A (en
Inventor
杨杰
张志明
刘攀
王丽丽
李蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 University of Technology filed Critical Guangdong University of Technology
Priority to CN201711008574.3A priority Critical patent/CN107613214B/en
Publication of CN107613214A publication Critical patent/CN107613214A/en
Application granted granted Critical
Publication of CN107613214B publication Critical patent/CN107613214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a camera interface entering method, which comprises the following steps: when the mobile terminal is detected to reach a preset speed threshold, generating an internal trigger signal; acquiring an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal; determining whether to generate a camera call signal; if yes, the camera calling signal is used for calling the camera to enter a camera interface. By applying the technical scheme provided by the embodiment of the invention, the camera calling signal is used for entering the camera interface after the camera calling signal is judged and generated according to the acceleration characteristic value and the angular speed characteristic value of the mobile terminal, so that the camera interface can be automatically entered when a user takes a snapshot, the step of entering the camera interface is simplified, the time is saved, the phenomenon of incomplete or missed shooting of key information can be reduced, unnecessary loss is reduced, and the user experience is improved. The invention also discloses a camera interface entering device and a camera interface entering system, and the camera interface entering device and the camera interface entering system have corresponding technical effects.

Description

Camera interface entering method, device and system
Technical Field
The present invention relates to the field of photography technologies, and in particular, to a method, an apparatus, and a system for entering a camera interface.
Background
With the development of the photographing technology, cameras are installed in mobile terminals such as mobile phones and tablet computers. When a user needs to photograph an object, the camera is started through the mobile terminal, and therefore the user enters a camera interface to photograph or make a video. In the process of taking a picture or video, time may be critical, and when an emergency or emergency event is happening, a user may capture a picture or video of the event for only a short moment, and therefore, the camera interface entry method is particularly important.
The existing camera interface entering method includes a method of setting a shortcut key for entering the camera interface on a screen locking interface of the mobile terminal or a method of quickly entering the camera interface by separately setting a physical entity shortcut key on the mobile terminal. The method for setting the shortcut key for entering the camera interface on the screen locking interface of the mobile terminal specifically comprises the steps that when a user needs to capture an object, the user takes the mobile terminal out of a pocket or a handbag and the like, transfers the mobile terminal to a shooting position, then sequentially presses down a power key to light a screen, finally finds the shortcut key, and triggers the shortcut key to enter the camera interface. Or when the user needs to capture an object, the user firstly triggers an unlocking setting, such as fingerprint unlocking, unlocks and lights the screen, then finds the shortcut key and triggers the shortcut key to enter a camera interface in the process that the mobile terminal is transferred to the shooting position. The method for independently setting the physical entity shortcut key on the mobile terminal to quickly enter the camera interface specifically comprises the steps that when a user needs to capture an object, the user takes the mobile terminal out of a pocket or a handbag, transfers the mobile terminal to a shooting position, finds the physical entity shortcut key, and finally presses the physical entity shortcut key to enter the camera interface.
The camera interface entering method in the prior art has certain disadvantages, for example, in the case of time emergency, a user needs to go through multiple steps to successfully enter the camera interface to shoot or pick up the image after the user wants to shoot the image to actually start shooting, the time cost is long, the key information shooting is incomplete or missed, unnecessary loss is possibly caused, and the user experience is poor.
Disclosure of Invention
In order to solve the technical problems, the invention provides the following technical scheme:
a camera interface entry method, comprising:
when the mobile terminal is detected to reach a preset speed threshold, generating an internal trigger signal;
acquiring an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal;
determining whether a camera calling signal is generated or not according to the acceleration characteristic value and the angular velocity characteristic value;
and if so, generating the camera calling signal, and calling a camera to enter a camera interface by using the camera calling signal.
In a specific embodiment of the present invention, the determining whether to generate a camera call signal according to the acceleration characteristic value and the angular velocity characteristic value includes:
determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular speed characteristic value is larger than a preset first angular speed threshold value;
if yes, determining whether the timing time is less than a preset first time threshold value from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X-axis, the Y-axis and the Z-axis.
In a specific embodiment of the present invention, the determining whether the timing time is less than a preset first time threshold includes:
and determining whether the timed time is less than a preset first time threshold value and the duration of the first angular velocity characteristic value or the second angular velocity characteristic value which is less than the second angular velocity threshold value is greater than a preset second time threshold value.
In a specific embodiment of the present invention, after the generating the camera call signal and calling a camera to enter a camera interface by using the camera call signal, the method further includes:
determining whether an instruction of photographing or shooting by a user is received within a preset third time threshold from the moment when the camera enters a camera interface;
and if not, determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation, so that the mobile terminal automatically locks the screen.
A camera interface access device, comprising:
the trigger signal generation module is used for generating an internal trigger signal when detecting that the moving speed of the mobile terminal reaches a preset speed threshold;
the characteristic value obtaining module is used for obtaining an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal;
the calling signal generation determining module is used for determining whether a camera calling signal is generated or not according to the acceleration characteristic value and the angular velocity characteristic value;
and the camera calling module is used for calling the camera to enter a camera interface by using the camera calling signal after the camera calling signal is generated.
In a specific embodiment of the present invention, the call signal generation determination module includes:
the characteristic value determining submodule is used for determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular velocity characteristic value is larger than a preset first angular velocity threshold value, and if so, the timing determining submodule is triggered;
the timing determination submodule is used for determining whether the timing time is less than a preset first time threshold value or not from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X-axis, the Y-axis and the Z-axis.
In an embodiment of the present invention, the timing determination sub-module is specifically a sub-module that determines whether a timing time is less than a preset first time threshold and a duration of the first angular velocity characteristic value or the second angular velocity characteristic value being less than the second angular velocity threshold is greater than a preset second time threshold.
In one embodiment of the present invention, the method further comprises:
the misoperation determining module is used for determining whether an instruction of taking pictures or shooting pictures by a user is received within a preset third time threshold value after the camera calling signal is generated and a camera is called by the camera calling signal to enter a camera interface; and if not, determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation, so that the mobile terminal automatically locks the screen.
A camera interface access system, comprising:
the system comprises a processor, a gyroscope sensor and an acceleration sensor, wherein the gyroscope sensor and the acceleration sensor are connected with the processor;
the processor is used for generating an internal trigger signal when the mobile terminal is detected to have the moving speed reaching a preset speed threshold; sending the internal trigger signal to the gyroscope sensor and the acceleration sensor; receiving an acceleration characteristic value of the mobile terminal returned by the acceleration sensor and an angular velocity characteristic value returned by the gyroscope sensor; determining whether a camera calling signal is generated or not according to the acceleration characteristic value and the angular velocity characteristic value; if so, generating the camera calling signal, and calling a camera to enter a camera interface by using the camera calling signal;
the gyroscope sensor is used for receiving the internal trigger signal sent by the processor; determining the angular speed characteristic value of the mobile terminal according to the internal trigger signal; sending the angular velocity characteristic value to the processor;
the acceleration sensor is used for receiving the internal trigger signal sent by the processor; determining the acceleration characteristic value of the mobile terminal according to the internal trigger signal; and sending the acceleration characteristic value to the processor.
In an embodiment of the present invention, the processor is specifically configured to determine whether the acceleration characteristic value is greater than a preset acceleration threshold value and the angular velocity characteristic value is greater than a preset first angular velocity threshold value; if yes, determining whether the timing time is less than a preset first time threshold value from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X-axis, the Y-axis and the Z-axis.
By applying the technical scheme provided by the embodiment of the invention, when the moving speed of the mobile terminal is detected to reach the preset speed threshold, an internal trigger signal is generated, the acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained according to the internal trigger signal, whether a camera calling signal is generated or not is determined according to the acceleration characteristic value and the angular speed characteristic value, if so, the camera calling signal is generated, and a camera is called to enter a camera interface by using the camera calling signal. The acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained when the moving speed of the mobile terminal reaches the preset speed threshold value, after the camera calling signal is judged to be generated according to the acceleration characteristic value and the angular speed characteristic value, the camera calling signal can be utilized to call the camera to enter the camera interface, therefore, when a user needs to take a snapshot of an object, the camera interface can be automatically entered, the step of entering the camera interface is simplified, time is saved, the phenomenon that key information is incompletely or overlooked in shooting can be reduced, unnecessary loss is reduced, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an implementation of a camera interface entering method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another implementation of a camera interface entering method according to an embodiment of the invention;
fig. 3 is a schematic structural diagram of a camera interface access device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a camera interface entry system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a flowchart illustrating an implementation of a camera interface entering method according to the present invention, the method may include the following steps:
step S101: and when the mobile terminal is detected to reach a preset speed threshold, generating an internal trigger signal.
A speed threshold may be preset for the mobile terminal, and when it is detected that the moving speed of the mobile terminal reaches the preset speed threshold, it may be regarded that a preset trigger condition is reached, and in this case, the internal trigger signal may be generated.
It should be noted that the speed threshold may be set and adjusted according to actual situations, which is not limited in the embodiment of the present invention. For example, the technical solution provided by the embodiment of the present invention is executed for a plurality of times according to a certain speed threshold, but when a user uses a mobile terminal to capture an object, the phenomenon that the mobile terminal does not automatically enter a camera interface is still frequent, and the speed threshold can be appropriately reduced.
Step S102: and obtaining an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal.
After the internal trigger signal is generated, it may be predicted that the user needs to take a picture of a peripheral object by using the mobile terminal. Therefore, in this case, the acceleration characteristic value and the angular velocity characteristic value of the mobile terminal may be obtained from the generated internal trigger signal.
Step S103: and determining whether to generate a camera call signal according to the acceleration characteristic value and the angular velocity characteristic value, and if so, executing step S104.
After the acceleration characteristic value and the angular velocity characteristic value of the mobile terminal are obtained, the translation and rotation conditions of the mobile terminal can be determined according to the obtained acceleration characteristic value and the obtained angular velocity characteristic value, whether the prejudgment that a user possibly utilizes the mobile terminal to photograph surrounding objects is correct or not is verified, so that whether a camera calling signal is generated or not is determined, and if the camera calling signal is determined to be generated, the step S104 can be continuously executed. If it is determined that the camera call signal is not generated, the next detection is not performed.
In one embodiment of the present invention, step S103 may include the following steps:
the method comprises the following steps: determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular speed characteristic value is larger than a preset first angular speed threshold value, if so, executing a second step;
step two: determining whether the timing time is less than a preset first time threshold value or not from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when the first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or the second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X axis, the Y axis and the Z axis.
For convenience of description, the above two steps may be combined for illustration.
The acceleration threshold and the first angular velocity threshold of the mobile terminal can be preset, the acceleration characteristic value and the angular velocity characteristic value of the mobile terminal can be obtained in real time in the moving process of the mobile terminal, whether the acceleration characteristic value is larger than the acceleration threshold and the angular velocity characteristic value is larger than the first angular velocity threshold exists in the moving process of the mobile terminal from the original position or not is determined, and if the acceleration characteristic value is larger than the acceleration threshold and the angular velocity characteristic value is larger than the first angular velocity threshold, the possibility that a user who makes a further judgment possibly uses the mobile terminal to photograph surrounding objects is judged to be correct.
The edge of the mobile terminal may be used as an X axis, a Y axis, and a Z axis to establish a spatial rectangular coordinate system, for example, a short side of the mobile phone may be used as the X axis, a long side may be used as the Y axis, and a side between the short side and the long side and representing the thickness may be used as the Z axis to establish the spatial rectangular coordinate system. And a second angular velocity threshold of the mobile terminal can be preset, timing can be started from a first time point when the acceleration characteristic value is greater than the preset acceleration threshold and the angular velocity characteristic value is greater than the preset first angular velocity threshold, and when the first angular velocity characteristic value of the mobile terminal in the X-axis direction or the second angular velocity characteristic value of the mobile terminal in the Y-axis direction is less than the preset second angular velocity threshold, whether the timing time is less than the preset first time threshold, that is, whether the mobile terminal has a trend from moving to being stationary, cannot only judge whether the acceleration characteristic value is greater than the acceleration threshold and the angular velocity characteristic value is greater than the first angular velocity threshold, because the user is not in need of taking a snapshot of the object, for example, when the user is running with the mobile terminal, the situation that the acceleration characteristic value of the mobile terminal is greater than the acceleration threshold and the angular velocity characteristic value is greater than the first angular velocity threshold may also occur, when a user uses the mobile terminal to capture an object, the mobile terminal has a deceleration process within a certain time from an original position to a shooting position, and after the mobile terminal decelerates to the shooting position, the mobile terminal is in a horizontal screen state or a vertical screen state, wherein the horizontal screen state is that the angle change of the mobile terminal in the X-axis direction is basically zero or changes within a small range, and the vertical screen state is that the angle change of the mobile terminal in the Y-axis direction is basically zero or changes within a small range.
It should be noted that, both the acceleration threshold and the first angular velocity threshold are values greater than zero, and both of them may be set and adjusted according to actual situations, which is not limited in the embodiment of the present invention. For example, when the technical solution provided by the embodiment of the present invention is executed multiple times according to a certain set acceleration threshold and a certain set first angular velocity threshold, but if the phenomenon that the mobile terminal does not automatically enter the camera interface is still frequent when the user uses the mobile terminal to capture an object, the set acceleration threshold or the set first angular velocity threshold may be appropriately reduced, so as to reduce the probability that the mobile terminal does not automatically enter the camera interface when the user uses the mobile terminal to capture the object due to the fact that the set acceleration threshold or the set first angular velocity threshold is too large.
It should be further noted that the first time threshold may be set and adjusted according to actual situations, which is not limited in the embodiment of the present invention. For example, when the technical solution provided by the embodiment of the present invention is executed multiple times according to a certain set first time threshold, but when a user uses a mobile terminal to capture an object, because when the timing time reaches the first time threshold, both the first angular velocity characteristic value of the mobile terminal in the X-axis direction and the second angular velocity characteristic value of the mobile terminal in the Y-axis direction are not less than the second angular velocity threshold, and the phenomenon that the mobile terminal does not automatically enter the camera interface is still frequent, the first time threshold may be increased.
It should be further noted that the second angular velocity threshold may be set and adjusted according to an actual situation, which is not limited in the embodiment of the present invention, for example, when the technical solution provided by the embodiment of the present invention is executed multiple times according to a certain set second angular velocity threshold, but when a user does not use the mobile terminal to capture an object, the phenomenon that the mobile terminal automatically enters the camera interface is still more frequent, and the second angular velocity threshold may be reduced.
In an embodiment of the present invention, determining whether the timing time is less than a preset first time threshold may include the following steps:
and determining whether the timed time is less than a preset first time threshold and the duration of the first angular speed characteristic value or the second angular speed characteristic value which is less than the second angular speed threshold is greater than a preset second time threshold.
After determining that there is a case where the acceleration characteristic value of the mobile terminal is greater than the acceleration threshold and the angular velocity characteristic value is greater than the first angular velocity threshold, and determining that the time is counted from a first time when the acceleration characteristic value of the mobile terminal is greater than the acceleration threshold and the angular velocity characteristic value is greater than the first angular velocity threshold, to a time when the first angular velocity characteristic value of the mobile terminal in the X-axis direction or the second angular velocity characteristic value of the mobile terminal in the Y-axis direction is less than the second angular velocity threshold, it may be further determined whether a duration of the time when the first angular velocity characteristic value of the mobile terminal in the X-axis direction or the second angular velocity characteristic value of the mobile terminal in the Y-axis direction is less than the second angular velocity threshold is greater than a preset second time. When a user takes a snapshot of an object, the user may want to switch the screen state after the mobile terminal reaches the shooting position from the original position, for example, switch from the landscape screen state to the portrait screen state, and therefore, after determining that the first angular velocity characteristic value of the mobile terminal in the X-axis direction or the second angular velocity characteristic value of the mobile terminal in the Y-axis direction is smaller than the second angular velocity threshold value, a certain time is needed to wait.
It should be noted that the second time threshold may be set and adjusted according to actual situations, which is not limited in the embodiment of the present invention. For example, when the technical solution provided by the embodiment of the present invention is executed for a plurality of times according to a certain second time threshold set by the embodiment of the present invention, however, after the user moves the mobile terminal from the original position to the shooting position, the user wants to switch the screen state shooting, and before the screen is switched, the phenomenon that the mobile terminal shoots an object frequently occurs, the second time threshold may be increased.
Step S104: and generating a camera calling signal, and calling the camera to enter a camera interface by using the camera calling signal.
After a camera call signal is generated according to the acceleration characteristic value and the first angular velocity characteristic value, a camera of the mobile terminal can be called to enter a camera interface by the camera call signal.
By applying the method provided by the embodiment of the invention, when the moving speed of the mobile terminal is detected to reach the preset speed threshold, the internal trigger signal is generated, the acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained according to the internal trigger signal, whether the camera calling signal is generated or not is determined according to the acceleration characteristic value and the angular speed characteristic value, if so, the camera calling signal is generated, and the camera calling signal is used for calling the camera to enter the camera interface. The acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained when the moving speed of the mobile terminal reaches the preset speed threshold value, after a camera calling signal is judged and generated according to the acceleration characteristic value and the angular speed characteristic value, the camera calling signal can be utilized to call the camera to enter the camera interface, therefore, when a user needs to take a snapshot of an object, the camera interface can be automatically entered, the step of entering the camera interface is simplified, time is saved, the phenomenon that key information is not shot completely or missed in shooting can be reduced, unnecessary loss is reduced, and user experience is improved.
In an embodiment of the present invention, after step S104, the method may further include the steps of:
the method comprises the following steps: determining whether an instruction of photographing or shooting by a user is received within a preset third time threshold from the moment when the camera enters the camera interface, and if not, executing the second step;
step two: and determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation so as to enable the mobile terminal to automatically lock the screen.
For convenience of description, the above two steps may be combined for illustration.
A third time threshold may be preset, after the generated camera call signal is used to call the camera of the mobile terminal to enter the camera interface, it may be determined whether an instruction for taking a picture or taking a video by the user is received within the preset third time threshold since the camera enters the camera interface, if so, the camera continues to take a picture or take a video, and if not, it is determined that the operation of calling the camera to enter the camera interface by the camera call signal is a misoperation, and the mobile terminal automatically locks the screen.
It should be noted that the third time threshold may be set and adjusted according to actual situations, which is not limited in the embodiment of the present invention. For example, when the technical solution provided by the embodiment of the present invention is executed multiple times according to a certain set third time threshold, but when a user uses the mobile terminal to capture an object, because the set third time threshold is too short, the phenomenon that the mobile terminal automatically locks the screen frequently occurs because the camera enters the camera interface and no instruction of the user to take a picture or take a video is received within the third time threshold, and the third time threshold may be increased.
Referring to fig. 2, which is a flowchart of another implementation of a camera interface entering method according to an embodiment of the present invention, the method may include the following steps:
s201: and when the mobile terminal is detected to reach a preset speed threshold value, the processor generates an internal trigger signal.
S202: the acceleration sensor and the gyroscope sensor receive internal trigger signals, the acceleration sensor detects an acceleration characteristic value of the mobile terminal, and the gyroscope sensor detects an angular speed characteristic value of the mobile terminal and sends the acceleration characteristic value and the angular speed characteristic value to the processor.
S203: and the processor receives the acceleration characteristic value and the angular velocity characteristic value, accesses the memory, calls an acceleration threshold value and a first angular velocity threshold value prestored in the memory, compares the acceleration threshold value and the first angular velocity threshold value and judges.
The acceleration threshold value and the first angular velocity threshold value may be stored in the memory in advance.
S204: and judging whether the acceleration characteristic value is greater than an acceleration threshold value and the angular speed characteristic value is greater than a first angular speed threshold value, if so, executing the step S205, otherwise, enabling the mobile terminal to be in a screen locking state, and unlocking the mobile terminal according to the original mode.
S205: the mobile terminal completes the process of transferring from a pocket, a handbag, or the like to the photographing position.
S206: the gyroscope sensor detects a first angular velocity characteristic value of a current angular velocity characteristic value of the mobile terminal in the X-axis direction or a second angular velocity characteristic value of the current angular velocity characteristic value in the Y-axis direction, and sends the first angular velocity characteristic value or the second angular velocity characteristic value to the processor, and the processor calls the second angular velocity threshold value, the first time threshold value and the second time threshold value stored in the memory to compare and judge.
S207: and judging whether the mobile terminal is in a vertical screen state or is converted into a horizontal screen state within a second time threshold, if so, executing the step S208, otherwise, the mobile terminal is in a screen locking state, and the mobile terminal is unlocked in the original mode.
The processor judges whether the timing is started from the fact that the detected acceleration characteristic value is larger than the acceleration threshold value and the angular velocity characteristic value is larger than the first angular velocity threshold value, when the received first angular velocity characteristic value of the angular velocity characteristic value sent by the gyroscope sensor in the X-axis direction or the second angular velocity characteristic value of the angular velocity characteristic value sent by the gyroscope sensor in the Y-axis direction is smaller than the preset second angular velocity threshold value, whether the timing time is smaller than the preset first time threshold value is judged, namely whether the mobile terminal is in the vertical screen state or the horizontal screen state is judged, whether the time that the first angular velocity characteristic value or the second angular velocity characteristic value is smaller than the second angular velocity threshold value is larger than the preset second time threshold value is judged, namely whether the screen state is converted after the mobile terminal reaches the shooting position from the original position is judged. And step S208 is executed after the final screen state before shooting is determined, otherwise, the mobile terminal is in the screen locking state and is unlocked in the original mode.
S208: the processor generates a camera call signal to call the camera to enter the camera interface.
S209: and the processor detects the condition of a photographing or shooting instruction received within a preset third time threshold from the moment that the camera enters the camera interface.
S210: and judging whether the mobile terminal takes a picture or a video within a time threshold value, if so, executing the step S211, otherwise, enabling the mobile terminal to be in a screen locking state, and unlocking the mobile terminal according to the original mode.
S211: the camera continues to take pictures or take pictures.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a camera interface entering device, and a camera interface entering device described below and a camera interface entering method described above may be referred to correspondingly.
Referring to fig. 3, the apparatus may include the following modules:
a trigger signal generating module 301, configured to generate an internal trigger signal when detecting that a moving speed of the mobile terminal reaches a preset speed threshold;
a characteristic value obtaining module 302, configured to obtain an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal;
a calling signal generation determination module 303, configured to determine whether to generate a camera calling signal according to the acceleration characteristic value and the angular velocity characteristic value;
and the camera calling module 304 is configured to call the camera to enter a camera interface by using the camera calling signal after the camera calling signal is generated.
By applying the device provided by the embodiment of the invention, when the moving speed of the mobile terminal is detected to reach the preset speed threshold, the internal trigger signal is generated, the acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained according to the internal trigger signal, whether the camera calling signal is generated or not is determined according to the acceleration characteristic value and the angular speed characteristic value, if so, the camera calling signal is generated, and the camera calling signal is used for calling the camera to enter the camera interface. The acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained when the moving speed of the mobile terminal reaches the preset speed threshold value, after a camera calling signal is judged and generated according to the acceleration characteristic value and the angular speed characteristic value, the camera calling signal can be utilized to call the camera to enter the camera interface, therefore, when a user needs to take a snapshot of an object, the camera interface can be automatically entered, the step of entering the camera interface is simplified, time is saved, the phenomenon that key information is not shot completely or missed in shooting can be reduced, unnecessary loss is reduced, and user experience is improved.
In an embodiment of the present invention, the calling signal generation determining module 303 includes:
the characteristic value determining submodule is used for determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular velocity characteristic value is larger than a preset first angular velocity threshold value, and if so, the timing determining submodule is triggered;
the timing determination submodule is used for determining whether the timing time is less than a preset first time threshold value or not from the first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to the moment when the first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or the second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than the preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X axis, the Y axis and the Z axis.
In an embodiment of the present invention, the timing determination sub-module is specifically a sub-module that determines whether the timing time is less than a preset first time threshold and the duration of the first angular velocity characteristic value or the second angular velocity characteristic value being less than a second angular velocity threshold is greater than a preset second time threshold.
In one embodiment of the present invention, the method further comprises:
the misoperation determining module is used for determining whether a command of photographing or shooting by a user is received within a preset third time threshold from the moment when the camera enters the camera interface after the camera calling signal is generated and the camera is called by the camera calling signal to enter the camera interface; if not, determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation, so that the mobile terminal automatically locks the screen.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a camera interface entry system, and a camera interface entry system described below and a camera interface entry method described above may be referred to in correspondence.
Referring to fig. 4, the system may include a processor 401, a gyro sensor 402 and an acceleration sensor 403 connected to the processor 401;
a processor 401, configured to generate an internal trigger signal when detecting that a moving speed of the mobile terminal reaches a preset speed threshold; sending the internal trigger signal to the gyro sensor 402 and the acceleration sensor 403; receiving an acceleration characteristic value of the mobile terminal returned by the acceleration sensor 403 and an angular velocity characteristic value returned by the gyroscope sensor 402; determining whether to generate a camera calling signal according to the acceleration characteristic value and the angular velocity characteristic value; if so, generating a camera calling signal, and calling a camera to enter a camera interface by using the camera calling signal;
a gyro sensor 402 for receiving an internal trigger signal sent by the processor 401; determining an angular velocity characteristic value of the mobile terminal according to the internal trigger signal; sending the angular velocity characteristic value to the processor 401;
an acceleration sensor 403, configured to receive an internal trigger signal sent by the processor 401; determining an acceleration characteristic value of the mobile terminal according to the internal trigger signal; the acceleration characteristic value is sent to the processor 401.
By applying the system provided by the embodiment of the invention, when the moving speed of the mobile terminal is detected to reach the preset speed threshold, the internal trigger signal is generated, the acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained according to the internal trigger signal, whether the camera calling signal is generated or not is determined according to the acceleration characteristic value and the angular speed characteristic value, if so, the camera calling signal is generated, and the camera calling signal is used for calling the camera to enter the camera interface. When the moving speed of the mobile terminal reaches a preset speed threshold value, the acceleration characteristic value and the angular speed characteristic value of the mobile terminal are obtained, when a camera calling signal is judged to be generated according to the acceleration characteristic value and the angular speed characteristic value, the camera calling signal can be utilized to call a camera to enter a camera interface, so that when a user needs to take a snapshot of an object, the camera interface can be automatically entered, the step of entering the camera interface is simplified, time is saved, the phenomenon that key information is not completely or missed in shooting can be reduced, unnecessary loss is reduced, and user experience is improved.
In an embodiment of the present invention, the processor 401 specifically determines whether there is an acceleration characteristic value greater than a preset acceleration threshold value and an angular velocity characteristic value greater than a preset first angular velocity threshold value; if yes, determining whether the timing time is less than a preset first time threshold value from a first time point when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a time point when the first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or the second angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as the X axis, the Y axis and the Z axis.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (7)

1. A camera interface entry method, comprising:
when the mobile terminal is detected to reach a preset speed threshold, generating an internal trigger signal;
acquiring an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal;
determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular speed characteristic value is larger than a preset first angular speed threshold value;
if yes, determining whether the timing time is less than a preset first time threshold value from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value;
the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as an X axis, a Y axis and a Z axis;
and if so, generating the camera calling signal, and calling a camera to enter a camera interface by using the camera calling signal.
2. The method of claim 1, wherein determining whether the timed time is less than a preset first time threshold comprises:
and determining whether the timed time is less than a preset first time threshold value and the duration of the first angular velocity characteristic value or the second angular velocity characteristic value which is less than the second angular velocity threshold value is greater than a preset second time threshold value.
3. The method according to any one of claims 1 to 2, wherein after said generating the camera call signal, using the camera call signal to call a camera into a camera interface, further comprising:
determining whether an instruction of photographing or shooting by a user is received within a preset third time threshold from the moment when the camera enters a camera interface;
and if not, determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation, so that the mobile terminal automatically locks the screen.
4. A camera interface access device, comprising:
the trigger signal generation module is used for generating an internal trigger signal when detecting that the moving speed of the mobile terminal reaches a preset speed threshold;
the characteristic value obtaining module is used for obtaining an acceleration characteristic value and an angular velocity characteristic value of the mobile terminal according to the internal trigger signal;
the calling signal generation determining module is used for determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular velocity characteristic value is larger than a preset first angular velocity threshold value; if yes, determining whether the timing time is less than a preset first time threshold value from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value; the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as an X axis, a Y axis and a Z axis;
and the camera calling module is used for calling the camera to enter a camera interface by using the camera calling signal after the camera calling signal is generated.
5. The device according to claim 4, wherein the timing determination submodule is specifically a submodule for determining whether the timing time is less than a preset first time threshold and the duration of the first angular velocity characteristic value or the second angular velocity characteristic value being less than the second angular velocity threshold is greater than a preset second time threshold.
6. The apparatus of any of claims 4 to 5, further comprising:
the misoperation determining module is used for determining whether an instruction of taking pictures or shooting pictures by a user is received within a preset third time threshold value after the camera calling signal is generated and a camera is called by the camera calling signal to enter a camera interface; and if not, determining that the operation of calling the camera to enter the camera interface by using the camera calling signal is misoperation, so that the mobile terminal automatically locks the screen.
7. A camera interface access system, comprising:
the system comprises a processor, a gyroscope sensor and an acceleration sensor, wherein the gyroscope sensor and the acceleration sensor are connected with the processor;
the processor is used for generating an internal trigger signal when the mobile terminal is detected to have the moving speed reaching a preset speed threshold; sending the internal trigger signal to the gyroscope sensor and the acceleration sensor; receiving an acceleration characteristic value of the mobile terminal returned by the acceleration sensor and an angular velocity characteristic value returned by the gyroscope sensor; determining whether the acceleration characteristic value is larger than a preset acceleration threshold value and the angular speed characteristic value is larger than a preset first angular speed threshold value; if yes, determining whether the timing time is less than a preset first time threshold value from a first moment when the acceleration characteristic value is greater than the acceleration threshold value and the angular velocity characteristic value is greater than the first angular velocity threshold value to a moment when a first angular velocity characteristic value of the angular velocity characteristic value in the X-axis direction or a second angular velocity characteristic value of the angular velocity characteristic value in the Y-axis direction is less than a preset second angular velocity threshold value; the X-axis direction and the Y-axis direction are corresponding directions in a space rectangular coordinate system established by taking the edge of the mobile terminal as an X axis, a Y axis and a Z axis; if so, generating the camera calling signal, and calling a camera to enter a camera interface by using the camera calling signal;
the gyroscope sensor is used for receiving the internal trigger signal sent by the processor; determining the angular speed characteristic value of the mobile terminal according to the internal trigger signal; sending the angular velocity characteristic value to the processor;
the acceleration sensor is used for receiving the internal trigger signal sent by the processor; determining the acceleration characteristic value of the mobile terminal according to the internal trigger signal; and sending the acceleration characteristic value to the processor.
CN201711008574.3A 2017-10-25 2017-10-25 Camera interface entering method, device and system Active CN107613214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711008574.3A CN107613214B (en) 2017-10-25 2017-10-25 Camera interface entering method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711008574.3A CN107613214B (en) 2017-10-25 2017-10-25 Camera interface entering method, device and system

Publications (2)

Publication Number Publication Date
CN107613214A CN107613214A (en) 2018-01-19
CN107613214B true CN107613214B (en) 2020-09-11

Family

ID=61080629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711008574.3A Active CN107613214B (en) 2017-10-25 2017-10-25 Camera interface entering method, device and system

Country Status (1)

Country Link
CN (1) CN107613214B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418960B (en) * 2018-02-12 2021-04-09 Oppo广东移动通信有限公司 Electronic device, operation control method and related product
CN108836398A (en) * 2018-05-15 2018-11-20 苏州东巍网络科技有限公司 A kind of teenager's sweat collecting system and method based on wearable electronic
CN109324737A (en) * 2018-08-31 2019-02-12 阿里巴巴集团控股有限公司 A kind of method, apparatus, mobile terminal and the storage medium of invocation target function

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019542A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method for quickly photographing under screen locking interface
CN103037103A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Method of starting camera by mobile device
CN103092341A (en) * 2012-12-31 2013-05-08 华为技术有限公司 Method and device of terminal control and terminal
CN103259926A (en) * 2013-04-17 2013-08-21 广东欧珀移动通信有限公司 Fast starting method and mobile terminal of application function
CN103595914A (en) * 2013-11-04 2014-02-19 华为终端有限公司 Photographing method and mobile terminal
CN104539838A (en) * 2014-12-02 2015-04-22 厦门美图移动科技有限公司 Method and device for rapidly opening mobile phone camera for performing video recording
CN104935812A (en) * 2015-05-29 2015-09-23 广东欧珀移动通信有限公司 Self-shot mode turn-on control method and device
CN105744164A (en) * 2016-02-24 2016-07-06 惠州Tcl移动通信有限公司 Photographing method and system for mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9020476B2 (en) * 2011-09-12 2015-04-28 Leipzig Technology, Llc System and method for remote care and monitoring using a mobile device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019542A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method for quickly photographing under screen locking interface
CN103037103A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Method of starting camera by mobile device
CN103092341A (en) * 2012-12-31 2013-05-08 华为技术有限公司 Method and device of terminal control and terminal
CN103259926A (en) * 2013-04-17 2013-08-21 广东欧珀移动通信有限公司 Fast starting method and mobile terminal of application function
CN103595914A (en) * 2013-11-04 2014-02-19 华为终端有限公司 Photographing method and mobile terminal
CN104539838A (en) * 2014-12-02 2015-04-22 厦门美图移动科技有限公司 Method and device for rapidly opening mobile phone camera for performing video recording
CN104935812A (en) * 2015-05-29 2015-09-23 广东欧珀移动通信有限公司 Self-shot mode turn-on control method and device
CN105744164A (en) * 2016-02-24 2016-07-06 惠州Tcl移动通信有限公司 Photographing method and system for mobile terminal

Also Published As

Publication number Publication date
CN107613214A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107613214B (en) Camera interface entering method, device and system
CN109891874B (en) Panoramic shooting method and device
EP2641209B1 (en) Method of using device motion in a password
CN107770452B (en) Photographing method, terminal and related medium product
CN106131391B (en) A kind of image pickup method and device
US20110151934A1 (en) Automatic Keypad Unlocking Method and Apparatus for Mobile Terminal
EP3096565B1 (en) Method and apparatus for accessing wireless network by terminal device
KR20190057284A (en) Method and apparatus for preventing wrong contact with terminal
CN104539838A (en) Method and device for rapidly opening mobile phone camera for performing video recording
CN107480601B (en) Detection method and related product
CN109359458B (en) Application unlocking method and device and computer readable storage medium
US10824891B2 (en) Recognizing biological feature
CN105554255B (en) Method of controlling operation thereof and device for terminal device
JP4910627B2 (en) Impersonation detection device
EP3496391A1 (en) Method and device for capturing image and storage medium
CN102932595A (en) Method and device for sound-control photographing and terminal
CN109600549A (en) Photographic method, device, equipment and storage medium
CN107657219B (en) Face detection method and related product
CN105872194A (en) Image acquisition method and device for terminal
CN107563338B (en) Face detection method and related product
US20200401827A1 (en) Spoof detection by estimating subject motion from captured image frames
CN107592463B (en) Dynamic point photographing method based on mobile terminal, storage medium and mobile terminal
CN113507549B (en) Camera, photographing method, terminal and storage medium
CN114207610B (en) Terminal device, information processing method, and program
CN108595930B (en) Terminal device control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant