CN111031179A - Interface display method, device and computer readable storage medium - Google Patents
Interface display method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN111031179A CN111031179A CN201911333662.XA CN201911333662A CN111031179A CN 111031179 A CN111031179 A CN 111031179A CN 201911333662 A CN201911333662 A CN 201911333662A CN 111031179 A CN111031179 A CN 111031179A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- shooting
- interface
- preset
- target image
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an interface display method, equipment and a computer readable storage medium, wherein the interface display method comprises the following steps: detecting that the mobile terminal is in a moving state; detecting that the mobile terminal is in a position state; and according to the moving state and/or the position state, the terminal starts a first function. According to the method and the device, when the mobile terminal is detected to be in a moving state and a position state, the preset shooting application is started, and the shooting interface is displayed on the display screen of the mobile terminal so that a user can use the shooting function, the situation that the application of the camera needs to be started through the touch screen control of the touch mobile terminal is avoided, the operation process of starting the shooting application is convenient and fast, and the use experience of the user is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an interface display method and device, and a computer-readable storage medium.
Background
With the rapid development of mobile terminal software and hardware, the mobile terminal has evolved from a simple traditional communication tool to a platform for carrying a plurality of functions such as mobile application, mobile content, value-added service, etc., and nowadays, the terminal technology tends to be more mature, and people have raised greater requirements for the use experience of the mobile terminal.
In the prior art, when a user needs to use a mobile terminal to take a picture or a video, the mobile terminal is firstly lightened through manual operation such as pressing a power key or automatic detection of the mobile terminal, then the mobile terminal is unlocked to enter a desktop, and then a camera is clicked to start to enter a shooting interface, so that a shooting function can be used; or when the mobile terminal is not unlocked, the camera is started to enter the shooting page through sliding operation or operation of pressing a physical key, and the shooting function is started quickly. The mode of starting the camera to enter the shooting page to use the shooting function is fixed, and the operation flow is complex, so that the use experience of a user is poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an interface display method, interface display equipment and a computer readable storage medium, and aims to solve the technical problem that the operation process of starting a camera to enter a shooting page is complex.
In order to achieve the above object, the present invention provides an interface display method, including the steps of:
detecting that the mobile terminal is in a moving state;
detecting that the mobile terminal is in a position state;
and according to the moving state and/or the position state, the terminal starts a first function.
Optionally, comprising: the opening of the first function includes starting the first function or entering a specific mode of the first function.
Optionally, comprising: starting a camera based on the moving state and/or the position state to acquire a target image;
and displaying a shooting interface on a display screen of the mobile terminal based on the position state and the target image.
Optionally, comprising:
and if the human face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
Optionally, comprising: and if the position state value is within a preset value range and the face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
Optionally, the step of displaying a shooting interface on a display screen of the mobile terminal based on the position status and the target image includes:
if the target image comprises a face area and the position state is within a preset value range, extracting a skin color value of the face area, and determining a target beautifying mode corresponding to the skin color value in a beautifying mode set;
and starting the target beautifying mode, and displaying a shooting interface corresponding to the target beautifying mode on a display screen of the mobile terminal.
Optionally, the step of displaying a shooting interface on a display screen of the mobile terminal based on the position status and the target image includes:
if the target image comprises a face area and the position state is within a preset value range, acquiring the use times of each functional camera mode in at least one functional camera mode, and acquiring a target functional camera mode corresponding to the highest use time in the use times;
and starting the target function camera mode, and displaying a shooting interface corresponding to the target function camera mode on a display screen of the mobile terminal.
Optionally, comprising:
extracting face feature information in the target image;
and if the face feature information is matched with the preset feature information, controlling the camera to shoot.
In addition, to achieve the above object, the present invention also provides an interface display apparatus, including: the interface display method comprises a memory, a processor and an interface display program stored on the memory and capable of running on the processor, wherein the interface display program realizes the steps of the interface display method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having an interface display program stored thereon, which, when executed by a processor, implements the steps of the interface display method as described above.
The invention detects that the mobile terminal is in a moving state; detecting that the mobile terminal is in a position state; according to the moving state and/or the position state, the terminal starts a first function, when the mobile terminal is in a starting state, no matter the mobile terminal is in an unlocking bright screen state or an unlocking state or a black screen state or other starting states, when the mobile terminal is detected to be in a specific moving state and a specific position state, namely when the acceleration value of the mobile terminal is detected to meet a preset acceleration condition and the angular velocity value meets a preset angular velocity condition, a preset shooting application is started, a shooting interface is displayed on a display screen of the mobile terminal, a shooting mode is directly opened for a user to use the function of shooting a picture or shooting a video, the shooting application can be directly opened through the action of the user for picking up the mobile terminal, so that the application of a camera which needs to be started through the touch screen control of the touch mobile terminal is avoided, and the operation process of starting the shooting application is convenient and fast, the use experience of the user is improved.
Drawings
FIG. 1 is a schematic diagram of an interface display device of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of an interface display method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an interface display device of a hardware operating environment according to an embodiment of the present invention.
The interface display device of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the interface display apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the interface display device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen based on the ambient light level and a proximity sensor that turns off the display screen and/or backlight when the interface display device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the interface display device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and so on, which are not described herein again.
Those skilled in the art will appreciate that the interface display device configuration shown in FIG. 1 does not constitute a limitation of interface display devices, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an interface display program.
In the interface display device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to invoke an interface display program stored in the memory 1005.
In this embodiment, the interface display apparatus includes: the system comprises a memory 1005, a processor 1001 and an interface display program which is stored on the memory 1005 and can run on the processor 1001, wherein when the processor 1001 calls the interface display program stored in the memory 1005, the following operations are executed:
detecting that the mobile terminal is in a moving state;
detecting that the mobile terminal is in a position state;
and according to the moving state and/or the position state, the terminal starts a first function.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
the opening of the first function includes starting the first function or entering a specific mode of the first function.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
and displaying a shooting interface on a display screen of the mobile terminal based on the position state and the target image.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
and if the human face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
and if the position state value is within a preset value range and the face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
if the target image comprises a face area and the position state is within a preset value range, extracting a skin color value of the face area, and determining a target beautifying mode corresponding to the skin color value in a beautifying mode set;
and starting the target beautifying mode, and displaying a shooting interface corresponding to the target beautifying mode on a display screen of the mobile terminal.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
if the target image comprises a face area and the position state is within a preset value range, acquiring the use times of each functional camera mode in at least one functional camera mode, and acquiring a target functional camera mode corresponding to the highest use time in the use times;
and starting the target function camera mode, and displaying a shooting interface corresponding to the target function camera mode on a display screen of the mobile terminal.
Further, the processor 1001 may call the interface display program stored in the memory 1005, and also perform the following operations:
extracting face feature information in the target image;
and if the face feature information is matched with the preset feature information, controlling the camera to shoot.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the interface display method of the present invention, in this embodiment, the interface display method includes the following steps:
step S10, detecting that the mobile terminal is in a moving state;
in one embodiment, the mobile terminal is detected to be in a moving state by acquiring the current acceleration value of the mobile terminal. Specifically, when the mobile terminal is in a power-on state, the acceleration value of the mobile terminal is detected in real time through a sensor in the mobile terminal, and the acceleration value is collected at intervals of a preset time through a controller in the mobile terminal, so that the moving state of the mobile terminal is monitored in real time. The acceleration value of the mobile terminal is detected to detect whether the mobile terminal is instantly taken up by a user or not, and the acceleration value of the mobile terminal is detected in real time no matter whether the mobile terminal is in an unlocking bright screen state or an unlocking state or a black screen state or other starting states, namely the mobile state of the mobile terminal is detected in real time. For example, if the mobile terminal is placed on a desktop, that is, the mobile terminal is currently stationary or does uniform motion, the acceleration value is zero; if the user picks up the mobile terminal instantly, that is, the mobile terminal has an acceleration, the acceleration value of the mobile terminal can be detected, the acceleration value is not zero, and at this time, the acceleration value has a numerical value.
In one embodiment, the acceleration value of the mobile terminal is acquired through an acceleration sensor in the mobile terminal. When the mobile terminal is in a starting state, the acceleration value of the mobile terminal is detected in real time through an acceleration sensor in the mobile terminal, and the acceleration value is collected at intervals of a preset time through a controller in the mobile terminal so as to monitor the motion state of the mobile terminal in real time and detect whether the mobile terminal is in an accelerated motion state, and whether the acceleration value of the mobile terminal in the accelerated motion state meets a preset acceleration condition, namely whether the mobile terminal is instantly picked up by a user is detected. Specifically, no matter the mobile terminal is in an unlocking bright screen state, an unlocking state, a black screen state or other starting states, the mobile terminal detects the acceleration value of the mobile terminal in real time. For example, if the mobile terminal is placed on a desktop, that is, the mobile terminal is currently stationary or does uniform motion, the acceleration value is zero; if the user picks up the mobile terminal instantaneously, that is, the mobile terminal has an acceleration, the acceleration value of the mobile terminal may be detected.
Step S20, detecting that the mobile terminal is in a position state;
in one embodiment, the mobile terminal is detected to be in a position state by acquiring the current angle value of the mobile terminal. Specifically, when the mobile terminal is in a power-on state, an angle value formed by a plane where the mobile terminal is located and a horizontal plane is detected in real time through a sensor in the mobile terminal, and the angle value is collected at intervals of a preset time through a controller in the mobile terminal so as to monitor the position state of the mobile terminal in real time, and the angle value between the plane where the mobile terminal is located and the horizontal plane is detected so as to detect the relative position state of the mobile terminal placed by a user and the horizontal plane. And no matter the mobile terminal is in an unlocking bright screen state, an unlocking state, a black screen state or other starting states, the mobile terminal detects an angle value formed by a plane where the mobile terminal is located and a horizontal plane in real time, namely detects the position state of the mobile terminal in real time. For example, if the mobile terminal is placed on a desktop, it is detected that the current angle value of the mobile terminal is 0 degree.
In one embodiment, an angle value formed by a plane where the mobile terminal is located and a horizontal plane is collected through a gyroscope in the mobile terminal. When the mobile terminal is in a starting state, detecting an angle value formed by a plane where the mobile terminal is located and a horizontal plane through a gyroscope installed in the mobile terminal, and acquiring the angle value at intervals of a preset period through a controller in the mobile terminal so as to monitor the relative position state of the mobile terminal and the horizontal plane in real time and detect whether the angle value formed by the plane where the mobile terminal is located and the horizontal plane meets a preset angle condition. Specifically, no matter the mobile terminal is in an unlocking bright screen state, an unlocking state, a black screen state or other starting states, the mobile terminal detects an angle value formed by a plane where the mobile terminal is located and a horizontal plane in real time. For example, if the mobile terminal is horizontally placed on a desktop, it is detected that the current angle value of the mobile terminal is 0 degree; and if the mobile terminal is in the vertical state, detecting that the current angle value of the mobile terminal is 90 degrees.
Step S30, the terminal starts a first function according to the moving status and/or the position status.
In an embodiment, starting a first function in the mobile terminal based on the moving state and/or the position state may be starting an application or a function corresponding to the application. Specifically, if the mobile terminal is in a specific moving state and/or in a specific position state, the application or the function corresponding to the application is started. Wherein opening the first function comprises: starting the first function or entering a specific mode of the first function, such as starting a shooting function, and opening a portrait mode in the current shooting mode.
In one embodiment, if the mobile state is an instant-up mobile state, a first function is turned on. Specifically, if the mobile state is the mobile state which is taken up instantly, the screen of the mobile terminal is lightened; or if the mobile state is the mobile state which is taken up instantly, starting a camera of the mobile terminal, starting the portrait recognition module, acquiring the current environment image of the mobile terminal, recognizing whether face information exists in the environment image based on the portrait recognition module, and if the face information exists and the face information is matched with the face information stored by the mobile terminal, automatically unlocking the mobile terminal.
In one embodiment, if the mobile terminal is in a downward state, a first function is activated. Specifically, if the mobile terminal is in a downward state, the mobile terminal is turned off; or if the mobile terminal is in a horizontal screen state, enabling the mobile terminal to be in a horizontal screen state; or if the mobile terminal is in the vertical screen state, enabling the mobile terminal to vertically screen.
In one embodiment, if the moving state is the moving state that is instantly picked up, the camera is turned on to acquire the target image. And displaying a shooting interface on a display screen of the mobile terminal based on the position state of the mobile terminal. Specifically, based on the collected acceleration value, the collected acceleration value is compared with a preset acceleration condition, if the acceleration value meets the preset acceleration condition, the mobile state of the mobile terminal is a moving state which is instantly taken up, a camera of the mobile terminal is started, an image is collected in advance through the camera, the collected image is a target image, and the camera is started to detect information of the surrounding environment of the mobile terminal. Specifically, if the duration of turning on the camera reaches a preset duration, the target image is stopped to be obtained, that is, the target image is obtained within a preset duration of turning on the camera to collect the surrounding environment information. When the acceleration value of the mobile terminal meets the preset acceleration condition, the camera of the mobile terminal is started to acquire the target image, so that the phenomenon that the power consumption is too high due to the fact that the camera is turned on all the time to acquire the target image can be avoided. It is understood that if the preset acceleration condition is not satisfied, the camera of the mobile terminal is not turned on. The camera for turning on the mobile terminal can be a front camera or a rear camera for turning on the mobile terminal or a camera at other positions; the acquired target image may be a continuous multi-frame image or one of the continuous multi-frame images, that is, the acquired target image may be a still picture or a moving image.
Specifically, a shooting interface is displayed on a display screen of the mobile terminal based on the angle value and the target image. Comparing the collected angle value with a preset angle condition based on the collected angle value and the target image, matching the collected target image with the preset image condition, and displaying a shooting interface in a display screen of the mobile terminal if the angle value meets the preset angle condition and the target image is matched with the preset image condition. That is to say, when the mobile terminal is in the power-on state, no matter the mobile terminal is in the unlocking bright screen state or the non-unlocking state or the black screen state or other power-on states, if the angle value meets the preset angle condition and the target image is matched with the preset image condition, the shooting interface is displayed in the display screen of the mobile terminal, and the preset shooting application is directly started so that the user can use the shooting function. It can be understood that, if the angle value does not satisfy the preset angle condition or the target image does not match the preset image condition, that is, as long as one of the conditions does not satisfy, the preset shooting application will not be opened, that is, the shooting interface will not be displayed on the display screen of the mobile terminal. It is understood that the preset shooting application is opened and the shooting interface is displayed on the display screen of the mobile terminal only if the acceleration value of step S20 satisfies the preset angular velocity condition, the acquired target image matches the preset image condition and the detected angle value also satisfies the preset angle condition. The preset shooting application can be system shooting software in a mobile terminal system or a shooting application program installed in the mobile terminal, the started preset shooting application can be freely set, namely the preset shooting application can be system shooting software or a shooting application program installed by a user, and the preset shooting application is generally default system shooting software.
In one embodiment, when the mobile terminal is currently using another application program, such as a WeChat application program, if the acceleration value satisfies the preset acceleration condition, the acquired target image matches the preset image condition, and the angle value satisfies the preset angle condition, that is, the user takes up the mobile terminal instantly while using the mobile terminal, detects the image information of the user, and the mobile terminal forms a certain angle with the horizontal plane, the preset shooting application is opened, and the shooting interface is displayed on the display screen of the mobile terminal.
The User Interface (User Interface) comprises an application Interface and a system Interface, is an integral design for man-machine interaction, operation logic and attractive Interface of software, is a medium for interaction and information exchange between a system and a User, and realizes conversion between an internal form of information and a human acceptable form. The user interface is designed between a user and hardware to interactively communicate with each other, aims to enable the user to conveniently and efficiently operate the hardware to achieve bidirectional interaction and complete work expected to be completed by means of the hardware, is widely defined and comprises a human-computer interaction user interface and a graphical user interface, and the user interface exists in the field of human and mechanical information communication. The display screen of the mobile terminal displays installed system interfaces, application interfaces and the like, and different interfaces display different contents including characters, pictures, text boxes, option buttons, menu bars, scroll bars and the like. The shooting interface belongs to one of application interfaces.
The interface display method provided by this embodiment includes detecting that the mobile terminal is in a moving state, then detecting that the mobile terminal is in a position state, and finally starting a first function according to the moving state and/or the position state, when the mobile terminal is in a power-on state, no matter the mobile terminal is in an unlocking bright screen state or an unlocking non-unlocking state or a black screen state or other power-on states, when the mobile terminal is detected to be in a specific moving state and in a specific position state, that is, when the acceleration value of the mobile terminal is detected to satisfy a preset acceleration condition and the angular velocity value satisfies a preset angular velocity condition, starting a preset shooting application, displaying a shooting interface on a display screen of the mobile terminal, directly opening a shooting mode for a user to use a function of shooting a picture or a video, and taking up the mobile terminal by the user, the shooting application is directly opened, so that the situation that the camera application needs to be started through the touch screen control of the touch mobile terminal is avoided, the operation process of starting the shooting application is convenient and fast, and the use experience of a user is improved.
Based on the first embodiment, a second embodiment of the interface display method according to the present invention is provided, in this embodiment, step S30 includes:
step a, starting a camera based on the moving state and/or the position state to acquire a target image;
and b, displaying a shooting interface on a display screen of the mobile terminal based on the position state and the target image.
In one embodiment, if the moving state is an instant-up moving state, the camera is turned on to acquire the target image. And displaying a shooting interface on a display screen of the mobile terminal based on the position state of the mobile terminal and the target image. Specifically, based on the collected acceleration value, the collected acceleration value is compared with a preset acceleration condition, if the acceleration value meets the preset acceleration condition, the mobile state of the mobile terminal is a moving state which is instantly taken up, a camera of the mobile terminal is started, an image is collected in advance through the camera, the collected image is a target image, and the camera is started to detect information of the surrounding environment of the mobile terminal. Specifically, if the duration of turning on the camera reaches a preset duration, the target image is stopped to be obtained, that is, the target image is obtained within a preset duration of turning on the camera to collect the surrounding environment information. When the acceleration value of the mobile terminal meets the preset acceleration condition, the camera of the mobile terminal is started to acquire the target image, so that the phenomenon that the power consumption is too high due to the fact that the camera is turned on all the time to acquire the target image can be avoided. It is understood that if the preset acceleration condition is not satisfied, the camera of the mobile terminal is not turned on. The camera for turning on the mobile terminal can be a front camera or a rear camera for turning on the mobile terminal or a camera at other positions; the acquired target image may be a continuous multi-frame image or one of the continuous multi-frame images, that is, the acquired target image may be a still picture or a moving image.
Specifically, a shooting interface is displayed on a display screen of the mobile terminal based on the angle value and the target image. Comparing the collected angle value with a preset angle condition based on the collected angle value and the target image, matching the collected target image with the preset image condition, and displaying a shooting interface in a display screen of the mobile terminal if the angle value meets the preset angle condition and the target image is matched with the preset image condition. That is to say, when the mobile terminal is in the power-on state, no matter the mobile terminal is in the unlocking bright screen state or the non-unlocking state or the black screen state or other power-on states, if the angle value meets the preset angle condition and the target image is matched with the preset image condition, the shooting interface is displayed in the display screen of the mobile terminal, and the preset shooting application is directly started so that the user can use the shooting function. It can be understood that, if the angle value does not satisfy the preset angle condition or the target image does not match the preset image condition, that is, as long as one of the conditions does not satisfy, the preset shooting application will not be opened, that is, the shooting interface will not be displayed on the display screen of the mobile terminal. It is understood that the preset shooting application is opened and the shooting interface is displayed on the display screen of the mobile terminal only if the acceleration value of step S20 satisfies the preset angular velocity condition, the acquired target image matches the preset image condition and the detected angle value also satisfies the preset angle condition. The preset shooting application can be system shooting software in a mobile terminal system or a shooting application program installed in the mobile terminal, the started preset shooting application can be freely set, namely the preset shooting application can be system shooting software or a shooting application program installed by a user, and the preset shooting application is generally default system shooting software.
In one embodiment, when the mobile terminal is currently using another application program, such as a WeChat application program, if the acceleration value satisfies the preset acceleration condition, the acquired target image matches the preset image condition, and the angle value satisfies the preset angle condition, that is, the user takes up the mobile terminal instantly while using the mobile terminal, detects the image information of the user, and the mobile terminal forms a certain angle with the horizontal plane, the preset shooting application is opened, and the shooting interface is displayed on the display screen of the mobile terminal.
Further, in one embodiment, the method comprises: and c, if the human face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
In one embodiment, the acquired target image is matched with a preset image condition, and if the target image is matched with the preset image condition, a shooting interface is displayed in a display screen of the mobile terminal. Specifically, if the human face features exist in the target image and/or the human face features are in a preset size, a self-shooting mode is started at the terminal. That is to say, when the mobile terminal is in the power-on state, no matter the mobile terminal is in the unlocking bright screen state or the non-unlocking state or the black screen state or other power-on states, if the angle value meets the preset angle condition and the target image is matched with the preset image condition, the shooting interface is displayed in the display screen of the mobile terminal, and the preset shooting application is directly started so that the user can use the shooting function. The preset shooting application can be system shooting software in a mobile terminal system or a shooting application program installed in the mobile terminal, the started preset shooting application can be freely set, namely the preset shooting application can be system shooting software or a shooting application program installed by a user, and the preset shooting application is generally default system shooting software.
Further, in one embodiment, the method comprises: and d, if the position state value is within a preset value range and the face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
In an embodiment, if the position status value is within the preset value range and the face feature in the target image is in the shooting interface and/or is in a preset size, the shooting interface is displayed on the display screen of the mobile terminal based on the angle value and the target image. Specifically, based on the collected angle value and the target image, comparing the collected angle value with a preset angle condition, matching the collected target image with a preset image condition, and displaying a shooting interface in a display screen of the mobile terminal if the angle value meets the preset angle condition and the target image is matched with the preset image condition. That is to say, when the mobile terminal is in the power-on state, no matter the mobile terminal is in the unlocking bright screen state or the non-unlocking state or the black screen state or other power-on states, if the angle value meets the preset angle condition and the target image is matched with the preset image condition, the shooting interface is displayed in the display screen of the mobile terminal, and the preset shooting application is directly started so that the user can use the shooting function. It can be understood that, if the angle value does not satisfy the preset angle condition or the target image does not match the preset image condition, that is, as long as one of the conditions does not satisfy, the preset shooting application will not be opened, that is, the shooting interface will not be displayed on the display screen of the mobile terminal. It is understood that the preset shooting application is opened and the shooting interface is displayed on the display screen of the mobile terminal only if the acceleration value of step S20 satisfies the preset angular velocity condition, the acquired target image matches the preset image condition and the detected angle value also satisfies the preset angle condition. The preset shooting application can be system shooting software in a mobile terminal system or a shooting application program installed in the mobile terminal, the started preset shooting application can be freely set, namely the preset shooting application can be system shooting software or a shooting application program installed by a user, and the preset shooting application is generally default system shooting software.
In an embodiment, the collected target image is matched with a preset image condition based on the collected target image, the target image may be input based on a preset algorithm for detection, and if the target image is detected to include a human face area and the angle value between the plane where the mobile terminal is located and the horizontal plane is detected to be within the preset angle value range, the preset shooting application is started, and a shooting interface is displayed on a display screen of the mobile terminal. Specifically, if the angle value is greater than or equal to the first preset angle value and the angle value is less than or equal to the second preset angle value, the angle value is within the preset angle value range, wherein the first preset angle value is less than or equal to the second preset angle value, and the preset angle range is smaller. That is to say, when the mobile terminal is in the power-on state, no matter the mobile terminal is in the unlocking bright screen state or the non-unlocking state or the black screen state or other power-on states, as long as the angle value is within the preset angle value range and the target image includes the face area, the preset shooting application is directly started, and the shooting interface is displayed in the display screen of the mobile terminal, so that the user can use the shooting function in the mobile terminal. The method comprises the steps that a target image is detected to contain a face area, and the situation that the mobile terminal is near the face is indicated; when the angle value between the plane where the mobile terminal is located and the horizontal plane is detected to be within the range of the preset angle value, namely the mobile terminal is basically in a vertical state, namely the face appears in front of the mobile terminal and is basically in the vertical state, the preset shooting application is directly started, and a shooting interface is displayed in a display screen of the mobile terminal.
Further, in an embodiment, the step of displaying a shooting interface on a display screen of the mobile terminal based on the position status and the target image includes:
step e, if the target image comprises a face area and the position state is within a preset value range, extracting a skin color value of the face area, and determining a target beautifying mode corresponding to the skin color value in a beautifying mode set;
in one embodiment, different beautifying modes are stored in a system database of the mobile terminal, the different beautifying modes are combined into a beautifying mode set, and different skin color values correspond to the different beautifying modes. Specifically, each preset skin color value range corresponds to a beautifying mode in the beautifying mode set one by one, and if a skin color value falls into any preset skin color value range, the best beautifying mode corresponding to the skin color value is the beautifying mode corresponding to the falling preset skin color range. Before a preset shooting application is opened and a shooting interface is displayed in a display screen of a mobile terminal, based on a collected target image, if the target image contains a face region, extracting a skin color value of the face region based on a skin color value extraction algorithm, firstly determining a preset skin color value range to which the skin color value belongs, and then acquiring a target beautifying mode corresponding to the preset skin color value range based on the preset skin color value range. The beautification mode may be a portrait mode, a different filter mode such as a warm tone filter mode or a shooting mode exclusive to different ethnic groups, and the beautification mode is not specifically limited in this embodiment; the beautification mode set includes, but is not limited to, a portrait mode, different filter modes such as a warm tone filter mode or shooting modes specific to different ethnic groups, and the beautification mode set is not specifically limited in this embodiment.
And f, starting the target beautifying mode, and displaying a shooting interface corresponding to the target beautifying mode on a display screen of the mobile terminal.
In one embodiment, after the target beautifying mode corresponding to the skin color value is determined, the target beautifying mode is started, and the shooting interface corresponding to the target beautifying mode is displayed on the display screen of the mobile terminal so as to select the target beautifying mode suitable for the user to use and display the shooting interface corresponding to the target beautifying mode. The target beautifying mode can be a portrait mode, a different filter mode such as a warm tone filter mode, or a shooting mode exclusive to different ethnic groups, and the like.
Further, in an embodiment, the step of displaying a shooting interface on a display screen of the mobile terminal based on the position status and the target image includes:
step g, if the target image comprises a face area and the position state is within a preset value range, acquiring the use times of each functional camera mode in at least one functional camera mode, and acquiring a target functional camera mode corresponding to the highest use time in the use times;
in one embodiment, the functional camera mode includes, but is not limited to, a portrait mode, a landscape mode, a self-timer mode, a post-shot mode, a video recording mode, a filter mode, a slow motion mode, a wide angle mode, and the like, and the functional camera mode is not limited in this embodiment. The number of times of use of each functional camera mode, that is, the number of times of use of each functional camera mode by the user, is counted in the system of the mobile terminal from the beginning of the use of the mobile terminal by the user. Before a shooting interface is displayed on a display screen of the mobile terminal, the number of times of use of each functional camera mode in at least one functional camera mode is acquired, the number of times of use of each functional camera is compared, the highest number of times of use in the number of times of use is determined, and therefore the target functional camera mode with the highest number of times of use is further determined.
And h, starting the target function camera mode, and displaying a shooting interface corresponding to the target function camera mode on a display screen of the mobile terminal.
In one embodiment, after the target function camera mode with the highest use frequency is determined, the target function camera mode is started, and a shooting interface corresponding to the target function camera mode is displayed on a display screen of the mobile terminal, so that the target function camera mode which is most frequently used by a user is selected, and the shooting interface corresponding to the target function camera mode is displayed. The target function camera mode includes, but is not limited to, a portrait mode, a landscape mode, a self-timer mode, a post-shooting mode, a video recording mode, a filter mode, a slow motion mode, a wide-angle mode, and the like, and the function camera mode is not limited in this embodiment.
Further, in an embodiment, if the target image includes a face area and the angle value is within a preset angle value range, the step of displaying a shooting interface on a display screen of the mobile terminal includes: if the target image comprises a face area and the angle value is within a preset angle value range, acquiring a target function camera mode used for the last time; and starting the target function camera mode, and displaying a shooting interface corresponding to the target function camera mode on a display screen of the mobile terminal.
Further, in one embodiment, the method comprises:
step i, extracting face feature information in the target image;
in one embodiment, a target image is acquired within a preset time period when a camera is started to acquire surrounding environment information, one or more frames of images in the target image are extracted, whether face feature information exists or not is detected, and if the face feature information exists, the face feature information is extracted. Namely, if the acquired ambient environment information contains the face feature information, the face feature information is extracted.
And j, if the face feature information is matched with preset feature information, controlling the camera to shoot.
In one embodiment, the mobile terminal includes a feature database, and the feature database may store facial feature information or motion feature information related to features of the user. And if the face characteristic information is matched with the smiling characteristic information in the characteristic database, the mobile terminal automatically shoots the current user image. Or, if the face feature information matches the hand feature information in the feature database, the mobile terminal automatically shoots the current user image, and the like. That is, if the face feature information matches with the preset feature information stored in the feature database, the current user image is shot, that is, if the feature database of the mobile terminal contains the face feature information in the target image, the current user image is shot.
In an embodiment, motion feature information in the target image may also be extracted, and the motion feature information may be a hand motion feature or a body posture feature. The method comprises the steps of obtaining a target image within a preset time length when a camera is started to collect surrounding environment information, extracting one or more frames of images in the target image, detecting whether action characteristic information exists or not, and extracting the action characteristic information if the action characteristic information exists. Namely, if the collected surrounding environment information contains the motion characteristic information, the motion characteristic information is extracted. The mobile terminal comprises a feature database, and the feature database can store face feature information or action feature information related to the features of the user. And if the action characteristic information is matched with the action characteristic information in the characteristic database, the mobile terminal automatically shoots the current user image. Or if the action characteristic information is matched with the hand characteristic information in the characteristic database, the mobile terminal automatically shoots the current user image; or, if the action characteristic information is matched with the gesture characteristic information in the characteristic database, the mobile terminal automatically shoots the current user image, and the like. That is, if the motion characteristic information matches with the preset characteristic information stored in the characteristic database, the current user image is shot, that is, if the motion characteristic information in the target image is contained in the characteristic database of the mobile terminal, the current user image is shot.
In the interface display method provided by the embodiment, the camera is started based on the moving state and/or the position state to acquire the target image; displaying a photographing interface on a display screen of the mobile terminal based on the location state and the target image, when the mobile terminal is in a startup state, no matter the mobile terminal is in an unlocking bright screen state or an unlocking state or a black screen state or other startup states, as long as the position state is a vertical state, namely the angle value is within a preset angle value range and a target image acquired based on the acceleration value contains a human face area, the preset shooting application is directly started, a shooting interface is displayed in a display screen of the mobile terminal, so that a user can use the function of shooting pictures or shooting video, the shooting application can be directly opened through the action of taking up the mobile terminal by the user, therefore, the situation that the camera application needs to be started through the touch screen control of the touch mobile terminal is avoided, the operation process of starting the shooting application is convenient and fast, and the use experience of a user is improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where an interface display program is stored on the computer-readable storage medium, and when the interface display program is executed by a processor, the interface display method according to any of the above-mentioned steps is implemented.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the interface display method described above, and will not be described in detail herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. An interface display method is applied to a mobile terminal, and is characterized by comprising the following steps:
detecting that the mobile terminal is in a moving state;
detecting that the mobile terminal is in a position state;
and according to the moving state and/or the position state, the terminal starts a first function.
2. The interface display method of claim 1, comprising: the opening of the first function includes starting the first function or entering a specific mode of the first function.
3. The interface display method of claim 1, comprising: starting a camera based on the moving state and/or the position state to acquire a target image;
and displaying a shooting interface on a display screen of the mobile terminal based on the position state and the target image.
4. The interface display method of claim 3, comprising:
and if the human face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
5. The interface display method of claim 3, comprising: and if the position state value is within a preset value range and the face features in the target image are in a shooting interface and/or are in a preset size, the terminal starts a self-shooting mode.
6. The interface display method according to claim 3, wherein the displaying a photographing interface on the display screen of the mobile terminal based on the position status and the target image comprises:
if the target image comprises a face area and the position state is within a preset value range, extracting a skin color value of the face area, and determining a target beautifying mode corresponding to the skin color value in a beautifying mode set;
and starting the target beautifying mode, and displaying a shooting interface corresponding to the target beautifying mode on a display screen of the mobile terminal.
7. The interface display method according to claim 3, wherein the displaying a photographing interface on the display screen of the mobile terminal based on the position status and the target image comprises:
if the target image comprises a face area and the position state is within a preset value range, acquiring the use times of each functional camera mode in at least one functional camera mode, and acquiring a target functional camera mode corresponding to the highest use time in the use times;
and starting the target function camera mode, and displaying a shooting interface corresponding to the target function camera mode on a display screen of the mobile terminal.
8. The interface display method of any one of claims 1 to 7, comprising:
extracting face feature information in the target image;
and if the face feature information is matched with the preset feature information, controlling the camera to shoot.
9. An interface display device, characterized in that the interface display device comprises: memory, a processor and an interface display program stored on the memory and executable on the processor, the interface display program when executed by the processor implementing the steps of the interface display method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon an interface display program which, when executed by a processor, implements the steps of the interface display method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911333662.XA CN111031179A (en) | 2019-12-19 | 2019-12-19 | Interface display method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911333662.XA CN111031179A (en) | 2019-12-19 | 2019-12-19 | Interface display method, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111031179A true CN111031179A (en) | 2020-04-17 |
Family
ID=70211428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911333662.XA Pending CN111031179A (en) | 2019-12-19 | 2019-12-19 | Interface display method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111031179A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346970A (en) * | 2020-10-30 | 2021-02-09 | 长沙市到家悠享网络科技有限公司 | Test method, device and storage medium for installation-free application code |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317974A (en) * | 2017-08-23 | 2017-11-03 | 三星电子(中国)研发中心 | A kind of makeups photographic method and device |
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN107483833A (en) * | 2017-09-22 | 2017-12-15 | 维沃移动通信有限公司 | The display methods and mobile terminal of a kind of camera function |
CN107948534A (en) * | 2018-01-03 | 2018-04-20 | 上海传英信息技术有限公司 | A kind of photographic method based on human body complexion difference, device and mobile terminal |
CN108156377A (en) * | 2017-12-28 | 2018-06-12 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
WO2018214734A1 (en) * | 2017-05-26 | 2018-11-29 | Oppo广东移动通信有限公司 | Photographing control method and related product |
-
2019
- 2019-12-19 CN CN201911333662.XA patent/CN111031179A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018214734A1 (en) * | 2017-05-26 | 2018-11-29 | Oppo广东移动通信有限公司 | Photographing control method and related product |
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN107317974A (en) * | 2017-08-23 | 2017-11-03 | 三星电子(中国)研发中心 | A kind of makeups photographic method and device |
CN107483833A (en) * | 2017-09-22 | 2017-12-15 | 维沃移动通信有限公司 | The display methods and mobile terminal of a kind of camera function |
CN108156377A (en) * | 2017-12-28 | 2018-06-12 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN107948534A (en) * | 2018-01-03 | 2018-04-20 | 上海传英信息技术有限公司 | A kind of photographic method based on human body complexion difference, device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346970A (en) * | 2020-10-30 | 2021-02-09 | 长沙市到家悠享网络科技有限公司 | Test method, device and storage medium for installation-free application code |
CN112346970B (en) * | 2020-10-30 | 2023-06-06 | 长沙市到家悠享网络科技有限公司 | Method, device and storage medium for testing installation-free application code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848308B (en) | Shooting method and mobile terminal | |
CN107995429B (en) | Shooting method and mobile terminal | |
CN111182205B (en) | Photographing method, electronic device, and medium | |
CN108471498B (en) | Shooting preview method and terminal | |
CN109600550B (en) | Shooting prompting method and terminal equipment | |
CN108712603B (en) | Image processing method and mobile terminal | |
CN108777766B (en) | Multi-person photographing method, terminal and storage medium | |
CN111416940A (en) | Shooting parameter processing method and electronic equipment | |
CN109828706B (en) | Information display method and terminal | |
CN108182271B (en) | Photographing method, terminal and computer readable storage medium | |
CN107657163B (en) | Application program starting method and mobile terminal | |
CN112052897B (en) | Multimedia data shooting method, device, terminal, server and storage medium | |
CN111488057B (en) | Page content processing method and electronic equipment | |
CN109819168B (en) | Camera starting method and mobile terminal | |
CN111669503A (en) | Photographing method and device, electronic equipment and medium | |
CN112422817B (en) | Image processing method and device | |
CN109656636B (en) | Application starting method and device | |
CN108984143B (en) | Display control method and terminal equipment | |
CN109166164B (en) | Expression picture generation method and terminal | |
CN108174110B (en) | Photographing method and flexible screen terminal | |
CN111159449A (en) | Image display method and electronic equipment | |
CN107728877B (en) | Application recommendation method and mobile terminal | |
CN111125800B (en) | Icon display method and electronic equipment | |
CN110955793A (en) | Display control method and electronic equipment | |
CN108924413B (en) | Shooting method and mobile terminal |
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 |